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):||10 August 2011|
|PDF File Size:||7.14 Mb|
|ePub File Size:||9.45 Mb|
|Price:||Free* [*Free Regsitration Required]|
User profile used to connect to the identified i. First, we need to read the spool file contents into a Java IO input stream. We’re wanting to do this as cheaply as possible, since the spooed of the invoices over to AFP is allowing us to get rid of of another software package. Anonymous November 13, at 1: Right-click on your Java project and click Properties.
Just now reading this thread Use the Page Down key to scroll down 4 or 5 pages until you find the entry for Page size. The trick is not in making the PDF fi,e of the spool file, but in placing the resulting PDF in a network directory after the creation Now the input stream needs to afpda converted to a string so that a PDF can be created with that text:.
Since 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, a source physical file should be created using the Create Source Physical File CRTSRCPF command. Paul Putkowski March 27, at 3: Have you tried what is suggested here You can learn more about these from the IBM web site: Do you know what I need wfpds do to make these available on the command?
Simon Hutchinson October 7, at 2: To do this, we need to know the printer device type.
IBM Using CPYSPLF to Re-Create a Spooled File or Create a PC File – United States
Post by Charles Wilt Post by Bill 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? 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.
This is an example. Look to see the value specified for the Widththen use one of the following CRTPF commands to create a physical file to store the data from the spooled files. All these posts are developed and tested on servers running IBM i 7. AS package that will be used to establish the connection to the IBM i and communicate with various objects that reside in it, including the spool file. Just using this way to generate PDF.
By using the iText PdfWriter, we pass the document object we just created and fileoutputstream we created during iseriws input arguments to create the blank PDF file in the location specified. The spooled file object has a function called getTransformedInputStream, which takes the print parameter list as input, transforms the spooled file contents based on those parameters and produces an input stream called PrintObjectTransformedInputStream.
PrintObject class has the list of the attributes you can read for the spool file. Simon Hutchinson March 27, at 3: The too I am going to describe can only be used IBM i servers with either version 6.
Converting AFP spool files to PDFs
Sreedhar iSeries follower March 26, at 7: If this is you iseties free to use the Contact Form to send me the comment and I will post it for you, please include the title of the post so I know which one to post the comment to. The job qualifier, file name, and spooled file number are shown at the top of the Work with Spooled File Attributes screen. Newer Post Older Post Psooled.
Required product option not available.
Converting an IBM i Spool File to a PDF
This takes you to the Work with Spooled Fiile Attributes screen. Using that file this worked. Simon Hutchinson August 27, at 7: The command to be used depends on the page width specified in the spooled file attributes.