[Solved] Brother printer scanner installation

[Solved] Brother printer scanner installation

Postby nicolasstaelens » Aug 25th, '15, 13:29

edit doktor5000: split out from viewtopic.php?f=24&t=9728

I have a similar problem. I have a printer-scanner Brother DCP-195C. I downloaded the driver on Brother's website, as explained. I carefully checked the prerequisites on Brother's website and installed the packages they required (CUPS, ...). I then followed the instruction:
http://support.brother.com/g/b/downloadhowto.aspx?c=fr&lang=fr&prod=dcp195c_all&os=127&dlid=dlf006893_000&flang=4&type3=625
(these are the same instruction as above).

Here are the inputs and outputs from the terminal:

Code: Select all
[root@localhost Bureau]# bash linux-brprinter-installer-2.0.0-1
Input model name ->DCP195C

You are going to install following packages.
   dcp195clpr-1.1.3-1.i386.rpm
   dcp195ccupswrapper-1.1.3-1.i386.rpm
   brscan3-0.2.13-1.x86_64.rpm
   brscan-skey-0.2.4-1.x86_64.rpm
OK? [y/N] ->y

rpm -ihv --nodeps --replacefiles --replacepkgs dcp195clpr-1.1.3-1.i386.rpm
Préparation...                       ################################# [100%]
Mise à jour / installation...
   1:dcp195clpr-1.1.3-1               ################################# [100%]
rpm -ihv --nodeps --replacefiles --replacepkgs dcp195ccupswrapper-1.1.3-1.i386.rpm
Préparation...                       ########################################
Mise à jour / installation...
dcp195ccupswrapper-1.1.3-1            ########################################
lpinfo: Mauvais descripteur de fichier
lpinfo: Mauvais descripteur de fichier
lpinfo: Mauvais descripteur de fichier
lpadmin: Unable to connect to server: Mauvais descripteur de fichier
###############################ls: impossible d'accéder à /usr/share/ppd/*.ppd: Aucun fichier ou dossier de ce type
ls: impossible d'accéder à /usr/share/cups/model/*.ppd: Aucun fichier ou dossier de ce type
#
lpinfo: Mauvais descripteur de fichier

0 (I): Specify IP address.
1 (A): Auto. (usb://dev/usblp0)

select the number of destination Device URI. ->A

lpadmin -p DCP195C -v usb://dev/usblp0 -E
lpadmin: Unable to connect to server: Mauvais descripteur de fichier
Test Print? [y/N] ->y

wait 5s.
lpr -P DCP195C /usr/share/cups/data/testprint
lpr: Mauvais descripteur de fichier


"Mauvais descripteur de fichier" = "bad file descriptor"
"impossible d'accéder à" = "impossible to access to"
"Aucun fichier ou dossier de ce type" = "no file or folder of that type"

The test print failed.

The script then proceeds to install the scanner part, which works fine. The printer, however, does not work (it does work under Windows, so it is not a problem from the printer itself).

Does anyone knows how to make it work? Thank you in advance!
Last edited by nicolasstaelens on Aug 26th, '15, 11:09, edited 2 times in total.
nicolasstaelens
 
Posts: 3
Joined: Aug 25th, '15, 13:17

Re: Brother printer scanner installation

Postby doktor5000 » Aug 25th, '15, 21:35

Are you sure cups is actually running?
Please show the output of
Code: Select all
rpm -qa | grep -iE "cups|printer|dcp195"|sort
systemctl status cups.service cups.socket -a


Also, are the 4 rpm files downloaded by the script still available in the folder you run the script in?
From what I remember, when I tried the installer script on my parents box for their DCP195C it worked just fine without any issue.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17629
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Brother printer scanner installation

Postby nicolasstaelens » Aug 26th, '15, 11:07

Thank you for the reply!

Here is the output:

Code: Select all
[root@localhost Bureau]# rpm -qa | grep -iE "cups|printer|dcp195"|sort
cups-2.0.2-5.mga5
cups-common-2.0.2-5.mga5
cups-drivers-foo2zjs-0.0-1.20121012.7.mga5
cups-filesystem-2.0.2-5.mga5
cups-filters-1.0.71-1.mga5
cups-pk-helper-0.2.5-4.mga5
dcp195ccupswrapper-1.1.3-1
dcp195clpr-1.1.3-1
gutenprint-cups-5.2.10-5.mga5
lib64cups2-2.0.2-5.mga5
lib64cups-filters1-1.0.71-1.mga5
printer-testpages-2006-11.mga5
printer-tools-2008-12.mga5
python3-cups-1.9.68-3.mga5
system-config-printer-1.5.5-5.mga5
system-config-printer-libs-1.5.5-5.mga5
system-config-printer-udev-1.5.5-5.mga5
[root@localhost Bureau]# systemctl status cups.service cups.socket -a
● cups.service - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
   Active: active (running) since mer 2015-08-26 07:09:48 CEST; 3h 45min ago
     Docs: man:cupsd(8)
 Main PID: 2410 (cupsd)
   Status: "Scheduler is running..."
   CGroup: /system.slice/cups.service
           └─2410 /usr/sbin/cupsd -l

● cups.socket - CUPS Scheduler
   Loaded: loaded (/usr/lib/systemd/system/cups.socket; enabled)
   Active: active (running) since mer 2015-08-26 07:09:26 CEST; 3h 46min ago
   Listen: /var/run/cups/cups.sock (Stream)


The rpm's are still there. I re-tried the installation exactly the same way today and - surprise! - now it works. Both the printer and scanner work.

Thank you for your help and sorry for the inconvenience.
nicolasstaelens
 
Posts: 3
Joined: Aug 25th, '15, 13:17


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron