Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites". Attention, le forum rencontre actuellement quelques difficultés. En cas d'erreur 502, il ne faut pas re-valider l'envoi d'un message ou l'ouverture d'une discussion, au risque de créer un doublon.

La section divers se réorganise ! De nouvelles sous-sections à venir. (plus d'infos + donner son avis)

#76 Le 18/10/2011, à 22:18

salival

Re : Script d'installation pour imprimantes Brother

salival a écrit :

Tu crois pas que la line

# Brother
SYSFS{idVendor}=="04f9", MODE="0666", GROUP="scanner", ENV{libsane_matched}="yes"

devrait être ajoutée dans un autre fichier que "/etc/udev/rules.d/70-persistent-cd.rules" ou "/etc/udev/rules.d/40-libsane.rules"?

Parce qu'en fait c'est le script qui crée le fichier /etc/udev/rules.d/40-libsane.rules. Il n'existe pas à la base sur Oneiric. Et je me souviens bien que sur les versions précédentes il existait déjà d'une part, et il était déjà bien "rempli". Là il est "vide". Il y à juste la ligne

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

Dernière modification par salival (Le 18/10/2011, à 22:28)


"Il ne faut jamais prendre les gens pour des cons, mais il ne faut pas oublier qu'ils le sont."  Les Inconnus

Hors ligne

#77 Le 18/10/2011, à 22:32

salival

Re : Script d'installation pour imprimantes Brother

J'ai cherchait où pouvait se trouver "40-libsane.rules" et ils y en à 2 (à part celui créé par le script), un dans "/lib32/udev/rules.d" et un dans "/lib/udev/rules.d".
J'y ai donc ajouté la ligne manquante

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

redémarré udev. Et ....toujours rien!


"Il ne faut jamais prendre les gens pour des cons, mais il ne faut pas oublier qu'ils le sont."  Les Inconnus

Hors ligne

#78 Le 18/10/2011, à 22:48

fabux

Re : Script d'installation pour imprimantes Brother

La première ligne que tu donnes est me semble-t-il dans le script de rtst-2 mais n'est plus d'actualité depuis un moment. (perso je n'ai plus de groupe scanner depuis un bail).
La seconde est également donnée et qui confirme que c'est "vide" depuis 9.10 et semble nécessaire pour Oneiric.

Tu as bien une ligne brother2 dans /etc/sane.d/dll.conf (en supposant que ce fichier existe toujours)

grep -i brother /etc/sane.d/dll.conf

ps: vais me pieuter. Essai de voir dans le forum, il me semble que j'ai déjà répondu à un souci similaire (cherche avec scanner brother fabux à moins que ce ne soit chez moi et que je n'ai pas noté le truc roll.
Peut-être un fichier ~/.sane qui traine ?

edit: je t'ai croisé big_smile
Si tu as toujours un dossier /etc/udev/rules.d contenant différentes règles (plus le numéro est bas, plus tôt elle sera exécutée) c'est dedans qu'il faut la mettre.
Eteinds toujours ton scan puis relance udev avant de rallumer l'imprimante.
Si pas mieux; essai de désinstaller brscan2 et réinstalle-le (soit via les dépôts soit depuis le site brother)

Dernière modification par fabux (Le 18/10/2011, à 22:52)

Hors ligne

#79 Le 18/10/2011, à 23:01

salival

Re : Script d'installation pour imprimantes Brother

Merci pour ton aide. Moi aussi je vais aller me pieuter.
Je te tiens au jus.
Merci encore.


"Il ne faut jamais prendre les gens pour des cons, mais il ne faut pas oublier qu'ils le sont."  Les Inconnus

Hors ligne

#80 Le 19/10/2011, à 21:33

fabux

Re : Script d'installation pour imprimantes Brother

@demonipuch: Il semble qu'il va falloir ajouter un test pour Oneiric 64 pour ajouter des cp. (cf lien vers brother et info de Frombenny sur la mailing liste wiki)

Sinon, à priori ça semble fonctionner en remplaçant ta partie selection_imprimante par

selection_imprimante() {
# Afficher la liste des imprimantes
imprimante=$(zenity --list --radiolist --width=400 --height=400 \
--title="Installation des pilotes pour imprimantes Brother" \
--text="Choisissez votre imprimante parmi la liste :" \
--column="" --column="Imprimantes ${modele}" \
FALSE $(grep "${modele}-" brother/url_printer_drivers | sed 's/$/ \r/g;s/#//g'))

# Quitter si aucune imprimante sélectionnée
if [[ -z ${imprimante} ]]; then
    exit 0
fi
}

Enfin, j'ai avancé un peu sur le script brother/canon (ne t'impatiente pas rtst-2 epson viendra wink ) si quelqu'un à envie de tester, c'est ici.

Hors ligne

#81 Le 19/10/2011, à 21:43

demonipuch

Re : Script d'installation pour imprimantes Brother

Salut fabux

J'ai vu passé l'info concernant Oneiric sur la mailing list.
Merci pour le bout de code, je mets à jour l'archive dès que possible (j'suis pas mal pris en ce moment...)

Hors ligne

#82 Le 19/10/2011, à 22:38

fabux

Re : Script d'installation pour imprimantes Brother

Normalement c'est bon, mais reteste vite fait avant de mettre à jour hein wink (j'ai surtout fait des tests sur DCP, et je viens de penser que je n'ai pas essayé d'ajouter d'autres imprimantes dans le fichier url_printer_drivers pour voir si elles sont bien prise en compte)
Je viens de voir qu'il reste à virer une dernière ligne vide dans le choix des imprimantes.(il faut que je trouve comme faire le sed sauf sur la dernière ligne)

Hors ligne

#83 Le 20/10/2011, à 21:59

salival

Re : Script d'installation pour imprimantes Brother

Je reviens pour préciser que sur le site de brother, ici, comme dans la doc d'ailleurs, il est précisé qu'il faut ajouter la ligne

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

dans "/lib/udev/rules.d/40-libsane.rules" et non pas dans "/etc/udev/rules.d/70-persistent-cd.rules" ou "/etc/udev/rules.d/40-libsane.rules" comme le fait le script.

Mais de toutes manières, dans aucun des cas ça fonctionne chez moi.

EDIT: dans la doc il est inciqué "Scanner : erreurs d'entrée/sortie en USB" mais chez moi il n'y a pas d'erreur c'est simplement "Aucun scanner n'a été détecté Veuillez vérifier que votre scanner est connecté et sous tension" quand je lance simple-scan et "Erreur de création de fichier: Permission non accordée." puis "Aucun périphérique disponible" quand je lance xsane. Et ça même en "sudo".
Je remets le retour des commandes au cas ou une âme charitable trouverai une solution. Mais j'en doute les commandes ne donne rien!

$ sudo simple-scan
[sudo] password for salival: 

(simple-scan:4664): Gtk-WARNING **: Unknown property: GtkDialog.has-separator

(simple-scan:4664): Gtk-WARNING **: Unknown property: GtkDialog.has-separator
$ sudo xsane
#rien!!#

et c'est pareil sans "sudo" bien entendu...

Dernière modification par salival (Le 20/10/2011, à 22:21)


"Il ne faut jamais prendre les gens pour des cons, mais il ne faut pas oublier qu'ils le sont."  Les Inconnus

Hors ligne

#84 Le 20/10/2011, à 22:46

fabux

Re : Script d'installation pour imprimantes Brother

@salival: bien vu pour l'emplacement du dossier. smile
Je viens de vérifier et la section à ajouter est chez moi vers la fin entre les 2 LABEL

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

ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"

LABEL="libsane_rules_end"

Tu peux aussi essayé avec scanimage -L ou sudo sane-find-scanner, réinstaller brscan2...
Enfin je viens d'y songer, mais tu as bien déplacé les fichiers de /usr/lib64 vers /usr/lib comme je te le signalais ici?

@demonipuch: pour cette histoire de dossier, j'ai commencé ça :

verif_type_scan() {
for i in 'brscan ' 'brscan2' 'brscan3' 'brscan4'
do
dependance=$(dpkg -l | grep -w "${i}" | awk '{print $2}')
if [[ ${dependance} ]]  && [[ ${Codename} == "oneiric" ]] && [[ ${Arch} == "x86_64" ]] || [[ ${Arch} == "amd64" ]]
    then echo "Copie des fichiers nécessaires pour l'usage de ${dependance}"
    copie_fichier
fi
done
}

copie_fichier() {
#copie fichier pour Oneiric 64 bits
# pour brscan
if [[ "${dependance}" == 'brscan' ]]
then
cp /usr/lib64/libbrcolm.so.1.0.1 /usr/lib/
cp /usr/lib64/libbrscandec.so.1.0.0 /us/lib/
cp /usr/lib64/sane/libsane-brother.so.1.0.7 /usr/lib/sane/
cp /usr/lib64/sane/libsane-brother.so /usr/lib/sane
cp /usr/lib64/sane/libsane-brother.so.1 /usr/lib/sane
cp /usr/lib64/libbrscandec.so.1 /usr/lib
cp /usr/lib64/libbrcolm.so /usr/lib
cp /usr/lib64/libbrcolm.so.1 /usr/lib
cp /usr/lib64/libbrscandec.so /usr/lib

# pour brscan2
elif [[ "${dependance}" == 'brscan2' ]]
then
cp /usr/lib64/libbrscandec2.so.1.0.0  /usr/lib
cp /usr/lib64/sane/libsane-brother2.so.1.0.7 /usr/lib/sane/
cp /usr/lib64/sane/libsane-brother2.so.1 /usr/lib/sane/
cp /usr/lib64/sane/libsane-brother2.so /usr/lib/sane/
cp /usr/lib64/libbrcolm2.so.1.0.1 /usr/lib
cp /usr/lib64/libbrcolm2.so /usr/lib
cp /usr/lib64/libbrscandec2.so.1 /usr/lib
cp /usr/lib64/libbrscandec2.so /usr/lib
cp /usr/lib64/libbrcolm2.so.1 /usr/lib

# pour brscan3
elif [[ "${dependance}" == 'brscan3' ]]
then
cp /usr/lib64/libbrscandec3.so.1.0.0 /usr/lib
cp /usr/lib64/sane/libsane-brother3.so.1.0.7 /usr/lib/sane/
cp /usr/lib64/sane/libsane-brother3.so.1 /usr/lib/sane/
cp /usr/lib64/sane/libsane-brother3.so /usr/lib/sane/
cp /usr/lib64/libbrscandec3.so /usr/lib
cp /usr/lib64/libbrscandec3.so.1 /usr/lib

# pour brscan4
elif [[ "${dependance}" == 'brscan4' ]]
then
cp /usr/lib64/sane/libsane-brother4.so.1.0.7 /usr/lib/sane/
cp /usr/lib64/sane/libsane-brother4.so /usr/lib/sane/
cp /usr/lib64/sane/libsane-brother4.so.1 /usr/lib/sane/
fi
}

ça semble fonctionner, mais un truc me gène (ça doit être dû aux guillemets où j'ai fini par m'y perdre entre les ' et les " ): si j'ai brscan-key mais sans brscan lui-même d'installé, il copie les fichiers dédié à brscan hmm (j'ai testé après une désinstalle de brscan où dpkg-l brscan me donne un un ainsi que brscan3 jamais installé où dpkg -l brscan3 donne Aucun paquet ne correspond et avec brscan-key, brscan2 et 4 en place, donc à priori un bon éventail des possibilités)

@rtst-2: c'est moi ou tu avais posté un truc (du code) que tu as effacé ?

edit: @salival: j'ai croisé ta réponse (encore oublié d'actualisé avant de poster roll). Tu n'as pas tout mis dans /usr/lib mais bien une partie dedans et une autre dans /usr/lib/sane? (les lignes cp dans le code ci-dessus qui t'intéresse sont dans la partie ###pour brscan2)

Dernière modification par fabux (Le 21/10/2011, à 22:19)

Hors ligne

#85 Le 20/10/2011, à 22:58

salival

Re : Script d'installation pour imprimantes Brother

@fabux: oui j'ai bien déplacé les fichiers de /usr/lib64 dans /usr/lib.
Je comprends vraiment pas pourquoi ça veut pas marcher! Surtout que maintenant l'impression fonctionne, donc l'imprimante est bien reconnue, brscan2 est biens installé, les lignes # Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes" sont ajoutées... je vois vraiment pas ? C'est quand même un peut ch@#nt tout ça.
Je pensais que tout ces pilotes seraient enfin ajouté dans le noyau 3.0 mais non c'est pareil...


"Il ne faut jamais prendre les gens pour des cons, mais il ne faut pas oublier qu'ils le sont."  Les Inconnus

Hors ligne

#86 Le 20/10/2011, à 23:42

fabux

Re : Script d'installation pour imprimantes Brother

Qu'on soit bien d'accord: tu as bien copié les fichiers /usr/lib64/sane/libsane-brother2.so.1.0.7, /usr/lib64/sane/libsane-brother2.so.1 et /usr/lib64/sane/libsane-brother2.so dans le dossier /ur/lib/sane et non dans son parent /usr/lib ?

Quand à la règle laisse tomber pour le moment, au pire ça devrait marcher avec sudo (ou gksudo) de toute façon.
Comme je te l'indique plus tôt tu as bien une ligne brother dans /etc/ sane.d/dll.conf ? test avec scanimage ou sane-find-scanner

#ça c'est pour voir de mes propres yeux (si c'est bien en "ii" et non en "un")
dpkg -l brscan2
#vérif de la ligne brother
grep -i brother /etc/sane.d/dll.conf
# test de detection
scanimage -L
sane-find-scanner
# test de numérisation
scanimage > Bureau/test_image.png

si tu ne vois rien, retest avec sudo les 3 dernières commandes.
Vois aussi si tu n'as pas un dossier .sane que tu renommerai avant de te de/reconnecter.
Et si pas mieux, tente de désinstaller (avec purge) de brscan2 (imprimante éteinte)

sudo apt-get remove --purge brscan2
wget http://www.brother.com/pub/bsc/linux/dlf/brscan2-0.2.5-1.amd64.deb
sudo dpkg -i brscan2-0.2.5-1.amd64.deb
sudo service udev restart

et tu allumes.

ps: il va peut-être falloir songer à ouvrir un thread dédié parceque là on s'éloigne je penses du script de demonipuch. À ce sujet donne le fichier brother/install.log si tu l'as toujours, il y a peut être une piste dedans.

ps bis: bonne nuit wink

Hors ligne

#87 Le 21/10/2011, à 00:25

salival

Re : Script d'installation pour imprimantes Brother

Pu@#!! quel c#n je suis!! En suivant l'explication fournie par brotherici et mal expliquée il faut quand même l'avouer : "Copy the following files under /usr/lib64/ to /usr/lib/."
J'ai tout bêtement tout copié dans /usr/lib/. J'avais pas vu le bas de la page comme j'utilse brscan2...
Merci mille et une fois fabux!! ÇA MARCHE !!
Je vous laisse en paix et je suis attentivement vos avancées.
Merci encore et bonne nuit.


"Il ne faut jamais prendre les gens pour des cons, mais il ne faut pas oublier qu'ils le sont."  Les Inconnus

Hors ligne

#88 Le 21/10/2011, à 07:14

fabux

Re : Script d'installation pour imprimantes Brother

lol cool

Hors ligne

#89 Le 21/10/2011, à 08:11

compte supprimé

Re : Script d'installation pour imprimantes Brother

@fabux;

@rtst-2: c'est moi ou tu avais posté un truc (du code) que tu as effacé ?

oui j'ai poster ceci pour ubuntu 11.10

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

et ajouter cette ligne avant The following rule will disable USB autosuspend for the device

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

voila le  /lib/udev/rules.d/40-libsane.rules sous ubuntu 11.10,

# This file was automatically created based on description files (*.desc)
# by sane-desc 3.5 from sane-backends 1.0.22 on Thu Sep 22 13:12:27 2011
#
# udev rules file for supported USB and SCSI devices
#
# The SCSI device support is very basic and includes only
# scanners that mark themselves as type "scanner" or
# SCSI-scanners from HP and other vendors that are entitled "processor"
# but are treated accordingly.
#
# To add a USB device, add a rule to the list below between the
# LABEL="libsane_usb_rules_begin" and LABEL="libsane_usb_rules_end" lines.
#
# To run a script when your device is plugged in, add RUN+="/path/to/script"
# to the appropriate rule.
#
# If your scanner isn't listed below, you can add it as explained above.
#
# If your scanner is supported by some external backend (brother, epkowa,
# hpaio, etc) please ask the author of the backend to provide proper
# device detection support for your OS
#
# If the scanner is supported by sane-backends, please mail the entry to
# the sane-devel mailing list (sane-devel@lists.alioth.debian.org).
#
ACTION!="add", GOTO="libsane_rules_end"
ENV{DEVTYPE}=="usb_device", GOTO="libsane_create_usb_dev"
SUBSYSTEMS=="scsi", GOTO="libsane_scsi_rules_begin"
SUBSYSTEM=="usb_device", GOTO="libsane_usb_rules_begin"
SUBSYSTEM!="usb_device", GOTO="libsane_usb_rules_end"

# Kernel >= 2.6.22 jumps here
LABEL="libsane_create_usb_dev"

# For Linux >= 2.6.22 without CONFIG_USB_DEVICE_CLASS=y
# If the following rule does not exist on your system yet, uncomment it
# ENV{DEVTYPE}=="usb_device", MODE="0664", OWNER="root", GROUP="root"

# Kernel < 2.6.22 jumps here
LABEL="libsane_usb_rules_begin"

# Hewlett-Packard ScanJet 4100C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0101", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4200C | Hewlett-Packard ScanJet 4200Cxi | Hewlett-Packard ScanJet 4200Cse
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0105", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 6200C | Hewlett-Packard ScanJet 6250C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0201", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 3300c
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0205", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4300c
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0305", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 5200C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0401", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 3400c
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0405", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 2100C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0505", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 6300C | Hewlett-Packard ScanJet 6350C | Hewlett-Packard ScanJet 6390C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0601", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 2200C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0605", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 5300C | Hewlett-Packard ScanJet 5370C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0701", ENV{libsane_matched}="yes"
# Hewlett-Packard scanjet 4400c
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0705", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 7400c | Hewlett-Packard ScanJet 7450c | Hewlett-Packard ScanJet 7490c
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0801", ENV{libsane_matched}="yes"
# Hewlett-Packard scanjet 4470c
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0805", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 2300C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0901", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 2400C | Hewlett-Packard ScanJet G2410
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0a01", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 8200 | Hewlett-Packard ScanJet 8250 | Hewlett-Packard ScanJet 8290
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="0b01", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 5400c
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1005", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 5470c
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1105", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4500C | Hewlett-Packard ScanJet 5550C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1205", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4570C | Hewlett-Packard ScanJet 5500C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1305", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 3670C | Hewlett-Packard ScanJet 3690C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1405", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 5590
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1705", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 7650
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1805", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 3530C | Hewlett-Packard ScanJet 3570C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2005", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 3500C
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2205", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 3970c
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2305", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4070 Photosmart
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2405", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 3800
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2605", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet G2710
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2805", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 8300 | Hewlett-Packard ScanJet 8350 | Hewlett-Packard ScanJet 8390
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3805", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 8270
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3905", ENV{libsane_matched}="yes"
# Hewlett-Packard LaserJet M1005 MFP
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="3b17", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4370
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4105", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet G3010
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4205", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet G3110
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4305", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet G4010
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4505", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet G4050
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4605", ENV{libsane_matched}="yes"
# Hewlett-Packard LaserJet M1120 MFP
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="5617", ENV{libsane_matched}="yes"
# Hewlett-Packard LaserJet M1120n MFP
ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="5717", ENV{libsane_matched}="yes"
# Mustek BearPaw 1200
ATTRS{idVendor}=="0400", ATTRS{idProduct}=="1000", ENV{libsane_matched}="yes"
# Mustek BearPaw 1200 | Mustek BearPaw 2400
ATTRS{idVendor}=="0400", ATTRS{idProduct}=="1001", ENV{libsane_matched}="yes"
# Kodak i30
ATTRS{idVendor}=="040a", ATTRS{idProduct}=="6001", ENV{libsane_matched}="yes"
# Kodak i40
ATTRS{idVendor}=="040a", ATTRS{idProduct}=="6002", ENV{libsane_matched}="yes"
# Kodak i50 | Kodak i55
ATTRS{idVendor}=="040a", ATTRS{idProduct}=="6003", ENV{libsane_matched}="yes"
# Kodak i60 | Kodak i65
ATTRS{idVendor}=="040a", ATTRS{idProduct}=="6004", ENV{libsane_matched}="yes"
# Kodak i80
ATTRS{idVendor}=="040a", ATTRS{idProduct}=="6005", ENV{libsane_matched}="yes"
# Creative WebCam Go Mini
ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4007", ENV{libsane_matched}="yes"
# Lexmark X70 | Lexmark X73
ATTRS{idVendor}=="043d", ATTRS{idProduct}=="002d", ENV{libsane_matched}="yes"
# Lexmark X74
ATTRS{idVendor}=="043d", ATTRS{idProduct}=="0060", ENV{libsane_matched}="yes"
# Lexmark X1110 | Lexmark X1130 | Lexmark X1140
# Lexmark X1150 | Lexmark X1170 | Lexmark X1180
# Lexmark X1185 | Lexmark X1195
ATTRS{idVendor}=="043d", ATTRS{idProduct}=="007c", ENV{libsane_matched}="yes"
# Lexmark X12xx
ATTRS{idVendor}=="043d", ATTRS{idProduct}=="007d", ENV{libsane_matched}="yes"
# Genius ColorPage HR6 V1
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2004", ENV{libsane_matched}="yes"
# Genius Colorpage HR6 V2
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2007", ENV{libsane_matched}="yes"
# Genius Colorpage HR6 V2
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2008", ENV{libsane_matched}="yes"
# Genius Colorpage HR6A
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2009", ENV{libsane_matched}="yes"
# Genius Colorpage Vivid3x | Genius Colorpage Vivid3 V2
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2011", ENV{libsane_matched}="yes"
# Genius Colorpage HR7
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2013", ENV{libsane_matched}="yes"
# Genius Colorpage Vivid4
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2014", ENV{libsane_matched}="yes"
# Genius Colorpage HR7LE
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2015", ENV{libsane_matched}="yes"
# Genius Colorpage HR6X
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2016", ENV{libsane_matched}="yes"
# Genius Colorpage Vivid3xe
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2017", ENV{libsane_matched}="yes"
# Genius Colorpage Vivid4xe
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="201a", ENV{libsane_matched}="yes"
# Genius Colorpage Vivid4x
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="201b", ENV{libsane_matched}="yes"
# Genius Colorpage Vivid 1200 X
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="201d", ENV{libsane_matched}="yes"
# Genius ColorPage Slim 1200
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="201e", ENV{libsane_matched}="yes"
# Genius Colorpage Vivid 1200 XE
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="201f", ENV{libsane_matched}="yes"
# Genius Colorpage SF600
ATTRS{idVendor}=="0458", ATTRS{idProduct}=="2021", ENV{libsane_matched}="yes"
# Medion/Lifetec/Tevion/Cytron MD5345 | Medion/Lifetec/Tevion/Cytron MD6228 | Medion/Lifetec/Tevion/Cytron MD6471
ATTRS{idVendor}=="0461", ATTRS{idProduct}=="0377", ENV{libsane_matched}="yes"
# Trust Office Scan USB 19200
ATTRS{idVendor}=="047b", ATTRS{idProduct}=="1000", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4300c/Silitek
ATTRS{idVendor}=="047b", ATTRS{idProduct}=="1002", ENV{libsane_matched}="yes"
# Kyocera FS-1016MFP
ATTRS{idVendor}=="0482", ATTRS{idProduct}=="0335", ENV{libsane_matched}="yes"
# Compaq S4-100
ATTRS{idVendor}=="049f", ATTRS{idProduct}=="001a", ENV{libsane_matched}="yes"
# Benq (Acer) 310U
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="1a20", ENV{libsane_matched}="yes"
# Benq (Acer) 620U
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="1a2a", ENV{libsane_matched}="yes"
# Benq (Acer) 320U | Benq (Acer) 340U | Mitsubishi Diamondview 648UT
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="2022", ENV{libsane_matched}="yes"
# Benq (Acer) 620UT
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="2040", ENV{libsane_matched}="yes"
# Benq (Acer) 640U | Guillemot / Hercules Maxi Scan A4 USB 640U | Guillemot / Hercules Maxi A4 36 bit
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="2060", ENV{libsane_matched}="yes"
# Benq (Acer) 640bu
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="207e", ENV{libsane_matched}="yes"
# Benq (Acer) 3300 | Benq (Acer) 4300 | Mitsubishi Diamondview 650U
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="20b0", ENV{libsane_matched}="yes"
# Benq (Acer) 640BT
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="20be", ENV{libsane_matched}="yes"
# Benq (Acer) 1240
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="20c0", ENV{libsane_matched}="yes"
# Benq (Acer) 3300 | Benq (Acer) 4300 | Guillemot / Hercules Scan@home Touch 1248 (USB)
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="20de", ENV{libsane_matched}="yes"
# Benq (Acer) 5000
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="20f8", ENV{libsane_matched}="yes"
# Benq (Acer) 5000E | Benq (Acer) 5000U
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="20fc", ENV{libsane_matched}="yes"
# Benq (Acer) 5300
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="20fe", ENV{libsane_matched}="yes"
# Benq (Acer) 5150 | Benq (Acer) 5250
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="2137", ENV{libsane_matched}="yes"
# BenQ 5550
ATTRS{idVendor}=="04a5", ATTRS{idProduct}=="2211", ENV{libsane_matched}="yes"
# Visioneer Visioneer OneTouch 7100
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0229", ENV{libsane_matched}="yes"
# Visioneer 9650
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0390", ENV{libsane_matched}="yes"
# Visioneer 9320
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0420", ENV{libsane_matched}="yes"
# Visioneer 9450
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0421", ENV{libsane_matched}="yes"
# Visioneer 9550
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0422", ENV{libsane_matched}="yes"
# Visioneer 9750
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0423", ENV{libsane_matched}="yes"
# Visioneer Strobe XP 450
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0424", ENV{libsane_matched}="yes"
# Visioneer Strobe XP 200
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0426", ENV{libsane_matched}="yes"
# Visioneer Strobe XP 100
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0427", ENV{libsane_matched}="yes"
# Visioneer OneTouch 7300
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0444", ENV{libsane_matched}="yes"
# Xerox DocuMate510
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0446", ENV{libsane_matched}="yes"
# Xerox DocuMate520
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0447", ENV{libsane_matched}="yes"
# Xerox DocuMate250
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0448", ENV{libsane_matched}="yes"
# Xerox DocuMate252
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0449", ENV{libsane_matched}="yes"
# Xerox DocuMate262
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="044c", ENV{libsane_matched}="yes"
# Visioneer Strobe XP 300
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0474", ENV{libsane_matched}="yes"
# Xerox DocuMate272
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0475", ENV{libsane_matched}="yes"
# Xerox DocuMate152
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0477", ENV{libsane_matched}="yes"
# Xerox DocuMate752
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0478", ENV{libsane_matched}="yes"
# Visioneer Strobe XP 470
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0479", ENV{libsane_matched}="yes"
# Visioneer 9450-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="047a", ENV{libsane_matched}="yes"
# Visioneer 9650-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="047b", ENV{libsane_matched}="yes"
# Xerox DocuMate510-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="047c", ENV{libsane_matched}="yes"
# Xerox DocuMate252-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="048c", ENV{libsane_matched}="yes"
# Xerox DocuMate262-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="048d", ENV{libsane_matched}="yes"
# Xerox DocuMate272-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="048e", ENV{libsane_matched}="yes"
# Visioneer Strobe XP 470-G | Visioneer Patriot 470
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="048f", ENV{libsane_matched}="yes"
# Xerox DocuMate250-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0490", ENV{libsane_matched}="yes"
# Visioneer Strobe XP 450-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0491", ENV{libsane_matched}="yes"
# Xerox DocuMate520-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0492", ENV{libsane_matched}="yes"
# Visioneer 9750-G
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0493", ENV{libsane_matched}="yes"
# Visioneer Roadwarrior
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0494", ENV{libsane_matched}="yes"
# Xerox DocuMate512
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0495", ENV{libsane_matched}="yes"
# Visioneer Patriot 430
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0497", ENV{libsane_matched}="yes"
# Visioneer Patriot 680 | Xerox DocuMate632
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0498", ENV{libsane_matched}="yes"
# Visioneer Patriot 780
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="0499", ENV{libsane_matched}="yes"
# Xerox DocuMate752
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="049a", ENV{libsane_matched}="yes"
# Visioneer Strobe XP 100,r3
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="049b", ENV{libsane_matched}="yes"
# Xerox DocuMate150
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="049c", ENV{libsane_matched}="yes"
# Xerox DocuMate162
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="049d", ENV{libsane_matched}="yes"
# Xerox DocuMate262i
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="04a7", ENV{libsane_matched}="yes"
# Xerox Travel Scanner 100
ATTRS{idVendor}=="04a7", ATTRS{idProduct}=="04ac", ENV{libsane_matched}="yes"
# Canon DR-2080C
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1601", ENV{libsane_matched}="yes"
# Canon CR-180 | Canon CR-180II
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1602", ENV{libsane_matched}="yes"
# Canon DR-9080C
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1603", ENV{libsane_matched}="yes"
# Canon DR-7080C
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1604", ENV{libsane_matched}="yes"
# Canon DR-5010C
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1606", ENV{libsane_matched}="yes"
# Canon DR-6080
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1607", ENV{libsane_matched}="yes"
# Canon DR-2580C
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1608", ENV{libsane_matched}="yes"
# Canon DR-3080CII
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1609", ENV{libsane_matched}="yes"
# Canon DR-2050C | Canon DR-2050SP
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="160a", ENV{libsane_matched}="yes"
# Canon DR-7580
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="160b", ENV{libsane_matched}="yes"
# Canon PIXMA MP750
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1706", ENV{libsane_matched}="yes"
# Canon PIXMA MP780
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1707", ENV{libsane_matched}="yes"
# Canon PIXMA MP760
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1708", ENV{libsane_matched}="yes"
# Canon PIXMA MP150
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1709", ENV{libsane_matched}="yes"
# Canon PIXMA MP170
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="170a", ENV{libsane_matched}="yes"
# Canon PIXMA MP450
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="170b", ENV{libsane_matched}="yes"
# Canon PIXMA MP500
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="170c", ENV{libsane_matched}="yes"
# Canon PIXMA MP800
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="170d", ENV{libsane_matched}="yes"
# Canon PIXMA MP800R
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="170e", ENV{libsane_matched}="yes"
# Canon PIXMA MP530
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1712", ENV{libsane_matched}="yes"
# Canon PIXMA MP830
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1713", ENV{libsane_matched}="yes"
# Canon PIXMA MP160
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1714", ENV{libsane_matched}="yes"
# Canon PIXMA MP180
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1715", ENV{libsane_matched}="yes"
# Canon PIXMA MP460
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1716", ENV{libsane_matched}="yes"
# Canon PIXMA MP510
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1717", ENV{libsane_matched}="yes"
# Canon PIXMA MP600
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1718", ENV{libsane_matched}="yes"
# Canon PIXMA MP600R
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1719", ENV{libsane_matched}="yes"
# Canon PIXMA MP810
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="171a", ENV{libsane_matched}="yes"
# Canon PIXMA MP960
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="171b", ENV{libsane_matched}="yes"
# Canon PIXMA MX7600
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="171c", ENV{libsane_matched}="yes"
# Canon PIXMA MP210
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1721", ENV{libsane_matched}="yes"
# Canon PIXMA MP220
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1722", ENV{libsane_matched}="yes"
# Canon PIXMA MP470
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1723", ENV{libsane_matched}="yes"
# Canon PIXMA MP520
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1724", ENV{libsane_matched}="yes"
# Canon PIXMA MP610
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1725", ENV{libsane_matched}="yes"
# Canon PIXMA MP970
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1726", ENV{libsane_matched}="yes"
# Canon PIXMA MX300
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1727", ENV{libsane_matched}="yes"
# Canon PIXMA MX310
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1728", ENV{libsane_matched}="yes"
# Canon PIXMA MX700
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1729", ENV{libsane_matched}="yes"
# Canon PIXMA MP140
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="172b", ENV{libsane_matched}="yes"
# Canon PIXMA MX850
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="172c", ENV{libsane_matched}="yes"
# Canon PIXMA MP980
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="172d", ENV{libsane_matched}="yes"
# Canon PIXMA MP630
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="172e", ENV{libsane_matched}="yes"
# Canon PIXMA MP620
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="172f", ENV{libsane_matched}="yes"
# Canon PIXMA MP540
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1730", ENV{libsane_matched}="yes"
# Canon PIXMA MP480
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1731", ENV{libsane_matched}="yes"
# Canon PIXMA MP240
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1732", ENV{libsane_matched}="yes"
# Canon PIXMA MP260
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1733", ENV{libsane_matched}="yes"
# Canon PIXMA MP190
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1734", ENV{libsane_matched}="yes"
# Canon PIXMA MX860
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1735", ENV{libsane_matched}="yes"
# Canon PIXMA MX320
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1736", ENV{libsane_matched}="yes"
# Canon PIXMA MX330
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1737", ENV{libsane_matched}="yes"
# Canon PIXMA MP250
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="173a", ENV{libsane_matched}="yes"
# Canon PIXMA MP270
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="173b", ENV{libsane_matched}="yes"
# Canon PIXMA MP490
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="173c", ENV{libsane_matched}="yes"
# Canon PIXMA MP550
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="173d", ENV{libsane_matched}="yes"
# Canon PIXMA MP560
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="173e", ENV{libsane_matched}="yes"
# Canon PIXMA MP640
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="173f", ENV{libsane_matched}="yes"
# Canon PIXMA MP990
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1740", ENV{libsane_matched}="yes"
# Canon PIXMA MX340
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1741", ENV{libsane_matched}="yes"
# Canon PIXMA MX350
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1742", ENV{libsane_matched}="yes"
# Canon PIXMA MX870
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1743", ENV{libsane_matched}="yes"
# Canon CanoScan 8800F
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1901", ENV{libsane_matched}="yes"
# Canon CanoScan LiDE 100
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1904", ENV{libsane_matched}="yes"
# Canon CanoScan LiDE 200
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1905", ENV{libsane_matched}="yes"
# Canon CanoScan LiDE 110
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="1909", ENV{libsane_matched}="yes"
# Canon CanoScan LiDE 210
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="190a", ENV{libsane_matched}="yes"
# Canon CanoScan fb630u | Canon CanoScan fb636u
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2204", ENV{libsane_matched}="yes"
# Canon CanoScan N650U/N656U
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2206", ENV{libsane_matched}="yes"
# Canon CanoScan N1220U
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2207", ENV{libsane_matched}="yes"
# Canon CanoScan D660U
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2208", ENV{libsane_matched}="yes"
# Canon CanoScan N670U/N676U/LiDE20
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="220d", ENV{libsane_matched}="yes"
# Canon CanoScan N1240U/LiDE30
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="220e", ENV{libsane_matched}="yes"
# Canon CanoScan LiDE 35 | Canon CanoScan LiDE 40 | Canon CanoScan LiDE 50
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2213", ENV{libsane_matched}="yes"
# Canon CanoScan LiDE 60
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="221c", ENV{libsane_matched}="yes"
# Canon CanoScan LiDE25
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2220", ENV{libsane_matched}="yes"
# Canon DR-1210C
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2222", ENV{libsane_matched}="yes"
# Canon PIXMA MP730
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="262f", ENV{libsane_matched}="yes"
# Canon PIXMA MP700
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2630", ENV{libsane_matched}="yes"
# Canon PIXMA MP360
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="263c", ENV{libsane_matched}="yes"
# Canon PIXMA MP370
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="263d", ENV{libsane_matched}="yes"
# Canon PIXMA MP390
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="263e", ENV{libsane_matched}="yes"
# Canon PIXMA MP375R
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="263f", ENV{libsane_matched}="yes"
# Canon PIXMA MP740
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="264c", ENV{libsane_matched}="yes"
# Canon PIXMA MP710
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="264d", ENV{libsane_matched}="yes"
# Canon imageCLASS MF5630
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="264e", ENV{libsane_matched}="yes"
# Canon laserBase MF5650
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="264f", ENV{libsane_matched}="yes"
# Canon imageCLASS MF8170c
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2659", ENV{libsane_matched}="yes"
# Canon imageCLASS MF5730
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="265d", ENV{libsane_matched}="yes"
# Canon imageCLASS MF5750
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="265e", ENV{libsane_matched}="yes"
# Canon imageCLASS MF5770
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="265f", ENV{libsane_matched}="yes"
# Canon imageCLASS MF3110
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2660", ENV{libsane_matched}="yes"
# Canon imageCLASS MF3240
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2684", ENV{libsane_matched}="yes"
# Canon imageCLASS MF6500 series
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2686", ENV{libsane_matched}="yes"
# Canon imageCLASS MF4120 | Canon imageCLASS MF4122 | Canon imageCLASS MF4140
# Canon imageCLASS MF4150
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="26a3", ENV{libsane_matched}="yes"
# Canon imageCLASS MF4690
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="26b0", ENV{libsane_matched}="yes"
# Canon imageCLASS MF4010 | Canon imageCLASS MF4018
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="26b4", ENV{libsane_matched}="yes"
# Canon imageCLASS MF4270
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="26b5", ENV{libsane_matched}="yes"
# Canon imageCLASS MF4370dn | Canon imageCLASS MF4380dn
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="26ec", ENV{libsane_matched}="yes"
# Canon imageCLASS D480
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="26ed", ENV{libsane_matched}="yes"
# Canon I-SENSYS MF4320d | Canon I-SENSYS MF4330d | Canon imageCLASS MF4350d
ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="26ee", ENV{libsane_matched}="yes"
# Nikon LS 40 ED | Nikon LS 40 ED | Nikon Coolspan IV
ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="4000", ENV{libsane_matched}="yes"
# Nikon LS 50 ED | Nikon Coolscan V ED | Nikon LS 50 ED
# Nikon Coolscan V ED
ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="4001", ENV{libsane_matched}="yes"
# Nikon Super Coolscan LS-5000 ED | Nikon Super Coolscan LS-5000 ED
ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="4002", ENV{libsane_matched}="yes"
# Epson Perfection 636U | Epson GT-7000U | Epson Perfection 636U
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0101", ENV{libsane_matched}="yes"
# Epson Perfection 610 | Epson GT-6600U | Epson Perfection 610
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0103", ENV{libsane_matched}="yes"
# Epson Perfection 1200U | Epson Perfection 1200Photo | Epson GT-7600U
# Epson GT-7600UF | Epson Perfection 1200U | Epson Perfection 1200U PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0104", ENV{libsane_matched}="yes"
# Epson Stylus Scan 2000
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0105", ENV{libsane_matched}="yes"
# Epson Stylus Scan 2500
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0106", ENV{libsane_matched}="yes"
# Epson Expression 1600 | Epson ES-2000 | Epson Expression 1600
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0107", ENV{libsane_matched}="yes"
# Epson ES-8500 | Epson Expression 1640XL
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0109", ENV{libsane_matched}="yes"
# Epson Perfection 1640 | Epson GT-8700 | Epson GT-8700F
# Epson Perfection 1640SU | Epson Perfection 1640SU PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010a", ENV{libsane_matched}="yes"
# Epson Perfection 1240 | Epson GT-7700U | Epson Perfection 1240U
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010b", ENV{libsane_matched}="yes"
# Epson Perfection 640 | Epson GT-6700U | Epson Perfection 640U
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010c", ENV{libsane_matched}="yes"
# Epson Expression 1680 | Epson ES-2200 | Epson Expression 1680
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010e", ENV{libsane_matched}="yes"
# Epson Perfection 1250 | Epson Perfection 1250Photo
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="010f", ENV{libsane_matched}="yes"
# Epson Perfection 1650 | Epson GT-8200U | Epson GT-8200UF
# Epson Perfection 1650 | Epson Perfection 1650 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0110", ENV{libsane_matched}="yes"
# Epson Perfection 2450 | Epson GT-9700F | Epson Perfection 2450 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0112", ENV{libsane_matched}="yes"
# Epson Perfection 660
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0114", ENV{libsane_matched}="yes"
# Epson Perfection 2400 | Epson GT-9300UF | Epson Perfection 2400 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011b", ENV{libsane_matched}="yes"
# Epson Perfection 3200 | Epson GT-9800F | Epson Perfection 3200 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011c", ENV{libsane_matched}="yes"
# Epson Perfection 1260 | Epson Perfection 1260Photo
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011d", ENV{libsane_matched}="yes"
# Epson Perfection 1660 | Epson GT-8300UF | Epson Perfection 1660 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011e", ENV{libsane_matched}="yes"
# Epson Perfection 1670
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="011f", ENV{libsane_matched}="yes"
# Epson Perfection 1270
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0120", ENV{libsane_matched}="yes"
# Epson Perfection 2480 | Epson Perfection 2580
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0121", ENV{libsane_matched}="yes"
# Epson Perfection 3490 | Epson Perfection 3590
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0122", ENV{libsane_matched}="yes"
# Epson ES-7000H | Epson GT-15000
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0126", ENV{libsane_matched}="yes"
# Epson Perfection 4870 | Epson GT-X700 | Epson Perfection 4870 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0128", ENV{libsane_matched}="yes"
# Epson ES-10000G | Epson Expression 10000XL
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0129", ENV{libsane_matched}="yes"
# Epson Perfection 4990 | Epson GT-X800 | Epson Perfection 4990 PHOTO
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012a", ENV{libsane_matched}="yes"
# Epson ES-H300 | Epson GT-2500
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012b", ENV{libsane_matched}="yes"
# Epson V700 | Epson V750 | Epson GT-X900
# Epson Perfection V700 Photo | Epson Perfection V750 Photo
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="012c", ENV{libsane_matched}="yes"
# Epson GT-X970
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0135", ENV{libsane_matched}="yes"
# Epson CX-5200 | Epson CX-5400 | Epson CC-600PX
# Epson Stylus CX5100 | Epson Stylus CX5200
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0801", ENV{libsane_matched}="yes"
# Epson CX-3200 | Epson CC-570L | Epson Stylus CX3100
# Epson Stylus CX3200
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0802", ENV{libsane_matched}="yes"
# Epson CX-6300 | Epson CX-6400 | Epson Stylus CX6300
# Epson Stylus CX6400
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0805", ENV{libsane_matched}="yes"
# Epson RX-600 | Epson PM-A850 | Epson Stylus Photo RX600
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0806", ENV{libsane_matched}="yes"
# Epson RX-500 | Epson Stylus Photo RX500 | Epson Stylus Photo RX510
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0807", ENV{libsane_matched}="yes"
# Epson CX-5400 | Epson Stylus CX5300 | Epson Stylus CX5400
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0808", ENV{libsane_matched}="yes"
# Epson Stylus CX-1500
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="080c", ENV{libsane_matched}="yes"
# Epson CX-4600 | Epson Stylus CX4500 | Epson Stylus CX4600
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="080d", ENV{libsane_matched}="yes"
# Epson CX-3600 | Epson CX-3650 | Epson PX-A550
# Epson Stylus CX3500 | Epson Stylus CX3600 | Epson Stylus CX3650
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="080e", ENV{libsane_matched}="yes"
# Epson RX-425 | Epson Stylus Photo RX420 | Epson Stylus Photo RX425
# Epson Stylus Photo RX430
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="080f", ENV{libsane_matched}="yes"
# Epson RX-700 | Epson PM-A900 | Epson Stylus Photo RX700
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0810", ENV{libsane_matched}="yes"
# Epson RX-620 | Epson PM-A870 | Epson Stylus Photo RX620
# Epson Stylus Photo RX630
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0811", ENV{libsane_matched}="yes"
# Epson CX-6500 | Epson CX-6600 | Epson Stylus CX6500
# Epson Stylus CX6600
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0813", ENV{libsane_matched}="yes"
# Epson PM-A700
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0814", ENV{libsane_matched}="yes"
# Epson AcuLaser CX11 | Epson AcuLaser CX11NF | Epson AcuLaser CX11
# Epson AcuLaser CX11NF | Epson LP-A500
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0815", ENV{libsane_matched}="yes"
# Epson LP-M5500 | Epson LP-M5500F
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0817", ENV{libsane_matched}="yes"
# Epson DX-3850 | Epson CX-3700 | Epson CX-3800
# Epson DX-3800 | Epson Stylus CX3700 | Epson Stylus CX3800
# Epson Stylus DX3800
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0818", ENV{libsane_matched}="yes"
# Epson CX-4800 | Epson PX-A650 | Epson Stylus CX4700
# Epson Stylus CX4800 | Epson Stylus DX4800 | Epson Stylus DX4850
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0819", ENV{libsane_matched}="yes"
# Epson PM-A750 | Epson Stylus Photo RX520 | Epson Stylus Photo RX530
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="081a", ENV{libsane_matched}="yes"
# Epson PM-A890 | Epson Stylus Photo RX640 | Epson Stylus Photo RX650
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="081c", ENV{libsane_matched}="yes"
# Epson PM-A950
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="081d", ENV{libsane_matched}="yes"
# Epson Stylus CX7700 | Epson Stylus CX7800
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="081f", ENV{libsane_matched}="yes"
# Epson CX-4200 | Epson Stylus CX4100 | Epson Stylus CX4200
# Epson Stylus DX4200
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0820", ENV{libsane_matched}="yes"
# Epson PM-A820 | Epson Stylus Photo RX560 | Epson Stylus Photo RX580
# Epson Stylus Photo RX590
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0827", ENV{libsane_matched}="yes"
# Epson PM-A970
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0828", ENV{libsane_matched}="yes"
# Epson PM-T990
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0829", ENV{libsane_matched}="yes"
# Epson PM-A920
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="082a", ENV{libsane_matched}="yes"
# Epson CX-5000 | Epson DX-5000 | Epson DX-5050
# Epson Stylus CX4900 | Epson Stylus CX5000 | Epson Stylus DX5000
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="082b", ENV{libsane_matched}="yes"
# Epson DX-6000 | Epson PX-A720 | Epson Stylus CX5900
# Epson Stylus CX6000 | Epson Stylus DX6000
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="082e", ENV{libsane_matched}="yes"
# Epson DX-4050 | Epson PX-A620 | Epson Stylus CX3900
# Epson Stylus DX4000
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="082f", ENV{libsane_matched}="yes"
# Epson ME 200 | Epson Stylus CX2800 | Epson Stylus CX2900
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0830", ENV{libsane_matched}="yes"
# Epson LP-M5600
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0833", ENV{libsane_matched}="yes"
# Epson LP-M6000
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0834", ENV{libsane_matched}="yes"
# Epson AcuLaser CX21
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0835", ENV{libsane_matched}="yes"
# Epson PM-T960
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0836", ENV{libsane_matched}="yes"
# Epson PM-A940 | Epson Stylus Photo RX680 | Epson Stylus Photo RX685
# Epson Stylus Photo RX690
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0837", ENV{libsane_matched}="yes"
# Epson DX-7400 | Epson PX-A640 | Epson Stylus CX7300
# Epson Stylus CX7400 | Epson Stylus DX7400
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0838", ENV{libsane_matched}="yes"
# Epson PX-A740 | Epson Stylus CX8300 | Epson Stylus CX8400
# Epson Stylus DX8400
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0839", ENV{libsane_matched}="yes"
# Epson PX-FA700 | Epson Stylus CX9300F | Epson Stylus CX9400Fax
# Epson Stylus DX9400F
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="083a", ENV{libsane_matched}="yes"
# Epson PM-A840 | Epson PM-A840S | Epson Stylus Photo RX585
# Epson Stylus Photo RX595 | Epson Stylus Photo RX610
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="083c", ENV{libsane_matched}="yes"
# Epson ME 300 | Epson PX-401A | Epson Stylus NX100
# Epson Stylus SX100 | Epson Stylus TX100
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0841", ENV{libsane_matched}="yes"
# Epson LP-M5000
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0843", ENV{libsane_matched}="yes"
# Epson Artisan 800 | Epson EP-901A | Epson EP-901F
# Epson Stylus Photo PX800FW | Epson Stylus Photo TX800FW
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0844", ENV{libsane_matched}="yes"
# Epson Artisan 700 | Epson EP-801A | Epson Stylus Photo PX700W
# Epson Stylus Photo TX700W
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0846", ENV{libsane_matched}="yes"
# Epson ME Office 700FW | Epson PX-601F | Epson Stylus Office BX600FW
# Epson Stylus Office TX600FW | Epson Stylus SX600FW | Epson WorkForce 600
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0847", ENV{libsane_matched}="yes"
# Epson ME Office 600F | Epson Stylus Office BX300F | Epson Stylus Office TX300F
# Epson Stylus NX300
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0848", ENV{libsane_matched}="yes"
# Epson Stylus NX200 | Epson Stylus SX200 | Epson Stylus SX205
# Epson Stylus TX200 | Epson Stylus TX203 | Epson Stylus TX209
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0849", ENV{libsane_matched}="yes"
# Epson PX-501A | Epson Stylus NX400 | Epson Stylus SX400
# Epson Stylus SX405 | Epson Stylus TX400
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="084a", ENV{libsane_matched}="yes"
# Epson WorkForce 500
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="084c", ENV{libsane_matched}="yes"
# Epson PX-402A | Epson Stylus NX110 Series | Epson Stylus SX110 Series
# Epson Stylus TX110 Series
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="084d", ENV{libsane_matched}="yes"
# Epson ME OFFICE 510 | Epson Stylus NX210 Series | Epson Stylus SX210 Series
# Epson Stylus TX210 Series
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="084f", ENV{libsane_matched}="yes"
# Epson Stylus NX410 Series | Epson Stylus SX410 Series | Epson Stylus TX410 Series
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0851", ENV{libsane_matched}="yes"
# Epson ME OFFICE 650FN Series | Epson Stylus Office BX310FN Series | Epson Stylus Office TX510FN Series
# Epson WorkForce 310 Series
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0854", ENV{libsane_matched}="yes"
# Epson PX-502A | Epson Stylus NX510 Series | Epson Stylus SX510W Series
# Epson Stylus TX550W Series
ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0856", ENV{libsane_matched}="yes"
# Fujitsu fi-4010CU
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1029", ENV{libsane_matched}="yes"
# Fujitsu fi-4120C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1041", ENV{libsane_matched}="yes"
# Fujitsu fi-4220C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1042", ENV{libsane_matched}="yes"
# Fujitsu fi-4530C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1078", ENV{libsane_matched}="yes"
# Fujitsu fi-5750C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1095", ENV{libsane_matched}="yes"
# Fujitsu fi-5110EOX/2
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1096", ENV{libsane_matched}="yes"
# Fujitsu fi-5110C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1097", ENV{libsane_matched}="yes"
# Fujitsu fi-5650C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10ad", ENV{libsane_matched}="yes"
# Fujitsu fi-4120C2
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10ae", ENV{libsane_matched}="yes"
# Fujitsu fi-4220C2
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10af", ENV{libsane_matched}="yes"
# Fujitsu fi-60F
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10c7", ENV{libsane_matched}="yes"
# Fujitsu fi-4340C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10cf", ENV{libsane_matched}="yes"
# Fujitsu fi-5120C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10e0", ENV{libsane_matched}="yes"
# Fujitsu fi-5220C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10e1", ENV{libsane_matched}="yes"
# Fujitsu fi-5530C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10e2", ENV{libsane_matched}="yes"
# Fujitsu fi-5110EOX3
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10e6", ENV{libsane_matched}="yes"
# Fujitsu fi-5900C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10e7", ENV{libsane_matched}="yes"
# Fujitsu fi-5015C
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10ef", ENV{libsane_matched}="yes"
# Fujitsu fi-5110EOXM
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10f2", ENV{libsane_matched}="yes"
# Fujitsu ScanSnap S500
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="10fe", ENV{libsane_matched}="yes"
# Fujitsu ScanSnap S500M
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1135", ENV{libsane_matched}="yes"
# Fujitsu fi-5530C2
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="114a", ENV{libsane_matched}="yes"
# Fujitsu fi-6140
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="114d", ENV{libsane_matched}="yes"
# Fujitsu fi-6240
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="114e", ENV{libsane_matched}="yes"
# Fujitsu fi-6130
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="114f", ENV{libsane_matched}="yes"
# Fujitsu fi-6230
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1150", ENV{libsane_matched}="yes"
# Fujitsu ScanSnap S510
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1155", ENV{libsane_matched}="yes"
# Fujitsu ScanSnap S300
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1156", ENV{libsane_matched}="yes"
# Fujitsu ScanSnap S510M
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="116f", ENV{libsane_matched}="yes"
# Fujitsu fi-6770
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1174", ENV{libsane_matched}="yes"
# Fujitsu fi-6770A
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1175", ENV{libsane_matched}="yes"
# Fujitsu fi-6670
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1176", ENV{libsane_matched}="yes"
# Fujitsu fi-6670A
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1177", ENV{libsane_matched}="yes"
# Fujitsu fi-6750S
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="1178", ENV{libsane_matched}="yes"
# Fujitsu ScanSnap S300M
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="117f", ENV{libsane_matched}="yes"
# Fujitsu fi-6800
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="119d", ENV{libsane_matched}="yes"
# Fujitsu fi-6800-CGA
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="119e", ENV{libsane_matched}="yes"
# Fujitsu fi-6900
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="119f", ENV{libsane_matched}="yes"
# Fujitsu fi-6900-CGA
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11a0", ENV{libsane_matched}="yes"
# Fujitsu ScanSnap S1500 | Fujitsu ScanSnap S1500M
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11a2", ENV{libsane_matched}="yes"
# Fujitsu ScanSnap S1300
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11ed", ENV{libsane_matched}="yes"
# Fujitsu fi-6125
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11ee", ENV{libsane_matched}="yes"
# Fujitsu fi-6225
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11ef", ENV{libsane_matched}="yes"
# Fujitsu fi-6145
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11f1", ENV{libsane_matched}="yes"
# Fujitsu fi-6245
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11f2", ENV{libsane_matched}="yes"
# Fujitsu fi-6135
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11f3", ENV{libsane_matched}="yes"
# Fujitsu fi-6235
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11f4", ENV{libsane_matched}="yes"
# Fujitsu fi-6110
ATTRS{idVendor}=="04c5", ATTRS{idProduct}=="11fc", ENV{libsane_matched}="yes"
# Konica e-mini
ATTRS{idVendor}=="04c8", ATTRS{idProduct}=="0722", ENV{libsane_matched}="yes"
# Panasonic KV-S2026C
ATTRS{idVendor}=="04da", ATTRS{idProduct}=="1000", ENV{libsane_matched}="yes"
# Panasonic KV-S2046C
ATTRS{idVendor}=="04da", ATTRS{idProduct}=="1001", ENV{libsane_matched}="yes"
# Panasonic KV-S1025C
ATTRS{idVendor}=="04da", ATTRS{idProduct}=="1006", ENV{libsane_matched}="yes"
# Panasonic KV-S1020C
ATTRS{idVendor}=="04da", ATTRS{idProduct}=="1007", ENV{libsane_matched}="yes"
# Panasonic KV-S2048C
ATTRS{idVendor}=="04da", ATTRS{idProduct}=="1009", ENV{libsane_matched}="yes"
# Panasonic KV-S2028C
ATTRS{idVendor}=="04da", ATTRS{idProduct}=="100a", ENV{libsane_matched}="yes"
# Panasonic KV-SS080
ATTRS{idVendor}=="04da", ATTRS{idProduct}=="100f", ENV{libsane_matched}="yes"
# Panasonic KV-S1045C
ATTRS{idVendor}=="04da", ATTRS{idProduct}=="1010", ENV{libsane_matched}="yes"
# Samsung SCX-4200
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="341b", ENV{libsane_matched}="yes"
# Samsung SCX4725-FN
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="341f", ENV{libsane_matched}="yes"
# Samsung SCX-4500
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3426", ENV{libsane_matched}="yes"
# Samsung CLX-3170fn | Samsung CLX-3175FW
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342a", ENV{libsane_matched}="yes"
# Samsung SCX-4500W
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342b", ENV{libsane_matched}="yes"
# Samsung SCX-4824
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342c", ENV{libsane_matched}="yes"
# Samsung SCX-4300
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="342e", ENV{libsane_matched}="yes"
# Samsung SCX-4600
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3433", ENV{libsane_matched}="yes"
# Samsung SCX-4623
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3434", ENV{libsane_matched}="yes"
# Samsung SCX-4825FN
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="343c", ENV{libsane_matched}="yes"
# Samsung SCX-4623FW
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="3440", ENV{libsane_matched}="yes"
# Pentax DSmobile 600
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="2038", ENV{libsane_matched}="yes"
# Aiptek Aiptek Pencam
ATTRS{idVendor}=="0553", ATTRS{idProduct}=="0202", ENV{libsane_matched}="yes"
# Mustek ScanExpress 1200 CU
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="0001", ENV{libsane_matched}="yes"
# Mustek ScanExpress 600 CU
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="0002", ENV{libsane_matched}="yes"
# Mustek ScanExpress 1200 UB | Trust Compact Scan USB 19200
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="0006", ENV{libsane_matched}="yes"
# Mustek ScanExpress 1200 CU Plus
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="0008", ENV{libsane_matched}="yes"
# Mustek BearPaw 1200 F
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="0010", ENV{libsane_matched}="yes"
# Mustek ScanExpress A3 USB
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="0210", ENV{libsane_matched}="yes"
# Mustek BearPaw 2400 CS | Mustek BearPaw 2400 TA | Trust 240TH Easy Webscan Gold
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="0218", ENV{libsane_matched}="yes"
# Mustek BearPaw 2400 CS Plus | Mustek BearPaw 2400 TA Plus | Mustek Plug-n-Scan 2400 MT
# Mustek Plug-n-Scan 2400 M | Packard Bell Diamond 2450
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="0219", ENV{libsane_matched}="yes"
# Mustek BearPaw 2448 CS Plus | Mustek BearPaw 2448 TA Plus
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="021a", ENV{libsane_matched}="yes"
# Mustek BearPaw 1200 CU Plus | Packard Bell Diamond 1200 Plus
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="021b", ENV{libsane_matched}="yes"
# Mustek BearPaw 1200 CU Plus | Mustek BearPaw 1248 CU | Packard Bell Diamond 1200 Plus
# Trust Direct WebScan 19200
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="021c", ENV{libsane_matched}="yes"
# Mustek BearPaw 2400 CU Plus
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="021d", ENV{libsane_matched}="yes"
# Mustek BearPaw 1200 CS | Mustek BearPaw 1200 TA
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="021e", ENV{libsane_matched}="yes"
# Mustek ScanExpress 1248 UB
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="021f", ENV{libsane_matched}="yes"
# Mustek BearPaw 2448TA Pro
ATTRS{idVendor}=="055f", ATTRS{idProduct}=="0409", ENV{libsane_matched}="yes"
# Artec/Ultima Ultima 2000 | Artec/Ultima Ultima 2000 e+ | Boeder Sm@rtScan Slim Edition
# Fujitsu 1200CUS | Googlegear 2000 | Medion/Lifetec/Tevion/Cytron MD 4394
# Medion/Lifetec/Tevion/Cytron MD/LT 9375 | Medion/Lifetec/Tevion/Cytron MD/LT 9385 | Medion/Lifetec/Tevion/Cytron LT 9452
# Medion/Lifetec/Tevion/Cytron MD 9458 | Mustek BearPaw 1200 CU | Mustek BearPaw 2400 CU
# Mustek ScanExpress 1200 UB Plus | Mustek ScanExpress 2400 USB | Mustek ScanMagic 1200 UB Plus
# Packard Bell Diamond 1200 | Trust Compact Scan USB 19200 | Trust Flat Scan USB 19200
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4002", ENV{libsane_matched}="yes"
# Artec/Ultima E+ 48U | Medion/Lifetec/Tevion/Cytron MD9693 | Medion/Lifetec/Tevion/Cytron MD9705
# Medion/Lifetec/Tevion/Cytron MD4394 | Microstar MR 9791
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4003", ENV{libsane_matched}="yes"
# Artec/Ultima E+ Pro
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4004", ENV{libsane_matched}="yes"
# Memorex MEM 48U
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4005", ENV{libsane_matched}="yes"
# Trust Easy Webscan 19200
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4006", ENV{libsane_matched}="yes"
# Trust 240H Easy Webscan Gold
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4007", ENV{libsane_matched}="yes"
# UMAX AstraSlim SE
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4009", ENV{libsane_matched}="yes"
# UMAX AstraSlim 1200 SE
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4010", ENV{libsane_matched}="yes"
# Yakumo Scan50
ATTRS{idVendor}=="05d8", ATTRS{idProduct}=="4011", ENV{libsane_matched}="yes"
# Microtek ScanMaker X6USB
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="0099", ENV{libsane_matched}="yes"
# Microtek SlimScan C6
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="009a", ENV{libsane_matched}="yes"
# Microtek ScanMaker V6USL
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="00a3", ENV{libsane_matched}="yes"
# Microtek ScanMaker V6UPL
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="00b6", ENV{libsane_matched}="yes"
# Microtek ScanMaker 4800
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="30cf", ENV{libsane_matched}="yes"
# Microtek ScanMaker 3840
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="30d4", ENV{libsane_matched}="yes"
# Microtek ScanMaker 3600
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="40b3", ENV{libsane_matched}="yes"
# Microtek ScanMaker 3700
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="40b8", ENV{libsane_matched}="yes"
# Microtek ScanMaker 3600
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="40ca", ENV{libsane_matched}="yes"
# Microtek ScanMaker 3700
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="40cb", ENV{libsane_matched}="yes"
# Microtek ScanMaker 3750
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="40dd", ENV{libsane_matched}="yes"
# Microtek ScanMaker 3600
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="40ff", ENV{libsane_matched}="yes"
# Microtek ScanMaker V6USL
ATTRS{idVendor}=="05da", ATTRS{idProduct}=="80a3", ENV{libsane_matched}="yes"
# iVina 1200U
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0268", ENV{libsane_matched}="yes"
# Minolta Dimage Scan Dual II
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="026a", ENV{libsane_matched}="yes"
# Avision AV600U
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a13", ENV{libsane_matched}="yes"
# Minolta-QMS SC-110
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a15", ENV{libsane_matched}="yes"
# Avision DS610CU Scancopier | Minolta-QMS SC-215 | OKI S700 Scancopier
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a16", ENV{libsane_matched}="yes"
# Avision AV600U Plus
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a18", ENV{libsane_matched}="yes"
# Avision AV610
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a19", ENV{libsane_matched}="yes"
# Avision AV220
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a23", ENV{libsane_matched}="yes"
# Avision AV210
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a24", ENV{libsane_matched}="yes"
# Avision AV210
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a25", ENV{libsane_matched}="yes"
# Avision AV120
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a27", ENV{libsane_matched}="yes"
# Avision AV220C2
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a2a", ENV{libsane_matched}="yes"
# Avision AV220D2
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a2b", ENV{libsane_matched}="yes"
# Avision AV220+
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a2c", ENV{libsane_matched}="yes"
# Avision AV220C2-G
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a2d", ENV{libsane_matched}="yes"
# Avision AV220C2-B
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a2e", ENV{libsane_matched}="yes"
# Avision AV210C2-G
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a2f", ENV{libsane_matched}="yes"
# Avision AV122
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a33", ENV{libsane_matched}="yes"
# Avision AV210C2
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a3a", ENV{libsane_matched}="yes"
# Avision AV121
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a3c", ENV{libsane_matched}="yes"
# Avision AV8300
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a40", ENV{libsane_matched}="yes"
# Avision AM3000 Series
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a41", ENV{libsane_matched}="yes"
# Avision @V5100
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a45", ENV{libsane_matched}="yes"
# Avision AV8050U
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a4d", ENV{libsane_matched}="yes"
# Avision AV3200SU
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a4e", ENV{libsane_matched}="yes"
# Avision AV3730SU
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a4f", ENV{libsane_matched}="yes"
# Avision AV610C2
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a5e", ENV{libsane_matched}="yes"
# Avision IT8300
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a61", ENV{libsane_matched}="yes"
# Avision AV3750SU
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a65", ENV{libsane_matched}="yes"
# Avision AV3850SU
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a66", ENV{libsane_matched}="yes"
# Avision AV8350
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a68", ENV{libsane_matched}="yes"
# Avision FB6080E
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a82", ENV{libsane_matched}="yes"
# Avision FB2080E
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a84", ENV{libsane_matched}="yes"
# Avision AV122 C2
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a93", ENV{libsane_matched}="yes"
# Avision AV220-G
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0a94", ENV{libsane_matched}="yes"
# Avision @V2500
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="0aa1", ENV{libsane_matched}="yes"
# Avision AV210D2+
ATTRS{idVendor}=="0638", ATTRS{idProduct}=="1a35", ENV{libsane_matched}="yes"
# Minolta Elite II
ATTRS{idVendor}=="0686", ATTRS{idProduct}=="4004", ENV{libsane_matched}="yes"
# Minolta Dimage Scan Dual III
ATTRS{idVendor}=="0686", ATTRS{idProduct}=="400d", ENV{libsane_matched}="yes"
# Minolta Dimage Scan Elite 5400
ATTRS{idVendor}=="0686", ATTRS{idProduct}=="400e", ENV{libsane_matched}="yes"
# AGFA SnapScan 1212U
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="0001", ENV{libsane_matched}="yes"
# AGFA SnapScan 1236u
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="0002", ENV{libsane_matched}="yes"
# Agfa Snapscan Touch
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="0100", ENV{libsane_matched}="yes"
# AGFA SnapScan 1212U_2
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="2061", ENV{libsane_matched}="yes"
# AGFA SnapScan e40
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="208d", ENV{libsane_matched}="yes"
# AGFA SnapScan e50
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="208f", ENV{libsane_matched}="yes"
# AGFA SnapScan e20
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="2091", ENV{libsane_matched}="yes"
# AGFA SnapScan e10
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="2093", ENV{libsane_matched}="yes"
# AGFA SnapScan e25
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="2095", ENV{libsane_matched}="yes"
# AGFA SnapScan e26
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="2097", ENV{libsane_matched}="yes"
# AGFA SnapScan e52
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="20fd", ENV{libsane_matched}="yes"
# AGFA SnapScan e42
ATTRS{idVendor}=="06bd", ATTRS{idProduct}=="20ff", ENV{libsane_matched}="yes"
# UMAX Astra 4900
ATTRS{idVendor}=="06dc", ATTRS{idProduct}=="0020", ENV{libsane_matched}="yes"
# Plustek OpticPro U12 | Plustek OpticPro UT12 | Plustek OpticPro 1212U
# RevScan RevScan Orange R48Ti | Genius ColorPage Vivid III USB
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0001", ENV{libsane_matched}="yes"
# Plustek OpticPro U12
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0010", ENV{libsane_matched}="yes"
# Plustek OpticPro U24
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0011", ENV{libsane_matched}="yes"
# Plustek OpticPro UT12
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0013", ENV{libsane_matched}="yes"
# Plustek OpticPro U24
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0015", ENV{libsane_matched}="yes"
# Plustek OpticPro UT12 | Plustek OpticPro UT16 | Plustek OpticPro UT24
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0017", ENV{libsane_matched}="yes"
# Plustek OpticPro 1248U | RevScan 19200i
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0400", ENV{libsane_matched}="yes"
# Plustek OpticPro 1248U
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0401", ENV{libsane_matched}="yes"
# Plustek OpticPro U16B
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0402", ENV{libsane_matched}="yes"
# Plustek OpticPro U16B+ | Plustek OpticPro UT16B
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0403", ENV{libsane_matched}="yes"
# Nortek MyScan 1200 | Plustek OpticPro S12 | Plustek OpticPro ST12
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="040b", ENV{libsane_matched}="yes"
# Plustek OpticPro S24
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="040e", ENV{libsane_matched}="yes"
# NeatReceipts Scanalizer Professional 2.5 | Plustek OpticSlim M12
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0412", ENV{libsane_matched}="yes"
# Plustek OpticSlim 1200
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0413", ENV{libsane_matched}="yes"
# Plustek OpticSlim 2400
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0422", ENV{libsane_matched}="yes"
# Plustek OpticSlim 2400 plus
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0454", ENV{libsane_matched}="yes"
# Plustek Iriscan Express 2
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="045f", ENV{libsane_matched}="yes"
# NeatReceipts Mobile Scanner
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0462", ENV{libsane_matched}="yes"
# Plustek OpticBook 3600
ATTRS{idVendor}=="07b3", ATTRS{idProduct}=="0900", ENV{libsane_matched}="yes"
# Corex 600c
ATTRS{idVendor}=="08f0", ATTRS{idProduct}=="0002", ENV{libsane_matched}="yes"
# Corex 800c
ATTRS{idVendor}=="08f0", ATTRS{idProduct}=="0005", ENV{libsane_matched}="yes"
# Xerox Phaser 6110MFP
ATTRS{idVendor}=="0924", ATTRS{idProduct}=="3d5d", ENV{libsane_matched}="yes"
# Xerox Phaser 3200MFP
ATTRS{idVendor}=="0924", ATTRS{idProduct}=="3da4", ENV{libsane_matched}="yes"
# Xerox WorkCentre 4118 Series
ATTRS{idVendor}=="0924", ATTRS{idProduct}=="420c", ENV{libsane_matched}="yes"
# Xerox WorkCentre 3119 Series
ATTRS{idVendor}=="0924", ATTRS{idProduct}=="4265", ENV{libsane_matched}="yes"
# Xerox WorkCentre 3210
ATTRS{idVendor}=="0924", ATTRS{idProduct}=="4293", ENV{libsane_matched}="yes"
# Xerox WorkCentre 3220
ATTRS{idVendor}=="0924", ATTRS{idProduct}=="4294", ENV{libsane_matched}="yes"
# Pentax DSmobile 600
ATTRS{idVendor}=="0a17", ATTRS{idProduct}=="3210", ENV{libsane_matched}="yes"
# Portable Peripheral Co., Ltd. Q-Scan USB001 (A4 portable scanner)
ATTRS{idVendor}=="0a53", ATTRS{idProduct}=="1000", ENV{libsane_matched}="yes"
# Syscan TravelScan 460/464 | Ambir Visigo A4
ATTRS{idVendor}=="0a82", ATTRS{idProduct}=="4600", ENV{libsane_matched}="yes"
# Syscan DocketPort 465
ATTRS{idVendor}=="0a82", ATTRS{idProduct}=="4802", ENV{libsane_matched}="yes"
# Syscan DocketPort 665
ATTRS{idVendor}=="0a82", ATTRS{idProduct}=="4803", ENV{libsane_matched}="yes"
# Syscan DocketPort 685/ Ambir DS685
ATTRS{idVendor}=="0a82", ATTRS{idProduct}=="480c", ENV{libsane_matched}="yes"
# Syscan DocketPort 485
ATTRS{idVendor}=="0a82", ATTRS{idProduct}=="4810", ENV{libsane_matched}="yes"
# Syscan TravelScan 662
ATTRS{idVendor}=="0a82", ATTRS{idProduct}=="6620", ENV{libsane_matched}="yes"
# Canon CR-55
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="160c", ENV{libsane_matched}="yes"
# Canon DR-1210C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="160f", ENV{libsane_matched}="yes"
# Canon DR-4010C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1614", ENV{libsane_matched}="yes"
# Canon DR-2510C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1617", ENV{libsane_matched}="yes"
# Canon DR-X10C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1618", ENV{libsane_matched}="yes"
# Canon CR-25
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="161a", ENV{libsane_matched}="yes"
# Canon DR-2010C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="161b", ENV{libsane_matched}="yes"
# Canon DR-3010C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="161d", ENV{libsane_matched}="yes"
# Canon DR-7090C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1620", ENV{libsane_matched}="yes"
# Canon DR-9050C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1622", ENV{libsane_matched}="yes"
# Canon DR-7550C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1623", ENV{libsane_matched}="yes"
# Canon DR-6050C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1624", ENV{libsane_matched}="yes"
# Canon DR-6010C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1626", ENV{libsane_matched}="yes"
# Canon CR-190i
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="162b", ENV{libsane_matched}="yes"
# Canon DR-6030C
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1638", ENV{libsane_matched}="yes"
# Canon CR-135i
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1639", ENV{libsane_matched}="yes"
# Digital Dream l' espion XS
ATTRS{idVendor}=="1183", ATTRS{idProduct}=="0001", ENV{libsane_matched}="yes"
# KONICA MINOLTA magicolor 1690MF
ATTRS{idVendor}=="132b", ATTRS{idProduct}=="2089", ENV{libsane_matched}="yes"
# UMAX Astra 1220U
ATTRS{idVendor}=="1606", ATTRS{idProduct}=="0010", ENV{libsane_matched}="yes"
# UMAX Astra 1600U | UMAX Astra 2000U
ATTRS{idVendor}=="1606", ATTRS{idProduct}=="0030", ENV{libsane_matched}="yes"
# Umax UMAX 3400
ATTRS{idVendor}=="1606", ATTRS{idProduct}=="0050", ENV{libsane_matched}="yes"
# Umax UMAX 3400 | Umax UMAX Astranet ia101 | Umax UMAX 3450
ATTRS{idVendor}=="1606", ATTRS{idProduct}=="0060", ENV{libsane_matched}="yes"
# UMAX Astra 4400 | UMAX Astra 4450
ATTRS{idVendor}=="1606", ATTRS{idProduct}=="0070", ENV{libsane_matched}="yes"
# UMAX Astra 2100U
ATTRS{idVendor}=="1606", ATTRS{idProduct}=="0130", ENV{libsane_matched}="yes"
# Umax UMAX 5400
ATTRS{idVendor}=="1606", ATTRS{idProduct}=="0160", ENV{libsane_matched}="yes"
# UMAX Astra 2200 (SU)
ATTRS{idVendor}=="1606", ATTRS{idProduct}=="0230", ENV{libsane_matched}="yes"
# DCT DocketPort 487
ATTRS{idVendor}=="1dcc", ATTRS{idProduct}=="4810", ENV{libsane_matched}="yes"
# Dell A920
ATTRS{idVendor}=="413c", ATTRS{idProduct}=="5105", ENV{libsane_matched}="yes"
# Dell Dell MFP Laser Printer 1815dn
ATTRS{idVendor}=="413c", ATTRS{idProduct}=="5124", ENV{libsane_matched}="yes"
# Dell 1600n
ATTRS{idVendor}=="413c", ATTRS{idProduct}=="5250", ENV{libsane_matched}="yes"

# The following rule will disable USB autosuspend for the device
ENV{libsane_matched}=="yes", RUN+="/bin/sh -c 'if test -e /sys/$env{DEVPATH}/power/control; then echo on > /sys/$env{DEVPATH}/power/control; elif test -e /sys/$env{DEVPATH}/power/level; then echo on > /sys/$env{DEVPATH}/power/level; fi'"

LABEL="libsane_usb_rules_end"

SUBSYSTEMS!="scsi", GOTO="libsane_scsi_rules_end"

LABEL="libsane_scsi_rules_begin"
# Generic: SCSI device type 6 indicates a scanner
KERNEL=="sg[0-9]*", ATTRS{type}=="6", ENV{libsane_matched}="yes"
# Some scanners advertise themselves as SCSI device type 3
# Epson Perfection 2450 | Epson Perfection 2450 PHOTO
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9700", ENV{libsane_matched}="yes"
# Epson Perfection 3200 | Epson Perfection 3200 PHOTO
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="GT-9800", ENV{libsane_matched}="yes"
# Epson Perfection 636S | Epson Perfection 1200S
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection1200", ENV{libsane_matched}="yes"
# Epson Perfection 636
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="Perfection636", ENV{libsane_matched}="yes"
# Epson GT-7000
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="EPSON", ATTRS{model}=="SCANNER GT-7000", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4p
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1130A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet IIc
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1750A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet IIp
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C1790A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet IIcx
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2500A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 4c
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C2520A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 5p
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C5110A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 6200C
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C6270A", ENV{libsane_matched}="yes"
# Hewlett-Packard ScanJet 6300C
KERNEL=="sg[0-9]*", ATTRS{type}=="3", ATTRS{vendor}=="HP", ATTRS{model}=="C7670A", ENV{libsane_matched}="yes"
LABEL="libsane_scsi_rules_end"

ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"

LABEL="libsane_rules_end"

Dernière modification par rtst-2 (Le 21/10/2011, à 11:09)

#90 Le 21/10/2011, à 12:42

fabux

Re : Script d'installation pour imprimantes Brother

nan je parlais d'un script brother (j'ai malheureusement effacé le mail de suivi de ce fil mais de mémoire il était en anglais).
Pas grave.

Hors ligne

#91 Le 21/10/2011, à 20:18

compte supprimé

Re : Script d'installation pour imprimantes Brother

Le script brother ? je cherche !.......

Dernière modification par rtst-2 (Le 22/10/2011, à 11:37)

#92 Le 21/10/2011, à 22:39

fabux

Re : Script d'installation pour imprimantes Brother

Tanpis.

Sinon j'ai regardé vite fais pour Epson.
En fait j'arrive à lister les imprimantes selon la liste indiqué ici notamment, et je souhaiterais en cherchant par exemple  Epson Stylus SX110 que ça me sorte au moins le paragraphe concerné (ou mieux directement le Package en rapport)

Comment on peut faire pour chopper un paragraphe d'après un mot dans ce paragraphe. Exemple

machin
truc
bidule

bob
aldo
mickey
tintin

je cherche à faire une recherche sur "truc" par exemple et que je récupère uniquement machin truc bidule. Si je cherche aldo, je récupère uniquement bob aldo mickey tintin.
Une idée ? (j'ai vu du grep -p traîner par si par là mais marche pas chez moi)

@demonipuch: pour la partie des copies, en fait il fallait que je mette un espace à 'brscan '. Du coup c'est bon: plus de souci si seul brscan-skey est installé, la copie ne se fait pas.
J'ai mis à jour ici. Ça devrait être désormais ok. (par contre appeler verif_type_scan après installation_scanner).
Ne pas oublier aussi la modif du echo | tee -a pour mettre /lib et non /etc.

Hors ligne

#93 Le 22/10/2011, à 10:17

compte supprimé

Re : Script d'installation pour imprimantes Brother

fabux a écrit :

nan je parlais d'un script brother (j'ai malheureusement effacé le mail de suivi de ce fil mais de mémoire il était en anglais).
Pas grave.

Ce script ?

#! /bin/bash
#
# Copyright(c) 2010 Brother Industries, Ltd.  
#    All Rights Reserved.
#
#Brother retains any and all copyrights to the Software. 
#In no case this Agreement shall be construed to assign 
#or otherwise transfer from Brother to User any copyrights 
#or other intellectual property rights to whole or any part 
#of the Software.
#
#Brother grants User a non-exclusive license: to reproduce 
#and/or distribute (via Internet or in any other manner) the 
#Software. Further, Brother grants User a non-exclusive 
#license to modify, alter, translate or otherwise prepare 
#derivative works of the Software and to reproduce and 
#distribute (via Internet or in any other manner) such 
#modification, alteration, translation or other derivative 
#works for any purpose.
#
#The license of the Software from Brother hereunder is 
#granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH
# RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING 
#BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, 
#FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
#Brother shall have no liability in contract, tort (including 
#negligence or breach of statutory duty) or otherwise for any 
#interruption of use, loss of data, or for any indirect, 
#incidental, punitive or consequential loss or damage, or for 
#any loss of profit, revenue, data, goodwill or anticipated 
#savings that arises under, out of, or in contemplation of 
#this Agreement or otherwise arises due to any error, inaccuracy 
#or defect in the Software even if Brother has been advised of 
#the possibility of such loss or damage.
#Further, Brother shall have no liability to disclose and/or 
#distribute the source cord of the Software to User under any 
#circumstances. In no case shall the above license by Brother 
#to modify, alter, translate or otherwise prepare derivative 
#works of the Software be construed as Brother's implied 
#agreement or undertakings to disclose and/or distribute the 
#source cord of the Software.



COLOR='\033[1;31m'
COLOR2='\033[1;35m'
MONO='\033[1;0m'

if [ "$(echo $0 | grep  linux-brjprinter-installer)" = '' ];then
  MESSAGE010="USAGE:  "
  MESSAGE012="     :  "
  MESSAGE020="  model"
  MESSAGE030="   -f model"
  MESSAGE040="   -l "
  MESSAGE050="Only root can perform this operation."
  MESSAGE060="CUPS is not installed."
  MESSAGE070="Do you want to specify a PROXY server? [y/N] ->"
  MESSAGE080="Enter the URL of the PROXY server."
  MESSAGE090="   ex http://(proxy-server-url):(port)"
  MESSAGE100="   ex http://(login-name):(password)@(proxy-server-url):(port)"
  MESSAGE110="     ->"
  MESSAGE120="Unable to get the server information."\
"  Please check the network settings."
  MESSAGE121="Input model name ->"
  MESSAGE122="Rpm or dpkg is required."
  MESSAGE130="Driver-packages cannot be found."
  MESSAGE140=" Confirm the model name."
  MESSAGE150="You are going to install  following packages."
  MESSAGE160="OK? [y/N]  ->"
  MESSAGE170="Do you agree? [Y/n] ->"
  MESSAGE180="Do you agree? [Y/n] ->"
  MESSAGE182="The security level of SELinux has been temporarily lowered "\
"to enable the test print."\
"  To set it permanently, modify the SELinux configuration file."
  MESSAGE184="The security level of AppArmor has been lowered."\
"  (aa-complain cups)"
  MESSAGE190="Will you specify the Device URI? [y/N] ->"
  MESSAGE200="Specify IP address."
  MESSAGE210="select the number of destination Device URI. ->"
  MESSAGE220="  enter IP address ->"
  MESSAGE230="Test Print? [y/N] ->"
  MESSAGE240="Hit Enter/Return key."
  MESSAGE250="csh/tcsh is required"
  MESSAGE260="The security level of SELinux has been lowered."\
" (semanage permissive -a cupsd_t)"
  MESSAGE270="glibc.i686/libstdc++ is requored."\
  MESSAGE280="wget is required."
else
MESSAGE010="使用方法:  "
MESSAGE012="    :  "
MESSAGE020="  モデル名"
MESSAGE030="   -f モデル名"
MESSAGE040="   -l "
MESSAGE050="権限がありません。suもしくはsudoコマンドでroot権限を取得してください。"
MESSAGE060="CUPSがインストールされていません。"
MESSAGE070="WEBã‚ˆã‚Šæƒ…å ±ã‚’å–å¾—ã§ãã¾ã›ã‚“ã€‚PROXYサーバーを指定しますか? [y/N] ->"
MESSAGE080="PROXYサーバーのURLを入力してください。"
MESSAGE090="   例1 http://(proxy-server-url):(port)"
MESSAGE100="   例2 http://(login-name):(pass-word)@(proxy-server-url):(port)"
MESSAGE110="     ->"
MESSAGE120="インターネットに接続できません。ネットワーク設定を確認してください。"
MESSAGE121="モデル名を入力してください。->"
MESSAGE122="rpmもしくはdpkgが必要です。"
MESSAGE130="該当するドライバパッケージが見つかりません。"
MESSAGE140="  モデル名を確認してください。"
MESSAGE150="以下のパッケージが見付かりました。"
MESSAGE160="インストールしますか? [y/N]  ->"
MESSAGE170="上記使用許諾に同意しますか? [Y/n] ->"
MESSAGE180="上記使用許諾に同意しますか? [Y/n] ->"
MESSAGE182="一時的にSELinuxのセキュリティレベルを下げました。恒久対策としてCUPSのセキュリティレベルをpermissiveにしてください。"
MESSAGE184="AppArmorのCUPSに対するセキュリティレベルを下げました (aa-complain cups)。"
MESSAGE190="Device URIを指定しますか? [y/N] ->"
MESSAGE200="IPアドレスの指定"
MESSAGE210="使用するDevice URIの番号を選択してください。 ->"
MESSAGE220="  ご使用のプリンタ/MFCのIPアドレスを指定してください。->"
MESSAGE230="テスト印刷を実行しますか? [y/N] ->"
MESSAGE240="Enterキーを押してください。"
MESSAGE250="csh/tcsh が必要です。"
MESSAGE260="SELinuxのCUPSに対するセキュリティレベルを下げました。"\
" (semanage permissive -a cupsd_t)"
MESSAGE270="32bitライブラリ(glibc.i686/libstdc++)が必要です 。"\
MESSAGE280="'wget'が必要です。"
fi

if [ -e "$0".rc ];then
  source "$0".rc
fi


brother_license(){
echo -e $COLOR2
if [ "$(echo $0 | grep  linux-brjprinter-installer)" = '' ];then
cat <<BROTHERLICENSE
=========================================
Brother License Agreement

Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.

Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.

The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT.
Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage.
Further, Brother shall have no liability to disclose and/or distribute the source cord of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source cord of the Software.
=========================================
BROTHERLICENSE
else
cat <<BROTHERLICENSEJ
=========================================
ブラザーソフトウェア用 公衆使用許諾契約書

本契約は、本契約とともに配布・提供されるソフトウェア (以下単に本ソフトウェアといいます) ã«é–¢ã—ã€æœ¬ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã®è‘—ä½œæ¨©è€…ã§ã‚ã‚‹ãƒ–ãƒ©ã‚¶ãƒ¼å·¥æ¥­æ ªå¼ä¼šç¤¾ (以下、ブラザーといいます) ã‹ã‚‰æœ¬ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢å—é ˜è€… (以下単に利用者といいます) に対し与えられる使用許諾について定めるものです。 åˆ©ç”¨è€…ã¯ã€ä¸‹è¨˜æ¡é …ã«å¾“ã„æœ¬ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã‚’åˆ©ç”¨ã™ã‚‹ã‚‚ã®ã¨ã—ã¾ã™ã€‚ ã¾ãŸã€åˆ©ç”¨è€…ã¯æœ¬ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã‚’åˆ©ç”¨ã™ã‚‹ã“ã¨ã«ã‚ˆã‚Šã€ä¸‹è¨˜æ¡é …ã«åŒæ„ã—ãŸã‚‚ã®ã¨è¦‹ãªã•ã‚Œã¾ã™ã€‚

(1)本ソフトウェアに関する著作権は、ブラザーに帰属します。 本契約は、本ソフトウェアについてブラザーから利用者に対し著作権の全部若しくは一部を譲渡するものとは解され得ません。 
(2)ブラザーは利用者に対し、本ソフトウェアについて複製、譲渡 ï¼ˆè‘—ä½œæ¨©ã®è­²æ¸¡ã§ã¯ãªãã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ãŒæ ¼ç´ã•ã‚ŒãŸåª’ä½“ã®è­²æ¸¡ã‚’æŒ‡ã—ã¾ã™ï¼‰ ãŠã‚ˆã³å…¬è¡†é€ä¿¡ã‚’è¡Œã†æ¨©åˆ©ã‚’ç„¡å„Ÿã«ã¦éžç‹¬å çš„ã«è¨±è«¾ã—ã¾ã™ã€‚ 
ï¼ˆï¼“ï¼‰ã•ã‚‰ã«ãƒ–ãƒ©ã‚¶ãƒ¼ã¯åˆ©ç”¨è€…ã«å¯¾ã—ã€ã„ã‹ãªã‚‹ç›®çš„ã®ãŸã‚ã«ã§ã‚‚æœ¬ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã‚’å¤‰æ›´ã€æ”¹å¤‰ã€ç¿»è¨³ã‚ã‚‹ã„ã¯æœ¬ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã®æ´¾ç”Ÿç‰©ã‚’ä½œæˆã—ã€ã‹ã¤ãã‚Œã‚‰ã«ã¤ã„ã¦è¤‡è£½ã€è­²æ¸¡åŠã³å…¬è¡†é€ä¿¡ã‚’è¡Œã†æ¨©åˆ©ã‚’ç„¡å„Ÿã«ã¦éžç‹¬å çš„ã«è¨±è«¾ã—ã¾ã™ã€‚ 
(4)ブラザーによる本ソフトウェアの配布・提供は、現状有姿にて行われるものであり、ブラザーは利用者に対し、本ソフトウェアに関し、明示・黙示問わず、何らの保証 (品質保証・有用性に関する保証・特定目的への合致に関する保証その他一切含め) も行いません。 
(5)ブラザーは本ソフトウェアに関し、利用者に生じたいかなる損害 (直接損害・間接損害・特別損害・派生損害・懲罰的損害その他一切含め) ã«ã¤ã„ã¦ã‚‚ã€ã‹ã‹ã‚‹æå®³ãŒäºˆæ¸¬å¯èƒ½ã‹å¦ã‹ã€ã¾ãŸã€ãã®å¯èƒ½æ€§ã«ã¤ã„ã¦ãƒ–ãƒ©ã‚¶ãƒ¼ãŒçŸ¥ã£ã¦ã„ãŸã‹å¦ã‹ã‚’å•ã‚ãšã€è³ å„Ÿç¾©å‹™ã‚’è² ã„ã¾ã›ã‚“ã€‚ 
ï¼ˆï¼–ï¼‰ã•ã‚‰ã«ãƒ–ãƒ©ã‚¶ãƒ¼ã¯åˆ©ç”¨è€…ã«å¯¾ã—ã€ã„ã‹ãªã‚‹å ´åˆã‚‚æœ¬ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã®ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰ã‚’é–‹ç¤ºã™ã‚‹ç¾©å‹™ã‚’è² ã„ã¾ã›ã‚“ã€‚ ä¸Šè¨˜ãƒ–ãƒ©ã‚¶ãƒ¼ã«ã‚ˆã‚‹å¤‰æ›´ã€æ”¹å¤‰ã€ç¿»è¨³ã‚ã‚‹ã„ã¯æœ¬ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã®æ´¾ç”Ÿç‰©ä½œæˆã«é–¢ã™ã‚‹ãƒ©ã‚¤ã‚»ãƒ³ã‚¹ã¯ã€ã„ã‹ãªã‚‹å ´åˆã«ã‚‚ã€æœ¬ã‚½ãƒ•ãƒˆã‚¦ã‚§ã‚¢ã®ã‚½ãƒ¼ã‚¹ã‚³ãƒ¼ãƒ‰é–‹ç¤ºã«é–¢ã™ã‚‹ãƒ–ãƒ©ã‚¶ãƒ¼ã®é»™ç¤ºçš„ãªåŒæ„ã¨ã¯è§£é‡ˆã•ã‚Œã¾ã›ã‚“ã€‚ 

=========================================
BROTHERLICENSEJ
echo -e $MONO
fi
}


gpl_license(){
echo -e $COLOR2
cat <<GPLLICENSE
=========================================
GPL License Agreement

This Software may be used in accordance with GNU General Public License (GPL). Please read carefully the following GPL and click on "I Accept" button. If you cannot agree with the following terms, please click "I don't Accept" button. In case of your non-acceptance, you can not use this Software.
Note:
Please click on "I Accept" while holding down "Shift" or right click on "I Accept" and select "Save Target As,,," from the menu.

GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

Preamble

The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to your programs, too.

When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.

To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.

For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their rights.

We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.

Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.

Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.

The precise terms and conditions for copying, distribution and modification follow.

GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".

Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.

   1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.

      You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
   2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:

      a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.

      b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.

      c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an
      announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
      
      These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.

      Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.

      In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
   3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:

      a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

      b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,

      c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you
      received the program in object code or executable form with such an offer, in accord with Subsection b above.)

      The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.

      If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
   4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
   5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying
      the Program or works based on it.
   6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
   7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.

      If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.

      It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.

      This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
   8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
   9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.

      Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
  10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.

NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Also add information on how to contact you by electronic and paper mail.

If the program is interactive, make it output a short notice like this when it starts in an interactive mode:

Gnomovision version 69, Copyright (C) year name of author Gnomovision
comes with ABSOLUTELY NO WARRANTY; for details type \`show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type \`show c' for details.

The hypothetical commands \`show w' and \`show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than \`show w' and \`show c'; they could even be mouse-clicks or menu items--whatever suits your program.

You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:

Yoyodyne, Inc., hereby disclaims all copyright interest in the program
\`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice

This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.
=========================================
GPLLICENSE
echo -e $MONO
}

echo -e  $MONO




if [ "$1" = '-h' ] || [ "$1" = '--help' ];then
   echo -e $COLOR"$MESSAGE010"$0"$MESSAGE020"$MONO    #"USAGE:  $0  model"
   echo -e $COLOR"$MESSAGE012"$0"$MESSAGE030"$MONO    #"USAGE:  $0  -f model"
   echo -e $COLOR"$MESSAGE012"$0"$MESSAGE040"$MONO    #"USAGE:  $0  -l "
   exit 0
fi

if [ $(whoami) != 'root' ];then
    echo -e  $COLOR
    sudo  $0  $*
    if [ "$?" = 0 ];then
      echo -e  $MONO
      exit 0
    fi    
    su  -c  $0  $*
    if [ "$?" = 0 ];then
      echo -e  $MONO
      exit 0
    fi
    echo -e  $COLOR$MESSAGE050$MONO       #"Only root can do this operation."
    exit 0
fi

if [ ! -e /etc/init.d/cups ] && [ ! -e /etc/init.d/cupsys ];then 
  echo -e $COLOR$MESSAGE060$MONO                  #"CUPS is not installed."
  if [ "$1" = '' ];then
    echo -e -n $COLOR$MESSAGE240$MONO    #"Hit Return/Enter Key"
    read answer
  fi
  exit 0
fi

DOWNLOADPAGE=download_prn.html
DOWNLOADPAGEJL=driver.html
DOWNLOADPAGEJC=driver_cupswrapper.html
DOWNLOADPATH="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html"
DOWNLOADPATHJL="http://solutions.brother.co.jp/support/os/linux/lpr_printer/driver.html"
DOWNLOADPATHJC="http://solutions.brother.co.jp/support/os/linux/cups_printer/driver_cupswrapper.html"
LIB64FLT=/usr/lib64/cups/filter
LIBFLT=/usr/lib/cups/filter


TESTPRINT=/usr/share/cups/data/testprint.ps
TESTPRINT2=/usr/share/cups/data/testprint



cachepage=0
if [ "$1" = '--cache' ] || [ "$2" = '--cache' ] || [ "$3" = '--cache' ];then
  cachepage=1
fi

if [ ! -e $DOWNLOADPAGE ] || [ "$cachepage" = 0 ];then

if [ "$(which wget 2> /dev/null)" = '' ];then
  if   [ "$(which yum 2>/dev/null)" != '' ];then
     echo yum install wget
     yum install wget
  elif [ "$(which apt-get 2>/dev/null)" != '' ];then
     echo apt-get install wget
     apt-get install wget
  fi
fi

if [ "$(which wget 2> /dev/null)" = '' ];then
  echo -e -n $COLOR$MESSAGE280             #"wget is required."
  echo -e $MONO
  exit 0
fi

rm -f $DOWNLOADPAGE
rm -f $DOWNLOADPAGEJL
rm -f $DOWNLOADPAGEJC

if [ "$(echo $0 | grep  linux-brjprinter-installer)" = '' ];then
  echo wget $DOWNLOADPATH
  wget $DOWNLOADPATH 2>/dev/null 1>/dev/null 
  DOWNLOADPAGEJL=''
  DOWNLOADPAGEJC=''
  DOWNLOADPAGECHK=$DOWNLOADPAGE
else
  echo wget $DOWNLOADPATHJL
  wget $DOWNLOADPATHJL 2>/dev/null 1>/dev/null 
  echo wget $DOWNLOADPATHJC
  wget $DOWNLOADPATHJC 2>/dev/null 1>/dev/null 
  DOWNLOADPAGE=''
  DOWNLOADPAGECHK=$DOWNLOADPAGEJC
fi

if [ ! -e "$DOWNLOADPAGECHK" ]  && [ "$http_proxy" = "" ];then
  echo -e -n $COLOR$MESSAGE070             #"Will you specify the PROXY server\? [y/N] ->"
  read answer
  if [ "$answer" = Y ] || [ "$answer" = y ]; then
    echo -e $COLOR$MESSAGE080         #"enter PROXY server URL "
    echo -e $COLOR$MESSAGE090         #"   ex http://\(proxy-server-url\):\(port\)"
    echo -e $COLOR$MESSAGE100         #"   ex http://\(login-name\):\(pass-word\)@\(proxy-server-url\):\(port\)"
    echo -e -n $COLOR$MESSAGE110      #"     ->"
    read proxy
  fi
  echo -e $MONO
  export http_proxy=$proxy
  if [ "$(echo $0 | grep  linux-brjprinter-installer)" = '' ];then
    echo wget $DOWNLOADPATH
    wget $DOWNLOADPATH 2>/dev/null 1>/dev/null 
    DOWNLOADPAGEJL=''
    DOWNLOADPAGEJC=''
  else
    echo wget $DOWNLOADPATHJL
    wget $DOWNLOADPATHJL 2>/dev/null 1>/dev/null 
    echo wget $DOWNLOADPATHJC
    wget $DOWNLOADPATHJC 2>/dev/null 1>/dev/null 
    DOWNLOADPAGE=''
  fi
fi

if [ ! -e "$DOWNLOADPAGE" ] && [ ! -e "$DOWNLOADPAGEJL" ] && [ ! -e "$DOWNLOADPAGEJC" ];then
  echo -e $COLOR$MESSAGE120$MONO    #"Cannot get server information. Confirm the network."
  if [ "$1" = '' ];then
    echo -e -n $COLOR$MESSAGE240$MONO    #"Hit Return/Enter Key"
    read answer
  fi
  exit 0
fi

fi           #if [ ! -e DOWNLOADPAGE ] || [ "$cachepage" = 0 ];then

if [ "$1" = '-l' ] || [ "$1" = '--list' ];then
  cat $DOWNLOADPAGE $DOWNLOADPAGEJC $DOWNLOADPAGEJL | \
  grep 'dlfile='   |\
  sed s/"^.*dlfile="/""/g |\
  sed s/"&lang=.*$"//g  |\
  sed s/"^.*hl"/hl/g  |\
  sed s/"^.*HL"/HL/g  |\
  sed s/"^.*mfc"/mfc/g  |\
  sed s/"^.*MFC"/MFC/g  |\
  sed s/"^.*dcp"/dcp/g  |\
  sed s/"^.*DCP"/DCP/g  |\
  sed s/"^.*fax"/fax/g  |\
  sed s/"^.*FAX"/FAX/g  |\
  sed s/"lpr.*$"//g     |\
  sed s/"-.*$"//g     |\
  sed s/"_.*$"//g     |\
  sed s/"cupswrapper.*$"//g     |\
  sed s/"cups.*$"//g     |\
  grep -v "http"  |\
  grep -v "GPL"  |\
  grep -v -i "cups"  |\
  tr '[a-z]' '[A-Z]' |\
  sort |\
  uniq
  if [ "$cachepage" = 0 ];then
    rm -f $DOWNLOADPAGE
    rm -f $DOWNLOADPAGEJC
    rm -f $DOWNLOADPAGEJL
  fi
  exit 0
fi



if [ "$(which dpkg 2> /dev/null)" != '' ];then
  PKGCMD='dpkg  -i --force-all'
  RMPKGCMD='dpkg  -P'
  LSPKGCMD='dpkg  --list'
  EXT='\.deb'
  PKG=deb
elif [ "$(which rpm 2> /dev/null)" != '' ];then
  PKGCMD='rpm  -ihv  --nodeps  --replacefiles'
  RMPKGCMD='rpm -e'
  LSPKGCMD='rpm -qa'
  EXT='\.rpm'
  PKG=rpm
else
  echo -e $COLOR$MESSAGE122$MONO     #"Rpm or dpkg is required."
  if [ "$cachepage" = 0 ];then
    rm -f $DOWNLOADPAGE
    rm -f $DOWNLOADPAGEJC
    rm -f $DOWNLOADPAGEJL
  fi
  if [ "$1" = '' ];then
    echo -e -n $COLOR$MESSAGE240$MONO    #"Hit Return/Enter Key"
    read answer
  fi
  exit 0
fi

if [ "$1" = '-f' ] || [ "$1" = '--find' ] || [ "$1" = '--cache' ];then
 MODEL=$(echo $2 | sed s/'-'//g)
elif [ "$1" = '' ];then
 echo -en $COLOR$MESSAGE121       #"Input model name->"
 read modelinput
 echo -e $MONO
 MODEL=$(echo $modelinput | sed s/'-'//g)
else
 MODEL=$(echo $1 | sed s/'-'//g)
fi

LPR=$(cat $DOWNLOADPAGE $DOWNLOADPAGEJC $DOWNLOADPAGEJL | \
  grep 'dlfile='   |\
  sed s/"^.*dlfile="/""/g |\
  sed s/"&lang=.*$"/""/g  |\
  grep $EXT  |\
  grep -i $MODEL  |\
  grep -i lpr  |\
  head -n 1)

CUPS=$(  cat $DOWNLOADPAGE $DOWNLOADPAGEJC $DOWNLOADPAGEJL  | \
  grep 'dlfile='   |\
  sed s/"^.*dlfile="/""/g |\
  sed s/"&lang=.*$"/""/g  |\
  grep $EXT  |\
  grep -i $MODEL  |\
  grep -i cups  |\
  head -n 1)




if [ "$CUPS" = '' ] || [ "$LPR" = '' ];then
  echo -e $COLOR$MESSAGE130$MONO     #"Install packages does not be found."
  echo -e $COLOR$MESSAGE140$MONO     #" Confirm the model name."
  if [ "$cachepage" = 0 ];then
    rm -f $DOWNLOADPAGE
    rm -f $DOWNLOADPAGEJC
    rm -f $DOWNLOADPAGEJL
  fi
  if [ "$1" = '' ];then
    echo -e -n $COLOR$MESSAGE240$MONO    #"Hit Return/Enter Key"
    read answer
  fi
  exit 0
fi


if [ "$1" = '-f' ] || [ "$1" = '--find' ];then
  echo $LPR
  echo $CUPS
  if [ "$cachepage" = 0 ];then
    rm -f $DOWNLOADPAGE
    rm -f $DOWNLOADPAGEJC
    rm -f $DOWNLOADPAGEJL
  fi
  exit 0
fi


LPRFILE=$(echo $LPR | sed s/"^.*\/"//g)
CUPSFILE=$(echo $CUPS | sed s/"^.*\/"//g)

if [ "$PKG" = deb ];then
  PREPKGCMDC="dpkg  -x $CUPSFILE /"
  PREPKGCMDL="dpkg  -x $LPRFILE /"
else
  PREPKGCMDC=''
  PREPKGCMDL=''
fi

if [ "$cachepage" = 0 ];then
  rm -f $DOWNLOADPAGE
  rm -f $DOWNLOADPAGEJC
  rm -f $DOWNLOADPAGEJL
fi

echo -e $COLOR$MESSAGE150$MONO      #"You are going to install  following packages."
echo -e $COLOR"   "$LPRFILE$MONO
echo -e $COLOR"   "$CUPSFILE$MONO
echo -e -n $COLOR$MESSAGE160        #"OK\? [y/N]  ->"

read answer
echo -e $MONO

if [ "$answer" != Y ] && [ "$answer" != y ]; then
    exit 0
fi

if ! [ -e "$LPRFILE" ];then
brother_license

echo -e -n $COLOR$MESSAGE170        #"Are you agree\? [Y/n] ->"

read answer
echo -e $MONO

if [ "$answer" = N ] || [ "$answer" = n ]; then
  exit 0
fi
if [ "$(which wget 2> /dev/null)" = '' ];then
  echo -e -n $COLOR$MESSAGE280             #"wget is required."
  echo -e $MONO
  exit 0
fi
if [ cachepage = '0' ] || [ ! -e $LPRFILE ];then
  rm -f $LPRFILE
  wget $LPR
fi
fi 

if ! [ -e "$CUPSFILE" ];then

gpl_license

echo -e -n $COLOR$MESSAGE180          #"Do you agree\? [Y/n] ->"
read answer
echo -e $MONO

if [ "$answer" = N ] || [ "$answer" = n ]; then
  exit 0
fi
if [ "$(which wget 2> /dev/null)" = '' ];then
  echo -e -n $COLOR$MESSAGE280             #"wget is required."
  echo -e $MONO
  exit 0
fi

if [ cachepage = '0' ] || [ ! -e $CUPSFILE ];then
  rm -f $CUPSFILE
  wget $CUPS
fi

fi

cpu64=$(uname -m | grep "amd64")
if [ "$cpu64" = '' ];then
  cpu64=$(uname -m | grep "x86_64")
fi
if [ "$cpu64" != '' ];then
  if [ "$(which dpkg 2>/dev/null)" != '' ];then
    apt-get update
    ia32=$(dpkg -l | grep "ia32-libs")
    if [ "$ia32" = '' ];then
       apt-get install ia32-libs
    fi
    lib32=$(dpkg -l | grep "lib32stdc++6")
    if [ "$lib32" = '' ];then
       apt-get install lib32stdc++6
    fi
  fi
  #----------- check Fedor 64 --------------
  if [ -e /etc/fedora-release ] || [ -e /etc/fedora ]; then
    lib32=$(rpm -qa| grep glibc | grep i686)
    if [ "$lib32" = "" ];then
      echo yum install  glibc.i686
      yum install  glibc.i686
    fi
  fi
fi


DUMMYCUPSYS=0
DUMMYCUPS=0
DUMMYLPD=0
DUMMYLPRNG=0
if ! [ -e /etc/init.d/cupsys ];then
 DUMMYCUPSYS=1
 ln -s /bin/echo  /etc/init.d/cupsys
fi

if ! [ -e /etc/init.d/cups ];then
 DUMMYCUPS=1
 ln -s /bin/echo  /etc/init.d/cups
fi

if ! [ -e /etc/init.d/lpd ];then
 DUMMYLPD=1
 ln -s /bin/echo  /etc/init.d/lpd
fi

if ! [ -e /etc/init.d/lprng ];then
 DUMMYLPRNG=1
 ln -s /bin/echo  /etc/init.d/lprng
fi

LPADMIN=lpadmin
LPINFO=lpinfo

if ! [ "$(which $LPADMIN)" ];then
   LPADMIN=/usr/sbin/lpadmin
fi

if ! [ "$(which $LPINFO)" ];then
  LPINFO=/usr/sbin/lpinfo
fi


mkmodeldir=0
if [ ! -e /usr/share/cups/model ];then
  mkdir -p /usr/share/cups/model
  mkmodeldir=1
fi


if [ "$PREPKGCMDL" != '' ];then
  echo  $PREPKGCMDL
  $PREPKGCMDL
fi
if [ "$PREPKGCMDC" != '' ];then
  echo  $PREPKGCMDC
  $PREPKGCMDC  
fi


$PKGCMD  $LPRFILE
$PKGCMD  $CUPSFILE  |  tee /tmp/brother_linux_brprinter_installer.tmp
csherr=$(cat /tmp/brother_linux_brprinter_installer.tmp | \
      grep 'ERROR: csh is required') 

if [ "$csherr" != "" ];then
    echo -e -n $COLOR
    echo $MESSAGE250
    echo -e $MONO
    exit 0
fi

PRINTER=$(echo $CUPSFILE |\
  tr '[a-z]' '[A-Z]' |\
  sed s/"^.*HL"/HL/g  |\
  sed s/"^.*MFC"/MFC/g  |\
  sed s/"^.*DCP"/DCP/g  |\
  sed s/"^.*FAX"/FAX/g  |\
  sed s/"LPR.*$"//g     |\
  sed s/"CUPS.*$"//g     |\
  sed s/"-.*$"//g     |\
  sed s/"_.*$"//g     |\
  sed s/"CUPSWRAPPER.*$"//g)


#wait for installation end

retry='0'

while [ ! -e /etc/cups/ppd/"$PRINTER".ppd ] && [ "$retry" -le 60 ] ;do
   sleep 1
   retry=$(($retry+1))
done

#------------

if [ "$DUMMYCUPS" = 1 ];then
  if [ "$(ls -al /etc/init.d/cups | grep ^l)" != '' ];then
    rm /etc/init.d/cups
  fi
fi

if [ "$DUMMYCUPSYS" = 1 ];then
  if [ "$(ls -al /etc/init.d/cupsys | grep ^l)" != '' ];then
    rm /etc/init.d/cupsys
  fi
fi

if [ "$DUMMYLPD" = 1 ];then
  if [ "$(ls -al /etc/init.d/lpd | grep ^l)" != '' ];then
    rm /etc/init.d/lpd
  fi
fi

if [ "$DUMMYLPRNG" = 1 ];then
  if [ "$(ls -al /etc/init.d/lprng | grep ^l)" != '' ];then
    rm /etc/init.d/lprng
  fi
fi

#------------



# for SuSE 64
if [ "$cpu64" != "" ];then
  if [ -e "$LIB64FLT" ];then
    filter32=$(ls $LIBFLT   | grep -i $PRINTER | head -n 1)
    filter64=$(ls $LIB64FLT | grep -i $PRINTER | head -n 1)
    if [ "$filter32" != '' ] && [ "$filter64" = '' ];then
      cp "$LIBFLT"/$filter32   $LIB64FLT
      echo $LPADMIN -p $PRINTER -E
      $LPADMIN -p $PRINTER -E
    fi
  fi
fi


## /usr/lib32
LPRPKGNAME=$(echo $LPRFILE       |\
             sed s/"_.*$"//g     |\
             sed s/"-.*$"//g)

if [ $PKG = deb ];then
  files=$(dpkg -L $LPRPKGNAME | grep '/usr/lib/')
fi


if [ $PKG = rpm ];then
  files=$(rpm -q --filesbypkg $LPRPKGNAME | \
    grep '/usr/lib/' | \
    sed s/"$LPRPKGNAME"//g | \
    sed s/' '//g)
fi


uninstaller=uninstaller_"$PRINTER"
rm   -f $uninstaller
echo "#!  /bin/bash"                                       > $uninstaller



for pathlib in $files
do
  pathlib32lib=$(echo $pathlib | \
                 sed s/'\/usr\/lib\/'/'\/usr\/lib32\/'/g)

  if [ -e '/usr/lib32' ];then
     if [ ! -e "$pathlib32lib" ]; then
         echo ln -s $pathlib  $pathlib32lib
     ln -s $pathlib  $pathlib32lib
     echo  "rm  $pathlib32lib"                        >> $uninstaller
     fi
  fi
done


## /usr/lib32

## /lib/lib32 symlink


for pathlib in $(ls "$(echo "$files"|sed -e s/so.*//)"*)
do
  if [ -e '/usr/lib32' ];then
      pathlib32lib=$(echo $pathlib | sed -e s/"usr\/lib"/"usr\/lib32"/)
      if [ ! -e "$pathlib32lib" ]; then
      echo ln -s /usr/lib/$pathlib $pathlib32lib  
      ln -s $pathlib  $pathlib32lib
      echo  "rm  $pathlib32lib"                       >> $uninstaller
      fi
  fi
done
## /lib/lib32 symlink


echo -e -n $COLOR$MESSAGE190         #"Will you specify the Device URI\? [y/N] ->"
read answer
echo -e $MONO

if [ "$answer" = y ] || [ "$answer" = Y ]; then
  duri=$($LPINFO -v  | sed s/'^.* '//g)
  i=0
  for device in $duri
  do
    echo $i: $device
    i=$(($i+1))
  done
  echo -e  $i "(I)": $MESSAGE200   #"Specify IP address."

  echo -e -n  $COLOR$MESSAGE210       #"select the number of distination Device URI. ->"
  read answer
  echo -e $MONO

  if [ "$answer" = "$i" ] || \
     [ "$answer" = 'IP' ] || \
     [ "$answer" = 'ip' ] || \
     [ "$answer" = 'Ip' ] || \
     [ "$answer" = 'i' ] || \
     [ "$answer" = 'I' ];then
    echo -e -n $COLOR$MESSAGE220          #"  enter IP address ->"
    read ip
    echo -e $MONO
    echo $LPADMIN -p $PRINTER -v socket://$ip -E
    $LPADMIN -p $PRINTER -v socket://$ip -E
  elif [ "$answer" = 'F' ] || [ "$answer" = 'f' ];then
    echo -e $MONO
    echo $LPADMIN -p $PRINTER -v file:///tmp/printdata.prn -E
    $LPADMIN -p $PRINTER -v file:///tmp/printdata.prn -E
  else
   i=0
   for device in $duri
   do
     if [ "$i" = "$answer" ];then
       echo $LPADMIN -p $PRINTER -v $device -E
       $LPADMIN -p $PRINTER -v $device -E
     fi
     i=$(($i+1))
   done
  fi
fi

if [ "$(which aa-complain  2> /dev/null)" != '' ];then
    echo -e $COLOR$MESSAGE184$MONO          #"AppArmor"
    echo  aa-complain cupsd
    aa-complain cupsd
fi


if [ "$(which semanage 2>/dev/null)" != '' ];then
    echo -e $COLOR$MESSAGE260$MONO          #"AppArmor"
    echo semanage permissive -a cupsd_t
    semanage permissive -a cupsd_t
fi

#if [ "$(which setenforce  2> /dev/null)" != '' ];then
#   echo -e $COLOR$MESSAGE182$MONO          #"SELinux"
#   echo setenforce 0
#   setenforce 0
#fi 





echo -e -n $COLOR$MESSAGE230         #"Test Print \? [y/N]. ->"
read answer
echo -e $MONO

if [ "$answer" = Y ] || [ "$answer" = y ]; then
  echo  wait 5s.
  sleep 5

  if [ -e $TESTPRINT ];then
    echo lpr  -P $PRINTER $TESTPRINT
    lpr  -P "$PRINTER" "$TESTPRINT"
  elif [ -e $TESTPRINT2 ];then
    echo lpr  -P $PRINTER $TESTPRINT2
    lpr  -P "$PRINTER" "$TESTPRINT2"
  else
    echo "echo $PRINTER \| lpr  -P $PRINTER"
    echo "$PRINTER" | lpr  -P "$PRINTER"
  fi
fi

# Make uninstaller   : daemon symlink

LPRPKGNAME=$(echo $LPRFILE       |\
             sed s/"_.*$"//g     |\
             sed s/"-.*$"//g)
CUPSPKGNAME=$(echo $CUPSFILE    |\
             sed s/"_.*$"//g     |\
             sed s/"-.*$"//g)






echo "if ! [ -e /etc/init.d/cupsys ];then"           >>$uninstaller
echo " DUMMYCUPSYS=1"                                >>$uninstaller
echo " ln -s /bin/echo  /etc/init.d/cupsys"          >>$uninstaller
echo "fi"                                            >>$uninstaller

echo "if ! [ -e /etc/init.d/cups ];then"             >>$uninstaller
echo " DUMMYCUPS=1"                                  >>$uninstaller
echo " ln -s /bin/echo  /etc/init.d/cups"            >>$uninstaller
echo "fi"                                            >>$uninstaller

echo "if ! [ -e /etc/init.d/lpd ];then"              >>$uninstaller
echo " DUMMYLPD=1"                                   >>$uninstaller
echo " ln -s /bin/echo  /etc/init.d/lpd"             >>$uninstaller
echo "fi"                                            >>$uninstaller

echo "if ! [ -e /etc/init.d/lprng ];then"            >>$uninstaller
echo " DUMMYLPRNG=1"                                 >>$uninstaller
echo " ln -s /bin/echo  /etc/init.d/lprng"           >>$uninstaller
echo "fi"                                            >>$uninstaller




#
#rm cupswrapper driver
echo "$PREPKGCMDC"                                   >>$uninstaller
echo "$RMPKGCMD    $CUPSPKGNAME"                     >>$uninstaller
#
#rm lpd driver
echo "$PREPKGCMDL"                                   >>$uninstaller
echo "$RMPKGCMD    $LPRPKGNAME"                      >>$uninstaller


if [ "$DUMMYCUPS" = 1 ]   || \
   [ "$DUMMYCUPSYS" = 1 ] || \
   [ "$DUMMYLPD" = 1 ]    || \
   [ "$DUMMYLPRNG" = 1 ];then


echo 'if [ "$DUMMYCUPS" = 1 ];then'                  >>$uninstaller
echo '  lsc=$(ls -al /etc/init.d/cups | grep ^l )'   >>$uninstaller
echo '  if [ "$lsc" != "" ];then'                    >>$uninstaller
echo '    rm /etc/init.d/cups'                       >>$uninstaller
echo '  fi'                                          >>$uninstaller
echo 'fi'                                            >>$uninstaller
echo ''                                              >>$uninstaller

echo 'if [ "$DUMMYCUPSYS" = 1 ];then'                >>$uninstaller
echo '  lsc=$(ls -al /etc/init.d/cupsys | grep ^l )' >>$uninstaller
echo '  if [ "$lsc" != "" ];then'                    >>$uninstaller
echo '    rm /etc/init.d/cupsys'                     >>$uninstaller
echo '  fi'                                          >>$uninstaller
echo 'fi'                                            >>$uninstaller
echo ''                                              >>$uninstaller

echo 'if [ "$DUMMYLPD" = 1 ];then'                   >>$uninstaller
echo '  lsc=$(ls -al /etc/init.d/lpd | grep ^l )'    >>$uninstaller
echo '  if [ "$lsc" != "" ];then'                    >>$uninstaller
echo '    rm /etc/init.d/lpd'                        >>$uninstaller
echo '  fi'                                          >>$uninstaller
echo 'fi'                                            >>$uninstaller
echo ''                                              >>$uninstaller

echo 'if [ "$DUMMYLPRNG" = 1 ];then'                 >>$uninstaller
echo '  lsc=$(ls -al /etc/init.d/lprng | grep ^l )'  >>$uninstaller
echo '  if [ "$lsc" != "" ];then'                    >>$uninstaller
echo '    rm /etc/init.d/lprng'                      >>$uninstaller
echo '  fi'                                          >>$uninstaller
echo 'fi'                                            >>$uninstaller


fi 






chmod 744 $uninstaller

if [ "$1" = '' ];then
  echo -e -n $COLOR$MESSAGE240$MONO    #"Hit Return/Enter Key"
  read answer
fi
exit 0

le lien !

#94 Le 22/10/2011, à 10:24

demonipuch

Re : Script d'installation pour imprimantes Brother

Salut à tous

je cherche à faire une recherche sur "truc" par exemple et que je récupère uniquement machin truc bidule. Si je cherche aldo, je récupère uniquement bob aldo mickey tintin.
Une idée ? (j'ai vu du grep -p traîner par si par là mais marche pas chez moi)

grep -A 1 -B 1

Bon sinon j'ai un peu de temps libre aujourd'hui, j'vais essayer d'apporter les modifs au script.

edit : je viens de voir le post de rtst-2... on se fait ch*#$ à faire un script d'install alors que brother en propose un sur son site lolmadroll
bon j'vais y jetter un coup d'oeil, y'a surement des trucs à récupérer dedans ^^

edit 2 : grep -A 1 -B 1 ne semble pas vraiment correspondre à ce que tu recherche en fait...ca m'apprendra à lire trop vite..

Dernière modification par demonipuch (Le 22/10/2011, à 10:28)

Hors ligne

#95 Le 23/10/2011, à 22:43

fabux

Re : Script d'installation pour imprimantes Brother

@rtst-2: tu as fini pas trouver ça comment ?

@demonipuch: Merci même si ce n'est effectivement pas tout à fais ça. Mais j'ai fini par trouver avec awk (c'est crade mais ça marche)

Hors ligne

#96 Le 24/10/2011, à 12:41

compte supprimé

Re : Script d'installation pour imprimantes Brother

@fabux; j'ai fini par trouver le script big_smile
Dit moi le fichier recently-used.xbel sous ubuntu 11.10 dans le dossier personnel > .local > share il as un rapport avec l’imprimante ?
peut-être que c'est lui la cause qui foire les imprimantes suite a une mise a niveau vers la 11.10 ?

Dernière modification par rtst-2 (Le 24/10/2011, à 12:50)

#97 Le 24/10/2011, à 13:36

fabux

Re : Script d'installation pour imprimantes Brother

Je ne penses pas. Je penses qu'il s'agit d'un truc style Documents Récents (flemme de passer sous Gnome pour vérifier).
Pour le foirage, je dirais plutôt que c'est l' histoire des copies des lib64 vers lib qu'il faut faire à la mano.

Concernant le script, je demandais plus comment tu as fini par le trouver sur le site brother, sur quel lien tu as cliqué dans leur site pour arriver sur la page de téléchargement de ce script.

Sinon j'ai avancé pour faire Epson en plus de Brother et Canon. Le script actuel est .
Le code est très certainement à améliorer/optimiser (je fais avec ce que je connais et découvre au fur et à mesure désolé)

Hors ligne

#98 Le 24/10/2011, à 14:08

compte supprimé

Re : Script d'installation pour imprimantes Brother

Concernant le script, je demandais plus comment tu as fini par le trouver sur le site brother,

FAQs & TroubleShooting + Printer + I'm finding it difficult to install the printer driver. + Click here to download the tool. ,
1319461947.png

Dernière modification par rtst-2 (Le 24/10/2011, à 14:13)

#99 Le 24/10/2011, à 14:40

compte supprimé

Re : Script d'installation pour imprimantes Brother

Pour le script epson j'ai tester pour la SX-415 sous ubuntu 11.10 au chois de l'imprimante il ne sélection pas de modèle avec le clic de la souris !
dans cette étape,
1319463308.png
le fichier log!

+ verif_dep
++ echo -e '[1m[33m ######### Script d'\''installation d'\''imprimante ########\n\n    [32m   ---- ----  Bonjour  ---- ----(B[m\n\nAvez vous lancé ce script en tant qu'\''[31m[1madministrateur(B[m ?\nLa dépendance de [31m[1mZenity(B[m est-elle satisfaite ?\nMerci de valider en appuyant sur la touche [31m[1mO(B[m. '
+ Question='[1m[33m ######### Script d'\''installation d'\''imprimante ########

    [32m   ---- ----  Bonjour  ---- ----(B[m

Avez vous lancé ce script en tant qu'\''[31m[1madministrateur(B[m ?
La dépendance de [31m[1mZenity(B[m est-elle satisfaite ?
Merci de valider en appuyant sur la touche [31m[1mO(B[m. '
+ clear
+ echo -e '[1m[33m ######### Script d'\''installation d'\''imprimante ########

    [32m   ---- ----  Bonjour  ---- ----(B[m

Avez vous lancé ce script en tant qu'\''[31m[1madministrateur(B[m ?
La dépendance de [31m[1mZenity(B[m est-elle satisfaite ?
Merci de valider en appuyant sur la touche [31m[1mO(B[m. '
+ read -n1 -s -p '[1m[33m ######### Script d'\''installation d'\''imprimante ########

    [32m   ---- ----  Bonjour  ---- ----(B[m

Avez vous lancé ce script en tant qu'\''[31m[1madministrateur(B[m ?
La dépendance de [31m[1mZenity(B[m est-elle satisfaite ?
Merci de valider en appuyant sur la touche [31m[1mO(B[m. ' Reponse
[1m[33m ######### Script d'installation d'imprimante ########

    [32m   ---- ----  Bonjour  ---- ----(B[m

Avez vous lancé ce script en tant qu'[31m[1madministrateur(B[m ?
La dépendance de [31m[1mZenity(B[m est-elle satisfaite ?
Merci de valider en appuyant sur la touche [31m[1mO(B[m. + [[ o != [Oo] ]]
+ avertissement
+ zenity --info --title=Avertissement '--text=Vous allez lancer l'\''installation de votre imprimante depuis un script proposé par des contributeurs.

Les procédures d'\''installations utilisées sont telles que décrites sur :
- <a href='\''http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html'\''><b>Le site du constructeur</b></a> pour les imprimantes Brother,
- <a href='\''https://launchpad.net/~michael-gruz/+archive/canon'\''><b>Le ppa de michael-gruz</b></a> pour les imprimantes Canon,
- <a href='\''http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/'\''><b>Cette page</b></a> et <a href='\''http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escpr/'\''><b>celle-ci</b></a> du site Avasys pour les imprimantes Epson.

Si vous rencontrez un problème pendant l'\''utilisation de celui-ci, merci de poster le fichier 
<b>/home/ubuntu/Bureau/install.log</b> 
sur <a href='\''http://forum.ubuntu-fr.org/viewtopic.php?pid=6417381'\''><b>le forum ubuntu-fr.org</b>.</a>'

Gtk-WARNING **: Ran out of links

Gtk-WARNING **: Ran out of links

Gtk-WARNING **: Ran out of links

Gtk-WARNING **: Ran out of links

Gtk-WARNING **: Ran out of links

Gtk-WARNING **: Ran out of links

Gtk-WARNING **: Ran out of links
+ select_marque
++ zenity --list --radiolist --width=400 --height=220 '--title=Choix de la marque' '--text=Choisissez votre marque d'\''imprimante :' --column= --column=Marques FALSE Brother FALSE Canon FALSE Epson
+ Marque=Epson
+ [[ Epson == \B\r\o\t\h\e\r ]]
+ [[ Epson == \C\a\n\o\n ]]
+ [[ Epson == \E\p\s\o\n ]]
+ INSTALL_EPS
+ Adresse_escp='http:\/\/linux.avasys.jp\/drivers\/lsb\/epson-inkjet\/stable\/debian\/'
+ Adresse_escpr=http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escpr/
+ licence_epson
+ zenity --question --title=Avertissement '--text=L'\''installation des drivers selon la méthode choisi par ce script, nécessite de prendre connaissance de la licence que vous trouverez <a href='\''http://avasys.jp/eng/linux_driver/se_terms_2_en.php'\''><b>ici</b></a>.

<b>Continuer ?</b>'
+ [[ 0 == 1 ]]
+ telechargement
+ echo -e '[34mTéléchargement de la liste des imprimantes disponibles pour votre système\nMerci de patienter(B[m'
+ wget http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escpr/ -O index_epson
--2011-10-24 15:25:52--  http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escpr/
Résolution de avasys.jp... 115.146.61.88
Connexion vers avasys.jp|115.146.61.88|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: non spécifié [text/html]
Sauvegarde en : «index_epson»

     0K .......... ........                                    30,1K=0,6s

2011-10-24 15:25:54 (30,1 KB/s) - «index_epson» sauvegardé [19271]

+ [[ x86_64 == \i\3\8\6 ]]
+ [[ x86_64 == \i\6\8\6 ]]
+ [[ x86_64 = \x\8\6\_\6\4 ]]
++ echo 'http:\/\/linux.avasys.jp\/drivers\/lsb\/epson-inkjet\/stable\/debian\/dists/lsb3.2/main/binary-amd64/Packages'
++ sed 's/\\//g'
+ Pkg_list=http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/debian/dists/lsb3.2/main/binary-amd64/Packages
+ wget -q http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/debian/dists/lsb3.2/main/binary-amd64/Packages -O Paquets_EPS_oneiric_x86_64
+ choix_escpr
++ awk -vRS= '/Applicable Models/' index_epson
++ grep '<li>[^ \<a]'
++ sed 's/<li>//g;s/<\/li>/ \n/g;s/\t//g;s/<\/ul><\/td><td><ul style="white-space: nowrap;">//g;s/<\/ul>//g'
+ liste='Artisan 700 
Artisan 710 
Artisan 725 
Artisan 730 
Artisan 800 
Artisan 810 
Artisan 835 
Artisan 837 
E-200 
E-300 
E-330 
E-340P 
E-340S 
E-500 
E-520 
E-530C 
E-530P 
E-530S 
E-700 
E-720 
E-810 
EP-702A 
EP-703A 
EP-704A 
EP-774A 
EP-801A 
EP-802A 
EP-803A 
EP-803AW 
EP-804A 
EP-804AR 
EP-804AW 
EP-901A 
EP-901F 
EP-902A 
EP-903A 
EP-903F 
EP-904A 
EP-904F 
Epson ME OFFICE 520 
Epson ME OFFICE 560W 
Epson ME OFFICE 620F 
Epson ME OFFICE 900WD 
Epson ME OFFICE 960FWD 
Epson ME Office 510 
Epson ME Office 600F 
Epson ME Office 650FN 
Epson ME Office 700FW 
Epson Stylus CX3700 
Epson Stylus CX3800 
Epson Stylus CX3900 
Epson Stylus CX4200 
Epson Stylus CX4900 
Epson Stylus CX5000 
Epson Stylus CX5900 
Epson Stylus CX7400 
Epson Stylus CX7700 
Epson Stylus CX7800 
Epson Stylus CX9400Fax 
Epson Stylus DX4000 
Epson Stylus DX4200 
Epson Stylus DX5000 
Epson Stylus ME200 
Epson Stylus NX200 
Epson Stylus NX210 
Epson Stylus NX215 
Epson Stylus NX220 
Epson Stylus NX230 
Epson Stylus NX300 
Epson Stylus NX305 
Epson Stylus NX330 
Epson Stylus NX400 
Epson Stylus NX415 
Epson Stylus NX420 
Epson Stylus NX430 
Epson Stylus NX510 
Epson Stylus NX515 
Epson Stylus NX625 
Epson Stylus Office BX300F 
Epson Stylus Office BX305F 
Epson Stylus Office BX305FW 
Epson Stylus Office BX305FW Plus 
Epson Stylus Office BX310FN 
Epson Stylus Office BX320FW 
Epson Stylus Office BX525WD 
Epson Stylus Office BX535WD 
Epson Stylus Office BX600FW 
Epson Stylus Office BX610FW 
Epson Stylus Office BX625FWD 
Epson Stylus Office BX630FW 
Epson Stylus Office BX635FWD 
Epson Stylus Office BX925FWD 
Epson Stylus Office BX935FWD 
Epson Stylus Office TX300F 
Epson Stylus Office TX320F 
Epson Stylus Office TX325F 
Epson Stylus Office TX510FN 
Epson Stylus Office TX515FN 
Epson Stylus Office TX525FW 
Epson Stylus Office TX600FW 
Epson Stylus Office TX610FW 
Epson Stylus Office TX620FWD 
Epson Stylus Photo 1400 
Epson Stylus Photo 1410 
Epson Stylus Photo PX650 
Epson Stylus Photo PX660 
Epson Stylus Photo PX700W 
Epson Stylus Photo PX710W 
Epson Stylus Photo PX720WD 
Epson Stylus Photo PX730WD 
Epson Stylus Photo PX800FW 
Epson Stylus Photo PX810FW 
Epson Stylus Photo PX820FWD 
Epson Stylus Photo PX830FWD 
Epson Stylus Photo R1900 
Epson Stylus Photo R2000 
Epson Stylus Photo R240 
Epson Stylus Photo R250 
Epson Stylus Photo R260 
Epson Stylus Photo R265 
Epson Stylus Photo R270 
Epson Stylus Photo R2880 
Epson Stylus Photo R3000 
Epson Stylus Photo R340 
Epson Stylus Photo R350 
Epson Stylus Photo R360 
Epson Stylus Photo R380 
Epson Stylus Photo R390 
Epson Stylus Photo RX560 
Epson Stylus Photo RX580 
Epson Stylus Photo RX585 
Epson Stylus Photo RX590 
Epson Stylus Photo RX595 
Epson Stylus Photo RX610 
Epson Stylus Photo RX640 
Epson Stylus Photo RX650 
Epson Stylus Photo RX680 
Epson Stylus Photo RX685 
Epson Stylus Photo RX690 
Epson Stylus Photo TX650 
Epson Stylus Photo TX659 
Epson Stylus Photo TX700W 
Epson Stylus Photo TX710W 
Epson Stylus Photo TX720WD 
Epson Stylus Photo TX800FW 
Epson Stylus Photo TX810FW 
Epson Stylus Photo TX820FWD 
Epson Stylus SX200 
Epson Stylus SX205 
Epson Stylus SX210 
Epson Stylus SX215 
Epson Stylus SX218 
Epson Stylus SX235W 
Epson Stylus SX400 
Epson Stylus SX405 
Epson Stylus SX410 
Epson Stylus SX415 
Epson Stylus SX420W 
Epson Stylus SX425W 
Epson Stylus SX430W 
Epson Stylus SX435W 
Epson Stylus SX440W 
Epson Stylus SX445W 
Epson Stylus SX510W 
Epson Stylus SX515W 
Epson Stylus SX525WD 
Epson Stylus SX535WD 
Epson Stylus SX600FW 
Epson Stylus SX610FW 
Epson Stylus SX620FW 
Epson Stylus TX200 
Epson Stylus TX203 
Epson Stylus TX209 
Epson Stylus TX210 
Epson Stylus TX213 
Epson Stylus TX219 
Epson Stylus TX220 
Epson Stylus TX228 
Epson Stylus TX230W 
Epson Stylus TX235 
Epson Stylus TX400 
Epson Stylus TX409 
Epson Stylus TX410 
Epson Stylus TX419 
Epson Stylus TX420W 
Epson Stylus TX430W 
Epson Stylus TX435W 
Epson Stylus TX550W 
Epson Stylus TX560WD 
K200 
PM-A750 
PM-A820 
PM-A840 
PM-A840S 
PM-A890 
PM-A920 
PM-A940 
PM-A970 
PM-D600 
PM-D800 
PM-D870 
PM-G4500 
PM-G850 
PM-T960 
PM-T990 
PX-501A 
PX-502A 
PX-503A 
PX-5600 
PX-5V 
PX-601F 
PX-602F 
PX-603F 
PX-673F 
PX-7V 
PX-A640 
PX-A720 
PX-B700 
PX-B750F 
PX-FA700 
PX-G5300 
PictureMate 200 
PictureMate 210 
PictureMate 240 
PictureMate 250 
PictureMate 280 
PictureMate 500 
PictureMate Deluxe 
PictureMate PM 215 
PictureMate PM 260 
PictureMate PM 270 
PictureMate PM 290 
WP-4015 
WP-4020 
WP-4025 
WP-4515 
WP-4525 
WP-4530 
WP-4535 
WP-4540 
WP-4545 
WorkForce 310 
WorkForce 320 
WorkForce 323 
WorkForce 325 
WorkForce 435 
WorkForce 500 
WorkForce 520 
WorkForce 525 
WorkForce 545 
WorkForce 600 
WorkForce 610 
WorkForce 615 
WorkForce 625 
WorkForce 630 
WorkForce 633 
WorkForce 635 
WorkForce 645 
WorkForce 840 
WorkForce 845 
WorkForce K301 '
++ zenity --list --radiolist --width=400 --height=500 '--title=Installation des pilotes pour imprimantes Epson' '--text=Vérifiez que votre imprimante est dans la liste ci-dessous.

Selectionnez "Autres..." si:
- vous souhaitez utiliser une ancienne version du driver.
- elle n'\''y apparait pas' --column= '--column=Imprimantes Epson' TRUE 'Artisan 700 
Artisan 710 
Artisan 725 
Artisan 730 
Artisan 800 
Artisan 810 
Artisan 835 
Artisan 837 
E-200 
E-300 
E-330 
E-340P 
E-340S 
E-500 
E-520 
E-530C 
E-530P 
E-530S 
E-700 
E-720 
E-810 
EP-702A 
EP-703A 
EP-704A 
EP-774A 
EP-801A 
EP-802A 
EP-803A 
EP-803AW 
EP-804A 
EP-804AR 
EP-804AW 
EP-901A 
EP-901F 
EP-902A 
EP-903A 
EP-903F 
EP-904A 
EP-904F 
Epson ME OFFICE 520 
Epson ME OFFICE 560W 
Epson ME OFFICE 620F 
Epson ME OFFICE 900WD 
Epson ME OFFICE 960FWD 
Epson ME Office 510 
Epson ME Office 600F 
Epson ME Office 650FN 
Epson ME Office 700FW 
Epson Stylus CX3700 
Epson Stylus CX3800 
Epson Stylus CX3900 
Epson Stylus CX4200 
Epson Stylus CX4900 
Epson Stylus CX5000 
Epson Stylus CX5900 
Epson Stylus CX7400 
Epson Stylus CX7700 
Epson Stylus CX7800 
Epson Stylus CX9400Fax 
Epson Stylus DX4000 
Epson Stylus DX4200 
Epson Stylus DX5000 
Epson Stylus ME200 
Epson Stylus NX200 
Epson Stylus NX210 
Epson Stylus NX215 
Epson Stylus NX220 
Epson Stylus NX230 
Epson Stylus NX300 
Epson Stylus NX305 
Epson Stylus NX330 
Epson Stylus NX400 
Epson Stylus NX415 
Epson Stylus NX420 
Epson Stylus NX430 
Epson Stylus NX510 
Epson Stylus NX515 
Epson Stylus NX625 
Epson Stylus Office BX300F 
Epson Stylus Office BX305F 
Epson Stylus Office BX305FW 
Epson Stylus Office BX305FW Plus 
Epson Stylus Office BX310FN 
Epson Stylus Office BX320FW 
Epson Stylus Office BX525WD 
Epson Stylus Office BX535WD 
Epson Stylus Office BX600FW 
Epson Stylus Office BX610FW 
Epson Stylus Office BX625FWD 
Epson Stylus Office BX630FW 
Epson Stylus Office BX635FWD 
Epson Stylus Office BX925FWD 
Epson Stylus Office BX935FWD 
Epson Stylus Office TX300F 
Epson Stylus Office TX320F 
Epson Stylus Office TX325F 
Epson Stylus Office TX510FN 
Epson Stylus Office TX515FN 
Epson Stylus Office TX525FW 
Epson Stylus Office TX600FW 
Epson Stylus Office TX610FW 
Epson Stylus Office TX620FWD 
Epson Stylus Photo 1400 
Epson Stylus Photo 1410 
Epson Stylus Photo PX650 
Epson Stylus Photo PX660 
Epson Stylus Photo PX700W 
Epson Stylus Photo PX710W 
Epson Stylus Photo PX720WD 
Epson Stylus Photo PX730WD 
Epson Stylus Photo PX800FW 
Epson Stylus Photo PX810FW 
Epson Stylus Photo PX820FWD 
Epson Stylus Photo PX830FWD 
Epson Stylus Photo R1900 
Epson Stylus Photo R2000 
Epson Stylus Photo R240 
Epson Stylus Photo R250 
Epson Stylus Photo R260 
Epson Stylus Photo R265 
Epson Stylus Photo R270 
Epson Stylus Photo R2880 
Epson Stylus Photo R3000 
Epson Stylus Photo R340 
Epson Stylus Photo R350 
Epson Stylus Photo R360 
Epson Stylus Photo R380 
Epson Stylus Photo R390 
Epson Stylus Photo RX560 
Epson Stylus Photo RX580 
Epson Stylus Photo RX585 
Epson Stylus Photo RX590 
Epson Stylus Photo RX595 
Epson Stylus Photo RX610 
Epson Stylus Photo RX640 
Epson Stylus Photo RX650 
Epson Stylus Photo RX680 
Epson Stylus Photo RX685 
Epson Stylus Photo RX690 
Epson Stylus Photo TX650 
Epson Stylus Photo TX659 
Epson Stylus Photo TX700W 
Epson Stylus Photo TX710W 
Epson Stylus Photo TX720WD 
Epson Stylus Photo TX800FW 
Epson Stylus Photo TX810FW 
Epson Stylus Photo TX820FWD 
Epson Stylus SX200 
Epson Stylus SX205 
Epson Stylus SX210 
Epson Stylus SX215 
Epson Stylus SX218 
Epson Stylus SX235W 
Epson Stylus SX400 
Epson Stylus SX405 
Epson Stylus SX410 
Epson Stylus SX415 
Epson Stylus SX420W 
Epson Stylus SX425W 
Epson Stylus SX430W 
Epson Stylus SX435W 
Epson Stylus SX440W 
Epson Stylus SX445W 
Epson Stylus SX510W 
Epson Stylus SX515W 
Epson Stylus SX525WD 
Epson Stylus SX535WD 
Epson Stylus SX600FW 
Epson Stylus SX610FW 
Epson Stylus SX620FW 
Epson Stylus TX200 
Epson Stylus TX203 
Epson Stylus TX209 
Epson Stylus TX210 
Epson Stylus TX213 
Epson Stylus TX219 
Epson Stylus TX220 
Epson Stylus TX228 
Epson Stylus TX230W 
Epson Stylus TX235 
Epson Stylus TX400 
Epson Stylus TX409 
Epson Stylus TX410 
Epson Stylus TX419 
Epson Stylus TX420W 
Epson Stylus TX430W 
Epson Stylus TX435W 
Epson Stylus TX550W 
Epson Stylus TX560WD 
K200 
PM-A750 
PM-A820 
PM-A840 
PM-A840S 
PM-A890 
PM-A920 
PM-A940 
PM-A970 
PM-D600 
PM-D800 
PM-D870 
PM-G4500 
PM-G850 
PM-T960 
PM-T990 
PX-501A 
PX-502A 
PX-503A 
PX-5600 
PX-5V 
PX-601F 
PX-602F 
PX-603F 
PX-673F 
PX-7V 
PX-A640 
PX-A720 
PX-B700 
PX-B750F 
PX-FA700 
PX-G5300 
PictureMate 200 
PictureMate 210 
PictureMate 240 
PictureMate 250 
PictureMate 280 
PictureMate 500 
PictureMate Deluxe 
PictureMate PM 215 
PictureMate PM 260 
PictureMate PM 270 
PictureMate PM 290 
WP-4015 
WP-4020 
WP-4025 
WP-4515 
WP-4525 
WP-4530 
WP-4535 
WP-4540 
WP-4545 
WorkForce 310 
WorkForce 320 
WorkForce 323 
WorkForce 325 
WorkForce 435 
WorkForce 500 
WorkForce 520 
WorkForce 525 
WorkForce 545 
WorkForce 600 
WorkForce 610 
WorkForce 615 
WorkForce 625 
WorkForce 630 
WorkForce 633 
WorkForce 635 
WorkForce 645 
WorkForce 840 
WorkForce 845 
WorkForce K301 ' FALSE Autres...
+ Modele='Artisan 700 
Artisan 710 
Artisan 725 
Artisan 730 
Artisan 800 
Artisan 810 
Artisan 835 
Artisan 837 
E-200 
E-300 
E-330 
E-340P 
E-340S 
E-500 
E-520 
E-530C 
E-530P 
E-530S 
E-700 
E-720 
E-810 
EP-702A 
EP-703A 
EP-704A 
EP-774A 
EP-801A 
EP-802A 
EP-803A 
EP-803AW 
EP-804A 
EP-804AR 
EP-804AW 
EP-901A 
EP-901F 
EP-902A 
EP-903A 
EP-903F 
EP-904A 
EP-904F 
Epson ME OFFICE 520 
Epson ME OFFICE 560W 
Epson ME OFFICE 620F 
Epson ME OFFICE 900WD 
Epson ME OFFICE 960FWD 
Epson ME Office 510 
Epson ME Office 600F 
Epson ME Office 650FN 
Epson ME Office 700FW 
Epson Stylus CX3700 
Epson Stylus CX3800 
Epson Stylus CX3900 
Epson Stylus CX4200 
Epson Stylus CX4900 
Epson Stylus CX5000 
Epson Stylus CX5900 
Epson Stylus CX7400 
Epson Stylus CX7700 
Epson Stylus CX7800 
Epson Stylus CX9400Fax 
Epson Stylus DX4000 
Epson Stylus DX4200 
Epson Stylus DX5000 
Epson Stylus ME200 
Epson Stylus NX200 
Epson Stylus NX210 
Epson Stylus NX215 
Epson Stylus NX220 
Epson Stylus NX230 
Epson Stylus NX300 
Epson Stylus NX305 
Epson Stylus NX330 
Epson Stylus NX400 
Epson Stylus NX415 
Epson Stylus NX420 
Epson Stylus NX430 
Epson Stylus NX510 
Epson Stylus NX515 
Epson Stylus NX625 
Epson Stylus Office BX300F 
Epson Stylus Office BX305F 
Epson Stylus Office BX305FW 
Epson Stylus Office BX305FW Plus 
Epson Stylus Office BX310FN 
Epson Stylus Office BX320FW 
Epson Stylus Office BX525WD 
Epson Stylus Office BX535WD 
Epson Stylus Office BX600FW 
Epson Stylus Office BX610FW 
Epson Stylus Office BX625FWD 
Epson Stylus Office BX630FW 
Epson Stylus Office BX635FWD 
Epson Stylus Office BX925FWD 
Epson Stylus Office BX935FWD 
Epson Stylus Office TX300F 
Epson Stylus Office TX320F 
Epson Stylus Office TX325F 
Epson Stylus Office TX510FN 
Epson Stylus Office TX515FN 
Epson Stylus Office TX525FW 
Epson Stylus Office TX600FW 
Epson Stylus Office TX610FW 
Epson Stylus Office TX620FWD 
Epson Stylus Photo 1400 
Epson Stylus Photo 1410 
Epson Stylus Photo PX650 
Epson Stylus Photo PX660 
Epson Stylus Photo PX700W 
Epson Stylus Photo PX710W 
Epson Stylus Photo PX720WD 
Epson Stylus Photo PX730WD 
Epson Stylus Photo PX800FW 
Epson Stylus Photo PX810FW 
Epson Stylus Photo PX820FWD 
Epson Stylus Photo PX830FWD 
Epson Stylus Photo R1900 
Epson Stylus Photo R2000 
Epson Stylus Photo R240 
Epson Stylus Photo R250 
Epson Stylus Photo R260 
Epson Stylus Photo R265 
Epson Stylus Photo R270 
Epson Stylus Photo R2880 
Epson Stylus Photo R3000 
Epson Stylus Photo R340 
Epson Stylus Photo R350 
Epson Stylus Photo R360 
Epson Stylus Photo R380 
Epson Stylus Photo R390 
Epson Stylus Photo RX560 
Epson Stylus Photo RX580 
Epson Stylus Photo RX585 
Epson Stylus Photo RX590 
Epson Stylus Photo RX595 
Epson Stylus Photo RX610 
Epson Stylus Photo RX640 
Epson Stylus Photo RX650 
Epson Stylus Photo RX680 
Epson Stylus Photo RX685 
Epson Stylus Photo RX690 
Epson Stylus Photo TX650 
Epson Stylus Photo TX659 
Epson Stylus Photo TX700W 
Epson Stylus Photo TX710W 
Epson Stylus Photo TX720WD 
Epson Stylus Photo TX800FW 
Epson Stylus Photo TX810FW 
Epson Stylus Photo TX820FWD 
Epson Stylus SX200 
Epson Stylus SX205 
Epson Stylus SX210 
Epson Stylus SX215 
Epson Stylus SX218 
Epson Stylus SX235W 
Epson Stylus SX400 
Epson Stylus SX405 
Epson Stylus SX410 
Epson Stylus SX415 
Epson Stylus SX420W 
Epson Stylus SX425W 
Epson Stylus SX430W 
Epson Stylus SX435W 
Epson Stylus SX440W 
Epson Stylus SX445W 
Epson Stylus SX510W 
Epson Stylus SX515W 
Epson Stylus SX525WD 
Epson Stylus SX535WD 
Epson Stylus SX600FW 
Epson Stylus SX610FW 
Epson Stylus SX620FW 
Epson Stylus TX200 
Epson Stylus TX203 
Epson Stylus TX209 
Epson Stylus TX210 
Epson Stylus TX213 
Epson Stylus TX219 
Epson Stylus TX220 
Epson Stylus TX228 
Epson Stylus TX230W 
Epson Stylus TX235 
Epson Stylus TX400 
Epson Stylus TX409 
Epson Stylus TX410 
Epson Stylus TX419 
Epson Stylus TX420W 
Epson Stylus TX430W 
Epson Stylus TX435W 
Epson Stylus TX550W 
Epson Stylus TX560WD 
K200 
PM-A750 
PM-A820 
PM-A840 
PM-A840S 
PM-A890 
PM-A920 
PM-A940 
PM-A970 
PM-D600 
PM-D800 
PM-D870 
PM-G4500 
PM-G850 
PM-T960 
PM-T990 
PX-501A 
PX-502A 
PX-503A 
PX-5600 
PX-5V 
PX-601F 
PX-602F 
PX-603F 
PX-673F 
PX-7V 
PX-A640 
PX-A720 
PX-B700 
PX-B750F 
PX-FA700 
PX-G5300 
PictureMate 200 
PictureMate 210 
PictureMate 240 
PictureMate 250 
PictureMate 280 
PictureMate 500 
PictureMate Deluxe 
PictureMate PM 215 
PictureMate PM 260 
PictureMate PM 270 
PictureMate PM 290 
WP-4015 
WP-4020 
WP-4025 
WP-4515 
WP-4525 
WP-4530 
WP-4535 
WP-4540 
WP-4545 
WorkForce 310 
WorkForce 320 
WorkForce 323 
WorkForce 325 
WorkForce 435 
WorkForce 500 
WorkForce 520 
WorkForce 525 
WorkForce 545 
WorkForce 600 
WorkForce 610 
WorkForce 615 
WorkForce 625 
WorkForce 630 
WorkForce 633 
WorkForce 635 
WorkForce 645 
WorkForce 840 
WorkForce 845 
WorkForce K301 '
+ [[ Artisan 700 
Artisan 710 
Artisan 725 
Artisan 730 
Artisan 800 
Artisan 810 
Artisan 835 
Artisan 837 
E-200 
E-300 
E-330 
E-340P 
E-340S 
E-500 
E-520 
E-530C 
E-530P 
E-530S 
E-700 
E-720 
E-810 
EP-702A 
EP-703A 
EP-704A 
EP-774A 
EP-801A 
EP-802A 
EP-803A 
EP-803AW 
EP-804A 
EP-804AR 
EP-804AW 
EP-901A 
EP-901F 
EP-902A 
EP-903A 
EP-903F 
EP-904A 
EP-904F 
Epson ME OFFICE 520 
Epson ME OFFICE 560W 
Epson ME OFFICE 620F 
Epson ME OFFICE 900WD 
Epson ME OFFICE 960FWD 
Epson ME Office 510 
Epson ME Office 600F 
Epson ME Office 650FN 
Epson ME Office 700FW 
Epson Stylus CX3700 
Epson Stylus CX3800 
Epson Stylus CX3900 
Epson Stylus CX4200 
Epson Stylus CX4900 
Epson Stylus CX5000 
Epson Stylus CX5900 
Epson Stylus CX7400 
Epson Stylus CX7700 
Epson Stylus CX7800 
Epson Stylus CX9400Fax 
Epson Stylus DX4000 
Epson Stylus DX4200 
Epson Stylus DX5000 
Epson Stylus ME200 
Epson Stylus NX200 
Epson Stylus NX210 
Epson Stylus NX215 
Epson Stylus NX220 
Epson Stylus NX230 
Epson Stylus NX300 
Epson Stylus NX305 
Epson Stylus NX330 
Epson Stylus NX400 
Epson Stylus NX415 
Epson Stylus NX420 
Epson Stylus NX430 
Epson Stylus NX510 
Epson Stylus NX515 
Epson Stylus NX625 
Epson Stylus Office BX300F 
Epson Stylus Office BX305F 
Epson Stylus Office BX305FW 
Epson Stylus Office BX305FW Plus 
Epson Stylus Office BX310FN 
Epson Stylus Office BX320FW 
Epson Stylus Office BX525WD 
Epson Stylus Office BX535WD 
Epson Stylus Office BX600FW 
Epson Stylus Office BX610FW 
Epson Stylus Office BX625FWD 
Epson Stylus Office BX630FW 
Epson Stylus Office BX635FWD 
Epson Stylus Office BX925FWD 
Epson Stylus Office BX935FWD 
Epson Stylus Office TX300F 
Epson Stylus Office TX320F 
Epson Stylus Office TX325F 
Epson Stylus Office TX510FN 
Epson Stylus Office TX515FN 
Epson Stylus Office TX525FW 
Epson Stylus Office TX600FW 
Epson Stylus Office TX610FW 
Epson Stylus Office TX620FWD 
Epson Stylus Photo 1400 
Epson Stylus Photo 1410 
Epson Stylus Photo PX650 
Epson Stylus Photo PX660 
Epson Stylus Photo PX700W 
Epson Stylus Photo PX710W 
Epson Stylus Photo PX720WD 
Epson Stylus Photo PX730WD 
Epson Stylus Photo PX800FW 
Epson Stylus Photo PX810FW 
Epson Stylus Photo PX820FWD 
Epson Stylus Photo PX830FWD 
Epson Stylus Photo R1900 
Epson Stylus Photo R2000 
Epson Stylus Photo R240 
Epson Stylus Photo R250 
Epson Stylus Photo R260 
Epson Stylus Photo R265 
Epson Stylus Photo R270 
Epson Stylus Photo R2880 
Epson Stylus Photo R3000 
Epson Stylus Photo R340 
Epson Stylus Photo R350 
Epson Stylus Photo R360 
Epson Stylus Photo R380 
Epson Stylus Photo R390 
Epson Stylus Photo RX560 
Epson Stylus Photo RX580 
Epson Stylus Photo RX585 
Epson Stylus Photo RX590 
Epson Stylus Photo RX595 
Epson Stylus Photo RX610 
Epson Stylus Photo RX640 
Epson Stylus Photo RX650 
Epson Stylus Photo RX680 
Epson Stylus Photo RX685 
Epson Stylus Photo RX690 
Epson Stylus Photo TX650 
Epson Stylus Photo TX659 
Epson Stylus Photo TX700W 
Epson Stylus Photo TX710W 
Epson Stylus Photo TX720WD 
Epson Stylus Photo TX800FW 
Epson Stylus Photo TX810FW 
Epson Stylus Photo TX820FWD 
Epson Stylus SX200 
Epson Stylus SX205 
Epson Stylus SX210 
Epson Stylus SX215 
Epson Stylus SX218 
Epson Stylus SX235W 
Epson Stylus SX400 
Epson Stylus SX405 
Epson Stylus SX410 
Epson Stylus SX415 
Epson Stylus SX420W 
Epson Stylus SX425W 
Epson Stylus SX430W 
Epson Stylus SX435W 
Epson Stylus SX440W 
Epson Stylus SX445W 
Epson Stylus SX510W 
Epson Stylus SX515W 
Epson Stylus SX525WD 
Epson Stylus SX535WD 
Epson Stylus SX600FW 
Epson Stylus SX610FW 
Epson Stylus SX620FW 
Epson Stylus TX200 
Epson Stylus TX203 
Epson Stylus TX209 
Epson Stylus TX210 
Epson Stylus TX213 
Epson Stylus TX219 
Epson Stylus TX220 
Epson Stylus TX228 
Epson Stylus TX230W 
Epson Stylus TX235 
Epson Stylus TX400 
Epson Stylus TX409 
Epson Stylus TX410 
Epson Stylus TX419 
Epson Stylus TX420W 
Epson Stylus TX430W 
Epson Stylus TX435W 
Epson Stylus TX550W 
Epson Stylus TX560WD 
K200 
PM-A750 
PM-A820 
PM-A840 
PM-A840S 
PM-A890 
PM-A920 
PM-A940 
PM-A970 
PM-D600 
PM-D800 
PM-D870 
PM-G4500 
PM-G850 
PM-T960 
PM-T990 
PX-501A 
PX-502A 
PX-503A 
PX-5600 
PX-5V 
PX-601F 
PX-602F 
PX-603F 
PX-673F 
PX-7V 
PX-A640 
PX-A720 
PX-B700 
PX-B750F 
PX-FA700 
PX-G5300 
PictureMate 200 
PictureMate 210 
PictureMate 240 
PictureMate 250 
PictureMate 280 
PictureMate 500 
PictureMate Deluxe 
PictureMate PM 215 
PictureMate PM 260 
PictureMate PM 270 
PictureMate PM 290 
WP-4015 
WP-4020 
WP-4025 
WP-4515 
WP-4525 
WP-4530 
WP-4535 
WP-4540 
WP-4545 
WorkForce 310 
WorkForce 320 
WorkForce 323 
WorkForce 325 
WorkForce 435 
WorkForce 500 
WorkForce 520 
WorkForce 525 
WorkForce 545 
WorkForce 600 
WorkForce 610 
WorkForce 615 
WorkForce 625 
WorkForce 630 
WorkForce 633 
WorkForce 635 
WorkForce 645 
WorkForce 840 
WorkForce 845 
WorkForce K301  == \A\u\t\r\e\s\.\.\. ]]
+ [[ -z Artisan 700 
Artisan 710 
Artisan 725 
Artisan 730 
Artisan 800 
Artisan 810 
Artisan 835 
Artisan 837 
E-200 
E-300 
E-330 
E-340P 
E-340S 
E-500 
E-520 
E-530C 
E-530P 
E-530S 
E-700 
E-720 
E-810 
EP-702A 
EP-703A 
EP-704A 
EP-774A 
EP-801A 
EP-802A 
EP-803A 
EP-803AW 
EP-804A 
EP-804AR 
EP-804AW 
EP-901A 
EP-901F 
EP-902A 
EP-903A 
EP-903F 
EP-904A 
EP-904F 
Epson ME OFFICE 520 
Epson ME OFFICE 560W 
Epson ME OFFICE 620F 
Epson ME OFFICE 900WD 
Epson ME OFFICE 960FWD 
Epson ME Office 510 
Epson ME Office 600F 
Epson ME Office 650FN 
Epson ME Office 700FW 
Epson Stylus CX3700 
Epson Stylus CX3800 
Epson Stylus CX3900 
Epson Stylus CX4200 
Epson Stylus CX4900 
Epson Stylus CX5000 
Epson Stylus CX5900 
Epson Stylus CX7400 
Epson Stylus CX7700 
Epson Stylus CX7800 
Epson Stylus CX9400Fax 
Epson Stylus DX4000 
Epson Stylus DX4200 
Epson Stylus DX5000 
Epson Stylus ME200 
Epson Stylus NX200 
Epson Stylus NX210 
Epson Stylus NX215 
Epson Stylus NX220 
Epson Stylus NX230 
Epson Stylus NX300 
Epson Stylus NX305 
Epson Stylus NX330 
Epson Stylus NX400 
Epson Stylus NX415 
Epson Stylus NX420 
Epson Stylus NX430 
Epson Stylus NX510 
Epson Stylus NX515 
Epson Stylus NX625 
Epson Stylus Office BX300F 
Epson Stylus Office BX305F 
Epson Stylus Office BX305FW 
Epson Stylus Office BX305FW Plus 
Epson Stylus Office BX310FN 
Epson Stylus Office BX320FW 
Epson Stylus Office BX525WD 
Epson Stylus Office BX535WD 
Epson Stylus Office BX600FW 
Epson Stylus Office BX610FW 
Epson Stylus Office BX625FWD 
Epson Stylus Office BX630FW 
Epson Stylus Office BX635FWD 
Epson Stylus Office BX925FWD 
Epson Stylus Office BX935FWD 
Epson Stylus Office TX300F 
Epson Stylus Office TX320F 
Epson Stylus Office TX325F 
Epson Stylus Office TX510FN 
Epson Stylus Office TX515FN 
Epson Stylus Office TX525FW 
Epson Stylus Office TX600FW 
Epson Stylus Office TX610FW 
Epson Stylus Office TX620FWD 
Epson Stylus Photo 1400 
Epson Stylus Photo 1410 
Epson Stylus Photo PX650 
Epson Stylus Photo PX660 
Epson Stylus Photo PX700W 
Epson Stylus Photo PX710W 
Epson Stylus Photo PX720WD 
Epson Stylus Photo PX730WD 
Epson Stylus Photo PX800FW 
Epson Stylus Photo PX810FW 
Epson Stylus Photo PX820FWD 
Epson Stylus Photo PX830FWD 
Epson Stylus Photo R1900 
Epson Stylus Photo R2000 
Epson Stylus Photo R240 
Epson Stylus Photo R250 
Epson Stylus Photo R260 
Epson Stylus Photo R265 
Epson Stylus Photo R270 
Epson Stylus Photo R2880 
Epson Stylus Photo R3000 
Epson Stylus Photo R340 
Epson Stylus Photo R350 
Epson Stylus Photo R360 
Epson Stylus Photo R380 
Epson Stylus Photo R390 
Epson Stylus Photo RX560 
Epson Stylus Photo RX580 
Epson Stylus Photo RX585 
Epson Stylus Photo RX590 
Epson Stylus Photo RX595 
Epson Stylus Photo RX610 
Epson Stylus Photo RX640 
Epson Stylus Photo RX650 
Epson Stylus Photo RX680 
Epson Stylus Photo RX685 
Epson Stylus Photo RX690 
Epson Stylus Photo TX650 
Epson Stylus Photo TX659 
Epson Stylus Photo TX700W 
Epson Stylus Photo TX710W 
Epson Stylus Photo TX720WD 
Epson Stylus Photo TX800FW 
Epson Stylus Photo TX810FW 
Epson Stylus Photo TX820FWD 
Epson Stylus SX200 
Epson Stylus SX205 
Epson Stylus SX210 
Epson Stylus SX215 
Epson Stylus SX218 
Epson Stylus SX235W 
Epson Stylus SX400 
Epson Stylus SX405 
Epson Stylus SX410 
Epson Stylus SX415 
Epson Stylus SX420W 
Epson Stylus SX425W 
Epson Stylus SX430W 
Epson Stylus SX435W 
Epson Stylus SX440W 
Epson Stylus SX445W 
Epson Stylus SX510W 
Epson Stylus SX515W 
Epson Stylus SX525WD 
Epson Stylus SX535WD 
Epson Stylus SX600FW 
Epson Stylus SX610FW 
Epson Stylus SX620FW 
Epson Stylus TX200 
Epson Stylus TX203 
Epson Stylus TX209 
Epson Stylus TX210 
Epson Stylus TX213 
Epson Stylus TX219 
Epson Stylus TX220 
Epson Stylus TX228 
Epson Stylus TX230W 
Epson Stylus TX235 
Epson Stylus TX400 
Epson Stylus TX409 
Epson Stylus TX410 
Epson Stylus TX419 
Epson Stylus TX420W 
Epson Stylus TX430W 
Epson Stylus TX435W 
Epson Stylus TX550W 
Epson Stylus TX560WD 
K200 
PM-A750 
PM-A820 
PM-A840 
PM-A840S 
PM-A890 
PM-A920 
PM-A940 
PM-A970 
PM-D600 
PM-D800 
PM-D870 
PM-G4500 
PM-G850 
PM-T960 
PM-T990 
PX-501A 
PX-502A 
PX-503A 
PX-5600 
PX-5V 
PX-601F 
PX-602F 
PX-603F 
PX-673F 
PX-7V 
PX-A640 
PX-A720 
PX-B700 
PX-B750F 
PX-FA700 
PX-G5300 
PictureMate 200 
PictureMate 210 
PictureMate 240 
PictureMate 250 
PictureMate 280 
PictureMate 500 
PictureMate Deluxe 
PictureMate PM 215 
PictureMate PM 260 
PictureMate PM 270 
PictureMate PM 290 
WP-4015 
WP-4020 
WP-4025 
WP-4515 
WP-4525 
WP-4530 
WP-4535 
WP-4540 
WP-4545 
WorkForce 310 
WorkForce 320 
WorkForce 323 
WorkForce 325 
WorkForce 435 
WorkForce 500 
WorkForce 520 
WorkForce 525 
WorkForce 545 
WorkForce 600 
WorkForce 610 
WorkForce 615 
WorkForce 625 
WorkForce 630 
WorkForce 633 
WorkForce 635 
WorkForce 645 
WorkForce 840 
WorkForce 845 
WorkForce K301  ]]
+ Imprimante=escpr
+ confirmation
++ zenity --question --width=500 --height=100 '--title=Installation des pilotes pour imprimantes Epson' '--text=Lancer l'\''installation de l'\''imprimante de type 
<b>escpr</b> ?'
+ Confirmation=
+ [[ 0 == 1 ]]
+ installation_imprimante
+ [[ ! -n escpr ]]
++ awk '{print $2}'
++ grep Package:
++ awk -vRS= /escpr/ Paquets_EPS_oneiric_x86_64
+ Paquet=epson-inkjet-printer-escpr
++ sed 's/^/http:\/\/linux.avasys.jp\/drivers\/lsb\/epson-inkjet\/stable\/debian\//g'
++ awk '{print $2}'
++ grep Filename:
++ awk -vRS= /escpr/ Paquets_EPS_oneiric_x86_64
+ Url=http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/debian/dists/lsb3.2/main/binary-amd64/epson-inkjet-printer-escpr_1.1.0-1lsb3.2_amd64.deb
+ echo -e 'Téléchargement en cours du pilote epson-inkjet-printer-escpr'
+ wget http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/debian/dists/lsb3.2/main/binary-amd64/epson-inkjet-printer-escpr_1.1.0-1lsb3.2_amd64.deb
--2011-10-24 15:26:17--  http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/debian/dists/lsb3.2/main/binary-amd64/epson-inkjet-printer-escpr_1.1.0-1lsb3.2_amd64.deb
Résolution de linux.avasys.jp... 202.41.220.57
Connexion vers linux.avasys.jp|202.41.220.57|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 1384016 (1,3M) [application/x-deb]
Sauvegarde en : «epson-inkjet-printer-escpr_1.1.0-1lsb3.2_amd64.deb»

     0K .......... .......... .......... .......... ..........  3% 48,5K 27s
    50K .......... .......... .......... .......... ..........  7% 83,8K 20s
   100K .......... .......... .......... .......... .......... 11%  275K 14s
   150K .......... .......... .......... .......... .......... 14%  154K 12s
   200K .......... .......... .......... .......... .......... 18%  193K 11s
   250K .......... .......... .......... .......... .......... 22%  266K 9s
   300K .......... .......... .......... .......... .......... 25%  120K 9s
   350K .......... .......... .......... .......... .......... 29%  172K 8s
   400K .......... .......... .......... .......... .......... 33%  723K 7s
   450K .......... .......... .......... .......... .......... 36%  418K 6s
   500K .......... .......... .......... .......... .......... 40%  163K 6s
   550K .......... .......... .......... .......... .......... 44%  277K 5s
   600K .......... .......... .......... .......... .......... 48%  260K 4s
   650K .......... .......... .......... .......... .......... 51%  270K 4s
   700K .......... .......... .......... .......... .......... 55%  266K 4s
   750K .......... .......... .......... .......... .......... 59%  265K 3s
   800K .......... .......... .......... .......... .......... 62%  278K 3s
   850K .......... .......... .......... .......... .......... 66%  263K 3s
   900K .......... .......... .......... .......... .......... 70%  270K 2s
   950K .......... .......... .......... .......... .......... 73%  266K 2s
  1000K .......... .......... .......... .......... .......... 77% 85,6K 2s
  1050K .......... .......... .......... .......... .......... 81% 87,5M 1s
  1100K .......... .......... .......... .......... .......... 85% 91,4M 1s
  1150K .......... .......... .......... .......... .......... 88%  318K 1s
  1200K .......... .......... .......... .......... .......... 92%  268K 1s
  1250K .......... .......... .......... .......... .......... 96%  275K 0s
  1300K .......... .......... .......... .......... .......... 99%  263K 0s
  1350K .                                                     100% 1002K=6,8s

2011-10-24 15:26:24 (200 KB/s) - «epson-inkjet-printer-escpr_1.1.0-1lsb3.2_amd64.deb» sauvegardé [1384016/1384016]

++ ls
++ grep '^epson-inkjet-printer-escpr.*deb$'
+ Package=epson-inkjet-printer-escpr_1.1.0-1lsb3.2_amd64.deb
+ echo 'Installation du paquet epson-inkjet-printer-escpr_1.1.0-1lsb3.2_amd64.deb'
+ dpkg -i epson-inkjet-printer-escpr_1.1.0-1lsb3.2_amd64.deb
dpkg: error: l'opération demandée requiert les privilèges du superutilisateur
+ rm index_epson Paquets_EPS_oneiric_x86_64
+ [[ -z Epson ]]
+ redemarre_service
+ service udev restart
restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.95" (uid=1000 pid=7142 comm="restart udev ") interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
+ service cups restart
restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.96" (uid=1000 pid=7145 comm="restart cups ") interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")
+ echo -e '[34mInstallation terminée.(B[m'
+ chown -R ubuntu:ubuntu /home/ubuntu/Bureau
+ sudo -k
+ exit 0

tu le copier et je suprime plus tard .

Dernière modification par rtst-2 (Le 24/10/2011, à 14:41)

#100 Le 24/10/2011, à 17:59

fabux

Re : Script d'installation pour imprimantes Brother

Je ne savais pas trop comment mettre ça en forme dans zenity mais regarde bien la liste: tu n'a que deux choix dans la colonne de gauche : en gros "Tout" ou "Autres..."
En fait l'imprimante que tu indique fais partie de toute la liste prise en charge par l'unique pilote escpr.
D'où le texte de la fenêtre "Vérifiez que votre imprimante fait partie de la liste" (qui est à True par défaut) car je "triche" en indiquant la liste que ce pilote gère. En choisissant "Autres..." on passe alors au listing escp et les drivers pour chaque autres imprimantes.

Finalement, l'imprimante que tu indique fais partie de toute la liste prise en charge par l'unique pilote escpr. Et c' est bien ce dernier qui a été téléchargé en version 64 bits. (il doit d'ailleurs toujours être dans le dossier d'où tu as lancé le script)

S'il ne s'est rien passé ensuite c'est que tu n'as pas lancé en sudo...contrairement à la question de début (tu l'as bien eu à priori).

Hors ligne

Haut de page ↑