LPD and PS printer. Print accounting.

Konrad Heuer kheuer2 at gwdg.de
Mon Nov 28 06:16:22 GMT 2005


On Sun, 27 Nov 2005, kvoznjuk wrote:

> Have network PS printer (Xerox), lan users have access to through
> FreeBSD lpd. I need get page quantity for every user. In mans I find
> refer to PAC, but dont understand how I must change PRINTCAP file for
> get statistic. Or it is wrong way? Help please.

For example, you could take a look at rprint in the ports collection. If
you write an input filter which sends data to the printer via rprint you
could inquire the page counter and write its value to the printer queue
log file which in turn could be evaluated later.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2 at gwdg.de



More information about the freebsd-questions mailing list