Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: Sharing specific printers only for specific network #5020

Closed
zdohnal opened this issue Jun 6, 2017 · 6 comments
Closed

RFE: Sharing specific printers only for specific network #5020

zdohnal opened this issue Jun 6, 2017 · 6 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@zdohnal
Copy link
Contributor

zdohnal commented Jun 6, 2017

Hi,
IMO it would be good to have option to share printer queue only in specific network - it means avahi-daemon will advertise the printer only in this specific network. I'll look into it and I'm willing to cooperate on it.

@michaelrsweet
Copy link
Collaborator

For reference, the mailing list discussion talked about using allow/deny lines to determine which network interfaces should be used for Bonjour advertisements. Alternately we could add a BrowseInterface directive to specify the interface to use (which would apply to all printers).

@michaelrsweet michaelrsweet self-assigned this Jun 6, 2017
@michaelrsweet michaelrsweet added the enhancement New feature or request label Jun 6, 2017
@michaelrsweet michaelrsweet added this to the Future milestone Jun 6, 2017
@zdohnal
Copy link
Contributor Author

zdohnal commented Sep 22, 2017

Enhancing allow/deny option to divide created printers into groups by interfaces sounds good. BrowseInterface directive is not compatible with idea of "specific" printer.

@tillkamppeter
Copy link

For a per-printer approach we would need some option in the printers.conf entry of the printer, for example "dnssd-interfaces=eth0,wlan0,lo" to advertise the printer only on eth0, wlan0, and lo but not on any other interface and a blacklist-style option like "no-dnssd-interfaces=eth1,eth2" to advertise a printer on all interfaces but eth1 and eth2.
But global (for all printers) options foir selecting the interfaces to advertise on (like BrowseInterface) in cups-browsed.conf would also be a nice feature.

@tillkamppeter
Copy link

tillkamppeter commented Jul 9, 2018

The GNOME project is currently workin on a GUI to configure printer sharing and would like if CUPS had the functionality to choose interfaces to share the printer to individually per printer.
See https://bugzilla.gnome.org/show_bug.cgi?id=692532

@michaelrsweet
Copy link
Collaborator

@tillkamppeter There is no support for per-printer or per-server configuration of a Bonjour/DNS-SD network interface, nor do we have plans to do so anytime soon.

@michaelrsweet
Copy link
Collaborator

We have decided this will not be added to CUPS, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants