How do I disable automatic printer discovery in Ubuntu 20.10?
I already tried this suggestion that includes these commands:
sudo systemctl stop cups-browsed
sudo systemctl disable cups-browsed
But executing both of them does not disable the automatic printer discovery in Ubuntu 20.10.
The printer I am using is the Brother MFC-J5330DW and it is connected to the same LAN as my Ubuntu system. When I go into the Settings section and there under Printers, the printer is automatically added with the name "Brother_MFC_J5330DW". If I delete it, then leave the printers section and return again, the printer is back with the same name. And for some reason I cannot use it for printing neither. When I use this printer entry the printer does not react at all. My guess is that Ubuntu has some issues with this automatic printer discovery protocol (i.e. Bonjour or what its name is). For this I manually created a printer entry that works perfectly. The only thing now is that I find myself having two entries for the same printer - one that works and another useless one that does not.
How can I prevent Ubuntu or rather CUPS to automatically add printers without my concent?
apt purge avahi-daemon
. To not add printers as local queues:apt purge cups-browsed
. – brian_p Feb 08 '21 at 20:28