Click here to Skip to main content
13,091,300 members (52,061 online)
Rate this:
Please Sign up or sign in to 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 19-Feb-13 3:05am
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.
ChrisV85 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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: "."

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 19 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100