Thanks. The routine seems to store and use the name of file very well. I
just modified it to include kprinter and the printing was fine.

Regards
Usha
----- Original Message -----
From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, June 17, 2005 10:11 PM
Subject: Re: [Hardhats-members] IO file designation for VistA printing to
CUPS server


I like my method of calling a function that does the
IO setup.  It is not as concise as this method, but it
allows debugging easier.

Kevin


--- Usha <[EMAIL PROTECTED]> wrote:

> Hi
> While configuring a printer on our VistA server, I
> tried to use this thread.
> This is the DEVICE file entry I have created and the
> Output that I see while
> printing.
>
> Select OPTION: 5  INQUIRE TO FILE ENTRIES
>
>
>
> OUTPUT FROM WHAT FILE: DEVICE//
> Select DEVICE NAME: LASER  LASER-PRINTER    HOME LAN
> /home/vista/tmp/LASER-P
> RINTER.TMP     ROU
> ANOTHER ONE:
> STANDARD CAPTIONED OUTPUT? Yes//   (Yes)
> Include COMPUTED fields:  (N/Y/R/B): NO// BOTH
> Computed Fields and Record
> Number
>  (IEN)
>
> NUMBER: 66                              NAME:
> LASER-PRINTER
>   $I: /home/vista/tmp/LASER-PRINTER.TMP
>   ASK DEVICE: NO                        ASK
> PARAMETERS: NO
>   VOLUME SET(CPU): ROU
> SIGN-ON/SYSTEM DEVICE: NO
>   QUEUING: ALLOWED                      LOCATION OF
> TERMINAL: HOME LAN
>   ASK HOST FILE: NO                     ASK HFS I/O
> OPERATION: NO
> MNEMONIC: LASER
>   POST-CLOSE EXECUTE: W *27,"E" U IO K IO(1,IO) C IO
> W "IO"_IO ZSYSTEM
> "kprinter
>  --nodialog --system cups -P LASER-PRINTER "_IO
>   PRE-OPEN EXECUTE: S
>
TMPIO=$P(IO,".")_"."_$J_$P($H,",",2)_"."_$P(IO,".",2)
> W "I
> O"_TMPIO W "IO"_IO                      SUBTYPE:
> P-HPLASER12
>   USE TIMEOUT ON OPENS: NO              TYPE:
> TERMINAL
>   PRINT SERVER NAME OR ADDRESS: 172.16.23.100
>   REMOTE PRINTER NAME: hpLaserJ         ASK DEVICE
> TYPE AT SIGN-ON: YES, ASK
>
>
> On printing
>
> Select OPTION: 2  PRINT FILE ENTRIES
>
> OUTPUT FROM WHAT FILE: DEVICE//
> SORT BY: NAME//
> START WITH NAME: FIRST//
> FIRST PRINT FIELD: name
> THEN PRINT FIELD:
> Heading (S/C): DEVICE LIST//
> DEVICE: HOME// laser  HOME
>
LANIO/home/vista/tmp/LASER-PRINTER.1152661674.TMPIO/h
> ome/vista/tmp/LASER-PRINTER.TMP  [BUSY]  ...  RETRY?
> NO//
>
> Why is the IO value changed to "/h
> ome/vista/tmp/LASER-PRINTER.TMP" instead of
> remaining
> "/home/vista/tmp/LASER-PRINTER.1152661674.TMP" ?
>
> Regards
> Usha
>
> ----- Original Message -----
> From: "Ismet Kursunoglu, MD" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, June 13, 2005 8:35 PM
> Subject: Re: [Hardhats-members] IO file designation
> for VistA printing to
> CUPS server
>
>
> > I just tried to pass the print job off using
> kprinter
> >
> > http://printing.kde.org/overview/kprinter.php
> >
> > using in my terminal settings
> >
> > CLOSE EXECUTE: W *27,"E" U IO K IO(1,IO) C IO
> ZSYSTEM "kprinter
> > --nodialog --system cups -P HL1240  "_ION_" "_IO
> >
>
>
>
>
>
-------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies
> from IBM. Find simple to follow Roadmaps,
> straightforward articles,
> informative Webcasts and more! Get everything you
> need to get up to
> speed, fast.
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
>




____________________________________________________
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football
http://football.fantasysports.yahoo.com


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to