Earlier we were using PDF creator software to convert spool files. laser printer connected to iSeries · Converting IPDS to AFPDS and getting. Hello,. I did not like the first solution I found–the Get Spooled File (QSPGETSP) API. QSPGETSP is plenty capable of reading an AFPDS. it possible to convert AFP spool files to PDFs for the purposes of archiving them ( creating some sort of index over them) without a) having InfoPrint for Iseries or.

Author: Nekazahn Mazulabar
Country: Zimbabwe
Language: English (Spanish)
Genre: Career
Published (Last): 13 December 2012
Pages: 22
PDF File Size: 10.47 Mb
ePub File Size: 13.54 Mb
ISBN: 608-7-63173-371-3
Downloads: 28812
Price: Free* [*Free Regsitration Required]
Uploader: Akinorg

Watson Product Search Search. At this point, the first spooled file will have been copied to the physical file member.

The key to obtaining the correct transformed output from the spool file depends on the print parameter list. Now the buffer has the spool file contents and we need to create the iText document object to store the contents of the spool file. In my experience today the data seemed to “float” a little bit. Job name of the spool file that will be apfds to the PDF.

Type the name of your Java package and click Finish Figure 8. Number of the spool file that will be converted to the PDF. If not install it.

The nine arguments required for our Java class are:. Bill Post by Walter Nasich look at this article http: In the above example, the QSYSPRT system-supplied printer file is being convetr however, no specific settings are being overridden.


Converting AFP spool files to PDFs

We use cookies to optimize your visit to our website. Post by Walter Nasich look at this article http: Without this, the OVRPRTF command may not take effect at all which would result in losing all line and page breaks in the new spooled file.

I am using format SPFR to display just the raw data itself. We’re wanting to do this as cheaply as possible, since the conversion of the invoices over to AFP is allowing us to get convery of of another software package.

IBM Toolbox for Java is available as jt Then using the getTransformedInputStream, the spool file contents will be transformed to the input stream. January by Kalyani Yerra. User profile used to connect to the identified i. Is it possible to convert AFP spool files to PDFs for the purposes of archiving them creating some sort of index over them without a having InfoPrint for Iseries or b purchasing a third-party product to do it?

Repeat Step 8 until all of the spooled files have been copied to the same physical file member. This is an example. After we create iseriss font, use this code to create a com.

Post by Bill Howie Rodney, I have set up my logic for this cile to do this: These spool file attributes and the PDF file location and name will serve as the input arguments for the Java program. Bill Howie Charles Wilt Once the document object is created, we need to create the PDF file with the name and location as specified by the input arguments.

  AT X900 12XT S 60 PDF

Create a physical file using the CRTPF command with a record length equal to the record length of the spooled file.

IBM Using CPYSPLF to Re-Create a Spooled File or Create a PC File – United States

We’re wanting to do this as cheaply as possible, since the. Modifying the physical file member and Rewriting the Spooled File. Make sure you understand the format of the resulting PDF. If the page width isuse the following command to create a physical file with a record length of bytes: Once all of the arguments are validated, establish a connection to the IBM i to access the spool file.

Converting an IBM i Spool File to a PDF

But they tend to be more of an exact replica. You may be able to find away. The source physical file should be created with a record length at least 13 columns greater than the page width to accommodate not only the First Character Form Control FCFC byte, but also the source sequence number which contains 6 bytes and the date which contains 6 bytes which exist on each line of text in the source physical file member.

Edit or remove the text that you want. IBM Toolbox for Java has several classes in the com.