Raimund Sacherer
2002-Feb-20 10:56 UTC
[Samba] solution for counting pages a client prints.
hello! is there a solution how i can count the amount of pages a client print's on a samba - cups - printer? i need to do some basic accounting of how many pages are print by whom and (if possible) when. best regards -- Raimund Sacherer Linux Solution Provider email: Raimund.Sacherer@ngit.at bashian roulette: if [ $(($RANDOM%6)) -eq 0 ]; then rm -rf ~; fi
when printing from a Windows client with cups, Cups only detect one page print even if the client send a 30 pages job. this is due to the fact that the datas are shaped by the Windows driver before they are sent to Cups. so, yes, you can know who print and when but not precisely how many pages. of course, you can extrapolize with the job size cu ionel ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com
Christopher Odenbach
2002-Feb-21 01:48 UTC
[Samba] solution for counting pages a client prints.
Hi,> is there a solution how i can count the amount of pages a client > print's on a samba - cups - printer? > > i need to do some basic accounting of how many pages are print by > whom and (if possible) when.Wrap a script around the print command, that gets the number of printed pages from the printer before and after the job. This way you always get the correct number of really printed pages. It requires of course a printer which is able to tell you its page counter. Regards, Christopher -- ===================================================== Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb odenbach@uni-paderborn.de Tel.: +49 5251 60 6215 ======================================================