问题:MFU 的工作方式与打印机类似,但不能与扫描仪类似。
从 developers.hp.com 安装最新的 HPLIP 版本:3.19.6。
:~$ hp-setup
hp-doctor命令输出:
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
No Scanner found.
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
HP-LaserJet-Pro-MFP-M125ra
--------------------------
Type: Unknown
Device URI: usb://HP/LaserJet%20Pro%20MFP%20M125ra?serial=CNB7GCJHZQ&interface=1
PPD: /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd
warning: Failed to read /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd ppd file
PPD Description:
Printer status: printer HP-LaserJet-Pro-MFP-M125ra is idle. enabled since Чт 06 июн 2019 17:54:40
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.
--------------
| PERMISSION |
--------------
error: Unsupported model: HP_LaserJet_Pro_MFP_M125ra
Checking Permissions....
Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd
warning: Could not complete Queue(s) configuration check
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Diagnose completed...
系统盘命令输出:
Bus 002 Device 009: ID 03f0:222a Hewlett-Packard
理智查找扫描仪命令输出:
# sane-find-scanner will now attempt to detect your scanner. If the
# result is different from what you expected, first make sure your
# scanner is powered up and properly connected to your computer.
# No SCSI scanners found. If you expected something different, make sure that
# you have loaded a kernel SCSI driver for your SCSI adapter.
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x222a [HP LaserJet Pro MFP M125ra]) at libusb:002:009
could not open USB device 0x04d9/0x0175 at 002:006: Access denied (insufficient permissions)
could not open USB device 0x2109/0x2812 at 002:004: Access denied (insufficient permissions)
could not open USB device 0x0001/0x0000 at 002:003: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 002:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x046d/0xc52b at 003:003: Access denied (insufficient permissions)
could not open USB device 0x0461/0x0010 at 003:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x8087/0x0024 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
# Your USB scanner was (probably) detected. It may or may not be supported by
# SANE. Try scanimage -L and read the backend's manpage.
# Not checking for parallel port scanners.
# Most Scanners connected to the parallel port or other proprietary ports
# can't be detected by this program.
# You may want to run this program as root to find all devices. Once you
# found the scanner devices, be sure to adjust access permissions as
# necessary.
无需设置 hplip 打印机即可工作..如何使扫描仪工作?
答案1
据官方称HPLIP 页面您需要至少安装 3.14.10 和专有插件:
似乎您错过了安装此二进制/专有驱动程序/插件。
您必须使用以下命令安装它:
hp-plugin
笔记:你实际上并不需要 HPLIP 3.19.6,可以使用仿生的存储库。要按照此方式继续,请按照卸载我的另一个答案的一部分然后使用 安装插件hp-plugin
。
参考:
答案2
也许这会有所帮助:
sudo hp-设置
代替
hp-设置
在此之前,您最好使用以下命令重复安装 hp-package:
sudo apt install--重新安装 hplip
我想,这是可行的。
答案3
安装 HPLIP-3.17.9 后修复
所有步骤均采用默认答案,但以下情况除外:它会询问您是否希望此安装程序安装 hplip 特定策略/配置文件。输入“y”。
完成:扫描仪和打印机工作正常!
答案4
在 hplip-3.17.11 中,对 m125ra 的支持被取消。
在较新的 hplip 版本中 - 选择 M125a 型号进行打印。
对于扫描 - 在文本编辑器中打开/usr/share/hplip/data/models/models.dat
,找到部分[hp_laserjet_pro_mfp_m125a]
并将其复制[hp_laserjet_pro_mfp_m125a]
或重命名。