Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

[Solved] CUPS + Brother MFC-J6510DW = Only Some Apps Print

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
lucky_rooster
n00b
n00b
User avatar
Posts: 28
Joined: Tue Aug 24, 2004 5:01 pm

[Solved] CUPS + Brother MFC-J6510DW = Only Some Apps Print

  • Quote

Post by lucky_rooster » Tue Mar 29, 2011 8:23 pm

I recently bought and installed a Brother MFC-J6510DW printer on two x86 and on amd64 boxes. All went well and everything worked great. Some time over the past few weeks of updates to the amd64 box (emerge -vDu world and an upgrade of gcc to 4.4.5) it appears that something has gotten messed up in the printing chain as I can now only print from a few apps and am getting error messages from CUPS from others. Unfortunately I am not sure of the configuration (other than using gcc 4.3.4) when things were all working. Scanning still appears to be working fine - I haven't tried faxing.

Currently I have:

Code: Select all

net-print/cups-1.3.11-r4
Kernel 2.6.36-gentoo-r8
gcc-config -l
 [1] x86_64-pc-linux-gnu-4.3.4
 [2] x86_64-pc-linux-gnu-4.4.5 *
Printing works from
- Firefox (3.6.16, built from source)
- Open Office Writer

Printing does not work from
- CUPS test page
- evince
- GNU Cash

these all result in nothing getting printed - the lcd screen on the printer lights up and displaying "Receiving Data" but nothing happens as far as the print heads moving or paper getting loaded and then after a while the printer stops receiving data and goes back to standby mode.

Examining what is happening when trying to print a test page from within CUPS:
In the cups/error_log I see:

Job ### Remote host did not respond with data status byte after 300 seconds!

and the CUPS printer admin page sometimes stating "Sending data file (0 bytes)" next to the printers name and the status "light" on the printer image also turns yellow (from being green before printing starts).

I tried turning on some debug in the brother filter script, /usr/lib/cups/filter/brlpdwrappermfcj6510dw, and see some info getting dumped to /tmp/br_cupsfilter_debug_log - including the (postscript data?) for the CUPS test page doc.

Printing from both x86 boxes works (as well as a Win XP box) so I don't believe it is a problem with the physical printer.

I tried:
- reverting back to gcc 4.3.4 (12 hrs to emerge -ev system and world)
- going back one version of several of the emul-linux-x86-* packages
- uninstalling CUPS, reinstalling, and reinstalling the Brother-supplied RPMs for lpr and cupswrapper

but these appear not to have had any affect.

Any thoughts or pointers for trying to figure out what is going on would be greatly appreciated.
Last edited by lucky_rooster on Thu Jan 26, 2012 2:30 pm, edited 1 time in total.
Top
lucky_rooster
n00b
n00b
User avatar
Posts: 28
Joined: Tue Aug 24, 2004 5:01 pm

  • Quote

Post by lucky_rooster » Thu Jan 26, 2012 2:30 pm

Some time ago this just started magically working again. I don't know what changed, but thought I would mention it.
Top
NevilleDNZ
n00b
n00b
Posts: 1
Joined: Mon Mar 26, 2012 3:18 pm

  • Quote

Post by NevilleDNZ » Mon Mar 26, 2012 3:27 pm

lucky_rooster wrote:Some time ago this just started magically working again. I don't know what changed, but thought I would mention it.
I had a similar miracle and went hunting....

The printer works if the file /etc/opt/brother/Printers/mfcj6910dw/inf/brmfcj6910dwrc contains the right data, but if you ever change the print jobs specifications, eg use A4 paper, (or change the resolution) then this file gets truncated by a selinux policy.

The problem is half solved by trying Brother's hack:
Title: "I want to print using CUPS while keeping SELinux enabled."
* http://welcome.solutions.brother.com/bs ... rn.html#30

I went a bit further and created my own hack that works on Centos 5.7:

https://sourceforge.net/projects/whiteh ... ehack-0.2/

Maybe you will find the script "whitehack_brother_printer_with_selinux" (in the tar ball) useful on gentoo.

If you port the script mkwhitehack script to gentoo, I will try and back port and changes you make to Centos.

to Install on Centos/RHEL 5.7 use:
yum install ~/rpmbuild/RPMS/noarch/whitehack_brother_printer_with_selinux-enabled-0.2-12m.noarch.rpm

NJoy
NevilleDNZ
Top
Post Reply

3 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy