LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-25-2011, 09:26 AM   #1
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Rep: Reputation: Disabled
Thumbs down CUPS no longer printing with Brother HL2170W laser printer


SO I have been printing with this laser printer (connected via LAN) for months without a single glitch, when suddenly today I had to quickly print a document. I could not print it. At first I thought the printer was off, then I double checked it was on. I restarted the CUPS server, reinstalled the printer in CUPS, nothing will work.

When I send a print job, (I am using XFCE btw), I see the printer icon in the tasktray and it has a small warning sign. Opening the print queue, I see "Processing - Printer Warning".

In cups, I see nothing unusual. It says (in the printer queue): processing since Sat 25 Jun 2011 10:13:30 AM EDT

I can print a test page FROM the Printer web interface, confirming the printer works. I can print with the other printers. CUPS detects the printer and does not report anything unusual.

What is going on with CUPS????

Anybody can help?
 
Old 06-25-2011, 09:38 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Clear the printer queue.
Print a cups page from the cups web interface.

You may have to remove the printer then add it again.
 
Old 06-25-2011, 09:45 AM   #3
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
i use a Brother 5440MFC, and the printer requires sometimes a restart to work, not sure why, but after a certain amount of time it stops printing without any error message.
 
Old 06-25-2011, 10:02 AM   #4
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
What do you mean by restarting? Shutting it off and then back on?

I tried that too... Even shutting down my computer and the printer and waiting a few minutes for the ram to clear up.

It will not print the test page from CUPS's interface. The job goes in the queue and it says: "processing since Sat 25 Jun 2011 10:13:30 AM EDT" but nothing happens...

Before I cleared the error log, it had this in it:

Quote:
D [25/Jun/2011:10:06:02 -0400] [Job 38] Wrote 8192 bytes of print data...
D [25/Jun/2011:10:06:02 -0400] [Job 38] Read 8192 bytes of print data...
D [25/Jun/2011:10:06:02 -0400] [Job 38] Wrote 8192 bytes of print data...
D [25/Jun/2011:10:06:02 -0400] [Job 38] Read 8192 bytes of print data...
D [25/Jun/2011:10:06:02 -0400] [Job 38] Wrote 8192 bytes of print data...
D [25/Jun/2011:10:06:02 -0400] [Job 38] renderer exited with status 0
D [25/Jun/2011:10:06:02 -0400] [Job 38] Read 1298 bytes of print data...
D [25/Jun/2011:10:06:02 -0400] [Job 38] Wrote 1298 bytes of print data...
D [25/Jun/2011:10:06:02 -0400] [Job 38] kid4 exited with status 0
D [25/Jun/2011:10:06:02 -0400] [Job 38] kid3 finished
D [25/Jun/2011:10:06:02 -0400] [Job 38] kid3 exited with status 0
D [25/Jun/2011:10:06:02 -0400] [Job 38]
D [25/Jun/2011:10:06:02 -0400] [Job 38] Closing foomatic-rip.
D [25/Jun/2011:10:06:02 -0400] [Job 38] STATE: +connecting-to-device
D [25/Jun/2011:10:06:02 -0400] [Job 38] Looking up "brother-hl2170w"...
D [25/Jun/2011:10:06:02 -0400] [Job 38] Connecting to brother-hl2170w:515 for printer BINARY_P1
D [25/Jun/2011:10:06:02 -0400] [Job 38] Connecting to printer...
D [25/Jun/2011:10:06:02 -0400] [Job 38] Job canceled by "root"
D [25/Jun/2011:10:06:02 -0400] [Job 38] Backend returned status 1 (failed)
D [25/Jun/2011:10:06:02 -0400] [Job 38] End of messages
D [25/Jun/2011:10:06:02 -0400] [Job 38] printer-state=3(idle)
D [25/Jun/2011:10:06:02 -0400] [Job 38] printer-state-message="Connecting to printer..."
D [25/Jun/2011:10:06:02 -0400] [Job 38] printer-state-reasons=toner-low-report
E [25/Jun/2011:11:39:45 -0400] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost/printers/Brother_HL-2170W_series) from localhost
E [25/Jun/2011:11:40:06 -0400] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost/printers/Brother_HL-2170W_series) from localhost
E [25/Jun/2011:11:40:25 -0400] Returning HTTP Forbidden for CUPS-Set-Default (ipp://localhost/printers/Brother_HL-2170W_series) from localhost
Now after I cleared the logs, and restarted from scratch, the error log has only this in it:
Code:
E [25/Jun/2011:11:51:01 -0400] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
Strange because I was expecting to see most of the errors from the first log re-appearing again but no...

Last edited by lpallard; 06-25-2011 at 10:59 AM.
 
Old 06-25-2011, 11:06 AM   #5
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Lets be clear - you can detect and add the printer in CUPS, but when you go to print it hangs?
It looks like CUPS sneds the job and is waiting for a reply from the printer - i.e. the printer is not getting the job ... so, try to print from a different computer.
 
Old 06-25-2011, 11:45 AM   #6
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
OK I tried to print from a Windows computer. Works flawlessly. Cups is the problem. What do you suggest?
 
Old 06-25-2011, 12:02 PM   #7
lpallard
Senior Member
 
Registered: Nov 2008
Posts: 1,045

Original Poster
Rep: Reputation: Disabled
I might actually have solved it...

I uninstalled the printer, and re-installed it. The only difference is that this time, instead of selecting the printer from the "Discovered Network Printers:Brother HL-2170W series (Brother HL-2170W series), I selected IPP protocol and entered the printer's IP manually.

I have no clue why it worked so far... As far as I know, case solved! (or almost..)
 
Old 06-25-2011, 12:22 PM   #8
mesiol
Member
 
Registered: Nov 2008
Location: Lower Saxony, Germany
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731

Rep: Reputation: 137Reputation: 137
i mean poweroff the printer and poweron, after that my problems are gone for 3-4 weeks.
 
Old 06-26-2011, 04:45 AM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by lpallard View Post
I might actually have solved it...

I uninstalled the printer, and re-installed it. The only difference is that this time, instead of selecting the printer from the "Discovered Network Printers:Brother HL-2170W series (Brother HL-2170W series), I selected IPP protocol and entered the printer's IP manually.

I have no clue why it worked so far... As far as I know, case solved! (or almost..)
Some people report they get good results setting the printer to a static IP.

Remember, CUPS has to turn the document into something the printer knows how to handle.
Thus, either CUPS suddenly forgot what that was or the printer changed what it knew.

You changed the protocol to something else the printer knew - sometimes we have to treat printers as postscript printers to get them to work. This can mean changing settings in the printer.
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
BROTHER Laser Printer HL 1230/1250 ? penguinlnx Linux - Hardware 14 02-28-2012 08:21 AM
Fedora Printer Problem: Brother Laser Printer drops the first one or two centimeters merlinsenger Linux - Newbie 2 05-24-2008 06:13 AM
CUPS setup with Brother HL-5250DN laser printer fof3 Linux - Hardware 1 11-24-2007 05:14 PM
Brother HL-1450 laser printing one page only with 9.2 winkydink Mandriva 0 06-14-2004 09:19 AM
Printing from kfax to a CUPS laser printer gdsylvester Linux - Software 2 01-19-2004 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:44 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