cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 
  • ×
    Información
    Windows 11

    Para saber como actualizar a Windows 11 usando Windows Update, haga clic aquí

    Encuentre preguntas y respuestas comunes aquí.

    Información
    Corrija errores en Win 10

    Resuelva problemas de actualización de Windows 10 en un PC HP – Centro de soporte HP para Windows 10

  • post a message
  • ×
    Información
    Windows 11

    Para saber como actualizar a Windows 11 usando Windows Update, haga clic aquí

    Encuentre preguntas y respuestas comunes aquí.

    Información
    Corrija errores en Win 10

    Resuelva problemas de actualización de Windows 10 en un PC HP – Centro de soporte HP para Windows 10

  • post a message
Nota para problemas comunes de la impresora
Problemas para Configuración de Wifi en impresoras. Consulte esta publicación: Configuración de Wifi de impresora..
Estudiante superior
Estudiante superior
5 0 0
Mensaje 1 de 5
419
Reportar Mensaje

Instalación escáner en Debian 10.9 (Buster) - HP Color LaserJet Pro MFP M282nw

HP Color LaserJet Pro MFP M282nw
Linux

¿Cómo instalar/configurar el escáner en GNU/Linux Debian 10.9? (Como impresora, funciona correctamente).

Impresora conectada por USB (aunque también puedo conectarla por WiFi).

He estado probando tanto con el asistente gráfico como con el asistente en línea de comandos tanto de hplip 3.18.12 (proporcionado por repositorios Debian) como del paquete hplip 3.21.4 (del enlace de descarga de HP).

 

Información usando hplip 3.18.12 ofrecido por Debian:

 

$ hp-setup 
HP Linux Imaging and Printing System (ver. 3.18.12)
Printer/Fax Setup Utility ver. 9.0
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No devices found on bus: net
error:  HPLIP cannot detect printers in your network.  This may be due to existing firewall settings blocking the required ports.
                When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
                 http://hplipopensource.com/node/374

Done.
$ hp-plugin 
HP Linux Imaging and Printing System (ver. 3.18.12)
Plugin Download and Install Utility ver. 2.1

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

HP Linux Imaging and Printing System (ver. 3.18.12)
Plugin Installer ver. 3.0

Plug-in version: 3.18.12
Installed HPLIP version: 3.18.12
Number of files to install: 55

note: Using PyQt5
 
Done.
 Plug-in installation successful 
$ grep -i m282 /usr/share/hplip/data/models/models.dat

$ 
$ hp-check -t
Saving output in log file: /home/user/hp-check.log

HP Linux Imaging and Printing System (ver. 3.18.12)
Dependency/Version Check Utility ver. 15.1

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.                                    
2. Run-time check mode (-r or --run): Use this mode to determine if a distro    
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.                      
3. Both compile- and run-time check mode (-b or --both) (Default): This mode    
will check both of the above cases (both compile- and run-time dependencies).   

Check types:                                                                    
a. EXTERNALDEP - External Dependencies                                          
b. GENERALDEP - General Dependencies (required both at compile and run time)    
c. COMPILEDEP - Compile time Dependencies                                       
d. [All are run-time checks]                                                    
PYEXT SCANCONF QUEUES PERMISSION                                                

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

|Traceback (most recent call last):
  File "/usr/share/hplip/base/utils.py", line 265, in walkFiles
    names = os.listdir(root)
FileNotFoundError: [Errno 2] No such file or directory: '/etc/PolicyKit'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/share/hplip/base/utils.py", line 267, in walkFiles
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/hp-check", line 861, in <module>
    dep.core.init()
  File "/usr/share/hplip/installer/core_install.py", line 527, in init
    self.check_dependencies(callback)
  File "/usr/share/hplip/installer/core_install.py", line 620, in check_dependencies
    self.have_dependencies[d] = self.dependencies[d][3]()
  File "/usr/share/hplip/installer/core_install.py", line 1241, in check_policykit
    if check_file('PolicyKit.conf', "/etc/PolicyKit") and check_file('org.gnome.PolicyKit.AuthorizationManager.service', "/usr/share/dbus-1/services"):
  File "/usr/share/hplip/installer/dcheck.py", line 107, in check_file
    for w in utils.walkFiles(dir, recurse=True, abs_paths=True, return_folders=False, pattern=f):
RuntimeError: generator raised StopIteration
$ grep -ri m282 /etc/sane.d/
$
$ grep hp /etc/sane.d/dll.conf
hp
hp3900
hpsj5s
hp3500
hp4200
hp5400
hp5590
hpljm1005
hp2000S1
$ grep hp /etc/sane.d/dll.d/hplip 
# dll.conf snippet for hplip
hpaio
$ cat /lib/udev/rules.d/56-hpmud.rules
# HPLIP udev rules file. Notify console user if plugin support is required for this device.

ACTION!="add", GOTO="hpmud_rules_end"
SUBSYSTEM=="ppdev", OWNER="root", GROUP="lp", MODE="0664"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="hpmud_usb_rules"
GOTO="hpmud_rules_end"

LABEL="hpmud_usb_rules"

ENV{ID_USB_INTERFACES}=="", IMPORT{builtin}="usb_id"

# ENV{ID_HPLIP}="1" is for Ubuntu udev-acl
ATTR{idVendor}=="03f0", ENV{ID_USB_INTERFACES}=="*:0701??:*|*:ffcc00:", OWNER="root", GROUP="lp", MODE="0664", ENV{libsane_matched}="yes", ENV{hp_test}="yes", ENV{ID_HPLIP}="1"

# This rule will check the smart install feature, plugin status and firmware download for the required printers.
ENV{hp_test}=="yes", PROGRAM="/bin/sh -c 'logger -p user.info loading HP Device $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM}'"

LABEL="hpmud_rules_end"
$ sudo sane-find-scanner -q
found USB scanner (vendor=0x03f0 [HP], product=0x0970 [HP ColorLaserJet MFP M282-M285]) at libusb:003:006
could not fetch string descriptor: Pipe error
could not fetch string descriptor: Pipe error

 

 

 

$ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

 

 

 

$ dpkg -l | grep hp
ii  hp-ppd                                  0.9-0.3                                      all          HP Postscript Printer Definition (PPD) files
ii  hpijs-ppds                              3.18.12+dfsg0-2                              all          HP Linux Printing and Imaging - HPIJS PPD files
ii  hplip                                   3.18.12+dfsg0-2                              amd64        HP Linux Printing and Imaging System (HPLIP)
ii  hplip-data                              3.18.12+dfsg0-2                              all          HP Linux Printing and Imaging - data files
ii  hplip-doc                               3.18.12+dfsg0-2                              all          HP Linux Printing and Imaging - documentation
ii  hplip-gui                               3.18.12+dfsg0-2                              all          HP Linux Printing and Imaging - GUI utilities (Qt-based)
ii  libhpmud0:amd64                         3.18.12+dfsg0-2                              amd64        HP Multi-Point Transport Driver (hpmud) run-time libraries
ii  libsane-hpaio:amd64                     3.18.12+dfsg0-2                              amd64        HP SANE backend for multi-function peripherals
ii  printer-driver-hpcups                   3.18.12+dfsg0-2                              amd64        HP Linux Printing and Imaging - CUPS Raster driver (hpcups)
ii  printer-driver-hpijs                    3.18.12+dfsg0-2                              amd64        HP Linux Printing and Imaging - printer driver (hpijs)
ii  printer-driver-postscript-hp            3.18.12+dfsg0-2                              amd64        HP Printers PostScript Descriptions

 

Al no aparecer en models.dat creo que indica que no tiene soporte con esta versión de hplip, pero probando con la versión 3.21.4 tampoco funciona.

Si alguien tiene alguna idea (aparte de acudir a foros / bug tracker de Debian)  sería de agradecer.

Gracias.

4 RESPUESTAS 4
Rector Rector
Rector
54,756 8,343 15,876
Mensaje 2 de 5
Reportar Mensaje

Instalación escáner en Debian 10.9 (Buster) - HP Color LaserJet Pro MFP M282nw

Estimado @robella 

 

intente seguir los pasos del siguiente link

 

https://developers.hp.com/hp-linux-imaging-and-printing/install/install/index 


Mi ayuda es voluntaria
- Si lo ayude a solucionar su consulta o problema por favor haga clic sobre ACEPTAR COMO SOLUCION en el mensaje que aporto la solución
¿Esta respuesta fue útil? Si No
Estudiante superior
Autor
Estudiante superior
5 0 0
Mensaje 3 de 5
Reportar Mensaje

Instalación escáner en Debian 10.9 (Buster) - HP Color LaserJet Pro MFP M282nw

Gracias por responder.

Sí, ese proceso ya lo probé anteriormente.

Resultado de la nueva prueba:

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

HP Linux Imaging and Printing System (ver. 3.21.4)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Fri-21-May-2021_16:30:55.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: debian-10.9 version is not supported, so all dependencies may not be installed. However trying to install using debian-10.8 version packages.

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y


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) : a


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


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Debian 10.9.

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

Initializing. Please wait...


ENTER ROOT/SUPERUSER PASSWORD
-----------------------------
Please enter the root/superuser password: 
 

INSTALLATION NOTES
------------------
NOTE: Disable the CD Sources in your apt sources.list or the install will fail and hang.

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


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

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


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


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


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


INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))


INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing OPTIONAL dependency for option 'gui_qt5': pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5)


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


RUNNING PRE-PACKAGE COMMANDS
----------------------------
warning: An error occurred running 'su -c "dpkg --configure -a"'
su -c "dpkg --configure -a" (Pre-depend step 1)
su -c "apt-get install -f" (Pre-depend step 2)
su -c "apt-get update" (Pre-depend step 3)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'su -c "apt-get install --force-yes -y gtk2-engines-pixbuf"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-pyqt5"'
Please wait, this may take several minutes...
Running 'su -c "apt-get install --force-yes -y python-dbus.mainloop.pyqt5"'
Please wait, this may take several minutes...
error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing.
error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.


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


RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support for PyQt4)' is still missing.
error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))' is still missing.
error: Installation cannot continue without these dependencies.
error: Please manually install this dependency and re-run this installer.
$ sudo apt install pyqt4-dbus pyqt4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package pyqt4-dbus
E: Unable to locate package pyqt4

$ sudo apt install pyqt5 pyqt5-dbus 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package pyqt5
E: Unable to locate package pyqt5-dbus

Lo más parecido a lo que pide que esté disponible en repositorios oficiales es `python3-pyqt4` y `python-pyqt5` pero tampoco funciona.

¿Esta respuesta fue útil? Si No
Estudiante
Estudiante
1 0 0
Mensaje 4 de 5
Reportar Mensaje

Instalación escáner en Debian 10.9 (Buster) - HP Color LaserJet Pro MFP M282nw

Hola !!

 

tengo el mismo problema, has encontrado alguna solución?

 

 

Saludos !

¿Esta respuesta fue útil? Si No
Estudiante superior
Autor
Estudiante superior
5 0 0
Mensaje 5 de 5
Reportar Mensaje

Instalación escáner en Debian 10.9 (Buster) - HP Color LaserJet Pro MFP M282nw

Por ahora sin solución. Supongo que tocará esperar a que HP o la distribución de GNU/Linux en cuestión actualicen los controladores. Desconozco si el soporte técnico oficial de HP sería de alguna ayuda (aunque tengo serias dudas).

¿Esta respuesta fue útil? Si No
Nota para problemas comunes de la impresora
Problemas para Configuración de Wifi en impresoras. Consulte esta publicación: Configuración de Wifi de impresora..
† Las opiniones expresadas arriba son opiniones personales del autor, no de HP. Al utilizar este sitio, aceptas los Términos de Uso y las Reglas de Participación