2020-04-29
Seeing when it's time to walk to the laserjet printer
I have an aged laserjet 4100 DTN printer at home and it sometimes takes a while to print something. The logs from cups will state that it has been sent to the printer but the printer will still show processing. Solution: ask the printer for the active pagecounter. This will be updated after the page has really been output, so it will only change when the printer is done with the page.$ snmpget -v1 -c internal laserjet 1.3.6.1.2.1.43.16.5.1.2.1.1 iso.3.6.1.2.1.43.10.2.1.4.1.1 = Counter32: 738042