× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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


java400-l-bounces@xxxxxxxxxxxx wrote on 04/04/2005 03:01:22 PM:

> Jim,
>
> I have used iText quite a bit to do something similar but I have never
> imported a tiff. The documentation says that itext can import tiffs. As
> of V5R1? you can print PDF files directly to attached printers. You
> create a print device of type *USERASCII. You can also use the print
> services API in any 1.4+ JDK to work with printers but it sounds like
> you want to stick with 1.3.
>
> --David Morris
>
>
> >>> Jim.McLean@xxxxxxxxxx 04/04/05 10:24 AM >>>
> Hey Everyone,
>
> I've done some searching in the list + some googling and have yet to
> find
> something to fit my needs.
>
> Here's what I need to accomplish:
>
> 1. Read a multipage tiff in from the IFS and break it apart into
> separate
> pages
> 2. Develop a web app that let's the user rearrange the pages + add a
> cover
> sheet.
> 3. Print the cover sheet + pages in the new ordering to a iSeries
> printer
> (Preferably from the PDF generated in the next step, but I could print
> the
> cover page (to a spool) + print the TIFF images one at a time.)
> 4. Save the cover sheet + pages to a PDF.
>
> I have no problem with 1,2 and 4.  However I can't figure out how to
> accomplish #3.
>
> I have WASE 5.1 running on V5R3.  I can create some sort of service
> program
> to accomplish the printing if Java 1.4 is necessary, but I'd prefer to
> accomplish this in Java1.3.
>
> Is there some sort of Java toolbox class to help me with this?
>
> Any Ideas are MUCH appreciated.
>
>
> Thanks,
>
> Jim McLean
>
> --
> 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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.