Document.Print only prints 1 page

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
ruc2827
Posts: 12
Joined: Wed Nov 03 2004

Document.Print only prints 1 page

Post by ruc2827 »

I am using Document.Print to print my PDF after generating it. It is successfully printing but only printing the first page despite verifying that it is correctly passing in the start and end page parameters. The document contains multiple pages if opened up in Acrobat. Is this a known issue? Are there any methods in the API to print a generated PDF?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Do you have a professional version of the PDF Converter?

Are you calling SetLicenseKey() right before calling Document.Print()?
ruc2827
Posts: 12
Joined: Wed Nov 03 2004

Post by ruc2827 »

I am using the Demo version of Professional Developer. I am setting the licence key. It only prints 1 page whether I set the licence key or not.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

This is because you are using the demo version of the driver.

To be sure that there is nothing wrong in your code please send a snippet of your code to support@amyuni.com and we can check if there is anything wrong about also please send us the pdf file you are trying to print.
ruc2827
Posts: 12
Joined: Wed Nov 03 2004

Post by ruc2827 »

Is there anyway to enable this? I am performance testing the print performance in comparison to evalutate your product. Without this feature, the perf numbers seem way too low compared to programattically printing via Adobe Reader, probably due to only printing 1 page.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

I am afraid i can't solve this issue here because i can't send you a non demo activation code while you trying the demo version.

I can suggest that you license an end user version for testing than you upgrade it to a developer version or you contact support@amyuni.com to check if we have other solutions.

Thanks.
Post Reply