From owner-freebsd-questions@FreeBSD.ORG Mon Nov 28 06:16:22 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E21E516A41F for ; Mon, 28 Nov 2005 06:16:21 +0000 (GMT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02AA643D53 for ; Mon, 28 Nov 2005 06:16:20 +0000 (GMT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.13.1/8.12.8) with ESMTP id jAS6GFsg019089; Mon, 28 Nov 2005 07:16:15 +0100 (CET) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost) by gwdu60.gwdg.de (8.13.1/8.12.8/Submit) with ESMTP id jAS6GFgO019086; Mon, 28 Nov 2005 07:16:15 +0100 (CET) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Mon, 28 Nov 2005 07:16:15 +0100 (CET) From: Konrad Heuer To: kvoznjuk In-Reply-To: <4389A209.000001.09902@mfront8.yandex.ru> Message-ID: <20051128071313.J83251@gwdu60.gwdg.de> References: <4389A209.000001.09902@mfront8.yandex.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: LPD and PS printer. Print accounting. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2005 06:16:22 -0000 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