When you set your system up to use host print transform (i.e., when you supply the env.IBMMFRTYPMDL parameter to lp5250d) you are telling the AS/400 that it should handle all of the transformations, rather than letting the emulation software do it.
This means that the AS/400 is sending codes to scs2pdf that say "this data is already in the correct format! Don't change it!" Try something like this instead: lp5250d env.DEVNAME=PRTASC outputcommand='scs2pdf>/tmp/scs$$.pdf' 10.1.10.228 (As you see, I've omitted all of the MFRTYPMDL / WSCST parameters) what should happen in that circumstance is that the AS/400 will send the data in SCS format for the IBM 3812 printer. scs2pdf understands that format, and will translate it to PDF. On Wed, 12 Feb 2003, Chris Lee wrote: > > I tried to create PDF from AS/400 spool file, by issue the following command > at RedHat Linux 8.0 box. > > lp5250d env.DEVNAME=PRTASC env.IBMMFRTYPMDL=*WSCST > env.IBMWSCSTNAME=QWPDEFAULT env.IBMWSCSTLIB=*LIBL trace=/tmp/lp5250d.log > outputcommand='scs2pdf>/tmp/scs$$.pdf' 10.1.10.228 > > However, the PDF file cannot open by Acrobat Reader and I found control code > on remain on the report (e.g. ^M^L^M^M). > > Did I set MFRTYPMDL parameters wrong? > _______________________________________________ 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/mailman/listinfo/linux5250 or email: [EMAIL PROTECTED] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.