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 14/08/2020, à 12:41

Amarurtuuq

[RÉSOLU] Mes. erreur avec le scanner HP Color Laserjet Pro MFP 283fdn

Problème résolu de la manière suivante :
Il manquait apparemment le plugin de la dernière version d'HPLIP. Je l'ai téléchargée ici: hp-linux-imaging-and-printing/plugins
Nom de Fichier: hplip-3.20.6-plugin.run
Je l'ai installé par le terminal en tapant : sh hplip-3.20.6-plugin.run
----------------------------------------------------------------------------------------------------

Ubuntu 16.04
Imprimante reliée par usb (pas par wifi)

Bonjour,

Je suis sous ubuntu depuis plusieurs années, mais je ne suis pas spécialement à l'aise avec les commandes via un terminal.
Mon imprimante jet d'encre étant en fin de vie, je me suis décidée à en acheter une (j'ai mis du temps car j'avais peur que l'installation ne fonctionne pas...).
J'ai commandé mon imprimante sur le site HP et je l'ai reçue hier.  Comme c'est un modèle récent, j'ai dû installer la version récente d'HPLIP (j'ai suivi la procédure indiquée sur ce site mais je crois qu'il manquait une étape dans cete procédure... j'y viens plus loin).
J'ai donc téléchargé le fichier .run (qui s'est retrouvé dans mon fichier "téléchargements") et suivi toutes les étapes. Au final, HPLIP s'est installé dans mon fichier "téléchargements" (c'est là qu'il doit manquer une étape dans la procédure). Déjà, je ne sais pas comment faire pour le changer de dossier.
Je peux imprimer sans problème, mais quand j'ai voulu scanner hier, Simple Scan m'indique "échec de la numérisation". Un autre message apparaît "erreur d'ouverture du périphérique".
Ce matin, j'ai voulu ré-essayer, et j'ai eu un nouveau message (qui n'y était pas hier) : "driver plug-in required". On me propose de l'installer mais quand je clique sur "next", j'ai un message d'erreur :
"failed to install plug-in. Either you have chosen to skip the plug-in installation or entered incorrect password" (lors de l'installation, je n'ai pas refusé d'installé quoi que ce soit et d'autre part, on ne m'a pas demandé mon mot de passe pour installer le plug-in).

Voilà, le copié-collé de la commande indiquée dans votre tuto :

valerie@valerie-EasyNote-LS11HR:~$ dpkg -l | grep sane
ii  libsane:amd64                               1.0.25+git20150528-1ubuntu2.16.04.1             amd64        API library for scanners
ii  libsane-common                              1.0.25+git20150528-1ubuntu2.16.04.1             all          API library for scanners -- documentation and support files
ii  libsane-dev                                 1.0.25+git20150528-1ubuntu2.16.04.1             amd64        API development library for scanners [development files]
ii  libsane-extras:amd64                        1.0.22.3ubuntu1                                 amd64        API library for scanners -- extra backends
ii  libsane-extras-common                       1.0.22.3ubuntu1                                 amd64        API library for scanners -- documentation and support files
rc  libsane-hpaio:amd64                         3.16.3+repack0-1                                amd64        HP SANE backend for multi-function peripherals
ii  sane-utils                                  1.0.25+git20150528-1ubuntu2.16.04.1             amd64        API library for scanners -- utilities
ii  xsane                                       0.999-3ubuntu1                                  amd64        featureful graphical frontend for SANE (Scanner Access Now Easy)
ii  xsane-common                                0.999-3ubuntu1                                  all          xsane architecture independent files
valerie@valerie-EasyNote-LS11HR:~$ ^C
valerie@valerie-EasyNote-LS11HR:~$ sudo sane-find-scanner -q
[sudo] Mot de passe de valerie : 
found USB scanner (vendor=0x03f0 [HP], product=0x0970 [HP ColorLaserJet MFP M282-M285]) at libusb:002:005
valerie@valerie-EasyNote-LS11HR:~$ scanimage -L
device `hpaio:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN2N5D2' is a Hewlett-Packard HP_ColorLaserJet_MFP_M282-M285 all-in-one
valerie@valerie-EasyNote-LS11HR:~$ ls /etc/sane.d/
abaton.conf          dll.d           leo.conf         s9036.conf
agfafocus.conf       dmc.conf        lexmark.conf     saned.conf
apple.conf           epjitsu.conf    ma1509.conf      sceptre.conf
artec.conf           epson2.conf     magicolor.conf   sharp.conf
artec_eplus48u.conf  epson.conf      matsushita.conf  sm3840.conf
avision.conf         epsonds.conf    microtek2.conf   snapscan.conf
bh.conf              fujitsu.conf    microtek.conf    sp15c.conf
canon630u.conf       genesys.conf    mustek.conf      st400.conf
canon.conf           geniusvp2.conf  mustek_pp.conf   stv680.conf
canon_dr.conf        gphoto2.conf    mustek_usb.conf  tamarack.conf
canon_pp.conf        gt68xx.conf     nec.conf         teco1.conf
cardscan.conf        hp3900.conf     net.conf         teco2.conf
coolscan2.conf       hp4200.conf     p5.conf          teco3.conf
coolscan3.conf       hp5400.conf     pie.conf         test.conf
coolscan.conf        hp.conf         pixma.conf       u12.conf
dc210.conf           hpsj5s.conf     plustek.conf     umax1220u.conf
dc240.conf           hs2p.conf       plustek_pp.conf  umax.conf
dc25.conf            ibm.conf        qcam.conf        umax_pp.conf
dell1600n_net.conf   kodakaio.conf   ricoh.conf       xerox_mfp.conf
dll.conf             kodak.conf      rts8891.conf
valerie@valerie-EasyNote-LS11HR:~$ cat /etc/sane.d/dll.conf
# /etc/sane.d/dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under
# /etc/sane.d/dll.d directory -- packages providing backends should drop
# a config file similar to dll.conf in this directory, named after the package.
#

# 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)
net
abaton
agfafocus
apple
avision
artec
artec_eplus48u
as6e
bh
canon
canon630u
canon_dr
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc25
#dc210
#dc240
dell1600n_net
dmc
epjitsu
#epson
epson2
epsonds
fujitsu
#gphoto2
genesys
gt68xx
hp
hp3900
hpsj5s
hp3500
hp4200
hp5400
hp5590
hpljm1005
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
#umax_pp
umax1220u
v4l
xerox_mfp
hpaio
valerie@valerie-EasyNote-LS11HR:~$ ls /lib/udev/rules.d | grep libsane
60-libsane.rules
valerie@valerie-EasyNote-LS11HR:~$ 

J'aimerais bien pouvoir utiliser le scanner (vu le prix que j'ai payé cette fichue multifonction), pour l'instant, je ne peux que scanner sur clé usb...
Merci d'avance pour votre aide,

Valérie

Dernière modification par Amarurtuuq (Le 14/08/2020, à 17:45)

Hors ligne

#2 Le 14/08/2020, à 12:50

xubu1957

Re : [RÉSOLU] Mes. erreur avec le scanner HP Color Laserjet Pro MFP 283fdn

Bonjour,

Pour ajouter toi-même les balises code à ton précédent message #1,comme demandé dans le premier message du tutoriel Retour utilisable de commande :        Merci        wink

  • 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

En séparant bien les retours :

comme
cela.

Dernière modification par xubu1957 (Le 14/08/2020, à 13:08)


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 14/08/2020, à 13:03

Amarurtuuq

Re : [RÉSOLU] Mes. erreur avec le scanner HP Color Laserjet Pro MFP 283fdn

Merci pour l'info !

J'ai râmé pour modifier le message, mais je crois que c'est bon cette fois !:)

Hors ligne

#4 Le 14/08/2020, à 13:10

xubu1957

Re : [RÉSOLU] Mes. erreur avec le scanner HP Color Laserjet Pro MFP 283fdn

Montre aussi :

dpkg -l | grep hplip
hp-check

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

#5 Le 14/08/2020, à 15:13

Amarurtuuq

Re : [RÉSOLU] Mes. erreur avec le scanner HP Color Laserjet Pro MFP 283fdn

Voici la suite, comme demandé :

valerie@valerie-EasyNote-LS11HR:~$ dpkg -l | grep hplip
rc  hplip                                       3.16.3+repack0-1                                amd64        HP Linux Printing and Imaging System (HPLIP)
rc  hplip-gui                                   3.16.3+repack0-1                                all          HP Linux Printing and Imaging - GUI utilities (Qt-based)
valerie@valerie-EasyNote-LS11HR:~$ hp-check
Saving output in log file: /home/valerie/hp-check.log

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

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

 Kernel: 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:34:05 UTC 2020 GNU/Linux
 Host: valerie-EasyNote-LS11HR
 Proc: 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:34:05 UTC 2020 GNU/Linux
 Distribution: 12 16.04
 Bitness: 64 bit


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

HPLIP-Version: HPLIP 3.20.6
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro  16.04 version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.20.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.20.6
html=/usr/share/doc/hplip-3.20.6
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: Aucun fichier ou dossier de ce type

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1597321420
pending_upgrade_time = 0
latest_available_version = 3.17.10

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN2N5D2"
printer_name = 
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[installation]
date_time = 14/08/2020 16:09:46
version = 3.20.6


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------
| COMPILEDEP |
--------------

 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               5.4.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.1             OK         -
 libtool              libtool - Library building support services                  REQUIRED        -               2.4.6           OK         -

------------------------
| General Dependencies |
------------------------

 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.0.2           OK         -
 python-xml           Python XML libraries                                         REQUIRED        -               2.1.0           OK         -
 libnetsnmp-devel     libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           5.7.3           OK         -
 sane-devel           SANE - Scanning library development files                    REQUIRED        -               1.0.25          OK         -
 pil                  PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               6.2.2           OK         -
 pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4                         REQUIRED        4.0             4.11.4          OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               2.23            OK         -
 python-devel         Python devel - Python development files                      REQUIRED        2.2             2.7.12          OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               2.1.3           OK         -
 python-dbus          Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.0           OK         -
 cups-ddk             CUPS DDK - CUPS driver development kit                       OPTIONAL        -               -               OK         -
 reportlab            Reportlab - PDF library for Python                           OPTIONAL        2.0             3.3.0           OK         -
 pyqt4                PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             4.11.4          OK         -
 libusb               libusb - USB library                                         REQUIRED        -               1.0             OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               2.1.3           OK         -
 python2X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             2.7.12          OK         -
 python-notify        Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               OK         -
 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 sane                 SANE - Scanning library                                      REQUIRED        -               1.0.25          OK         -

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

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

-------------------------
| External Dependencies |
-------------------------

 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.26            OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.25          OK         -
 cups                 CUPS - Common Unix Printing System                           REQUIRED        1.1             2.1.3           OK         'CUPS Scheduler is running'
 network              network -wget                                                OPTIONAL        -               1.17.1          OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.10.6          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.6.32          OK         -

---------------------
| Python Extentions |
---------------------

 hpmudext             IO-Extension                                                 REQUIRED        -               3.20.6          OK         -
 cupsext              CUPS-Extension                                               REQUIRED        -               3.20.6          OK         -

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

device `hpaio:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN2N5D2' is a Hewlett-Packard HP_ColorLaserJet_MFP_M282-M285 all-in-one


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

  Device URI                        Model                         
  --------------------------------  ------------------------------
  hp:/usb/HP_ColorLaserJet_MFP_M28  HP ColorLaserJet MFP M282-M285
  2-M285?serial=VNBKN2N5D2                                        

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

 
Deskjet_2547
------------
Type: Printer
Device URI: hp:/usb/Deskjet_2540_series?serial=CN5646F1310604
PPD: /etc/cups/ppd/Deskjet_2547.ppd
warning: Failed to read /etc/cups/ppd/Deskjet_2547.ppd ppd file
PPD Description: 
Printer status: printer Deskjet_2547 disabled since jeu. 13 août 2020 12:55:21 CEST -   Unplugged or turned off
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_2540_series?serial=CN5646F1310604
error: Device not found
error: Communication status: Failed

HP_ColorLaserJet_MFP_M282-M285
------------------------------
Type: Printer
Device URI: hp:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN2N5D2
PPD: /etc/cups/ppd/HP_ColorLaserJet_MFP_M282-M285.ppd
warning: Failed to read /etc/cups/ppd/HP_ColorLaserJet_MFP_M282-M285.ppd ppd file
PPD Description: 
Printer status: printer HP_ColorLaserJet_MFP_M282-M285 is idle.  enabled since ven. 14 aready to print:53 CEST
Communication status: Good

HP_ColorLaserJet_MFP_M282-M285_fax
----------------------------------
Type: Fax
Device URI: hpfax:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN2N5D2
PPD: /etc/cups/ppd/HP_ColorLaserJet_MFP_M282-M285_fax.ppd
warning: Failed to read /etc/cups/ppd/HP_ColorLaserJet_MFP_M282-M285_fax.ppd ppd file
PPD Description: 
Printer status: printer HP_ColorLaserJet_MFP_M282-M285_fax is idle.  enabled since jeu. 13 août 2020 14:26:47 CEST
Communication status: Good

MG2400-series
-------------
Type: Unknown
Device URI: usb://Canon/MG2400%20series?serial=18251B&interface=1
PPD: /etc/cups/ppd/MG2400-series.ppd
warning: Failed to read /etc/cups/ppd/MG2400-series.ppd ppd file
PPD Description: 
Printer status: printer MG2400-series disabled since lun. 23 déc. 2019 10:42:51 CET -   Unplugged or turned off
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.


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

USB             HP_ColorLaserJet_MFP_M282-M285 Required        -        -        OK       Node:'/dev/bus/usb/002/005' Perm:'  root  lp rw- rw- rw- rw- rw- r--'
 
-----------
| SUMMARY |
-----------

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

Missing Optional Dependencies
-----------------------------
None


Total Errors: 1
Total Warnings: 1


Done.

Hors ligne

#6 Le 14/08/2020, à 16:28

ylag

Re : [RÉSOLU] Mes. erreur avec le scanner HP Color Laserjet Pro MFP 283fdn

Bonjour,

Tu pourrais peu-être tenter d'installer directement le greffon en récupérant son archive *.run sur ce site: hp-linux-imaging-and-printing/plugins

Ça devrait se lancer de la même manière que pour le hplip-*.run que tu sembles avoir installé; si je ne m'abuse, ce serait le fichier hplip-3.20.6-plugin.run dans ton cas ?

A+

Hors ligne

#7 Le 14/08/2020, à 17:30

Amarurtuuq

Re : [RÉSOLU] Mes. erreur avec le scanner HP Color Laserjet Pro MFP 283fdn

Oui, j'ai installé le fichier hplip-3.20.6.run.

Je vais essayer d'installer le fichier hplip-3.20.6-plugin.run, et je vais voir ce qu'il se passe...

Hors ligne

#8 Le 14/08/2020, à 17:40

Amarurtuuq

Re : [RÉSOLU] Mes. erreur avec le scanner HP Color Laserjet Pro MFP 283fdn

Ah merci, merci !!! Je peux enfin scanner à partir de l'ordinateur !

Je n'y serais jamais arrivée toute seule  (et je progresse avec le terminal...) !

Merci encore ! smile

Valérie / Amarurtuuq

Hors ligne

#9 Le 14/08/2020, à 18:03

Korak

Re : [RÉSOLU] Mes. erreur avec le scanner HP Color Laserjet Pro MFP 283fdn

Bonjour,

Avec ton Ubuntu 16.04, quelle version d'HPLIP aurais-tu eu via Synaptic ?

Même avec une imprimante récente, la dernière version d'HPLIP n'est pas forcément nécessaire.

Il est vrai que je n'ai pas la même imprimante que toi ni la même version d'Ubuntu. J'ai actuellement une HP LaserJet Pro 200 Color M251nw, qu'elle n'a pas de scanner et que j'utilise Ubuntu 20.04.1 64 bits avec Unity.


Édit :

Oups, mon intervention est arrivée un peu tard.
Pas grave, le principal est que tu sois arrivée à tes fins.

Dernière modification par Korak (Le 14/08/2020, à 18:06)


OS: Ubuntu 24.04 64 bits + Windows 11 64 bits en dualboot (BIOS UEFI, Secure Boot activé et table de partitions GPT)
PC portable HP 17-CP0308NF   Processeur: AMD Ryzen 7 5700U avec carte graphique AMD Lucienne intégrée au processeur.   Mémoire vive: 16 Go RAM
Quand vous ne trouvez pas la solution à un problème, cherchez des pistes menant à la solution !

Hors ligne