LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 06-07-2011, 01:05 PM   #1
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Rep: Reputation: 96
Connecting to a network printer in CentOS 5.6


I am attempting to connect a CentOS VMWare VM to a networked Brother HL5170DN printer. The printer is located at 192.168.0.101. It is available and I can connect to it with various Ubuntu and Windoze VMs.

I have searched for instructions on how to do this and it SEEMS rather simple. However, it does not work. Here is what I have done:

System; Administration; Printing to launch the printer configuration wizard
supply root password
New Printer
Provide printer name, description etc.
Select Connection - LPD/LPR Host or Printer
Hostname - 192.168.0.101
supply a printer name again
select Brother HL5170DN BR-Scripts3 from the footmatic database
complete creating the printer

The printer appears as a local printer, however, I cannot print a test page. Nothing happens when I click the button to print a test page. I can ping the printer by IP address. So I deleted the printer and tried again.

At the screen which asks for Hostname and Printername I entered the printer's IP address in Hostname as I had done before. I then clicked the Probe button. At this point Printer configuration freezes and I have to do a force quit.

Something does not compute Any advise?

TIA,

Ken
 
Old 06-07-2011, 02:32 PM   #2
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Original Poster
Rep: Reputation: 96
I just tried the same thing on a physical CentOS 5.6 box - just in case the problem was a VMWare thing. Same symptoms. Probe freezes the Printer configuration program. I then recalled that the printer uses port 9100. I opened 9100 on the firewall (I think) but no improvement. I temporarily disabled the firewall and went throug the proces. I now have the printer defined at
Quote:
socket://192.168.0.101:9100
and recognized as
Quote:
Brother HL-5170DN BR-Script3
I still cannot print a test page. I tried to print from gedit and it shows the printer with 1 job in the queue. The gedit print bumped that to 2 jobs in the "printing" state. Looks like I am communicating with the printer. Just not printing.

Ken
 
Old 06-07-2011, 03:42 PM   #3
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
Are you able to ping the printer, or did you try to telnet to the printer port? Does this work well? I use a brother mfc-5440-cn on CentOS 5.6 which works well with the cups drivers provided on brother homepage, did you do a check for your model there?
 
1 members found this post helpful.
Old 06-07-2011, 04:40 PM   #4
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Original Poster
Rep: Reputation: 96
Thanks for the reply mesiol. I can ping the printer, I can telnet to the printer and I can access the printer via a web browser. I just cannot print to the printer. I have been advised to configure it as an HP Directjet printer. I may try that and have a look at the Brother site as well. I have used the Brother provided drivers with great success for my MFC240c printer/scanner/fax. I have never had to use anything other than footmatic for the laser printer.

Ken
 
Old 06-07-2011, 06:44 PM   #5
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6 on my desktop, Ubuntu 12.04 LTS on my server, Ubuntu 12.04 on my netbook and the wife's PC
Posts: 1,207

Original Poster
Rep: Reputation: 96
Well spank my butt! Here is a section of the log
Quote:
I [07/Jun/2011:17:08:02 -0400] [Job 9] Adding start banner page "none".
I [07/Jun/2011:17:08:02 -0400] [Job 9] Adding job file of type application/postscript.
I [07/Jun/2011:17:08:02 -0400] [Job 9] Adding end banner page "none".
I [07/Jun/2011:17:08:02 -0400] [Job 9] Queued on "Laser" by "root".
I [07/Jun/2011:17:08:02 -0400] [Job 9] Started filter /usr/lib/cups/filter/pstops (PID 7595)
I [07/Jun/2011:17:08:02 -0400] [Job 9] Started backend /usr/lib/cups/backend/socket (PID 7596)
E [07/Jun/2011:17:08:23 -0400] [Job 9] recoverable: Unable to connect to printer; will retry in 30 seconds...
I [07/Jun/2011:17:11:16 -0400] [Job 9] Canceled by "root".
E [07/Jun/2011:17:11:16 -0400] cupsdAuthorize: Local authentication certificate not found!
I had stated that the printer was working fine with Ubuntu. Well it WAS and has been for years. So I took a break and the dog for a walk. It occurred to me that I had not printed anything from Ubuntu today. When I got back I gave it a try. The printer would not print from Ubuntu. So I power cycled the printer and it again prints from Ubuntu. AND it prints just fine from CenOS!

I knew it could not be this hard (well at least not since Red Hat 6.2)

Ken
 
  


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
Connecting CentOS to the network via a L2 switch? tezarin Linux - Newbie 1 05-11-2011 09:47 AM
connecting to a network printer MT_Keg Linux - Newbie 1 10-28-2009 04:29 PM
Connecting printer to wireless network alonsofonsecap Linux - Newbie 2 11-27-2008 12:10 AM
Connecting a printer to wireless network ksgill Linux - Newbie 2 08-17-2004 10:02 PM
connecting to printer on Win 98 network fulmitz Linux - Networking 2 07-22-2003 10:07 PM


All times are GMT -5. The time now is 08:51 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration