From owner-freebsd-questions@FreeBSD.ORG Thu Oct 20 08:33:33 2005 Return-Path: X-Original-To: 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 6BDAD16A41F for ; Thu, 20 Oct 2005 08:33:33 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (fw.math.ku.dk [130.225.103.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A96043D62 for ; Thu, 20 Oct 2005 08:33:33 +0000 (GMT) (envelope-from norgaard@math.ku.dk) Received: from imf.math.ku.dk (localhost [127.0.0.1]) by imf.math.ku.dk (Postfix) with ESMTP id DA8FE250CF; Thu, 20 Oct 2005 10:33:29 +0200 (CEST) Received: from shannon.math.ku.dk (shannon.math.ku.dk [130.225.103.12]) by imf.math.ku.dk (Postfix) with ESMTP; Thu, 20 Oct 2005 10:33:29 +0200 (CEST) Date: Thu, 20 Oct 2005 10:33:29 +0200 (CEST) From: Erik Norgaard To: Frank Bonnet In-Reply-To: <43574B5E.4020503@esiee.fr> Message-ID: References: <43574B5E.4020503@esiee.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD-Questions Subject: Re: Printing quota ? 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: Thu, 20 Oct 2005 08:33:33 -0000 On Thu, 20 Oct 2005, Frank Bonnet wrote: > I'm searching for a free software that perform print accounting > interface with CUPS welcome. You are entering into one of the most troublesome things in system administration. There are two problems: * Relyably determining who's printing * Relyably determining the number of pages I don't know anything about CUPS but I once wrote a script for LPRng which may be changed to work with CUPS. LPRng calls the script with user information as command line options and the document on STDIN. The script determines the user from the command line option and counts pages in postscript documents by parsing STDIN. If the document doesn't look enough like postscript it is discarded. Windows users have a hard time getting it right. I can send it to you if you're interested. Cheers, Erik