From owner-freebsd-questions@FreeBSD.ORG Sun May 25 07:59:31 2003 Return-Path: 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 2DE0837B401 for ; Sun, 25 May 2003 07:59:31 -0700 (PDT) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1a-215.pit.adelphia.net [24.53.170.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 543B843FA3 for ; Sun, 25 May 2003 07:59:30 -0700 (PDT) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) h4PExTRp000966; Sun, 25 May 2003 10:59:29 -0400 (EDT) (envelope-from wmoran@potentialtech.com) Message-ID: <3ED0DA51.7020407@potentialtech.com> Date: Sun, 25 May 2003 10:59:29 -0400 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Antoine Jacoutot References: <200305251647.06054.ajacoutot@lphp.org> In-Reply-To: <200305251647.06054.ajacoutot@lphp.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: foomatic+lpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2003 14:59:31 -0000 Antoine Jacoutot wrote: > Hi ! > > I am trying to use foomatic (http://www.linuxprinting.org) as a print > filter under FreeBSD-4.8-RELEASE. > Without any options, it works great. > Now, I want to give options to the filter script. > From the foomatic documentation, this is done by (depending on your > print spooler): > lpr -Pqueue -J'option1 option2' --> for LPD > lpr -Pqueue -o option1 -o option2 --> for GNUlpr > lpr -Pqueue -Z option1 -Z option2 --> for LPRng > > Now, I use the standard lpd print spooler that comes with FreeBSD. From > the lpr man page, it says that: > -J job Job name to print on the burst page. Normally, the first file's > name is used. > > So, should I use another switch, like -Z, although it is for LPRng ? According to the docs, it certainly looks like you should use -Z (capital). If this works, it would be a good idea to send an email to the maintainer of foomatic to request that he update his docs. -- Bill Moran Potential Technologies http://www.potentialtech.com