|
I write the data to be presented to an xml document, then simply write a few lines of RPGLE to compile the FOP class from Apache into an RPGLE pgm. FOP will automatically generate a PDF document taking the name of an FOP-XSL stylesheet as a parameter. This essentially gives you a utility for generating PDF's from any given xml,xsl combination. Then, providing you know how to code an FOP-XSL stylesheet, you set about the task of coding just how you want the PDF to look, including colors, higlighting, images, borders, page numbers, header and footers etc, unrestrained by the limitations of spooled file format. An FOP-XSL stylesheet can be manually derived directly from any regular XSL stylesheet that might be used to present xml data data using HTML tables. Peter -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jose Santana Sent: Friday, 11 August 2006 7:12 a.m. To: RPG programming on the AS400 / iSeries Subject: Re: Generating PDF documents through RPG I use a free utility called MMAIL: http://www-922.ibm.com/mmail/start If your RPG program writes to a spool file you can use a command CVTSPLFPDF that converts the given spool file into a pdf file and places it in a specified path in the ifs. Jose praveen gunda wrote:
Hi all, Need to know if there are any apis' that can be used to develop PDF based reports using RPGLE? I would greatly appreciate any information.
-- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. ##################################################################################### This correspondence is for the named person's use only. It may contain confidential or legally privileged information, or both. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this correspondence in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Baycorp Advantage. If you need assistance, please contact Baycorp Advantage on either :- Australia 133124 or New Zealand +64 9 356 5800
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.