This might help:
https://neilzone.co.uk/2023/11/a-web-ui-for-label-creation-and-printing-on-a-brother-ql-710w-on-linux/
I have used a roll of pre-sized labels rather than a continuous roll of label paper, but the slicer works, so I suspect that this is "just" a config thing.