Printer not activated -20 on Citrix

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
marco2
Posts: 3
Joined: Mon Apr 14 2008

Printer not activated -20 on Citrix

Post by marco2 »

Hello,

we have a problem with PDF Printer Driver (v. 3.02) on Citrix. We get the message "Printer not activated, error code -20". We use of course EnablePrinter function with license name and activation code. The problem is only if we run our software in Citrix client session, the same program runs OK directly on the server. Some suggestions?

Regards
marco2
David
Amyuni Team
Posts: 89
Joined: Mon Dec 18 2006

Post by David »

Hello

The error "Printer not activated. Error code -20" typically is generated when the PDF Converter encounters an issue with the activation code used to enable the printer. Either an incorrect activation code was used to install the printer or the PDF Converter is unable to read the activation code (activation code registry entry was not found).

This scenario may occur in either of the circumstances below:

1- The PDF Converter driver functions by reading and writing printer settings to the registry. All users of the PDF Converter must have at least read/write privileges to the "HKEY_CURRENT_CONFIG\Software\<Printer Name>"
and "HKEY_CURRENT_CONFIG\Software" keys in the registry and if the user does not have access the conversion process will fail.


2- There are a couple of registry keys which get created when the install.exe is initially run and these registry keys contain licensing information. These keys can not be accessed by standard users and therefore cause the situation you have described.

In order to resolve this issue you can

A- Include the install.ini file with the correct "License to" and "Activation code" values in the same directory as the install.exe? The install.exe will read these values from the ini file.

B- You can install the printer and assign the "License to" and "Activation code" values to it by passing these values as parameters to the install.exe.

E.g.: Install -s "My Company Printer" -n "Evaluation Developer License"
-c "07ABCDA0ABCDABCDABCD012301230123.....".

Also, you can add the -s switch for silent mode, after the license and activation code. This will cause the installation process dialog box not to be displayed.

Hope that helps?
Post Reply