smbprint (or: print to nt with smbclient)

Tim Potter tpot at samba.org
Wed May 2 22:59:54 GMT 2001


Herb Lewis writes:

> I use system 5 printing so your mileage may vary.  The command that gets 
> executed by my interface script is
> 
> cat file | /usr/samba/bin/smbclient //controller/deskjet -Uuser -N -c
> 'print -'

Or to avoid the "useless use of cat award" (-: you can do:

smbclient //controller/deskjet -Uuser -N -c 'print file'


Tim.




More information about the samba mailing list