我已经从 16.04 升级到 20.04,我的 HP 打印机/扫描仪 Laserjet pro m479fdw 不再工作。使用 wifi direct 时,它可以正常工作,但使用我的家庭网络时,它就不再工作了。当我运行 16.04 时,我安装了 hplip-3.21.2.run。因此,当我升级到 20.04 时,由于它不起作用,我安装了 hplip-3.21.8.run。但结果相同。我卸载了它,然后使用 Synaptic,我安装了所有 hplip 包,但结果相同。我尝试按照 youtube 上的一些教程操作,特别是安装适当的 python 文件,因为我收到了有关它的错误消息,但我确信我破坏了我的系统。Cups 给我错误,有时它似乎停止了。运行“hp-doctor”,这些是我收到的错误消息:(我必须删除大部分输出,因为我无法发布所有内容,我的消息被视为垃圾邮件):
hp-doctor
HP Linux Imaging and Printing System (ver. 3.20.3)
Self Diagnse Utility and Healing Utility ver. 1.0
Checking for Deprecated items....
No Deprecated items are found
Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility
Checking for Dependencies....
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 GNU/Linux
Host: celtes15
Proc: 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 GNU/Linux
Distribution: ubuntu 20.04
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 20.04 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.20.3
Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.20.3
Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 10/13/21 06:37:27
version = 3.20.3
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------------------------
| External Dependencies |
-------------------------
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.50 OK -
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.29 OK -
dbus DBus - Message bus system REQUIRED - 1.12.16 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.20.3 OK -
avahi-utils avahi-utils OPTIONAL - 0.7 OK -
------------------------
| General Dependencies |
------------------------
libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - OK -
cups-image CUPS image - CUPS image development files REQUIRED - - OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.31' OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
sane SANE - Scanning library REQUIRED - - OK -
sane-devel SANE - Scanning library development files REQUIRED - - OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.8 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.8.10 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
python3-xml Python XML libraries REQUIRED - 2.2.9 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.8.10 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 8.3.2 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.6.1 OK -
--------------
| COMPILEDEP |
--------------
libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 9.3.0 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -
---------------------
| Python Extentions |
---------------------
cupsext CUPS-Extension REQUIRED - 3.20.3 OK -
hpmudext IO-Extension REQUIRED - 3.20.3 OK -
----------------------
| Scan Configuration |
----------------------
hpaio HPLIP-SANE-Backend REQUIRED - 3.20.3 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.20.3 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
device `hpaio:/net/HP_LaserJet_300_colorMFP_M375nw?ip=192.168.0.22' is a Hewlett-Packard HP_LaserJet_300_colorMFP_M375nw all-in-one
device `escl:https://192.168.1.22:443' is a ESCL HP Color LaserJet Pro M478f-9f [D68EE1] SSL flatbed scanner
device `escl:http://192.168.1.22:8080' is a ESCL HP Color LaserJet Pro M478f-9f [D68EE1] flatbed scanner
device `hpaio:/net/HP_LaserJet_300_colorMFP_M375nw?ip=192.168.0.22' is a Hewlett-Packard HP_LaserJet_300_colorMFP_M375nw all-in-one
device `escl:https://192.168.1.22:443' is a ESCL HP Color LaserJet Pro M478f-9f [D68EE1] SSL flatbed scanner
device `escl:http://192.168.1.22:8080' is a ESCL HP Color LaserJet Pro M478f-9f [D68EE1] flatbed scanner
--------------------------
| DISCOVERED USB DEVICES |
--------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Type: Unknown
Device URI: lpd://BRW001FE1CA01C1/BINARY_P1
Type: Printer
Device URI: hp:/net/HP_LaserJet_300_colorMFP_M375nw?ip=192.168.0.22
Required plug-in status: Installed
error: Unable to communicate with device (code=12): hp:/net/HP_LaserJet_300_colorMFP_M375nw?ip=192.168.0.22
error: unable to open channel
error: Communication status: Failed
Type: Fax
Device URI: hpfax:/net/HP_LaserJet_300_colorMFP_M375nw?ip=192.168.0.22
Required plug-in status: Installed
error: Unable to communicate with device (code=12): hpfax:/net/HP_LaserJet_300_colorMFP_M375nw?ip=192.168.0.22
error: unable to open channel
error: Communication status: Failed
--------------
| PERMISSION |
--------------
Missing Required Dependencies
-----------------------------
error: 'libcups2' package is missing or 'cups' service is not running.
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
Missing Optional Dependencies
-----------------------------
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (fm)'s password:
Checking Permissions....
Checking for Configured Queues....
No Queue added
warning: No Queue(s) configured.
Checking for HP Properitery Plugin's....
Plugin's already installed
Checking for Printer Status....
error: '' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor
Diagnose completed...
由于该计算机是笔记本电脑,我将它带到不同的地方,而那两台打印机/传真机 HP Laserjet 300 则在其他地方。
当我想要安装 HP 479fdw 打印机时,收到一条错误消息:
--
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
error: No device selected/specified or that supports this functionality.
我可以毫无问题地 ping 它。
因此,如果有人有想法并有一步一步的流程来实现它,那将会有很大的帮助。谢谢