SDB:Brother How to setup a Networked Printer Scanner

Jump to: navigation, search


This page explains how to set an all in one Brother printer up with a network connection


Tested on openSUSE Recommended articles Related articles
Icon-checked.png

Icon-manual.png


Icon-help.png



Situation

  • You want to install a new all in one (printer & scanner) Brother device
  • Your device is reachable through an network connection (wired or wireless)
  • The Common Unix Printing System (CUPS) is already installed (normally installed by default)

+ The sane-backends package is installed


Procedure

There are two methods to setup your printer

  • Using the setup tool provided by Brother to automatically download and install the relevant drivers and also setup the printer and scanner.
  • Manually downloading the various drivers, install them and manually setting the printer and scanner up.

This procedure has been tested on:

Please fell free to add your own experience here.
Printer Model Configuration Printer? Scanner? Remarks
MFCJ-5910DW OpenSuse 42.1 Gnome works! Works! Tested both methods
DCP-L2520DW OpenSuse 42.2 KDE works! Works! Tested first method

Method 1: Using the Brother Setup Tool

Step 1 : Download the Brother Setup Tool

  • Go to this page of the Brother Solution Center
  • Click on the Download button and search for your printer category, series and model.
  • Select the Linux OS Family and the Linux(rpm) version then click on the Search button
  • In the driver list that appears, click on the Driver Install Tool to download it (you will need to agree to the End User License Agreement (EULA)

Step 2 : Unzip the Tool

  • Open a terminal and change directory to where you downloaded the tool
  • Unzip the archive with the following command :
user $ gunzip linux-brprinter-installer-2.0.0-1.gz
Please adapt version number if relevant

Step 3 : Running the Install Tool

  • Become a superuser with:
user $ su
Password:
  • Run the tool with the following command :
root # bash linux-brprinter-installer-2.0.0-1 mfcj-5910dw
Input model name ->
Please adapt the tool nane version number if relevant - the printer name is given in lowercase letters, please also adapt it to your specific case

Please enter the model name e.g. mfc-j5910dw (everything in lower cases)

root #
... (output sequel of previous command)

You are going to install following packages.
mfcj5910dwlpr-3.0.0-1.i386.rpm
mfcj5910dwcupswrapper-3.0.0-1.i386.rpm
brscan4-0.4.3-3.x86_64.rpm
brscan-skey-0.2.4-1.x86_64.rpm

OK? [y/N] ->

Please answer y

root #
... (output sequel of previous command)

rpm -ihv --nodeps --replacefiles --replacepkgs mfcj5910dwlpr-3.0.0-1.i386.rpm
Préparation... ################################# [100%]
Mise à jour / installation...
1:mfcj5910dwlpr-3.0.0-1 ################################# [100%]
rpm -ihv --nodeps --replacefiles --replacepkgs mfcj5910dwcupswrapper-3.0.0-1.i386.rpm
Préparation... ########################################
Mise à jour / installation...
mfcj5910dwcupswrapper-3.0.0-1 ########################################
lpadmin -p MFCJ5910DW -E -v usb:/dev/usb/lp0 -P /usr/share/cups/model/Brother/brother_mfcj5910dw_printer_en.ppd
#
The security level of AppArmor has been lowered. (aa-complain cups)
aa-complain cupsd
Profile for /usr/sbin/cupsd not found, skipping
Will you specify the Device URI? [Y/n] ->

Please answer Y

root #
... (output sequel of previous command)

0: http
1: serial:/dev/ttyS0?baud=115200
2: ipps
3: lpd
4: ipp
5: socket
6: https
7: smb
8: parallel:/dev/lp0
9: hp
10 (I): Specify IP address.
11 (A): Auto. (usb://dev/usblp0)

select the number of destination Device URI. ->

Please choose 10

root #
... (output sequel of previous command)

output= enter IP address ->

Enter the IP address of the printer e.g. 102.168.1.28

root #
... (output sequel of previous command)

lpadmin -p MFCJ5910DW -v socket://192.168.1.28 -E
Test Print? [y/N] ->

Optionally answer y

Then comes the installation and setting up of the scanner:

root #
... (output sequel of previous command)

You are going to install following packages.
brscan4-0.4.3-3.x86_64.rpm
rpm -ihv --nodeps --replacefiles --replacepkgs brscan4-0.4.3-3.x86_64.rpm

Préparation... ################################# [100%]
Mise à jour / installation...
1:brscan4-0.4.3-3 ################################# [100%]
This software is based in part on the work of the Independent JPEG Group.
<span style="color:#777;"You are going to install following packages.
brscan-skey-0.2.4-1.x86_64.rpm
</span>

=========================================
Brother License Agreement
(Text of the License)
=========================================

Do you agree? [Y/n] ->

Please answer Y

root #
... (output sequel of previous command)

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.x86_64.rpm

--2016-02-21 08:48:55-- http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.x86_64.rpm
Résolution de www.brother.com (www.brother.com)... 90.84.59.152, 90.84.59.145
Connexion vers www.brother.com (www.brother.com)|90.84.59.152|:80...connecté.
requête HTTP transmise, en attente de la réponse...200 OK
Longueur: 53876 (53K) [application/x-rpm]
Sauvegarde en : «brscan-skey-0.2.4-1.x86_64.rpm»

100%[=============================================================================================================>] 53 876 --.-K/s ds 0,05s

2016-02-21 08:48:56 (1018 KB/s) - «brscan-skey-0.2.4-1.x86_64.rpm» sauvegardé [53876/53876]

rpm -ihv --nodeps --replacefiles --replacepkgs brscan-skey-0.2.4-1.x86_64.rpm
Préparation... ################################# [100%]
Mise à jour / installation...
1:brscan-skey-0.2.4-1 ################################# [100%]
brsaneconfig4 -a name=MFC-J5910DW model=MFC-J5910DW ip=192.168.1.28

Hit Enter/Return key.

Please press Enter and you are done!

Method 2: Manually Installing the Drivers and Setting up the Printer

Step 1 : Download the Brother Drivers

  • Go to this page of the Brother Solution Center
  • Click on the Download button and search for your printer category, series and model.
  • Select the Linux OS Family and the Linux(rpm) version then click on the Search button

In the driver list that is presented, select the driver you want to download. Each time you will be asked to agree on End User License Agreement (EULA). To select a new driver, use the page back navigation arrow in your browser's address bar. You should download at least the following drivers:

  • LPR Printer Driver
  • CUPSWrapper driver
  • Scanner Driver (64 bits or 32 bits according to your architecture)

Step 2 : Install the Printer Drivers and Check

Install each driver with this command:

root # rpm -ihv --nodeps --replacefiles --replacepkgs (drivername)
The drivername can be obtained with a
root # ls -a
command, e.g. mfcj5910dwlpr-3.0.0-1.i386(1).rpm and mfcj5910dwcupswrapper-3.0.0-1.i386.rpm

Check whether both drivers are correctly installed with:

root # rpm -qa | grep -e (shortened lpr-drivername) -e (shortened cupswrapper-drivername)
(shortened lpr-drivername)
(shortened cupswrapper-drivername)
Shortened driver-name means the driver's name without the .rpm extension. The command should return the names of the drivers.

Step 3: Set Up the Printer

  • Connect the printer to the network and power it on.
  • Use the printer's interface to get its IP address.

Use CUPS'web interface by going to its admin page: http://localhost:631/admin

  • Click the Add Printer button
  • Check the Host or Printer LPD/LPR case and click Go on
  • Enter connexion: lpd://xxx.xxx.xxx.xxx/binary_p1 (where xxx.xxx.xxx.xxx is the IP address of the printer) and click Go on
  • Enter a name, a description and a location. Optionally check Share this Printer and click Go on
  • Select Brother as brand on click Go on
  • Select the model and click Add Printer
  • Adjust the printer default options and click Define Default Options

Step 4: Install the Scanner Drivers and Check

Warning: The device should be powered and connected to the network. Be also sure that sane-backends package is already installed

Install the driver with:

root # rpm -ihv --nodeps --replacefiles --replacepkgs brscan4-0.4.3-3.x86_64.rpm

Check whether the driver is correctly installed with:

root # rpm -qa | grep -e (shortened scanner-drivername)
(shortened scanner-drivername)
Shortened scanner-drivername is the driver's name without the .rpm extension. The command should return the name of the driver.

Step 5: Set Up the Scanner and check

Set the scanner up with: Rootshell|command = brsaneconfig4 a name=myScanner model=MFC-J5910DW ip=192.168.1.28|output=

root # brsaneconfig4 -a name=myScanner model=MFC-J5910DW ip=192.168.1.28
The name is free. The model must be adapted according to your one. Respect also the upper cases. Adjust IP address. The number after brsaneconfig (here 4) depends on the printer's family. Its given on the download page of the driver.

Check whether the scanner is correctly installed with:

root # brsaneconfig2 -q | grep myScanner
0 myScanner MFC-J5910DW I:192.168.1.28

Please use the name you have chosen previously.

Step 6: Test the Scanner

Use the Simple Scan tool to verify that everything is correct and that you can scan a document. You can also install Xsane which is a more powerful scanning tool.


See also


External links