All,
I'm doing some tests with spoolfiles with an overlay which I want converted to PDF.
I have tested two ways, using the same overlay object, to do the conversion;
- Via Infoprint tooling. Put the spoolfile in a special outq which is attached to the IFS
- Via the 'new' OVRPRTF command which has the ability to convert spoolfiles to PDF with the TOSTMF and WCST(*PDF) parameters.
I use this OVRPRTF command;
OVRPRTF FILE(QSYSPRT) DEVTYPE(*AFPDS) PAGESIZE(66) + CPI(15) OVRFLW(66) CTLCHAR(*FCFC) + CHLVAL(*NORMAL) + FRONTOVL(OVERLAY) + TOSTMF('//IFSDIR') WSCST(*PDF)
Both work fine and create exactly the same PDF file, the big difference is that Infoprint creates a PDF file with a size of 450kB and the OVRPRTF way creates a PDF file of 7000kB
Any idea which is causing the big difference in size?
Thanks in advance!
Software/Hardware used:
ASKED:
May 6, 2011 9:16 AM
UPDATED:
September 26, 2011 3:23 AM
Open them with Notepad on a PC or with DSPF on your AS/400 (if CCSID needs to be handled) to locate differences. I’d imagine that a 6.5MB difference should be pretty obvious.
Tom