Brother print and scan: universal Driver Install Tool

Here you can post about your various experiences with PC hardware. You can also post about hardware that is not compatible with the linux kernel or not recommended for use with Porteus.
User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Brother print and scan: universal Driver Install Tool

Post#1 by francois » 04 Mar 2017, 20:00

At last brother seems to provide on its website a tool that will be good to install most features of its printer under linux, and happily this seems to include slackware. This feature is the brother Driver Install Tool. It has been designed for deb and rpm, but seems to work well enough to install both the printer and the scanner under slackware and porteus. A drawback, the printer scan key of the printer will not work, but who cares.

If you want more information on your specific brother printer use the following keywords in your favorite browser:

Code: Select all

brother mfc 2740dw driver linux
Driver Install Tool http://support.brother.com/g/b/download ... &type3=625

1.0 download file and extract it (or manually from the above keywords search or with the following command):

Code: Select all

wget download.brother.com/welcome/dlf006893/linux-brprinter-installer-*.*.*-*.gz
gunzip linux-brprinter-installer-*
2.0 Make it executable

Code: Select all

chmod +x linux-brprinter-installer-*
3.0 Run linux-brprinter-installer (root mode)

Code: Select all

./linux-brprinter-installer-* mfcl2740dw
where mfcl2740dw is my brother printer, insert yours
Input:
You are going to install following packages.
mfcl2740dwlpr-3.2.0-1.i386.rpm
...

OK? [y/N] ->y

Licence Brother ...

Do you agree? [y/N] ->y

Licence Brother ...

Do you agree? [y/N] ->y
Will you specify the Device URI? [Y/n] ->y
select the number of destination Device URI. ->12
enter IP address ->192.168.0.108 # you give the network address of the printer

Test Print? [y/N] ->y
wait 5s.
lpr -P MFCL2740DW /usr/share/cups/data/testprint
***no printing output for my printer, if it works for you great you are in business. There is a fix mentioned later in this post about the printer driver***

You are going to install following packages.
brscan4-0.4.4-1.x86_64.rpm

OK? [y/N] ->y
enter IP address ->192.168.0.108 # you give the network address of the printer
...

brsaneconfig4 -a name=MFC-L2740DW model=MFC-L2740DW ip=192.168.0.108

Complete terminal output for MFC-L2740DW

Code: Select all

root@porteus:~# bash linux-brprinter-installer-*.*.*-* MFC-L2740DW
You are going to install following packages.
   mfcl2740dwlpr-3.2.0-1.i386.rpm
   mfcl2740dwcupswrapper-3.2.0-1.i386.rpm
   brscan4-0.4.4-1.x86_64.rpm
   brscan-skey-0.2.4-1.x86_64.rpm
OK? [y/N] ->y

rpm -ihv --nodeps --replacefiles --replacepkgs mfcl2740dwlpr-3.2.0-1.i386.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:mfcl2740dwlpr-3.2.0-1            ################################# [100%]
/opt/brother/Printers/MFCL2740DW/inf/braddprinter: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
ln: failed to create symbolic link ‘/etc/opt/brother/Printers/MFCL2740DW/inf/brMFCL2740DWrc’: File exists
rpm -ihv --nodeps --replacefiles --replacepkgs mfcl2740dwcupswrapper-3.2.0-1.i386.rpm
Preparing...                          ########################################
Updating / installing...
mfcl2740dwcupswrapper-3.2.0-1         ########################################
ln: failed to create symbolic link ‘/usr/share/cups/model/brother-MFCL2740DW-cups-en.ppd’: File exists
lpadmin -p MFCL2740DW -E -v usb://dev/usb/lp0 -P /usr/share/cups/model/brother-MFCL2740DW-cups-en.ppd
#
Will you specify the Device URI? [Y/n] ->y


0: hp                                                                                                                                                
1: ipps                                                                                                                                              
2: ipp                                                                                                                                               
3: https                                                                                                                                             
4: http                                                                                                                                              
5: socket                                                                                                                                            
6: lpd                                                                                                                                               
7: beh                                                                                                                                               
8: smb                                                                                                                                               
9: hpfax                                                                                                                                             
10: bjnp                                                                                                                                             
11: lpd://BRW40490F90BE81/BINARY_P1                                                                                                                  
12 (I): Specify IP address.                                                                                                                          
13 (A): Auto. (usb://dev/usblp0)                                                                                                                     

select the number of destination Device URI. ->12

 enter IP address ->192.168.0.108
lpadmin -p MFCL2740DW -v socket://192.168.0.108 -E
Test Print? [y/N] ->y

wait 5s.
lpr -P MFCL2740DW /usr/share/cups/data/testprint
You are going to install following packages.
   brscan4-0.4.4-1.x86_64.rpm
rpm -ihv --nodeps --replacefiles --replacepkgs brscan4-0.4.4-1.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:brscan4-0.4.4-1                  ################################# [100%]
This software is based in part on the work of the Independent JPEG Group.
You are going to install following packages.
   brscan-skey-0.2.4-1.x86_64.rpm
rpm -ihv --nodeps --replacefiles --replacepkgs brscan-skey-0.2.4-1.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:brscan-skey-0.2.4-1              ################################# [100%]
ln: failed to create symbolic link ‘/etc/opt/brother/scanner/brscan-skey/brscan_
ln: failed to create symbolic link ‘/etc/opt/brother/scanner/brscan-skey/brscan_
ln: failed to create symbolic link ‘/etc/opt/brother/scanner/brscan-skey/brscan-
ln: failed to create symbolic link ‘/usr/bin/brscan-skey’: File exists
warning: %post(brscan-skey-0.2.4-1.x86_64) scriptlet failed, exit status 1
brsaneconfig4 -a name=MFC-L2740DW model=MFC-L2740DW ip=192.168.0.108
root@porteus:~# 
4.0 Change the Brother MFC-L2740DW for CUPS driver from print settings or CUPS web interface for:

Code: Select all

Generic PCL laser
This should work out of the box. If not install the following individual drivers from the brother site and repeat the Driver Install Tool procedure.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Brother print and scan: universal Driver Install Tool

Post#2 by francois » 15 Apr 2017, 15:51

The procedure will not work for nemesis unless we could find a way to change the script. The error message I get under nemesis is:

Code: Select all

root /mnt/sda5/desktop_bak/tmp # ./linux-brprinter-installer-2.1.1-1
Rpm or dpkg is required.
Hit Enter/Return key.
root /mnt/sda5/desktop_bak/tmp # 
https://bbs.archlinux.org/viewtopic.php?id=214488

Slackware works better than arch linux with .deb or .rpm packages. :)
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Brother print and scan: universal Driver Install Tool

Post#3 by francois » 17 Apr 2017, 18:26

Troubleshooting scanning.
Problem.
I was not able to scan on a second model of brother printer.
Solution.
/opt/brother/scanner/brscan4/brsanenetdevice4.cfg
You can make a backup of the file, so to prevent reinstallation of scanner facility on the bugging brother model.
and remove line of the printer that takes priority on simple scan.

See also viewtopic.php?f=39&t=1336
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6433
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Brother print and scan: universal Driver Install Tool

Post#4 by francois » 30 Apr 2017, 02:42

The installation of brother mfc-7860dw did not work with the universal driver tool. You have to resort to the generic printer:

Code: Select all

pcl laser
Prendre son temps, profiter de celui qui passe.

Post Reply