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 12/06/2021, à 14:13

Mita

Re : [Résolu] installation hplip pour HP Desket Plus 4100

Pour la première commande, il n'y a eu aucun message.
J'ai donc relancer la seconde et voici le poste

sh hplip-3.21.4.run
Creating directory hplip-3.21.4
Verifying archive integrity... All good.
Uncompressing HPLIP 3.21.4 Self Extracting Archive............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

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

Installer log saved in: hplip-install_Sat-12-Jun-2021_14:00:55.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
\Gtk-Message: 14:01:02.252: Failed to load module "canberra-gtk-module"
 

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : c


INTRODUCTION
------------
This installer will install HPLIP version 3.21.4 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 20.04.

Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y


DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)?   : c

Would you like to Create package or Install Class Drivers ('p'=create package, 'i'= install*) : p


Package Generation
------------------
Which package would you like to create('t'=tar*,'b'=deb,'q'=Quit) : t

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
Please enter the sudoer (papoug)'s password: 
 

RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp ( hp_libs_remove step 1)
OK


CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.


RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
\Gtk-Message: 14:03:18.014: Failed to load module "canberra-gtk-module"
 

RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK


RE-CHECKING DEPENDENCIES
------------------------
/Gtk-Message: 14:03:21.348: Failed to load module "canberra-gtk-module"
OK


PRE-BUILD COMMANDS
------------------
OK


BUILD AND PACKAGE
-----------------
cmnd:make dist
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --disable-network-build --disable-scan-build --disable-fax-build --disable-dbus-build --disable-qt4 --disable-qt5 --enable-class-driver --enable-doc-build --disable-policykit --disable-libusb01_build --disable-udev_sysfs_rules --enable-hpcups-install --disable-hpijs-install --disable-foomatic-ppd-install --disable-foomatic-drv-install --disable-cups-ppd-install --enable-cups-drv-install'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make dist'
Please wait, this may take several minutes...
Command completed successfully.


Package created successfully.

The package file is placed in the directory from where the '.run' file has been executed
For Eg: If the hplip-x.xx.xx.run file is executed from /home/user/, the package file will be placed in /home/user/hplip-x.xx.xx.internal/ path with file extension of .tar


POST-BUILD COMMANDS
-------------------
warning: CUPSEXT could not be loaded. Please check HPLIP installation.

Je pense que je vais renoncer à l'installation du scanner, mais mon souci c'est que je n'ai plus la fonction impression !

Hors ligne

#27 Le 12/06/2021, à 14:21

xubu1957

Re : [Résolu] installation hplip pour HP Desket Plus 4100

Bonjour,

Pourrait-on avoir :

cat /etc/lsb-release && uname -i && groups && lsusb

?

pour comparer avec ce modèle [ Résolu] HP DeskJet Plus 4122 - pas de scan avec Ubuntu 20.04.1 LTS


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

En ligne

#28 Le 12/06/2021, à 14:23

Mita

Re : [Résolu] installation hplip pour HP Desket Plus 4100

cat /etc/lsb-release && uname -i && groups && lsusb
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
x86_64
papoug adm cdrom sudo dip plugdev lpadmin sambashare
Bus 002 Device 002: ID 03f0:1953 HP, Inc DeskJet Plus 4100 series
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 003: ID 413c:3016 Dell Computer Corp. Optical 5-Button Wheel Mouse
Bus 008 Device 002: ID 062a:4180 MosArt Semiconductor Corp. 2.4G INPUT DEVICE
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 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:2107 Dell Computer Corp. Dell USB Entry Keyboard
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Hors ligne

#29 Le 12/06/2021, à 14:27

xubu1957

Re : [Résolu] installation hplip pour HP Desket Plus 4100

ID 03f0:1953 HP, Inc DeskJet Plus 4100 series

ID Vendor et Model sont identiques, à l'imprimante de JLP 20.04.1 LTS.

ID 03f0:1953 HP, Inc

J'espère qu'ylag va proposer une solution, ou alors que grigouille vienne sur le fil.

Dernière modification par xubu1957 (Le 12/06/2021, à 14:28)


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

En ligne

#30 Le 12/06/2021, à 14:33

grigouille

Re : [Résolu] installation hplip pour HP Desket Plus 4100

Pourquoi tu prends l'option 'c'= Class Drivers ? Tu t'y connais ?

Je te suggère de choisir les options par défaut (avec *). Relis la doc hplip.


Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#31 Le 12/06/2021, à 14:55

ylag

Re : [Résolu] installation hplip pour HP Desket Plus 4100

Bonjour,

grigouille a écrit :

Pourquoi tu prends l'option 'c'= Class Drivers ? Tu t'y connais ?

Je te suggère de choisir les options par défaut (avec *). Relis la doc hplip.

+1


À mon avis, il faut seulement choisir le mode d'installation «custom» : Please choose the installation mode (a=automatic*, c=custom, q=quit) : c
Prendre ensuite les options par défauts, marquées « * » pour les autres.
Vraiment désolé de ne pas avoir été clair à ce sujet dans mes messages précédents (merci @grigouille...).

Tu sembles avoir créé une archive tar contenant (peut-être ?) un paquet *.deb dans le répertoire où tu as lancé le .run :

Package created successfully.

The package file is placed in the directory from where the '.run' file has been executed
For Eg: If the hplip-x.xx.xx.run file is executed from /home/user/, the package file will be placed in /home/user/hplip-x.xx.xx.internal/ path with file extension of .tar

...faudrait peut-être extraire l'archive et lancer l'installation de cet éventuel paquet avec une commande du genre de :

sudo dpkg -i nom-du-paquet-créé.deb

?

Sinon, sous réserve de ce qu'en pense @grigouille, faudrait retenter l'installation du *.run en mode custom avec les autres options par défaut ?

Par contre, il y a encore le message d'erreur à la fin : « warning: CUPSEXT could not be loaded. Please check HPLIP installation. » sad

A+

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

Hors ligne

#32 Le 12/06/2021, à 14:58

ylag

Re : [Résolu] installation hplip pour HP Desket Plus 4100

xubu1957 a écrit :

ID Vendor et Model sont identiques, à l'imprimante de JLP 20.04.1 LTS.

Là, je ne sais quoi en penser.

A+

Hors ligne

#33 Le 12/06/2021, à 15:05

xubu1957

Re : [Résolu] installation hplip pour HP Desket Plus 4100

@ylag

Je pense que sous le capot, c'est la même machine, ce n'est pas possible de se servir de la procédure du fil précédent ?


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

En ligne

#34 Le 12/06/2021, à 15:10

ylag

Re : [Résolu] installation hplip pour HP Desket Plus 4100

@xubu1957 :

Bonjour!

Je pense que sous le capot, c'est la même machine, ce n'est pas possible de se servir de la procédure du fil précédent ?

Moi pas savoir, désolé... hmm

A+

Hors ligne

#35 Le 12/06/2021, à 15:21

xubu1957

Re : [Résolu] installation hplip pour HP Desket Plus 4100


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

En ligne

#36 Le 12/06/2021, à 15:29

Mita

Re : [Résolu] installation hplip pour HP Desket Plus 4100

Vous avez compris, je suis vraiment un néophyte. J'ai refait l'installation en prenant les options par défaut

sh hplip-3.21.4.run
Creating directory hplip-3.21.4
Verifying archive integrity... All good.
Uncompressing HPLIP 3.21.4 Self Extracting Archive............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

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

Installer log saved in: hplip-install_Sat-12-Jun-2021_14:47:17.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
\Gtk-Message: 14:47:27.954: Failed to load module "canberra-gtk-module"
 

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : *
error: Please enter 'a', 'c', 'q' or press <enter> for the default of 'a'.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a


INTRODUCTION
------------
This installer will install HPLIP version 3.21.4 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 20.04.

Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
Please enter the sudoer (papoug)'s password: 
 

INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information.  Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive.

Please read the installation notes. Press <enter> to continue or 'q' to quit: 


SECURITY PACKAGES
-----------------
AppArmor is installed. 
AppArmor protects the application from external intrusion attempts making the application secure

Would you like to have this installer install the hplip specific policy/profile (y=yes*, n=no, q=quit) ? y


RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp
sudo apt-get remove libhpmud0 libsane-hpaio printer-driver-postscript-hp ( hp_libs_remove step 1)
OK


MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name         Component            Required/Optional   
python3-devel        base                 REQUIRED            
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: python3-devel (Python devel - Python development files)


CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.


RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes python3-dev'
Please wait, this may take several minutes...
\Gtk-Message: 14:49:56.714: Failed to load module "canberra-gtk-module"
HPLIP-3.21.4 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)?    :i
Starting uninstallation...
HPLIP uninstallation is completed


RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK


RE-CHECKING DEPENDENCIES
------------------------
|Gtk-Message: 14:59:06.669: Failed to load module "canberra-gtk-module"
OK


RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python3-pip (Scanjet-depend step 1)
sudo pip3 install --upgrade pip (Scanjet-depend step 2)
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip3 install tesserocr (Scanjet-depend step 6)
sudo -H pip3 install opencv-python (Scanjet-depend step 7)
sudo -H pip3 install PyPDF2 (Scanjet-depend step 8)
sudo -H pip3 install imutils (Scanjet-depend step 9)
sudo -H pip3 install ocrmypdf (Scanjet-depend step 10)
sudo -H pip3 install scikit-image (Scanjet-depend step 11)
sudo -H pip3 install scipy (Scanjet-depend step 12)
sudo apt-get install --assume-yes qpdf (Scanjet-depend step 13)
OK


PRE-BUILD COMMANDS
------------------
OK


BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-network-build --enable-scan-build --enable-fax-build --enable-dbus-build --disable-qt4 --enable-qt5 --disable-class-driver --enable-doc-build --disable-policykit --disable-libusb01_build --disable-udev_sysfs_rules --enable-hpcups-install --disable-hpijs-install --disable-foomatic-ppd-install --disable-foomatic-drv-install --disable-cups-ppd-install --enable-cups-drv-install --enable-apparmor_build'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make'
Please wait, this may take several minutes...
Command completed successfully.

Running 'sudo make install'
Please wait, this may take several minutes...
Command completed successfully.


Build complete.



POST-BUILD COMMANDS
-------------------
 

CLOSE HP_SYSTRAY
----------------
Sending close message to hp-systray (if it is currently running)...
OK


HPLIP UPDATE NOTIFICATION
-------------------------
Do you want to check for HPLIP updates?. (y=yes*, n=no) : y


RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in   
when you started this installer, you will need to either restart your PC or     
unplug and re-plug in your printer (USB cable only). If you choose to restart,  
run this command after restarting: hp-setup (Note: If you are using a parallel  
connection, you will have to restart your PC. If you are using network/wireless,
you can ignore and continue).                                                   

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : p
Please unplug and re-plugin your printer now.  Press <enter> to continue or 'q' to quit: 


PRINTER SETUP
-------------
Please make sure your printer is connected and powered on at this time.
Do you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) : u

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.

Searching... (bus=usb, search=(None), desc=0)
 
Done.


RE-STARTING HP_SYSTRAY
----------------------

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

papoug@papoug-OptiPlex-780:~$ 
HP Linux Imaging and Printing System (ver. 3.21.4)
Diagnose Plugin Utility ver. 1.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.


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.

Checking for network connection...
Downloading plug-in from: 
Receiving digital keys: /usr/bin/gpg --homedir /home/papoug/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.21.4 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.21.4)
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.21.4
Installed HPLIP version: 3.21.4
Number of files to install: 64

note: Using PyQt5
 
Done.
 Plug-in installation successful 

Done.

Done.

Tout fonctionne les impressions et le scan. Merci à vous tous de vos conseils ............. et de votre patience
Mais je vous promets je vais faire des efforts pour mieux comprendre les  process si je dois à nouveau vous solliciter. L'impimante est neuve, elle fera bien quelques années:

Hors ligne

#37 Le 12/06/2021, à 15:31

ylag

Re : [Résolu] installation hplip pour HP Desket Plus 4100

xubu1957 a écrit :

Ils semblent aussi avoir eu à installer hplip en version supérieure à la 3.20.3 des dépôts réguliers de la 20.04 ?
Si c'est le cas, il faudra quand même arriver à installer hplip via l'archive *.run

A+

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

Hors ligne

#38 Le 12/06/2021, à 15:33

xubu1957

Re : [Résolu] installation hplip pour HP Desket Plus 4100

Rajoute aussi dans le titre, le nom du modèle : HP Desket Plus 4100.

Merci.

_ _ _

@ylag

Merci.    wink

Dernière modification par xubu1957 (Le 12/06/2021, à 15:35)


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

En ligne

#39 Le 12/06/2021, à 15:34

ylag

Re : [Résolu] installation hplip pour HP Desket Plus 4100

@Mita :

Bonjour!

Tout fonctionne les impressions et le scan. Merci à vous tous de vos conseils ............. et de votre patience

smile !!

Très content que ça marche enfin pour toi smile

A+

Hors ligne