Linux搭建打印服务器

admin
2022-10-14 / 0 评论 / 8 阅读 / 正在检测是否收录...

1.安装p910nd

apt install p910nd

2.插上USB, dmesg检查是否连接

[ 1966.857496] usb 2-1: new full-speed USB device number 3 using ohci-platform
[ 1967.045264] usb 2-1: New USB device found, idVendor=09c5, idProduct=0588
[ 1967.045287] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1967.051636] usblp 2-1:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x09C5 pid 0x0588

3.编辑文件 vi /etc/default/p910nd

# Printer number, if not 0
P910ND_NUM="0"
# Additional daemon arguments, see man 8 p910nd
P910ND_OPTS="-f /dev/usb/lp0"


# Debian specific (set to 1 to enable start by default)
P910ND_START="1"

4.生效配置

sudo systemctl restart p910nd
reboot

5.参考链接

0

评论 (0)

取消