[cups] Sharing printers with specific networks
Michael Sweet
msweet at apple.com
Tue Jun 6 04:18:44 PDT 2017
Currently there is no way to restrict where cupsd advertises DNS-SD services. In theory cupsd could try to figure out network interfaces from allow/deny lines which would at least allow it to limit advertisements to specific network interfaces - if you would like to see that functionality please file an issue at:
https://github.com/apple/cups/issues
> On Jun 6, 2017, at 6:23 AM, Zdenek Dohnal <zdohnal at redhat.com> wrote:
>
> 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?
>
>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups
_________________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups
mailing list