Solved

How to check printer status in C#?

Posted on 2004-04-30
2
2,197 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
Comment Utility
0
 
LVL 3

Accepted Solution

by:
JavaInTheMorning earned 50 total points
Comment Utility
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

IT, Stop Being Called Into Every Meeting

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

Suggested Solutions

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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