How to Install Brother MFC-7840 W printer on Ubuntu

Asked by bogdan

There is no driver for Brother MFC-7840 W on Ubuntu 10

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu cups Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Yes there is, you just expected it to work out of the box and didn't think to check the manufacturers site. Fortunately people are here to give you the stuff you need and it will work.

cd ~; wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7840wlpr-2.0.2-1.i386.deb; sudo dpkg -i brmfc7840wlpr-2.0.2-1.i386.deb; rm ./brmfc7840wlpr-2.0.2-1.i386.deb; sudo apt-get -f install; wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC7840W-2.0.2-1.i386.deb; sudo dpkg -i ./cupswrapperMFC7840W-2.0.2-1.i386.deb; rm ./cupswrapperMFC7840W-2.0.2-1.i386.deb; sudo apt-get -f install

Should be ok, copy the WHOLE command and paste to a terminal without the printer attatched, After a reboot it will work.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

Please try following the suggestion here:

https://bugs.launchpad.net/ubuntu/+source/foomatic-db/+bug/560518

You can install the printer driver using the instructions here:

https://launchpad.net/~jderose/+archive/ppa?field.series_filter=lucid

After adding ppa:jderose/ppa to your system's Software Sources, you will need to install the new foomatic-db package.

Revision history for this message
bogdan (bg-rayservers) said :
#3

I tryed following:cd ~; wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7840wlpr-2.0.2-1.i386.deb; sudo dpkg -i brmfc7840wlpr-2.0.2-1.i386.deb; rm ./brmfc7840wlpr-2.0.2-1.i386.deb; sudo apt-get -f install; wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC7840W-2.0.2-1.i386.deb; sudo dpkg -i ./cupswrapperMFC7840W-2.0.2-1.i386.deb; rm ./cupswrapperMFC7840W-2.0.2-1.i386.deb; sudo apt-get -f install

The MFC7840w is not printing

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

ok does the printer make any motions when you send a job?
Does the print queue have an entry?

Revision history for this message
bogdan (bg-rayservers) said :
#5

The printer is not making any motions.
How to check if print has queue entry?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

System→Administration→Printing

or using terminal type:

lpq

and

lpstat -t

Revision history for this message
bogdan (bg-rayservers) said :
#7

In the main screen show " Connected to local host"
In View Print queue show " Processing"

Revision history for this message
bogdan (bg-rayservers) said :
#8

In terminal show:scheduler is running
system default destination: MFC7840W
device for MFC7840W: usb:/dev/usb/lp0
device for PSC-750: hp:/usb/PSC_750?serial=MY24ID12TCWB
MFC7840W accepting requests since Tue 20 Jul 2010 04:36:32 PM EDT
PSC-750 accepting requests since Fri 16 Jul 2010 05:13:59 PM EDT
printer MFC7840W now printing MFC7840W-0. enabled since Tue 20 Jul 2010 04:36:32 PM EDT

Revision history for this message
bogdan (bg-rayservers) said :
#9

/usr/local/Brother/cupswrapper/cupswrapperMFC7840W-2.0.2: 66: cannot create /usr/share/cups/model/MFC7840W.ppd: Directory nonexistent
chmod: cannot access `/usr/share/cups/model/MFC7840W.ppd': No such file or directory
cp: cannot stat `/usr/share/cups/model/MFC7840W.ppd': No such file or directory

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#10

Which commands you type to have the above results...?

Revision history for this message
bogdan (bg-rayservers) said :
#11

I just copy and paste:cd ~; wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7840wlpr-2.0.2-1.i386.deb; sudo dpkg -i brmfc7840wlpr-2.0.2-1.i386.deb; rm ./brmfc7840wlpr-2.0.2-1.i386.deb; sudo apt-get -f install; wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC7840W-2.0.2-1.i386.deb; sudo dpkg -i ./cupswrapperMFC7840W-2.0.2-1.i386.deb; rm ./cupswrapperMFC7840W-2.0.2-1.i386.deb; sudo apt-get -f install

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#12

Please split the commands copy a row a time then press enter.

Before to redo the above commands please remove the already downloaded .deb files
so type:

rm -fr *.deb
sudo apt-get clean
sudo apt-get update; sudo apt-get dit-upgrade

Then type or better copy from here and paste into terminal (one row a time then press enter):

cd ~
wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7840wlpr-2.0.2-1.i386.deb
sudo dpkg -i brmfc7840wlpr-2.0.2-1.i386.deb
rm ./brmfc7840wlpr-2.0.2-1.i386.deb
sudo apt-get -f install
wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC7840W-2.0.2-1.i386.deb
sudo dpkg -i ./cupswrapperMFC7840W-2.0.2-1.i386.deb
rm ./cupswrapperMFC7840W-2.0.2-1.i386.deb
sudo apt-get -f install

But i guess you get same result as before with printing...

Revision history for this message
bogdan (bg-rayservers) said :
#13

When I try to enter: sudo apt-get dit-upgrade
I get:E: Invalid operation dit-upgrade

Revision history for this message
bogdan (bg-rayservers) said :
#14

bogdan@bogdan-laptop:~$ sudo dpkg -i brmfc7840wlpr-2.0.2-1.i386.deb
dpkg: error processing brmfc7840wlpr-2.0.2-1.i386.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 brmfc7840wlpr-2.0.2-1.i386.deb

Revision history for this message
bogdan (bg-rayservers) said :
#15

I think something wrong with cups...
bogdan@bogdan-laptop:~$ sudo dpkg -i ./cupswrapperMFC7840W-2.0.2-1.i386.deb
(Reading database ... 142871 files and directories currently installed.)
Preparing to replace cupswrappermfc7840w 2.0.2-1 (using .../cupswrapperMFC7840W-2.0.2-1.i386.deb) ...
 * Restarting Common Unix Printing System: cupsd [ OK ]
Unpacking replacement cupswrappermfc7840w ...
Setting up cupswrappermfc7840w (2.0.2-1) ...
/usr/local/Brother/cupswrapper/cupswrapperMFC7840W-2.0.2: 66: cannot create /usr/share/cups/model/MFC7840W.ppd: Directory nonexistent
chmod: cannot access `/usr/share/cups/model/MFC7840W.ppd': No such file or directory
cp: cannot stat `/usr/share/cups/model/MFC7840W.ppd': No such file or directory
 * Restarting Common Unix Printing System: cupsd [ OK ]

bogdan@bogdan-laptop:~$ rm ./cupswrapperMFC7840W-2.0.2-1.i386.deb
bogdan@bogdan-laptop:~$ lpadmin: No such file or directory

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#16

Please try again

Type or better, to avoid errors, COPY FROM HERE and PASTE INTO TERMINAL (one row a time then press enter):

cd ~

wget http://www.brother.com/pub/bsc/linux/dlf/brmfc7840wlpr-2.0.2-1.i386.deb
sudo dpkg -i brmfc7840wlpr-2.0.2-1.i386.deb
rm ./brmfc7840wlpr-2.0.2-1.i386.deb
sudo apt-get -f install

wget http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC7840W-2.0.2-1.i386.deb
sudo dpkg -i cupswrapperMFC7840W-2.0.2-1.i386.deb
rm cupswrapperMFC7840W-2.0.2-1.i386.deb
sudo apt-get -f install

But i guess you get same result as before with printing...

Revision history for this message
bogdan (bg-rayservers) said :
#17

When I try following:sudo dpkg -i cupswrapperMFC7840W-2.0.2-1.i386.deb

It's shown:bogdan@bogdan-laptop:~$ sudo dpkg -i cupswrapperMFC7840W-2.0.2-1.i386.deb
(Reading database ... 142871 files and directories currently installed.)
Preparing to replace cupswrappermfc7840w 2.0.2-1 (using cupswrapperMFC7840W-2.0.2-1.i386.deb) ...
 * Restarting Common Unix Printing System: cupsd [ OK ]
Unpacking replacement cupswrappermfc7840w ...
Setting up cupswrappermfc7840w (2.0.2-1) ...
/usr/local/Brother/cupswrapper/cupswrapperMFC7840W-2.0.2: 66: cannot create /usr/share/cups/model/MFC7840W.ppd: Directory nonexistent
chmod: cannot access `/usr/share/cups/model/MFC7840W.ppd': No such file or directory
cp: cannot stat `/usr/share/cups/model/MFC7840W.ppd': No such file or directory
 * Restarting Common Unix Printing System: cupsd [ OK ]

bogdan@bogdan-laptop:~$ lpadmin: No such file or directory

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#18

What is the output of:

file /etc/cups/ppd/Brother-MFC-7840W.ppd

Seems this bug:
https://bugs.launchpad.net/ubuntu/+source/foomatic-db/+bug/560518

Has a PPA. May help.

Revision history for this message
bogdan (bg-rayservers) said :
#19

Can you help with this problem?

Provide an answer of your own, or ask bogdan for more information if necessary.

To post a message you must log in.