|
Hi, Mike: That looks very promising. Thanks. Darrell Darrell A. Martin - 630-754-2141 Manager, Computer Operations dmartin@xxxxxxxxxxxxx midrange-l-bounces@xxxxxxxxxxxx wrote on 02/15/2007 08:00:05 AM:
We have an RPG app that translates data from a set of database files into either HTML for use on the web or as a rtf file for print publication. Both output files are generated by building a qtemp file that is then FTPed to the necessary server. In order to get the base document for .rft I used wordpad to setup the page layout (header/footer/margins/fonts/etc) and typed in a few sample paragraphs then looked at the file in notepad to see what was generated. I then copied that into an rpg compile time array and used it as the shell for the RPG generated documents. After I got it working I bought a book on rtf format so I understood what all the rtf command strings were doing. If I had to rewrite that app today I would save the sample rtf file in the IFS and use the cgidev2 procedures to do scan/replace of the variable data instead of the rpg
array. This e-mail, including attachments, may contain information that is confidential and/or proprietary, and may only be used by the person to whom this email is addressed. If the recipient of this e-mail is not the intended recipient or an authorized agent, the reader is hereby notified that any dissemination, distribution, or copying of this e-mail is prohibited. If this e-mail has been delivered to you in error, please notify the sender by replying to this message and deleting this e-mail immediately.
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.