You're missing the PIPE in your outputcommand. It should be:
'outputcommand=scs2pdf|/tmp/spoolfile$$.pdf'
On Fri, 30 Aug 2002, Rosewood wrote:
> Thanks again
>
> lp5250d env.DEVNAME=PRT03 'outputcommand=scs2pdf /tmp/spoolfile$$.pdf'
> 192.168.0.2
>
> That's the command I ran, and prt03 is created, and I don't seem to be
> getting error messages when I print to it, however I don't seem to get
> any files created either, and I ran the command as root on the linux box
>
> :<
>
> Im doing this because we are having a lot of remote users being added
> (connecting via an Ipsec tunnel) and they have to all use PRT03 since
> anything past 3 won't work on their network connection, but local prints
> work fine on prt04 etc
>
> So I figure if I can print to files, Ill work on a script to take the
> file printed by a specific user and have it auto copied to a dir where
> they can download it (or have it SMB mounted) and then they can do a
> local print
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]] On Behalf Of James Rich
> > Sent: Friday, August 30, 2002 10:03 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [LINUX5250] Printer Support
> >
> >
> > On Fri, 30 Aug 2002, Rosewood wrote:
> >
> > > Our system is limited in that only the first three printers will be
> > > viewed on a network connection to our home office, thus we
> > will only
> > > be able to run one instance of the command you game me for everyone
> > >
> > > Does that mean that all print outs are going to just spool
> > to the one
> > > big .pdf file or is it that after every print, the file get
> > > over-writen?
> >
> > > > lp5250d env.DEVNAME=PRT03 \
> > > > 'outputcommand=scs2pdf /tmp/spoolfile$$.pdf' \
> > > > your.as400.com
> >
> > The above command will create a new file for each printout
> > you send to the printer. Every file will be owned by whoever
> > started the above command. If you leave the $$ out of the
> > command then the file will be overwritten.
> >
> > 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.
> >
>
> _______________________________________________
> 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.
>
_______________________________________________
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.