Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jul 1998 18:07:32 +0400
From:      "Vladimir Shirokov" <volodya@ieeu.udm.ru>
To:        <freebsd-hackers@FreeBSD.ORG>
Cc:        <freebsd-bugs@FreeBSD.ORG>
Subject:   Need help with printer accounting
Message-ID:  <01bdb31e$9298a530$050aa8c0@ieeu-nt.ieeu.udm.ru>

next in thread | raw e-mail | index | archive | help
Hi.
I use 3.0-SNAP of FreeBSD (for information) and have a little question:
how I can start acoounting for my print server. I must count a number
of pages, printed from network (samba server) from Microsoft word text
editor for any user.
I have /var/accounting directory, but all files are zero length.
My /etc/printcap looks:
lp|local line printer:\
        :pc=500:af=/var/log/printlog:mx#0:sf:sh:rg=print
        :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
May be I must use filter, but I don't know how to do it.
Command "pac -Plp" shows:
> pac alex
  Login               pages/feet   runs    price
alex                        0.00    0   $  0.00
I will be very happy if anyone can help me with this problem.
Regards, V. Shirokov



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bdb31e$9298a530$050aa8c0>