Simple-scan cannot see LAN Brother MFC-9840CDW

Hello I was having similar problems, printer work and recognise the machine, but no LAN/WIFI scanning. I am using Ubuntu 20.04 on a laptop. Printer is Brother DCP-L2520DW

I downloaded & installed the drivers from Brother for my DCP-L2520DW from here
https://support.brother.com/g/b/downloadlist.aspx?c=eu_ot&lang=en&prod=dcpl2520dw_us_eu&os=128#SelectLanguageType-566_0_1

Both Scanner Driver and Scanner Setting File Driver.

I set my Printer with a static IP on the WIFI router, i.e. 192.168.1.140

Then I follow these instructions (on the driver download pages)

  1. Download the driver.

  2. Login as a superuser (or use "sudo" option if required) .

  3. Install the driver.

  4. Turn on your MFC/DCP and connect the USB cable.

  5. Open the terminal and go to the directory where the driver is.

  6. Install the scanner driver.
    4.Command (for dpkg) : dpkg -i --force-all (scanner-drivername)*

  7. Check if the driver is installed.

5.Command (for dpkg) : dpkg -l | grep Brother*

  1. For Network Users:
    ***Use brsaneconfig (for brscan models), brsaneconfig2 (for brscan2 models), brsaneconfig3 (for brscan3 models), brsaneconfig4 (for brscan4 models IUSED THIS FOR MY PRINTER ) or brsaneconfig5 (for brscan5 models) accordingly.

Add network scanner entry
Command :
brsaneconfig4 -a name=(name your device) model=(model name) ip=xx.xx.xx.xx

Confirm network scanner entry
Command :
brsaneconfig4 -q | grep (name of your device)

Open a scanner application and try a test scan.

Disconneted the USB Cable and ..... IT RECOGNISE THE scanner both on Xsane and in Document Scanner.

Cheers
Fabrizio