So many times, I have seen people dealing with the hp printer offline problem due to the network communication problem. so I will suggest you to check for the printer software and get your problem resolved by following the instructions given below.
1. Power off your printer and wait for one...