Any AS/400 RPGLE Program To automatically convert PRTF file to PDF?

185 pts.
Tags:
AS/400
AS/400 PDF
AS/400 PRTF
AS/400 Spool Files
RPGLE
I want the RPGLE code to convert this PRFT to PDF. Is there any functionality?

Answer Wiki

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

Converting a spooled file into PDF is not an RPG function.

If you want to do it natively on your system, you need 5722IP1 IBM Infoprint Server.

The principe is to define a writer that will convert you spool into a PDF file and store it in the IFS.

See Chapter 4. Using the Infoprint Server for iSeries PDF transform in the Prining VI Redbook:

It’s quit easy to start. It can be a bit tricky if you want something “customized”.

Hope this will help

===============================================================

To use RPG yourself to generate PDF output, you might use either the General Print APIs and/or Exit Programs to intercept printer output or various Spooled File APIs to process spooled files already on *OUTQs.

The printer data would be processed by the RPG code that you will write. You will write the code to implement the PDF Specifications as described in the Document Management – Portable Document Format – Part 1: PDF 1.7, First Edition document.

If you choose to avoid the Print and.or Spooled File APIs, you can always write new programs that generate the PDF documents directly by using the specifications at that Adobe web site above.

Tom

Discuss This Question: 1  Reply

 
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
  • Bowdoin
    You can do it directly. you will need to load "transform services". it is free and on disk bxxxx_02. after that you can use OVRPRTF to specify path.
    25 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