× 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.



yes it can be done...but it's a major pain. i started writing a service
program in RPG that interfaces with iText but haven't had time to work on
it for quite a while now. i have done a PoC and it will create pdf's in
the ifs but it's still in it's infancy...


Thanks,
Tommy Holden



From:
"Andy Hautamaki" <ahautamaki@xxxxxxxxxxxxxxx>
To:
"RPG400-L@xxxxxxxxxxxx" <RPG400-L@xxxxxxxxxxxx>
Date:
07/08/2009 01:35 PM
Subject:
iText PDF Creation
Sent by:
rpg400-l-bounces@xxxxxxxxxxxx



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
http://www.ibm.com/developerworks/opensource/library/os-javapdf/?ca=dgr-lnxw11JavaPDF

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?


Thanks
Andy Hautamaki


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.