Failing to print

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
robc
Posts: 1
Joined: Thu Oct 16 2003

Failing to print

Post by robc »

Hi,

Im using PDF Converter Developer edition.

I've made a simple app which initializes the Com object, loads a word doc and then print it out to pdf.

Code: Select all

...
hr = app->put_ActivePrinter( _bstr_t( "my printer" ) );
		
hr = m_cdint.EnablePrinter(
"Evaluation Version Developer",
"07EFCDAB01000100584F829687E4DB671FE2564622F2C87EFC6FFF82B2F90206F7EEE87AE0751CAECA86FED0207CD295E03629A5726433B6E3BE1766876E2B5237F8F5" );
		
hr = app->PrintOut( &vtBoolFalse );
...
The hr value is -2146823146 ( 0x800A1416 ) which means nothing according to errorlookup.

The rest of the code is working fine: the printer driver appears correctly, it is set as the default printer, etc. Only the print out is not working.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

The Activation code you are using is wrong. Please copy the right activation code from the evaluation page at our site. You will get the activation code while downloading the new demo version.

If you are still having problems please send an e-mail to support@amyuni.com including the activation code you copied and the link from where you copy it so we can check this.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

The Activation code you are using is wrong. Please copy the right activation code from the evaluation page at our site. You will get the activation code while downloading the new demo version.

If you are still having problems please send an e-mail to support@amyuni.com including the activation code you copied and the link from where you copy it so we can check this.
Post Reply