Converter 3.0x Printing Preferences Printer Error Code -30

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.
nbergqui
Posts: 4
Joined: Wed Jan 09 2008

Converter 3.0x Printing Preferences Printer Error Code -30

Post by nbergqui »

After installing Amyuni PDF Converter Version 3.02 (or 3.01a) on a Win2k3 machine I get the following Activation Error, "Printer not activated, error code -30", after clicking on the Printing Preferences... button on the General tab of the Amyuni PDF Converter properties dialogue window. Amyuni appears to install correctly using my Licensed to: and Activation Code: values. My previous version of Amyuni PDF Converter (v2.50d-3) would pop up a small dialogue with a few page size/orientation options.

Should I expect this behavior from Converter v3.0x or is there something wrong with my install?

Thanks for any help.

-Nate
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello Nat,

You can't use the activation code of version 2.51 to activate version 3.

You will need to use the new activation code you received with version 3.

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
nbergqui
Posts: 4
Joined: Wed Jan 09 2008

Post by nbergqui »

Joan,

Thanks for the response.

While installing version 3 I am using the version 3 activation code provided by Amyuni via email when I upgraded to version 3. I am using the correct activation code and I still see the behavior described above.

-Nate
nbergqui
Posts: 4
Joined: Wed Jan 09 2008

Post by nbergqui »

Just an update.

At this point I'm just wondering if this is expected behavior. Does anyone else with Amyuni Converter v3.0x installed get the "Printer not activated, error code -30" after clicking Printing Preferences?

I'll worry about a fix later, first I'd just like to know if this is even a problem.

Thanks again.

-Nate
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

*** This post was edited because it contained some misleading information ***

Hello Nat,

This can happen if you have the Developer version of the PDF Converter.

In this case it would be normal to get an activation code error message because the Developer version doesn't have any user interface.

Using the Developer version you can not access the printing preferences by right clicking on the printer, you can change the printer settings only programatically from inside your application.

We have this list posted in a separate thread however i will post here again the list of error codes and their meaning
-20 Name of licensee could not be read (License registry entry not found)

-21 Activation code could not be read (Code registry entry not found)

-22 Activation code does not correspond to Licensee (wrong combination of Licensee/Code)

-30 Timeout, printer has timed out

-40 Invalid Platform

-41 Trying to activate a new version of the PDF Converter with an activation key of the previous version.

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
nbergqui
Posts: 4
Joined: Wed Jan 09 2008

Post by nbergqui »

Joan,

Thanks again for the reply.

This is exactly the response I was looking for. I do have the developer version of the PDF Converter and I just wanted to make sure this was expected behavior for v3.0 (since v2.5 behaved differently).

-Nate
casolorz
Posts: 22
Joined: Thu Mar 17 2005
Location: Wichita, KS

Re: Converter 3.0x Printing Preferences Printer Error Code -30

Post by casolorz »

We are getting this error on 3.x and didn't use to get it on 2.5. We rely on this functionality, is there a fix for it? we have the developer license.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Converter 3.0x Printing Preferences Printer Error Code -30

Post by Joan »

Hello,

Which functionality?

This thread is about error code -30. This error occurs if you are trying to print to the PDF Printer while it is timed out.

You need to make sure that EnablePrinter() is called right before the printing command in your code.

Hope this helps, if not please let me know what is the issue you are facing. If it is not related to this thread please post your issue in a separate thread.

Have a nice day.
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
casolorz
Posts: 22
Joined: Thu Mar 17 2005
Location: Wichita, KS

Re: Converter 3.0x Printing Preferences Printer Error Code -30

Post by casolorz »

We get the error when we click on the "preferences" of the printer. We have the developer license. It used to work on 2.5 and contrary to what your phone support told us, the settings actually made a difference on 2.5 and now on 3.0 we have lost that functionality.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Converter 3.0x Printing Preferences Printer Error Code -30

Post by Joan »

Hello,

When clicking on the Preferences of the printer you will get only the about dialog box.

Currently you are getting the error code -30 because the developer version is activated programatically from inside your application and the activation has a limited time out.

I will check if this error message is mandatory at this stage or can be omitted.

Have a nice day
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
casolorz
Posts: 22
Joined: Thu Mar 17 2005
Location: Wichita, KS

Re: Converter 3.0x Printing Preferences Printer Error Code -30

Post by casolorz »

You can remove the -30 message but its not a timeout problem, there is never an event regarding the preferences button click.
Because this functionality was removed from version 2.5 to 3.0 we've had to stop using this printer driver and moved to a different one.

--Carlos
Devteam
Posts: 119
Joined: Fri Oct 14 2005
Location: Montreal
Contact:

Re: Converter 3.0x Printing Preferences Printer Error Code -30

Post by Devteam »

To clarify what is going on:
With the developer version 2.5, and end-user would see 3 tabs but could not change the settings. This was confusing to most users because they could see the settings and thought they could use the PDF printer to print from any application.
With the developer version 3.0, we reduced the tabs to only one tab and added an error message to give the user an indication that the printer cannot be used outside of the developer's application. The error message can be removed or customized by the developer of the application so that the users do not get the generic Amyuni error message. Here is how to customize the error message:
SetPrinterParamStr PrinterName, "Activation Error Title", "My Application"
SetPrinterParamStr PrinterName, "Activation Error Text", "This printer can be used only within My Application"

In terms of functionnality, nothing was lost. The configuration still needs to be done from the developer's application which is how the developer version is intended to be used. There might have been some settings that were available to the end-user from the Advanced tab, but these were creating more confusion and tech support calls than really helping. Of course, if the customer can clarify which settings were needed but got removed, then we could find alternatives.
Amyuni Development Team

Efficient and accurate conversion to PDF, XPS, PDF/A and more. Free trials at - https://www.amyuni.com
casolorz
Posts: 22
Joined: Thu Mar 17 2005
Location: Wichita, KS

Re: Converter 3.0x Printing Preferences Printer Error Code -30

Post by casolorz »

Devteam wrote:To clarify what is going on:
With the developer version 2.5, and end-user would see 3 tabs but could not change the settings. This was confusing to most users because they could see the settings and thought they could use the PDF printer to print from any application.
With the developer version 3.0, we reduced the tabs to only one tab and added an error message to give the user an indication that the printer cannot be used outside of the developer's application. The error message can be removed or customized by the developer of the application so that the users do not get the generic Amyuni error message. Here is how to customize the error message:
SetPrinterParamStr PrinterName, "Activation Error Title", "My Application"
SetPrinterParamStr PrinterName, "Activation Error Text", "This printer can be used only within My Application"

In terms of functionnality, nothing was lost. The configuration still needs to be done from the developer's application which is how the developer version is intended to be used. There might have been some settings that were available to the end-user from the Advanced tab, but these were creating more confusion and tech support calls than really helping. Of course, if the customer can clarify which settings were needed but got removed, then we could find alternatives.

We are talking about different screens. I am talking about the "Preferences" button when you are getting ready to print and choosing the printer. On 2.5 it gave you one screen to choose paper size, resolution, orientation, custom paper size, and language. Those options all worked just fine, and they were not confusing.
On 3.0 that same button gives an error. We were never told this was going to happen prior to PAYING for the "upgrade" (feels more like a downgrade), contacting your email tech support, which we paid for, gave us no answers for several days, and at one point we were finally given the option to have custom code but when we asked for a quote on that custom code we never got a reply.

--Carlos
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Converter 3.0x Printing Preferences Printer Error Code -30

Post by Joan »

Hello Carlos,

It seems we are talking about two different issues. Even in version 2.5 if you have a developer version users can't change the printing preferences manually and this behavior didn't change from version 2.5 to 3.0.

Lets continue this conversation offline for a while, please send me some screenshots to forum@amyuni.com of what you are talking about to see exactly which behavior have changed and follow up from there.

Have a nice weekend,
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
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: Converter 3.0x Printing Preferences Printer Error Code -30

Post by Joan »

Hello,

I would like to add a note to this thread for further reference: Throwing error code -30 or -20 when accessing the printing preferences of the PDF Converter Developer version is a normal behaviour, also allows developers to specify their own error
message such as "Please use this printer only with our application"
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