Printer not activated error code -22

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
mhandzlik
Posts: 3
Joined: Thu Oct 27 2005

Printer not activated error code -22

Post by mhandzlik »

uninstalled and reinstalled program following are my steps:
Developing application in Gupta Centura team Developer and I am receiving the not activated error above. Here is my sequence I have done.
Registered cdintf.dll
Ran silent install specifying printer name, Eval license no
Noticed Printer appearing in my Available list
Within program I ...
Called DriverInit passing the Printer name above
Then EnablePrinter passing eval and license params
Then called SetDefaultPrinter - This set the printer in my list to selected
Then SetDefaultFileName passing the name I want the file to be called
Then called SetFileNameOptionsEx(1+2)
Then called EnablePrinter prior to print
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

This error falls in the same category as the one you submitted in your other post.

It seems you are using a wrong activation code.

If you are using an evaluation version of the product, you must have downloaded an exe file.

And to have got the Install.exe that you are running you must have run the exe file you downloaded (the installer wizard) at least once.

In the same folder where Install.exe was created you will find a file called Install.ini, please open this file and copy the LicenseTo and Activation Code from it to your code.

If you are still getting an activation error message, please send us the part of your code where you are using the PDF Printer to support@amyuni.com to check it.

Please note that as you are enabling the printer in your code there is not need to enable it when calling Install.exe.

Hope this helps.
Post Reply