185 pts.
 Any As/400 Rpgle Program To automatically convert prtf file to pdf?
Thankyu , But I want the rpgle code to convrt this prtf to pdf is there any fucctionaloty ?

Software/Hardware used:
ASKED: July 23, 2010  3:57 AM
UPDATED: August 4, 2010  3:21 AM

Answer Wiki:
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: http://publib-b.boulder.ibm.com/abstracts/sg246250.html?Open 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 <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/print1a.htm">General Print APIs and/or Exit Programs</a> to intercept printer output or various <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/print1b.htm">Spooled File APIs</a> to process spooled files already on *OUTQs. The printer data would be processed by the RPG code <i>that you will write</i>. You will write the code to implement the PDF Specifications as described in the <a href="http://www.adobe.com/devnet/pdf/pdf_reference.html">Document Management – Portable Document Format – Part 1: PDF 1.7, First Edition</a> 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
Last Wiki Answer Submitted:  July 23, 2010  6:26 pm  by  BillyBelgium   190 pts.
All Answer Wiki Contributors:  BillyBelgium   190 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

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 pts.