
我使用的是基於 CentOS 7 的 Linux 系統,(3.10.0-957.el7.x86_64)
上面安裝了最少的軟體包,所有內容都僅透過命令列執行(不支援 GUI)。我正在嘗試使用施樂 Phaser 3260 印表機透過 USB(僅需要 USB,不需要乙太網路)。連接印表機時,它被偵測為 USB 設備,如執行命令時所示lsusb
,
-bash-4.2# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 046b:ff10 American Megatrends, Inc. Virtual Keyboard and Mouse
Bus 001 Device 007: ID 046b:ff31 American Megatrends, Inc.
Bus 001 Device 006: ID 046b:ff40 American Megatrends, Inc.
Bus 001 Device 005: ID 046b:ff20 American Megatrends, Inc.
Bus 001 Device 004: ID 046b:ff01 American Megatrends, Inc.
Bus 001 Device 003: ID 04d8:00de Microchip Technology, Inc.
Bus 001 Device 009: ID 0924:42d8 Xerox
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
但是,當我使用該lpinfo -v
命令時,未偵測到印表機:
-bash-4.2# lpinfo -v
network https
network http
network lpd
network socket
network ipp
network ipps
我檢查了系統上是否正在執行 CUPS:
Redirecting to /bin/systemctl status cups.service
● cups.service - CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-05-27 08:48:31 EDT; 15h ago
Main PID: 4892 (cupsd)
CGroup: /system.slice/cups.service
└─4892 /usr/sbin/cupsd -f
安裝的 RPM:
杯子:
cups-1.6.3-35.el7.x86_64
cups-libs-1.6.3-35.el7.x86_64
cups-client-1.6.3-35.el7.x86_64
cups-lpd-1.6.3-35.el7.x86_64
USB:
libusb-0.1.4-3.el7.x86_64
usbutils-007-5.el7.x86_64
libusbx-1.0.21-1.el7.x86_64
筆記:這Linux 印表機驅動程式也安裝了製造商 (Xerox) 的產品。