Printer Not Activated -30 Time Limit

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
dempsey
Posts: 2
Joined: Sun Aug 26 2007

Printer Not Activated -30 Time Limit

Post by dempsey »

I've read topics that state the Enable Printer call "expires" after a period of time and printer usage returns "Printer not activated error -30".

I understand the reason for this behavior.

How long will the printer remain enabled? What's the timeout value (so that I can ensure it's never a problem for my application)?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

The printer will remain active for 20 seconds.

You need to call EnablePrinter() right before printing or when catching the EnablePre() event fired by the driver.
daimyo
Posts: 2
Joined: Fri Dec 07 2007

Post by daimyo »

You need to call EnablePrinter() right before printing or when catching the EnablePre() event fired by the driver.
How can I do this? where and how?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

You can do this if you are using the PDF Converter from inside your application programatically.
I.e if you are using the Developer version of the PDF Converter.
This version can't be used directly from any Windows application, it should be used programatically from inside your application.

If you are using the End User version of the PDF Converter EnablePrinter() doesn't apply.
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
rickm
Posts: 2
Joined: Tue Jan 22 2008

Post by rickm »

Does anyone know of a way you can extend the 20 seconds the printer is enabled for? Is this property of 'EnablePrinter' configurable?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Unfortunately there is no way to extract the 20 seconds the printer is enabled for. This function is not configurable.

To get a timeout of more than 20 seconds you need to contact support@amyuni.com and request a special activation code while stating why you need more than 20 seconds activation time.
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
rickm
Posts: 2
Joined: Tue Jan 22 2008

Post by rickm »

As long as enabling the printer more than once in the code doesn't drastically effect memory it shouldn't be a problem. Thanks!
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Enabling the printer more than once in the progam doesn't have any side effects and it is required.

You need actually to enable the printer right before each printout or when catching the EnablePre() event.

Regards,
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