|
Thanks for all the ideas everybody!!! I am going to try the following: - create a 'Printable' object that will print my cover sheet + my TIFF images - send this print job to an IP Printer I'll let you know how it works out. Too bad they don't support PDF in Java print services yet! Regards, Jim McLean java400-l-bounces@xxxxxxxxxxxx wrote on 05/04/2005 05:48:00 AM: > 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 > -- > This is the Java Programming on and around the iSeries / AS400 > (JAVA400-L) mailing list > To post a message email: JAVA400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/java400-l > or email: JAVA400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. >
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.