Welcome to the HP support community.
Remove the ink cartridges, and reset the printer
Remove the ink cartridges from the printer.
With the printer turned on, disconnect the power cord from the printer.
Unplug the power cord from the power source.
Wait at least 60 seconds.
Reconnect the power cord to a wall outlet and to the printer.
NOTE:
HP recommends plugging the printer directly into a wall outlet.
Turn the printer on.
Reinsert the ink cartridges, and then close the ink cartridge access door.
If you receive a prompt to print a calibration or alignment page, do so.
You can refer this HP document for more assistance:- Click here
Let me know how it goes.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Cheers.