Hey There, I am Anna Carter. There can be a variety of different underlying causes that leads to HP printer offline. The first and the foremost cause can be that the printer will be in sleep mode or switched off. This happens when the printer is off the main power connection. To fix this issue, you need to check the power line wire. To elaborate, check whether the power cord wire has gone loose. If yes then tighten it.