PDA

Click to See Complete Forum and Search --> : Setting the default printer


Norm
Jul 22nd, 2001, 02:36 PM
Can somebody tell me to how set the default printer?

"set printer = printers(n)" seems to set the printer until I actually try to print something with "printer.enddoc".

The printer I've identified with the set seems to be ignored and the output is treated as if it were intended for the windows default.

If I use the commondialog to allow the user to select the correct printer all is OK but I want to be able to re-set the default printer afterwards.

Thanks,
Norm.

venom8
Jul 24th, 2001, 03:00 AM
check this thread...


http://forums.vb-world.net/showthread.php?s=&threadid=2362