Hello,
I am trying to print to a printer connected to a win95 machine using
smbclient. Please go through and HELP!!
1. I added the following lines to \etc\printcap
smb:\
:lp=/dev/null:\
:sd=/usr/spool/smb:sh:\
:if=/usr/local/samba/smbprint:
2. Following is the script called smbprint:
--snip--
logfile=/tmp/smb-print.log
(
echo translate
echo "print -"
cat
) | /usr/bin/smbclient ////faridah//faridah_prn1 -I 10.0.42.28 -N -P
>> $logfile
--snip--
This is the error that I get in smb-print.log when i do a
lpr -Psmb test.txt :-
Added interface ip=10.0.42.39 bcast=10.0.42.255 nmask=255.255.255.0
Server time is Wed Nov 18 20:48:28 1998
Timezone is UTC+8.0
security=share
SMBtconX failed. ERRSRV - ERRinvnetname (Invalid network name in tree
connect.)
Perhaps you are using the wrong sharename, username or password?
Some servers insist that these be in uppercase
server , service
There is no password set for the printer. And also, I do not understand
what user name I should provide, because when printing form windows, I
never specify any user name.
Do you know where the problem would be?
Thanks in advance!
Shibu
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]