[cups] Sharing printers with specific networks
Zdenek Dohnal
zdohnal at redhat.com
Tue Jun 6 03:23:49 PDT 2017
Hi,
I tried to configure CUPS-2.2.0 to share printer queue with specific
network. I configured CUPS on server (Fedora virtual machine) this way:
1) I did this changes in cupsd.conf:
Listen server_ip_address:631
Browsing On
BrowsingLocalProtocol dnssd
<Location />
Order allow, deny
Deny all
Allow <network_prefix/mask>
</Location>
But when I try 'lpstat -a' from Fedora host machine, which is in
different subnet than it is defined in cupsd.conf, I see print queue
from virtual machine, which I don't want to see. I know that
avahi-daemon provides printer queue advertising. So is there any
settings/option in CUPS, which I can set, to set avahi-daemon for
advertising shared printer only for specific network (f.e. server is
connected to networks 1.2.3.4, 192.168.1.1 and I want to advertise
printer queue only for 192.168.1.1 net)? If it can, how can I configure it?
More information about the cups
mailing list