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 18/06/2021, à 11:45

novice852015

[Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Bonjour.
J'utilisais depuis un an mon imprimante multifonction avec mon ordinateur HP Pavilion dv7 Notebook PC (Ubuntu 20.04 LTS) . Les fonctions imrimante et scanner fonctionnaient parfaitement.
Après une ré-installation d'ubuntu 20.04.2 LTS, La fonction imprimante est toujours opérationnelle mais le scanner ne fonctionne pas. Le numériseur de documents affiche le nom de mon périphérique mais lorsque je clique sur "Numériser", il me renvoie le message : "Impossible de se connecter au périphérique de numérisation"
En utilisant l'aide d'Ubuntu.doc je ne trouve pas de solution à mon problème.
Pouvez-vous m'aider ?

Infos sur le système :

michel@michel-HP-Pavilion-dv7-Notebook-PC:~$  cat /etc/lsb-release && uname -ir && groups && lsusb
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
5.8.0-55-generic x86_64
michel adm cdrom sudo dip plugdev lpadmin lxd sambashare
Bus 002 Device 002: ID 064e:c107 Suyin Corp. HP webcam [dv6-1190en]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Info imprimante :

michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ dpkg -l | grep hplip
ii  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
ii  hplip-gui                                  3.20.3+dfsg0-2                      all          HP Linux Printing and Imaging - GUI utilities (Qt-based)
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ hp-check
/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/michel/hp-check.log

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

 
---------------
| SYSTEM INFO |
---------------

 Kernel: 5.8.0-55-generic #62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021 GNU/Linux
 Host: michel-HP-Pavilion-dv7-Notebook-PC
 Proc: 5.8.0-55-generic #62~20.04.1-Ubuntu SMP Wed Jun 2 08:55:04 UTC 2021 GNU/Linux
 Distribution: 12 20.04
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.21.4
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.4

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.21.4
html=/usr/share/doc/hplip-3.21.4
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=no
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.4
restricted-build=no
ui-toolkit=no
qt3=no
qt4=no
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:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 06/18/21 11:25:17
version = 3.21.4

[upgrade]
notify_upgrade = true
last_upgraded_time = 1623768030
pending_upgrade_time = 0

[last_used]
device_uri = hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52
printer_name = HP_LaserJet_MFP_M129-M134_2


 <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         -
 error: xsane         xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
 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.5           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.5           OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               8.2.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.67          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.4          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.21.4          OK         -

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

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

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

device `hpaio:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52' is a Hewlett-Packard HP_LaserJet_MFP_M129-M134 all-in-one
device `escl:http://192.168.1.52:8080' is a ESCL HP LaserJet MFP M130nw (88756C) flatbed scanner


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

No devices found.

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

 


Type: Printer
Device URI: hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52
Communication status: Good



Type: Printer
Device URI: hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52
Communication status: Good



Type: Unknown
Device URI: implicitclass://HP_LaserJet_MFP_M130nw_88756C_/


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

 
-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'xsane' package is missing/incompatible 

Total Errors: 1
Total Warnings: 0


Done.

Les infos a donner si ton problème est un problème de scanner :

michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ dpkg -l | grep sane
ii  libsane:amd64                              1.0.29-0ubuntu5.2                   amd64        API library for scanners
ii  libsane-common                             1.0.29-0ubuntu5.2                   all          API library for scanners -- documentation and support files
ii  libsane-dev:amd64                          1.0.29-0ubuntu5.2                   amd64        API development library for scanners [development files]
ii  libsane-hpaio:amd64                        3.20.3+dfsg0-2                      amd64        HP SANE backend for multi-function peripherals
ii  sane-utils                                 1.0.29-0ubuntu5.2                   amd64        API library for scanners -- utilities

michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ sudo sane-find-scanner -q
[sudo] Mot de passe de michel :
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$

michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ scanimage -L
device `hpaio:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52' is a Hewlett-Packard HP_LaserJet_MFP_M129-M134 all-in-one
device `escl:http://192.168.1.52:8080' is a ESCL HP LaserJet MFP M130nw (88756C) flatbed scanner
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ ls /etc/sane.d/
abaton.conf          dmc.conf       lexmark.conf     saned.conf
agfafocus.conf       epjitsu.conf   ma1509.conf      sceptre.conf
apple.conf           epson2.conf    magicolor.conf   sharp.conf
artec.conf           epson.conf     matsushita.conf  sm3840.conf
artec_eplus48u.conf  epsonds.conf   microtek2.conf   snapscan.conf
avision.conf         escl.conf      microtek.conf    sp15c.conf
bh.conf              fujitsu.conf   mustek.conf      st400.conf
canon630u.conf       genesys.conf   mustek_pp.conf   stv680.conf
canon.conf           gphoto2.conf   mustek_usb.conf  tamarack.conf
canon_dr.conf        gt68xx.conf    nec.conf         teco1.conf
canon_pp.conf        hp3900.conf    net.conf         teco2.conf
cardscan.conf        hp4200.conf    p5.conf          teco3.conf
coolscan2.conf       hp5400.conf    pie.conf         test.conf
coolscan3.conf       hp.conf        pieusb.conf      u12.conf
coolscan.conf        hpsj5s.conf    pixma.conf       umax1220u.conf
dc210.conf           hs2p.conf      plustek.conf     umax.conf
dc240.conf           ibm.conf       plustek_pp.conf  umax_pp.conf
dc25.conf            kodakaio.conf  qcam.conf        xerox_mfp.conf
dell1600n_net.conf   kodak.conf     ricoh.conf
dll.conf             kvs1025.conf   rts8891.conf
dll.d                leo.conf       s9036.conf
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ cat /etc/sane.d/dll.conf
# dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under the dll.d/
# directory -- third party backends can drop their configuration file in
# this in this directory, named after the backend.
#
# The next line enables the network backend; comment it out if you don't
# need to use a remote SANE scanner over the network -- see sane-net(5)
# and saned(8) for details.
net
abaton
agfafocus
apple
artec
artec_eplus48u
as6e
avision
bh
canon
canon630u
canon_dr
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc210
#dc240
#dc25
dell1600n_net
dmc
epjitsu
#epson
epson2
epsonds
escl
fujitsu
genesys
#gphoto2
gt68xx
hp
hp3500
hp3900
hp4200
hp5400
hp5590
hpljm1005
hpsj5s
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
kvs40xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pieusb
pint
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
ricoh2
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
umax1220u
#umax_pp
v4l
xerox_mfp
hpaio
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ ls  /lib/udev/rules.d | grep libsane
60-libsane.rules
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 

J'espère que ces quelques pages vous permettrons de me proposer une solution.
D'avance merci

Dernière modification par novice852015 (Le 20/06/2021, à 21:59)

Hors ligne

#2 Le 18/06/2021, à 11:51

xubu1957

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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 18/06/2021, à 12:20

novice852015

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Merci xubu1957. J'ai suivi tes conseils :
j'ai desinstallé (hp-setup -ir)
puis ré-installé (hp-setup -iax)
sans succès.

j'ai installé le plugin (hp-plugin -i)
sans succès.

Hors ligne

#4 Le 18/06/2021, à 12:32

xubu1957

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

L'imprimante est en réseau ?

Il faudra attendre le passage de grigouille ou d'ylag.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#5 Le 18/06/2021, à 12:36

ylag

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Bonjour,

La version hplip 3.20.3 des dépôts réguliers semble installée, mais la commande hp-check proviendrait de la version 3.21.4 si on se fie aux retours du
commentaire #1.
Y aurait-il deux versions de hplip présentes sur le système ?
Est-ce que ça pourrait impacter pour la reconnaissance du scan ?


novice852015, au #3 a écrit :

j'ai installé le plugin (hp-plugin -i)

D'après le site developers.hp.com, ce modèle ne requiert pas l'installation du plugin et est supporté depuis la version 3.16.11 de hplip.

A+

Dernière modification par ylag (Le 18/06/2021, à 12:48)

Hors ligne

#6 Le 18/06/2021, à 13:54

novice852015

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

L'imprimante est bien en réseau. et elle fonctionne correctement (elle imprime et scanne) avec un autre ordi.

Que me suggérez-vous ?

Hors ligne

#7 Le 18/06/2021, à 15:04

ylag

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Bonjour,

Il faudrait que tu reproduises la même configuration sur ta nouvelle installation si tout fonctionnait correctement avant la réinstallation de ton système ?

Cet appareil devrait fonctionner avec le hplip version 3.20.3 des dépôts sur la 20.04 et ne requiert pas l'installation du plugin proprio.

Je tenterais de supprimer toutes les entrées relatives à cet appareil dans le gestionnaire d'imprimantes (gnome-config-printer), puis essayer de la réinstaller via la
commande :

hp-setup -iax

Voir la doc hplip du forum.

A+

Dernière modification par ylag (Le 18/06/2021, à 15:05)

Hors ligne

#8 Le 18/06/2021, à 17:34

novice852015

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Dans le gestionnaire d'imprimantes (gnome-config-printer) j'ai trouvé deux entrées. La première entrée a été effacée facilement. Lorsque j'ai demandé d'effacer la seconde entrée (HP_LaserJet_MFP_M130nw_88756C_) cette entrée s'est effacée puis est revenue quelques secondes après.

Faut-il utiliser la commande : hp-setup -iax

Hors ligne

#9 Le 18/06/2021, à 17:41

ylag

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

novice852015 a écrit :

Lorsque j'ai demandé d'effacer la seconde entrée (HP_LaserJet_MFP_M130nw_88756C_) cette entrée s'est effacée puis est revenue quelques secondes après.

Faut-il utiliser la commande : hp-setup -iax

Je ne saurais dire, désolé...

Est-ce que tu arrives à imprimer/scanner avec cette configuration ?

Si tu es certain de l'IP 192.168.1.52, peut-être tenter :

hp-setup -r 192.168.1.52

...pour désinstaller, puis :

hp-setup -i 192.168.1.52

...pour réinstaller ?

A+

Dernière modification par ylag (Le 18/06/2021, à 17:55)

Hors ligne

#10 Le 18/06/2021, à 18:11

novice852015

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

1. Avant d’exécuter la commande "hp-setup -iax", elle imprime mais ne scanne pas.

2.J'essaie la commande proposée :

michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ hp-setup -iax

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


--------------------------------
| 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*) ? 1

Using connection type: net

 
Setting up device: hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52



---------------------
| PRINT QUEUE SETUP |
---------------------

Using queue name: HP_LaserJet_MFP_M129-M134
Locating PPD file... Please wait.

Found PPD file: hplip:0/ppd/hplip/HP/hp-laserjet_mfp_m129-m134.ppd
Description: 

Adding print queue to CUPS:
Device URI: hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52
Queue name: HP_LaserJet_MFP_M129-M134
PPD file: hplip:0/ppd/hplip/HP/hp-laserjet_mfp_m129-m134.ppd
Location: 
Information: HP LaserJet MFP M129-M134 Device (Automatically setup by HPLIP)
error: Cannot setup fax - HPLIP not built with fax enabled.


---------------------
| PRINTER TEST PAGE |
---------------------


Done.
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 

3. Je lance le numériseur de documents. Il me propose deux entrées :
ESCL HP LaserJet MFP M130nw (88753C) et
HP HP_LaserJet_MFP_M129-M134.
Aucune ne permet de scanner.

Hors ligne

#11 Le 18/06/2021, à 18:22

xubu1957

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Tu as indiqué l'adresse IP de cette imprimante HP ?

§ 3.4.2 de la Doc > hplip#en_reseau


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#12 Le 18/06/2021, à 18:44

novice852015

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Si tu es certain de l'IP 192.168.1.52, peut-être tenter :

ichel@michel-HP-Pavilion-dv7-Notebook-PC:~$ hp-probe -bnet

HP Linux Imaging and Printing System (ver. 3.21.4)
Printer Discovery Utility ver. 4.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.


--------------------
| DEVICE DISCOVERY |
--------------------

Probing network for printers. Please wait, this will take approx. 10 seconds...

  Device URI                                         Model                      Name     
  -------------------------------------------------  -------------------------  ---------
  hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52  HP_LaserJet_MFP_M129-M134  NPI88756C

Found 1 printer(s) on the 'net' bus.


Done.
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ hp-setup -r 192.168.1.52

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


----------------------------
| REMOVING PRINT/FAX QUEUE |
----------------------------

Removing 'HP_LaserJet_MFP_M129-M134 : hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52' Queue
Successfully deleted HP_LaserJet_MFP_M129-M134 Print/Fax queue
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ hp-setup -i 192.168.1.52

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

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


Setting up device: hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52



---------------------
| PRINT QUEUE SETUP |
---------------------


Please enter a name for this print queue (m=use model name:'HP_LaserJet_MFP_M129-M134'*, q=quit) ?
Using queue name: HP_LaserJet_MFP_M129-M134
Locating PPD file... Please wait.

Found PPD file: hplip:0/ppd/hplip/HP/hp-laserjet_mfp_m129-m134.ppd
Description: 

Note: The model number may vary slightly from the actual model number on the device.

Does this PPD file appear to be the correct one (y=yes*, n=no, q=quit) ? 
Enter a location description for this printer (q=quit) ?chambre
Enter additonal information or notes for this printer (q=quit) ?

Adding print queue to CUPS:
Device URI: hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52
Queue name: HP_LaserJet_MFP_M129-M134
PPD file: hplip:0/ppd/hplip/HP/hp-laserjet_mfp_m129-m134.ppd
Location: chambre
Information: 
error: Cannot setup fax - HPLIP not built with fax enabled.


---------------------
| PRINTER TEST PAGE |
---------------------


Would you like to print a test page (y=yes*, n=no, q=quit) ? n

Done.
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 

Ca ne fonctionne toujours pas.

Hors ligne

#13 Le 18/06/2021, à 18:49

xubu1957

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Que répond :

hp-probe -bnet

?


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#14 Le 18/06/2021, à 20:25

novice852015

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Que répond :

hp-probe -bnet

michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ hp-probe -bnet

HP Linux Imaging and Printing System (ver. 3.21.4)
Printer Discovery Utility ver. 4.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.


--------------------
| DEVICE DISCOVERY |
--------------------

Probing network for printers. Please wait, this will take approx. 10 seconds...

  Device URI                                         Model                      Name     
  -------------------------------------------------  -------------------------  ---------
  hp:/net/HP_LaserJet_MFP_M129-M134?ip=192.168.1.52  HP_LaserJet_MFP_M129-M134  NPI88756C

Found 1 printer(s) on the 'net' bus.


Done.
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 

Hors ligne

#15 Le 18/06/2021, à 20:39

xubu1957

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Found 1 printer(s) on the 'net' bus.
Traduction a écrit :

Trouvé 1 imprimante(s) sur le bus 'net'.

Je laisse la main aux connaisseurs.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#16 Le 18/06/2021, à 21:39

grigouille

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Je me demande pourquoi tu as installé le dernier hplip. Passons.

Essaie avec le plugin :

hp-plugin -i

Si cela ne fonctionne toujours pas, peux-tu essayer avec une session live ?


Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#17 Le 18/06/2021, à 22:08

novice852015

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Bonsoir Grigouille.

michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ hp-plugin -i

HP Linux Imaging and Printing System (ver. 3.21.4)
Plugin Download and Install Utility ver. 2.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.


HP Linux Imaging and Printing System (ver. 3.21.4)
Plugin Download and Install Utility ver. 2.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: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


-----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.21.4 |
-----------------------------------------

  Option      Description                                       
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recommended)            
  p           Specify a path to the plug-in (advanced)          
  q           Quit hp-plugin (skip installation)                

Enter option (d=download*, p=specify path, q=quit) ? d

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...
Downloading plug-in from: 
Downloading plug-in: [\                                   ] 0%     Traceback (most recent call last):
  File "/usr/share/hplip/base/password.py", line 85, in get_distro_name
    os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 363, in <module>
    status, plugin_path, error_str = pluginObj.download(plugin_path, plugin_download_callback)
  File "/usr/share/hplip/installer/pluginhandler.py", line 257, in download
    core = core_install.CoreInstall()
  File "/usr/share/hplip/installer/core_install.py", line 241, in __init__
    self.passwordObj = password.Password(ui_mode)
  File "/usr/share/hplip/base/password.py", line 118, in __init__
    self.__readAuthType()  # self.__authType
  File "/usr/share/hplip/base/password.py", line 141, in __readAuthType
    distro_name = get_distro_name().lower().replace(" ","")
  File "/usr/share/hplip/base/password.py", line 88, in get_distro_name
    os_name = distro.linux_distribution()[0]
  File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
    return _distro.linux_distribution(full_distribution_name)
  File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
    self.version(),
  File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
    self.lsb_release_attr('release'),
  File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
    return self._lsb_release_info.get(attribute, '')
  File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
    ret = obj.__dict__[self._fname] = self._f(obj)
  File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
    stdout = subprocess.check_output(cmd, stderr=devnull)
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
PermissionError: [Errno 13] Permission denied: '/var/crash/_usr_share_hplip_plugin.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/share/hplip/base/password.py", line 85, in get_distro_name
    os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 363, in <module>
    status, plugin_path, error_str = pluginObj.download(plugin_path, plugin_download_callback)
  File "/usr/share/hplip/installer/pluginhandler.py", line 257, in download
    core = core_install.CoreInstall()
  File "/usr/share/hplip/installer/core_install.py", line 241, in __init__
    self.passwordObj = password.Password(ui_mode)
  File "/usr/share/hplip/base/password.py", line 118, in __init__
    self.__readAuthType()  # self.__authType
  File "/usr/share/hplip/base/password.py", line 141, in __readAuthType
    distro_name = get_distro_name().lower().replace(" ","")
  File "/usr/share/hplip/base/password.py", line 88, in get_distro_name
    os_name = distro.linux_distribution()[0]
  File "/usr/lib/python3/dist-packages/distro.py", line 122, in linux_distribution
    return _distro.linux_distribution(full_distribution_name)
  File "/usr/lib/python3/dist-packages/distro.py", line 677, in linux_distribution
    self.version(),
  File "/usr/lib/python3/dist-packages/distro.py", line 737, in version
    self.lsb_release_attr('release'),
  File "/usr/lib/python3/dist-packages/distro.py", line 899, in lsb_release_attr
    return self._lsb_release_info.get(attribute, '')
  File "/usr/lib/python3/dist-packages/distro.py", line 552, in __get__
    ret = obj.__dict__[self._fname] = self._f(obj)
  File "/usr/lib/python3/dist-packages/distro.py", line 1012, in _lsb_release_info
    stdout = subprocess.check_output(cmd, stderr=devnull)
  File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.8/subprocess.py", line 512, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
michel@michel-HP-Pavilion-dv7-Notebook-PC:~$ 

La numérisation ne fonctionne pas !
Que me proposes-tu d'essayer en live ?

Dernière modification par novice852015 (Le 18/06/2021, à 22:39)

Hors ligne

#18 Le 18/06/2021, à 22:47

ylag

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

Bonsoir,

Ça me semble bien installé, pourtant.
Si pas déjà tenté, puisque tu es sur la 20.04, supprime le paquet ippusbxd :

sudo apt purge ippusbxd

Redémarre ou retente la config de l'imprimante.
...il me semble que c'est mentionné dans la doc pour les 'buntu 20.04 ?

A+

Dernière modification par ylag (Le 18/06/2021, à 22:50)

Hors ligne

#19 Le 19/06/2021, à 11:17

grigouille

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

L'installation du plugin a échoué.

J'aimerais que tu essaies l'imprimante avec une session live (live_cd) Ubuntu 20.04.


Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#20 Le 19/06/2021, à 11:47

ylag

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

@novice852015 :

Bonjour,

grigouille a écrit :

L'installation du plugin a échoué.

Installe le paquet python-is-python3 :

sudo apt install python-is-python3

...redémarre et retente l'installation du plugin ?

A+

Dernière modification par ylag (Le 19/06/2021, à 11:48)

Hors ligne

#21 Le 20/06/2021, à 21:58

novice852015

Re : [Résolu] HP LaserJet Pro MFP m130nw-Scanner non fonctionnel

J'ai réinstallé Ubuntu 20.06.
Pour installer l'imprimante j'ai utilisé l'aide de doc.ubuntu-fr.org (Installer une imprimante Hewlett Packard ™ avec HPLIP (HP Linux Imaging and Printing))
a) j'ai téléchargé la dernière version de hplip (§ 7. de l'aide)
b) je l'ai installé en mode Custom (§7.2)
c) J'ai dû télécharger et installer le greffon propriétaire (§3.6)

L'imprimante fonctionne en impression et numérisation.

Merci beaucoup pour votre aide.

Hors ligne