Résolu le 27-11-20 HP DeskJet Plus 4122 - installation

Répondre
thpom
Messages : 2
Enregistré le : dim. 22 nov. 2020 21:12

HP DeskJet Plus 4122 - installation

Message par thpom »

Bonjour,

J'ai un problème d'installation avec l'imprimante neuve HP : HP DeskJet Plus 4122

J'ai un message : server not exporting printers

Voici les infos :

Code : Tout sélectionner

user@ordi:~$ cat /etc/lsb-release && uname -i && groups && lsusb
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=19.3
DISTRIB_CODENAME=tricia
DISTRIB_DESCRIPTION="Linux Mint 19.3 Tricia"
x86_64
adm cdrom sudo dip plugdev lpadmin sambashare
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 04ca:3015 Lite-On Technology Corp. 
Bus 001 Device 007: ID 03f0:1953 Hewlett-Packard 
Bus 001 Device 006: ID 04ca:007d Lite-On Technology Corp. 
Bus 001 Device 005: ID 04ca:008a Lite-On Technology Corp. 
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 002: ID 5986:0678 Acer, Inc 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code : Tout sélectionner

user@ordi:~$ dpkg -l | grep hplip
ii  hplip                                      3.17.10+repack0-5                                amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                 3.17.10+repack0-5 

                               all          HP Linux Printing and Imaging - data hp-check
error: 'libcups2' package is missing/incompatible 
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libjpeg8-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: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 
error: 'python3-notify2' package is missing/incompatible 
error: 'mate-notification-daemon' package is missing/incompatible 
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 

Code : Tout sélectionner

hp-check[20420]: info: :
hp-check[20420]: info: :[01mHP Linux Imaging and Printing System (ver. 3.17.10)[0m
hp-check[20420]: info: :[01mDependency/Version Check Utility ver. 15.1[0m
hp-check[20420]: info: :
hp-check[20420]: info: :Copyright (c) 2001-15 HP Development Company, LP
hp-check[20420]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[20420]: info: :This is free software, and you are welcome to distribute it
hp-check[20420]: info: :under certain conditions. See COPYING file for more details.
hp-check[20420]: info: :
hp-check[20420]: info: :[01mNote: hp-check can be run in three modes:[0m
hp-check[20420]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the
hp-check[20420]: info: :HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
hp-check[20420]: info: :are installed to successfully compile HPLIP.                                    
hp-check[20420]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro    
hp-check[20420]: info: :supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
hp-check[20420]: info: :has the proper dependencies installed to successfully run.                      
hp-check[20420]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode    
hp-check[20420]: info: :will check both of the above cases (both compile- and run-time dependencies).   
hp-check[20420]: info: :
hp-check[20420]: info: :Check types:                                                                    
hp-check[20420]: info: :a. EXTERNALDEP - External Dependencies                                          
hp-check[20420]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)    
hp-check[20420]: info: :c. COMPILEDEP - Compile time Dependencies                                       
hp-check[20420]: info: :d. [All are run-time checks]                                                    
hp-check[20420]: info: :PYEXT SCANCONF QUEUES PERMISSION                                                
hp-check[20420]: info: :
hp-check[20420]: info: :Status Types:
hp-check[20420]: info: :    OK
hp-check[20420]: info: :    MISSING       - Missing Dependency or Permission or Plug-in
hp-check[20420]: info: :    INCOMPAT      - Incompatible dependency-version or Plugin-version
hp-check[20420]: info: :
warning: [01m22-19.3 version is not supported. Using 22-18.2 versions dependencies to verify and install...[0m
hp-check[20420]: info: :
hp-check[20420]: info: :---------------
hp-check[20420]: info: :| SYSTEM INFO |
hp-check[20420]: info: :---------------
hp-check[20420]: info: :
hp-check[20420]: info: : Kernel: 5.4.0-52-generic #57~18.04.1-Ubuntu SMP Thu Oct 15 14:04:49 UTC 2020 GNU/Linux
 Host: Aspire-C20-720
 Proc: 5.4.0-52-generic #57~18.04.1-Ubuntu SMP Thu Oct 15 14:04:49 UTC 2020 GNU/Linux
 Distribution: 22 19.3
hp-check[20420]: info: : Bitness: 64 bit

hp-check[20420]: info: :
hp-check[20420]: info: :-----------------------
hp-check[20420]: info: :| HPLIP CONFIGURATION |
hp-check[20420]: info: :-----------------------
hp-check[20420]: info: :
hp-check[20420]: info: :HPLIP-Version: HPLIP 3.17.10
hp-check[20420]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 22 distro  19.3 version 
hp-check[20420]: info: :
hp-check[20420]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[20420]: info: :# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.17.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
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=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.17.10
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no

hp-check[20420]: info: :
hp-check[20420]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[20420]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[20420]: info: :
hp-check[20420]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[20420]: info: :[installation]
date_time = 11/19/20 18:51:12
version = 3.17.10


hp-check[20420]: info: : <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>
hp-check[20420]: info: :
hp-check[20420]: info: :-------------------------
hp-check[20420]: info: :| External Dependencies |
hp-check[20420]: info: :-------------------------
hp-check[20420]: info: :
hp-check[20420]: info: :[31;01m error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'[0m
hp-check[20420]: info: : gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
hp-check[20420]: info: :[31;01m error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'[0m
hp-check[20420]: info: : scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
hp-check[20420]: info: :[31;01m error: dbus          DBus - Message bus system                                    REQUIRED        -               1.12.2          MISSING    'DBUS may not be installed or not running'[0m
hp-check[20420]: info: : policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
hp-check[20420]: info: : network              network -wget                                                OPTIONAL        -               1.19.4          OK         -
hp-check[20420]: info: : avahi-utils          avahi-utils                                                  OPTIONAL        -               0.7             OK         -
hp-check[20420]: info: :
hp-check[20420]: info: :------------------------
hp-check[20420]: info: :| General Dependencies |
hp-check[20420]: info: :------------------------
hp-check[20420]: info: :
hp-check[20420]: info: :[31;01m error: libjpeg       libjpeg - JPEG library                                       REQUIRED        -               -               MISSING    'libjpeg needs to be installed'[0m
hp-check[20420]: info: :[31;01m error: cups-devel    CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               MISSING    'cups-devel needs to be installed'[0m
hp-check[20420]: info: :[31;01m error: cups-image    CUPS image - CUPS image development files                    REQUIRED        -               -               MISSING    'cups-image needs to be installed'[0m
hp-check[20420]: info: : libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.27'         OK         -
hp-check[20420]: info: :[31;01m error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'[0m
hp-check[20420]: info: : sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
hp-check[20420]: info: :[31;01m error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'[0m
hp-check[20420]: info: :[31;01m error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'[0m
hp-check[20420]: info: :[31;01m error: libcrypto     libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           MISSING    'libcrypto needs to be installed'[0m
hp-check[20420]: info: : python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.6.9           OK         -
hp-check[20420]: info: :[31;01m error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'[0m
hp-check[20420]: info: :[31;01m error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'[0m
hp-check[20420]: info: :[31;01m error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'[0m
hp-check[20420]: info: : python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.6           OK         -
hp-check[20420]: info: : python3-xml          Python XML libraries                                         REQUIRED        -               2.2.5           OK         -
hp-check[20420]: info: :[31;01m error: python3-devel Python devel - Python development files                      REQUIRED        2.2             3.6.9           MISSING    'python3-devel needs to be installed'[0m
hp-check[20420]: info: : python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               1.1.7           OK         -
hp-check[20420]: info: : python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.4.0           OK         -
hp-check[20420]: info: :
hp-check[20420]: info: :--------------
hp-check[20420]: info: :| COMPILEDEP |
hp-check[20420]: info: :--------------
hp-check[20420]: info: :
hp-check[20420]: info: :[31;01m error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'[0m
hp-check[20420]: info: :[31;01m error: gcc           gcc - GNU Project C and C++ Compiler                         REQUIRED        -               7.5.0           MISSING    'gcc needs to be installed'[0m
hp-check[20420]: info: : make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -
hp-check[20420]: info: :
hp-check[20420]: info: :---------------------
hp-check[20420]: info: :| Python Extentions |
hp-check[20420]: info: :---------------------
hp-check[20420]: info: :
hp-check[20420]: info: : cupsext              CUPS-Extension                                               REQUIRED        -               3.17.10         OK         -
hp-check[20420]: info: : hpmudext             IO-Extension                                                 REQUIRED        -               3.17.10         OK         -
hp-check[20420]: info: :
hp-check[20420]: info: :----------------------
hp-check[20420]: info: :| Scan Configuration |
hp-check[20420]: info: :----------------------
hp-check[20420]: info: :
hp-check[20420]: info: :'/etc/sane.d/dll.d/hpaio' not found.
hp-check[20420]: info: : hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.17.10         OK         'hpaio found in /etc/sane.d/dll.conf'
hp-check[20420]: info: : scanext              Scan-SANE-Extension                                          REQUIRED        -               3.17.10         OK         -
hp-check[20420]: info: :
hp-check[20420]: info: :------------------------------
hp-check[20420]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[20420]: info: :------------------------------
hp-check[20420]: info: :
hp-check[20420]: info: :No Scanner found.
hp-check[20420]: info: :
hp-check[20420]: info: :--------------------------
hp-check[20420]: info: :| DISCOVERED USB DEVICES |
hp-check[20420]: info: :--------------------------
hp-check[20420]: info: :
hp-check[20420]: info: :No devices found.
hp-check[20420]: info: :
hp-check[20420]: info: :---------------------------------
hp-check[20420]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[20420]: info: :---------------------------------
hp-check[20420]: info: :
hp-check[20420]: info: :
hp-check[20420]: info: :[01m[0m
hp-check[20420]: info: :[01m[0m
hp-check[20420]: info: :Type: Unknown
hp-check[20420]: info: :Device URI: usb://HP/DeskJet%20Plus%204100%20series?serial=CN07L3F727&interface=1
hp-check[20420]: info: :
hp-check[20420]: info: :
hp-check[20420]: info: :--------------
hp-check[20420]: info: :| PERMISSION |
hp-check[20420]: info: :--------------
hp-check[20420]: info: :
hp-check[20420]: info: :
hp-check[20420]: info: :-----------
hp-check[20420]: info: :| SUMMARY |
hp-check[20420]: info: :-----------
hp-check[20420]: info: :
hp-check[20420]: info: :[01mMissing Required Dependencies[0m
hp-check[20420]: info: :[01m-----------------------------[0m
error: 'libcups2' package is missing/incompatible 
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libjpeg8-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: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp-mibs-downloader' package is missing/incompatible 
error: 'openssl' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'python3-dev' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 
error: 'build-essential' package is missing/incompatible 
hp-check[20420]: info: :
hp-check[20420]: info: :[01mMissing Optional Dependencies[0m
hp-check[20420]: info: :[01m-----------------------------[0m
error: 'xsane' package is missing/incompatible 
error: 'python3-notify2' package is missing/incompatible 
error: 'mate-notification-daemon' package is missing/incompatible 
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 
hp-check[20420]: info: :
hp-check[20420]: info: :Total Errors: 16
hp-check[20420]: info: :Total Warnings: 0
hp-check[20420]: info: :
hp-check[20420]: info: :
hp-check[20420]: info: :Done.
Merci par avance
Modifié en dernier par thpom le ven. 27 nov. 2020 09:08, modifié 1 fois.
Linux Mint 19.3 Tricia
x86_64
Cinnamon
thpom
Messages : 2
Enregistré le : dim. 22 nov. 2020 21:12

Re: HP DeskJet Plus 4122 - installation

Message par thpom »

Bonjour,

Merci pour votre aide.
J'ai suivi les indications, avec la dernière version de hplip 3.20.9
Sur la page : https://developers.hp.com/hp-linux-imaging-and-printing
Méthode par la script proposé

Code : Tout sélectionner

sh hplip-*.run
A la fin j'ai lancé hp-setup dans le terminal.
L'imprimante en usb est détectée puis installée.

Page de test : ça marche !
Linux Mint 19.3 Tricia
x86_64
Cinnamon
Avatar du membre
alain
Administrateur du site
Messages : 17180
Enregistré le : dim. 11 oct. 2015 23:41
Localisation : Chelles
Contact :

Re: HP DeskJet Plus 4122 - installation

Message par alain »

Bonjour.

Sujet archivé (en lecture seule) car résolu.
Si besoin de rouvrir faire un MP à un membre de l'équipe ;)
Слава Україні _ слава героям махновщини
PC1 : CM : ASRock 990FX | CPU: AMD FX 8350-8 cores, 4 GHz | RAM: 16 Go DDR3 1600 MHz | CG: GTX 1080TI-11 Go | OS : LM 22 Xfce 4.18 | K: 6.8
PC2
:Core2 Quad Q9650 @ 3 GHz | CG: Nvidia GTX 650TI | OS: LM 22 Wilma Xfce 4.18| K: 6.8
PC3 :Core i7-2600 @ 3,5 GHz | CG: ATI HD 4650 | OS: Emmade5 Xfce 4.18.0 | K: 6.1
PC4 : AMD Ryzen 5 3500X 4GHz | CG: GTX 970 | Ram : 8GB |OS : Debian 12.8 | K: 6.1
In a world without walls and fences, who needs windows and gates?
Répondre