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
 
LinkBack Search this Thread
Old 03-28-2004, 07:39 PM   #1
cdruhl
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Rep: Reputation: 0
Problem Print though SAMBA, SuSE 9.0


I have SuSE 9.0 on my Gateway notebook and have successfully connected to my home network (D-link 614+ router) and can see my MSHOME network and the Windows XP (Home Edition) desktop system. All is working fine there... until I try to set up a SMB print connection.

I have a HP 3820 Deskjet connected to the Desktop XP system and want to print to it through Samba.

I've tried to set everything up in YAST and get confirmation that the print queue is active... only nothing happens when I try to print a test page.

For some reason, the queue is seen but not the MSHOME network.

Anybody out there have experience with SuSE and their Samba and have any ideas? I'm probably leaving something out.

I wonder, too, if I have to be using the Professional edition of XP?

Thanks!
 
Old 03-29-2004, 06:40 AM   #2
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 328

Rep: Reputation: 35
I had to set up the Guest account on XP to get access to the printer.

AK
 
Old 03-29-2004, 07:59 AM   #3
cdruhl
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Quest Account

That is interesting! You just set up a Guest account!

I'll try it and let you know!

Thanks for the reply, I appreciate it!

Chris
 
Old 03-29-2004, 03:10 PM   #4
cdruhl
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
Guest Account

I'm sad to say that this does nothing on my system...

YAST has a screen for setting up the Print queue. It has five fields:

Network
location of queue
name of queue
user ID
password


I have 192.168.0.101 under location of queue
I have Print$ under name of queue
(These were searched for and selected by YAST)

user ID and Password are filled in properly

I press "test" and get told that the queue is working fine so long
as I do not put anything in Network name... The test fails if I put
MSHOME in the "Network" field. MSHOME is the network name
under Samba

This is driving me nuts
 
Old 03-29-2004, 03:19 PM   #5
jsokko
Member
 
Registered: Mar 2004
Location: Phila, PA
Distribution: SuSE 9.0 / RH 9 / Slackware 9.1
Posts: 110

Rep: Reputation: 15
Try setting up a direct connection (either TCP/IP or parallel) and set up CUPS as your print server for your linux & your windows boxes.
 
Old 03-30-2004, 02:44 AM   #6
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 328

Rep: Reputation: 35
Part of my /etc/cups/printers.conf looks like this where abit is my XP machine; epson is the share name of the printer on my XP machine; the workgroup is pavinswood and guest is the guest user on the XP machine

<Printer Epson>
Info
Location
DeviceURI smb://guest@pavinswood/abit/epson
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

In your previous note what machine has the ip address 192.168.0.101?


AK
 
Old 03-30-2004, 03:09 AM   #7
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
cdruhl, I used to print from CUPS/Suse via a home network to a printer attached to my XP Home box, so it can be done.

Memory's a little hazy but there's a search network button somewhere on the yast setup thing. I think that's what I used to locate the printer.

Else try running CUPS on it's own and see how that goes?
 
Old 03-30-2004, 02:56 PM   #8
cdruhl
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
The 192.168.0.101 is the XP Home box with the HP Printer attached..

There is a network search button in YAST... in the Samba part and that's been configured. I can see the network. I took all other settings in SMB printer setup from YAST's probing of my network.

I'll try the CUPS route when I get a chance.. I know this can be done, probably something stupid I'm not doing or didn't set up right.

Thank you all for your help!
Chris
 
Old 03-31-2004, 03:32 AM   #9
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 328

Rep: Reputation: 35
Have you checked the samba and cups and other logs in /var/log. Check those logs that have been updated immediately after you try a test print

On my network I have an xp box called abit and a shared printer called epson, with a guest user. I presume you've enabled sharing on the XP box and given the printer a share name

From the command line in root on my slackware box I can

smbclient //abit/epson -U guest

It invites me to type a password in this case there isn't one so I just hit <Return> it should then gives the following prompt

smb: \>

at this prompt I type

print /root/.bash_profile


the .bash_profile is a small text file that exists in my roor folder. The print command sends the file to the printer whose share name on the XP box is called epson which then gets printed.

at the next smb: />

type quit or exit.

With the above it will either work or fall over in a big heap in which case it may give you a lot more information.


AK
 
Old 04-02-2004, 07:49 AM   #10
cdruhl
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
This is my next move. I checked the etc/cups/printers.conf and found something similar to what you have. I played with different combinations, nothing.

I tried doing this through YAST and Gnone instead of YAST and KDE and got an additional error message in Gnome. It seems that the Linux is seeing the network as I can share files with no problem on the other two XP boxes. Thus, CUPS can see the print queue... but Gnome said, "unable to connect to Network" so it's as if it's seeing the network but not seeing the network.... from a printing standpoint. The printer is shared by all XP boxes. It has a share name and all.

I'm wondering if it does not like the default print share name.. as it has spaces in it? I'm going to check the XP print Sharing again
 
Old 04-02-2004, 10:37 AM   #11
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
Could be the spaces.

Try putting a backward slash before the space or renaming the que on XP
 
Old 04-02-2004, 01:39 PM   #12
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 328

Rep: Reputation: 35
In XP give the printer a share name of HP. Was there any error messages in and of /var/log files?
 
Old 04-02-2004, 01:53 PM   #13
cdruhl
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
I changed the share name to HP3820 and that seemed to make some difference... I went to print a text file and got no error messages.. a job was created in the queue but no print.. so I checked var/log as you suggested and now it's reduced to.. "can't find host"

I'm using the guest account, too, pretty much following exactly what you did in the conf file

smb://quest@Mshome/RUHL/HP3820
 
Old 04-02-2004, 02:34 PM   #14
cdruhl
LQ Newbie
 
Registered: Sep 2003
Posts: 13

Original Poster
Rep: Reputation: 0
All seems to work now....!! Whew! Thanks!

The "no spaces" share name was only part of the problem... the other is that configurations do not always update right when running YAST from any account name but "ROOT" ... even though YAST asks for the "ROOT" password.. Everything came to life once I went into the "ROOT" user, then loaded YAST, then simply re-ran the printer configuration routine.. not making any changes, just pressing "Configure" and then "Finish" without doing anything... everything is re-written and now it works...

Good to keep in mind for anybody with SuSE.. I'm sure there are other configs that don't work quite right from other accounts. I was able to change the video properties from my general user account and the "ROOT" password, even configure Samba, but not this printer thing!
 
Old 04-02-2004, 02:40 PM   #15
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 328

Rep: Reputation: 35
Congratulations
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem With Samba - SUSE 9.3 mashix Linux - Networking 2 10-04-2005 02:56 AM
print sharing problem in suse 9.2 phonecian Suse/Novell 1 02-15-2005 04:02 PM
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 8 03-02-2004 11:04 AM
usb+epsonc80+Samba print sharing problem jr87 Linux - Hardware 1 01-23-2004 04:19 PM
Suse 8.1,Samba,Cups print to Win2k printer mithrin Linux - Networking 1 03-14-2003 04:42 PM


All times are GMT -5. The time now is 01:15 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration