> Here's the segment of my /etc/printcap :
> ##PRINTTOOL3## LOCAL deskjet 300x300 letter {} DeskJet Default 1
> lp:\
> :sd=/var/spool/lpd/lp:\
> :mx#0:\
> :lp=/dev/lp1:\
> :if=/var/spool/lpd/lp/filter:\
> :af=/usr/spool/lpd/lp/dj-acct:\
> :sh:
> When I use lpr then the df-acct file stays a 0 bytes. I have read the Printing
> HOWTOS, looked at the printcap man, checked the usual Unix guides.
> Why is the accounting off? Am I supposed to use pac for displaying the
> accounting information?
in printcap just names the "accounting file", but it is up to the
input filter (if=...) to write something to it. The accounting file
name is just passed as an argument to the input filter. If you
really want to do accounting, you need an input filter that can
count pages or whatever and record this in the accounting file.