Error when converting to large PDF files

If you are a Power Builder developer and have any questions about using our products from Power Builder here is the place to post them.
Post Reply
hhuber
Posts: 1
Joined: Thu Aug 09 2012

Error when converting to large PDF files

Post by hhuber »

Hi,

We are currently using AMYUNI PDF Converter version 3.02.

We use the PDF converter with PowerBuilder 10.5 (on Windows NT and Windows 7) via its DLL interface.
We get errors when either
- We try to convert to rather large PDF files (> about 8 MB) or
- We try to convert to many PDF files the size of which is summing up to about 8 MB

The problem occurs when the command ‘dw_anyDataWindow.print’ is fired. The PDF is created but it cannot be opened (the file seems to be damaged).
PDF conversion is possible only after restart of our application.

We tried to call the DriverEnd and DriverInit function of AMYUNI before each PDF conversion but with no effect because PowerBuilder gets the same handle with every call of DriverInit.

So, we want to put some questions:
- Is the restriction to a maximum size of generated PDF a known issue with AMYUNI PDF converter?
- Is there a way to force the application to receive a new handle with the DriverInit function of AMYUNI?
- Is there any other solution to treat large PDF files?
- Is there a reasonable chance that those problems will not exist with AMYUNI 4.5?

Thank you very much in advance!
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: Error when converting to large PDF files

Post by Jose »

Hello,

There is no real file size limitation on the PDF Converter and I believe your issue maybe related to other issues.

PDF files around 4 GB (yes gigabytes) become problematic because they use up large amounts of system resources to process. However 8 MB files are actually quite small.

If you are printing on 64bit windows 7 PC, please make sure that the Amyuni PDF Converter is attached to the “NUL:” printer port.

thanks
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
Post Reply