1 hp-toolbox uses HTTP to fetch toner levels:
\r
3 - http://192.168.3.98/hp/device/info_device_status.xml
\r
4 - http://192.168.3.98/hp/device/info_ssp.xml
\r
6 Printer has SNMP activated, and we can fetch the toner status::
\r
8 $ snmpwalk -c public -v 1 -On 192.168.3.98
\r
9 .1.3.6.1.2.1.43.11.1.1.8.1.1 = INTEGER: 590
\r
10 .1.3.6.1.2.1.43.11.1.1.8.1.2 = INTEGER: 470
\r
11 .1.3.6.1.2.1.43.11.1.1.8.1.3 = INTEGER: 470
\r
12 .1.3.6.1.2.1.43.11.1.1.8.1.4 = INTEGER: 470
\r
13 .1.3.6.1.2.1.43.11.1.1.9.1.1 = INTEGER: 45
\r
14 .1.3.6.1.2.1.43.11.1.1.9.1.2 = INTEGER: 0
\r
15 .1.3.6.1.2.1.43.11.1.1.9.1.3 = INTEGER: 85
\r
16 .1.3.6.1.2.1.43.11.1.1.9.1.4 = INTEGER: 57
\r
18 With readable names (from Printer-MIB that I got by executing "download-mibs")::
\r
20 $ snmpwalk -c public -v 1 -m Printer-MIB 192.168.3.98
\r
21 Printer-MIB::prtMarkerSuppliesDescription.1.1 = STRING: "Black Cartridge HP Q6000A"
\r
22 Printer-MIB::prtMarkerSuppliesDescription.1.2 = STRING: "Cyan Cartridge HP Q6001A"
\r
23 Printer-MIB::prtMarkerSuppliesDescription.1.3 = STRING: "Magenta Cartridge HP Q6003A"
\r
24 Printer-MIB::prtMarkerSuppliesDescription.1.4 = STRING: "Yellow Cartridge HP Q6002A"
\r
26 Printer-MIB::prtMarkerSuppliesSupplyUnit.1.1 = INTEGER: tenthsOfGrams(13)
\r
27 Printer-MIB::prtMarkerSuppliesSupplyUnit.1.2 = INTEGER: tenthsOfGrams(13)
\r
28 Printer-MIB::prtMarkerSuppliesSupplyUnit.1.3 = INTEGER: tenthsOfGrams(13)
\r
29 Printer-MIB::prtMarkerSuppliesSupplyUnit.1.4 = INTEGER: tenthsOfGrams(13)
\r
31 Printer-MIB::prtMarkerSuppliesMaxCapacity.1.1 = INTEGER: 590
\r
32 Printer-MIB::prtMarkerSuppliesMaxCapacity.1.2 = INTEGER: 470
\r
33 Printer-MIB::prtMarkerSuppliesMaxCapacity.1.3 = INTEGER: 470
\r
34 Printer-MIB::prtMarkerSuppliesMaxCapacity.1.4 = INTEGER: 470
\r
35 Printer-MIB::prtMarkerSuppliesLevel.1.1 = INTEGER: 45
\r
36 Printer-MIB::prtMarkerSuppliesLevel.1.2 = INTEGER: 0
\r
37 Printer-MIB::prtMarkerSuppliesLevel.1.3 = INTEGER: 85
\r
38 Printer-MIB::prtMarkerSuppliesLevel.1.4 = INTEGER: 57
\r
40 Still CUPS does not show the ink level, only says that the printer does not provide information.