#1 Le 03/04/2019, à 19:01
- Gil2018
ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
Bonjour
j'ai perdu 3 jours pour essayer de faire fonctionner mon imprimante/scaner avec ubuntu 18.04.
J'ai essayé pas mal de conseils lus sur internet.
notamment en suivant le site
https://askubuntu.com/questions/1056077 … or-scanner
En gros désinstaller tout ce qui concerne Hplip
réinstaller l'hplip du dépot
installer les versions hplip-3.17.11, hplip-3.19.1, hplip-3.19.3 (à l'aide des hplip-3.17.11.run, hplip-3.19.1.run, hplip-3.19.3.run)
installer les plugins correspondants (à l'aide des hplip-3.17.11-plugin.run, hplip-3.19.1-plugin.run, hplip-3.19.3-plugin.run)
fait et rata-fait des update, upgrade et autoremove ...
bilan :
parfois j'ai réussi à imprimer (notamment avec la hplip-3.17.11)
mais jamais à utiliser le scan.
j'ai à nouveau désinstallé tout ce qui concerne Hplip
réinstallé l'hplip du dépot
maintenant j'obtiens :
gil@esgil:~$hp-setup
error: Unable to locate models.dat file
HP Linux Imaging and Printing System (ver. 0.0.0)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
Using connection type: usb
error: No device selected/specified or that supports this functionality.
gil@esgil:~$
voila,
si une bonne âme charitable pouvait me venir en aide
je lui serais fort reconnaissant.
Gilles.
Dernière modification par Gil2018 (Le 04/08/2019, à 16:27)
Hors ligne
#2 Le 03/04/2019, à 19:08
- xubu1957
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
Bonjour,,
Tu avais vu cette discussion > Scanner HP inutilisable sous la 18.04 [RESOLU] ?
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#3 Le 03/04/2019, à 23:00
- Gil2018
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
oui bien sûr et j'ai refait ce qui a été dit
à part réinstaller complètement la 18.04.
Ce qui ne me tente guère.
Hors ligne
#4 Le 06/04/2019, à 13:10
- grigouille
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
gil@esgil:~$hp-setup error: Unable to locate models.dat file HP Linux Imaging and Printing System (ver. 0.0.0)
Version 0.0.0 ? connais pas.
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#5 Le 06/04/2019, à 19:41
- Gil2018
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
Ben moi non plus à vrai dire.
J'ai donc recommencé tout pour la n+unième fois
en installant la version 3.17.11 et non la 3.19.3 qui ne fonctionne pas du tout ni encore moins celle du dépôt.
la 3.17.11 me permet d'imprimer mais pas de faire des scans.
Pourtant le hp-check voit le scaner et n'indique pas d'erreur.
gil@esgil:~$hp-check
Saving output in log file: /home/gil/hp-check.log
HP Linux Imaging and Printing System (ver. 3.17.11)
Dependency/Version Check Utility ver. 15.1
Copyright (c) 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.
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
warning: 12-18.04 version is not supported. Using 12-17.10 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 GNU/Linux
Host: esgil
Proc: 4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 GNU/Linux
Distribution: 12 18.04
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.17.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 12 distro 18.04 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.17.11
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.17.11
html=/usr/share/doc/hplip-3.17.11
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.17.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no
Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.17.11
Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 06/04/2019 20:30:30
version = 3.17.11
[upgrade]
notify_upgrade = false
last_upgraded_time = 1554402637
pending_upgrade_time = 0
latest_available_version = 3.17.10
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
--------------
| COMPILEDEP |
--------------
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 7.3.0 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
------------------------
| General Dependencies |
------------------------
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.0 OK -
python-xml Python XML libraries REQUIRED - 2.2.5 OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
sane-devel SANE - Scanning library development files REQUIRED - - OK -
pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 4.12.1 OK -
libpthread libpthread - POSIX threads library REQUIRED - 2.27 OK -
python-devel Python devel - Python development files REQUIRED 2.2 2.7.15 OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.7 OK -
python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.6 OK -
cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.4.0 OK -
pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.12.1 OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.2.7 OK -
python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.15 OK -
python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
libjpeg libjpeg - JPEG library REQUIRED - - OK -
sane SANE - Scanning library REQUIRED - - OK -
----------------------
| Scan Configuration |
----------------------
scanext Scan-SANE-Extension REQUIRED - 3.17.11 OK -
hpaio HPLIP-SANE-Backend REQUIRED - 3.17.11 OK 'hpaio found in /etc/sane.d/dll.conf'
-------------------------
| External Dependencies |
-------------------------
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.26 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.27 OK -
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.7 OK 'CUPS Scheduler is running'
network network -wget OPTIONAL - 1.19.4 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
dbus DBus - Message bus system REQUIRED - 1.12.2 OK -
avahi-utils avahi-utils OPTIONAL - 0.7 OK -
---------------------
| Python Extentions |
---------------------
hpmudext IO-Extension REQUIRED - 3.17.11 OK -
cupsext CUPS-Extension REQUIRED - 3.17.11 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QHADPD5PR1a' is a Hewlett-Packard HP_LaserJet_Professional_M1132_MFP all-in-one
device `hpaio:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QHADPD5PR1a' is a Hewlett-Packard HP_LaserJet_Professional_M1132_MFP all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------------------------------------------- ----------------------------------
hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QHADPD5PR HP LaserJet Professional M1132 MFP
1a
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%20Professional%20M1132%20MFP?serial=000000000QHADPD5PR1a
Type: Printer
Device URI: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QHADPD5PR1a
Required plug-in status: Installed
Communication status: Good
--------------
| PERMISSION |
--------------
USB HP_LaserJet_Professional_M1132_MFP Required - - OK Node:'/dev/bus/usb/003/005' Perm:' root lp rw- rw- rw- rw- r--'
No errors or warnings.
Done.
gil@esgil:~$
Hors ligne
#6 Le 06/04/2019, à 21:23
- grigouille
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
Cette imprimante fonctionne parfaitement :
$ lsusb -d 03f0:042a
Bus 001 Device 003: ID 03f0:042a Hewlett-Packard LaserJet M1132 MFP
$ lsb_release -d
Description: Ubuntu 18.04.2 LTS
$ hp-setup -h | grep ver.
HP Linux Imaging and Printing System (ver. 3.17.10)
Printer/Fax Setup Utility ver. 9.0
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#7 Le 06/04/2019, à 21:48
- Gil2018
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
Bonsoir
encore merci pour votre aide.
L'imprimante fonctionne très bien,
mais pas le scaner.
Lorsque je lance xsane j'ai l'ouverture d'une fenêtre indiquant le message d'erreur :
Erreur d'ouverture du périphérique 'hpaio:/usb/HP_LaserJet_Professional_M1132_MFP?Serial= ... etc.
Erreur d'entrée/sortie sur le périphérique
lorsque je lance simpleScan j'ai la fenêtre
Echec de la numérisation
Impossible de se connecter au périphérique de numérisation
Fermer
Hors ligne
#8 Le 07/04/2019, à 08:57
- grigouille
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
à part réinstaller complètement la 18.04.
Ce qui ne me tente guère.
Dommage car cela règlera ton problème.
Quand je dis que l'imprimante fonctionne, cela inclut le scanner.
Tu peux tenter de désinstaller/installer :
hp-setup -ir
hp-setup -iax
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#9 Le 07/04/2019, à 11:38
- Gil2018
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
J'ai essayé à nouveau, mais aucun progrès.
L'imprimante fonctionne mais pas le scaner.
Je pense effectivement qu'il me faudra réinstaller la 18.04 malheureusement.
Merci pour l'aide.
Dois-je mettre en "résolu" ?
gil@esgil:~$hp-setup -ir
HP Linux Imaging and Printing System (ver. 3.17.11)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 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.
----------------------------
| REMOVING PRINT/FAX QUEUE |
----------------------------
Removing 'HP_LaserJet_Professional_M1132_MFP : hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QHADPD5PR1a' Queue
Successfully deleted HP_LaserJet_Professional_M1132_MFP Print/Fax queue
gil@esgil:~$hp-setup -iax
HP Linux Imaging and Printing System (ver. 3.17.11)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 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.
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0
Using connection type: usb
error: No device selected/specified or that supports this functionality.
gil@esgil:~$hp-setup -iax
HP Linux Imaging and Printing System (ver. 3.17.11)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 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.
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0
Using connection type: usb
Setting up device: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QHADPD5PR1a
---------------------
| PRINT QUEUE SETUP |
---------------------
Using queue name: HP_LaserJet_Professional_M1132_MFP
Locating PPD file... Please wait.
Found PPD file: drv:///hp/hpcups.drv/hp-laserjet_professional_m1132_mfp.ppd
Description:
Adding print queue to CUPS:
Device URI: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QHADPD5PR1a
Queue name: HP_LaserJet_Professional_M1132_MFP
PPD file: drv:///hp/hpcups.drv/hp-laserjet_professional_m1132_mfp.ppd
Location:
Information: HP LaserJet Professional M1132 MFP Device (Automatically setup by HPLIP)
---------------------
| PRINTER TEST PAGE |
---------------------
Done.
gil@esgil:~$
Hors ligne
#10 Le 07/04/2019, à 13:37
- grigouille
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
Tout est correct. Si cela ne fonctionne pas, j'ai tendance à croire que tu as fait une mise à niveau vers Ubuntu 18.04. Une installation fraîche doit régler ton problème.
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#11 Le 07/04/2019, à 16:08
- Gil2018
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
A vrai dire je ne me souviens plus trop
mais c'est fort probable en effet.
Lorsque j'aurai pris mon courage à deux mains et mon clavier de l'autre
je réinstallerai ubuntu et je signalerai ici si tout est rentré dans l'ordre.
Encore merci.
Bonne semaine
Gilles.
Hors ligne
#12 Le 04/08/2019, à 16:19
- Gil2018
Re : ubuntu 18.04 Hplip LaserJet HP M1132 [Résolu]
juste pour clore le sujet :
j'ai réinstallé complètement la version ubuntu 18.04.02
puis fait hp-setup -iax
et tout fonctionne très bien,
imprimante comme scanner.
Un grand merci pour vos aides respectives.
Hors ligne