Arch linux:
pacman -S ipp-usb
systemctl enable --now ipp-usb
Run the following command to list available printer URIs:
lpinfo -v
Add printer URI:
sudo lpadmin -p brother_usb_ipp -E -u allow:all -v "ipp://Brother%20HL-L2350DW%20series%20(USB)._ipp._tcp.local/" -m everywhere
Open http://localhost:631/printers/brother_usb_ipp
Modify printer model to Generic IPP printer.
It should print fine now.