Date: Mon, 24 Jan 2005 09:54:17 -0600 From: McCy Ron <ron@bouncebk.com> To: questions@freebsd.org Subject: Re: samba printing Message-ID: <41F51A29.8030804@bouncebk.com> In-Reply-To: <20050124081009.L14351@wonkity.com> References: <1106505227.25875.29.camel@whitecortex.net> <41F461F8.90704@bouncebk.com> <20050124081009.L14351@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41F51A29.8030804>