Automatic PDISK (AREV Specific)
At 18 APR 2002 03:26:08PM R Mazzola wrote:
Is it possible to setup a printer defintion to automatically print to PDISK without having to run at TCL? Would like to setup a "PDISK" printer so users wont have to goto TCL everytime. If anyone has any scripts, etc. to get me thru this, it would be appreciated.
Thanks
At 18 APR 2002 06:07PM Richard Hunt wrote:
I'm not sure what you are asking for.
1) You could set your printer properties to print to file.
2) You could do a basic "execute"…
EXECUTE "PDISK C:\SPOOL\PRT00001 (OS)"3) Use printer properties to capture the printer port LPT1.
I guess the confusion, for me, comes from your users having to go to the TCL.
I have a subroutine that handles the printer routing. The users have options to print to a "file", "printer", or "screen". If they pick "printer" they then have options of what printer to print to. Maybe that is what you are looking for.
At 18 APR 2002 09:52PM Captn Kirk wrote:
I had a similar need for a particular customer who had problems with spooling large print jobs. It was resolved with a menu option that did a pdisk to a specific file. When they were finished with the report they invoked the same menu option which then closed the file and sent it to a word processor for further manipulation or printing.
The routine would first check that the output file was not in use by another workstation, and if so incremented a counter as the extension (FILE.001, FILE.002 …..). When PDISK was invoked the menu colors changed so there was a visible reminder they needed to close the file when finished.
Captn Kirk
At 19 APR 2002 12:01PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site';return(true)]The Sprezzatura Group[/url] wrote:
Since you are using printer definitions, have you tried placing the code in the printer process open & close sections. It's on Page 3 of the printer definition window. Basic catalyst code & commands.