PDF Converter will not print in released version

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
microridge
Posts: 2
Joined: Fri Dec 23 2005

PDF Converter will not print in released version

Post by microridge »

The PDF Converter works great with the debug version of our application. However, I get the error 30 message with the released version. Using Visual C++ ver 6. The lib and header files are dated 1-26-05 and 6-9-05. The cdiintf250.dll is version 2.5.0.6. The response from EnablePrinter is TRUE. If I print or select the Properties button in the print dialog I get the error 30 with the released version. The debug and released versions are all run from the same folder.

Have uninstalled and reinstalled the converter, but no help. The problem seems to exist on any computer I test it on.
microridge
Posts: 2
Joined: Fri Dec 23 2005

Problem seems to be a timeout

Post by microridge »

I have the following 2 statements in the program
_putenv ("TZ=GMT0");
_tzset ();

If I remove _tzset (), everything works OK.

If I leave in this statement and set the time zone to Greenwich, England, every thing works OK.

It appears the timeout on EnablePrinter is 20 seconds. It also appears that rather than using the timer tic to track the time, Amyuni is using another method. Hopefully will get more info when they get back to work on Tuesday 1-3-06.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Yes, EnablePrinter times our after 20 seconds, it is advisable to call EnablePrinter() when catching the EnablePre() event or right before printing.

Thanks and Happy New Year.
Post Reply