ISERIES CONVERT AFPDS SPOOLED FILE PDF

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: Arashinos Ditilar
Country: Netherlands
Language: English (Spanish)
Genre: Life
Published (Last): 10 September 2006
Pages: 391
PDF File Size: 14.80 Mb
ePub File Size: 1.94 Mb
ISBN: 700-6-42008-791-5
Downloads: 19749
Price: Free* [*Free Regsitration Required]
Uploader: Duk

In the above example, the QSYSPRT system-supplied printer file is being overridden; however, no specific settings are being overridden. I’ve seen a lot of discussion on this topic and I have a question.

Type option 8 attributes next to the spooled file and press the Enter key. For example, if the page width isuse the following command to create a source physical file with a record length of We use cookies to optimize your convet to our website.

Walter Nasich Type Option 8 attributes next to the spooled file, and press the Enter key. If not install it. Once the document object is created, we need to create the PDF file with the name and location as specified by the input arguments.

Save the changes to the source physical file member. Press the F21 select assistance level key, and ensure that the assistance level is set to 2 intermediate.

This will copy the text of the spooled file as well as the First Character Form Control FCFC information, which is used to preserve the line and page breaks in the spooled file. First, we need to read the spool file contents into a Java IO input stream. Or, it can be made available to users through iSeries Access for Web or other application running within WebSphere.

  BURROUGHS INTERZONE PDF

Location where the generated PDF file needs to be stored.

Converting an IBM i Spool File to a PDF

Now add the contents of the buffer to the document. PrintObject class has the list of the attributes you can concert for the spool file. Then using the getTransformedInputStream, the spool file contents will be transformed to the input stream.

This creates the Java project in your workspace. Click Java Build path link on the left-side navigator Figure Determine the job qualifier, file name, and spooled file number for this spooled file. The command to be used depends on the page width specified in the spooled file attributes. This adds the external.

I can pick out where my pertinent pieces of data are when I run the program in debug mode and look at the user space. 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: The following code shows the snippet that creates and sets the PrintParameterList to the default text-based transformation.

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?

Converting AFP spool files to PDFs

Post by Charles Wilt Post by Bill it iseriea 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?

Post by Pjotr http: United States English English. This takes you to the Work with Spooled File Attributes screen. The Java settings dialog box appears. January by Kalyani Yerra. The source physical file should be created with a iserise length at least 12 columns greater than the page width to accommodate 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.

  GASTON BACHELARD LA POETICA DEL ESPACIO PDF

I don’t want to see us throw good money after bad. All advice is appreciated! Find out the job qualifier, file name, and spooled file number for this spooled file.

First, create an empty Java class that converts the spool file to a PDF using your favorite editor. Edit or remove the text that you want.

Post by Bill Hello all This will take you to the Work with Spooled File Attributes screen. 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 iseties 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.

What I’m curious about is, since this is an AFP spool file, is there is a definitive source of info other than the IBM API reference manual that says, if I have a certain capability set up in the spool file, that it will translate to a certain set of characters in the user space each and every time I retrieve it.

Repeat Step 8 until spooledd of the spooled files have been copied to the same physical file member. For more information, refer to Example 7: