On my TODO list is to integrate a BIRT created template and make it
occupiable (new word?) by RPG through calling Java from a data queue. This
would allow business users to create a report using a graphical tool, with
named variable placeholders, and then an RPG programmer would write a
program that feeds a canned Java program the values for the variables and
the Java would communicate with the BIRT template (which is Java based I
believe).

In the end an approach like that would be better fitting vs. risking odd
transformations of a HTML to PDF approach like you and Scott are mentioning.

Aaron Bartell
http://mowyourlawn.com
http://mowyourlawn.com/blog/


On Thu, Feb 25, 2010 at 7:16 PM, Nathan Andelin <nandelin@xxxxxxxxx> wrote:

From: Simon Coulter
Umm ... maybe it's just me but why would you do it this way? Surely
the correct approach is to build the PDF from the original data not
try to convert HTML to PDF.


It may help if someone were to speak up about generating PDF files
directly. If I recall correctly the API offered by RJS seems rather complex
when it came to absolute positioning and & GUI formatting.

I really like externally defined CSS and Dreamweaver for HTML formatting,
and transforming HTML templates to stream files, using variable substitution
with RPG. So much easier. CSS, in particular can be applied to all types
of reports - simply by reference.

-Nathan.




--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.