How to keep cups from adding network printers

Kernels & Hardware, configuring network, installing services

How to keep cups from adding network printers

Postby JueShire » 2019-08-23 07:38

Dear all,
I have a problem with Bonjour and/or cups-browsed in Debian stable.
The package cups-browsed adds the additional feature of automatically browsing for shared remote printers in a network. I want to turn this feature off. But how?

I changed /etc/cups/cupsd.conf according to the manpage:

Code: Select all
# Show shared printers on the local network.
#Browsing On
#BrowseLocalProtocols dnssd
BrowseLocalProtocols none

Browsing No


In /etc/cups/cups.browsed I changed
Code: Select all
BrowseRemoteProtocols dnssd cups

in
Code: Select all
BrowseRemoteProtocols none

and I also activated
Code: Select all
BrowseLocalProtocols none


Unfortunately it had no effect. It is also not possible to remove the package cups-browsed because cups-daemon depends on it.
Any suggestions?

Kind regards
JueShire
Rome wasn't burnt in a day.
User avatar
JueShire
 
Posts: 6
Joined: 2008-10-04 20:26
Location: Frankfurt/ Hesse/ Germany

Re: How to keep cups from adding network printers

Postby ruwolf » 2019-08-28 04:43

Have you reloaded (or restated) the daemon after your changes?
User avatar
ruwolf
 
Posts: 392
Joined: 2008-02-18 05:04
Location: Slovakia, Banovce nad Bebravou, Matice slovenskej 1260/4-7

Re: How to keep cups from adding network printers

Postby JueShire » 2019-08-28 10:32

Of course.
Rome wasn't burnt in a day.
User avatar
JueShire
 
Posts: 6
Joined: 2008-10-04 20:26
Location: Frankfurt/ Hesse/ Germany

Re: How to keep cups from adding network printers

Postby nulix » 2019-08-28 14:17

Is it
Browsing No


or is it
Browsing Off


???


edit: according to https://www.cups.org/doc/man-cupsd.conf.html its like you wrote, but not what you are looking for.
nulix
 
Posts: 6
Joined: 2019-07-18 10:38

Re: How to keep cups from adding network printers

Postby shep » 2019-08-28 22:51

I think you want to look at cups-browsed.service and avahi-daemon.service
https://wiki.archlinux.org/index.php/CUPS#cups-browsed
shep
 
Posts: 306
Joined: 2011-03-15 15:22


Return to System configuration

Who is online

Users browsing this forum: No registered users and 16 guests

fashionable