Solved

How to check printer status in C#?

Posted on 2004-04-30
2
2,246 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
[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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

740 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