Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2005 07:16:15 +0100 (CET)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        kvoznjuk <kvoznjuk@yandex.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: LPD and PS printer. Print accounting. 
Message-ID:  <20051128071313.J83251@gwdu60.gwdg.de>
In-Reply-To: <4389A209.000001.09902@mfront8.yandex.ru>
References:  <4389A209.000001.09902@mfront8.yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

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@gwdg.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051128071313.J83251>