OVRPRTF FILE(MYPRTF) DEVTYPE(*AFPDS) TOSTMF('/myapp/mypdfs') WSCST(*PDF)
beatifully generates a .pdf file and places it in the IFS-folder '/myapp/mypdfs'.
( ref: http://www-01.ibm.com/support/docview.wss?uid=nas12bd8020c496ae912862575f400640da6
I have an overlay which I want to include in the .pdf file; - untill now with no luck..
My printerfile is compiled with this:
CRTPRTF FILE(mylib/FAK000P) + SRCFILE(mylib/QALLSRC) + SRCMBR(FAK000P) DEVTYPE(*AFPDS) + PAGESIZE(70 80) LPI(6) CPI(10) OVRFLW(66)
My program FAK000R is executed with this OVRPRTF:
OVRPRTF FILE(FAK000P) + TOFILE(mylib/FAK000P) + DEVTYPE(*AFPDS) + PAGESIZE(70 80) + LPI(6) + CPI(10) + UOM(*INCH) + FRONTOVL(mylib/FRS_OVL) + TOSTMF(&FROMSTMF) + WSCST(*PDF)
Result of the above is a neetly produced .pdf file placed in the IFS, but with NO overlay.
OBS: this functionality is V6R1 and above.
Any tip, hint is mostly welcome.