PDFUtils

More
6 months 4 weeks ago - 1 month 6 days ago #351 by Bruce Armstrong
Bruce Armstrong created the code: PDFUtils
A C++ DLL which does merging of PDF documents. The DLL is a wrapper for the PoDoFo library currently shipped with PowerBuilder There is also a PowerBuilder 2019 R3 demo app showing how to use it. The code is discussed in the following article: community.appeon.com/index.php/articles-...f-files-using-podofo

05/17/2021 Update: Discovered that there is a bug in PoDoFo loading landscape PDFs. I've updated the sample to include a SnapDevelop project that is a C# wrapper around SharpPDF that is then imported into PowerBuilder. The SnapDevelop approach works fine with both landscape and portrait files. The PoDoFO based sample only works with portrait files.

[09/10/2021 Update]: It appears there isn't a bug in PoDoFo. PoDoFo is dependent on a number of other DLLs, and I had assumed that those were included in the PowerBuilder runtime as PoDoFo was included. They aren't. As soon as I included the other DLLs that PoDoFo is dependent on it started working correctly. Also, I've updated the sample to PowerBuilder 2021.

This message has attachments files.
Please log in or register to see it.

Last Edit: 1 month 6 days ago by Bruce Armstrong.

Please Log in or Create an account to join the conversation.

More
1 month 4 days ago #381 by Bruce Armstrong
Bruce Armstrong replied the code: PDFUtils
1. Make sure that you deployed the System.Text.Encoding.CodePages library supplied.
2. Make sure that .Net Core is installed on the client machine. The .Net DLL that is used for this solution was written for .Net Core.

Please Log in or Create an account to join the conversation.

More
1 month 4 days ago #380 by Thomas Dietrich
Thomas Dietrich replied the code: PDFUtils
Unfortunately when using the "Concatenate (PdfSharp)" option, I receive an error (see attachment). Any idea how to resolve that? Thanks!
Attachments:

Please Log in or Create an account to join the conversation.

More
1 month 6 days ago #378 by Thomas Dietrich
Thomas Dietrich replied the code: PDFUtils
Awesome, thank you very much!

Please Log in or Create an account to join the conversation.

More
1 month 6 days ago #376 by Bruce Armstrong
Bruce Armstrong replied the code: PDFUtils
I just updated the sample to include both the 2019 and 2021 samples. I re-created the 2019 sample by copying the objects from the 2021 project into a 2019 project using the library painter. Seems to work fine though.

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #375 by Thomas Dietrich
Thomas Dietrich replied the code: PDFUtils
Bruce, is the PB2019R3 Demo App still available?

Please Log in or Create an account to join the conversation.

Moderators: Appeon Administrator