HP LaserJet AllInOne,无法进行扫描

HP LaserJet AllInOne,无法进行扫描

如果我尝试扫描(xsane 或 simple-scan),我会得到以下输出:

设备 URI:hpaio:/net/HP_LaserJet_MFP_M129-M134?hostname=hp-drucker

有人告诉我,这款设备对 Linux 的支持非常好……https://hardwarerecs.stackexchange.com/questions/8323/small-printerscanner-with-very-good-support-for-ubuntu

MIB search path: /home/guettli/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-SCHEDULE-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-TYPES): At line 0 in (none)
Cannot find module (MTA-MIB): At line 0 in (none)
Cannot find module (NETWORK-SERVICES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TC): At line 15 in /usr/share/snmp/mibs/UCD-DISKIO-MIB.txt
Cannot find module (SNMPv2-SMI): At line 34 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Cannot find module (SNMPv2-TC): At line 37 in /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Did not find 'enterprises' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'DisplayString' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
Did not find 'TruthValue' in module #-1 (/usr/share/snmp/mibs/UCD-SNMP-MIB.txt)
.... (cut)

更新 snmp 包后我现在收到此错误:

===> hp-scan 

HP Linux Imaging and Printing System (ver. 3.16.11)
Scan Utility ver. 2.2

Copyright (c) 2001-15 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:/net/HP_LaserJet_MFP_M129-M134?hostname=NPIBC8C62.local
Opening connection to device...
error: SANE: Error during device I/O (code=9)

仍然无法扫描 :-(

答案1

有点粗暴的答案是,您曾经在系统上安装了 snmp,但它还没有被完全删除。最简单的解决方法是重新安装 snmp:

打开终端并输入命令

sudo apt update
sudo apt install snmp snmp-mibs-downloader

修复 snmp 问题后,hp-scan 引用的 I/O 错误 9 似乎表明它可能未完全安装 - 请参阅https://bugzilla.redhat.com/show_bug.cgi?id=1347231

要解决此问题,请输入命令

sudo apt install --reinstall hplip

答案2

error: SANE: Error during device I/O (code=9)通过安装解决了hplip 插件

我必须手动从他们的网站下载并sh hplip-3.19.3-plugin.run安装它(使用与您自己的版本相同的版本hplip,您可以通过运行命令查看您的版本号hp-info)。使用该命令hp-plugin对我来说不起作用。

在此之后hp-scan,类似的程序简单扫描工作正常。

答案3

我的 hp-scanner 也遇到了类似的问题,错误消息也非常相似(它位于 hp-all-in-one 中,打印机可以工作,但扫描仪无法工作)

原始帖子的直接答案都不能解决我的问题,但是安装 hplip-gui,然后运行 ​​hp-setup 可以使我的 hp-scanner 完美地工作。

答案4

这是一个解决方法,但是有效。

我使用“HP Smart(HP AiO Remote)”Android 应用程序进行扫描。它工作起来简单又可靠......我很满意。

相关内容