We are unable to print using the PDF converter ...

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.
Post Reply
Dany
Amyuni Team
Posts: 113
Joined: Wed Sep 11 2002
Location: Montreal.
Contact:

We are unable to print using the PDF converter ...

Post by Dany »

From Internet Explorer 5.5 on Windows 98 computers. We do call SetDefaultPrinter() and the Amyuni PDF Converter printer is set as default. However, when printing using the web browser control the network printer is used instead. The printer is unspecified and should use the default printer.

Internet Explorer 5.5 stores the name of the printer that was last used to print in the registry. When, either programmatically or manually, the browser is commanded to print without prompting, Internet Explorer will use this registry setting rather than the name of the default printer. So regardless of the code to switch to the default printer, IE will print
using the last printer used by Internet Explorer. Internet Explorer 6 will print using the default printer.

To overcome this you need to replace the registry setting in
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup\Printer
with "Amyuni PDF Converter".
Post Reply