Solved

setting a printer as default

Posted on 1998-08-17
4
261 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Nest Related files not working in Visual Studio 4 77
Application vs Workbook.applicaiton 3 35
Build VS2015 project in bat command 3 87
Where did System.Data.Objects go? 2 27
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…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 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