Following check out what steps you need to follow:
Open System Preferences.
Click to select your printer (the brother printer offline on Mac).
Look at the bottom of the list, click the [-] button (to remove the printer).
Wait for a few seconds.
Now, click [+] button in the same window (to add the printer again).