Solved

setting a printer as default

Posted on 1998-08-17
4
258 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
Comment Utility
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
Comment Utility
0
 

Author Comment

by:curtisn
Comment Utility
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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now