How to print a PDF on an iSeries OUTQ?
Posted on 2011-10-11
I have several PDFs that are created using the iText package in Java. This creates the PDF files, stores them on the iSeries IFS, but doesn't offer any functionality for printing them.
We want the PDFs to be printable directly from the iSeries on user request using the OUTQ system. (None of our printers can print PDFs natively.) I have found several ways of doing it, but most require commercial packages and/or Windows servers to print them.
I have tried using Ghostscript (v8.54 running on the PASE system) but GS has a bug that prevents printing in Duplex and I can not find any updated versions since 8.54 where that bug may have been fixed. I have also tried a java class from Sun called PDFRenderer but that wouldn't work.
Can anyone suggest a method (preferably free) for printing duplex PDFs on user request from an iSeries using an iSeries OUTQ? It is essential that the iSeries is the only computer used in the whole process, but we do have AIX (PASE for i) and Java (on the iSeries) as additional tools if options are available using them.