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

_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to