Your printer may go to error state due to corrupt or faulty drivers. If your printer is in an error state then make sure your HP printer drivers are up to date. You should get latest drivers for your printer. For technical assistance, you can contact support desk at any time
https://hprinterofficial.com/b....log/hp-printer-in-er