The HP printer keeps going offline , simply indicates that your printer cannot communicate with the network or due to the unstable dynamic IP address of the printer. The offline Printer error also occurs due to misconfigured wireless router or improper configuration by the internet service provider. To fix the error, you need to set the static/stable ISP – get the printer's IP address from the network configuration report and then type it on your computer browser. Now click Networking > Wireless > IPv4 . After that set the manual IP settings, enter the IP address and DNS entry in the desired field, now click Apply and restart your printer and router. Hopefully, the problem is resolved.