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: Jushura Kigalar
Country: Somalia
Language: English (Spanish)
Genre: Education
Published (Last): 7 February 2016
Pages: 490
PDF File Size: 17.22 Mb
ePub File Size: 4.56 Mb
ISBN: 214-3-46860-171-3
Downloads: 7109
Price: Free* [*Free Regsitration Required]
Uploader: Mikalmaran

If you would like to change your cookie settings at any time please view our privacy policy for additional information. The spooled files can optionally be converted using a ieries customizing object, which allows the spooled file to be converted to other formats.

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

Determine the job qualifier, file name, and spooled file number for this spooled file. Conevrt Project properties window appears. We currently have the LaserVault software package for our archiving and have converted our invoices over to using an AFP overlay. The Create a new Java class window appears.

This opens the File Open dialog box. If the page width isuse the following command to create a physical file with a record length of bytes, since an extra byte is not needed for the First Character Form Control FCFC: Location where the generated PDF file needs to be stored.

  ASTM E466-07 PDF

Bill Howie Name of the spool file that will be converted to the PDF. This extra byte will be used for a First Character Form Control or FCFC character which will preserve the line spacing and page breaks in the spooled file. All advice is appreciated! But they tend to be more of an exact replica. United States English English.

Save the changes to the source physical file member. But I don’t know of any way to call it outside of the iSeries Access for the Web product. This can be found by typing option 8 attributes next to the spooled file and pressing the Enter key.

Converting AFP spool files to PDFs

This will take you to the Work with Spooled File Attributes screen. The following code demonstrates establishing connection to the IBM i and reading the spool file:.

Use the Page Down key to scroll down 4 or 5 pages until you find the entry for Page size. If the intent is to copy a spooled file, modify the data in the spooled file, and then copy it back to a new spooled file, then a source physical file should be created using the Create Source Physical File CRTSRCPF afpfs.

Click OK Figure This is why I am looking to somehow archive the documents in their printed form, hence the interest in PDF. I ended up setting up a couple of the fields to be found based on using the SCAN opcode to find the same particular character immediately before clnvert piece of data I was looking for.


Converting an IBM i Spool File to a PDF

First, create an empty Java class that converts the spool file to a PDF using your favorite editor. This creates the Java class and opens in the Java Editor. By using the iText PdfWriter, we pass the document object we just created and fileoutputstream we created during the input arguments to create the blank PDF file in the location specified.

The job qualifier, file name, and spooled file number are shown at the top of the Work with Spooled File Attributes screen. This adds the external.

Create a physical file using the CRTPF command with a record length equal to the record length of the spooled file. The New Java package dialog appears.

Check here to start a new keyword search. These spool file attributes and the Wpooled file location and name will serve as the input arguments for the Java program.

Type Option 8 attributes next to the spooled file, and press the Enter key. Watson Product Search Search. IBM i Print Software version: Post by GB Free?