Le 26 mai 2009 09:45, Rodolphe <thx_9...@yahoo.fr> a écrit : > Amandine VITAL a écrit : >> >> Décidémment, j'essaie depuis 4 jours, rien à faire. A force, c'est la >> confusion et le désespoir. je ne parviens pas à configurer mon >> imprimante multifonction. >> Même en passant sur ubuntu, j'ai tester, le device net n'est pas >> reconnu. hplip, j'ai installé par debian et ubuntu en faisant >> aptitude, et quand je fait hp-setup, je dois choisir le device, et je >> choisis 1 pour le network. et j'ai l'erreur suivant : >> error: No device selected/specified or that supports this functionality. >> >> si je fais : (à la installation précédente, je n'avais pas d'erreur, >> cette fois ci j'en ai) hp-check -r >> # cat hp-check.log >> Ubuntu >> >> 9.10 >> >> /usr/bin/lpstat: impossible de se connecter au serveur. >> >> Linux vital 2.6.30-6-server #7-Ubuntu SMP Fri May 22 06:03:46 UTC 2009 >> i686 GNU/Linux >> >> hp-check[3365]: info: : >> hp-check[3365]: info: :--------------- >> hp-check[3365]: info: :| SYSTEM INFO | >> hp-check[3365]: info: :--------------- >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mBasic system information:[0m >> hp-check[3365]: info: :Linux vital 2.6.30-6-server #7-Ubuntu SMP Fri >> May 22 06:03:46 UTC 2009 i686 GNU/Linux >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mDistribution:[0m >> hp-check[3365]: info: :ubuntu 9.10 >> hp-check[3365]: info: :[01m >> HPOJ running?[0m >> hp-check[3365]: info: :No, HPOJ is not running (OK). >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking Python version...[0m >> hp-check[3365]: info: :OK, version 2.6.2 installed >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking PyQt 4.x version...[0m >> error: NOT FOUND OR FAILED TO LOAD! >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for CUPS...[0m >> error: Status: (Not available. CUPS may not be installed or not running.) >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dbus/python-dbus...[0m >> hp-check[3365]: info: :dbus daemon is running. >> hp-check[3365]: info: :python-dbus version: 0.83.0 >> hp-check[3365]: info: : >> hp-check[3365]: info: : >> hp-check[3365]: info: :------------------------ >> hp-check[3365]: info: :| RUNTIME DEPENDENCIES | >> hp-check[3365]: info: :------------------------ >> hp-check[3365]: info: : >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: CUPS - Common Unix >> Printing System...[0m >> error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please >> make sure that this dependency is installed before installing or >> running HPLIP. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: CUPS DDK - CUPS >> driver development kit...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: GhostScript - >> PostScript and PDF language interpreter and previewer...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: PIL - Python >> Imaging Library (required for commandline scanning with hp-scan)...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: PolicyKit - >> Administrative policy framework...[0m >> warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some >> HPLIP functionality may not function properly. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: ppdev - Parallel >> port support kernel module....[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: PyQt 4 DBus - DBus >> Support for PyQt4...[0m >> error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please >> make sure that this dependency is installed before installing or >> running HPLIP. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: Python ctypes - A >> foreign function library for Python...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: Python DBus - >> Python bindings for DBus...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: Python XML >> libraries...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: Python 2.3 or >> greater - Required for fax functionality...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: Reportlab - PDF >> library for Python...[0m >> warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some >> HPLIP functionality may not function properly. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: SANE - Scanning >> library...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: scanimage - Shell >> scanning program...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking for dependency: xsane - Graphical >> scanner frontend for SANE...[0m >> warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some >> HPLIP functionality may not function properly. >> hp-check[3365]: info: : >> hp-check[3365]: info: : >> hp-check[3365]: info: :---------------------- >> hp-check[3365]: info: :| HPLIP INSTALLATION | >> hp-check[3365]: info: :---------------------- >> hp-check[3365]: info: : >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mCurrently installed HPLIP version...[0m >> hp-check[3365]: info: :HPLIP 3.9.4b currently installed in >> '/usr/share/hplip'. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' >> file:[0m >> hp-check[3365]: info: :# hplip.conf. Generated from hplip.conf.in by >> configure. >> >> [hplip] >> version=3.9.4b >> >> [dirs] >> home=/usr/share/hplip >> run=/var/run >> ppd=/usr/share/ppd/hpijs/HP >> ppdbase=/usr/share/ppd/hpijs >> doc=/usr/share/doc/hplip-doc/HTML >> icon=no >> cupsbackend=/usr/lib/cups/backend >> cupsfilter=/usr/lib/cups/filter >> drv=/usr/share/cups/drv >> >> # Following values are determined at configure time and cannot be changed. >> [configure] >> network-build=yes >> pp-build=yes >> gui-build=yes >> scanner-build=yes >> fax-build=yes >> dbus-build=yes >> cups11-build=no >> doc-build=yes >> shadow-build=no >> foomatic-drv-install=yes >> foomatic-ppd-install=no >> foomatic-rip-hplip-install=no >> cups-ppd-install=no >> cups-drv-install=yes >> internal-tag=3.9.4b.10 >> restricted-build=no >> ui-toolkit=qt4 >> qt3=no >> qt4=yes >> policy-kit=yes >> >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mCurrent contents of >> '/var/lib/hp/hplip.state' file:[0m >> hp-check[3365]: info: :# hplip.state - HPLIP runtime persistent variables. >> >> [plugin] >> installed=0 >> eula=0 >> >> >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' >> file:[0m >> hp-check[3365]: info: :[installation] >> version = 3.9.4b.10 >> date_time = 05/26/09 09:13:23 >> >> >> hp-check[3365]: info: : >> hp-check[3365]: info: :------------------------------- >> hp-check[3365]: info: :| DISCOVERED PARALLEL DEVICES | >> hp-check[3365]: info: :------------------------------- >> hp-check[3365]: info: : >> hp-check[3365]: info: :No devices found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :-------------------------- >> hp-check[3365]: info: :| DISCOVERED USB DEVICES | >> hp-check[3365]: info: :-------------------------- >> hp-check[3365]: info: : >> hp-check[3365]: info: :No devices found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :--------------------------------- >> hp-check[3365]: info: :| INSTALLED CUPS PRINTER QUEUES | >> hp-check[3365]: info: :--------------------------------- >> hp-check[3365]: info: : >> hp-check[3365]: info: : >> warning: No queues found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :---------------------- >> hp-check[3365]: info: :| SANE CONFIGURATION | >> hp-check[3365]: info: :---------------------- >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m >> hp-check[3365]: info: :[01m'hpaio' in '/etc/sane.d/dll.d/hplip'...[0m >> hp-check[3365]: info: :OK, found. SANE backend 'hpaio' is properly set up. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking output of 'scanimage -L'...[0m >> hp-check[3365]: info: : >> No scanners were identified. If you were expecting something different, >> check that the scanner is plugged in, turned on and detected by the >> sane-find-scanner tool (if appropriate). Please read the documentation >> which came with this software (README, FAQ, manpages). >> >> hp-check[3365]: info: : >> hp-check[3365]: info: :--------------------- >> hp-check[3365]: info: :| PYTHON EXTENSIONS | >> hp-check[3365]: info: :--------------------- >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking 'cupsext' CUPS extension...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking 'pcardext' Photocard extension...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking 'hpmudext' I/O extension...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: :[01mChecking 'scanext' SANE scanning >> extension...[0m >> hp-check[3365]: info: :OK, found. >> hp-check[3365]: info: : >> hp-check[3365]: info: : >> hp-check[3365]: info: : >> hp-check[3365]: info: :--------------- >> hp-check[3365]: info: :| USER GROUPS | >> hp-check[3365]: info: :--------------- >> hp-check[3365]: info: : >> hp-check[3365]: info: :amandine adm dialout cdrom plugdev lpadmin >> sambashare admin >> >> hp-check[3365]: info: : >> hp-check[3365]: info: :----------- >> hp-check[3365]: info: :| SUMMARY | >> hp-check[3365]: info: :----------- >> hp-check[3365]: info: : >> error: 7 errors and/or warnings. >> hp-check[3365]: info: : >> hp-check[3365]: info: :Please refer to the installation instructions at: >> hp-check[3365]: info: :http://hplip.sourceforge.net/install/index.html >> >> hp-check[3365]: info: : >> hp-check[3365]: info: :Done. >> >> ------- >> amand...@vital:~$ ping 192.168.10.10 >> PING 192.168.10.10 (192.168.10.10) 56(84) bytes of data. >> 64 bytes from 192.168.10.10: icmp_seq=1 ttl=255 time=9.64 ms >> 64 bytes from 192.168.10.10: icmp_seq=2 ttl=255 time=0.220 ms >> ^C >> --- 192.168.10.10 ping statistics --- >> 2 packets transmitted, 2 received, 0% packet loss, time 1001ms >> rtt min/avg/max/mdev = 0.220/4.931/9.643/4.712 ms >> >> >> >> >> >>> Alors, pour commencer, il faut lancer lynx pour accéder à l'interface de >>> gestion. >>> >>> Dans une console, lynx http://127.0.0.1:631 >> >> amand...@vital:~$ lynx http://127.0.0.1:631 >> >> Recherche 127.0.0.1:631 >> Connexion HTTP à 127.0.0.1:631 >> Alerte! : Impossible d'établir une connexion à l'hôte distant. >> >> lynx : accès impossible au fichier de départ http://127.0.0.1:631/ >> >>> La page s'affiche, il faut choisir "Administration"->"Add printer" >>> Il demande le nom, c'est le nom court de l'imprimante (par ex HP4500) qui >>> est son identifiant pour la gestion. Les 2 autres lignes c'est juste de >>> l'information. >>> >>> Page suivante, choix du "device", donc dans ton cas, socket sur port >>> 9100. >>> Il faut choisir "AppSocket/HP JetDirect". >>> >>> Page suivante, adresse du "device", donc sur socket il faut entrer >>> socket://192.168.10.10:9100 et on valide. >>> >>> Page suivante, choix de la marque du fabricant, ici HP. >>> >>> Page suivante, choix du modèle parmi les pilotes disponibles, il faut >>> bien >>> selectionner le bon pilote parmi la liste et c'est la qu'intervient la >>> couche hplip qui propose ses pilotes. >>> >>> et voila c'est presque prêt, il ne faut pas oublier de configurer les >>> options d'impression par défaut avec "Printers"->"Set printer options" >>> >>> tu retrouveras toutes ces informations dans le fichier >>> /etc/cupsd/printers.conf >>> >>> A noter que l'interface sera en français si l'environnement est installé >>> en >>> français évidemment. >>> >>> tu peux utiliser un navigateur graphique si tu as un serveur X sur ta >>> machine cliente. Je fais ma gestion à distance sur mon poste linux via >>> ssh >>> et firefox. >> > Bonjour, > > Pour que lynx puisse se connecter au serveur d'impression, il faut qu'il > soit lancé, il semble que cela ne soit pas le cas ... > >> hp-check[3365]: info: :[01mChecking for CUPS...[0m >> error: Status: (Not available. CUPS may not be installed or not running.) > > la commande "ps -edf | grep cupsd" doit confirmer que le daemon "cupsd" > tourne. $ ps -edf | grep cupsd root 3377 1 0 10:14 ? 00:00:00 /usr/sbin/cupsd amandine 3384 3139 0 10:16 pts/0 00:00:00 grep cupsd
> il faut lancer lynx en tant qu'utilisateur membre du groupe lp, en root, > l'accès est refusé par défaut. > > quel est le résultat de la commande 'dpkg -l | grep cups' ? et 'dpkg -l | > grep hplip' ? $ dpkg -l | grep cups ii cups 1.3.10-2 Common UNIX Printing System(tm) - server ii cups-client 1.3.10-2 Common UNIX Printing System(tm) - client pro ii cups-common 1.3.10-2 Common UNIX Printing System(tm) - common fil ii cups-driver-gutenprint 5.2.3-0ubuntu5 printer drivers for CUPS ii cupsddk 1.2.3-5ubuntu1 CUPS Driver Development Kit ii cupsddk-drivers 1.2.3-5ubuntu1 CUPS Driver Development Kit - Driver files ii cupsys 1.3.10-2 Common UNIX Printing System (transitional pa ii cupsys-driver-gutenprint 5.2.3-0ubuntu5 Transitional package ii libcups2 1.3.10-2 Common UNIX Printing System(tm) - libs ii libcupsimage2 1.3.10-2 Common UNIX Printing System(tm) - image libs $ dpkg -l | grep hplip ii hplip 3.9.4b-0ubuntu1 HP Linux Printing and Imaging System (HPLIP) ii hplip-data 3.9.4b-0ubuntu1 HP Linux Printing and Imaging - data files > il ne faut pas se décourager, juste avancer pas après pas :) j'essaie, mais quand on teste plusieurs fois, y a de quoi parfois être découragé :( Amandine -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe" vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org