[imprimante]installation Epson SX218

Reconnaissance et configuration du matériel / kernel linux
Répondre
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

[imprimante]installation Epson SX218

Message par Balam-Web »

Bonjour

je viens de me tourner vers Arch Linux après un peu plus d'un an sur Ubuntu KUbuntu & fork ...

mon problème est que mon imprimante est considérée comme compatible mais je n'arrive pas à l'installer ...

j'ai les drivers télécharger sur Avasys

merci de votre aide...

les divers pages wiki sur CUPS et les imprimantes ne m'ont pas aidés ... :(
Dernière modification par Balam-Web le dim. 13 févr. 2011, 22:49, modifié 3 fois.
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [imprimante]installation Epson SX218

Message par FoolEcho »

As-tu installé et testé "foomatic-db-nonfree" ? J'ai cru voir que le pilote était dedans... ça devrait marcher pour cups.
«The following statement is not true. The previous statement is true.» :nage:
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

Re: [imprimante]installation Epson SX218

Message par Balam-Web »

oui installé ... mais cups ne vois pas l'imprimante :s
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [imprimante]installation Epson SX218

Message par FoolEcho »

Ah oui... il n'y a que la description pour le sx.

Bon. Pas grave. Pour une installation propre du pilote, je te suggère ce qui suit.

Je détaille parce que je ne sais pas si tu utilises Aur:
1) tu te fais un répertoire pour le pilote ou tu recopies le code suivant dans un fichier appelé PKGBUILD (basé sur des contributions d'Andre Klitzing et Calimero pour des modèles epson-inkjet-printer):

Code : Tout sélectionner

pkgname=epson-inkjet-printer-workforce-320-sx218
_pkgname_filter=epson-inkjet-printer-filter
pkgver=1.0.0
pkgrel=1
pkgdesc="Printer drivers for Epson ME OFFICE 520/620F, Epson Stylus NX220, Epson Stylus Office BX305F/BX305FW/TX320F/TX325F, Epson Stylus SX218/TX220/TX228, WorkForce 320/323/325"
arch=('i686' 'x86_64')
url="http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/"
license=('GPL' 'LGPL' 'custom:AVASYS Public Licence')
depends=('cups')
makedepends=('rpmextract' 'libtool')
source=(http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/SRPMS/$pkgname-$pkgver-1lsb3.2.src.rpm)
md5sums=('a60a6fdd198ed52961435799c9bf1473')

build() {
  cd "$startdir/src"
  rpmextract.sh $pkgname-$pkgver-1lsb3.2.src.rpm || return 1
  tar xzf $pkgname-$pkgver.tar.gz || return 1
  tar xzf $_pkgname_filter-$pkgver.tar.gz || return 1

  cd $_pkgname_filter-$pkgver
  aclocal
  libtoolize
  chmod +x configure
  # if you have runtime problems: add "--enable-debug" and look into /tmp/epson-inkjet-printer-filter.txt
  ./configure LDFLAGS="$LDFLAGS -Wl,--no-as-needed" --prefix=/opt/$pkgname || return 1
  make || return 1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -d "$pkgdir/opt/$pkgname/"
  cp -r lib "$pkgdir/opt/$pkgname/"
  cp -r resource "$pkgdir/opt/$pkgname/"
  cp -r watermark "$pkgdir/opt/$pkgname/"
  install -d "$pkgdir/usr/share/cups/model/$pkgname"
  install -m 644 ppds/* "$pkgdir/usr/share/cups/model/$pkgname"

  cd "$srcdir/$_pkgname_filter-$pkgver"
  install -d "$pkgdir/opt/$pkgname/cups/lib/filter/"
  install -m 755 src/epson_inkjet_printer_filter "$pkgdir/opt/$pkgname/cups/lib/filter/epson_inkjet_printer_filter"
}
2) Fabrication du paquet epson-inkjet-printer-workforce-320-sx218

Code : Tout sélectionner

makepkg
3) Installation du paquet:

Code : Tout sélectionner

pacman -U epson-inkjet-printer-workforce-320-sx218-1.0.0-1-arch.pkg.tar.xz #arch=i686 ou x84_64 selon
Plus de détails, côté wiki.
Ensuite, tu n'as plus qu'à voir si ton imprimante est vue par cups (rédémarrer cups éventuellement). Je n'ai pas l'imprimante bien sûr, mais avec ce paquet, je vois au moins la description et le pilote dans la liste.
Si ça marche, tu n'auras plus qu'à le mettre sur Aur, éventuellement. :copain:
«The following statement is not true. The previous statement is true.» :nage:
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

Re: [imprimante]installation Epson SX218

Message par Balam-Web »

merci

je ne suis pas chez moi je tente demain soir

oui j'utilise AUR ^^ je fais confiance à la communauté et si j'arrive a faire fonctionner biensur que j'en ferais profiter les autres ;)

merci @ toi !!!
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

Re: [imprimante]installation Epson SX218 (En Cours)

Message par Balam-Web »

il m'est impossible de finir a cause d'automake ^^ j'ai la version 1.11 et c'est la 1.10 de demandé.... donc ça fail :s

mais étrangement .... en repassant sur cups pour regarder si je trouver les logs (pour trouver mes erreurs) j'ai vu l'imprimante.... et j'ai pu l'installer...

il m'a juste fallu copier pipslite-wrapper et pipslite-filter dans /usr/lib/cups/filter/

maintenant ça fonctionne nickel

iscan s'installe parfaitement depuis les fichier d'avasys

Merci
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [imprimante]installation Epson SX218 (Résolu)

Message par FoolEcho »

Balam-Web a écrit :il m'est impossible de finir a cause d'automake ^^ j'ai la version 1.11 et c'est la 1.10 de demandé.... donc ça fail :s
Demandé par quoi ? Je l'ai compilé sans problème avec le 1.11.
«The following statement is not true. The previous statement is true.» :nage:
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

Re: [imprimante]installation Epson SX218 (Résolu)

Message par Balam-Web »

je te donne l'info ce soir depuis arch ... mais j'ai eu un fail avec automake-1.10 mais je ne me souviens plus de tout :s
dsl

je retente la création du paquet et je mettrais ici
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

Re: [imprimante]installation Epson SX218

Message par Balam-Web »

bonsoir


etant donner que j'installer arch sur mon pc de bureau je me retrouve a nouveau embeter avec l'imprimante

voici le PKGBUILD adapté

Code : Tout sélectionner

 
pkgname=epson-inkjet-printer-workforce-320-sx218
_pkgname_filter=epson-inkjet-printer-filter
pkgver=1.0.0
pkgrel=1
pkgdesc="Printer drivers for Epson ME OFFICE 520/620F, Epson Stylus NX220, Epson Stylus Office BX305F/BX305FW/TX320F/TX325F, Epson Stylus SX218/TX220/TX228, WorkForce 320/323/325"
arch=('any')
url="http://avasys.jp/eng/linux_driver/download/lsb/epson-inkjet/escp/"
license=('GPL' 'LGPL' 'custom:AVASYS Public Licence')
depends=('cups')
makedepends=('rpmextract' 'libtool')
source=(http://linux.avasys.jp/drivers/lsb/epson-inkjet/stable/SRPMS/$pkgname-$pkgver-1lsb3.2.src.rpm)
md5sums=('d187f49670f4480b3d1e05050c78379c')

build() {
  cd "$startdir/src"
  rpmextract.sh $pkgname-$pkgver-1lsb3.2.src.rpm || return 1
  tar xzf $pkgname-$pkgver.tar.gz || return 1
  tar xzf $_pkgname_filter-$pkgver.tar.gz || return 1

  cd $_pkgname_filter-$pkgver
  aclocal
  libtoolize
  chmod +x configure
  # if you have runtime problems: add "--enable-debug" and look into /tmp/epson-inkjet-printer-filter.txt
  ./configure LDFLAGS="$LDFLAGS -Wl,--no-as-needed" --prefix=/opt/$pkgname || return 1
  make || return 1
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  install -d "$pkgdir/opt/$pkgname/"
  cp -r lib "$pkgdir/opt/$pkgname/"
  cp -r resource "$pkgdir/opt/$pkgname/"
  cp -r watermark "$pkgdir/opt/$pkgname/"
  install -d "$pkgdir/usr/share/cups/model/$pkgname"
  install -m 644 ppds/* "$pkgdir/usr/share/cups/model/$pkgname"

  cd "$srcdir/$_pkgname_filter-$pkgver"
  install -d "$pkgdir/opt/$pkgname/cups/lib/filter/"
  install -m 755 src/epson_inkjet_printer_filter "$pkgdir/opt/$pkgname/cups/lib/filter/epson_inkjet_printer_filter"
}
et le résultat de pakepkg

Code : Tout sélectionner

$ makepkg
==> Création du paquet epson-inkjet-printer-workforce-320-sx218 1.0.0-1 (dim. févr. 13 22:43:11 CET 2011)
==> Vérification des dépendances...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
  -> epson-inkjet-printer-workforce-320-sx218-1.0.0-1lsb3.2.src.rpm trouvé
==> Validation des fichiers sources avec md5sums...
    epson-inkjet-printer-workforce-320-sx218-1.0.0-1lsb3.2.src.rpm ... Réussite
==> Extraction des sources...
==> Lancement de build()...
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.                                                                                                                                                                
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.                                                                                                                                                                       
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/bin/sh: /home/balam/epson: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for dlopen in -ldl... yes
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/raster/Makefile
config.status: creating src/raster/blendSource/Makefile
config.status: creating src/memory/Makefile
config.status: creating src/pagemanager/Makefile
config.status: creating src/filteropt/Makefile
config.status: creating config.h
config.status: executing depfiles commands
 cd . && automake-1.10 --gnu 
/bin/sh: line 4: automake-1.10 : commande introuvable
make: *** [Makefile.in] Erreur 1
    Abandon...

merci de votre aide
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [imprimante]installation Epson SX218

Message par FoolEcho »

Je réitère: avec le PKGBUILD adapté, ça passe (64 bits)... J'ai aussi des warnings sur automake (1.11 au lieu de 1.10), mais autoconf prend le relais et la compilation va jusqu'au bout.

Ce qui m'embête dans ton log, c'est ça (la deuxième ligne):

Code : Tout sélectionner

/bin/sh: /home/balam/epson: No such file or directory
configure: WARNING: `missing' script is too old or missing
Je ne sais pas trop quoi penser... normalement ce script est dans src/epson-inkjet-printer-filter-1.0.0/missing (et donc devrait être dans /home/balam/epson/src/epson-inkjet-printer-filter-1.0.0/missing ) ... comment ne pourrait-t-il pas être présent alors que le test d'intégrité est passé ? ... :? ... :roll: ... :lol: ... C'est bon je sais ! :bouletdujour: Tu n'as pas de "/home/balam/epson", mais plutôt " /home/balam/epson truc bidule chose"

Les variables ne sont pas protégées.
Place le PKGBUILD dans un répertoire avec un nom SANS espaces et refais le makepkg. ;-)
«The following statement is not true. The previous statement is true.» :nage:
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

Re: [imprimante]installation Epson SX218

Message par Balam-Web »

oui j'étais dans epson xs218 :s j'ai renommé le dossier en epson simplement et ça a passé... mais toujour pas d'imprimante :s

Code : Tout sélectionner

pacman -U epson-inkjet-printer-workforce-320-sx218-1.0.0-1-any.pkg.tar.xz
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [imprimante]installation Epson SX218

Message par FoolEcho »

Il n'y a rien qui apparaisse dans l'interface web de cups ? Après installation du paquet, si je cherche à modifier mon imprimante, j'ai pourtant dans les modèles: "Epson Stylus Office BX305 Series - epson inkjet printer..." :?



EDIT: et les autres "Epson Stylus Workforce 320 Series - epson inkjet printer ", etc. celle qui t'intéresse: "Epson Stylus SX218 Series - epson inkjet printer" !
«The following statement is not true. The previous statement is true.» :nage:
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

Re: [imprimante]installation Epson SX218

Message par Balam-Web »

cups ne voit pas l'imprimante....

peut etre dois je ajouter quelque chose....
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [imprimante]installation Epson SX218

Message par FoolEcho »

Elle est branchée en usb, c'est bien ça ? Et quand tu cherches à ajouter une imprimante, cups ne te propose pas ce choix ? Donc, si tu n'as touché à rien de plus, tu peux commencer par blacklister le module usblp dans /etc/rc.conf (ou rmmod usblp ; /etc/rc.d/cups restart )

Il y a d'autres manipulations éventuellement (des questions de droits), à voir par ici: https://wiki.archlinux.org/index.php/CU ... CUPS_1.4.x .

Tu peux également tenter le coup en remplaçant cups par cups-usblp disponible sur Aur (+ le PKGBUILD précédent), je n'ai pas vu dans le détail mais ça en a aidé plus d'un déjà.
«The following statement is not true. The previous statement is true.» :nage:
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

Re: [imprimante]installation Epson SX218 (résolu)

Message par Balam-Web »

j'ai ajouté hal-cups-utils

en lançant hal et cups j'ai pu la voir et l'installer !
Avatar de l’utilisateur
FoolEcho
Maître du Kyudo
Messages : 10711
Inscription : dim. 15 août 2010, 11:48
Localisation : Basse-Normandie

Re: [imprimante]installation Epson SX218

Message par FoolEcho »

Tant mieux alors, mais étrange de devoir faire intervenir hal à l'heure où on tend à s'en passer. :|
«The following statement is not true. The previous statement is true.» :nage:
Balam-Web
Hankyu
Messages : 17
Inscription : mar. 14 déc. 2010, 15:12

Re: [imprimante]installation Epson SX218

Message par Balam-Web »

oui j'ai été surpris ... le principale reste que ça fonctionne ^^

je verrais dans quelques temps si je mets le pc de madame en arch ^^
gnome pour elle ... je vous dirais ;)
Avatar de l’utilisateur
biginoz
archer de cavalerie
Messages : 166
Inscription : lun. 10 août 2009, 20:25
Localisation : Le mans

Re: [imprimante]installation Epson SX218

Message par biginoz »

pas besoin de hal, il faut jsute ajouter une règle pour udev

Je te convie à suivre le tuto de frédéric bézier qui s'adapte en passant très bien pour l'imprimante sx125
http://frederic.bezies.free.fr/blog/?p=5691
dell XPS L502 + xfce4.10
Membre de l'équipe de traduction fr de Xfce
Répondre