If your printer’s displays “HP Printer in error state,” there may be a issue with the printer itself.
Make sure printer is turned on and connected to your device (PC) by Wi-Fi or cable. This error number might appear for a variety of reasons, but the most common cause is a recent software change, such as a Windows update, that disrupts communication between your system and the attached printer.
Bookmarks to fix HP Printer in Error State click here :-
https://printerssupport365.blogspot.com/2021/11/new-highlighted-bookmarks-to-fix-hp.html