|
On Fri, 30 Aug 2002, Rosewood wrote: > Can someone point me in the way of a HOWTO on how I can set up a virtual > printer, that the As400 would see as PRT03 (has to be PRT03) and that > when docs are printed to PRT03 it is spit out in some file form, beit PS > or PDF, etc?? Try this: lp5250d env.DEVNAME=PRT03 \ 'outputcommand=scs2pdf /tmp/spoolfile$$.pdf' \ your.as400.com That's all one big command. This will create a printer PRT03 that will output PDFs in /tmp called spoolfile<PID>.pdf. <PID> will be the process ID of the particular instance of scs2pdf, so you've got a good chance of this being unique. The files will be owned by whoever started the above command, so you can use that to identify the user. As for the HOWTO, it's a work in progress (I've been working on it, just not very fast). There is plenty of info available, just not necessarily in the form of a HOWTO. The man page (man lp5250d and man tn5250) are particularly good sources of info. The README included with the distribution also contains good stuff. James Rich
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.