How to use NT share from Unix host?
BC3-AU at bigfoot.com
Wed Jan 21 15:35:32 GMT 1998
Maher Khzouz writes:
> How can I make use of Samba to use the NT printer share and print from the
> unix box. Or what shall I do to be able to print from the unix machine to
> the printer defined in the Domain_A NT side.
smbclient -P \\\\machine\\service -c "print file_name"
E.g. your printcap could have somthing like:
:if=/usr/bin/smbclient \\\\machine\\service -P -U% -c "print -":\
the "-" in "print -" being print the file from stdin.
More information about the samba