Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ VB
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 4:05am
Comments
Richard MacCutchan at 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 at 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 at 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
good
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: ".1.3.6.1.2.1.43.11.1.1.9"
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 7,442
1 OriginalGriff 5,996
2 Peter Leow 4,292
3 CHill60 2,858
4 Mika Wendelius 2,850


Advertise | Privacy | Mobile
Web04 | 2.8.150224.1 | Last Updated 19 Feb 2013
Copyright © CodeProject, 1999-2015
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