LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   CUPS no longer printing with Brother HL2170W laser printer (http://www.linuxquestions.org/questions/linux-software-2/cups-no-longer-printing-with-brother-hl2170w-laser-printer-888314/)

lpallard 06-25-2011 10:26 AM

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?

Simon Bridge 06-25-2011 10:38 AM

Clear the printer queue.
Print a cups page from the cups web interface.

You may have to remove the printer then add it again.

mesiol 06-25-2011 10:45 AM

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.

lpallard 06-25-2011 11:02 AM

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...

Simon Bridge 06-25-2011 12:06 PM

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.

lpallard 06-25-2011 12:45 PM

OK I tried to print from a Windows computer. Works flawlessly. Cups is the problem. What do you suggest?

lpallard 06-25-2011 01:02 PM

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..)

mesiol 06-25-2011 01:22 PM

i mean poweroff the printer and poweron, after that my problems are gone for 3-4 weeks.

Simon Bridge 06-26-2011 05:45 AM

Quote:

Originally Posted by lpallard (Post 4395565)
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.


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