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.

#26 Le 21/10/2020, à 17:17

grigouille

Re : [Résolu] Installation HP Color LaserJet Pro MFP M282 Xubuntu 20.04.

tu as fait

hp-setup -i ip_imprimante

?


Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#27 Le 21/10/2020, à 17:25

Phil17

Re : [Résolu] Installation HP Color LaserJet Pro MFP M282 Xubuntu 20.04.

Non, je ne savais pas... désolé !
Sur l'air de la chanson de Brel "beau, beau et con à la fois", en ajoutant vieux...
J'ai retrouvé un long câble d'imprimante, pour le moment, ça me sauve la mise, j'ai quelques urgences administratives.


XPS15 version 2020 (7590) i7-9750H, RAM : 16 Go, SSD 512 Go, Écran FHD 15,6"
Xubuntu 22.04LTS, TLP en mode BAT persistant.

Hors ligne

#28 Le 10/09/2022, à 17:48

Phil17

Re : [Résolu] Installation HP Color LaserJet Pro MFP M282 Xubuntu 20.04.

Bonjour à tous !
Je reviens - malheureusement - vers vous car suite à une réinstallation de la V20.04 après de mauvaises expériences avec la V22.04, j'ai (encore ?) des soucis avec mon imprimante HP. J'ai pourtant suivi à la lettre les pages d'aide sur le site HP Developers Portal.
Impossible de scanner, l'imprimante est détectée mais ne scanne pas.J'ai tenté la procédure dans ce fil, à savoir désinstaller et réinstaller, supprimé ippusbxd,

sudo apt-get remove ippusbxd

et vérifié que j'étais bien dans le bon groupe, rien n'y fait.
J'ai redémarré l'ordinateur lorsque c'était nécessaire.
Je précise que, tant en USB qu'en Wi-fi, je peux imprimer sans souci, seul le scan n'est pas reconnu.

Voici le résultat des commandes sur le terminal :

phil@phil-XPS-15-7590:~$ 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 |
----------------------------


------------------
| SELECT PRINTER |
------------------

  Num       CUPS Printer                      
  --------  ----------------------------------
  0         HP_ColorLaserJet_MFP_M282-M285    
  1         HP_ColorLaserJet_MFP_M282-M285_fax

Enter number 0...1 for printer (q=quit) ?1
Removing 'HP_ColorLaserJet_MFP_M282-M285_fax : hpfax:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN488MB' Queue
Successfully deleted HP_ColorLaserJet_MFP_M282-M285_fax Print/Fax queue
phil@phil-XPS-15-7590:~$ 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_ColorLaserJet_MFP_M282-M285 : hp:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN488MB' Queue
Successfully deleted HP_ColorLaserJet_MFP_M282-M285 Print/Fax queue
phil@phil-XPS-15-7590:~$ 
phil@phil-XPS-15-7590:~$ 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*) ? 

Using connection type: usb

 
Setting up device: hp:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN488MB



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

Using queue name: HP_ColorLaserJet_MFP_M282-M285
Locating PPD file... Please wait.

Found PPD file: postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_m282-m285-ps.ppd
Description: 

Adding print queue to CUPS:
Device URI: hp:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN488MB
Queue name: HP_ColorLaserJet_MFP_M282-M285
PPD file: postscript-hp:0/ppd/hplip/HP/hp-color_laserjet_m282-m285-ps.ppd
Location: 
Information: HP ColorLaserJet MFP M282-M285 Device (Automatically setup by HPLIP)


-------------------
| FAX QUEUE SETUP |
-------------------

Using queue name: HP_ColorLaserJet_MFP_M282-M285_fax

Adding fax queue to CUPS:
Device URI: hpfax:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN488MB
Queue name: HP_ColorLaserJet_MFP_M282-M285_fax
PPD file: /usr/share/ppd/hplip/HP/HP-Fax2-hpcups.ppd.gz
Location: 
Information: HP ColorLaserJet MFP M282-M285 Fax Device (Automatically setup by HPLIP)

--------------------
| FAX HEADER SETUP |
--------------------


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


Done.
phil@phil-XPS-15-7590:~$ 

Là, tout semble installé.
Je démarre le "Numériseur de documents" (Xubuntu 20.04), j'ai une fenêtre du HP Device Manager me disant qu'un Driver Plug-in Installation est nécessaire.
Bon, je clique sur "Next", je sélectionne le téléchargement sur la ligne marquée "Recommandé", Next, et là, fenêtre d'erreur du HP Device Manager me disant que : "file does not match its checksum. File may have been corrupted or altered".
Je clique OK, là, dernière fenêtre m'annonçant :
"Failed to install Plug-in.
Either you have chosen to skip the Plug-in installation  or entered incorrect Password."
Je n'ai rien "skipé" ni entré de mot de passe.

Dernière précision, en suivant les recommandations du Wiki Ubuntu concernant HPLIP, j'ai tenté le téléchargement du greffon propriétaire, voici le retour :

phil@phil-XPS-15-7590:~$ 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) ? 

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

Checking for network connection...
Downloading plug-in from: 
Downloading plug-in: [\                                       ] 0%  error: Plugin download failed with error code = 8

error:  file does not match its checksum. File may have been corrupted or altered
phil@phil-XPS-15-7590:~$ 

Serait-ce un petit souci du site HP, un bug ?
Merci pour votre aide ou une piste.


XPS15 version 2020 (7590) i7-9750H, RAM : 16 Go, SSD 512 Go, Écran FHD 15,6"
Xubuntu 22.04LTS, TLP en mode BAT persistant.

Hors ligne

#29 Le 10/09/2022, à 19:23

ylag

Re : [Résolu] Installation HP Color LaserJet Pro MFP M282 Xubuntu 20.04.

Bonsoir,

Peut-être essayer de l'installer manuellement en récupérant l'archive hplip-3.20.3-plugin.run sur ce site : Plugins ?

Pour tenter l'installation, faire la commande suivante à partir du répertoire où se trouve l'archive :

sh hplip-3.20.3-plugin.run

A+

Dernière modification par ylag (Le 10/09/2022, à 19:27)

Hors ligne

#30 Le 10/09/2022, à 20:26

grigouille

Re : [Résolu] Installation HP Color LaserJet Pro MFP M282 Xubuntu 20.04.

Donne

hp-setup -ir

Puis

hp-setup -i ip_de_ton_imprimante

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#31 Le 11/09/2022, à 16:38

Phil17

Re : [Résolu] Installation HP Color LaserJet Pro MFP M282 Xubuntu 20.04.

La première commande de grigouille m'a enlevé l'imprimante et le fax (inutile, d'ailleurs)

phil@phil-XPS-15-7590:~$ 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 |
----------------------------


------------------
| SELECT PRINTER |
------------------

  Num       CUPS Printer                      
  --------  ----------------------------------
  0         HP_ColorLaserJet_MFP_M282-M285    
  1*        HP_ColorLaserJet_MFP_M282-M285_fax

Enter number 0...1 for printer (q=quit, <enter>=default: *1) ?0
Removing 'HP_ColorLaserJet_MFP_M282-M285 : hp:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN488MB' Queue
Successfully deleted HP_ColorLaserJet_MFP_M282-M285 Print/Fax queue
phil@phil-XPS-15-7590:~$ 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_ColorLaserJet_MFP_M282-M285_fax : hpfax:/usb/HP_ColorLaserJet_MFP_M282-M285?serial=VNBKN488MB' Queue
Successfully deleted HP_ColorLaserJet_MFP_M282-M285_fax Print/Fax queue
phil@phil-XPS-15-7590:~$ 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 |
----------------------------

error: No device found that support this feature.
Removing 'None : None' Queue
error: Failed to delete None Print/Fax queue. Error : client-error-not-found
phil@phil-XPS-15-7590:

La 2eme commande semble rester dans cet état  stationnaire, rien ne se passe :

phil@phil-XPS-15-7590:~$ hp-setup -i 192.168.1.30

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.

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


Setting up device: hp:/net/HP_ColorLaserJet_MFP_M282-M285?ip=192.168.1.30



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


Please enter a name for this print queue (m=use model name:'HP_ColorLaserJet_MFP_M282-M285'*, q=quit) ?m
error: User exit
Done.
phil@phil-XPS-15-7590:~$ 

J'ai quitté par un Ctrl C.

Par contre, l'imprimante a été remplacée par l'imprimante réseau à qui demander un test d'impression fonctionne mais demander un scan ne fonctionne pas.

Donc je suis remonté au post #29 d'Ylag, j'ai téléchargé le *.run, puis le .run.asc qui semble être la clé d'authentification, téléchargé via "clic droit, enregistrer la cible sous". Je donne cette information pour ceux qui auraient le problème, car si on fait un simple clic, on a le fichier texte qui s'affiche dans le navigateur, c'est tout.
En faisant un clic-droit, le fichier *.run est enregistré comme script shell, et le fichier *.run.asc est enregistré comme signature OpenPGP détachée et le logiciel d'installation HPLIP peut s'en servir correctement.
J'ai demandé un scan, l'imprimante a été détectée, et lorsque j'ai demandé de scanner, le logiciel HPLIP s'est ouvert en mode GUI en me demandant d'installer automatiquement le fichier *.run correspondant en le récupérant sur le web ou d'aller le chercher dans l'ordinateur. Je lui ai indiqué le chemin (téléchargements), il l'a utilisé pour installer correctement ce qu'il avait besoin.
Maintenant, le scanner et l’imprimante fonctionnent.
Merci à vous deux pour votre réponse rapide, à grigouille pour m'avoir fait peur (désinstallation des imprimantes...) et à Ylag pour avoir donné la solution finale.
Certainement un bug chez HP lors de l'installation via le terminal en mode console.

En tout cas, j'ai appris pas mal de choses sur ce problème, c'est intéressant.
Bonne fin de week-end, merci encore, Phil

Dernière modification par Phil17 (Le 11/09/2022, à 17:04)


XPS15 version 2020 (7590) i7-9750H, RAM : 16 Go, SSD 512 Go, Écran FHD 15,6"
Xubuntu 22.04LTS, TLP en mode BAT persistant.

Hors ligne

#32 Le 11/09/2022, à 19:29

grigouille

Re : [Résolu] Installation HP Color LaserJet Pro MFP M282 Xubuntu 20.04.

Super si ça marche.

En fait, il faut supprimer les imprimantes puis les réinstaller. Si on ne passe pas par la case suppression, on a plein d'imprimantes qui traînent.
Donc mieux vaut faire le ménage avant.


Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#33 Le 11/09/2022, à 20:41

Phil17

Re : [Résolu] Installation HP Color LaserJet Pro MFP M282 Xubuntu 20.04.

Oui, je suis d'accord avec toi, et j'avais supprimé les imprimantes puisque lorsqu'on la branche, L'OS les intègre immédiatement, mais la procédure que j'ai suivi sur le site HP n'a pas fonctionné deux fois de suite...
Un truc curieux, c'est que sur le site HP, le seul téléchargement des pilotes est dernière version, je n'ai pas pensé aller chercher la précédente, pensant qu'elle était OK. Ben non, elle ne fonctionne pas encore parfaitement et complètement.


XPS15 version 2020 (7590) i7-9750H, RAM : 16 Go, SSD 512 Go, Écran FHD 15,6"
Xubuntu 22.04LTS, TLP en mode BAT persistant.

Hors ligne