|
Hi David, I tried your print pdf solution, but could not get it to work properly. The printer only prints the pdf ascii stream (%PDF- 1.3........). Must we first convert the pdf file to a ascii stream that the printer understands (e.g. PostScript)? or maybe it's possible to get the printer to understand a PDF ascii stream? Regards, Magne Date: Mon, 04 Apr 2005 15:59:21 -0600 From: "David Morris" <David.Morris@xxxxxxxxxxxxx> Add To Address Book Subject: Re: Printing PDFs to iSeries Printers To: <java400-l@xxxxxxxxxxxx> Jim, You set up the print device as *USERASCII and then copy the .pdf file to the printer file. One way is to use FTP. ftp mysys bin namefmt 1 put /ifsdir/file.pdf /qsys.lib/somelib.lib/printf.file There are several very easy to use FTP packages that you can run with Java like Jakarta Commons Net. If you need help with an FTP package let me know -- I have quite a few examples. If the printer is attached to your network, you can also print to it by IP number. You have to be on a 1.4 JDK or use something like JLPR (I can get you more information on that if necessary). --David
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.