|
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? >
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.