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 29/11/2023, à 10:36

iznobe

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Bonjour , montre

dpkg -l  hp*
dpkg -l  sane*
dpkg -l ipp-usb*
dpkg -l cups
scanimage --version

Question annexe , qui me semble t il n ' a pas étée posée , ton imprimante est reliée en USB à l' ordi ou bien c ' est via le reseau ?


Dommage de ne pas directement avoir donné les commandes que tu as passé et leurs retours , on est obligé de demander un nouvel etat des lieux du coup .

Dernière modification par iznobe (Le 29/11/2023, à 10:43)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#27 Le 29/11/2023, à 11:38

PPdM

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Tu utilises simple scan ou Xsane, chez moi simple scan ne fonctionne pas ou très mal.


La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera

En ligne

#28 Le 01/12/2023, à 22:52

fred78110

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

bonjour,

j'ai retrouvé la version d'hp installé sur mon pc :

HPLIP-3.21.12 version was installed on 04-11-2023.

le scanner fonctionne toujours pas

fred@fred-H55N-USB3:~$ dpkg -l  hp*

dpkg-query: aucun paquet ne correspond à hp-check.log

fred@fred-H55N-USB3:~$ dpkg -l  sane*

Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom            Version         Architecture Description
+++-==============-===============-============-========================================================
ii  sane-airscan   0.99.27-1build1 amd64        SANE backend for AirScan (eSCL) and WSD document scanner
ii  sane-utils     1.1.1-5         amd64        API library for scanners -- utilities

fred@fred-H55N-USB3:~$ dpkg -l ipp-usb*

Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom            Version                 Architecture Description
+++-==============-=======================-============-=======================================
ii  ipp-usb        0.9.20-1ubuntu0.22.04.1 amd64        Daemon for IPP over USB printer support

fred@fred-H55N-USB3:~$ dpkg -l cups

Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom            Version             Architecture Description
+++-==============-===================-============-===================================================================
ii  cups           2.4.1op1-1ubuntu4.7 amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface

fred@fred-H55N-USB3:~$ scanimage --version

scanimage (sane-backends) 1.1.1-debian; backend version 1.1.1

fred@fred-H55N-USB3:~$ 

mon imprimante est relié au PC via cable usb !


fred@fred-H55N-USB3:~$ sudo apt clean
sudo apt update
sudo apt full-upgrade
sudo apt autoremove --purge
[sudo] password for fred: 
Atteint :1 http://fr.archive.ubuntu.com/ubuntu jammy InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu jammy-updates InRelease                                                                                                                                         
Atteint :3 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                                                                                          
Atteint :4 http://fr.archive.ubuntu.com/ubuntu jammy-backports InRelease                                                                                                                                      
Atteint :5 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                                            
Atteint :6 https://packages.microsoft.com/repos/edge stable InRelease                                                                                                       
Atteint :7 https://ppa.launchpadcontent.net/mozillacorp/mozillavpn/ubuntu jammy InRelease
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Tous les paquets sont à jour.
W: https://packages.microsoft.com/repos/edge/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Calcul de la mise à jour... Fait
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  vlc-plugin-qt libvlc5 vlc-data libvlccore9 vlc vlc-bin vlc-l10n libopenexr25
  libpostproc55 vlc-plugin-samba libavcodec58 vlc-plugin-notify libavutil56
  libswscale5 libeditorconfig0 vlc-plugin-access-extra vlc-plugin-skins2
  vlc-plugin-video-splitter libswresample3 vlc-plugin-video-output
  libavformat58 libvlc-bin vlc-plugin-base vlc-plugin-visualization
  libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
fred@fred-H55N-USB3:~$ 
fred@fred-H55N-USB3:~$ sudo apt install hplip
[sudo] password for fred: 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
hplip est déjà la version la plus récente (3.21.12+dfsg0-1).
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
fred@fred-H55N-USB3:~$ 

Dernière modification par fred78110 (Le 01/12/2023, à 23:06)

Hors ligne

#29 Le 01/12/2023, à 23:07

fred78110

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

PPdM a écrit :

Tu utilises simple scan ou Xsane, chez moi simple scan ne fonctionne pas ou très mal.

salut

j'utilise document scanner

Hors ligne

#30 Le 02/12/2023, à 09:43

PPdM

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

C'est quoi ?
Installe Xsane et testes.

Dernière modification par PPdM (Le 02/12/2023, à 09:44)


La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera

En ligne

#31 Le 02/12/2023, à 10:46

iznobe

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Document scanner , c ' est l ' appli HP je pense . je ne m' en sers pas souvent roll


En théorie , si je me trompe pas , tu peux lancer un scan via la commande suivante :

hp-scan -i

je connais pas tres bien kubuntu 22.04 , mais faudrait comparer avec une autre install voir si il ne manque pas des paquets par rapport aux retours du message #28 .
et j' ai oublié une " * " pour cups , peux tu donner :

dpkg -l cups*

Dernière modification par iznobe (Le 02/12/2023, à 10:50)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#32 Le 02/12/2023, à 21:15

fred78110

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

bonjour

fred@fred-H55N-USB3:~$ dpkg -l cups*
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                       Version             Architecture Description
+++-=========================-===================-============-===================================================================
ii  cups                      2.4.1op1-1ubuntu4.7 amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed              1.28.15-0ubuntu1.2  amd64        OpenPrinting CUPS Filters - cups-browsed
ii  cups-bsd                  2.4.1op1-1ubuntu4.7 amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client               2.4.1op1-1ubuntu4.7 amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common               2.4.1op1-1ubuntu4.7 all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers         2.4.1op1-1ubuntu4.7 amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon               2.4.1op1-1ubuntu4.7 amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters              1.28.15-0ubuntu1.2  amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers 1.28.15-0ubuntu1.2  amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils            2.4.1op1-1ubuntu4.7 amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
un  cups-pdf                  <aucune>            <aucune>     (aucune description n'est disponible)
ii  cups-pk-helper            0.2.6-1ubuntu5      amd64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                 2.4.1op1-1ubuntu4.7 amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common        2.4.1op1-1ubuntu4.7 all          Common UNIX Printing System(tm) - server common files
fred@fred-H55N-USB3:~$ 

Hors ligne

#33 Le 02/12/2023, à 21:21

fred78110

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

PPdM a écrit :

C'est quoi ?
Installe Xsane et testes.

bonjour

xsane ne fonctionne pas, j'ai le message suivant :

erreur d'ouverture du périphérique hpaio:/usb/deskjet_2700_series?serial=CN37efV2SR
erreur d'entrée sortie sur le périphérique

Hors ligne

#34 Le 02/12/2023, à 21:24

fred78110

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

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/DeskJet_2700_series?serial=CN37EFV2SR
Opening connection to device...
error: SANE: Error during device I/O (code=9)
fred@fred-H55N-USB3:~$ 

Hors ligne

#35 Le 02/12/2023, à 21:29

xubu1957

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Bonjour,

Vu Scan impossible HP deskjet

Il faudrait fournir les infos, pour le scanner > Tuto : les Informations utiles à donner lorsque j'ai un problème.

sylvain3800 a écrit :


C ] les infos a donner si ton problème est un problème de scanner .

Bon des fois  c'est le scanner qui veux pas scanner alors dans ce cas là, c'est ces commandes qui sont intéressantes pour les aidants
quel que soit la marque du scanner 

dpkg -l | grep sane
sudo sane-find-scanner -q
scanimage -L
ls /etc/sane.d/
cat /etc/sane.d/dll.conf
ls  /lib/udev/rules.d | grep libsane

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 02/12/2023, à 22:11

grigouille

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Désinstalle l'imprimante

hp-setup -ir

Installe l'imprimante

hp-setup -iax

Installe le plugin

hp-plugin -i

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#37 Le 03/12/2023, à 08:56

PPdM

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

peux-tu mettre cette imprimante en réseau? les USB bug souvent


La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera

En ligne

#38 Le 03/12/2023, à 12:19

fred78110

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

bonjour,

c'est le retour sans l'installation de Xsane

il faut que je reinstalle xsane avant de passer les commandes ci-dessous ?

fred@fred-H55N-USB3:~$ dpkg -l | grep sane
ii  libkf5sane-data                               21.12.3-0ubuntu1                            all          scanner library (data files)
ii  libkf5sane5:amd64                             21.12.3-0ubuntu1                            amd64        scanner library (runtime)
ii  libsane-common                                1.1.1-5                                     all          API library for scanners -- documentation and support files
ii  libsane-dev:amd64                             1.1.1-5                                     amd64        API development library for scanners [development files]
ii  libsane-hpaio:amd64                           3.21.12+dfsg0-1                             amd64        HP SANE backend for multi-function peripherals
ii  libsane1:amd64                                1.1.1-5                                     amd64        API library for scanners
ii  sane-airscan                                  0.99.27-1build1                             amd64        SANE backend for AirScan (eSCL) and WSD document scanner
ii  sane-utils                                    1.1.1-5                                     amd64        API library for scanners -- utilities
ii  xsane-common                                  0.999-11ubuntu1                             all          xsane architecture independent files
fred@fred-H55N-USB3:~$ sudo sane-find-scanner -q
[sudo] password for fred: 
found possible USB scanner (vendor=0x0bda [Realtek], product=0xb812 [802.11ac NIC]) at libusb:002:002
found possible USB scanner (vendor=0x03f0 [HP], product=0x1853 [DeskJet 2700 series]) at libusb:001:004
fred@fred-H55N-USB3:~$ scanimage -L

device `hpaio:/usb/DeskJet_2700_series?serial=CN37EFV2SR' is a Hewlett-Packard DeskJet_2700_series all-in-one
fred@fred-H55N-USB3:~$ 
fred@fred-H55N-USB3:~$ ls /etc/sane.d/
abaton.conf          avision.conf       canon_pp.conf   dc240.conf          epjitsu.conf  genesys.conf  hp.conf        kvs1025.conf     microtek2.conf   net.conf      plustek_pp.conf  sceptre.conf   stv680.conf    u12.conf
agfafocus.conf       bh.conf            cardscan.conf   dc25.conf           epson2.conf   gphoto2.conf  hpsj5s.conf    leo.conf         microtek.conf    p5.conf       qcam.conf        sharp.conf     tamarack.conf  umax1220u.conf
airscan.conf         canon630u.conf     coolscan2.conf  dell1600n_net.conf  epson.conf    gt68xx.conf   hs2p.conf      lexmark.conf     mustek.conf      pie.conf      ricoh.conf       sm3840.conf    teco1.conf     umax.conf
apple.conf           canon.conf         coolscan3.conf  dll.conf            epsonds.conf  hp3900.conf   ibm.conf       ma1509.conf      mustek_pp.conf   pieusb.conf   rts8891.conf     snapscan.conf  teco2.conf     umax_pp.conf
artec.conf           canon_dr.conf      coolscan.conf   dll.d               escl.conf     hp4200.conf   kodakaio.conf  magicolor.conf   mustek_usb.conf  pixma.conf    s9036.conf       sp15c.conf     teco3.conf     xerox_mfp.conf
artec_eplus48u.conf  canon_lide70.conf  dc210.conf      dmc.conf            fujitsu.conf  hp5400.conf   kodak.conf     matsushita.conf  nec.conf         plustek.conf  saned.conf       st400.conf     test.conf
fred@fred-H55N-USB3:~$ cat /etc/sane.d/dll.conf
# dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under the dll.d/
# directory -- third party backends can drop their configuration file in
# this in this directory, named after the backend.
#
# 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) for details.
net
abaton
agfafocus
apple
artec
artec_eplus48u
as6e
avision
bh
canon
canon630u
canon_dr
canon_lide70
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc210
#dc240
#dc25
dell1600n_net
dmc
epjitsu
#epson
epson2
epsonds
escl
fujitsu
genesys
#gphoto2
gt68xx
hp
hp3500
hp3900
hp4200
hp5400
hp5590
hpljm1005
hpsj5s
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
kvs40xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pieusb
pint
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
ricoh2
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
umax1220u
#umax_pp
v4l
xerox_mfp
hpaio
fred@fred-H55N-USB3:~$ ls  /lib/udev/rules.d | grep libsane
60-libsane1.rules
99-libsane1.rules
fred@fred-H55N-USB3:~$ hp-setup -ir

HP Linux Imaging and Printing System (ver. 3.21.12)
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_DeskJet_2700_series : hp:/usb/DeskJet_2700_series?serial=CN37EFV2SR' Queue
Successfully deleted HP_DeskJet_2700_series Print/Fax queue
fred@fred-H55N-USB3:~$ hp-setup -iax

HP Linux Imaging and Printing System (ver. 3.21.12)
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/DeskJet_2700_series?serial=CN37EFV2SR



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

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

Found PPD file: hplip:0/ppd/hplip/HP/hp-deskjet_2700_series.ppd
Description: 

Adding print queue to CUPS:
Device URI: hp:/usb/DeskJet_2700_series?serial=CN37EFV2SR
Queue name: DeskJet_2700
PPD file: hplip:0/ppd/hplip/HP/hp-deskjet_2700_series.ppd
Location: 
Information: DeskJet 2700 Device (Automatically setup by HPLIP)


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


Done.
fred@fred-H55N-USB3:~$ hp-plugin -i

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

  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...
error: Network connection not detected.
fred@fred-H55N-USB3:~$ 

Dernière modification par fred78110 (Le 03/12/2023, à 12:23)

Hors ligne

#39 Le 03/12/2023, à 12:35

PPdM

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Checking for network connection...
error: Network connection not detected.

Là, on a un souci


La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera

En ligne

#40 Le 03/12/2023, à 12:47

grigouille

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Donne

hp-plugin -gi

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#41 Le 03/12/2023, à 13:58

iznobe

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Bonjour , en depannage , si tu as un tel android tu peux scanner avec l' application HP SMART


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#42 Le 03/12/2023, à 14:23

iznobe

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Alors , j ' ai une HP 3760 sur ma budgie 22.04 , c' est quasiement la meme imprimante .
voici les retours de bases a fournir comme demandé par @xubu1957 , histoire de pouvoir comparer avec ce que tu as chez toi :

iznobe@iznobe-PC:~$ dpkg -l | grep sane
ii  libsane-common                         1.1.1-5                                    all          API library for scanners -- documentation and support files
ii  libsane-dev:amd64                      1.1.1-5                                    amd64        API development library for scanners [development files]
ii  libsane-hpaio:amd64                    3.21.12+dfsg0-1                            amd64        HP SANE backend for multi-function peripherals
ii  libsane1:amd64                         1.1.1-5                                    amd64        API library for scanners
ii  sane-utils                             1.1.1-5                                    amd64        API library for scanners -- utilities
ii  xsane                                  0.999-11ubuntu1                            amd64        featureful graphical frontend for SANE (Scanner Access Now Easy)
ii  xsane-common                           0.999-11ubuntu1                            all          xsane architecture independent files
iznobe@iznobe-PC:~$ sudo sane-find-scanner -q
[sudo] Mot de passe de iznobe : 
iznobe@iznobe-PC:~$ scanimage -L
device `escl:https://192.168.1.112:443' is a HP DeskJet 3700 series [139F3C] adf scanner
device `hpaio:/net/DeskJet_3700_series?ip=192.168.1.112' is a Hewlett-Packard DeskJet_3700_series all-in-one
iznobe@iznobe-PC:~$ ls /etc/sane.d/
abaton.conf          avision.conf    canon_lide70.conf  coolscan.conf       dll.conf      epson2.conf   genesys.conf  hp5400.conf  kodakaio.conf  ma1509.conf      mustek.conf      p5.conf       plustek_pp.conf  saned.conf     sp15c.conf     teco2.conf      umax.conf
agfafocus.conf       bh.conf         canon_pp.conf      dc210.conf          dll.conf.tmp  epson.conf    gphoto2.conf  hp.conf      kodak.conf     magicolor.conf   mustek_pp.conf   pie.conf      qcam.conf        sceptre.conf   st400.conf     teco3.conf      umax_pp.conf
apple.conf           canon630u.conf  cardscan.conf      dc240.conf          dll.d         epsonds.conf  gt68xx.conf   hpsj5s.conf  kvs1025.conf   matsushita.conf  mustek_usb.conf  pieusb.conf   ricoh.conf       sharp.conf     stv680.conf    test.conf       xerox_mfp.conf
artec.conf           canon.conf      coolscan2.conf     dc25.conf           dmc.conf      escl.conf     hp3900.conf   hs2p.conf    leo.conf       microtek2.conf   nec.conf         pixma.conf    rts8891.conf     sm3840.conf    tamarack.conf  u12.conf
artec_eplus48u.conf  canon_dr.conf   coolscan3.conf     dell1600n_net.conf  epjitsu.conf  fujitsu.conf  hp4200.conf   ibm.conf     lexmark.conf   microtek.conf    net.conf         plustek.conf  s9036.conf       snapscan.conf  teco1.conf     umax1220u.conf
iznobe@iznobe-PC:~$ cat /etc/sane.d/dll.conf
# dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under the dll.d/
# directory -- third party backends can drop their configuration file in
# this in this directory, named after the backend.
#
# 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) for details.
net
abaton
agfafocus
apple
artec
artec_eplus48u
as6e
avision
bh
canon
canon630u
canon_dr
canon_lide70
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc210
#dc240
#dc25
dell1600n_net
dmc
epjitsu
#epson
epson2
epsonds
escl
fujitsu
genesys
#gphoto2
gt68xx
hp
hp3500
hp3900
hp4200
hp5400
hp5590
hpljm1005
hpsj5s
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
kvs40xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pieusb
pint
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
ricoh2
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
umax1220u
#umax_pp
v4l
xerox_mfp


iznobe@iznobe-PC:~$ ls  /lib/udev/rules.d | grep libsane
60-libsane1.rules
99-libsane1.rules
iznobe@iznobe-PC:~$

je precise , que le scanner fonctionne . l ' imprimante est en reseau sur l' ip 192.168.1.112 ( IP FIXE bien sur , pour ne pas etre embeté en cas de reboot de la box ou d' ajout de peripherique reseau ) .

j ' ajoute le retour de quelques commandes de base :
un scan realisé avec succés avec xsane en CLI mode texte gray color :

iznobe@iznobe-PC:~$ xsane

(xsane:4810): Gdk-CRITICAL **: 13:26:50.402: IA__gdk_drawable_unref: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(xsane:4810): Gdk-CRITICAL **: 13:26:50.402: IA__gdk_drawable_unref: assertion 'GDK_IS_DRAWABLE (drawable)' failed
iznobe@iznobe-PC:~$

et

iznobe@iznobe-PC:~$ apt policy hplip*
hplip-ppds:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
hplip-doc:
  Installé : (aucun)
  Candidat : 3.21.12+dfsg0-1
 Table de version :
     3.21.12+dfsg0-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main i386 Packages
hplip-gui:
  Installé : 3.21.12+dfsg0-1
  Candidat : 3.21.12+dfsg0-1
 Table de version :
 *** 3.21.12+dfsg0-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
        100 /var/lib/dpkg/status
hplip:
  Installé : 3.21.12+dfsg0-1
  Candidat : 3.21.12+dfsg0-1
 Table de version :
 *** 3.21.12+dfsg0-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
hplip-cups:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
hplip-data:
  Installé : 3.21.12+dfsg0-1
  Candidat : 3.21.12+dfsg0-1
 Table de version :
 *** 3.21.12+dfsg0-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main i386 Packages
        100 /var/lib/dpkg/status
iznobe@iznobe-PC:~$

et pour finir ( sans document a scanner dedans le scanner ) :

iznobe@iznobe-PC:~$ hp-scan -i

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


-----------------
| SELECT DEVICE |
-----------------

  Num       Scan device URI                                
  --------  -----------------------------------------------
  0         escl:https://192.168.1.112:443                 
  1*        hpaio:/net/DeskJet_3700_series?ip=192.168.1.112

Enter number 0...1 for device (q=quit, <enter>=default: 1*) ?1
warning: No destinations specified. Adding 'file' destination by default.
Using device hpaio:/net/DeskJet_3700_series?ip=192.168.1.112
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.900009mm, 431.800018mm)
  Width: 215.900009mm
  Height: 431.800018mm
Destination(s): file
Output file: 
warning: File destination enabled with no output file specified.
Setting output format to PDF for ADF mode.
warning: Defaulting to '/home/iznobe/hpscan003.pdf'.

Warming up...
 

Page 1: Scanning...
error: No document(s). Please load documents and try again.
Closing device.
iznobe@iznobe-PC:~$

en esperant que ca puisse aider .

Dernière modification par iznobe (Le 03/12/2023, à 14:36)


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#43 Le 03/12/2023, à 21:36

fred78110

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

grigouille a écrit :

Donne

hp-plugin -gi
fred@fred-H55N-USB3:~$ hp-plugin -gi

HP Linux Imaging and Printing System (ver. 3.21.12)
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.12)
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-plugin[3755]: debug: Locking: /home/fred/.hplip/hp-plugin.lock
hp-plugin[3755]: debug: Unable to open file /var/lib/hp/hplip.state for reading.
hp-plugin[3755]: debug: Unable to open file /var/lib/hp/hplip.state for reading.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


------------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.21.12 |
------------------------------------------

  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...
hp-plugin[3755]: debug: /usr/bin/wget --cache=off --tries=3 --timeout=60 --output-document=- http://www.hp.com --spider -S
hp-plugin[3755]: debug: Spider mode enabled. Check if remote file exists.
--2023-12-03 20:35:14--  http://www.hp.com/
Resolving www.hp.com (www.hp.com)... 2a02:26f0:1b00::5c7b:ec40, 2a02:26f0:1b00::5c7b:ec52, 23.55.48.174, ...
Connecting to www.hp.com (www.hp.com)|2a02:26f0:1b00::5c7b:ec40|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 503 Service Unavailable
  Server: AkamaiGHost
  Mime-Version: 1.0
  Content-Type: text/html
  Content-Length: 177
  Expires: Sun, 03 Dec 2023 19:35:14 GMT
  Date: Sun, 03 Dec 2023 19:35:14 GMT
  Connection: keep-alive
  Set-Cookie: aka_client_code=FR-
  Akamai-GRN: 0.3cec7b5c.1701632114.59eb550d
  Set-Cookie: _abck=460390CA94A5BCD8D281883C7ABDFCED~-1~YAAQPOx7XAHAGOGLAQAAYoAtMQogKWjegItyKjUQptsCPTxUit5IbauESwBylXT/3EtU8WC42l0rmghTakvI5gBk7/t6mx12ba5MoRY0tUbsPfYm3oIwX1qTwTmw+oncxKFzJwJnntT8uXkjmS1CeRNUlBXghqY+flH4kiL3O3uV4LFb8qVK18t/pnEpc2wF4IoZEX8Vb32JD6T2c1BwxnNOBfSBeyUM7XIkz9vaIYi8qkL7BSj4XdXORC/PEknRL88waA4i1FF7BNjaJ9PgsE4i8RqmC6/8uMRcrIPuCJQ/zbWG4/E2w2a5mcKU9Dw8Z2iMYVFbnjRzGgFFTrd/nQ==~-1~-1~-1; Domain=.hp.com; Path=/; Expires=Mon, 02 Dec 2024 19:35:14 GMT; Max-Age=31536000
  Set-Cookie: bm_sz=5D5B6C92DAB744DD921CB375DCB30EFF~YAAQPOx7XALAGOGLAQAAYoAtMRVhNAeIoZA3T9gTJVWh1iFosCcsOP/3pwVyH+hlVTxqTJgfvgloWmcis5a8JjMdTUrCOpqC2xXkt3LhhEKtUzamuZdTVShKpORlClgWK2dnBLd3/0c/feRd6I5VGSVQPKa5jboCP4AuvOg6Phd5wNhzMllwZE1ItBXsIeTrl5ye2M5qc1pbwhvQ5avPtg60/Ba0gTsMhhWTfRtso0rWBV3RMh2WkymnYLsXLag3XalkznKqTh1645kCa+TnA1MpLDdH3nzM6QOOmWViDg==~3491379~3359554; Domain=.hp.com; Path=/; Expires=Sun, 03 Dec 2023 23:35:14 GMT; Max-Age=14400
  Server-Timing: ak_p; desc="1701632114772_1551625276_1508594957_54_12878_229_0_-";dur=1
Remote file does not exist -- broken link!!!


hp-plugin[3755]: debug: wget returned: 8
hp-plugin[3755]: debug: curl not found
hp-plugin[3755]: debug: /usr/bin/ping -c1 -W1 -w10 www.hp.com
hp-plugin[3755]: debug: Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 354, in <module>
    ok = utils.check_network_connection()
  File "/usr/share/hplip/base/utils.py", line 2296, in check_network_connection
    status = check_network_via_ping(ping_server)
  File "/usr/share/hplip/base/utils.py", line 2285, in check_network_via_ping
    status, output = run(cmd)
  File "/usr/share/hplip/base/utils.py", line 1295, in run
    child = pexpect.spawnu(cmd, timeout=timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1755, in __init__
    super(spawnu, self).__init__(*args, **kwargs)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 486, in __init__
    self._spawn(command, args)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 637, in _spawn
    os.execv(self.command, self.args)
PermissionError: [Errno 13] Permission denied
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
PermissionError: [Errno 13] Permission denied: '/var/crash/_usr_share_hplip_plugin.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 354, in <module>
    ok = utils.check_network_connection()
  File "/usr/share/hplip/base/utils.py", line 2296, in check_network_connection
    status = check_network_via_ping(ping_server)
  File "/usr/share/hplip/base/utils.py", line 2285, in check_network_via_ping
    status, output = run(cmd)
  File "/usr/share/hplip/base/utils.py", line 1295, in run
    child = pexpect.spawnu(cmd, timeout=timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1755, in __init__
    super(spawnu, self).__init__(*args, **kwargs)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 486, in __init__
    self._spawn(command, args)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 637, in _spawn
    os.execv(self.command, self.args)
PermissionError: [Errno 13] Permission denied

hp-plugin[3755]: debug: ping returned: 1
error: Network connection not detected.
hp-plugin[3755]: debug: Unlocking: /home/fred/.hplip/hp-plugin.lock
fred@fred-H55N-USB3:~$ 
fred@fred-H55N-USB3:~$ hp-plugin -gi

HP Linux Imaging and Printing System (ver. 3.21.12)
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.12)
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-plugin[3755]: debug: Locking: /home/fred/.hplip/hp-plugin.lock
hp-plugin[3755]: debug: Unable to open file /var/lib/hp/hplip.state for reading.
hp-plugin[3755]: debug: Unable to open file /var/lib/hp/hplip.state for reading.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


------------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.21.12 |
------------------------------------------

  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...
hp-plugin[3755]: debug: /usr/bin/wget --cache=off --tries=3 --timeout=60 --output-document=- http://www.hp.com --spider -S
hp-plugin[3755]: debug: Spider mode enabled. Check if remote file exists.
--2023-12-03 20:35:14--  http://www.hp.com/
Resolving www.hp.com (www.hp.com)... 2a02:26f0:1b00::5c7b:ec40, 2a02:26f0:1b00::5c7b:ec52, 23.55.48.174, ...
Connecting to www.hp.com (www.hp.com)|2a02:26f0:1b00::5c7b:ec40|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 503 Service Unavailable
  Server: AkamaiGHost
  Mime-Version: 1.0
  Content-Type: text/html
  Content-Length: 177
  Expires: Sun, 03 Dec 2023 19:35:14 GMT
  Date: Sun, 03 Dec 2023 19:35:14 GMT
  Connection: keep-alive
  Set-Cookie: aka_client_code=FR-
  Akamai-GRN: 0.3cec7b5c.1701632114.59eb550d
  Set-Cookie: _abck=460390CA94A5BCD8D281883C7ABDFCED~-1~YAAQPOx7XAHAGOGLAQAAYoAtMQogKWjegItyKjUQptsCPTxUit5IbauESwBylXT/3EtU8WC42l0rmghTakvI5gBk7/t6mx12ba5MoRY0tUbsPfYm3oIwX1qTwTmw+oncxKFzJwJnntT8uXkjmS1CeRNUlBXghqY+flH4kiL3O3uV4LFb8qVK18t/pnEpc2wF4IoZEX8Vb32JD6T2c1BwxnNOBfSBeyUM7XIkz9vaIYi8qkL7BSj4XdXORC/PEknRL88waA4i1FF7BNjaJ9PgsE4i8RqmC6/8uMRcrIPuCJQ/zbWG4/E2w2a5mcKU9Dw8Z2iMYVFbnjRzGgFFTrd/nQ==~-1~-1~-1; Domain=.hp.com; Path=/; Expires=Mon, 02 Dec 2024 19:35:14 GMT; Max-Age=31536000
  Set-Cookie: bm_sz=5D5B6C92DAB744DD921CB375DCB30EFF~YAAQPOx7XALAGOGLAQAAYoAtMRVhNAeIoZA3T9gTJVWh1iFosCcsOP/3pwVyH+hlVTxqTJgfvgloWmcis5a8JjMdTUrCOpqC2xXkt3LhhEKtUzamuZdTVShKpORlClgWK2dnBLd3/0c/feRd6I5VGSVQPKa5jboCP4AuvOg6Phd5wNhzMllwZE1ItBXsIeTrl5ye2M5qc1pbwhvQ5avPtg60/Ba0gTsMhhWTfRtso0rWBV3RMh2WkymnYLsXLag3XalkznKqTh1645kCa+TnA1MpLDdH3nzM6QOOmWViDg==~3491379~3359554; Domain=.hp.com; Path=/; Expires=Sun, 03 Dec 2023 23:35:14 GMT; Max-Age=14400
  Server-Timing: ak_p; desc="1701632114772_1551625276_1508594957_54_12878_229_0_-";dur=1
Remote file does not exist -- broken link!!!


hp-plugin[3755]: debug: wget returned: 8
hp-plugin[3755]: debug: curl not found
hp-plugin[3755]: debug: /usr/bin/ping -c1 -W1 -w10 www.hp.com
hp-plugin[3755]: debug: Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 354, in <module>
    ok = utils.check_network_connection()
  File "/usr/share/hplip/base/utils.py", line 2296, in check_network_connection
    status = check_network_via_ping(ping_server)
  File "/usr/share/hplip/base/utils.py", line 2285, in check_network_via_ping
    status, output = run(cmd)
  File "/usr/share/hplip/base/utils.py", line 1295, in run
    child = pexpect.spawnu(cmd, timeout=timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1755, in __init__
    super(spawnu, self).__init__(*args, **kwargs)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 486, in __init__
    self._spawn(command, args)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 637, in _spawn
    os.execv(self.command, self.args)
PermissionError: [Errno 13] Permission denied
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
PermissionError: [Errno 13] Permission denied: '/var/crash/_usr_share_hplip_plugin.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 354, in <module>
    ok = utils.check_network_connection()
  File "/usr/share/hplip/base/utils.py", line 2296, in check_network_connection
    status = check_network_via_ping(ping_server)
  File "/usr/share/hplip/base/utils.py", line 2285, in check_network_via_ping
    status, output = run(cmd)
  File "/usr/share/hplip/base/utils.py", line 1295, in run
    child = pexpect.spawnu(cmd, timeout=timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1755, in __init__
    super(spawnu, self).__init__(*args, **kwargs)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 486, in __init__
    self._spawn(command, args)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 637, in _spawn
    os.execv(self.command, self.args)
PermissionError: [Errno 13] Permission denied

hp-plugin[3755]: debug: ping returned: 1
error: Network connection not detected.
hp-plugin[3755]: debug: Unlocking: /home/fred/.hplip/hp-plugin.lock
fred@fred-H55N-USB3:~$ dpkg -l | grep sane
ii  libkf5sane-data                               21.12.3-0ubuntu1                            all          scanner library (data files)
ii  libkf5sane5:amd64                             21.12.3-0ubuntu1                            amd64        scanner library (runtime)
ii  libsane-common                                1.1.1-5                                     all          API library for scanners -- documentation and support files
ii  libsane-dev:amd64                             1.1.1-5                                     amd64        API development library for scanners [development files]
ii  libsane-hpaio:amd64                           3.21.12+dfsg0-1                             amd64        HP SANE backend for multi-function peripherals
ii  libsane1:amd64                                1.1.1-5                                     amd64        API library for scanners
ii  sane-airscan                                  0.99.27-1build1                             amd64        SANE backend for AirScan (eSCL) and WSD document scanner
ii  sane-utils                                    1.1.1-5                                     amd64        API library for scanners -- utilities
ii  xsane-common                                  0.999-11ubuntu1                             all          xsane architecture independent files
fred@fred-H55N-USB3:~$ sudo sane-find-scanner -q
[sudo] password for fred: 
found possible USB scanner (vendor=0x0bda [Realtek], product=0xb812 [802.11ac NIC]) at libusb:002:002
found possible USB scanner (vendor=0x03f0 [HP], product=0x1853 [DeskJet 2700 series]) at libusb:001:004
fred@fred-H55N-USB3:~$ scanimage -L
device `hpaio:/usb/DeskJet_2700_series?serial=CN37EFV2SR' is a Hewlett-Packard DeskJet_2700_series all-in-one
fred@fred-H55N-USB3:~$ ls /etc/sane.d/
abaton.conf          avision.conf       canon_pp.conf   dc240.conf          epjitsu.conf  genesys.conf  hp.conf        kvs1025.conf     microtek2.conf   net.conf      plustek_pp.conf  sceptre.conf   stv680.conf    u12.conf
agfafocus.conf       bh.conf            cardscan.conf   dc25.conf           epson2.conf   gphoto2.conf  hpsj5s.conf    leo.conf         microtek.conf    p5.conf       qcam.conf        sharp.conf     tamarack.conf  umax1220u.conf
airscan.conf         canon630u.conf     coolscan2.conf  dell1600n_net.conf  epson.conf    gt68xx.conf   hs2p.conf      lexmark.conf     mustek.conf      pie.conf      ricoh.conf       sm3840.conf    teco1.conf     umax.conf
apple.conf           canon.conf         coolscan3.conf  dll.conf            epsonds.conf  hp3900.conf   ibm.conf       ma1509.conf      mustek_pp.conf   pieusb.conf   rts8891.conf     snapscan.conf  teco2.conf     umax_pp.conf
artec.conf           canon_dr.conf      coolscan.conf   dll.d               escl.conf     hp4200.conf   kodakaio.conf  magicolor.conf   mustek_usb.conf  pixma.conf    s9036.conf       sp15c.conf     teco3.conf     xerox_mfp.conf
artec_eplus48u.conf  canon_lide70.conf  dc210.conf      dmc.conf            fujitsu.conf  hp5400.conf   kodak.conf     matsushita.conf  nec.conf         plustek.conf  saned.conf       st400.conf     test.conf
fred@fred-H55N-USB3:~$ cat /etc/sane.d/dll.conf
# dll.conf - Configuration file for the SANE dynamic backend loader
#
# Backends can also be enabled by configuration snippets under the dll.d/
# directory -- third party backends can drop their configuration file in
# this in this directory, named after the backend.
#
# 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) for details.
net
abaton
agfafocus
apple
artec
artec_eplus48u
as6e
avision
bh
canon
canon630u
canon_dr
canon_lide70
#canon_pp
cardscan
coolscan
#coolscan2
coolscan3
#dc210
#dc240
#dc25
dell1600n_net
dmc
epjitsu
#epson
epson2
epsonds
escl
fujitsu
genesys
#gphoto2
gt68xx
hp
hp3500
hp3900
hp4200
hp5400
hp5590
hpljm1005
hpsj5s
hs2p
ibm
kodak
kodakaio
kvs1025
kvs20xx
kvs40xx
leo
lexmark
ma1509
magicolor
matsushita
microtek
microtek2
mustek
#mustek_pp
mustek_usb
mustek_usb2
nec
niash
#p5
pie
pieusb
pint
pixma
plustek
#plustek_pp
#pnm
qcam
ricoh
ricoh2
rts8891
s9036
sceptre
sharp
sm3600
sm3840
snapscan
sp15c
#st400
#stv680
tamarack
teco1
teco2
teco3
#test
u12
umax
umax1220u
#umax_pp
v4l
xerox_mfp
hpaio
fred@fred-H55N-USB3:~$ /lib/udev/rules.d | grep libsane
bash: /lib/udev/rules.d: Is a directory
fred@fred-H55N-USB3:~$ apt policy hplip*
hplip-ppds:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
hplip-doc:
  Installé : (aucun)
  Candidat : 3.21.12+dfsg0-1
 Table de version :
     3.21.12+dfsg0-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main i386 Packages
hplip-gui:
  Installé : (aucun)
  Candidat : 3.21.12+dfsg0-1
 Table de version :
     3.21.12+dfsg0-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu jammy/universe i386 Packages
hplip:
  Installé : 3.21.12+dfsg0-1
  Candidat : 3.21.12+dfsg0-1
 Table de version :
 *** 3.21.12+dfsg0-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
hplip-cups:
  Installé : (aucun)
  Candidat : (aucun)
 Table de version :
hplip-data:
  Installé : 3.21.12+dfsg0-1
  Candidat : 3.21.12+dfsg0-1
 Table de version :
 *** 3.21.12+dfsg0-1 500
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu jammy/main i386 Packages
        100 /var/lib/dpkg/status
fred@fred-H55N-USB3:~$ hp-scan -i

HP Linux Imaging and Printing System (ver. 3.21.12)
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/DeskJet_2700_series?serial=CN37EFV2SR
Opening connection to device...
error: SANE: Error during device I/O (code=9)
fred@fred-H55N-USB3:~$ 
fred@fred-H55N-USB3:~$ xsane
Command 'xsane' not found, but can be installed with:
sudo apt install xsane
fred@fred-H55N-USB3:~$ sudo apt install xsane
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Paquets suggérés :
  gimp gv hylafax-client | mgetty-fax
Les NOUVEAUX paquets suivants seront installés :
  xsane
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 456 ko dans les archives.
Après cette opération, 2469 ko d'espace disque supplémentaires seront utilisés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu jammy/universe amd64 xsane amd64 0.999-11ubuntu1 [456 kB]
456 ko réceptionnés en 2s (301 ko/s)                                        
Sélection du paquet xsane précédemment désélectionné.
(Lecture de la base de données... 215614 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../xsane_0.999-11ubuntu1_amd64.deb ...
Dépaquetage de xsane (0.999-11ubuntu1) ...
Paramétrage de xsane (0.999-11ubuntu1) ...
Traitement des actions différées (« triggers ») pour hicolor-icon-theme (0.17-2) ...
Traitement des actions différées (« triggers ») pour man-db (2.10.2-1) ...
Traitement des actions différées (« triggers ») pour mailcap (3.70+nmu1ubuntu1) ...
Traitement des actions différées (« triggers ») pour desktop-file-utils (0.26-1ubuntu3) ...
fred@fred-H55N-USB3:~$ 

Dernière modification par fred78110 (Le 03/12/2023, à 21:48)

Hors ligne

#44 Le 03/12/2023, à 23:04

grigouille

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

le retour de hp-plugin en mode debug est plutôt intéressant. Il se plaint de ne pas trouver curl.
Pour l'installer :

sudo apt install curl

Et relance

hp-plugin -gi

Il y a aussi des "Permission Denied". Donne par exemple :

ls -l /var/crash/_usr_share_hplip_plugin.py.1000.crash

Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#45 Le 04/12/2023, à 11:54

iznobe

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Bonjour @grigouille , il ya aussi cette erreur , avant les permissions :

Remote file does not exist -- broken link!!!

je ne connais pas son incidence par contre .


retour utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .

Hors ligne

#46 Le 04/12/2023, à 22:09

fred78110

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

bonjour,

merci

fred@fred-H55N-USB3:~$ sudo apt install curl
[sudo] password for fred: 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Les NOUVEAUX paquets suivants seront installés :
  curl
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 194 ko dans les archives.
Après cette opération, 454 ko d'espace disque supplémentaires seront utilisés.
Réception de :1 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.14 [194 kB]
194 ko réceptionnés en 5s (38,8 ko/s)                                       
Sélection du paquet curl précédemment désélectionné.
(Lecture de la base de données... 215645 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../curl_7.81.0-1ubuntu1.14_amd64.deb ...
Dépaquetage de curl (7.81.0-1ubuntu1.14) ...
Paramétrage de curl (7.81.0-1ubuntu1.14) ...
Traitement des actions différées (« triggers ») pour man-db (2.10.2-1) ...
fred@fred-H55N-USB3:~$ hp-plugin -gi

HP Linux Imaging and Printing System (ver. 3.21.12)
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.12)
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-plugin[8312]: debug: Locking: /home/fred/.hplip/hp-plugin.lock
hp-plugin[8312]: debug: Unable to open file /var/lib/hp/hplip.state for reading.
hp-plugin[8312]: debug: Unable to open file /var/lib/hp/hplip.state for reading.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


------------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 3.21.12 |
------------------------------------------

  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...
hp-plugin[8312]: debug: /usr/bin/wget --cache=off --tries=3 --timeout=60 --output-document=- http://www.hp.com --spider -S
hp-plugin[8312]: debug: Spider mode enabled. Check if remote file exists.
--2023-12-04 21:05:45--  http://www.hp.com/
Resolving www.hp.com (www.hp.com)... 23.59.168.153, 23.59.168.154, 2600:1417:3f::b81c:eb6b, ...
Connecting to www.hp.com (www.hp.com)|23.59.168.153|:80... 
hp-plugin[8312]: debug: Spider mode enabled. Check if remote file exists.
--2023-12-04 21:05:45--  http://www.hp.com/
Resolving www.hp.com (www.hp.com)... 23.59.168.153, 23.59.168.154, 2600:1417:3f::b81c:eb6b, ...
Connecting to www.hp.com (www.hp.com)|23.59.168.153|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 503 Service Unavailable
  Server: AkamaiGHost
  Mime-Version: 1.0
  Content-Type: text/html
  Content-Length: 176
  Expires: Mon, 04 Dec 2023 20:05:46 GMT
  Date: Mon, 04 Dec 2023 20:05:46 GMT
  Connection: keep-alive
  Set-Cookie: aka_client_code=SG-
  Akamai-GRN: 0.95a83b17.1701720346.2e26c3b
  Set-Cookie: _abck=80784E2F13BB3D2E589BF510C4A33D45~-1~YAAQlag7F81jETWMAQAAms9vNgu4lKUxHkkJ1Yc06y5jAkjgOkAKvXoUSyaIgEGuAyxCPH1CJ8B7L66y4zTC65dIFuV27GvQcVfEcu+RYfID3p0XjhsiH1hC6Fbq9Wu3Mrdt/sxRBGcuvqr+bJ+NB+K82qGW7UDiElkvUB+G+Pk5qdkXioXPFPJpOWs10yior/3OlnsfgCpU/W8dyp5D/YYkLHDOCrJG3wKN2AzSGf458TnapTJl5MY/8OrTSxov+CWQCjxDLPETYQylKu8j+vWaPmJj/SYl3jEoG0SCtk93aOCzVG/dhyElW2t8+sHHWbYtlTHD94FEV2ab8fFHeg==~-1~-1~-1; Domain=.hp.com; Path=/; Expires=Tue, 03 Dec 2024 20:05:46 GMT; Max-Age=31536000
  Set-Cookie: bm_sz=0BB4A6DF5262BE845BC1D539BC2B21DA~YAAQlag7F85jETWMAQAAms9vNhaMchIYbFpDou+VeUjBRPEhQ/6RjhxS9fO93NA9YhaJMg25Zgqv46KG7p889bsJaWUx19Fvtu5P1E+HL8minPO4MxXWtV/EQd9RH822i/b3PypEokykXqxgTAE1c0E1WvNYigSx95MIs7OXoeJr1eDxeQGDeWMQWLafJ81ssu67p4vLNbWTURtKY2vhCYZzdUlwZkz+NftcNDqEf3vAZPVdg1mOzMcap95QvgZ20H5SrOr8001PJyClmLH5cSc2FKmw/2tGcUnVx+nY6A==~3617602~3617840; Domain=.hp.com; Path=/; Expires=Tue, 05 Dec 2023 00:05:46 GMT; Max-Age=14400
  Server-Timing: ak_p; desc="1701720346511_389785749_48393275_40_10501_396_0_-";dur=1
Remote file does not exist -- broken link!!!


hp-plugin[8312]: debug: wget returned: 8
hp-plugin[8312]: debug: /usr/bin/curl --output - --connect-timeout 5 --max-time 10 http://www.hp.com --head
hp-plugin[8312]: debug: Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 354, in <module>
    ok = utils.check_network_connection()
  File "/usr/share/hplip/base/utils.py", line 2294, in check_network_connection
    status = download_via_curl(url, head=True)
  File "/usr/share/hplip/base/utils.py", line 2272, in download_via_curl
    status, output = run(cmd)
  File "/usr/share/hplip/base/utils.py", line 1295, in run
    child = pexpect.spawnu(cmd, timeout=timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1755, in __init__
    super(spawnu, self).__init__(*args, **kwargs)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 486, in __init__
    self._spawn(command, args)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 637, in _spawn
    os.execv(self.command, self.args)
PermissionError: [Errno 13] Permission denied
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
PermissionError: [Errno 13] Permission denied: '/var/crash/_usr_share_hplip_plugin.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 354, in <module>
    ok = utils.check_network_connection()
  File "/usr/share/hplip/base/utils.py", line 2294, in check_network_connection
    status = download_via_curl(url, head=True)
  File "/usr/share/hplip/base/utils.py", line 2272, in download_via_curl
    status, output = run(cmd)
  File "/usr/share/hplip/base/utils.py", line 1295, in run
    child = pexpect.spawnu(cmd, timeout=timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1755, in __init__
    super(spawnu, self).__init__(*args, **kwargs)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 486, in __init__
    self._spawn(command, args)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 637, in _spawn
    os.execv(self.command, self.args)
PermissionError: [Errno 13] Permission denied

hp-plugin[8312]: debug: curl returned: 1
hp-plugin[8312]: debug: /usr/bin/ping -c1 -W1 -w10 www.hp.com
hp-plugin[8312]: debug: Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 354, in <module>
    ok = utils.check_network_connection()
  File "/usr/share/hplip/base/utils.py", line 2296, in check_network_connection
    status = check_network_via_ping(ping_server)
  File "/usr/share/hplip/base/utils.py", line 2285, in check_network_via_ping
    status, output = run(cmd)
  File "/usr/share/hplip/base/utils.py", line 1295, in run
    child = pexpect.spawnu(cmd, timeout=timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1755, in __init__
    super(spawnu, self).__init__(*args, **kwargs)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 486, in __init__
    self._spawn(command, args)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 637, in _spawn
    os.execv(self.command, self.args)
PermissionError: [Errno 13] Permission denied
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
PermissionError: [Errno 13] Permission denied: '/var/crash/_usr_share_hplip_plugin.py.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/hp-plugin", line 354, in <module>
    ok = utils.check_network_connection()
  File "/usr/share/hplip/base/utils.py", line 2296, in check_network_connection
    status = check_network_via_ping(ping_server)
  File "/usr/share/hplip/base/utils.py", line 2285, in check_network_via_ping
    status, output = run(cmd)
  File "/usr/share/hplip/base/utils.py", line 1295, in run
    child = pexpect.spawnu(cmd, timeout=timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1755, in __init__
    super(spawnu, self).__init__(*args, **kwargs)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 486, in __init__
    self._spawn(command, args)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 637, in _spawn
    os.execv(self.command, self.args)
PermissionError: [Errno 13] Permission denied

hp-plugin[8312]: debug: ping returned: 1
error: Network connection not detected.
hp-plugin[8312]: debug: Unlocking: /home/fred/.hplip/hp-plugin.lock
fred@fred-H55N-USB3:~$ ls -l /var/crash/_usr_share_hplip_plugin.py.1000.crash
ls: cannot access '/var/crash/_usr_share_hplip_plugin.py.1000.crash': No such file or directory

Hors ligne

#47 Le 04/12/2023, à 22:15

xubu1957

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Bonjour,

Je trouve ce bug bugs.launchpad.net/hplip/+bug/2007680 hp-plugin fails to download driver

et des retours similaires dans ce fil [Risolto] Problema con hplip e Multifunzione HP


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

#48 Le 04/12/2023, à 22:37

grigouille

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

Il faut tenter l'installation manuelle. Lire la doc hplip.


Debian (xfce) 12
HP LaserJet M1132 MFP

Hors ligne

#49 Le 04/12/2023, à 23:49

fred78110

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

j'ai acheté un cable usb amazon
le cable hp n'est plus vendu avec l'imprimante
peut etre que ca joue ?

Hors ligne

#50 Le 05/12/2023, à 07:14

PPdM

Re : scanner fonctionne pas avec hp deskjet 2721e sur kubuntu 22.04

N'importe quel câble USB en bon état et aux normes USB2 fonctionne.

Je t'avais posé la question, mais tu n'as pas répondu, peux-tu mettre cette imprimante en réseau avec ta box, filaire de préférence, ou en WIFI situ n'as pas de prise réseau disponible?


La critique est facile, mais l'art est difficile !
L'humanité étant ce qu'elle est, la liberté ne sera jamais un acquit, mais toujours un droit à défendre !
Pour résoudre un problème commence par poser les bonnes questions, la bonne solution en découlera

En ligne