smbprint (or: print to nt with smbclient)

Christian Barth barth at cck.uni-kl.de
Wed May 2 14:54:10 GMT 2001


> I use smbprint to print to remote nt-printers. In new samba2.2 and the
> smb-tng this doesnt work any more ..
> 
> cat file | smbclient \\\\server\printer pass -U user -N 
try:

(echo "print -" ; cat file ) | smbclient .....

Works for me on 2.0.7 which doesn't use the -P according to the man 
page, but gives no errors with it and reports it with -h.

Christian
_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)




More information about the samba mailing list