From owner-freebsd-questions@FreeBSD.ORG Mon Jan 24 15:54:46 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 EA5E016A4CE for ; Mon, 24 Jan 2005 15:54:46 +0000 (GMT) Received: from rrcs-mta-01.hrndva.rr.com (rrcs-mta-01.hrndva.rr.com [24.28.200.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8992443D31 for ; Mon, 24 Jan 2005 15:54:46 +0000 (GMT) (envelope-from ron@bouncebk.com) Received: from rrcs-fep-12.hrndva.rr.com (rrcs-fep-12b.hrndva.rr.com [172.28.200.150])j0OFsjAB015919 for ; Mon, 24 Jan 2005 10:54:45 -0500 (EST) Received: from [10.0.0.128] (really [67.53.24.1]) by rrcs-fep-12.hrndva.rr.com with ESMTP id <20050124155445.CLQN1587.rrcs-fep-12.hrndva.rr.com@[10.0.0.128]> for ; Mon, 24 Jan 2005 10:54:45 -0500 Message-ID: <41F51A29.8030804@bouncebk.com> Date: Mon, 24 Jan 2005 09:54:17 -0600 From: McCy Ron User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org References: <1106505227.25875.29.camel@whitecortex.net> <41F461F8.90704@bouncebk.com> <20050124081009.L14351@wonkity.com> In-Reply-To: <20050124081009.L14351@wonkity.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: samba printing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mccyron@kc.rr.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jan 2005 15:54:47 -0000 The pass-through script, and the idea to use it, came from "FreeBSD Unleashed". I didn't know you could get away with not having a filter in printcap. I'll try your idea to see if it works. I'm using the same "idea" for other remote Ethernet printers this computer serves. Warren Block wrote: > 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 >