I could get rid of the auto browsing/adding with the following:

firstly stop cups:
   sudo service cups stop

then
   sudo gedit /etc/cups/cups.conf
(or using any other editor) and comment...
   ## browselocalprotocols dnssd

save and close

then
   sudo gedit /etc/cups/cups-browsed.conf
and set
   GreateIPPPrintersQueues to No or LocalOnly
as described above
save and close

then stop avahi
   sudo service avahi-daemon stop
then
   sudo gedit /etc/avahi/avahi-daemon.conf

and insert or uncomment the following line:
   enable-dbus=no

save and close

now restart the services

sudo service cups start
sudo service avahi-daemon start

You may have to go on and delete all undesirable printers, one by one,
three clicks for each (why they make this so hard? In the campus there
are hundreds of printers!). You should not see the printers being re-
added as before.

Final test: restart your system and see the list of printers in
Settings.

Good luck
Jorge Sampaio

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to cups-filters in Ubuntu.
https://bugs.launchpad.net/bugs/1753509

Title:
  avahi-daemon adds/installs every printer on network

Status in cups-filters package in Ubuntu:
  Expired

Bug description:
  When connected to a network, avahi-daemon adds & installs all printer
  on a network without being prompted.  This is not desired behaviour.
  Discovery of the printers is good, but not automatic installation &
  addition.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: avahi-daemon 0.6.32~rc+dfsg-1ubuntu2
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  Uname: Linux 4.13.0-36-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Mar  5 09:29:05 2018
  InstallationDate: Installed on 2017-09-29 (157 days ago)
  InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: avahi
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1753509/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to