Hplip ou pas ?

bonjour ,

je vous remercie pour votre avis si précieux .

voilà : je me pose une question :
j’ai une imprimante hp envy 5536
debian la reconnaît d’office quoique j’ai pas testé le scanner .

est ce que j’installe hplip ?
si oui , cela va m’apporter quoi ?

merci

alain

Quel hplip ?
Celui-ci : http://hplipopensource.com/hplip-web/index.html

ou celui-ci : https://packages.debian.org/search?keywords=hplip+hp&searchon=names&suite=all&section=all&sourceid=mozilla-search

Que donne :
$ apt-cache policy hplip

Je te conseille de ne pas installer le premier hplip qui cause des problèmes puisqu’il intègre sans arrêt des nouvelles imprimantes en cassant parfois des fonctions qui marchaient pour les anciennes jusqu’à cela remarche avant de ne plus remarcher et ainsi de suite. La deuxième solution, le paquet debian est plus fiable.

a vrai dire , je ne sais pas .
mon imprimante étant une HP , j’aurai tendance à aller chez HP qui me fournira ,je le sais ,la dernière version .

mème si je peux imprimer et scanner , il me manque le niveau d’encre des cartouches .
rien que pour ça , je l’installerai bien volontiers .

mais la question est : cela m’apportera quoi de plus que le minimum que j’ai déjà ?
si c’est intéressant , pourquoi pas ? mais comment désinstaller le hplip par défaut avant de mettre le nouveau ?

voilà
merci
alain

C’est exactement le même raisonnement que j’ai tenu, mais cela ne m’ a apporté que des ennuis, alors même que je suis acharné avec cette solution pour la faire fonctionner. Avec la cause que je décris dans mon message précédent, alors je me contente du paquet hplip debian.

Pour le niveau d’encre, ici avec Wheezy Gnome, il y a une astuce, c’est vrai, qu’il est bien caché.
Tu vas dans “Applications” -> “Bureautique” -> “HPLIP Fax Utility”, cela te lance deux choses :

1 : Une fenêtre “HP Device Manager -Send Fax” que tu pourras fermer

2 : Une icône hp en haut sur la barre, tu cliques dessus et ensuite sur “HP Device Manager” et ensuite sur “Supplies” et tu verras le niveau d’encre.

cher gilles2,

j’ai bien trouvé le menu “application” dans le menu “activités” de jessie
mais c’est tout

je ne vois pas de menu “bureautique” et encore moins de “hplip fax utility”

peux tu m’aider ?

J’ai effectué une copie d’écran, mais vu que nos systèmes sont différents, je pense qu’il est préférable d’utiliser le terminal. Avec la commande top, j’ai vu que c’était la commande hp-systray qui lance la gestion de l’imprimante ( HP Device Manger ). À toi de jouer !

j’ai trouvé la réponse pour les imprimantes HEWLETT PACKARD reconnues par le HPLIP installé par les Dépots DEBIAN par défaut.

il faut utiliser la commande >>>> hp-levels <<<<

voilà un exemple :

alain-bellec@debian-alain:~$ hp-levels

HP Linux Imaging and Printing System (ver. 3.14.6)
Supply Levels Utility ver. 2.0

Copyright © 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device: hp:/usb/ENVY_5530_series?serial=CN595530XD06BX

Tri-color cartridge
Part No.: 301XL
Health: Good/OK


|/////////////////// | (approx. 30%)

Black cartridge
Part No.: 301XL
Health: Good/OK


|/////////////////// | (approx. 30%)

Done.
alain-bellec@debian-alain:~$ hp-systray
bash: hp-systray : commande introuvable
alain-bellec@debian-alain:~$

La commande hp-systray a du être supprimée, content que tu aies réglé ton problème et merci pour hp-levels !

Il y une commande intéressante pour vérifier si tout est correct : hp-check

j’ai essayé la commande que tu me donnes .
en effet elle fonctionne .
malheureusement , j’ai beaucoup de rouge .
peux tu m’aider à résoudre ce problème .
si problème il y a . si non , explique moi pourquoi et comment .

root@debian-alain:/home/alain-bellec# hp-check
Saving output in log file: /home/alain-bellec/hp-check.log

HP Linux Imaging and Printing System (ver. 3.14.6)
Dependency/Version Check Utility ver. 15.1

Copyright © 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:

  1. Compile-time check mode (-c or --compile): Use this mode before compiling the
    HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
    are installed to successfully compile HPLIP.
  2. Run-time check mode (-r or --run): Use this mode to determine if a distro
    supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
    has the proper dependencies installed to successfully run.
  3. Both compile- and run-time check mode (-b or --both) (Default): This mode
    will check both of the above cases (both compile- and run-time dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version

-Gtk-Message: Failed to load module "canberra-gtk-module"
warning: debian-8.5 version is not supported. Using debian-7.5 versions dependencies to verify and install…


SYSTEM INFO

Kernel: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) GNU/Linux
Host: debian-alain
Proc: 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) GNU/Linux
Distribution: debian 8.5
Bitness: 64 bit


HPLIP CONFIGURATION

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro 8.5 version

Current contents of ‘/etc/hp/hplip.conf’ file:

hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.14.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
html=/usr/share/doc/hplip-3.14.6
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

Following values are determined at configure time and cannot be changed.

[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of ‘/var/lib/hp/hplip.state’ file:
Plugins are not installed. Could not access file: Aucun fichier ou dossier de ce type

Current contents of ‘~/.hplip/hplip.conf’ file:
warning: Could not access file: Aucun fichier ou dossier de ce type
<Required/Optional>


External Dependencies

policykit Admin-Policy-framework OPTIONAL - 0.105 OK -
gs Ghostscript REQUIRED 7.05 9.06 OK -
network Network-wget OPTIONAL - 1.16 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.24 OK -
error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed’
error: dbus DBus REQUIRED - 1.8.20 MISSING 'DBUS may not be installed or not running’
error: cups CUPS REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running’
error: xsane SANE-GUI OPTIONAL 0.9 - MISSING ‘xsane needs to be installed’


General Dependencies

error: reportlab Python-PDF-Lib OPTIONAL 2.0 3.1.8 MISSING 'reportlab needs to be installed’
error: libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 MISSING 'libcrypto needs to be installed’
pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.11.2 OK -
error: libjpeg JPEG-Lib REQUIRED - - MISSING 'libjpeg needs to be installed’
error: libpthread POSIX-Threads-Lib REQUIRED - 2.19 MISSING 'libpthread needs to be installed’
python-dbus Python-DBUS REQUIRED 0.80.0 1.2.0 OK -
error: python-devel Python-SDK REQUIRED 2.2 2.7.9 MISSING 'python-devel needs to be installed’
pyqt4 Python-Qt4 REQUIRED 4.0 4.11.2 OK -
error: cups-devel CUPS-SDK REQUIRED - - MISSING 'cups-devel needs to be installed’
error: sane-devel SANE-SDK REQUIRED - - MISSING 'sane-devel needs to be installed’
error: libusb USB-Lib REQUIRED - 1.0 MISSING 'libusb needs to be installed’
sane Scan-Lib REQUIRED - - OK -
error: cups-image CUPS-Image-Lib REQUIRED - - MISSING 'cups-image needs to be installed’
error: libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed’
python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
python-notify Desktop-notifications OPTIONAL - - OK -


Compile Time Dependencies

error: gcc gcc-Compiler REQUIRED - - MISSING 'gcc needs to be installed’
error: libtool Build-tools REQUIRED - - MISSING 'libtool needs to be installed’
error: make GNU-Build-tools REQUIRED 3.0 - MISSING ‘make needs to be installed’


Python Extentions

cupsext CUPS-Extension REQUIRED - 3.14.6 OK -
pcardext PhotoCard-Extension REQUIRED - 3.14.6 OK -
hpmudext IO-Extension REQUIRED - 3.14.6 OK -


Scan Configuration

hpaio HPLIP-SANE-Backend REQUIRED - 3.14.6 OK 'hpaio found in /etc/sane.d/dll.conf’
scanext Scan-SANE-Extension REQUIRED - 3.14.6 OK -


DISCOVERED SCANNER DEVICES

device hpaio:/usb/ENVY_5530_series?serial=CN595530XD06BX' is a Hewlett-Packard ENVY_5530_series all-in-one devicev4l:/dev/video1’ is a Noname Hauppauge WinTV-HVR1120 DVB-T/H virtual device
device `v4l:/dev/video0’ is a Noname HP Deluxe Webcam KQ246AA virtual device


DISCOVERED USB DEVICES

Device URI Model


hp:/usb/ENVY_5530_series?serial= HP ENVY 5530 series
CN595530XD06BX


INSTALLED CUPS PRINTER QUEUES

ENVY-5530-series

Type: Printer
Device URI: hp:/usb/ENVY_5530_series?serial=CN595530XD06BX
PPD: /etc/cups/ppd/ENVY-5530-series.ppd
PPD Description: HP Envy 5530 Series, hpcups 3.14.6
Printer status: printer ENVY-5530-series is idle. enabled since ven. 26 août 2016 15:22:38 CEST
Communication status: Good


PERMISSION

USB ENVY-5530-series Required - - OK Node:’/dev/bus/usb/003/002’ Perm:’ root lp rw- rw- rw- rw- rw- r–’


SUMMARY

Missing Required Dependencies

error: ‘libdbus-1-dev’ package is missing/incompatible
error: ‘libcups2’ package is missing/incompatible
error: ‘libssl-dev’ package is missing/incompatible
error: ‘libjpeg8-dev’ package is missing/incompatible
error: ‘libc6’ package is missing/incompatible
error: ‘python-dev’ package is missing/incompatible
error: ‘libcups2-dev’ package is missing/incompatible
error: ‘cups-bsd’ package is missing/incompatible
error: ‘cups-client’ package is missing/incompatible
error: ‘libsane-dev’ package is missing/incompatible
error: ‘libusb-1.0.0-dev’ package is missing/incompatible
error: ‘libcupsimage2’ package is missing/incompatible
error: ‘libcupsimage2-dev’ package is missing/incompatible
error: ‘libsnmp-dev’ package is missing/incompatible
error: ‘g++’ package is missing/incompatible
error: ‘libtool’ package is missing/incompatible
error: ‘make’ package is missing/incompatible

Missing Optional Dependencies

error: ‘avahi-utils’ package is missing/incompatible
error: ‘xsane’ package is missing/incompatible
error: ‘python-reportlab’ package is missing/incompatible

Total Errors: 17
Total Warnings: 1

Run ‘hp-doctor’ command to prompt and fix the issues.

Done.
root@debian-alain:/home/alain-bellec#

Il y a problème et pas problème en même temps ! C’est à dire sans hp-check correct quasiment tout va fonctionner sauf l’administration de l’imprimante qui n’aura lieu qu’en root avec le paquet debian, tandis hp-check te demande de mettre l’utilisateur dans les groupes lp et lpadmin. Ce qui fait que l’utilisateur pourra administrer l’imprimante.

Bon, tu peux mettre l’utilisateur dans les groupes lp et lpadmin sans hp-check avec cette commande :
$ su -c "/usr/sbin/usermod -a -G lp,lpadmin $USER"

et vérifier les groupes dans lesquels est ton utilisateur :slight_smile:
$ groups $USER
pour ma part, j’ai cette réponse :
lp cdrom floppy audio dip video plugdev scanner lpadmin bluetooth netdev

Mais l’utilisateur dans les groupes lp et lpadmin sera supprimé automatiquement en passant de la 8.5 à la 8.6, en fait à chaque incrémentation de version. En fait, j’ai utilisé hp-check parce que j’avais commencé à utiliser les sources HPLIP HP au départ, je ne m’en souvenais plus ! C’est qu’après que je suis passé au paquet hlip debian. C’est beaucoup de boulot, d’intuition, de raisonnement d’avoir un hp-check correct.

$ hp-check -r

HP Linux Imaging and Printing System (ver. 3.12.6)
Dependency/Version Check Utility ver. 15

Copyright © 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:

  1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if
    the proper dependencies are installed to successfully compile HPLIP.
  2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP
    supplied tarball has the proper dependencies installed to successfully run.
  3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time
    dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version

Saving output in log file: /home/intervenant100/hp-check.log

Initializing. Please wait…
warning: debian-7.11 version is not supported. Using debian-6.0.5 versions dependencies to verify and install…


SYSTEM INFO

Kernel: 3.2.0-4-powerpc-smp #1 SMP Debian 3.2.78-1 GNU/Linux
Host: tapez-votre-commande-shell
Proc: 3.2.0-4-powerpc-smp #1 SMP Debian 3.2.78-1 GNU/Linux
Distribution: debian 7.11


HPLIP CONFIGURATION

HPLIP-Version: HPLIP 3.12.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro 7.11 version

Current contents of ‘/etc/hp/hplip.conf’ file:

hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.12.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
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
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of ‘/var/lib/hp/hplip.state’ file:
Plugins are not installed. Could not access file: Aucun fichier ou dossier de ce type

Current contents of ‘~/.hplip/hplip.conf’ file:
[last_used]
device_uri = hp:/usb/Officejet_J4500_series?serial=CN96HC905J052T
printer_name = Officejet_J4500_fax
working_dir = .

[settings]
systray_visible = 0
systray_messages = 0

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[upgrade]
notify_upgrade = false
last_upgraded_time = 1472300789.19851
pending_upgrade_time = 0

[installation]
date_time = 28/08/2016 15:17:56
version = 3.12.6

<Required/Optional>


External Dependencies

gs Ghostscript REQUIRED 7.05 9.05 OK -
network Network-wget OPTIONAL - 1.13.4 OK -
dbus DBus REQUIRED - 1.6.8 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
policykit Admin-Policy-framework OPTIONAL - 0.105 OK -
xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
cups CUPS REQUIRED 1.1 1.5.3 OK ‘CUPS Scheduler is running’


General Dependencies

reportlab Python-PDF-Lib OPTIONAL 2.0 2.5 OK -
libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.3 OK -
libjpeg JPEG-Lib REQUIRED - - OK -
libpthread POSIX-Threads-Lib REQUIRED - 2.13 OK -
python-dbus Python-DBUS REQUIRED 0.80.0 1.1.1 OK -
python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
pyqt4 Python-Qt4 REQUIRED 4.0 4.9.3 OK -
cups-devel CUPS-SDK REQUIRED - 1.5.3 OK -
sane-devel SANE-SDK REQUIRED - 1.0.22 OK -
libusb USB-Lib REQUIRED - 1.0 OK -
sane Scan-Lib REQUIRED - 1.0.22 OK -
cups-image CUPS-Image-Lib REQUIRED - 1.5.3 OK -
libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 OK -
python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
python-notify Desktop-notifications OPTIONAL - - OK -


Python Extentions

cupsext CUPS-Extension REQUIRED - 3.12.6 OK -
pcardext PhotoCard-Extension REQUIRED - 3.12.6 OK -
hpmudext IO-Extension REQUIRED - 3.12.6 OK -


Scan Configuration

hpaio HPLIP-SANE-Backend REQUIRED - 3.12.6 OK 'hpaio found in /etc/sane.d/dll.conf’
scanext Scan-SANE-Extension REQUIRED - 3.12.6 OK -


DISCOVERED SCANNER DEVICES

p11-kit: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module
device `hpaio:/usb/Officejet_J4500_series?serial=CN96HC905J052T’ is a Hewlett-Packard Officejet_J4500_series all-in-one


DISCOVERED USB DEVICES

Device URI Model


hp:/usb/Officejet_J4500_series?serial=CN96HC905J052T HP Officejet J4500 series


INSTALLED CUPS PRINTER QUEUES

p11-kit

Type: Unknown
Device URI: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module

Officejet_J4500

Type: Printer
Device URI: hp:/usb/Officejet_J4500_series?serial=CN96HC905J052T
PPD: /etc/cups/ppd/Officejet_J4500.ppd
PPD Description: HP Officejet j4500 Series, hpcups 3.12.6
printer Officejet_J4500 is idle. enabled since ven. 19 août 2016 16:32:39 CEST: /etc/pkcs11/modules/gnome-keyring-module
p11-kit: invalid config filename, will be ignored in the future: /etc/pkcs11/modules/gnome-keyring-module
Communication status: Good

Officejet_J4500_fax

Type: Fax
Device URI: hpfax:/usb/Officejet_J4500_series?serial=CN96HC905J052T
PPD: /etc/cups/ppd/Officejet_J4500_fax.ppd
PPD Description: HP Fax hpcups
printer Officejet_J4500_fax is idle. enabled since ven. 19 août 2016 16:32:29 CESTtc/pkcs11/modules/gnome-keyring-module
Communication status: Good


PERMISSION

groups user-groups Required - - OK intervenant100 lp cdrom floppy audio dip video plugdev scanner lpadmin bluetooth netdev

USB Officejet_J4500 Required - - OK Node:’/dev/bus/usb/001/004’ Perm:’ root lp --t rw- rw- rw- rw- r–’


SUMMARY

Missing Required Dependencies

None

Missing Optional Dependencies

None

Total Errors: 0
Total Warnings: 0

No errors or warnings.

Done.

J’ai téléchargé le hplip de hewlett packard ,

voilà ce que j’obtiens :

alain-bellec@debian-alain:~$ cd Téléchargements
alain-bellec@debian-alain:~/Téléchargements$ sh hplip-3.16.7.run
Creating directory hplip-3.16.7
Verifying archive integrity… All good.
Uncompressing HPLIP 3.16.7 Self Extracting Archivehplip-3.16.7.run: 369: cd: can’t cd to hplip-3.16.7
…hplip-3.16.7.run: 371: cd: can’t cd to hplip-3.16.7
chown: impossible de lire le répertoire « ./hplip-3.16.7 »: Permission non accordée
chgrp: impossible de lire le répertoire « ./hplip-3.16.7 »: Permission non accordée

hplip-3.16.7.run: 382: cd: can’t cd to hplip-3.16.7

HP Linux Imaging and Printing System (ver. 3.16.7)
HPLIP Installer ver. 5.1

Copyright © 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Sun-28-Aug-2016_12:34:26.log

/
note: Defaults for each question are maked with a ‘*’. Press to accept the default.
/Gtk-Message: Failed to load module "canberra-gtk-module"
error: debian-8.5 version is not supported, so all dependencies may not be installed. However trying to install using debian-8.4 version packages.

Press ‘y’ to continue auto installation. Press ‘n’ to quit auto instalation(y=yes, n=no*): n
Installation exit
alain-bellec@debian-alain:~/Téléchargements$ sh hplip-3.16.7.run
Creating directory hplip-3.16.7
Verifying archive integrity… All good.
Uncompressing HPLIP 3.16.7 Self Extracting Archivehplip-3.16.7.run: 369: cd: can’t cd to hplip-3.16.7
…hplip-3.16.7.run: 371: cd: can’t cd to hplip-3.16.7
chown: impossible de lire le répertoire « ./hplip-3.16.7 »: Permission non accordée
chgrp: impossible de lire le répertoire « ./hplip-3.16.7 »: Permission non accordée

hplip-3.16.7.run: 382: cd: can’t cd to hplip-3.16.7

HP Linux Imaging and Printing System (ver. 3.16.7)
HPLIP Installer ver. 5.1

Copyright © 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Sun-28-Aug-2016_12:41:10.log

/
note: Defaults for each question are maked with a ‘*’. Press to accept the default.
error: debian-8.5 version is not supported, so all dependencies may not be installed. However trying to install using debian-8.4 version packages.

Press ‘y’ to continue auto installation. Press ‘n’ to quit auto instalation(y=yes, n=no*): y

INSTALLATION MODE

Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a

Initializing. Please wait…

INTRODUCTION

This installer will install HPLIP version 3.16.7 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION

Distro appears to be Debian 8.5.

Is “Debian 8.5” your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

ENTER ROOT/SUPERUSER PASSWORD

Please enter the root/superuser password:

INSTALLATION NOTES

NOTE: Disable the CD Sources in your apt sources.list or the install will fail and hang.

Please read the installation notes. Press to continue or ‘q’ to quit: q

donc , comment déselectionner le cd de apt sources.list et faire en sorte que la distrib ne demande plus de disque mais aille sur le net chercher ce dont elle a besoin ?

[quote=“alainbrest1, post:13, topic:70740”]
comment déselectionner le cd de apt sources.list et faire en sorte que la distrib ne demande plus de disque mais aille sur le net chercher ce dont elle a besoin ?
[/quote]Tu éditeras /etc/apt/sources.list avec gedit, c’est la solution la plus simple :

# gedit /etc/apt/sources.list

Tu mettras des # devant les deux lignes :deb cdrom:[Debian GNU/Linux, ce qui les transformera en commentaire, donc non-exécutable.

Le but, c’est d’utiliser les sources hplip HP au départ, d’installer les paquets manquants avec la procédure hplip HP et puis désinstaller le paquet compilé hplip HP et installer le paquet hplip debian. Voir le raisonnement plus haut.