Adctivation Error

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
cedric
Posts: 25
Joined: Thu Jun 16 2005

Adctivation Error

Post by cedric »

Does anybody know the meaning of the error message :

printer not activated, error code -41 :idea:


???????

This message appear on the client PC but not on mine (developper). :shock:

Thanks in advance

ced (french developper)
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello Cedric,

This message means that someone is trying to print to the PDF Printer while it is not actiivate.

Please check which version of the PDF Converter you are installing on the User's machine (Developer or End User) and wheter you are calling Enable Printer right after your call to DriverInit and right before each Print out.

If you still get this message please let me know
cedric
Posts: 25
Joined: Thu Jun 16 2005

activation error

Post by cedric »

Hye !

The same dll (cdinft250.dll developper) is installed on both of the configurations (developper's PC and User's PC).

And I run enableprinter just before the print command.

I don't understand :oops: ???

Do I have to put enableprinter just after driverinit ?
cedric
Posts: 25
Joined: Thu Jun 16 2005

activation error code

Post by cedric »

I re-installed the pdf printer on the user's PC giving to him temporately administrative rights.

It seems to work fine.

Thanks...

Where can I find informations about error codes (here 41) ?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Please find here the list of possible error codes we have.
List of possible errors when the printer is not activated:

Error Code -20: Name of licensee could not be read
Source: License registry entry not found

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

Error Code -22: Activation code does not correspond to Licensee
Source: wrong combination of Licensee/Code

Error Code -30: Timeout, printer has timed out

Error Code -40: The activation code is not for the right Windows version (e.g. an activation code for XP 32-bits used under XP 64-bits)

Error Code -41: The activation code that is used is for a lower version number. (e.g. a 2.1 activation code used with version 2.5)
Developers can change the error message that is shown when an error occurs by calling:
SetPrinterParamStr( "Activation Error Title", "My title" )
SetPrinterParamStr( "Activation Error Text", "My text" )

To completely disable the error dialog box, the Title and Text should be set to empty strings.
cedric
Posts: 25
Joined: Thu Jun 16 2005

Good !

Post by cedric »

Thanks !

But what about 41 ? :?:
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

This is too an activation error but i don't know its exact description, i will check it with our developers and post it here.
Dany
Amyuni Team
Posts: 113
Joined: Wed Sep 11 2002
Location: Montreal.
Contact:

Post by Dany »

I edited Joanna's reply with a full listing of error codes and how to disable them. See above...
cedric
Posts: 25
Joined: Thu Jun 16 2005

I understand better

Post by cedric »

OK, it explains i had to re-install the printer.

Lot of thanks

:D
Post Reply