• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

setting a printer as default

How do you set a printer to be the default printer?  I have been trying to do it using AddPrinter() and in the PRINTER_INFO_2 struct I set the attributes to PRINTER_ATTRIBUTE_DEFAULT, but when I do this, I get the message  "No default printer selected." from MS Works,
Can anyone help?
0
curtisn
Asked:
curtisn
  • 3
1 Solution
 
trestanCommented:
Please have a look at this KB article:
http://support.microsoft.com/support/kb/articles/q135/3/87.asp
Hope it help.
0
 
trestanCommented:
0
 
curtisnAuthor Commented:
Thanks I appreciate it that helped a lot.
I'm curious, How did you find those two sites?
0
 
trestanCommented:
As you can see from my homepage, I have a lot of surfer on the internet. I keep a clue of the site I feel interested.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now