Overlay and ‘print’ as pdf. Overlay not included !

2555 pts.
Tags:
AS/400 PDF
AS/400 printing
V6R1
This statement

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.

DanF



Software/Hardware used:
'AS400', V6R1

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 6  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • BigKat
    Since overlay basically tells the printer to also print a second file on top of the first, rather than actually printing it, it might not be possible Dan. In fact, I have seen the same problem with tools that convert an existing spoolfile to a pdf. They get the data layout, but not the form.
    8,210 pointsBadges:
    report
  • DanTheDane
    BogKat, From the url reference in my orig question, I refer "The device type (DEVTYPE) parameter on these commands must be set to *AFPDS because only an Advanced Function Presentation data stream (AFPDS) can be converted to PDF with the new feature. AFPDS has the additional benefit of support for AFP resources, such as overlays, page segments, and even IFS resources (using the AFPRSC keyword in DDS) such as JPG, TIFF, and GIF files. I read this text as if it actually IS an option to add an overlay... DanF
    2,555 pointsBadges:
    report
  • DanTheDane
    Hi BigKat , Problem solved. I'm sorry, - I must admit that I made a mistake.. I had placed the overlay in a wrong library. My documentation with the original question is right and works. I can now produce an invoice with coloured logo and other graphics printed to a pdf-file to email; - and the best thing: I use no 3rd party sw, - it's all standard with the system i from V6R1. I'm a happy man. DanF
    2,555 pointsBadges:
    report
  • TomLiotta
    6.1 seems to be including some nice bits that clean up difficulties in earlier releases. This one looks very nice indeed. Thanks, Dan, for posting a confirmation that it works. Tom
    125,585 pointsBadges:
    report
  • DanTheDane
    [...] Overlay and ‘print’ as PDF. Overlay not included! [...]
    0 pointsBadges:
    report
  • BigKat
    whew -- glad it does work!
    8,210 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following