The iText stuff is very straight forward so you should be able to hook up to the Java classes using some ILE code. I just started using the iText stuff more aggressively in my Java code and it has been great for creating quick and dirty listings and simple reports. Take a look at wrapping the Java Classes with RPG. There is an example from IBM here: * *there is also plenty of help/examples in this list. Check the archives.


Andy Hautamaki wrote:
Is it possible to use class/methods from iText to build and create a PDF and then put the PDF on the IFS? Is anybody using iText Classes in there RPG applications now? I am hoping that by using the iText I can build a very professional looking PDF that would include graphics and different fonts and colors.

Anybody have any suggestions on how I could start on even trying to do this?

I see a book by Bruno Lowagie called iText In Action. I also see via this link that IBM has called Generate PDF files from Java applications dynamically. But I'm not seeing any examples of properly prototyping the iText methods in RPG and building the PDF.

After reading about iText I was wondering if I can extract the data I want in an RPG module and then using the Classes in the iText library build and create the PDF. Then store the PDF on the IFS with the intention of emailing it.

Or is this one of those scenarios where its better for me to do the whole thing in JAVA for what I'm trying to accomplish?

Andy Hautamaki

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 by 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.