There are so many ways to resolve the issue such as
default password for hp printer you need to just follow some basic steps that are mentioned here:
With the printer turned on, remove the ink cartridges. Disconnect the power cord from the printer. Unplug the power cord from the wall outlet. Wait at least 15 seconds.