LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-03-2009, 05:50 PM   #1
dweiser
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Samba Printer Sharing w/ Windows 7


Hello,

I'm new to the forum, but I need help from the experts. We are running RedHat Enterprise Server 5. We have a Windows 7 Pro with an HP Printer attached to it, and shared. I can see the printer in RedHat, but everytime I send a print job, it just does nothing but sit there. I've even tried to attach to it via smbclient, and I get the following response:
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Any ideas? Has anyone else successfully connected to and printed from RedHat to a Shared Windows 7 printer?

Thanks,

Dave
 
Old 11-03-2009, 08:11 PM   #2
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
Hi,
I successfully print to my HP printer connected to my winxp pro system from CentOS (which is RedHat).

I configured the printer through the CUPS interface (http://localhost:631). I set the URI to smb://192.168.0.10/Printer2 (printer2 is the name of my printer on windoze and IP of windoze box on LAN) and chose "Windows printer via samba".

I first set up the printer to be shared on the windoze box.

HTH
 
Old 11-04-2009, 09:45 AM   #3
dweiser
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
I have done that, but I referenced the printer by computer_name/printer_share_name. If you use an ip address do you still need a username/password? We have been successfull with windows xp pro, but we are trying this with windows 7 ultimate/pro.

Thanks
 
Old 11-04-2009, 11:26 AM   #4
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
I just happened to use IP instead of name. I don't need to enter user/pw.
It looks like it's a windows7 issue and unfortunately I can't help you with that.
Good luck!
 
Old 05-29-2011, 06:03 AM   #5
wwk
LQ Newbie
 
Registered: Nov 2010
Location: Russia
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by dweiser View Post
Hello,

I'm new to the forum, but I need help from the experts. We are running RedHat Enterprise Server 5. We have a Windows 7 Pro with an HP Printer attached to it, and shared. I can see the printer in RedHat, but everytime I send a print job, it just does nothing but sit there. I've even tried to attach to it via smbclient, and I get the following response:
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Any ideas? Has anyone else successfully connected to and printed from RedHat to a Shared Windows 7 printer?

Thanks,

Dave
I've got the same problem in Debian Lenny. I solved it by adding windows 7 login/password information to printer address line in CUPS configurator (http://localhost:631): smb://login: password@computer_name/printer_shared_name. After that it works fine.

Last edited by wwk; 05-29-2011 at 08:45 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing a printer using samba wastingtime Linux - Server 7 09-05-2008 11:05 AM
Sharing CUPS Printer with SAMBA to Windows machine turbocueca Linux - Server 8 05-05-2007 11:41 AM
Trouble Sharing Local Printer using Samba and CUPS for Windows systems Electro Linux - Networking 3 01-17-2007 10:54 PM
Problems sharing the printer on Linux via Samba to Windows computers melao SUSE / openSUSE 25 03-22-2005 10:37 AM
samba printer sharing nithin_bhaskar Linux - Networking 1 06-17-2004 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration