Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I am trying to figure out the best plan of attack to track my networked printer ink status by IP address, utilizing the printers we based tracking service that is built into the printers. I am wanting to develop a simple non elevated rights program to do so. Would it be faster to do this in vb or c++? And if I chose to make this what types of things should I look out for when programming the program to "poll" the printer for its statuses.
Posted
Comments
Richard MacCutchan 19-Feb-13 9:27am    
Whether you use VB or C++ you still have the same basic issue: how to read the relevant information from the printer, and for that you need the information from the manufacturer.
[no name] 19-Feb-13 10:07am    
How hard is this going to be to accomplish? Or would this be pretty easy from a programming perspective. I work with a lot java programming so this will be a change of gears so to speak for me.
Richard MacCutchan 19-Feb-13 10:14am    
How hard? It depends on your skill levels. But, as I said, you first need to get hold of the manufacturer's documentation to learn how to query the information from the printer. Assuming it uses a standard socket protocol you could probably do it with a Java program.

1 solution

Your network printer most likely support the SNMP (Simple Network Management) Protocol.
For further reading about this protocol, look here.
Take a look at Net-SNMP. An open source tool which can send SNMP queries and is considered to be very powerful.

The following page [^] contains all codes that can be sent to printers. These code are called OIDs.
The OID you probably need would be: ".1.3.6.1.2.1.43.11.1.1.9"
 
Share this answer
 

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