Has this always been an issue with this printer or is this a new problem? I ask because in searching HP forums on this problem, it seems to be a common issue. See:
Go into the Device manager on the computer and disable the ability to conserve power on the USB port/ports/hubs
I found and unchecked the power management control box on the USB ports. I will find out if it helps.
Control panel/system/hardware/device manager/usb control/usb root hub/power management.
If you've tried the above and downloaded/installed the latest software/drivers for this printer - this is likely a known problem with this printer. In which case, you need to contact HP directly and see if they have a solution.