How to disable printer auto discovery?

My office have few printers, and I only setup printer for necessary use.

However I found that some printer is in the printer list when I printing. I did not setup those printer, and those printer not in CUPS printer list.

How to disable auto printer discovery in this case?

I have openSUSE LEAP 15.2

Thank you.

That is Avahi at work. :wink:

Some older threads on the same topic…
https://forums.opensuse.org/showthread.php/531996-Thunderbird-(52-8-0)-shows-non-existant-printers?highlight=avahi+printer+discoveryhttps://forums.opensuse.org/showthread.php/530664-Auto-Discovered-Network-Printer-Visible-in-GTK-Apps-But-Not-KDE-Qt?highlight=avahi+printer+discovery

Try YaST > System > System Services. Then look for avahi in thelist and switch it off.

It can be socket activated, so the service unit file needs to be disabled and masked to ensure that it remains inhibited permanently.

@jiunnyik:

Yes, it’s Avahi – as an alternative to simply disabling it – I know – “love it or, hate it … ” >:) – you could configure it …

  • ArchWiki here – <https://wiki.archlinux.org/index.php/Avahi>.
  • Install “avahi-utils” and take a look at the output of (normal user – no need for the user “root”) – “avahi-browse --all --ignore-local --resolve --terminate” …

thanks guys, i will try this.