|
Well, what you could do is this... Have your rpg programs write the pdf content, to the IFS, in the .FO format... And then call the FOP program to process the .fo your rpg created... That way you don't need to learn xml, or the xsl-fo, you just have to add all the tags into your rpg program, but, if you want good pdf generation, FOP or the other Object Formatters (RenderX or Antenna House) are worth looking at, The keep-togther keywords are worth the price of addmision, in my opinion (I just hate it when my tables get broken apart on seperate pages :-) But I will qualify my experience with this, I'm using FOP, but its rendering my documents on a PC,because I needed to send them to a fax server, and I couldn't find a fax server that ran on the as/400 that sent pdf's from the IFS so I cheated, and created a script that send the data to a pc to be rendered and then faxed. Tim > -----Original Message----- > From: sublime78ska@xxxxxxxxx [SMTP:sublime78ska@xxxxxxxxx] > Sent: Monday, May 12, 2003 1:52 PM > To: rpg400-l@xxxxxxxxxxxx > Subject: Re: RPG and Web.. (was Using OO concepts in RPG) > > I looked at the FOP stuff. I'm always looking for a better way to create > PDF's. > Currently, my pdf's are created with cpysplf and is handled as a constant > in > the pdf. Works, but makes the pdf extremely large. And it's child's play > to > change the data with notepad. > > FOP, which is at version 0.2 something, sounds great for a java > environment. > I'd have to have a good working knowledge of DOM, xml, xslt, java, and > probably > a few other things before I could start to use FOP effectively. Then I'd > need > to learn xml-fo. But in the long run, it looks to be a much better way to > create pdf's. > > I'm going to pursue this further when I do my hobby programming ;-) but I > don't > see how this will help a programmer like me who is required to use rpg or > C. > Well, it could help an rpg programmer reduce his workload (by giving away > work > to a java programmer.) > > > Phil > > > > > > _______________________________________________ > 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 e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.
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.