Printer SNMP reader
Ask the printer for its toner and page count
Every network printer answers the same standard SNMP numbers for its toner, drums, page counter, trays and errors. Type its address and get one snmpwalk command, then paste what it prints and read it back in plain words. It runs in your browser: nothing you type or paste is sent to us.
Step 1: run this in Terminal
On a Mac, open Terminal: snmpwalk is built in. On Linux it comes with the net-snmp or snmp package. Windows has no snmpwalk; run it from a Mac, a Linux box or Windows Subsystem for Linux on the printer's network.
for o in 1.3.6.1.2.1.43.11.1.1 1.3.6.1.2.1.43.10.2.1.3 1.3.6.1.2.1.43.10.2.1.4 1.3.6.1.2.1.43.8.2.1.9 1.3.6.1.2.1.43.8.2.1.10 1.3.6.1.2.1.43.8.2.1.12 1.3.6.1.2.1.43.8.2.1.13 1.3.6.1.2.1.25.3.5.1 1.3.6.1.2.1.43.16.5.1.2; do snmpwalk -v2c -c public -On 10.20.1.22 $o; done- Each value comes back on one line, like
.1.3.6.1.2.1.43.11.1.1.9.1.1 = INTEGER: 62 - Timeout: No Response means SNMP is off on the printer, the community is wrong, or UDP port 161 is blocked on the way.
Step 2: paste what it printed
Toner and drums in percent, the page count, trays, status and error flags, read back in plain words.
The printer SNMP OID list
The standard numbers from the Printer MIB (RFC 3805) and the Host Resources MIB (RFC 2790), which most school copiers and printers answer whatever the maker. A table column ends before the row number: walk it and each cartridge, tray or counter comes back as its own line. Makers add their own numbers under 1.3.6.1.4.1 for things like separate colour counters.
| OID | Name | What it holds |
|---|---|---|
| 1.3.6.1.2.1.43.11.1.1.6 | prtMarkerSuppliesDescriptionToner and supplies | Each supply's name, such as Black Toner Cartridge or Drum Unit. |
| 1.3.6.1.2.1.43.11.1.1.5 | prtMarkerSuppliesTypeToner and supplies | What kind of supply it is: 3 toner, 4 waste toner, 9 drum (OPC), 15 fuser, 21 toner cartridge, 32 staples. |
| 1.3.6.1.2.1.43.11.1.1.4 | prtMarkerSuppliesClassToner and supplies | 3 for a supply that is used up, 4 for a receptacle that fills, such as a waste toner bottle. |
| 1.3.6.1.2.1.43.11.1.1.7 | prtMarkerSuppliesSupplyUnitToner and supplies | The unit the two numbers below are in: 7 impressions, 13 tenths of grams, 18 items, 19 percent. |
| 1.3.6.1.2.1.43.11.1.1.8 | prtMarkerSuppliesMaxCapacityToner and supplies | How much a full one holds. -1 no limit, -2 unknown. |
| 1.3.6.1.2.1.43.11.1.1.9 | prtMarkerSuppliesLevelToner and supplies | How much is left now. Divide by the capacity for a percentage. -3 means some is left, -2 unknown. |
| 1.3.6.1.2.1.43.10.2.1.4 | prtMarkerLifeCountPage count | The lifetime page counter, the number a copier's meter reading starts from. |
| 1.3.6.1.2.1.43.10.2.1.3 | prtMarkerCounterUnitPage count | What the counter counts: 7 impressions (printed sides), 8 sheets. |
| 1.3.6.1.2.1.43.8.2.1.13 | prtInputNamePaper trays | Each paper tray's name, such as Tray 1 or Bypass Tray. |
| 1.3.6.1.2.1.43.8.2.1.12 | prtInputMediaNamePaper trays | The paper the tray is set to, such as Letter or Plain. |
| 1.3.6.1.2.1.43.8.2.1.9 | prtInputMaxCapacityPaper trays | Sheets the tray holds when full. |
| 1.3.6.1.2.1.43.8.2.1.10 | prtInputCurrentLevelPaper trays | Sheets in it now. -3 means some paper, 0 empty, -2 unknown. |
| 1.3.6.1.2.1.25.3.5.1.1 | hrPrinterStatusStatus and errors | 1 other, 2 unknown, 3 idle, 4 printing, 5 warming up. |
| 1.3.6.1.2.1.25.3.5.1.2 | hrPrinterDetectedErrorStateStatus and errors | Error flags as bits: low or no paper, low or no toner, door open, jammed, offline, service requested and more. |
| 1.3.6.1.2.1.43.16.5.1.2 | prtConsoleDisplayBufferTextStatus and errors | The words on the printer's front panel right now. |
| 1.3.6.1.2.1.1.1.0 | sysDescrModel and serial | The maker's description of the device, usually the model and firmware. |
| 1.3.6.1.2.1.43.5.1.1.16 | prtGeneralPrinterNameModel and serial | The printer's model name. |
| 1.3.6.1.2.1.43.5.1.1.17 | prtGeneralSerialNumberModel and serial | The serial number. |
Before you turn SNMP on
SNMP v1 and v2c send the community in plain text, which is why a printer hardening checklist often asks for them off. The same levels also come back over IPP, and the toner levels guide shows where else to read them.
Read only
snmpwalk only reads. Nothing on the printer changes and nothing prints.
UDP port 161
SNMP travels on UDP 161. A firewall between VLANs that allows printing can still block it.
Change the community
If you keep v2c on, set a community other than public in the printer's web page, read only.
Prefer v3
SNMPv3 signs and encrypts each request with a user name and two passwords.
Take it further
- Check printer toner levelsWhere else the levels show: the panel, the printer's web page and KyberCopy's Supplies.
- Printer port checkerNo answer on SNMP? Test whether the printer answers on 631 and 9100 at all.
- Copier meter bill checkerTurn the page counter into the bill a leased copier should send.
- Toner yield calculatorFrom a level and the pages a month, about when the cartridge runs out.
See every printer's toner without a terminal.
This reader asks one printer at a time over SNMP. KyberCopy's relay does not use SNMP: every two minutes it asks each printer over IPP for its state and supply levels, so the Printers page and Supplies show every device's own numbers and SNMP can stay switched off.
Book a demo