× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I added the pipe command and still nothing.  To test if I can print to
PRT03, Im changing my user profile to default to prt03 and then doing a
print screen -- nothing

Also I made it the absolute path, but scs2pdf is in my path statement
and runs okay w/o the absolute path

>You're missing the PIPE in your outputcommand.  It should be:
>
>        'outputcommand=scs2pdf|/tmp/spoolfile$$.pdf'


There was no PRT03 that I saw before

An example print conf page

                                    Print Options                   Page
1 of 4


 Document  . . . . . . . . . . . :   ACMSRECR



 Type choices, press Enter.

   Page range:

     Start page  . . . . . . . . .   *FIRST       0.01-9999.99, *FIRST,
*LAST
     End page  . . . . . . . . . .   *LAST        0.01-9999.99, *FIRST,
*LAST
                                                  *STRPAGE

   Number of copies  . . . . . . .   1            1-99

   Output device . . . . . . . . .   1            1=Printer, 2=Display

                                                  3=File

     Printer . . . . . . . . . . .   PRT03        *USRPRF, *SYSVAL,
*WRKSTN
                                                  Printer ID

     Output queue  . . . . . . . .   *DEV         Name, *DEV, *FILE,
*WRKSTN
       Library . . . . . . . . . .   *LIBL        Name, *LIBL

     Output file . . . . . . . . .   *DOC         Name, *DOC, *FILE

     Form type . . . . . . . . . .   LH02         Printer form

     Printer file  . . . . . . . .   QSYSPRT      Name

       Library . . . . . . . . . .   *LIBL        Name, *LIBL


More...

I don't see anything there about scs or ipds and I have no idea what
either is or how I can check :P

> -----Original Message-----
> From: linux5250-admin@midrange.com
> [mailto:linux5250-admin@midrange.com] On Behalf Of James Rich
> Sent: Friday, August 30, 2002 11:29 AM
> To: linux5250@midrange.com
> Subject: RE: [LINUX5250] Printer Support
>
>
> On Fri, 30 Aug 2002, Rosewood wrote:
>
> > 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
>
> Hmmm...  That looks right.  Perhaps you are trying to print
> IPDS documents?  scs2pdf only support *SCS printouts.  You
> might also try putting the full path names in, i.e.:
>
> lp5250d env.DEVNAME=PRT03 \
> 'outputcommand=/usr/bin/scs2pdf /tmp/spoolfile$$.pdf' \ 192.168.0.2
>
> (my scs2pdf is in /usr/bin, yours may be different, like
> /usr/local/bin)
>
> You should be sure that you didn't already have a PRT03
> configured on the AS/400 since it will use the previous
> definition which may not be valid.
>
> James Rich
>
> _______________________________________________
> This is the Linux 5250 Development Project (LINUX5250)
> mailing list To post a message email: LINUX5250@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
> or email: LINUX5250-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/linux5250.
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.