How to create PDF document dynamically in PowerBuilder?

375 views Asked by At

We developed manufacturing ERP in PowerBuilder 10.5 and SQL Server.
And now we want to generate PDF file dynamically from datawindow and send it to the customer via e-mail attachment.
(we don't use PFC, we use our own framework)

Any help will be appreciable.

Any solutions?

1

There are 1 answers

0
Matt Balent On

The easiest way is to install a PDF printer on the workstation; print the datawindow to this printer (thus creating a file); and then using OLE to create the email in Outlook, attach the file, then send it. There are many examples online which show this type of functionality.