So please consult the manual that came the device or contact Brother Support for instructions in doing this. Without knowing the exact model of your Brother printer, it is difficult to offer specific instructions for this, as many models have specific steps to do this. So enter your printer’s settings console, accessible either on the printer itself or through the printer management program that was installed during the device’s setup, and adjust the printer’s sleep settings to ensure it’s not set to wake when your computer is idle. Often, printers have sleep settings that run independently of your computer’s settings.
Once you've confirmed the machine is free infections, then make sure the printer is not causing your computer to wake from sleep mode.