LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2011, 12:28 AM   #1
Shanell
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Rep: Reputation: Disabled
Help Me!!


Hi I am knew to Linux and really like the system.I had a Hp officejet T45 on a WinXp serve where I was able to print from my Linux distro. Since then I upgraded to Win7 and now every time I try to print I get this message "NT_STATUS_BAD_NETWORK_NAME" and "Unable to connect to CIFS". Or this message " Document was sent to Hp Officejet" but the job does not print.At the moment I am running Zorin and Fedora14. Whenever I view my network I can see my printer on my linux system using samba4. Can anyone Please help.
I'm willing to supply as much info as possible.
 
Old 09-20-2011, 01:08 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

Almost sounds like either a bad hostname, or the network is unreachable in that sense. Before I start asking technical questions, how is the printer connected? Via network? Locally via usb/parallel port?

Cheers,

Josh
 
Old 09-20-2011, 01:28 PM   #3
Shanell
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi and thanks for your responds.
The printer is network connected, and the win7 box is being used as the server.
 
Old 09-20-2011, 06:49 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Have you tried pinging both the IP address of the server, and the hostname of the server, seperately, to see what happens? It seems as the hostname might not be registered on your LAN. I would check the leases just in case.
 
Old 09-20-2011, 09:16 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,341
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Just to be thorough, I would first make sure that the printer is still shared with the same share name under Win 7 as it was under the previous Windows.

Since it's an HP printer, try installing HPLIP on the Linux box and letting it try to discover the printer.

You don't mention which distro you are using, but, if it has software repositories, HPLIP should be in the repos. Note that the HPLIP GUI ("hp-toolbox" on the command line) is often a separate package from HPLIP base.
 
Old 09-24-2011, 03:50 AM   #6
Shanell
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hello again, was a bit tied up for the pass few days.
Firstly thanks again for your replies and suggestions.I was able to get my Ubuntu "Natty" to print to my printer. After I modified the printers' name from "HP Officejet T Series" to "hpofficejettseries" and install it using the ip address via (smb://ip adress/printer name/) it install and worked. My problem now is with the Fedora14 box. Even after I did the same thing I'm still getting "NT_STATUS_BAD_NETWORK_NAME", "Unable to connect to CIFS host" or "job was sent to printer hp etc", but it does not print. In addition when I tried to install with the hp device manager under the HPLIP as suggested, it does not discover the printer. In fact when i tried to install using the default installer "windows printer vi samba, it states "There were no print share found". Ok I've ping the ip add. "ping 192.168 etc" and the host name "smbclient -L HRS -U" from my fedora box and both return with positive results, I am able to see Domain=[HRS] OS=[Win7 Pro etc] Server=[Win7 Pro],

Sharename Type Comment

ADMIN$ Disk Remote Admin

C$ Disk Default share

HP OfficeJet T Series Disk

hpofficejettseries Printer hpofficejettseries

hpofficejettseriesfax Printer hpofficejettseriesfax

IPC$ IPC$ Remote IPC

printe$ Disk Printer Drivers

temp Disk

Users Disk

Domain=[HRS] OS[Win 7 Pro] Server=[Win 7 Pro]

Server Comment

Workgroup Master.

I welcome any help. PS Remember I'm a Newbie so I ask that when it comes to the technical stuff
please go slow thanks.
 
Old 09-24-2011, 10:44 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Since it hasn't been mentioned, please use descriptive thread titles for your threads (i.e. ones that say something about your problem), as you're asked to when you post.
 
Old 09-24-2011, 11:29 PM   #8
Shanell
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hi there just like to report that I finally got my problem resolved.
Everything is working fine.
 
Old 09-24-2011, 11:35 PM   #9
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by Shanell View Post
Hi there just like to report that I finally got my problem resolved.
Everything is working fine.
Can you share with us how you fixed it? It would be greatly appreciated! And also, since your problem is solved, please mark your thread as solved using the thread tools located at the top of the page, thanks!

Josh
 
Old 09-26-2011, 02:15 AM   #10
Shanell
LQ Newbie
 
Registered: Sep 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
I believe I might of had a compatibility problem. I say that because, when I installed my Office-jet T45 printer on my Linux box "Fedora 14", I got the error messages that I posted. But after reading an article on "what is a compatible driver for the Office-Jet T45 on the "Win7 OS"; It was suggested to install Office-Jet r45. I went ahead an install the Office-Jet r45 printer on my Linux box and was able to print, and everything worked fine. One other thing I had to do, and that was to enable samba to start from boot. I notice at times I was unable to discover my printer and shared folders on my network, and that solved that problem. Printing from my Wins OS was OK with the T45 installation software, but from my Linux box it worked from the installation of the r45. Just to prove that this was the case, I also have a Mandriva 2010 distro and I install the T45 on that system and got the same error message. When I install the r45 everything worked fine. (I Hope this is OK)

Shanell.
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:24 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
Open Source Consulting | Domain Registration