Installare la stampante multifunzione Brother MFC-J6520DW in Debian 10.x Buster – installer tools

Debian

Di seguito i passi per installare e per configurare da linea di comando i drivers della multifunzione full A3  Brother MFC-J6520DW  full A3 in debian 9.xx Stretch. In questo blog più volte si è parlato dell’installazione in configurazione di rete delle stampanti multifunzione Brother MFC-J6520DW e  MFC5890CN in Ubuntu e Debian.  Queste multifunzione Brother sono stampanti dall’indubbia solidità. Da tempo ho abbandonato le varie HP ed Epson che hanno una vita decisamente breve. La MFC5890CN, ad esempio, dopo diverse decine di migliaia di pagine e oltre 10 anni di vita stampa ancora in maniera più che dignitosa. 
Da tempo la procedura per l’installazione sotto linux delle stampanti multifunzione Brother grazie al Driver install Tool risulta decisamente agevole. L’utilizzo della modalità a 32 bit richiede solo un minimo di attenzione aper le dipendenze. Di fatto l’installazione della Brother MFC-J652DW in debian 10 segue sostanzialmente i passi evidenziati nel post Installare la stampante multifunzione Brother MFC-J6520DW in Debian 9.x Stretch installer tools

In fondo al post anche l’amminstrazione della stampante utilizzando il servizio http di cups. La versione corrente del demone cups in debian 10 è la 2.2.10.

Il  Driver install Tool  è alla versione 2.2.1.1.

Se il server di stampa non è stato installato. Si può essere installare la versione base con

$ apt install cups

per la versione più completa installare il server di stampa con

$ apt install task-print-server

installare anche i seguenti pacchetti:

$ apt install lib32z1 lib32gcc1 lib32gcc1 lib32stdc++6

La pagina supporto Brother dedicata alla MFC-J6520CN 

mfc-j6520dw download page

Una volta scaricato il driver install tool:  linux-brprinter-installer-2.2.1-1

decomprimere e rendere eseguibile con

gunzip linux-brprinter-installer-2.2.1-1.gz
sudo chmod +x linux-brprinter-installer-2.2.1-1

Quindi avviare e seguire la procedura guidata che inizia con la richiesta del modello di stampante, prosegue con la configurazione della stampante e termina con la parte dedicata allo scanner.

Di seguito sono riportate le fasi principali della procedura

su
./linux-brprinter-installer-2.2.1-1
Input model name ->MFC-J6520DW

You are going to install following packages.
   mfcj6520dwlpr-3.0.0-1.i386.deb
   mfcj6520dwcupswrapper-3.0.0-1.i386.deb
   brscan4-0.4.7-1.amd64.deb
   brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->y
=========================================
Brother License Agreement
...
...
Do you agree? [y/N] ->y
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/mfcj6520dwlpr-3.0.0-1.i386.deb
--2018-09-24 00:51:18-- http://www.brother.com/pub/bsc/linux/packages/mfcj6520dwlpr-3.0.0-1.i386.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.104, 2.228.46.105
Connecting to www.brother.com (www.brother.com)|2.228.46.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2957158 (2.8M) [text/plain]
Saving to: ‘mfcj6520dwlpr-3.0.0-1.i386.deb’

mfcj6520dwlpr-3.0.0-1.i386.deb 100%[==========================================================================================================================================>] 2.82M 263KB/s in 11s 

2018-09-24 00:51:29 (259 KB/s) - ‘mfcj6520dwlpr-3.0.0-1.i386.deb’ saved [2957158/2957158]
========================================
GPL License Agreement
...
Do you agree? [y/N] ->y
Saving to: ‘mfcj6520dwcupswrapper-3.0.0-1.i386.deb’

mfcj6520dwcupswrapper-3. 100%[==================================>] 14.77K --.-KB/s in 0.01s

2019-05-03 20:47:16 (1.14 MB/s) - ‘mfcj6520dwcupswrapper-3.0.0-1.i386.deb’ saved [15120/15120]

Ign:1 http://ftp.it.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
..
...
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
 lib32z1
E: Package 'ia32-libs' has no installation candidate
dpkg -x mfcj6520dwlpr-3.0.0-1.i386.deb /
dpkg -x mfcj6520dwcupswrapper-3.0.0-1.i386.deb /
[ ok ] Restarting cups (via systemctl): cups.service.
Purging configuration files for mfcj6520dwcupswrapper:i386 (3.0.0-1) ...
dpkg-deb: building package 'mfcj6520dwlpr' in 'mfcj6520dwlpr-3.0.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir mfcj6520dwlpr-3.0.0-1a.i386.deb
dpkg-deb: building package 'mfcj6520dwcupswrapper' in 'mfcj6520dwcupswrapper-3.0.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir mfcj6520dwcupswrapper-3.0.0-1a.i386.deb
dpkg -i --force-all mfcj6520dwlpr-3.0.0-1a.i386.deb
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package architecture (i386) does not match system (amd64)
(Reading database ... 175759 files and directories currently installed.)
Preparing to unpack mfcj6520dwlpr-3.0.0-1a.i386.deb ...
Unpacking mfcj6520dwlpr:i386 (3.0.0-1) over (3.0.0-1) ...
...
...
Selecting previously unselected package mfcj6520dwcupswrapper.
(Reading database ... 191040 files and directories currently installed.)
Preparing to unpack mfcj6520dwcupswrapper-3.0.0-1a.i386.deb ...
Unpacking mfcj6520dwcupswrapper (3.0.0-1) ...
Setting up mfcj6520dwcupswrapper (3.0.0-1) ...
Restarting cups (via systemctl): cups.service.
lpadmin -p MFCJ6520DW -E -v dnssd://Brother%20MFC-J6520DW._ipp._tcp.local/ -P /usr/share/cups/model/Brother/brother_mfcj6520dw_printer_en.ppd

Will you specify the Device URI? [Y/n] ->Y 
0: cups-brf:/
1: beh
2: https
3: http
4: ipp
5: socket
6: ipps
7: serial:/dev/ttyS0?baud=115200
8: lpd
9: dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/
10: dnssd://Brother%20MFC-J6520DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-30055cb37abb
11: ipp://BRN30055CB37ABB.local:631/ipp/print
12 (I): Specify IP address.
13 (A): Auto. (dnssd://Brother%20MFC-J6520DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-30055cb37abb)


select the number of destination Device URI. -> 14 
enter IP address ->192.168.1.152

lpadmin -p MFCJ6520DW -v socket://192.168.1.152 -E

Test Print? [y/N] -> 

You are going to install following packages.
brscan4-0.4.3-3.amd64.deb
=========================
Brother License Agreement
...
Do you agree? [y/N] ->Y
... 
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.7-1.amd64.deb
--2019-05-05 12:14:26--  http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.7-1.amd64.deb
Resolving www.brother.com (www.brother.com)... 2.20.82.192
Connecting to www.brother.com (www.brother.com)|2.20.82.192|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88038 (86K) [application/x-troff-man]
Saving to: ‘brscan4-0.4.7-1.amd64.deb’

brscan4-0.4.7-1.amd64.deb              100%[==========================================================================>]  85.97K  --.-KB/s    in 0.1s    

2019-05-05 12:14:26 (892 KB/s) - ‘brscan4-0.4.7-1.amd64.deb’ saved [88038/88038]

dpkg -i --force-all brscan4-0.4.3-3.amd64.deb
Selecting previously unselected package brscan4.
(Reading database ... 197672 files and directories currently installed.)
Preparing to unpack brscan4-0.4.7-1.amd64.deb ...
Unpacking brscan4 (0.4.7-1) ...
Setting up brscan4 (0.4.7-1) ...
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.amd64.deb

=========================================
Brother License Agreement
...
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
--2016-09-24 01:02:16-- http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.105, 2.228.46.104
Connecting to www.brother.com (www.brother.com)|2.228.46.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50852 (50K) [text/plain]
Saving to: ‘brscan-skey-0.2.4-1.amd64.deb’

brscan-skey-0.2.4-1.amd64.deb          100%[==========================================================================>]  49.66K  --.-KB/s    in 0.06s   

2019-05-05 12:14:29 (826 KB/s) - ‘brscan-skey-0.2.4-1.amd64.deb’ saved [50852/50852]


dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
Selecting previously unselected package brscan-skey.
(Reading database ... 197719 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
brsaneconfig4 -a name=MFC-J6520DW model=MFC-J6520DW ip=192.168.1.152
Hit Enter/Return key.

XSane 0.99

XSane – scanner

Impostazione manuale dello scanner

brsaneconfigX  -a  name=Brother  model=MFC-XXX  ip=XXX.XXX.XXX.XX 

Configurare Brother MFC-J6520DW using CUPS servizio http

La stampante può essere controllata anche utilizzando l’apposita interfaccia web ( http ) di cups che risponde alla porta 631:

http://localhost:631
cups 2.2.10 – Debian 10

La stampante Brother MFC-J6520DW in cups:

Brother MFC-J6520DW Debian 10 – Test page printing

10 (I): Specify IP address.   Connection: socket//192.168.1.152

11 (A): Auto. (dnssd://Brother%20MFC-J6520DW._pdl-datastream._tcp.local/) 

mfc-j6520dw cups

Risorse:

Installare la stampante multifunzione Brother MFC-J6520DW in Debian 9.x Stretch installer tools

Aggiornato installer tools  2.2.1.1 ( 13/09/2018)

DebianDi seguito i passi per installare e per configurare da linea di comando i drivers della multifunzione full A3  Brother MFC-J6520DW  full A3 in debian 9.xx Stretch. In questo blog più volte si è parlato della configurazione e dell’installazione in confiruazione di rete della stampante multifuzione Brother MFC5890CN in Ubuntu e Debian. Ora la procedura per l’installazione delle stampanti multifunzione Brother grazie al Driver install Tool risulta decisamente agevole. L’installazione della Brother MFC-J652DW segue sostanzialmente i passi evidenziati nel post Installare la stampante multifunzione Brother MFC-J6520DW in Debian Jessie 8.x installer tools.

In fondo al post anche l’amminstrazione della stampante utilizzando il servizio http di cups.

Il  Driver install Tool  è alla versione 2.2.1.1.

Se il server di stampa non è stato installato. Si può essere installare la versione base con

apt install cups

per la versione piàù completa installare il server di stampa con

apt install task-print-server

installare anche i seguenti pacchetti:

apt install lib32z1 lib32ncurses5

La pagina supporto Brother dedicata alla MFC-J6520CN 

mfc-j6520dw download page

Una volta scaricato il driver install tool:  linux-brprinter-installer-2.2.1-1

decomprimere e rendere eseguibile con

gunzip linux-brprinter-installer-2.2.1-1.gz
sudo chmod +x linux-brprinter-installer-2.2.1-1

Quindi avviare e seguire la procedura guidata che inizia con la richiesta del modello di stampante, prosegue con la configurazione della stampante e termina con la parte dedicata allo scanner.

Di seguito sono riportate le fasi principali della procedura

su
./linux-brprinter-installer-2.2.1-1
Input model name ->MFC-J6520DW

You are going to install following packages.
   mfcj6520dwlpr-3.0.0-1.i386.deb
   mfcj6520dwcupswrapper-3.0.0-1.i386.deb
   brscan4-0.4.7-1.amd64.deb
   brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->y
=========================================
Brother License Agreement
...
...
Do you agree? [y/N] ->y
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/mfcj6520dwlpr-3.0.0-1.i386.deb
--2018-09-24 00:51:18-- http://www.brother.com/pub/bsc/linux/packages/mfcj6520dwlpr-3.0.0-1.i386.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.104, 2.228.46.105
Connecting to www.brother.com (www.brother.com)|2.228.46.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2957158 (2.8M) [text/plain]
Saving to: ‘mfcj6520dwlpr-3.0.0-1.i386.deb’

mfcj6520dwlpr-3.0.0-1.i386.deb 100%[==========================================================================================================================================>] 2.82M 263KB/s in 11s 

2018-09-24 00:51:29 (259 KB/s) - ‘mfcj6520dwlpr-3.0.0-1.i386.deb’ saved [2957158/2957158]
========================================
GPL License Agreement
...
Do you agree? [y/N] ->y
Saving to: ‘mfcj6520dwcupswrapper-3.0.0-1.i386.deb’

mfcj6520dwcupswrapper-3. 100%[==================================>] 14.77K --.-KB/s in 0.01s

2019-05-03 20:47:16 (1.14 MB/s) - ‘mfcj6520dwcupswrapper-3.0.0-1.i386.deb’ saved [15120/15120]

Ign:1 http://ftp.it.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
..
...
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
 lib32z1 lib32ncurses5
E: Package 'ia32-libs' has no installation candidate
dpkg -x mfcj6520dwlpr-3.0.0-1.i386.deb /
dpkg -x mfcj6520dwcupswrapper-3.0.0-1.i386.deb /
[ ok ] Restarting cups (via systemctl): cups.service.
Purging configuration files for mfcj6520dwcupswrapper:i386 (3.0.0-1) ...
dpkg-deb: building package 'mfcj6520dwlpr' in 'mfcj6520dwlpr-3.0.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir mfcj6520dwlpr-3.0.0-1a.i386.deb
dpkg-deb: building package 'mfcj6520dwcupswrapper' in 'mfcj6520dwcupswrapper-3.0.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir mfcj6520dwcupswrapper-3.0.0-1a.i386.deb
dpkg -i --force-all mfcj6520dwlpr-3.0.0-1a.i386.deb
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package architecture (i386) does not match system (amd64)
(Reading database ... 175759 files and directories currently installed.)
Preparing to unpack mfcj6520dwlpr-3.0.0-1a.i386.deb ...
Unpacking mfcj6520dwlpr:i386 (3.0.0-1) over (3.0.0-1) ...
...
...
Selecting previously unselected package mfcj6520dwcupswrapper.
(Reading database ... 191040 files and directories currently installed.)
Preparing to unpack mfcj6520dwcupswrapper-3.0.0-1a.i386.deb ...
Unpacking mfcj6520dwcupswrapper (3.0.0-1) ...
Setting up mfcj6520dwcupswrapper (3.0.0-1) ...
Restarting cups (via systemctl): cups.service.
lpadmin -p MFCJ6520DW -E -v dnssd://Brother%20MFC-J6520DW._ipp._tcp.local/ -P /usr/share/cups/model/Brother/brother_mfcj6520dw_printer_en.ppd

Will you specify the Device URI? [Y/n] ->Y 
0: beh
1: ipps
2: lpd
3: ipp
4: http
5: ipp14
6: socket
7: https
8: serial:/dev/ttyS0?baud=115200
9: dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/
10: dnssd://Brother%20MFC-J6520DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-30055cb37abb
11: dnssd://Brother%20MFC-5890CN._printer._tcp.local/
12: lpd://BRN30055CB37ABB/BINARY_P1
13: lpd://BRN001BA920882F/BINARY_P1
14 (I): Specify IP address.
15 (A): Auto. (dnssd://Brother%20MFC-J6520DW._ipp._tcp.local/?uuid=e3248000-80ce-11db-8000-30055cb37abb)

select the number of destination Device URI. -> 14 
enter IP address ->192.168.1.152

lpadmin -p MFCJ6520DW -v socket://192.168.1.152 -E

Test Print? [y/N] -> 

You are going to install following packages.
brscan4-0.4.3-3.amd64.deb
=========================
Brother License Agreement
...
Do you agree? [y/N] ->Y
... 
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.7-1.amd64.deb
--2019-05-05 12:14:26--  http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.7-1.amd64.deb
Resolving www.brother.com (www.brother.com)... 2.20.82.192
Connecting to www.brother.com (www.brother.com)|2.20.82.192|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 88038 (86K) [application/x-troff-man]
Saving to: ‘brscan4-0.4.7-1.amd64.deb’

brscan4-0.4.7-1.amd64.deb              100%[==========================================================================>]  85.97K  --.-KB/s    in 0.1s    

2019-05-05 12:14:26 (892 KB/s) - ‘brscan4-0.4.7-1.amd64.deb’ saved [88038/88038]

dpkg -i --force-all brscan4-0.4.3-3.amd64.deb
Selecting previously unselected package brscan4.
(Reading database ... 197672 files and directories currently installed.)
Preparing to unpack brscan4-0.4.7-1.amd64.deb ...
Unpacking brscan4 (0.4.7-1) ...
Setting up brscan4 (0.4.7-1) ...
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.amd64.deb

=========================================
Brother License Agreement
...
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
--2016-09-24 01:02:16-- http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.105, 2.228.46.104
Connecting to www.brother.com (www.brother.com)|2.228.46.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50852 (50K) [text/plain]
Saving to: ‘brscan-skey-0.2.4-1.amd64.deb’

brscan-skey-0.2.4-1.amd64.deb          100%[==========================================================================>]  49.66K  --.-KB/s    in 0.06s   

2019-05-05 12:14:29 (826 KB/s) - ‘brscan-skey-0.2.4-1.amd64.deb’ saved [50852/50852]


dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
Selecting previously unselected package brscan-skey.
(Reading database ... 197719 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
brsaneconfig4 -a name=MFC-J6520DW model=MFC-J6520DW ip=192.168.1.152
Hit Enter/Return key.

 

Impostazione manuale dello scanner

brsaneconfigX  -a  name=Brother  model=MFC-XXX  ip=XXX.XXX.XXX.XX 

 

Configurare Brother MFC-J6520DW using CUPS servizio http

La stampante può essere controllata anche utilizzando l’apposita interfaccia http di cups che risponde alla porta 631:

http://localhost:631

La stampante Brother MFC-J6520DW in cups:

10 (I): Specify IP address.   Connection: socket//192.168.1.152
che come
11 (A): Auto. (dnssd://Brother%20MFC-J6520DW._pdl-datastream._tcp.local/) 

mfc-j6520dw cups

 

Risorse:

Installare la stampante multifunzione Brother MFC-J6520DW in Debian Jessie 8.x installer tools

DebianDi seguito i passi per installare e per configurare da linea di comando i drivers della multifunzione full A3  Brother MFC-J6520DW  full A3 in debian 8.x jessie.  In questo blog più volte si è parlato della configurazione e dell’installazione della stampante multifuzione  Brother  multifunzione MFC5890CN in Ubuntu e Debian. Ora la procedura per l’installazione delle stampanti multifunzione Brother grazie al Driver install Tool risulta decisamente agevole. L’installazione della Brother MFC-J652DW grazie segue sostanzialmente i passi evidenziati in questo post Installare la stampante multifunzione Brother MFC-5890CN in Debian Jessie 8.x nuovo installer tools.

In fondo al posto anche l’amminstrazione della stampante utilizzando il servizio http di cups.MFC-

Brother MFC-J6520DW Network printer in Debian 8.x

Di seguito la procedura di installazione e configurazione della stampante  MFC-J6520DW disponibile via rete in Debian 8.0 Jessie a 64 bit.

Il  Driver install Tool  è alla versione 2.0.0.1 ( marzo 2014 ).

La pagina supporto Brother dedicata alla MFC-J6520CN 

mfc-j6520dw download page

Una volta scaricato il driver install tool:  linux-brprinter-installer-2.0.0-1

decomprimere e rendere eseguibile con

gunzip linux-brprinter-installer-2.0.0-1.gz
sudo chmod +x linux-brprinter-installer-2.0.0-1

Quindi avviare e seguire la procedura guidata che inizia con la richiesta del modello di stampante prosegue con la configurazione della stampante e termina con la parte dedicata allo scanner.

Di seguito sono riportate le fasi principali della procedura

su
./linux-brprinter-installer-2.0.0-1
Input model name ->MFC-J6520DW
You are going to install following packages.
 mfcj6520dwlpr-3.0.0-1.i386.deb
 mfcj6520dwcupswrapper-3.0.0-1.i386.deb
 brscan4-0.4.3-3.amd64.deb
 brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->y
=========================================
Brother License Agreement
...
...
Do you agree? [y/N] ->y
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/mfcj6520dwlpr-3.0.0-1.i386.deb
--2016-09-24 00:51:18-- http://www.brother.com/pub/bsc/linux/packages/mfcj6520dwlpr-3.0.0-1.i386.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.104, 2.228.46.105
Connecting to www.brother.com (www.brother.com)|2.228.46.104|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2957158 (2.8M) [text/plain]
Saving to: ‘mfcj6520dwlpr-3.0.0-1.i386.deb’

mfcj6520dwlpr-3.0.0-1.i386.deb 100%[==========================================================================================================================================>] 2.82M 263KB/s in 11s 

2016-09-24 00:51:29 (259 KB/s) - ‘mfcj6520dwlpr-3.0.0-1.i386.deb’ saved [2957158/2957158]
========================================
GPL License Agreement
...
Do you agree? [y/N] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/mfc5890cncupswrapper-1.1.2-2.i386.deb
--2015-06-11 18:51:13-- http://www.brother.com/pub/bsc/linux/packages/mfc5890cncupswrapper-1.1.2-2.i386.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.105, 2.228.46.106
Connecting to www.brother.com (www.brother.com)|2.228.46.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14094 (14K) [text/plain]
Saving to: ‘mfc5890cncupswrapper-1.1.2-2.i386.deb’

mfc5890cncupswrappe 100%[====================>] 13.76K --.-KB/s in 0.02s 

2015-06-11 18:51:13 (800 KB/s) - ‘mfc5890cncupswrapper-1.1.2-2.i386.deb’ saved [14094/14094]


 

GPL License Agreement
...
Do you agree? [y/N] ->y
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/mfcj6520dwcupswrapper-3.0.0-1.i386.deb
--2016-09-24 00:53:31-- http://www.brother.com/pub/bsc/linux/packages/mfcj6520dwcupswrapper-3.0.0-1.i386.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.105, 2.228.46.104
Connecting to www.brother.com (www.brother.com)|2.228.46.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15120 (15K) [text/plain]
Saving to: ‘mfcj6520dwcupswrapper-3.0.0-1.i386.deb’

mfcj6520dwcupswrapper-3.0.0-1.i386.deb 100%[==========================================================================================================================================>] 14.77K --.-KB/s in 0.03s 

2016-09-24 00:53:31 (564 KB/s) - ‘mfcj6520dwcupswrapper-3.0.0-1.i386.deb’ saved [15120/15120]

Ign http://ftp.it.debian.org jessie InRelease
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB] 
Get:2 http://deb.opera.com stable InRelease [2,592 B] 
Get:3 http://ftp.it.debian.org jessie-updates InRelease [142 kB] 
...
...
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
 lib32z1 lib32ncurses5

E: Package 'ia32-libs' has no installation candidate
dpkg -x mfcj6520dwlpr-3.0.0-1.i386.deb /
dpkg -x mfcj6520dwcupswrapper-3.0.0-1.i386.deb /
dpkg-deb: building package `mfcj6520dwlpr' in `mfcj6520dwlpr-3.0.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir mfcj6520dwlpr-3.0.0-1a.i386.deb
dpkg-deb: building package `mfcj6520dwcupswrapper' in `mfcj6520dwcupswrapper-3.0.0-1a.i386.deb'.
dpkg -b ./brother_driver_packdir mfcj6520dwcupswrapper-3.0.0-1a.i386.deb
dpkg -i --force-all mfcj6520dwlpr-3.0.0-1a.i386.deb
Selecting previously unselected package mfcj6520dwlpr.
(Reading database ... 191014 files and directories currently installed.)
Preparing to unpack mfcj6520dwlpr-3.0.0-1a.i386.deb ...
Unpacking mfcj6520dwlpr (3.0.0-1) ...
Setting up mfcj6520dwlpr (3.0.0-1) ...
mkdir: cannot create directory ‘/var/spool/lpd/mfcj6520dw’: No such file or directory
chown: cannot access ‘/var/spool/lpd/mfcj6520dw’: No such file or directory
chgrp: cannot access ‘/var/spool/lpd/mfcj6520dw’: No such file or directory
chmod: cannot access ‘/var/spool/lpd/mfcj6520dw’: No such file or directory
dpkg -i --force-all mfcj6520dwcupswrapper-3.0.0-1a.i386.deb
Selecting previously unselected package mfcj6520dwcupswrapper.
(Reading database ... 191040 files and directories currently installed.)
Preparing to unpack mfcj6520dwcupswrapper-3.0.0-1a.i386.deb ...
Unpacking mfcj6520dwcupswrapper (3.0.0-1) ...
Setting up mfcj6520dwcupswrapper (3.0.0-1) ...
Restarting cups (via systemctl): cups.service.
lpadmin -p MFCJ6520DW -E -v dnssd://Brother%20MFC-J6520DW._ipp._tcp.local/ -P /usr/share/cups/model/Brother/brother_mfcj6520dw_printer_en.ppd


Will you specify the Device URI? [Y/n] ->Y 
0: http
1: ipp14
2: https
3: ipps
4: ipp
5: hp
6: socket
7: lpd
8: hpfax
9: dnssd://Brother%20MFC-J6520DW._ipp._tcp.local/
10: lpd://BRN30055CB37ABB/BINARY_P1
11 (I): Specify IP address.
12 (A): Auto. (dnssd://Brother%20MFC-J6520DW._ipp._tcp.local/

select the number of destination Device URI. -> 11 

enter IP address ->192.168.1.152

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

wait 5s.
lpr -P MFCJ6520DW /usr/share/cups/data/testprint

You are going to install following packages.
brscan4-0.4.3-3.amd64.deb
=========================
Brother License Agreement
...
Do you agree? [y/N] ->Y
... 
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.3-3.amd64.deb
--2016-09-24 01:00:33-- http://www.brother.com/pub/bsc/linux/packages/brscan4-0.4.3-3.amd64.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.105, 2.228.46.104
Connecting to www.brother.com (www.brother.com)|2.228.46.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 73704 (72K) [text/plain]
Saving to: ‘brscan4-0.4.3-3.amd64.deb’

brscan4-0.4.3-3.amd64.deb 100%[==========================================================================================================================================>] 71.98K --.-KB/s in 0.1s 

2016-09-24 01:00:33 (713 KB/s) - ‘brscan4-0.4.3-3.amd64.deb’ saved [73704/73704]

dpkg -i --force-all brscan4-0.4.3-3.amd64.deb
Selecting previously unselected package brscan4.
(Reading database ... 191044 files and directories currently installed.)
Preparing to unpack brscan4-0.4.3-3.amd64.deb ...
Unpacking brscan4 (0.4.3-3) ...
Setting up brscan4 (0.4.3-3) ...
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.amd64.deb

=========================================
Brother License Agreement
...
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
--2016-09-24 01:02:16-- http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.105, 2.228.46.104
Connecting to www.brother.com (www.brother.com)|2.228.46.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50852 (50K) [text/plain]
Saving to: ‘brscan-skey-0.2.4-1.amd64.deb’

brscan-skey-0.2.4-1.amd64.deb 100%[==========================================================================================================================================>] 49.66K --.-KB/s in 0.07s 

2016-09-24 01:02:16 (716 KB/s) - ‘brscan-skey-0.2.4-1.amd64.deb’ saved [50852/50852]

dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
(Reading database ... 191080 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) over (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
brsaneconfig4 -a name=MFC-J6520DW model=MFC-J6520DW ip=192.168.77.252
Hit Enter/Return key.

mfc-j6520DW scanner

 

Impostazione manuale dello scanner

brsaneconfigX  -a  name=Brother  model=MFC-XXX  ip=XXX.XXX.XXX.XX 

 

Configurare Brother MFC-J6520DW using CUPS servizio http

La stampante può essere controllata anche utilizzando l’apposita interfaccia http di cups che risponde alla porta 631:

http://localhost:631

Cups 1.7.5. Debian 8.0

La stampante Brother MFC-J6520DW in cups:

10 (I): Specify IP address.   Connection: socket//192.168.1.65
che come
11 (A): Auto. (dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/) 

mfc-j6520dw cups

mfc-j6520dw-cups2

 

 

Risorse:

Installare la stampante multifunzione Brother MFC-5890CN in Debian Jessie 8.x nuovo installer tools

Debian In questo blog più volte si è parlato della configurazione e dell’installazione della stampante multifuzione  Brother  multifunzione MFC5890CN in Ubuntu e Debian. Il “nuovo”  installer ( Driver install Tool) consente di installare da linea di comando  i drivers e di configurare la stampante e lo scanner in modo efficace e semplice. Benchè la parte di stampa sia pensata per i 32 bit funziona nonostante qualche warning anche in debian 8.0  jessie a 64 bit. La sezione scanner è disponibile anche nella versione a 64 bit. In fondo al posto anche l’amminsitrazione della stampante utilizzando il servizio http di cups.

Brother MFC-5890CN Network printer in Debian 8.0

Di seguito la procedura di installazione e configurazione della stampante  MFC-5890 disponibile via rete in Debian 8.0 Jessie a 64 bit.

Il  Driver install Tool  è alla versione 2.0.0.1 ( marzo 2014 ).

La pagina dedicata alla MFC-5890CN 

MFC-5890CN download page

MFC-5890CN download page

Una volta scaricato il driver install tool:  linux-brprinter-installer-2.0.0-1

decomprimere e rendere eseguibile con

gunzip linux-brprinter-installer-2.0.0-1.gz
sudo chmod +x linux-brprinter-installer-2.0.0-1

Quindi avviare e seguire la procedura guidata che inizia con la richiesta del modello di stampante prosegue con la configurazione della stampante e termina con la parte dedicata allo scanner.

Di seguito sono riportate le fasi principali della procedura

su
./linux-brprinter-installer-2.0.0-1
Input model name ->MFC-5890CN
You are going to install following packages.
mfc5890cnlpr-1.1.2-2.i386.deb
mfc5890cncupswrapper-1.1.2-2.i386.deb
brscan3-0.2.13-1.amd64.deb
brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->y
=========================================
GPL License Agreement
...
Do you agree? [y/N] ->y
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/mfc5890cnlpr-1.1.2-2.i386.deb
--2015-06-11 18:50:30-- http://www.brother.com/pub/bsc/linux/packages/mfc5890cnlpr-1.1.2-2.i386.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.105, 2.228.46.106
Connecting to www.brother.com (www.brother.com)|2.228.46.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1907324 (1.8M) [text/plain]
Saving to: ‘mfc5890cnlpr-1.1.2-2.i386.deb’

mfc5890cnlpr-1.1.2- 100%[====================>] 1.82M 519KB/s in 3.8s 

2015-06-11 18:50:34 (496 KB/s) - ‘mfc5890cnlpr-1.1.2-2.i386.deb’ saved [1907324/1907324]
=========================================
GPL License Agreement
...
Do you agree? [y/N] ->y

wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/mfc5890cncupswrapper-1.1.2-2.i386.deb
--2015-06-11 18:51:13-- http://www.brother.com/pub/bsc/linux/packages/mfc5890cncupswrapper-1.1.2-2.i386.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.105, 2.228.46.106
Connecting to www.brother.com (www.brother.com)|2.228.46.105|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14094 (14K) [text/plain]
Saving to: ‘mfc5890cncupswrapper-1.1.2-2.i386.deb’

mfc5890cncupswrappe 100%[====================>] 13.76K --.-KB/s in 0.02s 

2015-06-11 18:51:13 (800 KB/s) - ‘mfc5890cncupswrapper-1.1.2-2.i386.deb’ saved [14094/14094]
Hit http://ftp.it.debian.org jessie InRelease
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB] 
Get:2 http://ftp.it.debian.org jessie-updates InRelease [126 kB] 
Get:3 http://security.debian.org jessie/updates/main Sources [58.2 kB] 
Hit http://ftp.it.debian.org jessie/main Sources 
Get:4 http://security.debian.org jessie/updates/main amd64 Packages [95.5 kB] 
Hit http://ftp.it.debian.org jessie/main amd64 Packages 
Hit http://ftp.it.debian.org jessie/main Translation-en 
Get:5 http://security.debian.org jessie/updates/main Translation-en [51.3 kB] 
Get:6 http://ftp.it.debian.org jessie-updates/main Sources [2,471 B] 
Get:7 http://ftp.it.debian.org jessie-updates/main amd64 Packages/DiffIndex [367 B]
Get:8 http://ftp.it.debian.org jessie-updates/main Translation-en/DiffIndex [229 B]
Get:9 http://deb.opera.com stable InRelease [2,590 B] 
Get:10 http://deb.opera.com stable InRelease [2,590 B] 
Get:11 http://deb.opera.com stable/non-free amd64 Packages [1,775 B]
Hit http://httpredir.debian.org jessie InRelease 
Get:12 http://deb.opera.com stable/non-free amd64 Packages [1,775 B] 
Hit http://httpredir.debian.org jessie/main amd64 Packages 
Hit http://httpredir.debian.org jessie/contrib amd64 Packages 
Hit http://httpredir.debian.org jessie/non-free amd64 Packages 
Hit http://httpredir.debian.org jessie/contrib Translation-en 
Hit http://httpredir.debian.org jessie/main Translation-en 
Hit http://httpredir.debian.org jessie/non-free Translation-en 
Ign http://deb.opera.com stable/non-free Translation-en_GB 
Ign http://deb.opera.com stable/non-free Translation-en 
Ign http://deb.opera.com stable/non-free Translation-en_GB 
Ign http://deb.opera.com stable/non-free Translation-en 
Fetched 405 kB in 7s (53.4 kB/s) 
Reading package lists... Done
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
 lib32z1 lib32ncurses5

E: Package 'ia32-libs' has no installation candidate
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following extra packages will be installed:
 lib32gcc1 libc6-i386
The following NEW packages will be installed:
 lib32gcc1 lib32stdc++6 libc6-i386
0 upgraded, 3 newly installed, 0 to remove and 38 not upgraded.
Need to get 2,711 kB of archives.
After this operation, 11.2 MB of additional disk space will be used.

Do you want to continue? [Y/n]
Get:1 http://ftp.it.debian.org/debian/ jessie/main libc6-i386 amd64 2.19-18 [2,383 kB]
Get:2 http://ftp.it.debian.org/debian/ jessie/main lib32gcc1 amd64 1:4.9.2-10 [47.9 kB]
Get:3 http://ftp.it.debian.org/debian/ jessie/main lib32stdc++6 amd64 4.9.2-10 [280 kB]
Fetched 2,711 kB in 8s (335 kB/s)
Selecting previously unselected package libc6-i386.
(Reading database ... 159464 files and directories currently installed.)
Preparing to unpack .../libc6-i386_2.19-18_amd64.deb ...
Unpacking libc6-i386 (2.19-18) ...
Selecting previously unselected package lib32gcc1.
Preparing to unpack .../lib32gcc1_1%3a4.9.2-10_amd64.deb ...
Unpacking lib32gcc1 (1:4.9.2-10) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../lib32stdc++6_4.9.2-10_amd64.deb ...
Unpacking lib32stdc++6 (4.9.2-10) ...
Setting up libc6-i386 (2.19-18) ...
Setting up lib32gcc1 (1:4.9.2-10) ...
Setting up lib32stdc++6 (4.9.2-10) ...
Processing triggers for libc-bin (2.19-18) ...
dpkg -x mfc5890cnlpr-1.1.2-2.i386.deb /
dpkg -x mfc5890cncupswrapper-1.1.2-2.i386.deb /
dpkg-deb: building package `mfc5890cnlpr' in `mfc5890cnlpr-1.1.2-2a.i386.deb'.
dpkg -b ./brother_driver_packdir mfc5890cnlpr-1.1.2-2a.i386.deb
dpkg-deb: building package `mfc5890cncupswrapper' in `mfc5890cncupswrapper-1.1.2-2a.i386.deb'.
dpkg -b ./brother_driver_packdir mfc5890cncupswrapper-1.1.2-2a.i386.deb
dpkg -i --force-all mfc5890cnlpr-1.1.2-2a.i386.deb
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package architecture (i386) does not match system (amd64)
Selecting previously unselected package mfc5890cnlpr.
(Reading database ... 159779 files and directories currently installed.)
Preparing to unpack mfc5890cnlpr-1.1.2-2a.i386.deb ...
Unpacking mfc5890cnlpr (1.1.2-2) ...
Setting up mfc5890cnlpr (1.1.2-2) ...
mkdir: cannot create directory ‘/var/spool/lpd/mfc5890cn’: No such file or directory
chown: cannot access ‘/var/spool/lpd/mfc5890cn’: No such file or directory
chgrp: cannot access ‘/var/spool/lpd/mfc5890cn’: No such file or directory
chmod: cannot access ‘/var/spool/lpd/mfc5890cn’: No such file or directory
dpkg -i --force-all mfc5890cncupswrapper-1.1.2-2a.i386.deb
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: package architecture (i386) does not match system (amd64)
Selecting previously unselected package mfc5890cncupswrapper.
(Reading database ... 159800 files and directories currently installed.)

Preparing to unpack mfc5890cncupswrapper-1.1.2-2a.i386.deb …
Unpacking mfc5890cncupswrapper (1.1.2-2) …
Setting up mfc5890cncupswrapper (1.1.2-2) …
Restarting cups (via systemctl): cups.service.
#

Will you specify the Device URI? [Y/n] ->Y 

0: ipp14
1: http
2: ipp
3: https
4: ipps
5: lpd
6: hp
7: socket
8: hpfax
9: dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/
10 (I): Specify IP address.
11 (A): Auto. (dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/)

select the number of destination Device URI. -> 10 

enter IP address ->192.168.1.195
Test Print? [y/N] -> 

wait 5s.
… MFC5890CN /usr/share/cups/data/testprint

You are going to install following packages.
brscan3-0.2.11-5.amd64.deb
=========================
Brother License Agreement
...
Do you agree? [y/N] ->Y
... 
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan3-0.2.13-1.amd64.deb
--2015-06-11 19:07:30-- http://www.brother.com/pub/bsc/linux/packages/brscan3-0.2.13-1.amd64.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.106, 2.228.46.105
Connecting to www.brother.com (www.brother.com)|2.228.46.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 67650 (66K) [text/plain]
Saving to: ‘brscan3-0.2.13-1.amd64.deb’

brscan3-0.2.13-1.am 100%[====================>] 66.06K --.-KB/s in 0.1s 

2015-06-11 19:07:30 (472 KB/s) - ‘brscan3-0.2.13-1.amd64.deb’ saved [67650/67650]

dpkg -i --force-all brscan3-0.2.13-1.amd64.deb
Selecting previously unselected package brscan3.
(Reading database ... 159803 files and directories currently installed.)
Preparing to unpack brscan3-0.2.13-1.amd64.deb ...
Unpacking brscan3 (0.2.13-1) ...
Setting up brscan3 (0.2.13-1) ...
You are going to install following packages.
 brscan-skey-0.2.4-1.amd64.deb

=========================================
Brother License Agreement
...
Connecting to www.brother.com (www.brother.com)|2.228.46.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50852 (50K) [text/plain]
Saving to: ‘brscan-skey-0.2.4-1.amd64.deb’

brscan-skey-0.2.4-1 100%[====================>] 49.66K --.-KB/s in 0.1s 

2015-06-11 19:09:38 (443 KB/s) - ‘brscan-skey-0.2.4-1.amd64.deb’ saved [50852/50852]

lpr -P MFC5890CN /usr/share/cups/data/testprint
You are going to install following packages.
 brscan3-0.2.13-1.amd64.deb
dpkg -i --force-all brscan3-0.2.13-1.amd64.deb
(Reading database ... 159832 files and directories currently installed.)
Preparing to unpack brscan3-0.2.13-1.amd64.deb ...
Unpacking brscan3 (0.2.13-1) over (0.2.13-1) ...
Setting up brscan3 (0.2.13-1) ...
You are going to install following packages.
 brscan-skey-0.2.4-1.amd64.deb
dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
(Reading database ... 159832 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) over (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
brsaneconfig3 -a name=MFC-5890CN model=MFC-5890CN ip=192.168.77.195
Hit Enter/Return key.


dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
Selecting previously unselected package brscan-skey.
(Reading database ... 159823 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
 enter IP address ->
brsaneconfig3 -a name=MFC-5890CN model=MFC-5890CN ip=lpr -P MFC5890CN /usr/share/cups/data/testprint
Invalid IP address (lpr)
Hit Enter/Return key.
... 
dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb 
Selecting previously unselected package brscan-skey. 
(Reading database ... 141525 files and directories currently installed.) Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ... Unpacking brscan-skey (0.2.4-1) ... 

Setting up brscan-skey (0.2.4-1) ...
enter IP address ->192.168.1.195
brsaneconfig3 -a name=MFC-5890CN model=MFC-5890CN ip=192.168.1.195
Hit Enter/Return key.


Brother MFC-5890CN SimpleScan

Impostazione manuale dello scanner

brsaneconfigX  -a  name=Brother  model=MFC-XXX  ip=XXX.XXX.XXX.XX 

 

Configurare Brother MFC-5890CN using CUPS servizio http

La stampante può essere controllata anche utilizzando l’apposita interfaccia http di cups:

Cups 1.7.5. Debian 8.0

La stampante Brother MFC-5890CN presente in cups sia come:

10 (I): Specify IP address.   Connection: socket//192.168.1.195
che come
11 (A): Auto. (dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/) 

 Connection: dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/

Stampante Brothers MFC 5890CN in Debian 8.0

Cups1.7.5-BrotherMFC-5890CN

 

 

 

Risorse:

Installare stampante di Brother MFC-5890CN in Ubuntu nuovo installer tools

Aggiornamento dicembre 2014

In questo blog più volte si è parlato della configurazione e dell’installazione della stampante Brother multifunzione MFC5890CN in Ubuntu e Debian.  Recentemente ho avuto modo di constatare che Brother ha cambiato la parte del sito relativa alle funzioni di servizio e ha reso finalmente disponibile un installer ( Driver install Tool )  da linea di comando che consente di installare i drivers e di configurare la stampante e scanner in modo efficace e semplifice. In passato infatti c’era sempre stato stato qualche problema in particolare in Ubuntu 64 bit con la gestione dello scanner.  Il  Driver install Tool  è alla versione 2.0.0.1 ( marzo 2014 ).

La pagina dedicata alla MFC-5890CN 

MFC-5890CN download page

MFC-5890CN download page

Di seguito la procedura di installazione in ubuntu 14.04 e ubuntu 14.10.

Una volta scaricato il driver install tool:  linux-brprinter-installer-2.0.0-1

decomprimere e rendere eseguibile con

gunzip linux-brprinter-installer-2.0.0-1.gz
sudo chmod +x linux-brprinter-installer-2.0.0-1

Quindi avviare e seguire la procedura guidata che inizia con la richiesta del modello di stampante prosegue con la configurazione della stampante e termina con la parte dedicata allo scanner.

Di seguito sono riportate le fasi principali della procedura

sudo ./linux-brprinter-installer-2.0.0-1
Input model name ->MFC-5890CN
You are going to install following packages.
mfc5890cnlpr-1.1.2-2.i386.deb
mfc5890cncupswrapper-1.1.2-2.i386.deb
brscan3-0.2.11-5.amd64.deb
brscan-skey-0.2.4-1.amd64.deb
OK? [y/N] ->
Brother License Agreement
...
Do you agree? [y/N] ->
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/mfc5890cncupswrapper-1.1.2-2.i386.deb
--2014-04-17 22:53:51-- http://www.brother.com/pub/bsc/linux/packages/mfc5890cncupswrapper-1.1.2-2.i386.deb
...
dpkg -i --force-all mfc5890cnlpr-1.1.2-2a.i386.deb
...
dpkg -i --force-all mfc5890cncupswrapper-1.1.2-2a.i386.deb
...
wget -T 10 -nd --no-cache http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
--2014-04-17 22:57:28-- http://www.brother.com/pub/bsc/linux/packages/brscan-skey-0.2.4-1.amd64.deb
Resolving www.brother.com (www.brother.com)... 2.228.46.106, 2.228.46.105
Connecting to www.brother.com (www.brother.com)|2.228.46.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50852 (50K) [text/plain]
Saving to: ‘brscan-skey-0.2.4-1.amd64.deb’

100%[====================================>] 50,852 --.-K/s in 0.1s

2014-04-17 22:57:28 (517 KB/s) - ‘brscan-skey-0.2.4-1.amd64.deb’ saved [50852/50852]

dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb
Selecting previously unselected package brscan-skey.
(Reading database ... 141525 files and directories currently installed.)
Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ...
Unpacking brscan-skey (0.2.4-1) ...
Setting up brscan-skey (0.2.4-1) ...
enter IP address ->
...
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
...
dpkg -i --force-all mfc5890cnlpr-1.1.2-2a.i386.deb
...
dpkg -i --force-all mfc5890cncupswrapper-1.1.2-2a.i386.deb
...

Will you specify the Device URI? [Y/n] ->Y

0: http
1: ipp14
2: lpd
3: ipps
4: https
5: hp
6: smb
7: ipp
8: socket
9: hpfax
10: dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/
11: dnssd://Brother%20MFC-5890CN%20%40%20Administrator%E2%80%99s%20MacBook%20Pro._ipp._tcp.local/cups
12: lpd://BRN001BA920882F/BINARY_P1
13 (I): Specify IP address.
14 (A): Auto. (dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/)

select the number of destination Device URI. ->14

lpadmin -p MFC5890CN -v dnssd://Brother%20MFC-5890CN._pdl-datastream._tcp.local/ -E
Test Print? [y/N] ->y
wait 5s.
lpr -P MFC5890CN /usr/share/cups/data/testprint
You are going to install following packages.
brscan3-0.2.11-5.amd64.deb
Brother License Agreement
...
Do you agree? [y/N] ->Y
... 
dpkg -i --force-all brscan3-0.2.11-5.amd64.deb 
... 
You are going to install following packages.  brscan-skey-0.2.4-1.amd64.deb 
... 
dpkg -i --force-all brscan-skey-0.2.4-1.amd64.deb Selecting previously unselected package brscan-skey. (Reading database ... 141525 files and directories currently installed.) Preparing to unpack brscan-skey-0.2.4-1.amd64.deb ... Unpacking brscan-skey (0.2.4-1) ... Setting up brscan-skey (0.2.4-1) ...
enter IP address ->192.168.1.195
brsaneconfig3 -a name=MFC-5890CN model=MFC-5890CN ip=192.168.1.195
Hit Enter/Return key.

simple-scan brother MFC-5890CN

simple-scan brother MFC-5890CN

Risorse:

Ubuntu 12.04 e Brother MFC-5890CN new scanner driver

La procedura indicata in questo precedente post Ubuntu e Brother MFC-5890CN versioni 11.10, 11.04, 10.10, 10.04 ( i386 64bit  riporta i passi da compiere per installare la stampante  multifunzione Brother MFC 5890-CN  nella versioni di Ubuntu perecedenti la 12.04 sia i386 che 64 bit.

La procedura va bene per quanto riguarda la stampa anche in Ubuntu 12.04 mentre fallisce nella versione a 64 bit il riconoscimento dello scanner. Per superare questo problema la Brother ha reso disponibile  come evidenziato nella pagina  Brother Solutions Center : Brother Driver for Linux Distributions un nuovo driver brscan3  per lo scanner versione 0.2.11-5  data 5 giugno 2012.
Con lo script che segue viene anche scaricato pacchetto scan-key-tools non presente nello script del precedente post.

Versione a 64 Bit 

Importante! Per la corretta installazione dei drivers due scelte possibili:

1) prima installare i pacchetti ia32-libs e/o lib32stdc++.

sudo apt-get install ia32-libs

2) oppure al terminata l’installazione digitare

sudo apt-get install -f

per sistemare le librerie mancanti

Per installare i drivers  digitare all’interno di una finestra di terminale i seguenti comandi:

wget http://dl.dropbox.com/u/35253096/Brother/MFC-5890CN64.sh
sudo chmod +x MFC-5890CN64.sh
sudo sh ./MFC-5890CN64.sh

Verranno installati i seguenti drivers :
———————————————
ii brmfcfaxcups 1.0.0-2 Brother MFC/FAX fax share function driver
ii brmfcfaxlpd 1.0.0-2 Brother MFC-FAX LPD driver
ii brscan-skey 0.2.3-0 Brother Linux scanner S-KEY tool
ii brscan3 0.2.11-5 Brother Scanner Driver
ii mfc5890cncupswrapper 1.1.2-2 Brother CUPS Inkjet Printer Definitions
ii mfc5890cnlpr 1.1.2-2 Brother lpr Inkjet Printer

Configurazione all in one in rete

Stampante :
Aprire Sistema → Amministrazione → Stampa e aggiungere, se necessario, la stampante.

Da terminale:

sudo system-config-printer

Device URI dovrà essere del tipo

dnssd://Brother%20MFC-5890CN._printer._tcp.local/

e non USB …..
In genere è di tipo USB è  possibile incollare  la stringa sopra riportata nel campo URI.
Comunque è preferibile scegliere add printer e
– aggiungere stampante di rete
– eliminare la stampante USB
Quindi premere Print Test  Page.

Scanner di rete

Necessario il driver brscan3 0.2.11-5 ricordo che il driver precedente brscan3 0.2.11-4 non funziona se non con alcune personalizzazioni.
digitare il seguente comando in una finestra temrinale

brsaneconfig3  -a  name=Scanner  model=xxxx ip=xx.xx.xx.xx

esempio

brsaneconfig3 -a  name=Scanner  model=MFC-5890CN ip=192.168.1.195

Usare il comando brsaneconfig per gli apparecchi brscan, brsaneconfig2 per gli apparecchi brscan2, brsaneconfig3 per gli apparecchi brscan3 e sostituire il modello e l’indirizzo ip della propria stampante.

verificare il modello dello scanner di rete

dpkg  -l  |  grep brscan

b) determinare ip con nmap

lanciare uno scan sulla rete e controllando gli ip presenti

nmap -sP 192.168.1.*

installare nmap al solito con

sudo apt-get install nmap

per verificare con scan-key-tools  l’indirizzo di rete utilizzare   brscan-skey -l

Per verificare il funzionamento utilizzare Simple Scan.

http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/instruction_scn1b.html#config2

Fax

Per eseguire una prova digitare all’interno di una finestra di terminale il seguente comando:

brpcfax -o fax-number=(fax_number) filename.ps

Sostituire fax_number con il proprio numero di fax.

Documentazione rielaborata da http://wiki.ubuntu-it.org/Hardware/StampantiScanner/BrotherMultifunzione

Per riavviare il servizio cups invece di /etc/init.d viene consigliato di utilizzare l’utility service il comando sarà
service cups restart

MFC-5890CN64.sh Script

 
#!/bin/bash

packages="mfc5890cnlpr-1.1.2-2.i386.deb 
mfc5890cncupswrapper-1.1.2-2.i386.deb brscan3-0.2.11-5.amd64.deb 
brscan-skey-0.2.3-0.amd64.deb brmfcfaxlpd-1.0.0-1.i386.deb 
brmfcfaxcups-1.0.0-1.i386.deb""

for package in $packages; do
{
    wget http://www.brother.com/pub/bsc/linux/dlf/$package
}
done;
printf "\n---------------------------------------------\n"
aa-complain cupsd
printf "\n---------------------------------------------\n"
mkdir /usr/share/cups/model
printf "\n---------------------------------------------\n"
mkdir /var/spool/lpd
printf "\n---------------------------------------------\n"
apt-get install sane-utils
printf "\n---------------------------------------------\n"
for package in $packages; do
{
dpkg  -i  --force-all $package
}
done;
printf "\n---------------------------------------------\n"
cp  /usr/share/cups/model/brfax_cups.ppd  /usr/share/ppd
printf "\n---------------------------------------------\n"
/etc/init.d/cups  restart
printf "\n---------------------------------------------\n"
for package in $packages; do
{
   rm $package
}
done;
printf "\n---------------------------------------------\n"
dpkg  -l  |  grep  Brother

.

Risorse: