Setting the Default Printer

Setting the Default Printer

Author

Message

Joe Tobe#1 / 2

Setting the Default Printer

We are developing a Windows 95 application which uses ActiveX controls. If we change the printer via the Printer Setup Dialog, our internal application recognizes the new printer. However, the print routines of the ActiveX controls ignore the application printer and use the system default printer.

I believe my solution is to set the application's printer as the system default printer. My question is how would I do this?

Thanks, Joe

Tue, 03 Oct 2000 03:00:00 GMT

David Lownd#2 / 2

Setting the Default Printer

Quote:

>We are developing a Windows 95 application which uses ActiveX controls. If >we change the printer via the Printer Setup Dialog, our internal >application recognizes the new printer. However, the print routines of the >ActiveX controls ignore the application printer and use the system default >printer.

>I believe my solution is to set the application's printer as the system >default printer. My question is how would I do this?

Joe,

Your situation sounds a bit strange, but have a look at Knowledge Base articles Q135387 "How to Get and Set the Default Printer in Windows", and Q140560 "How to Set the Default Printer Programmatically in Windows 95".