Earlier we were using PDF creator software to convert spool files. laser printer connected to iSeries · Converting IPDS to AFPDS and getting. OVRPRTF FILE(BOLPRT) DEVTYPE(*AFPDS) PAGESIZE(11 + . Guys, anybody know how to convert the spool files to pdf in color. I discovered that the font we used on the overlay on the iseries is not supported in pdf. 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.
|Published (Last):||8 January 2006|
|PDF File Size:||4.95 Mb|
|ePub File Size:||1.36 Mb|
|Price:||Free* [*Free Regsitration Required]|
Converting an IBM i Spool File to a PDF
Bob Cancilla March 26, at The nine arguments required for our Java class are:. Modifying the physical file member and Rewriting the Spooled File. First, we need to read the spool file contents into a Java IO input stream.
Post by Pjotr http: The key to obtaining the correct transformed output from the spool file depends on the print parameter list. Written by Simon Hutchinson at 4: Post by GB Free?
I am basically trying to determine whether pulling this data out through converr static process will always find the data in the same place. But I have a problem.
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. I am using format SPFR to display just the raw data itself. Simon Hutchinson October 7, at 2: Post by Walter Nasich look at this article http: The following code demonstrates establishing connection to the IBM i and reading the spool file:. First, you will need to create a physical file with a record length 1 greater than the record length of the spooled file.
Markus During June 8, at 3: This will cause the new spooled file to print in portrait instead of landscape.
Watson Product Search Search. Now the input stream needs to be converted to a string so that a PDF can be created with that text:. Paul thank you bring this to my attention. The method I am going to describe can only be used IBM i servers with either version 6. I couldn’t see it either, but the fact is that it happened.
Just using this way to generate PDF. If I could attach some screen prints’ I’d show you. For more information, please refer to the following document: Do you know what I need to do to make these available on the command?
Afpd thoughts you might have on this would be greatly appreciated.
IBM Systems Magazine – Converting an IBM i Spool File to a PDF
If not install it. Is it possible to convert AFP spool files to PDFs for the fule 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? Right-click on your Java project and click Properties. 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.
Then using the getTransformedInputStream, the spool file contents will spooled transformed to the input stream. The source physical file should be created with a record length at least 12 columns greater than the page width t 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.
In the above example, the QSYSPRT system-supplied printer file is being overridden; however, no specific settings are being overridden. Next use the following Copy Spooled File CPYSPLF command for the remaining spooled files to add them to the end of the existing physical file member, which combine all of the spooled files into a single physical file member: Before you can do what I will describe in this post you need to check if you have the necessary licensed program, Transform Services, installed on your IBM i.
PrintObject class has the list of the attributes you can read for the spool file.
Create a physical file using the CRTPF command with a record length equal to the record length of the spooled file. Press the F21 select assistance level key, and ensure that the assistance level is set to 2 intermediate. The spooled files can optionally be converted using a workstation customizing object, which allows the spooled file to be converted to other formats. The licensed program code if different depending upon which release your server is running: Juan Dragone March 26, at 8: Anonymous November 13, at afds