Licance issues

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
Rage
Posts: 7
Joined: Fri Apr 11 2008

Licance issues

Post by Rage »

Hi we talked earlier about how to print files with your software from within other software code and thanks for the help in that reguard.
Now I got another problem and I think its to do with licance

If I print any pdf fil by normaly opening the "Amyuni PDF Converter 3.02"
PDFCreactiveDoc.exe the resault is fine the paper comes out as it should.

now my first issue printing a pdf via a activeX object I solved like this

Code: Select all

static void BOMTest009(args a)
{
    COM PDFDoc      = new COM('PDFCreactiveX.PDFCreactiveX');
    str LicenseName = "xxxx";
    str LicenseKey  = "xxxx";

    ;
    PDFDoc.Open("q:\\Faktura DVS - F1472943.pdf","");
    PDFDoc.SetLicenseKey(LicenseName,LicenseKey);
    PDFDoc.Print('',false);
}
This will print the page out fine except that there will be a red watermark
"Amyuni PDF Creator, Version 3.00 - Copyright(c) 2001-2007 - Amyuni Technologies

can you give any hint on why this comes cause I got a licance to the program and it works fine within the PDFCreactiveDoc.exe

when I from printers&faxes try and print out a test page from the "Amyuni PDF Converter" printer I get this message "Printer not activated, error code -20" not sure if this has anything to do with it.

(note: in the code example above the licanceName and Key are xxxx in this example for obvious reasons :wink: )
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

In your code you are using the Amyuni PDF Creator to print the pdf file.

In your post you mentioned 'Amyuni PDF Converter 3.02".

Are you viewing the watermark whether you open the PDF file in Acrobat Reader or in the Creator? (you can use PDFCreactiveDoc.exe to open the file).

Please make sure of the the following:
1 - That the license key and activation code you are using are for version 3.02 of the PDF Creator
2 - That the PDF file is copied to your code without missing any character.
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
Rage
Posts: 7
Joined: Fri Apr 11 2008

Post by Rage »

hehe ya my fault about the name I just used the name that was on the installed folder :lol:

when I use the PDFCreactiveDoc.exe there arnt any watermark same when I print mannualy from within PDFCreactiveDoc.exe

Code: Select all

    PDFDoc.SetLicenseKey(LicenseName,LicenseKey);
    PDFDoc.Open("q:\\pdfFile2.pdf","");
    PDFDoc.Print('Microsoft XPS Document Writer',false);
like here when I use the ms doc writer to print out I get the watermark aswell (this is just a random pdf loaded in
Image

about the licance they should be, any way to check? the licance.pdf contains both a dev and enduser agreement but that might just be standard file that follows on installation?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Your post confused me a little bit.

If you open your PDF file in Acrobat Reader, will you see the watermark?

Thanks,
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
Rage
Posts: 7
Joined: Fri Apr 11 2008

Post by Rage »

no it does not give a watermark if I use adobereader to view the file neither if I use any other viewer. Only when I print the pdf from my code
when i say watermark I refer to the red line of text that goes across the paper. "Amyuni PDF Creator, Version 3.00 - Copyright(c) 2001-2007 - Amyuni Technologies "
Im thinking that Im getting this cause of somthing to do with the licanse

Edit:
The pdf Im trying to print it just a normal pdf file w/o any watermarks not created using amyuni software.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Now things are clearer.

It is one of two things: Either you are not calling SetLicenseKey at the right place in your code, or your are calling it at the right place but you are providing a wrong activation code.

Please call SetLicenseKey() after the declaration of PDFDoc

Also please make sure that you are using the right licensee name and activation code for version 3.0 and not a code for version 2.

If you are still having a problem please send your licensee name and activation code to support@amyuni.com to validate it.

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
Post Reply