×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Yes hard. But since bills can be very complicated objects you will soon be
at a dead end using DDS.

Basicly you have to use them via Java. Your Rpg program can talk with your
Java program and "ask" to print.

I cannot share our programs but the basic idea is having a service program
that handles your Rpg requests (eg. New_Page, Draw_Line, Put_Text,
Use_Font) and translate/forward to the Java program which is listening for.

We spent time to develope it but now we can produce very complex Pdf
documents with ease.

HTH


--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


Il giorno gio 25 lug 2019 alle ore 17:01 Raul Jager <raul@xxxxxxxxxx> ha
scritto:

PdfBox looks like a great tool, but I wonder how hard will it be to
connect to the RPG bill generating program

On 7/25/19 7:27 AM, Marco Facchinetti wrote:
You can try Apache PdfBox (open source) or iText ($$ open source).

HTH
--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


Il giorno gio 25 lug 2019 alle ore 00:31 Raul Jager <raul@xxxxxxxxxx> ha
scritto:

To comply with a new law to create and process electronic documents, we
need to select some items from a large XML and generate and mail a PDF.
As a "proof of concept" I wrote a program that puts in a PDF a couple of
items (need more) and mails it. Before I do all the program I will like
your opinion about the way I am doing it. In RPG: Select the XML from a
table (SQL) XML-INTO to split the XML Override the printer to ifs
(gives a PDF) Move to field in a printer file (DDS), write... sndsmptemm
... --> my mail client receives a message with the PDF attached. Why
do I ask? It was a long time since I did the last printer file, and I
did not used any pretty stuff, just plain text, so I need to learn about
box, lines, fonts etc. in DDS. I was surprised when I opened the
manual in the 7.4 page, and found the 7.2 manual, no new things in 7.3
nor 7.4. Is it a good idea to use DDS? Is DDS going away? Are there
better alternatives? TIA Raúl


-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
-- Verificado por Anti-Virus Corporativo Symantec --
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
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: https://amazon.midrange.com


-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
-- Verificado por Anti-Virus Corporativo Symantec --
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
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: https://amazon.midrange.com


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