First, start with turning off the printer.
Second, go for unplugging the USB cable of the printer and the system.
Wait, patiently for some minutes.
Now, again try to plug in the cable properly on the printer.
Go for switching on the HP Printer and open the cover of the printer.
You need to power on the central unit and connect the USB cable to the printer.
Lastly, you need to close the cable to proceed with the procedure.
Greeting,
J Wick