[Samba] Print Count

Nathan Ehresman nehresma at css.tayloru.edu
Wed Jul 30 13:02:00 GMT 2003


On Tue, Jul 29, 2003 at 08:10:05PM -0300, Lieu wrote:
> How can I count the pages printed trough samba server?

If your clients are dumping PostScript to you, its pretty easy.  Make the
output go through a script that you write, and then count the /%%[Page: /
occurrances.  Then dump it all out to cups or lprng or whatever.

Something like this in smb.conf:

print command = /etc/samba/pagecount.pl %s %U %S %I

Nathan

-- 
nre
:wq



More information about the samba mailing list