Hi,
Here is advice from HP Community Forums.
Click on Start > go to Control Panel > choose Printers > Right Click on your printer and make sure that there is no check mark on the “Use Printer Offline” option. This should put your printer back online.
As a worst scenario, uninstall then reinstall your Printer using the Drivers and information at this HP website.
Put in your Printer Model number there for that information and troubleshooting steps for it.
http://www8.hp.com/us/en/support-drivers.html
Cheers.