From owner-freebsd-questions@FreeBSD.ORG Thu Oct 20 21:25:11 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 2341816A41F for ; Thu, 20 Oct 2005 21:25:11 +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 AF61A43D64 for ; Thu, 20 Oct 2005 21:25:10 +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 35BEB250FA; Thu, 20 Oct 2005 23:25:06 +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 23:25:06 +0200 (CEST) Date: Thu, 20 Oct 2005 23:25:06 +0200 (CEST) From: Erik Norgaard To: Frank Bonnet In-Reply-To: <4357B64D.90101@esiee.fr> Message-ID: References: <43574B5E.4020503@esiee.fr> <4357B64D.90101@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 21:25:11 -0000 On Thu, 20 Oct 2005, Frank Bonnet wrote: >> 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. > > well ... we use PostScript and PCL so it is not suitable to discard > non postscript jobs > anyway thanks for your answer IIRC There is very little difference between PS and PCL, some codes at the beginning, and not enough that my script discarded it. PDF was the big problem. Cheers, Erik