Setup Brother Printer on Debian HOWTO  
The Brother printer drivers included within CUPS (Common Unix Printing System) don't always work as well as they should. To get the Brother printer to work perfectly with Linux, it's necessary to install the Brother drivers. This can be done easily as follows.
Download and Install the CUPS Driver from Brother
Find your Brother printer here:
https://support.brother.com/g/s/solutions/linux/en_us/
Click on “Downloads” and select “Linux deb”. Then, download the “Driver Install Tool”. Unzip it and make it executable:
gunzip linux-brprinter-installer-2.2.1-1.gz
chmod u+x linux-brprinter-installer-2.2.1-1
Then execute it at the prompt:
./linux-brprinter-installer-2.2.1-1
Type the name of your printer eg. “MFCL2740DW” and follow the instructions. When asked for an IP address (for the scanner), provide the IP number of the printer.
Change the Default Settings and Permissions Using CUPS
Then, edit the file /etc/group:
sudo vi /etc/group
Add your username (eg. robert) to the group lpadmin:
lpadmin:x:114:robert
Then with your browser go the address
http://localhost:631/
And go to “Administration”, then “Manage Printers”, and setup the defaults for the printer MFCL2740DW that was installed by the script. Also make sure you set the printer as the server default.
09.11.19
Find the Ports Used for Printing and Scanning
To find out which ports your brother printer is using to print or scan, scan a long document or print a long document and while the document is printing/scanning type the following at the prompt:
netstat -a > netstat.out
Open netstat.out using geany or some other editor and search for a line including a string starting with brn such as
tcp        0      0 CLEO:59700              brn3c2af42ed801.c:54921 ESTABLISHED
This means the port that is used on the printer to scan is TCP/54921.
10.20.20
PDF 1✕1 2✕1 2✕2
$\pi$