3

After upgrading from Ubuntu 13.04 to 14.04 the system printing dialog shows printers I never installed:

enter image description here

"Farblaser" and "Laser" are printers I installed, the other two show up out of nowhere. Neither the CUPS web interface nor system-config-printer shows them, even with View/Discovered Printers enabled. Browsing Off is already in the CUPS config file. Printing dialogs other than the system one, e.g. Libreoffice (sic), don't show them either.

As it turns out, these are two network printers in our LAN. I can send print jobs to them, even though printing a PDF from evince results in the the PDF binary being printed -- ouch.

Following this answer, it's clear where the printer names come from; avahi-browse -a | grep Printer finds our network printers and assigns them IDs of the form [BDxxxx] which match the printer names (which I partly blurred out).

Disabling a whole service with multiple uses seems like overkill. How can I disable this behaviour of the printing dialog?

Raphael
  • 2,052

1 Answers1

2

As stopping the avahi-daemonor inserting enable-dbus=nointo the avahi-daemon.conf did not help (16.04), we disabled the daemon on the interface which points to the network where the printers reside by adding deny-interfaces=<interface>to the [server] section of the config-file.

We could only do it because we do not need any avahi functionality there.