× 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.



Hi Philip, if you have time just consider this java project:
https://github.com/opensagres/xdocreport/wiki . Very complete and stable.

To convert RTF to PDF you can use a free java library:

https://www.qoppa.com/pdfwriter/

I think it's free and they state it's possible to transform rtf to pdf:
https://kbdeveloper.qoppa.com/?p=4160

HTH

--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco

2017-09-28 20:43 GMT+02:00 Philip Kolomeysky <PKolomeysky@xxxxxxxxx>:

More details on my process:
RTF template created via MSWord and has pictures, bold characters,
different fonts etc. It also contains reserved keywords. It's saved to
IFS.

Then I copy RTF file via CPYFRMSTMF to a database file and via RPG
program replace reserved words with the data. Then via CPYTOSTMF I copy
"massaged" data back to RTF file. This part works perfectly. Now I need
to convert my RTF file into PDF in order to attach it to email. This
part of the process is unknown to me. If I understood you correctly it's
possible to read/update PDF files directly from RPG program. Could you
please tell me where I can find the documentation or sample code on how
to do this.

Thanks,
-Phil

Philip Kolomeysky | IT Consultant
t: 203-899-6932 || www.tauck.com



---------------------------------------------------------------

PRIVACY NOTICE

At Tauck, we take security and privacy very seriously and are
firmly committed to protecting the personal information of our
guests and employees as well as company confidential
information. This e-mail message, including any attachments,
may contain information that is privileged, confidential and
exempt from disclosure under applicable law and is intended
only for the addressed recipient and may not be forwarded
without the express consent of the sender. If you are not the
intended recipient of this e-mail, kindly delete it and let us
know that you received it in error.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.