SAMBA & Printing to a WinX share

Richard Sharpe sharpe at ns.aus.com
Sat May 6 06:49:26 GMT 2000


At 03:49 AM 5/6/00 +1000, Peter Samuelson wrote:
>
>[Gerry George <ggeorge at digisolv.com>]
>> PhotoEX:\
>>          :sd=/var/spool/lpd/PhotoEX:\
>>          :mx#0:\
>>          :sh:\
>>          :if=/var/spool/lpd/PhotoEX/filter:\
>>          :af=/var/spool/lpd/PhotoEX/acct:\
>>          :lp=/dev/null:
>[...]
>> I notice that there is no reference to the target machine in the
>> second instance, nor the fact that it is an SMB-accessed printer.
>
>The standard Berkeley printer daemon (lpd) does not directly support
>SMB.  So the usual way to handle this is to set up your input filter
>(the "if=" field) to a script that calls `smbclient' -- and then to set
>your print device ("lp=") to /dev/null.

There is already such a script included with Samba: smbprint.



Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Co-author, SAMS Teach Yourself Samba in 24 Hours
Author: First Australian 5-day, intensive, hands-on Linux SysAdmin course
Author: First Australian 2-day, intensive, hands-on Samba course



More information about the samba-ntdom mailing list