我使用大约一个月前推出的 Debian 测试系统。办公室里有一台 Brother DCP 9022 CDW 可通过网络使用。
使用 Kubuntu 24.04 live stick,无需任何进一步的操作即可使用打印机。一旦我连接到 LAN,就会检测到打印机,然后我就可以打印测试页。我甚至不必自己添加它。
我怀疑差异可能是缺少软件包。因此,我比较了apt list --installed
Kubuntu Live 和 Debian Testing 报告的已安装软件包列表。不幸的是,这没有帮助。为了防止我遗漏了什么,我列出了仅在 Kubuntu 上可用的软件包列表:
alsa-base
amd64-microcode
appmenu-gtk3-module
appmenu-gtk-module-common
apport
apport-core-dump-handler
apport-kde
apport-symptoms
bluez-cups
bpfcc-tools
bpftrace
busybox-initramfs
busybox-static
calamares
calamares-settings-kubuntu
calamares-settings-ubuntu-common
casper
cifs-utils
clinfo
command-not-found
cpp-13
cpp-13-x86-64-linux-gnu
cracklib-runtime
cups-bsd
dbus-x11
desktop-file-utils
dhcpcd-base
distro-info
dmeventd
dmraid
dolphin-plugins
dracut-install
e2fsprogs-l10n
ed
elisa
enchant-2
ethtool
fcitx5
fcitx5-chinese-addons
fcitx5-chinese-addons-bin
fcitx5-chinese-addons-data
fcitx5-config-qt
fcitx5-data
fcitx5-frontend-all
fcitx5-frontend-gtk3
fcitx5-frontend-gtk4
fcitx5-frontend-qt5
fcitx5-frontend-qt6
fcitx5-material-color
fcitx5-module-chttrans
fcitx5-module-cloudpinyin
fcitx5-module-fullwidth
fcitx5-module-lua
fcitx5-module-lua-common
fcitx5-module-pinyinhelper
fcitx5-module-punctuation
fcitx5-modules
fcitx5-pinyin
fcitx5-pinyin-gui
fcitx5-table
ffmpeg
finalrd
firmware-sof-signed
fonts-ibm-plex
fonts-katex
fonts-noto-hinted
fonts-ubuntu
freerdp2-x11
friendly-recovery
ftp
fwupd-signed
gcc-13-base
gdb
genisoimage
gir1.2-udisks-2.0
gnupg-agent
go-mtpfs
grub-gfxpayload-lists
grub-pc
grub-pc-bin
grub-theme-breeze
gstreamer1.0-pipewire
haruna
hdparm
hplip
hplip-data
humanity-icon-theme
hyphen-en-ca
hyphen-fi
hyphen-ga
hyphen-id
ibverbs-providers
ieee-data
im-config
info
initramfs-tools-bin
inputattach
iputils-tracepath
jfsutils
kaccounts-integration
kcharselect
kde-config-fcitx5
kde-config-gtk-style-preview
kde-config-plymouth
kde-config-tablet
kde-config-whoopsie
kdegames-card-data-kf5
kdegames-mahjongg-data-kf5
kdenetwork-filesharing
kerneloops
keyboxd
keyutils
kio-admin
kio-audiocd
kio-fuse
kio-gdrive
kmahjongg
kmines
konversation
konversation-data
kpartx
kpartx-boot
kpat
krdc
ksudoku
ksystemlog
kubuntu-desktop
kubuntu-installer-prompt
kubuntu-notification-helper
kubuntu-settings-desktop
kubuntu-wallpapers
kubuntu-web-shortcuts
kuserfeedback-doc
kwin-addons
kwin-decoration-oxygen
lame
language-pack-en
language-pack-en-base
language-selector-common
libabsl20220623t64
libaio1t64
libappindicator3-1
libappmenu-gtk3-parser0
libatm1t64
libavcodec60
libavdevice60
libavfilter9
libavformat60
libavutil58
libbabeltrace1
libbpfcc
libburn4t64
libc6-dbg
libcanberra0t64
libc-devtools
libcdio-cdda2t64
libcdio-paranoia2t64
libchm1
libclang1-18
libclang-cpp18
libcmark0.30.2
libcrack2
libcupsfilters2-common
libcupsfilters2t64
libdbus-glib-1-2
libdevmapper-event1.02.1
libdmraid1.0.0.rc16
libenchant-2-2
libestr0
libfastjson4
libfcitx5config6
libfcitx5core7
libfcitx5gclient2
libfcitx5-qt1
libfcitx5-qt6-1
libfcitx5-qt-data
libfcitx5utils2
libfreecell-solver0
libfreerdp2-2t64
libfreerdp-client2-2t64
libgl1-amber-dri
libgnustep-base1.29
libgpg-error-l10n
libgstreamer-plugins-good1.0-0
libheif-plugin-aomdec
libibverbs1
libicu74
libime-bin
libimecore0
libime-data
libime-data-language-model
libimepinyin0
libimetable0
libimobiledevice6
libinih1
libisoburn1t64
libisofs6t64
libjpeg8
libjpeg-turbo8
libjs-katex
libjxl0.7
libkcolorpicker0
libkf5baloowidgets-data
libkf5cddb5
libkf5compactdisc5
libkf5guiaddons-bin
libkf5js5t64
libkf5kdegames7
libkf5kdegames-data
libkf5kdelibs4support5
libkf5kmahjongglib5
libkf5pulseaudioqt3
libkf5sane5
libkf5sane-data
libkf5sysguard-bin
libkimageannotator0
libkpim5gapicore5
libkpim5gapi-data
libkpim5gapidrive5
libksanecore1
libksignalplotter9
libkubuntu1
libldap2
liblept5
libllvm18
liblsofui9
liblua5.3-0
liblvm2cmd2.03
libmarisa0
libmng2
libmpv2
libmujs3
libmusicbrainz5cc2v5
libneon27t64-gnutls
libnetplan1
libnotify-bin
libolm3
libolm-dev
libopencc1.1
libopencc-data
libpam-cap
libpcre3
libplacebo338
libpoppler134
libpoppler-cpp0t64
libpostproc57
libppd2
libppd2-common
libpwquality1
libpwquality-common
libqalculate22t64
libqapt3
libqapt3-runtime
libqt5hunspellinputmethod5
libqt5location5
libqt5location5-plugins
libqt5positioning5-plugins
libqt5positioningquick5
libqt5serialport5
libqt5xmlpatterns5
libqt6dbus6t64
libqt6gui6t64
libqt6network6t64
libqt6opengl6t64
libqt6waylandeglclienthwintegration6
libqt6waylandeglcompositorhwintegration6
libqt6widgets6t64
libquotient0.7
librav1e0
libre2-10
libroc0.3
libsane-hpaio
libsignon-extension1
libsixel1
libsnapd-glib-2-1
libsnapd-qt-2-1
libsource-highlight4t64
libsource-highlight-common
libssh-gcrypt-4
libsvtav1enc1d1
libswresample4
libswscale7
libtaskmanager6
libtesseract5
libtraceevent1
libtraceevent1-plugin
libtracefs1
libunibreak5
libuniconf4.6t64
libusbmuxd6
libvncclient1
libwhoopsie0
libwhoopsie-preferences0
libwinpr2-2t64
libwireplumber-0.4-0
libwvstreams4.6t64-base
libwvstreams4.6t64-extras
libx265-199
libxcb-ewmh2
libxcb-imdkit1
libxpresent1
libyaml-cpp0.8
linux-firmware
linux-generic
linux-headers-6.8.0-31
linux-headers-6.8.0-31-generic
linux-headers-generic
linux-image-6.8.0-31-generic
linux-image-generic
linux-modules-6.8.0-31-generic
linux-modules-extra-6.8.0-31-generic
linux-sound-base
linux-tools-6.8.0-31
linux-tools-6.8.0-31-generic
linux-tools-common
localechooser-data
lshw
lvm2
memtest86+
mesa-utils
mesa-utils-bin
mtr-tiny
neochat
netcat-openbsd
netplan-generator
netplan.io
networkd-dispatcher
network-manager-openconnect
network-manager-pptp
numactl
okular-extra-backends
openconnect
openoffice.org-hyphenation
p7zip-full
pastebinit
pcmciautils
phonon4qt5settings
pinentry-qt
pkexec
plasma-calendar-addons
plasma-discover-backend-snap
plasma-discover-notifier
plasma-distro-release-notifier
plasma-theme-oxygen
plasma-workspace-wallpapers
plocate
plymouth-theme-breeze
plymouth-theme-kubuntu-logo
plymouth-theme-kubuntu-text
plymouth-theme-spinner
plymouth-theme-ubuntu-text
policykit-desktop-privileges
powermgmt-base
power-profiles-daemon
ppa-purge
pptp-linux
python3-apport
python3-asn1crypto
python3-bpfcc
python3-commandnotfound
python3-dbus.mainloop.pyqt5
python3-distro-info
python3-distupgrade
python3-gdbm
python3-launchpadlib
python3-markdown
python3-markdown-it
python3-mdurl
python3-mechanize
python3-mutagen
python3-netaddr
python3-netifaces
python3-netplan
python3-problem-report
python3-pycryptodome
python3-rich
python3-systemd
python3-typing-extensions
python3-update-manager
python3-websockets
python3-xkit
python3-yaml
qapt-batch
qapt-deb-installer
qml-module-org-kde-kaccounts
qml-module-org-kde-kirigami-addons-components
qml-module-org-kde-kirigami-addons-delegates
qml-module-org-kde-kirigami-addons-labs-components
qml-module-org-kde-kquickimageeditor
qml-module-org-kde-notifications
qml-module-org-kde-qqc2breezestyle
qml-module-qtlocation
qml-module-qtpositioning
qml-module-qtquick-xmllistmodel
qml-module-sso-onlineaccounts
qml-module-ubuntu-onlineaccounts
qtspeech5-flite-plugin
qtvirtualkeyboard-plugin
reiserfsprogs
rfkill
rsyslog
samba-dsdb-modules
sbsigntool
secureboot-db
session-migration
signond
signon-kwallet-extension
signon-plugin-password
signon-ui-service
signon-ui-x11
skanlite
skanpage
snapd
spice-vdagent
squashfs-tools
strace
sysstat
systemd-hwe-hwdb
systemd-resolved
tcpdump
telnet
thermald
thin-provisioning-tools
time
tnftp
trace-cmd
ubuntu-drivers-common
ubuntu-kernel-accessories
ubuntu-keyring
ubuntu-minimal
ubuntu-mono
ubuntu-pro-client
ubuntu-pro-client-l10n
ubuntu-release-upgrader-core
ubuntu-release-upgrader-qt
ubuntu-standard
ufw
unattended-upgrades
update-manager-core
update-notifier-common
usb-creator-common
usb-creator-kde
user-setup
uuid-runtime
vim
vim-runtime
vpnc-scripts
vulkan-tools
wayland-utils
wbritish
whoopsie
whoopsie-preferences
wvdial
xfsprogs
xinput
xorriso
xserver-xorg-video-qxl
yt-dlp
我该怎么做才能让它在 Debian Testing 上使用?我想避免安装 Brother 的驱动程序,因为 Kubuntu 不需要它。
根据文档,Brother DCP 9022 DCW 支持 IPP,并使用 Bonjour/mDNS 来发布自身信息。这意味着 CUPS 应该会自动检测打印机,并且无需明确配置即可打印到打印机,除非传入端口 UDP/5353 的数据包被阻止。
如果您已将 nftables/iptables/firewalld/ufw 应用于系统,请确保该端口未受阻止。可能还需要明确允许传入的 SNMP 响应(即源端口号为 161 的 UDP 数据包),以允许 CUPS 检查打印机状态。
对于实际打印,到打印机的 TCP 端口 631(IPP)的传出连接应该可以解决问题;但通常默认允许这样做。