Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 07/08/2021, à 15:24

CathR

RESOLU - HP ENVY 7640 non détectée sur réseau

Bonjour, j'ai rencontré le même problème que beaucoup pour imprimer sur une HP Envy, et ai donc téléchargé une "bonne" version de HPLIP comme expliqué dans le fil consacré à ce sujet. Lorsque je l'installe, je rencontre un problème pour installer le paquet python pyqt5, le script d'installation n'arrive pas à le trouver. La commande qui échoue est 'sudo apt-get install python-pyqt5', or "mon" pyqt5 est dans un répertoire qui s'appelle python3. Est-ce que le problème vient de là, et si oui comment le résoudre? .... et... si non, comment le résoudre wink?
Merci beaucoup

Dernière modification par CathR (Le 08/08/2021, à 16:00)

Hors ligne

#2 Le 07/08/2021, à 15:32

xubu1957

Re : RESOLU - HP ENVY 7640 non détectée sur réseau


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 07/08/2021, à 17:13

grigouille

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

Je suppose que tu utilises Ubuntu 20.04.

Il faut faire une installation "custom".
Il suffit de lire la doc hplip


Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#4 Le 07/08/2021, à 18:00

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

Merci beaucoup pour ces indications @gribouille. Mon premier problème est débloqué grâce à la commande qui permet de "forcer" python 3. Du coup j'arrive à installer la dernière version de hplip. Mais lors qu'en fin d'install j'en suis à la phase "PRINTER SETUP", je choisis l'option réseau puisque je suis reliée à l'imprimante par un cable ethernet + freebox et là j'obtiens ce message :

Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No devices found on bus: net
error:  HPLIP cannot detect printers in your network.  This may be due to existing firewall settings blocking the required ports.
                When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
                 http://hplipopensource.com/node/374 
Je ne comprends pas, car quand je passe par "paramètres/imprimantes" sur ubuntu, l'ordi trouve bien l'imprimante. Mais ne trouve pas de driver.
Bref, je suis vraiment paumée, et en plus je n'y connais rien.
Je ne sais pas si vous pourrez m'aider, mais en tout cas merci par avance....

J'ai rassemblé les infos utiles comme suggéré par @xubu1957 (sauf la dernière commande qui sortait 7 pages de réponse...) :
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
5.4.0-77-generic x86_64
catherine adm cdrom sudo dip plugdev lpadmin sambashare
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 007: ID 04f2:b3ed Chicony Electronics Co., Ltd HP HD Webcam
Bus 002 Device 005: ID 138a:003f Validity Sensors, Inc. VFS495 Fingerprint Reader
Bus 002 Device 003: ID 8087:07dc Intel Corp.
Bus 002 Device 014: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 002 Device 013: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet
Bus 002 Device 012: ID 062a:4101 MosArt Semiconductor Corp. Wireless Keyboard/Mouse
Bus 002 Device 011: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

catherine@youpi:~$ dpkg -l | grep hplip
rc  hplip                                      3.20.3+dfsg0-2                             amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                 3.20.3+dfsg0-2                             all          HP Linux Printing and Imaging - data files

catherine@youpi:~$ hp-check

La commande « hp-check » n'a pas été trouvée, mais peut être installée avec :

sudo apt install hplip


ii  bluez-cups                                 5.53-0ubuntu3.3                            amd64        Bluetooth printer driver for CUPS
ii  cups                                       2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed                               1.27.4-1                                   amd64        OpenPrinting CUPS Filters - cups-browsed
ii  cups-bsd                                   2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client                                2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                                2.3.1-9ubuntu1.1                           all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers                          2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon                                2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters                               1.27.4-1                                   amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers                  1.27.4-1                                   amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils                             2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
ii  cups-pk-helper                             0.2.6-1ubuntu3                             amd64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                                  2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common                         2.3.1-9ubuntu1.1                           all          Common UNIX Printing System(tm) - server common files
ii  libcups2:amd64                             2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - Core library
ii  libcups2-dev:amd64                         2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - Development files CUPS library
ii  libcupsfilters-dev:amd64                   1.27.4-1                                   amd64        OpenPrinting CUPS Filters - Development files for the library
ii  libcupsfilters1:amd64                      1.27.4-1                                   amd64        OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:amd64                        2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - Raster image library
ii  libcupsimage2-dev:amd64                    2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - Development files CUPS image library
ii  python3-cups                               1.9.73-3build1                             amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                        1.5.12-0ubuntu1.1                          all          Python utility modules around the CUPS printing system
----------------------------------------------

catherine@youpi:~$ lpstat -t
scheduler is running
no system default destination
matériel pour ENVY-7640 : dnssd://HP%20ENVY%207640%20series%20%5B0452BB%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-f430b90452bb
matériel pour HP_ENVY_5000_series_97C37E_ : ipps://HP80CE6297C37E.local:631/ipp/print
matériel pour HP_ENVY_5000_series_97C37E_@HP80CE6297C37E.local : ipps://HP80CE6297C37E.local:631/ipp/print
ENVY-7640 accepte des requêtes depuis sam. 07 août 2021 12:48:14
HP_ENVY_5000_series_97C37E_ accepte des requêtes depuis ven. 11 juin 2021 15:02:20
HP_ENVY_5000_series_97C37E_@HP80CE6297C37E.local accepte des requêtes depuis ven. 07 déc. 2018 17:22:54
printer ENVY-7640 is idle.  enabled since sam. 07 août 2021 12:48:14
printer HP_ENVY_5000_series_97C37E_ is idle.  enabled since ven. 11 juin 2021 15:02:20
printer HP_ENVY_5000_series_97C37E_@HP80CE6297C37E.local is idle.  enabled since ven. 07 déc. 2018 17:22:54

----------------------------------------------------------
catherine@youpi:~$ /usr/sbin/lpinfo -v
network ipps
network socket
network beh
network http
network lpd
file cups-brf:/
network https
serial serial:/dev/ttyS4?baud=115200
network ipp
network socket://192.168.0.35:9100
network dnssd://HP%20ENVY%207640%20series%20%5B0452BB%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-f430b90452bb
network ipp://HP%20ENVY%207640%20series%20%5B0452BB%5D._ipp._tcp.local/
---------------------------------------------------------
catherine@youpi:~$ cat /var/log/cups/error_log
W [07/Aug/2021:12:19:32 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-7640-Gray..\' already exists
W [07/Aug/2021:12:19:32 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-7640-DeviceN..\' already exists
E [07/Aug/2021:12:20:54 +0200] [Job 674] Job aborted because the destination printer/class has gone away.
W [07/Aug/2021:12:40:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-7640-Gray..\' already exists
W [07/Aug/2021:12:40:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-7640-DeviceN..\' already exists
E [07/Aug/2021:12:47:17 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.
E [07/Aug/2021:12:47:19 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.
E [07/Aug/2021:12:47:22 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.
E [07/Aug/2021:12:47:25 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.
E [07/Aug/2021:12:47:25 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/677) from localhost.
E [07/Aug/2021:12:47:29 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.

Hors ligne

#5 Le 07/08/2021, à 18:05

xubu1957

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

Pour ajouter toi-même les balises code à ton précédent message #4 :

  • Cliquer sur  le lien « Modifier » en bas à droite du message

  • Sélectionner le texte

  • Cliquer sur le <> de l'éditeur de message

moko138 a écrit :

1) Les balises-code sont les < > (crochets bleus) de la barre de mise en forme.

1578811399.jpg
        _ _ _

/!\  Si vous avez plusieurs retours à donner, séparez-les bien (toujours pour la lisibilité) :

comme
cela.
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
5.4.0-77-generic x86_64
catherine adm cdrom sudo dip plugdev lpadmin sambashare
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 007: ID 04f2:b3ed Chicony Electronics Co., Ltd HP HD Webcam
Bus 002 Device 005: ID 138a:003f Validity Sensors, Inc. VFS495 Fingerprint Reader
Bus 002 Device 003: ID 8087:07dc Intel Corp.
Bus 002 Device 014: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 002 Device 013: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet
Bus 002 Device 012: ID 062a:4101 MosArt Semiconductor Corp. Wireless Keyboard/Mouse
Bus 002 Device 011: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
catherine@youpi:~$ dpkg -l | grep hplip
rc  hplip                                      3.20.3+dfsg0-2                             amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                                 3.20.3+dfsg0-2                             all          HP Linux Printing and Imaging - data files
catherine@youpi:~$ hp-check

La commande « hp-check » n'a pas été trouvée, mais peut être installée avec :

sudo apt install hplip
ii  bluez-cups                                 5.53-0ubuntu3.3                            amd64        Bluetooth printer driver for CUPS
ii  cups                                       2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed                               1.27.4-1                                   amd64        OpenPrinting CUPS Filters - cups-browsed
ii  cups-bsd                                   2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client                                2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                                2.3.1-9ubuntu1.1                           all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers                          2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon                                2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters                               1.27.4-1                                   amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers                  1.27.4-1                                   amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils                             2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
ii  cups-pk-helper                             0.2.6-1ubuntu3                             amd64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                                  2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common                         2.3.1-9ubuntu1.1                           all          Common UNIX Printing System(tm) - server common files
ii  libcups2:amd64                             2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - Core library
ii  libcups2-dev:amd64                         2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - Development files CUPS library
ii  libcupsfilters-dev:amd64                   1.27.4-1                                   amd64        OpenPrinting CUPS Filters - Development files for the library
ii  libcupsfilters1:amd64                      1.27.4-1                                   amd64        OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:amd64                        2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - Raster image library
ii  libcupsimage2-dev:amd64                    2.3.1-9ubuntu1.1                           amd64        Common UNIX Printing System(tm) - Development files CUPS image library
ii  python3-cups                               1.9.73-3build1                             amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                        1.5.12-0ubuntu1.1                          all          Python utility modules around the CUPS printing system

----------------------------------------------

catherine@youpi:~$ lpstat -t
scheduler is running
no system default destination
matériel pour ENVY-7640 : dnssd://HP%20ENVY%207640%20series%20%5B0452BB%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-f430b90452bb
matériel pour HP_ENVY_5000_series_97C37E_ : ipps://HP80CE6297C37E.local:631/ipp/print
matériel pour HP_ENVY_5000_series_97C37E_@HP80CE6297C37E.local : ipps://HP80CE6297C37E.local:631/ipp/print
ENVY-7640 accepte des requêtes depuis sam. 07 août 2021 12:48:14
HP_ENVY_5000_series_97C37E_ accepte des requêtes depuis ven. 11 juin 2021 15:02:20
HP_ENVY_5000_series_97C37E_@HP80CE6297C37E.local accepte des requêtes depuis ven. 07 déc. 2018 17:22:54
printer ENVY-7640 is idle.  enabled since sam. 07 août 2021 12:48:14
printer HP_ENVY_5000_series_97C37E_ is idle.  enabled since ven. 11 juin 2021 15:02:20
printer HP_ENVY_5000_series_97C37E_@HP80CE6297C37E.local is idle.  enabled since ven. 07 déc. 2018 17:22:54

----------------------------------------------------------

catherine@youpi:~$ /usr/sbin/lpinfo -v
network ipps
network socket
network beh
network http
network lpd
file cups-brf:/
network https
serial serial:/dev/ttyS4?baud=115200
network ipp
network socket://192.168.0.35:9100
network dnssd://HP%20ENVY%207640%20series%20%5B0452BB%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-f430b90452bb
network ipp://HP%20ENVY%207640%20series%20%5B0452BB%5D._ipp._tcp.local/

---------------------------------------------------------

catherine@youpi:~$ cat /var/log/cups/error_log
W [07/Aug/2021:12:19:32 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-7640-Gray..\' already exists
W [07/Aug/2021:12:19:32 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-7640-DeviceN..\' already exists
E [07/Aug/2021:12:20:54 +0200] [Job 674] Job aborted because the destination printer/class has gone away.
W [07/Aug/2021:12:40:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-7640-Gray..\' already exists
W [07/Aug/2021:12:40:43 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'ENVY-7640-DeviceN..\' already exists
E [07/Aug/2021:12:47:17 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.
E [07/Aug/2021:12:47:19 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.
E [07/Aug/2021:12:47:22 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.
E [07/Aug/2021:12:47:25 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.
E [07/Aug/2021:12:47:25 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/677) from localhost.
E [07/Aug/2021:12:47:29 +0200] [Client 204] Returning IPP client-error-not-possible for Cancel-Job (ipp://localhost/jobs/676) from localhost.

Voir règles du forum > balises BB code

Balise CODE :

C'est la balise à utiliser pour donner de longs messages d'erreurs, des contenus de fichiers de configuration, des commandes à taper, etc … Elle permet des messages plus "compacts", et est moins ambiguë que d'autres polices sur certains caractères.


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

#6 Le 07/08/2021, à 19:01

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

Merci!! En effet ça change tout... Je n'avais pas compris le truc....

Hors ligne

#7 Le 07/08/2021, à 19:54

grigouille

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

CathR a écrit :
La commande « hp-check » n'a pas été trouvée

C'est bizarre.

Sinon dans la doc hplip, on trouve une commande pour installer une imprimante en réseau :

hp-setup -ix ip_imprimante

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#8 Le 07/08/2021, à 21:04

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

grigouille a écrit :
CathR a écrit :
La commande « hp-check » n'a pas été trouvée

C'est bizarre.

Sinon dans la doc hplip, on trouve une commande pour installer une imprimante en réseau :

hp-setup -ix ip_imprimante

En fait à ce stade c'était normal puisque je n'arrivais pas à installer hplip
Maintenant que j'ai pu l'installer (grâce à toi :-)) la commande donne ceci :

/usr/bin/hp-check:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if 'getfacl' not in g and '' is not g and 'file' not in g:
Saving output in log file: /home/catherine/Documents/TREMPOLINE/hp-check.log

HP Linux Imaging and Printing System (ver. 3.21.6)
Dependency/Version Check Utility ver. 15.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.

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: 21:57:07.233: Failed to load module "overlay-scrollbar"
Gtk-Message: 21:57:07.242: Failed to load module "canberra-gtk-module"
 
---------------
| SYSTEM INFO |
---------------

 Kernel: 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 GNU/Linux
 Host: youpi
 Proc: 5.4.0-77-generic #86-Ubuntu SMP Thu Jun 17 02:35:03 UTC 2021 GNU/Linux
 Distribution: 12 20.04
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.21.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.21.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.21.6
html=/usr/share/doc/hplip-3.21.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.21.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 = 1628354669
pending_upgrade_time = 0

[installation]
date_time = 08/07/21 21:57:08
version = 3.21.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: 21:57:08.990: Failed to load module "overlay-scrollbar"
Gtk-Message: 21:57:08.999: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:57:09.015: Failed to load module "overlay-scrollbar"
Gtk-Message: 21:57:09.023: 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         -
 libavahi-dev         libavahi-dev                                                 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.10          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.10          OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               8.3.1           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.6.1           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.21.6          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.21.6          OK         -

----------------------
| Scan Configuration |
----------------------

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

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `hpaio:/net/envy_7640_series?ip=192.168.0.35&queue=false' is a Hewlett-Packard envy_7640_series all-in-one
device `escl:http://2a01:e34:eeef:e090:f630:b9ff:fe04:52bb:8080' is a ESCL HP ENVY 7640 series [0452BB] flatbed scanner
device `escl:http://192.168.0.35:8080' is a ESCL HP ENVY 7640 series [0452BB] flatbed scanner


--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

 


Type: Unknown
Device URI: dnssd://HP%20ENVY%207640%20series%20%5B0452BB%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-f430b90452bb



Type: Unknown
Device URI: ipps://HP80CE6297C37E.local:631/ipp/print



Type: Unknown
Device URI: ipps://HP80CE6297C37E.local:631/ipp/print


--------------
| PERMISSION |
--------------

No errors or warnings.

Done.

Mais le problème persiste. Je vais regarder la commande d'installation d'imprimante en réseau : merci!

Hors ligne

#9 Le 07/08/2021, à 21:13

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

Oui, en fait j'avais déjà utilisé cette commande hp-setup, et c'est justement elle qui me pose problème : j'obtiens

HP Linux Imaging and Printing System (ver. 3.21.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.

Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No devices found on bus: net
error:  HPLIP cannot detect printers in your network.  This may be due to existing firewall settings blocking the required ports.
                When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
                 http://hplipopensource.com/node/374  

Je n'ai pas pu aller visiter le lien mentionné en fin de message, la page n'existe pas. Et par ailleurs je ne comprends pas que hplip ne détecte pas l'imprimante, alors qu'en passant par "Paramètres" dans Ubuntu je la trouve. c'est précisément ça mon problème....
Merci smile

Hors ligne

#10 Le 07/08/2021, à 21:20

xubu1957

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

Dans > developers.hp.com

Model Name                      Min. HPLIP Version
HP Envy 5000 All-in-one             3.17.9


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

#11 Le 08/08/2021, à 08:55

grigouille

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

je ne vois pas la commande que tu lances. Dommage.

Que donne

ping -c2 ip_de_ton_imprimante

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#12 Le 08/08/2021, à 10:14

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

grigouille a écrit :

je ne vois pas la commande que tu lances. Dommage.

Que donne

ping -c2 ip_de_ton_imprimante

Bonjour et merci de ce retour,

La commande que je lançais était hp-setup

Voici le résultat du ping

catherine@youpi:~$ ping -c2 192.168.0.35
PING 192.168.0.35 (192.168.0.35) 56(84) bytes of data.
64 octets de 192.168.0.35 : icmp_seq=1 ttl=255 temps=0.631 ms
64 octets de 192.168.0.35 : icmp_seq=2 ttl=255 temps=105 ms

--- statistiques ping 192.168.0.35 ---
2 paquets transmis, 2 reçus, 0 % paquets perdus, temps 1005 ms
rtt min/avg/max/mdev = 0.631/52.669/104.707/52.038 ms
catherine@youpi:~$ 

Hors ligne

#13 Le 08/08/2021, à 10:19

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

xubu1957 a écrit :

Dans > developers.hp.com

Model Name                      Min. HPLIP Version
HP Envy 5000 All-in-one             3.17.9

Bonjour, oui j'avais fait la vérif dans ce tableau de la doc hplip : la mienne est une HP ENVY 7640, OK avec les versions hplip postérieures à 3.14, donc ya de la marge...

Une précision peut-être importante : cette imprimante a toujours fonctionné sans problème depuis mon ordi durant 4 ans, en fait ça ne marche plus depuis certaines mises à jour d'Ubuntu qui doivent remonter à mai-juin

Hors ligne

#14 Le 08/08/2021, à 10:41

xubu1957

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

matériel pour ENVY-7640 
matériel pour HP_ENVY_5000_series

L'ancienne imprimante est toujours active ?

Je rajoute :

Model Name                      Min. HPLIP Version
HP Envy 7640 E-all-in-one    3.14.10

Dernière modification par xubu1957 (Le 08/08/2021, à 10:43)


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

#15 Le 08/08/2021, à 14:38

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

Il n'y a pas eu de changement d'imprimante : c'est toujours la même, mais qui n'est plus utilisable depuis cet ordi depuis une certaine mise à jour Ubuntu (on a un autre PC sous windows qui y accède sans pb). Lorsque j'imprime, cela déclenche bien une tâche d'impression, mais qui ne s'accomplit jamais : rien ne se déclenche.

Hors ligne

#16 Le 08/08/2021, à 14:42

grigouille

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

Installe l'imprimante :

hp-setup -ix 192.168.0.35

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#17 Le 08/08/2021, à 14:42

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

Ah d'accord, désolée en réfléchissant je comprends... que je n'avais pas compris la question :-). L'autre imprimante HP Envy 5000 est dans un autre lieu où je l'utilise de temps en temps....

Hors ligne

#18 Le 08/08/2021, à 14:48

xubu1957

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

sylvain3800 a écrit :

I ] Le Titre du message

Cela parait bête , mais si dans le titre la marque et le modèle de l'imprimante pouvait être écrit cela serait déjà super utile pour les aidants , qui peuvent déjà se faire une première idée des pilotes qu'il te faut et  de la procédure qu'il te faudra suivre pour les installer au besoin .
Bon la plupart du temps ces infos sont données ,,,, mais des fois ... non ... c'est pour cela je précise.

Complète le titre, avec l'imprimante concernée.


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

#19 Le 08/08/2021, à 15:06

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

xubu1957 a écrit :
sylvain3800 a écrit :

I ] Le Titre du message

Cela parait bête , mais si dans le titre la marque et le modèle de l'imprimante pouvait être écrit cela serait déjà super utile pour les aidants , qui peuvent déjà se faire une première idée des pilotes qu'il te faut et  de la procédure qu'il te faudra suivre pour les installer au besoin .
Bon la plupart du temps ces infos sont données ,,,, mais des fois ... non ... c'est pour cela je précise.

Complète le titre, avec l'imprimante concernée.

Je viens de chercher comment modifier le titre, mais je ne trouve pas (j'ai honte)

Hors ligne

#20 Le 08/08/2021, à 15:08

xubu1957

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

En cliquant sur le bouton Modifier en bas du premier message, tu auras la main pour corriger le titre.


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

#21 Le 08/08/2021, à 15:15

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

xubu1957 a écrit :

En cliquant sur le bouton Modifier en bas du premier message, tu auras la main pour corriger le titre.

Ah merci beaucoup!...

Hors ligne

#22 Le 08/08/2021, à 15:59

CathR

Re : RESOLU - HP ENVY 7640 non détectée sur réseau

grigouille a écrit :

Installe l'imprimante :

hp-setup -ix 192.168.0.35

Grigouille je n'avais pas vu ton message!!
Done : ça a marché, mille mercis, vraiment!!!!

Hors ligne