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.

Author: Tabar Yojora
Country: Mali
Language: English (Spanish)
Genre: Medical
Published (Last): 21 February 2009
Pages: 91
PDF File Size: 5.58 Mb
ePub File Size: 15.8 Mb
ISBN: 426-8-78329-470-7
Downloads: 93944
Price: Free* [*Free Regsitration Required]
Uploader: Maushicage

Location where the generated PDF file needs to be stored. 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. The method I am going to describe can only be used IBM i servers with either version 6. Job name of the spool file that will be converted to the PDF. Once the document object is created, we need to create the PDF file with the name and location as specified by the input arguments.

Simon Hutchinson November 13, at 1: Correct the error and try the request again.

Converting an IBM i Spool File to a PDF

Display Object Links Directory. Bob Cancilla March 26, at Bob Schaefer March 28, at Now the input stream needs to be converted to a string so that a PDF can be created with that text:.


Charles Wilt If you can generate a spool file with Hebrew characters I do not see why this would not work. Do you know what I need to do to make these available on the command? The key to obtaining the correct transformed output from the spool file depends on the print parameter list. Any thoughts you might have on this would be greatly appreciated. You may be able to find away.

Save the changes to the source physical file member. Not according to the web site it ain’t I have times when a user will request that a report be emailed to them, rather than printed and sent to them via the inter company mail. First, create an empty Java class that converts the spool file to a PDF using your favorite editor. The licensed program code if different depending upon which release your server is running: Post by Bill Howie Rodney, I have set up my logic for this process to do this: Press the F21 select assistance level key and make sure that the assistance level is set to 2 intermediate.

We’re wanting to do this as cheaply as possible, since the.

Creating PDF files from spool files | – From AS to IBM i

First, you will need to create a physical file with a record length 1 greater than the record length of the spooled file. If the intent is to copy a spooled file without modifying any of the data in the spooled file, then a physical file should be created using the Create Physical File CRTPF command. 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.


Have you tried what is suggested here Contact and feedback Need support?

If this is you feel 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. 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. Create a physical file using the CRTPF sfpds with a record length equal to the record length of the spooled file.

Anonymous October 7, at 2: PrintObject class has the list of the attributes you can read for the spool file.

Actually if you just define a printer emulation session and set the device to Microsoft PDF printer it’ll create a PDF that iswries be e-mailed. After we create the font, use this code to create a com. Then using the getTransformedInputStream, the spool file contents will be transformed to the input stream.

Author: admin