Hey There, I am Sofia Carter. Well, the HP printer in error state problem occurs due to operating system issues or unplugged USB cable. Other aspects involved are issues in a wireless connection, wired connection, or printer driver problems. To solve this error, you can try to Run Troubleshooter from the device manager and then check the Wi-Fi or Ethernet cable connection. After that, you need to update the printer driver software from support.hp.com and click Support then select download printer driver software. Go to the download folder, run the installer, follow the on-screen instructions, and complete it. Hopefully, you will solve the HP printer in error state issue.