Why Is My HP Printer Offline?
Check Printer Driver - Remove or Update Outdated Version
Also, Whenever your HP printer says offline, always consider these factors-
In case of a wireless connection, always ensure that you printer and computer are on same Wi-Fi network. To know more about connecting your HP printer to the wireless network, click here.
Once the HP printer is configured in the computer, always reboot your system so that the settings of HP printer can be saved.
Paper jams, low ink levels, voltage fluctuations, lack of compatibility are other reasons that may cause your printer to go offline.
Check Your Wire Connection When HP Printer Goes Offline.
Cheers,
J Wick