У меня есть принтер HP 2540, который корректно работал в 18.04, но не в 20.04.
Я попытался установить HPLIP от Hp (версия 3.20.9), но получил следующие предупреждения и ошибки:
warning: Missing REQUIRED dependency: pyqt5 (PyQt 5- Qt interface for Python (for Qt version 4.x))
warning: Missing OPTIONAL dependency for option 'gui_qt5': pyqt5-dbus (PyQt 5 DBus - DBus Support for PyQt5)
warning: Missing OPTIONAL dependency for option 'gui_qt5': python-notify (Python libnotify - Python bindings for the libnotify Desktop notifications)
warning: Missing OPTIONAL dependency for option 'fax': reportlab (Reportlab - PDF library for Python)
warning: Missing OPTIONAL dependency for option 'scan': pil (PIL - Python Imaging Library (required for commandline scanning with hp-scan))
warning: This installer cannot install 'pil' for your distro/OS and/or version.
error: Package install command failed with error code 100
Затем я удалил HPLIP, как предлагает этот ответ Как установить последний HPLIP на моем Ubuntu для поддержки моего принтера и/или сканера HP? и установить hp-plugin без успеха. Принтер добавлен, но он отображается как занятый или "Ошибка связи с устройством"
Также сканирование не работает.
Я не знаю, как теперь обрабатывать.
Нашел это решение на ubuntuusers.de:
apt show ippusbxd
Package: ippusbxd
Version: 1.34-2ubuntu1
Priority: extra
Section: comm
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Printing Team <debian- printing@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 110 kB
Provides: cups-filters-ippusbxd
Depends: libavahi-client3 (>= 0.6.16), libavahi-common3 (>= 0.6.16), libc6 (>= 2.15), libcups2 (>= 1.7.0), libusb-1.0-0 (>= 2:1.0.16), libxml2 (>= 2.7.4)
Recommends: system-config-printer-udev
Conflicts: cups-filters-ippusbxd
Replaces: cups-filters-ippusbxd
Enhances: cups
Homepage: https://github.com/OpenPrinting/ippusbxd
Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, kubuntu- full, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
Download-Size: 36,0 kB
APT-Sources: http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
Description: Daemon for IPP USB printer support
ippusbxd is a userland driver for USB devices supporting the IPP USB
specification. It enables these USB printers to be seen as regular
network IPP printers.
Похоже,
sudo apt purge ippusbxd
решает проблему.