This issue can happen due to power outages. To start with, you can manually delete all the printing job file, now in the windows search bar, type services.msc and hit enter. Scroll through the list of services and search for Printer Spoolers, right click on it and select Stop. After the printer spoolers service has been stopped go to your printer folder C:\windows\system32\spool\printers and delete all the files inside the printers folder. Restart your computer and your printer and try printing again. Hope it helps
Your HP printer may not be correctly responding to the commands. You need to do a hardware check. The fix requires you to check the device’s physical connections. Prior to this, you can turn it off. Later, you can start it and give the device any command. The device may no longer remain in the no response state.
You will also be suggested to try out other fixes for the issue such as the ones on this link: https://www.errorsdoc.com/hp/fix-hp-printer-not-responding-issue/