Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 01/10/2022, à 14:59

LPonne

[RESOLU] Utilisation scanner de l'imprimante HP Laserjet M1212nf MFP

Bonjour,

J'ai procédé à la mise à niveau Ubuntu 22.04.1 LTS (à partir de la version 20.04). Mais je n'arrive pas à faire fonctionner le scanner de mon imprimante HP Laserjet M1212nf MFP en réseau. XSane me dit ne pas trouver le périphérique alors que l'impression fonctionne normalement.
J'ai supprimé et réinstallé sane et HPLIP et leurs librairies, sans succès.

Des infos sur mon système :

lionel@lionel-P5QC:~$ cat /etc/lsb-release && uname -ir && groups && lsusb
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
5.15.0-48-generic x86_64
lionel adm cdrom sudo dip plugdev lpadmin sambashare
Bus 002 Device 004: ID 05ac:0221 Apple, Inc. Aluminum Keyboard (ISO)
Bus 002 Device 003: ID 05ac:1006 Apple, Inc. Hub in Aluminum Keyboard
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
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 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
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 041e:3125 Creative Technology, Ltd Creative Bluetooth Audio W2
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Et pour le scanner :

lionel@lionel-P5QC:~$ dpkg -l | grep cups
ii  bluez-cups                                 5.64-0ubuntu1                              amd64        Bluetooth printer driver for CUPS
ii  cups                                       2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed                               1.28.15-0ubuntu1                           amd64        OpenPrinting CUPS Filters - cups-browsed
ii  cups-bsd                                   2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - BSD commands
ii  cups-client                                2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                                2.4.1op1-1ubuntu4.1                        all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers                          2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon                                2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - daemon
ii  cups-filters                               1.28.15-0ubuntu1                           amd64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers                  1.28.15-0ubuntu1                           amd64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils                             2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - IPP developer/admin utilities
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.1                        amd64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common                         2.4.1op1-1ubuntu4.1                        all          Common UNIX Printing System(tm) - server common files
ii  libcups2:amd64                             2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - Core library
ii  libcups2-dev:amd64                         2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - Development files CUPS library
ii  libcupsfilters-dev:amd64                   1.28.15-0ubuntu1                           amd64        OpenPrinting CUPS Filters - Development files for the library
ii  libcupsfilters1:amd64                      1.28.15-0ubuntu1                           amd64        OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:amd64                        2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - Raster image library
ii  libcupsimage2-dev:amd64                    2.4.1op1-1ubuntu4.1                        amd64        Common UNIX Printing System(tm) - Development files CUPS image library
ii  printer-driver-hpcups                      3.21.12+dfsg0-1                            amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  python3-cups:amd64                         2.0.1-5build1                              amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                        1.5.16-0ubuntu3                            all          Python utility modules around the CUPS printing system
lionel@lionel-P5QC:~$ lpstat -t
scheduler is running
no system default destination
matériel pour HP_LaserJet_Professional_M1212nf_MFP : implicitclass://HP_LaserJet_Professional_M1212nf_MFP/
HP_LaserJet_Professional_M1212nf_MFP accepte des requêtes depuis sam. 01 oct. 2022 15:10:14
printer HP_LaserJet_Professional_M1212nf_MFP is idle.  enabled since sam. 01 oct. 2022 15:10:14
<pre><font color="#26A269"><b>lionel@lionel-P5QC</b></font>:<font color="#12488B"><b>~</b></font>$ /usr/sbin/lpinfo -v
network beh
file cups-brf:/
network http
network ipps
network lpd
network socket
network https
network ipp
serial serial:/dev/ttyS0?baud=115200
direct hp
direct hpfax
network dnssd://HP%20LaserJet%20Professional%20M1212nf%20MFP._ipp._tcp.local/?uuid=17a8cd2e-c532-5844-ac70-0eb41a962ee3
network socket://192.168.0.11
network dnssd://HP%20LaserJet%20Professional%20M1212nf%20MFP._pdl-datastream._tcp.local
lionel@lionel-P5QC:~$ cat /var/log/cups/error_log
lionel@lionel-P5QC:~$ dpkg -l | grep -v ^ii
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
+++-==========================================-==========================================-============-================================================================================
rc  linux-image-5.4.0-125-generic              5.4.0-125.141                              amd64        Signed kernel image generic
rc  linux-modules-5.4.0-125-generic            5.4.0-125.141                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  odbcinst:i386                              2.3.6-0.1build1                            i386         Helper program for accessing odbc ini files

Autre information : j'ai essayé d'installer HP-LIP mais je bloque toujours sur l'installation du plugin HP :

------------------------------------------
| 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.
error: Failed to install Plugin.
error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins.Visit http://hplipopensource.com for more infomation.

Voilà. Merci pour votre aide car je suis un peu dans la "panade"...

Dernière modification par LPonne (Le 03/10/2022, à 13:17)

Hors ligne

#2 Le 03/10/2022, à 13:14

LPonne

Re : [RESOLU] Utilisation scanner de l'imprimante HP Laserjet M1212nf MFP

Re-Bonjour,

Après plusieurs essais infructueux, j'ai réussi à faire reconnaître mon scanner :
Lancer "hp-plugin -i" après avoir récupérer les fichiers "hplip-3.21.12-plugin" et "hplip-3.21.12-plugin.asc" (pour mon cas) sur le site de HP. Il restera à indiquer le chemin de ces fichiers, votre mot de passe de SU et ce devrait être bon. Par contre, la version automatique qui va chercher ces fichiers sur le réseau parait défaillante.

Bonne journée

Hors ligne