[SOLVED] "wrong driver" for Brother HL-2280DW, Mageia 5(64)

[SOLVED] "wrong driver" for Brother HL-2280DW, Mageia 5(64)

Postby tleedavidson » Jan 15th, '16, 02:53

Hello,

I have seemingly been all over the internet and searched this forum for a fix to get my Brother HL-2280DW printer/scanner to print properly on Mageia 5 (x86_64). It worked fine on my other (32bit) machine, but now the only way I can get it to print anything is to print a Self Test Page through CUPS v2.0.4. It is connected via WiFi, and scanning works fine.

The Self Test Page says, "If you can read this, you are using the wrong driver for your printer."

The post on this forum, at viewtopic.php?f=24&t=6895#p45096, seems to indicate that it should work.

I used the Brother Driver Install Tool from:
http://support.brother.com/g/b/download ... &type3=625

None of the pre-install conditions appeared to match. The Tool installed:
hl2280dwlpr-2.1.0-1.i386.rpm
cupswrapperHL2280DW-2.0.4-2.i386.rpm
brscan4-0.4.3-3.x86_64.rpm
brscan-skey-0.2.4-1.x86_64.rpm

The two print driver packages are consistent with those listed at:
http://support.brother.com/g/s/id/linux ... #HL-2280DW


At the Brother Linux print FAQ, there is the following:
I'm using a Linux 64 bit edition. Can I use the Brother Linux printer drivers?

Yes. Brother printer drivers are created and optimized for 32 bit version of Linux,
but those can be used for 64 bit Linux also. Some additional steps are required.

For rpm users:
1. Install the standard C library for 32bit applications (e.g. glibc.i686(Fedora), libstdc++ for 32bit(openSUSE))
2. Create some folders if it is required
2-1. Create /usr/lib/cups/filter if it does not exist.
Command1: mkdir /usr/lib/cups
Command2: mkdir /usr/lib/cups/filter

2-2. Create /usr/share/cups/model if it does not exist
Command: mkdir /usr/share/cups/model

3. Install the drivers.

4. Copy brlpdwrapperXXX files under /usr/lib/cups/filter/ to /usr/lib64/cups/filter/
Command: cp /usr/lib/cups/filter/brlpdwrapper* /usr/lib64/cups/filter


I have 32bit Release & Updates for Core, Non-Free, & Tainted enabled in Package Manager, but did not fine any 'glibc.i686' or 'glibc.i586'. I found 'libstdc++5' for i586 (Version: 3.3.6-11.mga5) and installed that. But, it did not change the result of the Self Test Page.

In '/usr/share/cups/model', there is 'HL2280DW.ppd'.
In '/usr/lib/cups/filter' and '/usr/lib64/cups/filter', there is 'brlpdwrapperHL2280DW' of the same size and date.


For what it's worth, `lpinfo -m|grep -i hl2280dw` gives:
"3-distribution/HL2280DW.ppd Brother HL2280DW for CUPS
HL2280DW.ppd Brother HL2280DW for CUPS"

And, `head /etc/cups/printers.conf` gives:
"# Printer configuration file for CUPS v2.0.4
# Written by cupsd on 2016-01-14 18:58
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer HL2280DW>
UUID urn:uuid:6e8eb599-b218-390d-578f-731c98edfa9c
Info Brother HL2280DW
Location Office
MakeModel Brother HL2280DW for CUPS
DeviceURI lpd://192.168.0.199/binary_p1
State Idle"
(Note: "socket://192.168.0.199" also worked as DeviceURI with the same result.)

Please, tell me what I can do to get this printer to print.

Thank you for any assistance,
Lee
Last edited by tleedavidson on Jan 16th, '16, 02:39, edited 1 time in total.
Lee
tleedavidson
 
Posts: 54
Joined: Feb 14th, '12, 04:36

Re: "wrong driver" for Brother HL-2280DW on Mageia 5(64)

Postby tleedavidson » Jan 16th, '16, 02:38

Well, it works. But, I have no idea what I did to resolve the issue, if anything at all.

I decided to try getting another printer to work, an HP printer. I went to "Configure printing" in the Hardware section of Mageia Control Center, and it wanted to install, among others, "task-printing-server". I told it to go ahead, and it installed a bunch of printing-related packages.

After messing around trying to get my HP printer to print black and white, I decided, on a whim I guess, to try printing to the Brother printer once again. Lo and behold, it works!

I had not previously tried to print from an application thinking that, if the Self Test Page told me I was using the wrong driver, then nothing would work correctly. Perhaps I was wrong.

I can successfully print from LibreOffice and a text editor, even though the Self Test Page still tells me I'm using the wrong print driver. :roll:
Lee
tleedavidson
 
Posts: 54
Joined: Feb 14th, '12, 04:36

Re: [SOLVED] "wrong driver" for Brother HL-2280DW, Mageia 5(

Postby doktor5000 » Jan 16th, '16, 20:52

FWIW, for installing the printer/scanner driver next time you can just use the installer that brother offers for those, it's called "Driver Install Tool" on the download page.
For your printer at http://support.brother.com/g/b/download ... _us&os=127
and after downloading http://download.brother.com/welcome/dlf ... 2.0.0-1.gz
just unpack it with gunzip, make it executable and then run it as root. It's a shell script, so you can check what it does.

This is what it looks like:
Code: Select all
[doktor5000@Mageia5]─[19:50:03]─[~] chmod +x linux-brprinter-installer-2.0.0-1
[doktor5000@Mageia5]─[19:50:19]─[~] ./linux-brprinter-installer-2.0.0-1
Only root can perform this operation.
[doktor5000@Mageia5]─[19:50:44]─[~] sudo ./linux-brprinter-installer-2.0.0-1
Input model name ->HL-2280DW

You are going to install following packages.
   hl2280dwlpr-2.1.0-1.i386.rpm
   cupswrapperHL2280DW-2.0.4-2.i386.rpm
   brscan4-0.4.3-3.x86_64.rpm
   brscan-skey-0.2.4-1.x86_64.rpm
OK? [y/N] ->
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] "wrong driver" for Brother HL-2280DW, Mageia 5(

Postby tleedavidson » Jan 17th, '16, 20:22

doktor5000 wrote:FWIW, for installing the printer/scanner driver next time you can just use the installer that brother offers for those, it's called "Driver Install Tool" on the download page.

I did use the Driver Install Tool. As I wrote in my initial post:
I used the Brother Driver Install Tool from:
http://support.brother.com/g/b/download ... &type3=625

;-)

But, thank you for clarifying just how easy it should be for anyone to do. Just be sure to check printing with an application and do not go solely by what the printer Self Test Page says.
Lee
tleedavidson
 
Posts: 54
Joined: Feb 14th, '12, 04:36

Re: [SOLVED] "wrong driver" for Brother HL-2280DW, Mageia 5(

Postby doktor5000 » Jan 17th, '16, 20:26

Whoops, sorry - among all the details on the packages and requirements must've skipped that line.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron