Date: Mon, 22 Oct 2001 09:55:14 +1000 From: Dale Walker <dale@icr.com.au> To: freebsd-questions@freebsd.org Subject: Printcap / Accounting Message-ID: <200110212355.f9LNtFR40852@taz.secure.icr.com.au>
next in thread | raw e-mail | index | archive | help
Hi All, I am trying to implement printer accounting, and I have tried the following: /etc/printcap: ----------------------------------------------- testprn:\ :sh:af=/var/account/testprn.acct:\ :pw#77:pl#58:\ :lp=/tmp/testprn:\ :sd=/var/spool/output/testprn:\ :lf=/var/log/lpd-errs: ----------------------------------------------- send printjob, eg. 'lp -dtestprn /etc/namedb/named.conf' results 1. output is created normally in /tmp/testprn (I don't have a printer attached) 2. nothing is created in /var/account for it 3. pac -Ptestprn returns nothing next, I tried to 'touch' the accounting file, and retry. # touch /var/account/testprn.acct # chmod 777 /var/account/testprn.acct result was same as before... Has anyone got print accounting working on the lpd system before?? -- Dale Walker < dale@icr.com.au > Independent Computer Retailers (ICR) Pty Ltd http://www.icr.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110212355.f9LNtFR40852>