I haven't faced the problem yet but preparing for future. :/
https://educatorpages.com/site/neiltaylorss/pages/how-to-connect-brother-printer-to-laptop