If your printer’s status displays “Printer in error state,” there may be a problem with the printer itself.
Make sure the printer is turned on and connected to your PC by Wi-Fi or cable. Check it for low paper or ink, and be sure the cover isn’t open and the paper isn’t jammed.
Make sure the printer is turned on. You can also restart both the printer and your computer.
Check if the printer is connected to your computer or WI-FI network.
Make sure the paper tray of your printer is loaded and that the printer has enough ink.
If the error still occurs, contact the HP printer support.
HP printer in error state means there is some problem with your printer and you cannot take any printouts. You can notice the HP printer in error state when there is driver issue, or cartridge problem or ink related issues, any kind of problem affecting the printer device. The HP printer in Error state can be solved only with the help of certified technicians, as when printer is in error state and code is not defined it is hard to find the right solution for the problem creating the error. So, best way to fix this error code is read external blogs and fix them by yourself.