|
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 >>> Jim.McLean@xxxxxxxxxx 04/04/05 2:06 PM >>> Thanks for the info David. As far as the TIFF -> PDF, I am currently using iText and it does a fine job. Also, I am fine with writing something in 1.4 if it will do what I'm looking for. How can I print a PDF directly to an iSeries attached printer? Can you give me some more details on how to accomplish this? As far as Java print services go, it seems that printing PDFs is not yet supported (which is fine). I could create my own Printable object and send it to a printer, but I was always under the impression that the iSeries printing interface only allowed spool files and the like. Am I mistaken? If I send a Printable object that writes graphics to an iSeries printer will it print? I know the best way to figure this stuff out is to try it, but I am under the gun here. Jim McLean
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.