(no commit message)
[paste/610.git] / 0-readme.rst
1 hp-toolbox uses HTTP to fetch toner levels:\r
2 \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
5 \r
6 Printer has SNMP activated, and we can fetch the toner status::\r
7 \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
17 \r
18 With readable names (from Printer-MIB that I got by executing "download-mibs")::\r
19 \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
29 \r
30 Still CUPS does not show the ink level, only says that the printer does not provide information.