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?
curtisnAsked:
Who is Participating?
 
trestanConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.