#26 Le 29/03/2021, à 09:51
- JojoL
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Je viens de supprimer toutes les imprimantes dans "Paramètres".
J'ai refait toute l'installation de Hplip 3.20.5 en custom.
$ sh hplip-3.20.5.run
Creating directory hplip-3.20.5
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.5 Self Extracting Archivehplip-3.20.5.run: 369: cd: can't cd to hplip-3.20.5
....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................hplip-3.20.5.run: 371: cd: can't cd to hplip-3.20.5
chown: impossible de lire le répertoire './hplip-3.21.2': Permission non accordée
chown: impossible de lire le répertoire './hplip-3.20.5': Permission non accordée
chgrp: impossible de lire le répertoire './hplip-3.21.2': Permission non accordée
chgrp: impossible de lire le répertoire './hplip-3.20.5': Permission non accordée
hplip-3.20.5.run: 382: cd: can't cd to hplip-3.20.5
HP Linux Imaging and Printing System (ver. 3.20.5)
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_Mon-29-Mar-2021_09:32:50.log
\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
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.20.5 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)? : d
Initializing. Please wait...
SELECT HPLIP OPTIONS
--------------------
You can select which HPLIP options to enable. Some options require extra dependencies.
Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'Graphical User Interfaces (Qt5)' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ? y
Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ? y
ENTER USER PASSWORD
-------------------
Please enter the sudoer (johan)'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
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
pil scan OPTIONAL
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.
INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))
warning: This installer cannot install 'pil' for your distro/OS and/or version.
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)
warning: An error occurred running 'sudo apt-get update'
sudo apt-get update (Pre-depend step 3)
OK
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
HPLIP-3.20.5 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
------------------------
warning: An optional dependency 'pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))' is still missing.
warning: Some features may not function as expected.
RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python-pip (Scanjet-depend step 1)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo pip2 install --upgrade pip (Scanjet-depend step 2)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
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 pip2 install tesserocr (Scanjet-depend step 6)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo apt-get install --assume-yes tesseract-ocr-all (Scanjet-depend step 7)
sudo apt-get install --assume-yes libzbar-dev (Scanjet-depend step 8)
sudo apt-get install --assume-yes python-zbar (Scanjet-depend step 9)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install opencv-python (Scanjet-depend step 10)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install PyPDF2 (Scanjet-depend step 11)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install imutils (Scanjet-depend step 12)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install pypdfocr (Scanjet-depend step 13)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install scikit-image (Scanjet-depend step 14)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
sudo -H pip2 install scipy (Scanjet-depend step 15)
warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
OK
READY TO BUILD AND INSTALL
--------------------------
Ready to perform build and install. Press <enter> to continue or 'q' to quit:
PRE-BUILD COMMANDS
------------------
OK
BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --disable-qt4 --disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-class-driver --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --disable-fax-build --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
-------------
Would you like to setup a printer now (y=yes*, n=no, q=quit) ? y
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) : i
Running 'hp-setup -i' command....
HP Linux Imaging and Printing System (ver. 3.20.5)
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.)
--------------------------------
| 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/ENVY_6000_series?serial=TH0CQ4M1B8
---------------------
| PRINT QUEUE SETUP |
---------------------
Please enter a name for this print queue (m=use model name:'ENVY_6000'*, q=quit) ?m
Using queue name: ENVY_6000
Locating PPD file... Please wait.
Found PPD file: drv:///hp/hpcups.drv/hp-envy_6000_series.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) ? y
Enter a location description for this printer (q=quit) ?q
OK, done.
RE-STARTING HP_SYSTRAY
----------------------
HP Linux Imaging and Printing System (ver. 3.20.5)
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.
warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
Une seule imprimante apparait maintenant dans "Paramètres" " imprimantes", mais toujours impossible d'imprimer plusieurs copies.
Comment voir avec quel pilote elle a été paramétrée ?
Lorsque je vais sur "Paramètres" "Imprimantes" "Informations sur l'imprimante" "Rechercher des pilotes", il indique "Aucun pilote adéquat trouvé".
Dernière modification par JojoL (Le 29/03/2021, à 10:00)
Hors ligne
#27 Le 29/03/2021, à 10:12
- grigouille
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Pour supprimer les imprimantes :
hp-setup -ir
As-tu essayé d'imprimer plusieurs copies avec une éditeur de texte genre mousepad ou gedit.
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#28 Le 29/03/2021, à 10:30
- JojoL
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Il met se message :
$ hp-setup -ir
HP Linux Imaging and Printing System (ver. 3.20.5)
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
Pareil avec Gedit, une seule copie.
Hors ligne
#29 Le 29/03/2021, à 10:39
- xubu1957
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Bonjour,
Vu :
chown: impossible de lire le répertoire './hplip-3.21.2': Permission non accordée
chown: impossible de lire le répertoire './hplip-3.20.5': Permission non accordée
chgrp: impossible de lire le répertoire './hplip-3.21.2': Permission non accordée
chgrp: impossible de lire le répertoire './hplip-3.20.5': Permission non accordée
Tente cette commande, pour les permissions :
Merci de montrer :
echo -e "\n\tNombre d'éléments de /home/moi ne m'appartenant pas :"; find ~ \( ! -user $USER -o ! -group $USER \) | wc -l
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
#30 Le 29/03/2021, à 10:43
- JojoL
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Voilà ce que ça donne :
$ echo -e "\n\tNombre d'éléments de /home/moi ne m'appartenant pas :"; find ~ \( ! -user $USER -o ! -group $USER \) | wc -l
Nombre d'éléments de /home/moi ne m'appartenant pas :
find: ‘/home/johan/.cache/dconf’: Permission non accordée
find: ‘/home/johan/.dbus’: Permission non accordée
find: ‘/home/johan/Téléchargements/hplip-3.21.2’: Permission non accordée
find: ‘/home/johan/Téléchargements/hplip-3.20.5’: Permission non accordée
8
Hors ligne
#31 Le 29/03/2021, à 10:47
- xubu1957
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Pour les permissions, tu as dans ce message > les explications de moko138
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
#32 Le 29/03/2021, à 10:59
- JojoL
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Je viens de passer :
$ sudo chown -Rc $USER:$USER /home/$USER
puis :
$ hp-setup -ir
HP Linux Imaging and Printing System (ver. 3.20.5)
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
Il semblerait que le problème persiste.
Hors ligne
#33 Le 29/03/2021, à 12:02
- grigouille
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Cela signifie qu'aucune imprimante HP n'est installée.
Maintenant, il faut installer :
hp-setup -iax
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#34 Le 29/03/2021, à 12:31
- JojoL
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Ok, c'est installé et les impressions en plusieurs copies fonctionnent.
$ hp-setup -iax
HP Linux Imaging and Printing System (ver. 3.20.5)
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/ENVY_6000_series?serial=TH0CQ4M1B8
---------------------
| PRINT QUEUE SETUP |
---------------------
Using queue name: ENVY_6000
Locating PPD file... Please wait.
Found PPD file: drv:///hp/hpcups.drv/hp-envy_6000_series.ppd
Description:
Adding print queue to CUPS:
Device URI: hp:/usb/ENVY_6000_series?serial=TH0CQ4M1B8
Queue name: ENVY_6000
PPD file: drv:///hp/hpcups.drv/hp-envy_6000_series.ppd
Location:
Information: ENVY 6000 Device (Automatically setup by HPLIP)
---------------------
| PRINTER TEST PAGE |
---------------------
Done.
Mais pourquoi y a-t-il toujours plusieurs imprimantes HP dans "Paramètres" "Imprimantes" ?
Hors ligne
#35 Le 29/03/2021, à 13:07
- Compte supprimé
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Veux-tu donner le retour de la commande
dpkg -s ippusbxd | grep Status
#36 Le 29/03/2021, à 13:26
- JojoL
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
$ dpkg -s ippusbxd | grep Status
Status: deinstall ok config-files
Est-ce que le fait de voir 2 imprimantes HP dans "Paramètres" vient du fait qu'il y a l'imprimante USB et l'imprimante réseau ?
Dernière modification par JojoL (Le 29/03/2021, à 13:40)
Hors ligne
#37 Le 29/03/2021, à 14:02
- Compte supprimé
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Pour en voir moins tu pourrais aussi arrêter le wifi et le wifi direct de l'imprimante.
#38 Le 29/03/2021, à 14:24
- grigouille
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
Ok, c'est installé et les impressions en plusieurs copies fonctionnent.
Bonheur
Mais pourquoi y a-t-il toujours plusieurs imprimantes HP dans "Paramètres" "Imprimantes" ?
Aucune idée.
Par contre, je vais rajouter dans la doc qu'il ne faut pas installer le fax pour l'installation "custom".
Dernière modification par grigouille (Le 29/03/2021, à 14:24)
Debian (xfce) 12
HP LaserJet M1132 MFP
Hors ligne
#39 Le 29/03/2021, à 14:25
- JojoL
Re : Résolu - HP envy 6022 - Impression de plusieurs copies impossible
OK, tout est bon alors !
Mon problème de copies multiples est résolu.
Merci à tous pour votre aide précieuse .
Hors ligne