[Solved] PDF creation extremely S-L-O-W!

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
halftrip
Posts: 3
Joined: Thu Nov 06 2008

[Solved] PDF creation extremely S-L-O-W!

Post by halftrip »

We are using PDF Converter in a VB6 application to create PDF documents. Previously we had version 2.10 which we had to upgrade to 2.5 for Vista support. After the upgrade (and incidental changes to the app for the new version), PDF creation has gone from a few seconds to SEVERAL MINUTES!! I have searched the forums and can't find anyone with this issue. I have searched my application to see if there is anything that could be causing this slow down and the bottom line is that it is the new version of Amyuni. I have downloaded and tried the new 3.0 trial version and it is still slow. Can you make any recommendations? What could be the difference between 2.10 and 2.5 (or 3.0) that could account for this slow down?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: PDF creation extremely S-L-O-W!

Post by Joan »

Hello,

We had an old version of the PDF Converter where printing was slower than the normal but this issue was resolved in newer version 2.51 and above. I can't tell exactly in which version this occured but I suggest that you try newer versions than the one you have. You can dowload our latest version and try it.

Please note that background printing can make the printing process slower.

Also if in your application you are calling PDFDriverInit() before each printout this will make the whole process much slower.

Hope this helps.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
halftrip
Posts: 3
Joined: Thu Nov 06 2008

Re: PDF creation extremely S-L-O-W!

Post by halftrip »

Thank you for your reply.

The version we are using is 2.51. I have downloaded the latest trial version 3.03 and there is no increase in speed. I am also not background printing. The original program was calling PDFDriverInit() before each printout (using 2.10) and there was no speed problem. I changed the code while using 2.51 to not call PDFDriverInit before each printout and printing time decreased from several minutes to several minutes minus about 10 seconds.

Can you think of any other reason I should be getting this enormous slow down?
David
Amyuni Team
Posts: 89
Joined: Mon Dec 18 2006

Re: PDF creation extremely S-L-O-W!

Post by David »

Hello

If you have broadcastmessages enabled, that will also slow down your application depending on how many other applications are running.
Broadcastmessages will send a message to every running application and will wait to recieve a response back from those applications.

This could slow down your application if you have lots of applications running.

Hope that helps?

David
Amyuni Custom Development
Do you need a specific PDF solution? Are you looking for expertise that will enable you to start or complete a PDF integration project?
http://www.amyuni.com/en/company/services.php
halftrip
Posts: 3
Joined: Thu Nov 06 2008

Re: PDF creation extremely S-L-O-W!

Post by halftrip »

I appreciate the replies to my issue.

I appear to have solved the problem and thought I would post here what happened. The slowdown does not appear to be caused by the Amyuni driver after all. This was unclear to me since all we had changed was moving from Amyuni 2.10 to 2.51. Our application is also using Tx Text Control 10.0 and that is where the slowdown appears to be occurring. A rewriting of the code with how it accesses Tx Text Control has solved the problem. There does not appear to be any conflict between Amyuni and Tx Text Control, so why the slowdown suddenly occurred is still somewhat of a mystery.

Thanks for your help. The application runs extremely fast now.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: PDF creation extremely S-L-O-W!

Post by Joan »

Thank you for posting this clarification. I will mark this issue as solved.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Post Reply