×
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.
Nathan,
Are you using iText to do the conversion from HTML to PDF?
Yes.
Can you share any examples of your method?
We create an HTML template for each report which may include multiple
layouts (header, detail, summary totals, footers, etc.). Templates
generally reference a common style sheet.
We use RPG to perform "field" substitutions and generate HTML stream files.
Report programs use procedures from a common service program to streamline
the interface.
The common service program includes a procedure which transforms the HTML
stream file to a PDF version.
Reports are defined in DB tables, including parameters which may be used to
filter SQL result sets. Most of our reports reference data from SQL Views.
Most report procedures are called from a generic utility which provides
prompting for record selection criteria prior to calling report procedures.
Here's a link to an example of an RPG service program, which assists with
parameter prompting, and generates a school course catalog.
http://code.midrange.com/9b21420e03.html
HTH,
Nathan.
As an Amazon Associate we earn from qualifying purchases.