Solved

setting a printer as default

Posted on 1998-08-17
4
262 Views
Last Modified: 2013-12-03
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
Comment
Question by:curtisn
  • 3
4 Comments
 
LVL 8

Accepted Solution

by:
trestan earned 200 total points
ID: 1413572
Please have a look at this KB article:
http://support.microsoft.com/support/kb/articles/q135/3/87.asp
Hope it help.
0
 
LVL 8

Expert Comment

by:trestan
ID: 1413573
0
 

Author Comment

by:curtisn
ID: 1413574
Thanks I appreciate it that helped a lot.
I'm curious, How did you find those two sites?
0
 
LVL 8

Expert Comment

by:trestan
ID: 1413575
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question