Notes for printing and scanning with the Brother DCP-L2540DW. Tested on Debian GNU/Linux (Bullseye), but should work on any cups-based system.

Scanning:

  • 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.