Hi
I have a brother printer too. And my use case also was to print ādirectlyā to nextcloud, which is not that easy because my brother only supports ftp or mail too. here is what I did:
https://www.dev-metal.ch/?p=720
Itās in german but maybe this helps 