SMB-Printing to Windows XP: This time no error msg :-(
Hello,
I want to use my printer (Canon S500), which is connected to a Windows XP (Sp1) print server, from my SuSE 9.1. The Windows boxes are able to use the network printer without problems. But SAMBA doesn't want as I want :-(
When I use the KDE print control, I can configure a SMB printer and os on, but the wizard does not find a shared printer at the given host. So I tryed it on the command line.
My IP is 192.168.0.3, hostname is "thw".
The shared name of the printer is "Canon", hostname is "zed" and IP is 192.168.0.2.
Workgroup is called "Wesenigk".
That is what I was just trying:
---
thw:/home/thw # smbclient -N -L zed
Domain=[ZED] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
import Disk
IPC$ IPC Remote-IPC
D$ Disk Standardfreigabe
print$ Disk Druckertreiber
UPDATE Disk
ADMIN$ Disk Remoteadmin
C$ Disk Standardfreigabe
Canon Printer Canon S500
Domain=[ZED] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
[...]
---
Everything seems okay, so just try to start printing:
---
thw:/home/thw # echo -en "\rHello\r" | smbclient "//zed/Canon" -c "print -" -N -U "Karsten" && echo ok || echo failed
Domain=[ZED] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
putting file - as stdin-3652 (2,3 kb/s) (average 2,3 kb/s)
ok
---
If I enter the IP instead of the hostname, the message is similar, but at the beginning is this:
---
session request to 192.168.0.2 failed (Called name not present)
session request to 192 failed (Called name not present)
---
Can't see any error messages, everything seems to be okay. But the printer doesn't start printing, the PC "zed" does just nothing (not even a short hdd-led blinking :-)).
Does anybody know what is wrong with my configuration? Or what (and how) can I try to find out what's the problem?
There is no firewall runnning at zed.
The printer works fine as a local printer via the parallel port.
My installed SAMBA-packages are:
libsmbclient-3.0.2a-51
kdebase3-samba-3.2.1-63
yast2-samba-server-2.9.15-12
samba-doc-3.0.2a-51
samba-client-3.0.2a-51
yast2-samba-client-2.9.13-3
samba-3.0.2a-51
samba-winbind-3.0.2a-51
Thanks,
thw
|