Pages : 1
#1 Le 25/06/2020, à 05:57
- Jaenne
[HPLIP] driver hp deskjet 2540 series
Salut,
J'ai réinstallé mon ubuntu récement. Je suis sur une version 20.04 comme avant la réinstallation.
Mon imprimante fonctionnait bien, je ne me souviens même pas avoir du chercher les drivers.
Après réinstall, impossible de la faire fonctionner : imprimante déconnectée.
J'ai donc fait une recherche de pilotes sur le net. J'ai trouvé :
https://developers.hp.com/hp-linux-imag … tall/index
hplip-3.20.6.run
J'ai du m'y reprendre à plusieurs fois pour avoir une installation correcte.
Maintenant je peux imprimer des documents sur la moitié haute d'une page !
L'impression s'arrête d'elle même, la feuille reste coincée dans l'imprimante.
Le scanner ne fonctionne pas du tout : echec impossible de trouver le péripherique de numérisation.
Avez-vous un meilleur pilote pour ce modèle d'imprimante ?
Ou une meilleure façon d'en chercher ?
D'avance merci.
Ps : quand je vais dans propriétés de l'imprimante pour modifier le fabriquant, ça me lance directement une recherche de pilotes mais les fenêtres restent figées et je ne peux pas annuler.
Dernière modification par Jaenne (Le 25/06/2020, à 06:15)
Hors ligne
#2 Le 25/06/2020, à 06:49
- grigouille
Re : [HPLIP] driver hp deskjet 2540 series
Essaie ceci :
https://forum.ubuntu-fr.org/viewtopic.php?id=2053408
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#3 Le 25/06/2020, à 09:17
- Jaenne
Re : [HPLIP] driver hp deskjet 2540 series
Merci pour ta réponse.
jaenne@XXXXX:~$ hp-setup
HP Linux Imaging and Printing System (ver. 3.20.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 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.
Done.
jaenne@XXXXXX:~$ hp-toolbox
HP Linux Imaging and Printing System (ver. 3.20.6)
HP Device Manager ver. 15.0
Copyright (c) 2001-18 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.
/usr/share/hplip/ui5/devmgr_ext.py:15: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.latest_available_version is not "":
/usr/share/hplip/ui5/devmgr_ext.py:37: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if self.latest_available_version is not "":
warning: Supplies information not available for this device.
warning: Supplies information not available for this device.
error: Device busy: hp:/usb/Deskjet_2540_series?serial=CN41F3B28Q0604
error: Unable to open device hp:/usb/Deskjet_2540_series?serial=CN41F3B28Q0604.
HP Linux Imaging and Printing System (ver. 3.20.6)
AutoConfig Utility to check queues configuration ver. 1.1
Copyright (c) 2001-18 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.
error: PPD /etc/cups/ppd/.ppd file not found
warning: is not HP Device.
warning: Fail to read ppd=/etc/cups/ppd/.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/.ppd
warning: Could not complete Queue(s) configuration check
# L’option « -e » est obsolète et pourrait être supprimée dans une prochaine version de gnome-terminal.
# Utilisez « -- » pour marquer la fin des options et placez la ligne de commande à exécuter ensuite.
# _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
# watch_fast: "/com/canonical/unity-gtk-module/" (establishing: 0, active: 0)
# unwatch_fast: "/com/canonical/unity-gtk-module/" (active: 0, establishing: 1)
# watch_established: "/com/canonical/unity-gtk-module/" (establishing: 0)
# _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
# watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
# unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
# watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)
En cliquant sur l'icone marteau :
/usr/share/hplip/check.py:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if 'getfacl' not in g and '' is not g and 'file' not in g:
HP Linux Imaging and Printing System (ver. 3.20.6)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-18 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.
HP Linux Imaging and Printing System (ver. 3.20.6)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-18 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.
|Gtk-Message: 10:12:44.615: Failed to load module "canberra-gtk-module"
Checking for Deprecated items....
No Deprecated items are found
Checking for HPLIP updates....
HP Linux Imaging and Printing System (ver. 3.20.6)
HPLIP upgrade latest version ver. 1.0
Copyright (c) 2001-18 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.
Latest version of HPLIP is already installed.
Checking for Dependencies....
---------------
| SYSTEM INFO |
---------------
Kernel: 5.4.0-39-generic #43-Ubuntu SMP Fri Jun 19 10:28:31 UTC 2020 GNU/Linux
Host:XXXXX
Proc: 5.4.0-39-generic #43-Ubuntu SMP Fri Jun 19 10:28:31 UTC 2020 GNU/Linux
Distribution: 12 20.04
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.20.6
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 20.04 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.20.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.20.6
html=/usr/share/doc/hplip-3.20.6
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.20.6
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
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:
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1593059532
pending_upgrade_time = 0
latest_available_version = 3.17.10
[last_used]
device_uri = hp:/usb/Deskjet_2540_series?serial=CN41F3B28Q0604
printer_name = Deskjet_2540
[installation]
date_time = 06/25/20 10:12:46
version = 3.20.6
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------------------------
| External Dependencies |
-------------------------
cups CUPS - Common Unix Printing System REQUIRED 1.1 2.3.1 OK 'CUPS Scheduler is running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.50 OK -
Gtk-Message: 10:12:50.851: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:12:50.888: Failed to load module "canberra-gtk-module"
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.29 OK -
dbus DBus - Message bus system REQUIRED - 1.12.16 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.20.3 OK -
avahi-utils avahi-utils OPTIONAL - 0.7 OK -
------------------------
| General Dependencies |
------------------------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.3.1 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.3.1 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.31' OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
sane SANE - Scanning library REQUIRED - - OK -
sane-devel SANE - Scanning library development files REQUIRED - - OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.8 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.8.2 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
python3-pyqt5-dbus PyQt 5 DBus - DBus Support for PyQt5 OPTIONAL 5.0 5.14.1 OK -
python3-pyqt5 PyQt 5- Qt interface for Python (for Qt version 4.x) REQUIRED 5.0 5.14.1 OK -
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
python3-xml Python XML libraries REQUIRED - 2.2.9 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.8.2 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 7.0.0 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.5.34 OK -
--------------
| COMPILEDEP |
--------------
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 9.3.0 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -
---------------------
| Python Extentions |
---------------------
cupsext CUPS-Extension REQUIRED - 3.20.6 OK -
hpmudext IO-Extension REQUIRED - 3.20.6 OK -
----------------------
| Scan Configuration |
----------------------
hpaio HPLIP-SANE-Backend REQUIRED - 3.20.6 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.20.6 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/usb/Deskjet_2540_series?serial=CN41F3B28Q0604' is a Hewlett-Packard Deskjet_2540_series all-in-one
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
Device URI Model
-------------------------------- ----------------------
hp:/usb/Deskjet_2540_series?seri HP Deskjet 2540 series
al=CN41F3B28Q0604
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Type: Printer
Device URI: hp:/usb/Deskjet_2540_series?serial=CN41F3B28Q0604
error: Device busy: hp:/usb/Deskjet_2540_series?serial=CN41F3B28Q0604
error: Device not found
error: Communication status: Failed
Type: Unknown
Device URI: implicitclass://Deskjet_2540_series_CN41F3B28Q0604_/
--------------
| PERMISSION |
--------------
USB Deskjet_2540 Required - - OK Node:'/dev/bus/usb/001/002' Perm:' root lp rw- rw- rw- rw- r--'
Checking Permissions....
Checking for Configured Queues....
error: PPD /etc/cups/ppd/.ppd file not found
warning: is not HP Device.
warning: Fail to read ppd=/etc/cups/ppd/.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/.ppd
warning: Could not complete Queue(s) configuration check
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Checking for Printer Status....
error: '' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor
Diagnose completed...
More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html
Please close this terminal manually.
J'ai des codes d'erreurs mais je vois pas ou les retrouver :
5012
5021
Mon imprimante est bien branchée et allumée.
Si je comprends bien il manque 2 fichiers :
- error: PPD /etc/cups/ppd/.ppd file not found
- Failed to load module "canberra-gtk-module"
et des plugins ne sont pas installés mais bien téléchargés ?
Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory
"canberra-gtk-module" manquait à l'installation, j'ai voulu le télécharger mais je n'ai trouvé qu'une librairie pour du son
apt-cache search canberra-gtk-module
libcanberra-gtk-module - traduction des signaux de composants d'interfaces GTK+ en événements sonores
Pour PPD y'a du choix !
apt-cache search PPD
cups - système commun d'impression sous Unix - gestion des PPD/pilotes, interface web
cups-filters - Filtres CUPS OpenPrinting — paquet principal
cups-ppdc - Common UNIX Printing System(tm) - utilitaires de manipulation de PPD
foomatic-db-compressed-ppds - impression OpenPrinting – fichiers PPD compressés provenant de la base de données
gnome-software - centre logiciel pour GNOME
gnome-software-common - Software Center for GNOME (common files)
gnome-software-plugin-snap - Snap support for GNOME Software
openprinting-ppds - Prise en charge des imprimantes OpenPrinting - fichiers PostScript PPD
ppp-dev - Protocole Point-à-Point (PPP) - fichiers de développement
printer-driver-hpcups - impression et traitement d'image HP pour Linux –⋅pilote CUPS en mode points (hpcups)
printer-driver-hpijs - impression et traitement d'image HP pour Linux –⋅pilote d'imprimante (hpijs)
printer-driver-postscript-hp - Fichiers de description d'imprimante Postscript (PPD) HP.
python3-appdirs - determining appropriate platform-specific directories (Python 3)
bppsuite - suite de programmes Bio++
foomatic-filters - gestion d'imprimantes OpenPrinting - filtres
fp-utils - Free Pascal - utilities dependency package
fp-utils-3.0.4 - Free Pascal - utilitaires
gnome-software-plugin-flatpak - prise en charge de Flatpak pour GNOME Software
gpaste - système de gestion du presse-papier pour GNOME
gpr - IG pour lpr : impression de fichiers et configuration des options particulières à l’imprimante
hp-ppd - fichiers de définition des imprimantes Postscript HP (PPD)
hpijs-ppds - Système HP d'imagerie et d'impression sous Linux - fichiers PPD pour HPIJS
libcppdb-dev - SQL Connectivity Library (development files)
libcppdb0 - SQL Connectivity Library (core library)
libppd-dev - Kit de développement pour bibliothèque de fichiers PPD PostScript.
libppd0 - bibliothèque de fichiers PPD PostScript
libreoffice-plasma - office productivity suite -- some Plasma integration
libwiretap-dev - Bibliothèque de capture de paquets réseau - fichiers de développement
libwiretap10 - Bibliothèque de capture de paquets réseau - bibliothèque partagée
ppdfilt - Filtre insérant des commandes spécifiques d'impression dans des tâches d'impression
printer-driver-escpr - pilote d'impression pour les imprimantes à jet d'encre Epson utilisant ESC/P-R
texlive-latex-extra - TeX Live: LaTeX additional packages
xpp - X Printing Panel, interface d’impression X
ipppd - ISDN utilities - PPP daemon
libcppdb-mysql0 - SQL Connectivity Library (MySQL backend)
libcppdb-odbc0 - SQL Connectivity Library (odbc backend)
libcppdb-postgresql0 - SQL Connectivity Library (PostgreSQL backend)
libcppdb-sqlite3-0 - SQL Connectivity Library (sqlite3 backend)
nat-traverse - NAT gateway traversal utility
ndppd - daemon that proxies IPv6 NDP messages
openfortivpn - Fortinet client for PPP+SSL VPN tunnel services
pppdcapiplugin - ISDN utilities - pppd plug-in for CAPI support
printer-driver-dymo - printer driver for DYMO label printers
printer-driver-fujixerox - printer driver for Fuji Xerox printers
printer-driver-indexbraille - CUPS printing to Index Braille printers
printer-driver-oki - printer driver for OKI Data printers
pyppd - CUPS PostScript Printer Driver's compressor and generator
pypy-appdirs - determining appropriate platform-specific directories (PyPy)
python3-pdfminer - PDF parser and analyser (Python3)
r-cran-rappdirs - GNU R application directories
Je vois au moins 8 résultats que j'ai envie de télécharger.
je tente la commande magique :
sudo apt purge ippusbxd
Elle vient de m'imprimer deux belles pages tests mais le scanner est toujours hs.
C'est cool déjà !
Dernière modification par Jaenne (Le 25/06/2020, à 09:59)
Hors ligne
#4 Le 25/06/2020, à 12:27
- grigouille
Re : [HPLIP] driver hp deskjet 2540 series
Tu as installé hplip 3.20.6. Je pense que la version des dépôts aurait suffit.
Sinon, il faut redémarrer la machine et si nécessaire relancer l'installation :
hp-setup -ir
hp-setup -ia
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#5 Le 25/06/2020, à 13:46
- Jaenne
Re : [HPLIP] driver hp deskjet 2540 series
Oki merci beaucoup.
Y'a beaucoup de choses. Je dois installer le/les quel/s ? Y'a pas un kit complet ?
Tout à l'air intéressant.
apt-cache search hplip
1 hplip - système d'impression et d'imagerie Linux HP (HPLIP)
2 hplip-data - système d'impression et d'imagerie Linux HP (HPLIP) - fichiers de données
3 hplip-doc - système d'impression et d'imagerie Linux HP (HPLIP) - documentation
4 libhpmud-dev - Bibliothèques de développement du pilote HP de Transport Multi-Point (hpmud)
5 libhpmud0 - pilote de transport HP multi-points (hpmud) - bibliothèques d’exécution
6 libsane-hpaio - moteur SANE pour les imprimantes multifonctions HP
7 openprinting-ppds - Prise en charge des imprimantes OpenPrinting - fichiers PostScript PPD
8 printer-driver-hpcups - impression et traitement d'image HP pour Linux –⋅pilote CUPS en mode points (hpcups)
9 printer-driver-hpijs - impression et traitement d'image HP pour Linux –⋅pilote d'imprimante (hpijs)
10 printer-driver-pxljr - pilote d'impression pour HP Color LaserJet 35xx/36xx
11 hpijs-ppds - Système HP d'imagerie et d'impression sous Linux - fichiers PPD pour HPIJS
12 hplip-gui - Impression et traitement d’image HP pour Linux — utilitaires graphiques (basés sur QT)
et du coup je fais :
sudo apt-get autoremove hplip-3.20.6
Pour tout désinstaller proprement ?
Je l'ai installé grâce à ce programme :
hplip-3.20.6.run
Dernière modification par Jaenne (Le 25/06/2020, à 13:58)
Hors ligne
#6 Le 25/06/2020, à 13:52
- grigouille
Re : [HPLIP] driver hp deskjet 2540 series
Tu peux laisser la 3.20.6 si tu veux.
Pour la supprimer :
https://doc.ubuntu-fr.org/hplip#desinst … n_de_hplip
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#7 Le 25/06/2020, à 14:00
- Jaenne
Re : [HPLIP] driver hp deskjet 2540 series
Je verrai si le scanner fonctionne.
(je viens d'éditer le message précédent.)
En tous cas, merci beaucoup pour ton aide.
Oki, trouvé !
Déplacez-vous dans notre dossier HPLIP généré pendant la compilation :
cd /emplacement/du/dossier_hplip-numéro_version
Ensuite nous désinstallons notre logiciel compilé :
sudo make uninstall
Il est maintenant nécessaire de supprimer les résidus de configuration de HPLIP:
sudo rm -rf /usr/share/hplip sudo rm -rf /etc/hp sudo rm -rf ~/.hplip sudo rm -rf /var/lib/hp
hum... chelou j'espère qu'il est dans téléchargements. C'est là que j'ai lancé l'install.
sudo find *hplip*
find: ‘*hplip*’: Aucun fichier ou dossier de ce type
Dernière modification par Jaenne (Le 25/06/2020, à 14:08)
Hors ligne