Brother 8840d will not connect

Asked by Thomas Galletly

Since installing the correct package, ubuntu shows the printer and the print jobs in the que but it never connects to the printer and does not print.

Question information

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

Can you give the output of:

lsb_release -a; uname -a; dpkg -l | grep -i brother; lsusb

Thanks

Revision history for this message
Thomas Galletly (desertdog62) said :
#2

desertdog62@desertdog62-System-Product-Name:~$ lsb_release -a; uname -a; dpkg -l | grep -i brother; lsusb
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Linux desertdog62-System-Product-Name 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
ii cupswrappermfc8840d:i386 1.0.2-1 Brother MFC8840D CUPS wrapper driver
rc mfc8840dlpr:i386 1.1.2-1 Brother lpr Printer Definitions
ii printer-driver-ptouch 1.3-3ubuntu0.1 printer driver Brother P-touch label printers
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 04f9:0160 Brother Industries, Ltd MFC-8840D
Bus 003 Device 002: ID 04cc:1521 ST-Ericsson USB 2.0 Hub
Bus 005 Device 002: ID 045e:071d Microsoft Corp.
Bus 005 Device 003: ID 046d:0a02 Logitech, Inc. Premium Stereo USB Headset 350
Bus 007 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 003 Device 004: ID 041e:406a Creative Technology, Ltd

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

sudo apt-get --purge remove cupswrappermfc8840d:i386
sudo dpkg -P mfc8840dlpr:i386

Then reinstall the driver.

Revision history for this message
Thomas Galletly (desertdog62) said :
#4

desertdog62@desertdog62-System-Product-Name:~$ sudo apt-get --purge remove cupswrappermfc8840d:i386
[sudo] password for desertdog62:
Sorry, try again.
[sudo] password for desertdog62:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  cupswrappermfc8840d:i386*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 98.3 kB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.
desertdog62@desertdog62-System-Product-Name:~$ mkdir ~/brotherdriver
mkdir: cannot create directory `/home/desertdog62/brotherdriver': File exists
desertdog62@desertdog62-System-Product-Name:~$ cd ~/brotherdriver
desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ wget -c http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC8840D-1.0.2-1.i386.deb
--2012-06-27 15:01:14-- http://www.brother.com/pub/bsc/linux/dlf/cupswrapperMFC8840D-1.0.2-1.i386.deb
Resolving www.brother.com (www.brother.com)... 80.67.74.143, 80.67.74.158
Connecting to www.brother.com (www.brother.com)|80.67.74.143|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://pub.brother.com/pub/com/bsc/linux/dlf/cupswrapperMFC8840D-1.0.2-1.i386.deb [following]
--2012-06-27 15:01:16-- http://pub.brother.com/pub/com/bsc/linux/dlf/cupswrapperMFC8840D-1.0.2-1.i386.deb
Resolving pub.brother.com (pub.brother.com)... 80.67.74.152, 80.67.74.150
Connecting to pub.brother.com (pub.brother.com)|80.67.74.152|:80... connected.
HTTP request sent, awaiting response... 200 OK

    The file is already fully retrieved; nothing to do.

desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ sudo dpkg -P mfc8840dlpr --force-remove-reinstreq
dpkg: warning: there's no installed package matching mfc8840dlpr
dpkg: error: package name in specifier '--force-remove-reinstreq' is illegal: must start with an alphanumeric character
desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ sudo dpkg -i cupswrapperMFC8840D-1.0.2-1.i386.deb
(Reading database ... 267776 files and directories currently installed.)
Preparing to replace cupswrappermfc8840d:i386 1.0.2-1 (using cupswrapperMFC8840D-1.0.2-1.i386.deb) ...
cups stop/waiting
cups start/running, process 3959
Unpacking replacement cupswrappermfc8840d:i386 ...
Setting up cupswrappermfc8840d:i386 (1.0.2-1) ...
ERROR : Brother LPD filter is not installed.
rm -f /usr/lib/cups/filter/brlpdwrapperMFC8840D
chmod: cannot access `/usr/local/Brother/inf/brMFC8840Drc': No such file or directory
chmod: cannot access `/usr/local/Brother/inf': No such file or directory
initctl: Unknown job: lpd
cups stop/waiting
cups start/running, process 4021
desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ dpkg -l | grep 8840ii cupswrappermfc8840d:i386 1.0.2-1 Brother MFC8840D CUPS wrapper driver
rc mfc8840dlpr:i386 1.1.2-1 Brother lpr Printer Definitions
desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ wget -c http://www.brother.com/pub/bsc/linux/dlf/BR8840_2_GPL.ppd.gz
--2012-06-27 15:01:58-- http://www.brother.com/pub/bsc/linux/dlf/BR8840_2_GPL.ppd.gz
Resolving www.brother.com (www.brother.com)... 80.67.74.158, 80.67.74.143
Connecting to www.brother.com (www.brother.com)|80.67.74.158|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://pub.brother.com/pub/com/bsc/linux/dlf/BR8840_2_GPL.ppd.gz [following]
--2012-06-27 15:01:58-- http://pub.brother.com/pub/com/bsc/linux/dlf/BR8840_2_GPL.ppd.gz
Resolving pub.brother.com (pub.brother.com)... 80.67.74.152, 80.67.74.150
Connecting to pub.brother.com (pub.brother.com)|80.67.74.152|:80... connected.
HTTP request sent, awaiting response... 200 OK

    The file is already fully retrieved; nothing to do.

desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ gunzip BR8840_2_GPL.ppd.gz
gzip: BR8840_2_GPL.ppd already exists; do you wish to overwrite (y or n)? y
desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ sudo cp BR8840_2_GPL.ppd /usr/share/ppd
desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ sudo chmod 644 /usr/share/ppd/BR8840_2_GPL.ppd
desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ sudo chown root:root /usr/share/ppd/BR8840_2_GPL.ppd
desertdog62@desertdog62-System-Product-Name:~/brotherdriver$ sudo /etc/init.d/cupsys restart
sudo: /etc/init.d/cupsys: command not found

Job shows pending but won't print

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

The package didn't get removed, so why proceed with theother commands/

Revision history for this message
Thomas Galletly (desertdog62) said :
#6

http://localhost:631/admin
MFC8840D (Idle, Accepting Jobs, Not Shared)
Description: MFC8840D
Location:
Driver: Brother MFC-8840D for CUPS (grayscale, 2-sided printing)
Connection: usb:/dev/usb/lp0
Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=one-sided

▼ ID ▼ Name User Size Pages State Control
Brother-13 Unknown Withheld 1k Unknown pending since
Tue 26 Jun 2012 03:13:53 PM MST

Brother-14 Unknown Withheld 39k Unknown pending since
Wed 27 Jun 2012 03:04:08 PM MST

Brother-16 Unknown Withheld 46k Unknown pending since
Wed 27 Jun 2012 03:05:26 PM MST

Brother-17 Unknown Withheld 46k Unknown pending since
Wed 27 Jun 2012 03:05:58 PM MST

Brother-18 Unknown Withheld 46k Unknown pending since
Wed 27 Jun 2012 03:16:28 PM MST

The printer and the jobs show but don't print

Revision history for this message
Thomas Galletly (desertdog62) said :
#7

desertdog62@desertdog62-System-Product-Name:~$ sudo apt-get --purge remove cupswrappermfc8840d:i386
[sudo] password for desertdog62:
Sorry, try again.
[sudo] password for desertdog62:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  cupswrappermfc8840d:i386*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 98.3 kB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.

Revision history for this message
Thomas Galletly (desertdog62) said :
#8

I'm not sure. I thought it said it removed the package.

On 06/27/2012 03:26 PM, actionparsnip wrote:
> Your question #201660 on software-center in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/software-center/+question/201660
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> The package didn't get removed, so why proceed with theother commands/
>

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

desertdog62@desertdog62-System-Product-Name:~$ sudo apt-get --purge remove cupswrappermfc8840d:i386
[sudo] password for desertdog62:
Sorry, try again.
[sudo] password for desertdog62:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  cupswrappermfc8840d:i386*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 98.3 kB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.

How is that removed...?

Revision history for this message
Thomas Galletly (desertdog62) said :
#10

I don't know. I thought after it removed the package the command aborted. I guess it must have aborted before it was complete.

Revision history for this message
Thomas Galletly (desertdog62) said :
#11

▼ ID ▼ Name User Size Pages State Control
Brother-13 Unknown Withheld 1k Unknown pending since
Tue 26 Jun 2012 03:13:53 PM MST

Brother-14 Unknown Withheld 39k Unknown pending since
Wed 27 Jun 2012 03:04:08 PM MST

Brother-16 Unknown Withheld 46k Unknown pending since
Wed 27 Jun 2012 03:05:26 PM MST

Brother-17 Unknown Withheld 46k Unknown pending since
Wed 27 Jun 2012 03:05:58 PM MST

Brother-18 Unknown Withheld 46k Unknown pending since
Wed 27 Jun 2012 03:16:28 PM MST

Revision history for this message
Thomas Galletly (desertdog62) said :
#12

So, what can I do if it aborts before completion? Is there a way to force it? Some command?

Revision history for this message
Thomas Galletly (desertdog62) said :
#13

I am rather new to Ubuntu and just trying to learn. I used DOS and then Windows for the last 30 years until just recently and I am having problem navigating around the operating system. They say you can't teach an old dog new tricks, but I am trying. I believe that Ubuntu is a better and more secure operating system, but I need some help learning my way around. Thanks in advance for your help.

Revision history for this message
Thomas Galletly (desertdog62) said :
#14

I am going to close this problem and open a new one. If I can't find a solution I will remove Ubuntu as I have not been able to get it to print. Thank everyone who has helped to try and solve this problem.

Revision history for this message
Thomas Galletly (desertdog62) said :
#15

Update, I was using Gnome Classic front end on my system and when I returned to the Ubuntu front end that came with 12.4, my printer started working.

Revision history for this message
Thomas Galletly (desertdog62) said :
#16

Update, I was using Gnome Classic front end on my system and when I returned to the Ubuntu front end that came with 12.4, my printer started working.