I do create PDFs using iText, then I print them in batch converting the PDF into PCL with ghostscript, then FTPing that file to a *USERASCII printer file, then move the spool file to an IBMi attached printer.
This archive link explains the steps
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Nathan Andelin
Sent: Tuesday, April 03, 2012 10:46 AM
To: Midrange Systems Technical Discussion
Subject: Re: Printing web format images (JPG) from IBM i
My issue would be, how to print it, in batch.
That has been a curiosity of mine too. You can embed images in HTML or PDF stream files, for example. But how do you send an HTML file, or a PDF file, to a printer, without first opening it in a browser, or PDF reader?
Batch is the question. What if the user doesn't want the manual step of opening the stream file, and printing it? Just sending the stream file to the printer automatically. And keeping the processing on IBM i, rather than using a PC to print the file.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l