ERROR_INVALID_HANDLE when printing

If you are a C/C++/C# developer and have any questions about using our products from your application here is the place to post them.
Post Reply
belik77
Posts: 6
Joined: Wed Feb 25 2009

ERROR_INVALID_HANDLE when printing

Post by belik77 » Tue May 05 2009

When we are printing using the following api: PrintPDFDocument
several files one by one, on the second file we often get the following error: ERROR_INVALID_HANDLE
What can be the reason?

Thanks alot

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: ERROR_INVALID_HANDLE when printing

Post by Joan » Wed May 13 2009

Please call SetLicenseKey() before printing each document.
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