Printer not activated, error code -30 - NOT during printing

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
trumpetinc
Posts: 60
Joined: Mon Jul 28 2003

Printer not activated, error code -30 - NOT during printing

Post by trumpetinc »

Howdy-

We have one firm (4 or 5 workstations) that are all experiencing the following behavior (please read carefully, this is *NOT* similar to other posts in these forums with the above error):

User opens any appliction (Internet Explorer, Word, Notepad)
User clicks File->Print
In the Print dialog that appears, user single clicks on our print driver
Immediately, they see an error dialog that says "Printer not activated, error code -30"

Some things to note:
1. The user is not actually printing to the driver. They have just clicked once on it in the Print dialog.
2. Converter is version 2.50f
3. this problem happens on all workstations at this one firm. But we have many, many other firms using our product, and this is the only one with this problem.
4. We have uninstalled and re-installed our driver. The very first time going through the above procedure after re-installing, the warning dialog does not pop up. Every time after the first time, the dialog does pop up again.


We activate our printer using event triggers, and actually printing to the driver works just fine. It appears to be just an issue with clicking on the printer icon in the Print dialog.

Can you please give any pointers about what we should investigate next?

Thanks,

- Kevin
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Post by Jose »

Hello,

The "Printer not activated, error code -41" is generated each time the user tries to access the developer version of the PDF Converter. This either will occur when the user tries to print to the printer before calling enableprinter or the user tries to view the printer's properties in the control panel. In your case this message box seems to be firing from the print dialog.

You can customize the message received by the user or suppress this message from being generated.

This can be done by accessing the "Activation Error Title" and "Activation Error Text" properties through the "PrinterParamStr" functions. I have included below a code snippet which illustrates this.

In the case where you do not want the dialog box to get generated, you will just need to pass an empty string to these functions.

Ex:

PDF.PrinterParamStr("Activation Error Title") = ""
PDF.PrinterParamStr("Activation Error Text") = ""

Hope this helps?
trumpetinc
Posts: 60
Joined: Mon Jul 28 2003

Post by trumpetinc »

Thanks for your quick response. I think that this will get us going for the time being - but I really wish I understood *why* the print dialog was doing this (like I said, it doesn't happen on any other system we support - just this one...).

If you have any ideas, please let me know - otherwise we'll go with the paramstr that you suggest.

Thanks! - K
Jose wrote:Hello,

The "Printer not activated, error code -41" is generated each time the user tries to access the developer version of the PDF Converter. This either will occur when the user tries to print to the printer before calling enableprinter or the user tries to view the printer's properties in the control panel. In your case this message box seems to be firing from the print dialog.

You can customize the message received by the user or suppress this message from being generated.

This can be done by accessing the "Activation Error Title" and "Activation Error Text" properties through the "PrinterParamStr" functions. I have included below a code snippet which illustrates this.

In the case where you do not want the dialog box to get generated, you will just need to pass an empty string to these functions.

Ex:

PDF.PrinterParamStr("Activation Error Title") = ""
PDF.PrinterParamStr("Activation Error Text") = ""

Hope this helps?
Post Reply