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