|
As was also mentioned, you could generate PDF's from the template. All of this can be accomplished with Open Source tools using Java. Most of it could also be accomplished with Open Source or, at least, free tools in RPG (not sure about the RTF to PDF piece in RPG).
Plenty of options. Pete Jonathan Mason wrote:
Hi Pete I suppose what they are basically looking for is a means of using Word for generating their forms, for example an invoice, and to populate the form with AS400 data rather than print the forms over the AS400 data. Mail merge could work to a certain extent by including all header information (e.g. name, address, etc) on each detail record in the data source, but this seems cumbersome. >From an AS400/iSeries/i5/System i perspective I would do whatever coding necessary in RPG, on the PC I could muddle something together in VB. All the best Jonathan -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Pete Helgren Sent: 17 January 2007 15:36 To: Midrange Systems Technical Discussion Subject: Re: Microsoft Word and the iSeriesOK. If mail merge (in Windows) isn't what you want, then you could potentially use several other approaches to generating a "document" on the System i. Perhaps a bit more about the solution you envision would be helpful. What languages are you comfortable with? What volumes of documents are you anticipating?Pete HelgrenI thought about using mail merge and then discounted it for a couple of reasons: 1) The need to be able to have (potentially) header, detail and footerdatato be merged and 2) The additional manual steps needed to run the mail merge Ideally they want to be able to generate the document on the iSeries and place it in the IFS where Word can find it. I also thought aboutgeneratingan RTF file and including replacement codes such as %%ORDERNO%% which the programs could overwrite with the correct values, but on looking at an RTF file's structure it looked too prone to errors. Thanks Jonathan
As an Amazon Associate we earn from qualifying purchases.
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.