Convert spool file to .PDF with overlay

65 pts.
Tags:
AFPDS
CPYSPLF
OVRPRTF
PDF
Why is my overlay changed when I convert the file to .pdf?
This is my code:
OVRPRTF    FILE(BOLPRT) DEVTYPE(*AFPDS) PAGESIZE(11 8.5 +
             *UOM) RPLUNPRT(*YES '-') DRAWER(1) +        
             PAGRTT(0) UOM(*INCH) FRONTOVL(MXBOL) +      
             SPOOL(*YES) OUTQ(*DEV) COPIES(4) +          
             HOLD(*YES) WSCST(*PDF)
Call the program....
CPYSPLF    FILE(BOLPRT) TOFILE(*TOSTMF) SPLNBR(*LAST) +
             TOSTMF(&FNAM) WSCST(*PDF) STMFOPT(*REPLACE)
I have no problem converting it to pdf and e-mailing it except that the overlay is completely distorted and cut off during the CPYSPLF.


Software/Hardware used:
v7r1
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

We have similar problem with documents that contain overlays when the output is to .pdf. In our case, the overlay is shifted on the page and the data drops no longer line-up with the overlay text. The solution for us is to specify an offset for the overlay when outputting to .pdf, either in the OVRPRTF if you are using FRONTOVL/BACKOVL or in the DDS for the PRTF on the OVERLAY spec. We use .24 for the down adjustment and .05 for the across. This would look like FRONTOVL(MXBOL .24 .05). You have to specify this during creation of the file, though. You can’t do it on an existing spooled file. I hope this is what you are looking for.

Discuss This Question: 13  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    What is the size of your overlay and how was it created? It may be it is not scaling to the right size.
    135,355 pointsBadges:
    report
  • mdawson
    It is an *ovl file. Size is 32768. When I print the spooled file, it is printing correctly, but when I do the cpysplf and print the .pdf, some of the font (not all) is completely different.
    65 pointsBadges:
    report
  • ToddN2000
    You say the font is different, is this font in the overlay or the data coming from the i-series that is changing?
    135,355 pointsBadges:
    report
  • mdawson
    It is the font in the overlay. It is printing the data ok.

    65 pointsBadges:
    report
  • ToddN2000
    Sounds like an unsupported font, or font size. What is the font giving you the problem, Check to see if it is supported on the i-Series. WRKOBJ OBJ(*ALL/*ALL) OBJTYPE(*FNTRSC)
    135,355 pointsBadges:
    report
  • mdawson
    It is not the font type that is the problem...it is more the font size. The overlay has several different sizes of the same font in different areas. It seems to be printing the same font style, it is just making it all the same size.
    I believe the font is Matrix Gothic.
    65 pointsBadges:
    report
  • ToddN2000
    Found this as a possible solution to a similar problem.
    "we were missing PTFs SI44072 and SI43764. As soon as they were applied, everything works just great"
    135,355 pointsBadges:
    report
  • mdawson
    I have already checked on that. We already have those PTF's.
    65 pointsBadges:
    report
  • rajeshkmr571
    Guys, anybody know how to convert the spool files to pdf in color.
    220 pointsBadges:
    report
  • ToddN2000
    For color I think you need 3rd party software like PDFing or one of the others out there.
    135,355 pointsBadges:
    report
  • mdawson
    After further investigation, I discovered that the font we used on the overlay on the iseries is not supported in pdf. The font we are using is 11 (courier) and 420 (courier roman bold). PDF changes the courier font to courier std but it keep the courier roman bold, however, the width and height settings on the fonts in the overlay are ignored. Do I need to specify a different font for each different size we use? How do I know which fonts we have on the iseries are supported in .pdf?
    65 pointsBadges:
    report
  • TheRealRaven
    Have you tried asking IBM?
    36,370 pointsBadges:
    report
  • mdawson
    Not yet...still working on it.

    65 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: