/etc/printbill/printbillrc
This is fairly complex, and is now documented on its own manual page (see printbillrc(5) ).
Fair printing billing and accounting system.
printbill_printer
printbill_printer is a very simple print filter which only accepts jobs from the user nominated in the printbilld_user variable declared in printbillrc(5). It is used in the second-level print queue - this queue should only ever be used by the printbilld_user (see printbillrc(5)) and printed to from printbilld(1).
printbill_printer printquote requires everything that the printbill package requires, including a working percentblack/percentcolour and GhostScript.
Please see the accompanying README file for detailed installation instructions. Chances are if you're reading this it's correctly installed. Note that the program and the accompanying utilities are written in Perl and so may be customised by the user very easily.
/etc/printbill/printbillrc
This is fairly complex, and is now documented on its own manual page (see printbillrc(5) ).
/etc/printbill/mail_message
This contains the message mailed to anybody who has a print job rejected. The default message just informs the user why their job may have been rejected, and suggests some possible remedies.
/var/lib/printbill/users/*.db
Current user quotas.
/var/lib/printbill/misc.db
Global page count, money paid and money spent are stored here.
/var/lib/printbill/printers/*.db
Printer databases - contain toner/ink usage and total pages printed.
/etc/printcap
You need to have a printcap entry which looks similar to this:
lp|My Printer
:achk=true
:as=|/usr/local/sbin/printbill_printer
... the rest of your printcap entry, including any output filters
You may add an additional print-filter, in case you don't have a PostScript printer. Obviously, if the scripts are located somewhere else, adjust your printcap and config files accordingly.