我使用的是基于 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) 的产品。