Hey There, I am Sofia Carter. If you find that your HP printer keeps going offline, your printer may be either off or in sleep mode. However, the issue may be resolved. To fix the problem, you must work on certain elements of the printer. The first and most important thing you can do is check the power line connection. Turn off the printer and the computer and reconnect after a minute or so.