Brother DCP-L2540DW under Debian GNU/Linux (Bullseye)
Notes for printing and scanning with the Brother DCP-L2540DW. Tested on Debian GNU/Linux (Bullseye), but should work on any cups-based system.
Downloaded drivers from here: http://support.brother.com/g/b/downloadlist.aspx?c=us&lang=en&prod=dcpl2540dw_us_as&os=128
- NB: had to download both: “LPR printer driver (deb package)” and “CUPSwrapper printer driver (deb package)”.
Install both pacakges. It automatically installs the printer in Cups.
- Download “Scanner driver 64bit (deb package)” from the above download page.
- Install the deb package.
Then I had to run this command (as root/sudo), since I run the printer on the network:
/usr/bin/brsaneconfig4 -a name=Brother model='DCP-L2540DW' ip=192.168.1.123
where 192.168.1.123 is the IP address of the printer.
After that “simple-scan” was able to detect the printer. Scanning from the tray worked fine.
The IP can be displayed on the printer itself, using the menu options. More information is available if we connect directly to the printer’s IP address from a browser.
Author Mathieu Lu