答案1
“发布连接到该系统的共享打印机”选项是指Server
->Settings...
对话框中的选项system-config-printer
:
/etc/cups/cupsd.conf
它更改了(在 Ubuntu 18.04 上)中的以下设置
# Only listen for connections from the local machine.
Listen localhost:631
Listen /run/cups/cups.sock
# Disable printer sharing.
Browsing Off
DefaultAuthType Basic
WebInterface Yes
<Location />
# Restrict access to the server...
Order allow,deny
</Location>
到
# Allow remote access
Port 631
Listen /run/cups/cups.sock
# Share local printers on the local network.
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
WebInterface Yes
<Location />
# Allow shared printing...
Order allow,deny
Allow @LOCAL
</Location>
当启用时。
答案2
通常,cups 管理是在浏览器中完成的。尝试网页http://localhost:631/
。这是通过, 和/etc/cups/cupsd.conf
行启用的。看。WebInterface Yes
Port 631
man cupsd.conf