man printbill_printer (Commandes) - fair printing billing and accounting system.

NAME

printbill_printer - fair printing billing and accounting system.

SYNOPSIS

printbill_printer

DESCRIPTION

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).

REQUIREMENTS

printbill_printer printquote requires everything that the printbill package requires, including a working percentblack/percentcolour and GhostScript.

INSTALLATION

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.

AUTHORS

printbill_printer and the accompanying utilities were written by Daniel Franklin (d.franklin@ieee.org). The web interface was written by Phil Ciufo (phil@snrc.uow.edu.au).

AVAILABILITY

You can always grab the latest and greatest version from http://ieee.uow.edu.au/~daniel/software/printbill

FILES

/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.

SEE ALSO