From owner-freebsd-questions@FreeBSD.ORG Thu Jul 23 03:29:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88471106566B for ; Thu, 23 Jul 2009 03:29:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 47E8D8FC13 for ; Thu, 23 Jul 2009 03:29:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-64-14.dynamic.qsc.de [92.195.64.14]) by mx02.qsc.de (Postfix) with ESMTP id C05731E246; Thu, 23 Jul 2009 05:29:56 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n6N3Tp9X001500; Thu, 23 Jul 2009 05:29:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 23 Jul 2009 05:29:50 +0200 From: Polytropon To: Andrew Gould Message-Id: <20090723052950.7f8a9481.freebsd@edvax.de> In-Reply-To: <55622.42357.qm@web35301.mail.mud.yahoo.com> References: <55622.42357.qm@web35301.mail.mud.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Mailing List Subject: Re: gutenprint and lpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 03:29:58 -0000 On Wed, 22 Jul 2009 07:26:21 -0700 (PDT), Andrew Gould wrote: > Is there a way to use gutenprint drivers with lpd when the > printer definition is not in the foomatic database? A "problem" is that CUPS seems to replace the default printer spooler mechanism. There are settings in /etc/rc.conf that have to be done in order to use CUPS and leave the lpd facility of the BSD system aside. > Is there something special I need to do for applications to see > CUPS printers? No. CUPS defines a printer name or uses the default "lp". You can set the environmental variable PRINTER to point to the default printer. CUPS works as a printer filter, called "driver" in MICROS~1 land. Input data is given to this filter, and it translates it into the natural language of the printer. This data is then handed to the printer spooler's waiting queue, and finally transmitted into the printer when it's online and ready. As an example, I have apsfilter as a printer filter which creates PCL from any input data (using gs) from any application. My printer has the name "Laserjet" (a HP Laserjet 4000 duplex). I'm using FreeBSD's printer spooler. In your case: You surely want to solve the potential problem of concurrent printer spoolers - those of the system (/usr/bin/lp*) and those of CUPS (/usr/local/bin/lp*). I think there's documentation around in the FreeBSD Handbook in the Printing section. Personally, I dislike CUPS, but it seems to be the only way to get unprinters work on FreeBSD - "modern" egg-laying woolmilksows that do not conform to any standards... -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...