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 27/07/2021, à 10:33

Aravis

[Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Bonjour,

Je fais mes premiers pas sur LINUX et sur ce forum.
Je rencontre un problème avec mon imprimante HP LASERJET PRO MFP M125nw.

Je suis capable d'imprimer sans problème sur cette imprimante (en WIFI ou USB)
J'utilise l'outil scanner livré dans UBUNTU 20.4. L'outil reconnait l'imprimante car il affiche la dite imprimante mais ensuite il affiche "impossible de se connecter au peripherique de numerisation" lorsque je lance une numérisation
J'ai vérifié et mon imprimante est bien supporté depuis la librairie HPLIP version 3.14.3

J'ai lu plusieurs sujets sur ce forum qui reportent les mêmes symptômes mais je bloque de mon coté:
comme ce dernier (message récapitulatif #11)
https://forum.ubuntu-fr.org/viewtopic.php?id=2057195

Du coup,
1) jai téléchargé avec succés le greffon hplip-3.20.3
2) j'ai supprimé avec succes "du python2, du python3.4 (etc.) et installé python3.8"
3) par contre l'installation du plugin (sh hplip-3.20.3-plugin.run ) plante avec cette commande comme d'ailleurs le reportait Flying Cluster

toto@toto-NUC10i3FNK:~/Téléchargements/HP$ sh hplip-3.20.3-plugin.run
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.3 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Installer ver. 3.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.

Plug-in version: 3.20.3
Installed HPLIP version: 3.20.3
Number of files to install: 64

note: Using PyQt5
error: Unable to load Qt5 support. Is it installed? Try running with -i or --qt3 instead.
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ 


je vous partage les informations de mon systeme pour aider:
D'avance je vous remercie pour le support.

toto@toto-NUC10i3FNK:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal
toto@toto-NUC10i3FNK:~$ 
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ hp-plugin -i

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

  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) ? q
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ 

Dernière modification par Aravis (Le 28/07/2021, à 14:26)

Hors ligne

#2 Le 27/07/2021, à 11:23

ylag

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Bonjour,

hp-plugin -i au #1 a écrit :

Enter option (d=download*, p=specify path, q=quit) ? q
toto@toto-NUC10i3FNK:~/Téléchargements/HP$

Tu as annulé la tentative d'installation du greffon ?

Peut-être retenter, mais en choisissant l'option « d » :

d           Download plug-in from HP (recommended)

...pour lancer l'installation.
Je crois qu'Il faut brancher et allumer l'imprimante avant la tentative d'installation du greffon ?

A+

Hors ligne

#3 Le 27/07/2021, à 13:17

Aravis

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Bonjour ylag,

Oui j'ai annulé la commande "hp-plugin -i" car je ne sais pas comment elle marche mais je souhaitais surtout vous partager les informations de ma configuration.

J'ai néanmoins déjà suivi l'étape 1 de "Flying Cluster" et téléchargé le greffon:

toto@toto-NUC10i3FNK:~/Téléchargements/HP$ ls -l
total 11248
-rw-rw-r-- 1 toto toto 11514166 janv.  1  1970 hplip-3.20.3-plugin.run
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ 

Hors ligne

#4 Le 27/07/2021, à 13:34

ylag

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Bonjour,

Comme semble l'avoir fait @Flying Cluster, tu pourrais passer par hp-setup pour reconfigurer et compléter l'installation ?
Il y a de fortes chances que ça installe le greffon du coup.
Commence par supprimer l'imprimante existante :

hp-setup -ir

...puis réinstalle-la :

hp-setup -i

Choisir le mode d'installation "custom" et ensuite les options par défaut, autant que possible ; ça devrait tenter l'installation du greffon ?

Si pas déja fait, la doc hplip du forum est à consulter : https://doc.ubuntu-fr.org/hplip

Note : Correction de la première commande suite à l'intervention de @grigouille au commentaire #6, merci...

A+

Dernière modification par ylag (Le 27/07/2021, à 15:55)

Hors ligne

#5 Le 27/07/2021, à 15:36

Aravis

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Oui. j'ai commencé à lire le super et complet tuto HPLIP mais il ne me semblait pas adapté à mon soucis étant donné que mon imprimante imprime et que c'est chaud pour tout comprendre aussi.

En suivant ton conseil, j'ai lancé la premiere commande, et je tombe sur le même code erreur qu'avec la commande "sh hplip-3.20.3-plugin.run" (Dans mon premier message)

toto@toto-NUC10i3FNK:~/Téléchargements/HP$ hp-setup -r

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

warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ 

Hors ligne

#6 Le 27/07/2021, à 15:41

grigouille

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Aravis a écrit :
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.

Il faut faire :

hp-setup -ir

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#7 Le 27/07/2021, à 15:55

grigouille

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Installe ensuite l'imprimante :

hp-setup -iax

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#8 Le 27/07/2021, à 17:22

Aravis

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Alors j'ai lancé les deux commandes ci-dessous (Tout en gardant mon imprimante connectée comme j'ai pu le lire sur d'autres pages)

toto@toto-NUC10i3FNK:~/Téléchargements/HP$ hp-setup -ir

HP Linux Imaging and Printing System (ver. 3.20.3)
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-Pro-MFP-M125nw : hp:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB7H7GCTG' Queue
Successfully deleted HP-LaserJet-Pro-MFP-M125nw Print/Fax queue
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ 

Puis on re-installe (j'ai choisit USB et l'installation a été confirmé par l'apparition d'une notification sur mon écran )

toto@toto-NUC10i3FNK:~/Téléchargements/HP$ 
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ hp-setup -iax

HP Linux Imaging and Printing System (ver. 3.20.3)
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*) ? 0

Using connection type: usb

 
Setting up device: hp:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB7H7GCTG



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

Using queue name: HP_LaserJet_Pro_MFP_M125nw
Locating PPD file... Please wait.

Found PPD file: drv:///hpcups.drv/hp-laserjet_pro_mfp_m125nw.ppd
Description: 

Adding print queue to CUPS:
Device URI: hp:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB7H7GCTG
Queue name: HP_LaserJet_Pro_MFP_M125nw
PPD file: drv:///hpcups.drv/hp-laserjet_pro_mfp_m125nw.ppd
Location: 
Information: HP LaserJet Pro MFP M125nw Device (Automatically setup by HPLIP)


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


Done.
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ 

J'ai fait une nouvelle tentative avec l'outil "numeriseur de documents" mais j'ai le meme symptome. Il reconnait l'imprimante mais plantage quand je lance le scan.

Hors ligne

#9 Le 27/07/2021, à 18:47

grigouille

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Installe le plugin :

hp-plugin -i

teste le scanner :

hp-scan -i

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

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

Aravis

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

MERCI MERCI MERCI GRIGOUILLE & YLAG

Vous êtes trop forts. merci pour le support et le temps passé.

Cela a fonctionné.

Je suis capable d'imprimer et de scanner.

Je remets les commande pour référence pour des gens comme moi qui seraient plantés.
je précise que j'avais mon imprimante multifonction connectée par USB pendant les opérations

J'avais initialement manuellement téléchargé le greffon mais du coup j'ai préféré utiliser l'option (d) du script qui permet de le récupérer tout seul

toto@toto-NUC10i3FNK:~/Téléchargements/HP$ hp-plugin -i

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

  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%Importing digital key
 

----------------------
| INSTALLING PLUG-IN |
----------------------

Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.3 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Installer ver. 3.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.

Plug-in version: 3.20.3
Installed HPLIP version: 3.20.3
Number of files to install: 64

You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in                     


These License Terms govern your Use of the HPLIP Driver Plug-in Software (the "Software"). 
USE OF THE SOFTWARE INCLUDING, WITHOUT LIMITATION, ANY DOCUMENTATION, IS SUBJECT TO THESE  
LICENSE TERMS AND THE APPLICABLE AS-IS WARRANTY STATEMENT. BY DOWNLOADING AND INSTALLING   
THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THESE TERMS. IF YOU DO NOT AGREE TO ALL OF   
THESE TERMS, DO NOT DOWNLOAD AND INSTALL THE SOFTWARE ON YOUR SYSTEM.                      


1. License Grant. HP grants you a license to Use one copy of the Software with HP printing 
products only. "Use" includes using, storing, loading, installing, executing, and          
displaying the Software. You may not modify the Software or disable any licensing or       
control features of the Software.                                                          


2. Ownership. The Software is owned and copyrighted by HP or its third party suppliers.    
Your license confers no title to, or ownership in, the Software and is not a sale of any   
rights in the Software. HP's third party suppliers may protect their rights in the Software
in the event of any violation of these license terms.                                      


3. Copies and Adaptations. You may only make copies or adaptations of the Software for     
archival purposes or when copying or adaptation is an essential step in the authorized Use 
of the Software. You must reproduce all copyright notices in the original Software on all  
copies or adaptations. You may not copy the Software onto any public network.              


4. No Disassembly. You may not Disassemble the Software unless HP's prior written consent  
is obtained. "Disassemble" includes disassembling, decompiling, decrypting, and reverse    
engineering. In some jurisdictions, HP's consent may not be required for limited           
Disassembly. Upon request, you will provide HP with reasonably detailed information        
regarding any Disassembly.                                                                 


5. No Transfer. You may not assign, sublicense or otherwise transfer all or any part of    
these License Terms or the Software.                                                       


6. Termination. HP may terminate your license, upon notice, for failure to comply with any 
of these License Terms. Upon termination, you must immediately destroy the Software,       
together with all copies, adaptations and merged portions in any form.                     


7. Export Requirements. You may not export or re-export the Software or any copy or        
adaptation in violation of any applicable laws or regulations.                             


8. U.S. Government Restricted Rights. The Software has been developed entirely at private  
expense. It is delivered and licensed, as defined in any applicable DFARS, FARS, or other  
equivalent federal agency regulation or contract clause, as either "commercial computer    
software" or "restricted computer software", whichever is applicable. You have only those  
rights provided for such Software by the applicable clause or regulation or by these       
License Terms.                                                                             


9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, HP AND ITS 
SUPPLIERS PROVIDE THE SOFTWARE "AS IS" AND WITH ALL FAULTS, AND HEREBY DISCLAIM ALL OTHER  
WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT       
LIMITED TO, WARRANTIES OF TITLE AND NON-INFRINGEMENT, ANY IMPLIED WARRANTIES, DUTIES OR    
CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES 
ALL WITH REGARD TO THE SOFTWARE. Some states/jurisdictions do not allow exclusion of       
implied warranties or limitations on the duration of implied warranties, so the above      
disclaimer may not apply to you in its entirety.                                           


10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur, the entire  
liability of HP and any of its suppliers under any provision of this agreement and your    
exclusive remedy for all of the foregoing shall be limited to the greater of the amount    
actually paid by you separately for the Software or U.S. $5.00. TO THE MAXIMUM EXTENT      
PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL HP OR ITS SUPPLIERS BE LIABLE FOR ANY       
SPECIAL, INCIDENTAL,                                                                       
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR  
LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS INTERRUPTION, FOR       
PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY WAY RELATED TO THE USE OF OR 
INABILITY TO USE THE SOFTWARE, OR OTHERWISE IN CONNECTION WITH ANY PROVISION OF THIS       
AGREEMENT, EVEN IF HP OR ANY SUPPLIER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES  
AND EVEN IF THE REMEDY FAILS OF ITS ESSENTIAL PURPOSE. Some states/jurisdictions do not    
allow the exclusion or limitation of incidental or consequential damages, so the above     
limitation or exclusion may not apply to you.                                              

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y
Please enter the sudoer (toto)'s password: 
 
Done.
 
Done.
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ 

Et le test du SCAN par commande en ligne qui a parfaitement réussi:

toto@toto-NUC10i3FNK:~/Téléchargements/HP$ hp-scan -i

HP Linux Imaging and Printing System (ver. 3.20.3)
Scan Utility ver. 2.2

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.

warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/usb/HP_LaserJet_Pro_MFP_M125nw?serial=CNB7H7GCTG
Opening connection to device...

Resolution: 300dpi
Mode: gray
Compression: JPEG
Scan area (mm):
  Top left (x,y): (0.000000mm, 0.000000mm)
  Bottom right (x,y): (215.899994mm, 296.925995mm)
  Width: 215.899994mm
  Height: 296.925995mm
Destination(s): file
Output file: 
warning: File destination enabled with no output file specified.
Setting output format to PNG for greyscale mode.
warning: Defaulting to '/home/massonnat/Téléchargements/HP/hpscan001.png'.

Warming up...
 

Scanning...
Reading data: [*****************************************************] 100%  8.5 MB     
Read 8.5 MB from scanner.
Closing device.

Outputting to destination 'file':

Done.
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ ls
hplip-3.20.3-plugin.run  hpscan001.png
toto@toto-NUC10i3FNK:~/Téléchargements/HP$ 

Du coup, je suppose que je dois mettre [RESOLU] dans le titre de la conversation

Hors ligne

#11 Le 27/07/2021, à 22:20

ylag

Re : [Résolu] Scanner HP non fonctionnel sous UBUNTU 20.4

Bonsoir,

+1 ! smile

Du coup, je suppose que je dois mettre [RESOLU] dans le titre de la conversation

...oui.

A+

Dernière modification par ylag (Le 27/07/2021, à 22:21)

Hors ligne