A printer shows offline when the computer loses communication with it.
An offline status is almost always a communication failure, not a hardware fault.
A real power cycle is more than tapping the power button.
Windows has a manual toggle that puts a printer offline, and it sometimes gets stuck on after a failed print job.
The Print Spooler is the Windows service that manages every job heading to your printer.
Read the complete breakdown, fixes and what happens next.