Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Configurer une imprimante laser hp sur lenny

43 réponses
Avatar
Amandine VITAL
Coucou,

Voil=C3=A0 je voudrais installer une imprimante laser hp et qu'il fasse
office de serveur d'impression.
Dans les docs que j'ai vu, je dois installer cupsys.

Mais en regardant sur le site de hp, il y a un hplip =C3=A0 installer.

Dois-je installer les deux ?

je suppose que si le serveur n'a pas d'interface graphique, je ne peux
pas faire :
http://localhost:631

Merci
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-REQUEST@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmaster@lists.debian.org

10 réponses

1 2 3 4 5
Avatar
Amandine VITAL
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/hpli p'.
hp-check[3365]: info: :
hp-check[3365]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0 m
hp-check[3365]: info: :# hplip.conf. Generated from hplip.conf.in by confi gure.

[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.

-------
:~$ 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%5 time=9.64 ms
64 bytes from 192.168.10.10: icmp_seq=2 ttl%5 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'int erface de
gestion.

Dans une console, lynx http://127.0.0.1:631


:~$ 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://1 27.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 fau t 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 le s
options d'impression par défaut avec "Printers"->"Set printer option s"

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 inst allé 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 v ia ssh
et firefox.



--
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
En cas de soucis, contactez EN ANGLAIS
Avatar
Rodolphe
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.

-------
:~$ 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%5 time=9.64 ms
64 bytes from 192.168.10.10: icmp_seq=2 ttl%5 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


:~$ 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.

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' ?

il ne faut pas se décourager, juste avancer pas après pas :)

Rodolphe


--
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
En cas de soucis, contactez EN ANGLAIS
Avatar
giggzounet
Amandine VITAL a écrit :
Coucou,

Voilà je voudrais installer une imprimante laser hp et qu'il fasse
office de serveur d'impression.
Dans les docs que j'ai vu, je dois installer cupsys.

Mais en regardant sur le site de hp, il y a un hplip à installer.

Dois-je installer les deux ?

je suppose que si le serveur n'a pas d'interface graphique, je ne peux
pas faire :
http://localhost:631

Merci
Amandine




Juste un truc :
t as essaye deja de la faire marcher branchee directement sur ton pc (en
USB) ? sans passer par le reseau ? Une fois que ca ca marchera...ben tu
passeras a la suite.

Pour les interfaces graphiques generales en rapport avec les
imprimantes, j en ai utilise 2 :
foomatic-gui
ou
hal-cups-utils

c est assez simple...faut tester et au bout d un moment ca marche.

Bonne chance! les imprimantes et les cartes graphiques sont les trucs
les plus chiants a faire marcher sous linux. et encore avec une HP tu as
de la chance!

desole pour les accents.
Bye
Guillaume

--
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
En cas de soucis, contactez EN ANGLAIS
Avatar
Amandine VITAL
Le 26 mai 2009 09:45, Rodolphe a écrit :
Amandine VITAL a écrit :

Décidémment, j'essaie depuis 4 jours, rien à faire. A for ce, 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 function ality.

si je fais : (à la installation précédente, je n'avais pa s 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 change d.
[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 variable s.

[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 u p.
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.

-------
:~$ 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%5 time=9.64 ms
64 bytes from 192.168.10.10: icmp_seq=2 ttl%5 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'i nterface de
gestion.

Dans une console, lynx http://127.0.0.1:631



:~$ 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) q ui
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 f aut
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 opti ons"

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 in stallé
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
En cas de soucis, contactez EN ANGLAIS
Avatar
Amandine VITAL
> Dans une console, lynx http://127.0.0.1:631


lynx http://localhost:631
ça marche.

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.


Est-ce que je dois modifier iptables ?

tu retrouveras toutes ces informations dans le fichier
/etc/cupsd/printers.conf


$ sudo cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.3.10
# Written by cupsd on 2009-05-26 10:29
<Printer hp2840>
Info
Location
DeviceURI socket://192.168.10.10:9100
State Idle
StateTime 1243326568
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>

Comment puis-je faire un test d'impression ?

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
En cas de soucis, contactez EN ANGLAIS
Avatar
Rodolphe
Amandine VITAL a écrit :
Le 26 mai 2009 09:45, Rodolphe 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.

-------
:~$ 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%5 time=9.64 ms
64 bytes from 192.168.10.10: icmp_seq=2 ttl%5 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


:~$ 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




Pour avoir les commandes du style "lpstat" il te faut le paquet 'cups-bsd'.

Tu peux supprimer les paquets 'cupsys' et 'cupsys-driver-gutenprint' qui
ne sont plus utilisés.

Le reste à l'air bon (a part le fait que ce sont des paquets non-stable)
, est ce que tu as les paquets 'foomatic-db', 'foomatic-db-engine' et/ou
'foomatic-filters' ?

Puisque 'cupsd' tourne, tu dois pouvoir lancer 'lynx
http://127.0.0.1:631' ...

Rodolphe

--
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
En cas de soucis, contactez EN ANGLAIS
Avatar
Rodolphe
Amandine VITAL a écrit :
Dans une console, lynx http://127.0.0.1:631


lynx http://localhost:631
ça marche.

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.


Est-ce que je dois modifier iptables ?

tu retrouveras toutes ces informations dans le fichier
/etc/cupsd/printers.conf


$ sudo cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.3.10
# Written by cupsd on 2009-05-26 10:29
<Printer hp2840>
Info
Location
DeviceURI socket://192.168.10.10:9100
State Idle
StateTime 1243326568
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>

Comment puis-je faire un test d'impression ?

Amandine



Si tu ne veux pas que ton imprimante soit accessible à partir
d'internet(extérieur) il suffit de fermer les ports au niveau routeur
(port 631(ipp), 9100(jetdirect), 515(printer), ou plus simplement
configurer ton imprimante pour quelle n'utilise qu'un seul protocole.

il y a de nombreuses solutions pour limiter l'accès à l'impression, y
compris par utilisateur.

Tu peux lancer une page de test à partir de l'interface de configuration
sous lynx ou juste par 'lp -dhp2840 nom-de-fichier'

Rodolphe

--
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
En cas de soucis, contactez EN ANGLAIS
Avatar
Amandine VITAL
Alléluia ! j'ai pu imprimer une page test par lynx:http://127.0.0.1:63 1
Je vais fêter ça. depuis le temps que j'essaie de configurer. :)

Pour avoir les commandes du style "lpstat" il te faut le paquet 'cups-bsd '.


C'est quoi la commande pour voir si cups-bsd est installé ?

Tu peux supprimer les paquets 'cupsys' et 'cupsys-driver-gutenprint' qui  ne
sont plus utilisés.


Comment faire pour supprimer ?
aptitude remove cupsys

je ne comprends pas pourquoi dans toutes les docs vous avez
/etc/cupsys et /etc/init.d/cupsys
et moi j'ai /etc/cups et /etc/init.d/cups

Le reste à l'air bon (a part le fait que ce sont des paquets non-sta ble) ,
est ce que tu as les paquets 'foomatic-db', 'foomatic-db-engine' et/ou
'foomatic-filters' ?


oui je crois bien :)

Merci Rodolphe. La perséverance a du bon parfois :)
Bon, la galère n'est pas fini, car je vais tenter de configurer ç a avec samba :(

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
En cas de soucis, contactez EN ANGLAIS
Avatar
Amandine VITAL
> Si tu ne veux pas que ton imprimante soit accessible à partir
d'internet(extérieur) il suffit de fermer les ports au niveau routeu r (port
631(ipp), 9100(jetdirect), 515(printer), ou plus simplement configurer to n
imprimante pour quelle n'utilise qu'un seul protocole.


euh, pour le moment, j'essaie d'imprimer :) mais je regarderai après


il y a de nombreuses solutions pour limiter l'accès à l'impress ion, y
compris par utilisateur.

Tu peux lancer une page de test à partir de l'interface de configura tion
sous lynx ou juste par 'lp -dhp2840 nom-de-fichier'



$ lp -dhp2840 /etc/cups/cupsd.conf
lâidentifiant de requête est hp2840-8 ( 1 fichier(s) )

ça n'imprime pas...
ça veut dire quoi ?

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
En cas de soucis, contactez EN ANGLAIS
Avatar
Rodolphe
Amandine VITAL a écrit :
Alléluia ! j'ai pu imprimer une page test par lynx:http://127.0.0.1:631
Je vais fêter ça. depuis le temps que j'essaie de configurer. :)

Pour avoir les commandes du style "lpstat" il te faut le paquet 'cups-bsd'.


C'est quoi la commande pour voir si cups-bsd est installé ?

Tu peux supprimer les paquets 'cupsys' et 'cupsys-driver-gutenprint' qui ne
sont plus utilisés.


Comment faire pour supprimer ?
aptitude remove cupsys

je ne comprends pas pourquoi dans toutes les docs vous avez
/etc/cupsys et /etc/init.d/cupsys
et moi j'ai /etc/cups et /etc/init.d/cups

Le reste à l'air bon (a part le fait que ce sont des paquets non-stable) ,
est ce que tu as les paquets 'foomatic-db', 'foomatic-db-engine' et/ou
'foomatic-filters' ?


oui je crois bien :)

Merci Rodolphe. La perséverance a du bon parfois :)
Bon, la galère n'est pas fini, car je vais tenter de configurer ça avec samba :(

Amandine.



J'utilise toujours les commandes via un terminal, question d'habitude,
pour savoir si tu as un paquet d'installé :

dpkg -l "nom_du_paquet' (fait un man dpkg pour plus d'options)

tu peux regarder aussi du coté d' "apt-cache" avec les commandes
"search" et "show" qui sont très pratiques pour obtenir des informations
avant installation des paquets.

Avec Samba tout dépend si tu veux une gestion automatique ou manuelle
des pilotes et des imprimantes, plusieurs possibilités avec chacune des
avantages et inconvénients suivant le cas de figure.

Bon courage,

Rodolphe

--
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
En cas de soucis, contactez EN ANGLAIS
1 2 3 4 5