How to programmatically select the default printer (1 Viewer)

Status
Not open for further replies.

MStCyr

New member
Local time
Today, 12:19
Joined
Sep 18, 2003
Messages
333
This example shows how to select and set the default printer.
 

Attachments

This is excellent but it does not work on my XP Pro machine. Checking the OSinfo.???? information my machine does not meet any of the parameters set in the OnDoubleClick event and therefore the SUB Exits.
 
The app was developed for a Win 98 environment. I should have mentioned that.
 
The app was developed for a Win 98 environment. I should have mentioned that.
 
The app was developed for a Win 98 environment. I should have mentioned that.
 
Interesting. The list box does pick up my available printers. do you have the code to change the default printer in an XP or Win2000/2003 environment
 
Status
Not open for further replies.

Users who are viewing this thread

Back
Top Bottom