From owner-freebsd-questions@FreeBSD.ORG Mon Jan 24 15:13:05 2005 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 9ED8916A4CE for ; Mon, 24 Jan 2005 15:13:05 +0000 (GMT) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B79443D1F for ; Mon, 24 Jan 2005 15:13:05 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.1/8.13.1) with ESMTP id j0OFD4bM014435; Mon, 24 Jan 2005 08:13:04 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.1/8.13.1/Submit) with ESMTP id j0OFD4S0014432; Mon, 24 Jan 2005 08:13:04 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 24 Jan 2005 08:13:04 -0700 (MST) From: Warren Block To: mccyron@kc.rr.com In-Reply-To: <41F461F8.90704@bouncebk.com> Message-ID: <20050124081009.L14351@wonkity.com> References: <1106505227.25875.29.camel@whitecortex.net> <41F461F8.90704@bouncebk.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (wonkity.com [127.0.0.1]); Mon, 24 Jan 2005 08:13:04 -0700 (MST) cc: questions@freebsd.org Subject: Re: samba printing 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: Mon, 24 Jan 2005 15:13:05 -0000 On Sun, 23 Jan 2005, McCy Ron wrote: > I've got a printcap setting that uses a "pass-through" filter..... > Windows provides the drivers that talk to the printer correctly. BSD need > only pass the bytes through. > > ################################### > ### printcap setup for Samba printer share...... > > broxima|hplj4|Samba Laser:\ > :sh:\ > :lp=/dev/lpt0:sd=/var/spool/output/broxima:\ > :lf=/var/log/smbprt-errs:\ > :if=/usr/libexec/pass-prt:\ > > ### pass-prt ......Pass through filter........ > #!/bin/sh > /bin/cat && exit 0 > exit That looks like it is the same as having no input filter at all, i.e.: broxima|hplj4|Samba Laser:\ :sh:\ :lp=/dev/lpt0:sd=/var/spool/output/broxima:\ :lf=/var/log/smbprt-errs: -Warren Block * Rapid City, South Dakota USA