Hi all,
we're experiencing this problem: on a new Windows Xp machine, without any Amyuni driver installed, when the user launch the PDF creation from our application, the content of the pdf is printed on the paper printer and no error is generated when calling DriverInit function! So we can't catch any error programmatically!
Any suggestion?
Sorry for my poor english.
Paolo.
PDF converter and windows XP
Hello,
Some applications would print to the default printer of the system or to the printer specified by the report, this is why you are getting a paper output.
Concerning DriverInit:
- If you are using the DLL interface, DriverInit will return a handle to the printer if it succeeds and a Null value if it fails.
- If you are using the ActiveX interface, DriverInit will return 0 if it succeeds and an exception if it fails. There is no return value in the failure case, you can trap the excetion and handle it.
Hope this helps.
Some applications would print to the default printer of the system or to the printer specified by the report, this is why you are getting a paper output.
Concerning DriverInit:
- If you are using the DLL interface, DriverInit will return a handle to the printer if it succeeds and a Null value if it fails.
- If you are using the ActiveX interface, DriverInit will return 0 if it succeeds and an exception if it fails. There is no return value in the failure case, you can trap the excetion and handle it.
Hope this helps.