Hello, On Feb 12 22:12 Carlos E. R. wrote (shortened):
... I use a laser color printer (HP cp1515n) ... Another interesting detail is that the page counter on the printer counts down to zero and stays there, so that the several hundred pages I printed above the limit are not counted. So I wonder if "something" could be attached to cups and do a real count of printed pages
There is by default CUPS' software accounting which stores its best-effort/best-guess results into /var/log/cups/page_log For its file format see http://www.cups.org/documentation.php/doc-1.3/ref-page_log.html But software accounting cannot be really reliable, e.g. see http://otrs.librelogiciel.com/otrs/public.pl?Action=&ID=24 In particular by printing in "raw" mode via something like cat printer_specific_data | lp -d queue_name -o raw any user can bypass all CUPS filtering and therefore also no software accounting program can be run in "raw" mode. Therefore for "a real count of printed pages" you need hardware accounting which is - as far as I know - only possible via SNMP for business network printers which maintain an internal reliably working page counter. But pages != sheets of paper so that when printing in duplex mode the counted number of pages is about two times the number of sheets of paper, see http://otrs.librelogiciel.com/otrs/public.pl?Action=&ID=32 Furthermore even an internal reliably working page counter counts all pages but not "only pages with toner on it", see http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1266330795845+28353475&threadId=347346 For more details you may have a look at http://www.pykota.com/ Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org