Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Is there any way I can get the printer status, like paper jam or out of paper, from a Network Printer?

I'm working on a project to print from a Point of Sales into a A4 Network Printer, I'm planning to use the LPR native application but I can't get the paper jam or out of paper errors using that application.

Is possible to get those status from a Lexmark Network Printer?

Does exist any C/C++ Open Source library that allow me to get those status?

Thank you in advance
Posted

MSDN - HOW TO: Determine Printer Status and Print Job Status from Visual Basic

It's VB rather than C# but the principles will still hold.

Be aware that this may not work for more modern printers: Since they are present only on the network (wired or wireless) you may not be able to get the status generically.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900