我在检测我的打印机 (HP Deskjet 3630)、OS Ubuntu 18.04 时遇到问题。我已经安装了 HPLIP,当我尝试通过“网络/以太网”检测打印机时,我得到以下答案:
HPLIP 无法检测网络中的打印机。
这可能是由于现有的防火墙设置阻止了所需的端口。当您处于受信任的网络环境中时,您可以在防火墙中打开 mdns 和 slp 等网络服务的端口。有关详细步骤,请点击链接。
http://hplipopensource.com/node/375
我禁用了防火墙,但这没有帮助。
我试图将“网络发现方法”更改为 mDNS/Bonjour 和 Avahi,但两者都没有帮助。
我已将系统从 19.10 升级到 20.04,除了无法加载 hp-systray 或程序的任何其他部分外,一切正常。
我的问题是 pyqt4 在 20.04 中可用我一直无法找到它。
终端错误如下:
HP Linux Imaging and Printing System (ver. 3.20.2)
System Tray Status Service ver. 2.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.
error: No module named 'PyQt4'
error: Unable to load Qt4/Qt5 support. Is it installed?
Run Code Online (Sandbox Code Playgroud)
我也跑了
hp-check -r;输出如下:
rick@rick-M52BC-M32BC:~$ hp-check …Run Code Online (Sandbox Code Playgroud) 让我们假设一个人有一些现代 HP 打印机和/或扫描仪,它由官方存储库中的 HPLIP 包支持。或由较新版本的 HPLIP 软件包支持(请参阅有关安装的此答案)。
从官方文档(HP 开发人员门户 | 所有支持的打印机型号)可知,设备需要专有/二进制驱动程序或插件。
应该如何安装这样的插件?
我已经使用 ubuntu 18.04 有一段时间了,直到今天早上我打开电脑并使用终端进行更新时,它都运行良好。
这是输出 sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libuchardet0 lollypop-portal mpv phantomjs python3-bs4 python3-html5lib
python3-lxml python3-pylast python3-pyxattr python3-webencodings rtmpdump
youtube-dl
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
26 not fully installed or removed.
After this operation, 0 B of additional disk space will …Run Code Online (Sandbox Code Playgroud) 假设有一台 HP 打印机和/或扫描仪,并在 HPLIP 站点的相应页面上检查了其支持状态 - HP Developer Portal | 所有支持的打印机型号。
所以有以下信息:设备型号名称,Min。HPLIP 版本和驱动程序插件需要。
应该安装什么才能使 Ubuntu 完全支持 HP 打印机和/或扫描仪?
我需要在新桌面上的 USB 上安装 Color LaserJet Pro MFP M277dw 打印机,该打印机在以前版本的 HPLIP 上运行良好,但不适用于 Ubuntu 18.04。
重新安装 ubuntu 18.04,遵循如何在我的 Ubuntu 上安装最新的 HPLIP 以支持我的 HP 打印机和/或扫描仪?恰好,并得到了Failed to load module "canberra-gtk-module"和No systemtrayicon available,并没有检测到打印机要安装它:
error: No device selected/specified or that supports this functionality.
error: hp-setup failed. Please run hp-setup manually.
Run Code Online (Sandbox Code Playgroud)注意 HPLIP 3.15.4 添加了我的打印机。
我在我的 shell 中运行:
./hplip-3.18.7.run
然后它要我输入root密码,但不接受!
有人知道这是什么吗?
如果我使用 sudo 运行脚本sudo ./hplip-3.18.7.run
,那么它会在安装过程的某个步骤告诉我:warning: hp-systray should not be run as root/superuser.
我正在使用 Ubuntu 18.04:
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Run Code Online (Sandbox Code Playgroud)
这是安装程序开始时输出的内容:
问题:MFU 的工作方式类似于打印机,但不像扫描仪那样工作。
\n\n从developers.hp.com 安装了最新的HPLIP 版本:3.19.6。
\n\n:~$ hp-setup\nRun Code Online (Sandbox Code Playgroud)\n\n\n\nhp-doctor命令输出:
\n\n------------------------------\n| DISCOVERED SCANNER DEVICES |\n------------------------------\n\nNo Scanner found.\n\n--------------------------\n| DISCOVERED USB DEVICES |\n--------------------------\n\nNo devices found.\n\n---------------------------------\n| INSTALLED CUPS PRINTER QUEUES |\n---------------------------------\n\n\nHP-LaserJet-Pro-MFP-M125ra\n--------------------------\nType: Unknown\nDevice URI: usb://HP/LaserJet%20Pro%20MFP%20M125ra?serial=CNB7GCJHZQ&interface=1\nPPD: /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd\nwarning: Failed to read /etc/cups/ppd/HP-LaserJet-Pro-MFP-M125ra.ppd ppd file\nPPD Description: \nPrinter status: printer HP-LaserJet-Pro-MFP-M125ra is idle. enabled since \xd0\xa7\xd1\x82 06 \xd0\xb8\xd1\x8e\xd0\xbd 2019 17:54:40\nwarning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.\n\n\n--------------\n| PERMISSION |\n--------------\n\nerror: Unsupported model: HP_LaserJet_Pro_MFP_M125ra\n\n\nChecking Permissions....\n\n\nChecking for …Run Code Online (Sandbox Code Playgroud) 以下是我与 HP 关于扫描仪的对话:
08/30/2013 07:34:15AM Agent (Janelle M.): "Hello, Ken."
08/30/2013 07:34:22AM ken schutter: "Hello"
08/30/2013 07:35:06AM Agent (Janelle M.): "Ken, I appreciate your interest in HP products."
08/30/2013 07:35:40AM ken schutter: "Hp is my preference for all printers because they work out of the box in linux."
08/30/2013 07:35:57AM Agent (Janelle M.): "I am very sorry to inform you though, however, our scanners and All-in-one printers with scanning capability do not support Linux anymore."
08/30/2013 07:36:32AM ken schutter: "Too …Run Code Online (Sandbox Code Playgroud) 我插入打印机,系统识别它,但是当我尝试打印某些东西时没有任何反应。
操作系统:Ubuntu 18.04 LTS
在 Ubuntu 12.04 中,打开打印机时系统会自动识别插件,但在 Ubuntu 14.04 中不会发生这种情况。
我希望有人告诉我可以轻松安装 HP Laserjet 1020 plus 驱动程序和插件的方法。