Solved

How to check printer status in C#?

Posted on 2004-04-30
2
2,231 Views
Last Modified: 2008-01-09
I'm using C# for my codes.
I'd like to ask for some help guys!

How can i check printer status using C# codes.  i have a code but it will not work yet.  Though its printer status seen inside printers window changes (Out of paper, not connected, etc.) my code only returns one value only, and that is "3".

Can anyone give me sample codes for this?

Thanks a lot.
0
Comment
Question by:batang_igat
  • 2
2 Comments
 
LVL 3

Expert Comment

by:JavaInTheMorning
ID: 10957352
0
 
LVL 3

Accepted Solution

by:
JavaInTheMorning earned 50 total points
ID: 10957359
This is a great article that would help you even more (check out section 4)
http://www.codeproject.com/csharp/csdoesshell2.asp
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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 article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

827 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