samba printing

Warren Block wblock at wonkity.com
Mon Jan 24 07:13:05 PST 2005


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


More information about the freebsd-questions mailing list