安装 CUPS
- 首先要安装 CUPS:
pacman -S cups ghostscript gsfonts
- 设置为开机启动:
systemctl enable org.cups.cups
安装 HPLIP 驱动
- 安装 HPLIP:
pacman -S hplip
- 安装后不需要运行 hp-setup 进行设置, cups 会自动安装相关驱动。
安装打印机
- 重启 cups 服务:
systemctl restart org.cups.cups
- 安装 system-config-printer 管理打印机:
pacman -S system-config-printer
- 以根用户身份启动 system-config-printer ,单击安装按钮,按照向导一步步安装打印机即可。