以下是在CentOS上使用LibOffice打印的設置指南:
sudo yum install libreoffice cups
。/etc/cups/cupsd.conf
,添加Listen 0.0.0.0:631
和Allow all
,然后重啟CUPS服務,命令為sudo systemctl restart cups
和sudo systemctl enable cups
。http://localhost:631
或https://<CentOS IP地址>:631
,使用管理員賬號登錄,在CUPS Web界面中點擊“Add Printer”,按提示完成打印機添加。