linux:debian:brother-printer
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:debian:brother-printer [2022/01/11 18:00] – [Unwanted Printer discovery] oscar | linux:debian:brother-printer [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Installation Printers in Debian ====== | ||
| - | ===== Brother driver installation ===== | ||
| - | Download the " | ||
| - | https:// | ||
| - | |||
| - | The current Brother driver is a 32-bit version and will give error during installation | ||
| - | (Package ia32-libs is not available). This package is depreciated and needs to be replaced by alternative. | ||
| - | |||
| - | apt-get install lib32z1 | ||
| - | apt-get install cups | ||
| - | |||
| - | ===== Unwanted Printer discovery ===== | ||
| - | The printer selection dialog of GTK applications is populated by *directly* by Avahi receiving DNS-S, mDNS broadcasts of the remote print server and IPP printers. Whether cups is running or not, this is what happens. In fact, neither CUPS nor cups-browsed is required for the GTK print dialog to function as designed. It does not install print queues. The displayed printers (which are not queues) often do not even print. This is a bug in GTK. A user can do nothing about it. | ||
| - | |||
| - | The following options are available to suppress this unwanted behavior: | ||
| - | |||
| - | ==== 1. Disable mDNS protocol on printer ==== | ||
| - | The easiest way to fix the problem is to disable the mDNS protocol in each of the network printers! This will stop printers announcing themselves. | ||
| - | |||
| - | ==== 2. Disable Avahi completely ==== | ||
| - | Avahi enables plug-n-play network devices to connect automatically. Since we do not appreciate this we could disable avahi completely: | ||
| - | < | ||
| - | sudo systemctl stop avahi-daemon.service | ||
| - | sudo systemctl disable --now avahi-daemon.service | ||
| - | sudo systemctl mask avahi-daemon.service | ||
| - | |||
| - | sudo systemctl stop avahi-daemon.socket | ||
| - | sudo systemctl disable --now avahi-daemon.socket | ||
| - | sudo systemctl mask --now avahi-daemon.socket | ||
| - | </ | ||
| - | In order to re-enable it again: | ||
| - | < | ||
| - | sudo systemctl unmask avahi-daemon.service | ||
| - | sudo systemctl enable --now avahi-daemon.service | ||
| - | sudo systemctl start avahi-daemon.service | ||
| - | |||
| - | sudo systemctl unmask --now avahi-daemon.socket | ||
| - | sudo systemctl enable --now avahi-daemon.socket | ||
| - | sudo systemctl start avahi-daemon.socket | ||
| - | </ | ||
| - | |||
| - | ==== 4. Limit Avahi deamon ==== | ||
| - | As alternative to completely kill avahi, we can block it from processing mDNS broadcasts. | ||
| - | < | ||
| - | nano / | ||
| - | </ | ||
| - | In the [server] section, adapt the following: | ||
| - | < | ||
| - | enable-dbus=no | ||
| - | |||
| - | or | ||
| - | |||
| - | use-ipv4=no | ||
| - | use-ipv6=no | ||
| - | </ | ||
| - | Then restart the avahi-daemon service. | ||
| - | ==== 3. Stops CUPS browsing ==== | ||
| - | In addition to stopping avahi, we can also stop CUPS from browsing for printers: | ||
linux/debian/brother-printer.1641924011.txt.gz · Last modified: (external edit)
