May 8, 2020 0 Comments

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: Kagagore Vudozil
Country: Algeria
Language: English (Spanish)
Genre: Environment
Published (Last): 20 December 2018
Pages: 95
PDF File Size: 19.99 Mb
ePub File Size: 6.8 Mb
ISBN: 876-9-47373-515-2
Downloads: 49329
Price: Free* [*Free Regsitration Required]
Uploader: Tujind

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. Location spoolled the generated PDF file needs to be stored.

Watson Product Search Search. 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. Press the F21 select assistance level key and make sure that the assistance level is set to 2 intermediate.

X We use cookies to ocnvert your visit to our website. 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?

This will take you to the Work with Spooled File Attributes screen. Edit or remove the text that you want. Bill Post by Walter Nasich look at this article http: Walter Nasich United States English English. Tim Swearingen Now the input stream needs to be converted to a string so that a PDF can be created with that text:.


Converting AFP spool files to PDFs

After we create the font, use this code to create a com. This can be found by typing Option 8 attributes next to the spooled file, and pressing the Enter key. For more information, please refer to the following document: It allows you to create PDFs from slooled files. January by Kalyani Yerra.

This creates the Java project in your workspace. IBM Toolbox for Java has several classes in the com.

This is why I am looking to somehow archive the documents in their printed form, hence the interest in PDF. Save the changes to the source physical file member. I’ve seen a lot of discussion on this topic and I have a question.

When creating the iText document object, we can define our margins for the PDF document or accept the default margins.

Converting an IBM i Spool File to a PDF

Post by Bill Hello all But I don’t know of any way to call it outside of the iSeries Access for the Web product. 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.

User name of the spool file that will be converted to the PDF.

We’re wanting to do this as cheaply as possible, since the conversion of the invoices over to AFP is allowing us to get rid of of another software package. Not according to the web site it ain’t Post by Bill Howie Rodney, I have set up my logic for this process to do this: 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 the piece of data I was looking for.


This creates the Java package. At this point, the first spooled file will have been copied to the physical file member. For example, if the page width isuse the following command to create a source physical file with a record length of fild IBM Toolbox for Java is available as jt The job qualifier, file name, and spooled file number are shown at the top of the Work with Spooled File Attributes screen.

Create a physical file using the CRTPF command with a record length equal to the record length of the spooled file. Spoled thoughts you might have on this would be greatly appreciated. Determine the job qualifier, file name, and spooled file number for this spooled file. Post by Pjotr http: TXT to download the file to the PC.

The Project properties window appears. This creates the Java class xfpds opens in the Java Editor. This takes you to the Work with Spooled File Attributes screen. Find out the job qualifier, file name, and spooled file number for this spooled file. The parameters that often need to be overridden include, but are not limited to, the following: Right-click on your Java project and click Properties.

User profile afpcs to connect to the identified i.