Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

setting a printer as default

Posted on 1998-08-17
4
Medium Priority
?
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 8

Accepted Solution

by:
trestan earned 800 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

604 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