[SOLVED] CUPS no longer printing with Brother HL2170W laser printer
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: CentOS, RHEL, Solaris 10, AIX, HP-UX
Posts: 731
Rep:
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.
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...
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.
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..)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.