printer accounting na CUPS

Václav Svátek v.svatek na dik.cvut.cz
Úterý Listopad 26 12:54:55 CET 2002


Pouzivam CUPS a chci pocitat kdo kolik vytiskne.
The page_log File vypada:

HP2200 MBUCKO 175 [26/Nov/2002:12:09:25 +0100] 1 1
HP2200 MPETRASEK 176 [26/Nov/2002:12:10:09 +0100] 1 1
HP2200 MBUCKO 177 [26/Nov/2002:12:11:04 +0100] 1 1

Tj. vsude jen jednicky...

Manual rika:

The page_log file lists each page that is sent to a printer. Each line
contains the following information:

printer user job-id date-time page-number num-copies job-billing

DeskJet root 2 [20/May/1999:19:21:05 +0000] 1 0 acme-123

The page-number and num-pages fields contain the page number and number of
copies being printed of that page. For printer that can not produce copies
on their own, the num-pages field will always be 1.

Znamena to, ze slavny CUPS neumi pocitat stranky (na tiskarnach HP4100,
HP2200 a HP1200)???

Jak resite na linuxu/unixu priter accounting?
Dekuji,
V.





Další informace o konferenci Linux