Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Can I install my scanner drivers through wine, using the windows driver cd packaged with my scanner?

I am using the Brother DCP-7030 Scanner and my system is running Ubuntu 11.10.
I need help to set up scanning.

I am running Ubuntu 11.10 on Mac using Virtual Box.

share|improve this question
add comment

3 Answers 3

up vote 3 down vote accepted

It is not advisable that you use wine to install drivers for any hardware, as they won't be properly integrated into ubuntu.

However here is a step by step guide to get the drivers working (if you're on an 64-bit system):

First unplug your printer.

Open a terminal and copy&paste the following commands

sudo apt-get remove brother-lpr-drivers-laser brother-cups-wrapper-laser

(removes any existing drivers that could cause conflict)

sudo apt-get install --reinstall cups csh lib32stdc++6

(reinstalling dependencies)

sudo mkdir -p /var/spool/lpd/
sudo mkdir -p /usr/share/cups/model/

(make directories for the drivers)

mkdir -p ~/Downloads/brother/
cd ~/Downloads/brother/

(make download location)

wget http://pub.brother.com/pub/com/bsc/linux/dlf/brdcp7030lpr-2.0.2-1.i386.deb
wget http://pub.brother.com/pub/com/bsc/linux/dlf/cupswrapperDCP7030-2.0.2-1.i386.deb

(download drivers)

sudo dpkg -i --force-architecture brdcp7030lpr-2.0.2-1.i386.deb
sudo dpkg -i --force-architecture cupswrapperDCP7030-2.0.2-1.i386.deb

(install and configure driver packages)

sudo ln -s /usr/lib/cups/filter/brlpdwrapper* /usr/lib64/cups/filter/

(link driver files)

plug in your printer now and proceed with the installation process from 'System Settings' -> 'Printers'

To enable scanning:

sudo apt-get install --reinstall sane-utils xsane xsane-common

Download Scanner drivers from brother home page (64-bit): http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://www.brother.com/pub/bsc/linux/dlf/brscan3-0.2.11-4.amd64.deb&lang=English_gpl

(32-bit) http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://www.brother.com/pub/bsc/linux/dlf/brscan3-0.2.11-4.i386.deb&lang=English_gpl

plug in and turn on your scanner open a terminal and type

sudo dpkg -i --force-all ~/Downloads/brscan3-0.2.11-4.amd64.deb

(for 64-bit)

sudo dpkg -i --force-all ~/Downloads/brscan3-0.2.11-4.i386.deb

(for 32-bit)

check if it installed correctly

dpkg  -l  |  grep  Brother

output should look something like this:

ii  brdcp7030lpr:i386       2.0.2-1         Brother DCP-7030 LPR driver 
ii  cupswrapperdcp7030:i386       2.0.2-1         Brother DCP7030 CUPS wrapper driver

Finally type

sudo gedit /lib/udev/rules.d/40-libsane.rules

and at the following text right before this line (pretty far down at the bottom)

'# The following rule will disable USB autosuspend for the device'

Text to add:

# Brother scanners
ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes"

Restart the computer now and it should work.

share|improve this answer
    
sudo ln -s /usr/lib/cups/filter/brlpdwrapper* (is it asterix after brlpdwrapper) /usr/lib64/cups/filter/ –  Viraj Rao Mar 15 '12 at 17:04
    
Do I need to remove the scanner drivers as well and reinstall it? –  Viraj Rao Mar 15 '12 at 17:09
    
yes, the asterix means it will affect anything that starts with the words 'brlpdwrapper' –  Daniel Mar 15 '12 at 17:09
    
just updated my answer to include a walkthrough to enable scanning –  Daniel Mar 15 '12 at 17:48
    
thanks..will run through the steps today evening and post the outcome. –  Viraj Rao Mar 15 '12 at 18:19
show 10 more comments

I had to do the following additionally

http://localhost:631

Then under CUPS for Administrators, I clicked on 'Adding Printers and Classes'

The rest of the steps are intuitive. Please make sure to remove the previously 'installed' Brother-7030 printer if that was set as default previously in System->Administration->Printing.

My Brother 7030 now works fine.

share|improve this answer
    
I just used this guide in 12.04, and now that its finally working the name of the printer in cups manager is Brother_DCP-7030. I also found the way by deleting the instance in settings and letting it configure again once the drivers were installed properly. –  RhZ Jul 12 '13 at 12:36
add comment

Did not get the scanner working until I installed the updated driver:

brscan3-0.2.11-5.amd64.deb (and not brscan3-0.2.11-4.amd64.deb)

http://www.brother.com/cgi-bin/agreement/agreement.cgi?dlfile=http://www.brother.com/pub/bsc/linux/dlf/brscan3-0.2.11-5.amd64.deb&lang=English_gpl

from this page.

http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_scn.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.