LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2004, 08:10 AM   #1
thw
LQ Newbie
 
Registered: Mar 2004
Location: Dresden, Germany
Distribution: SuSE 9.1 Pro
Posts: 21

Rep: Reputation: 15
Unhappy 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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SuSE 9.3 printing on a Windows SMB shared printer goldfish Linux - Networking 5 10-05-2005 10:21 AM
X won't load - no error msg - Windows works though lrt2003 Linux - General 2 04-28-2004 03:09 AM
SMB printing to Windows shares johns123 Linux - Newbie 3 03-02-2004 10:16 PM
slooze error: validateInputs(); $msg = $mySlooze->renderPage($vars); echo $msg; ?> rioguia Linux - Software 0 01-26-2003 08:59 PM
SMB Printing to a Windows Box scottpioso Linux - Hardware 2 01-12-2003 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration