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::prtMarkerSuppliesMaxCapacity.1.1 = INTEGER: 590
\r
22 Printer-MIB::prtMarkerSuppliesMaxCapacity.1.2 = INTEGER: 470
\r
23 Printer-MIB::prtMarkerSuppliesMaxCapacity.1.3 = INTEGER: 470
\r
24 Printer-MIB::prtMarkerSuppliesMaxCapacity.1.4 = INTEGER: 470
\r
25 Printer-MIB::prtMarkerSuppliesLevel.1.1 = INTEGER: 45
\r
26 Printer-MIB::prtMarkerSuppliesLevel.1.2 = INTEGER: 0
\r
27 Printer-MIB::prtMarkerSuppliesLevel.1.3 = INTEGER: 85
\r
28 Printer-MIB::prtMarkerSuppliesLevel.1.4 = INTEGER: 57
\r
30 Still CUPS does not show the ink level, only says that the printer does not provide information.