If your hp printer in error state, then you should follow the below-mentioned step to resolve this problem. Here are the five simple steps to follow the instruction to fix it.

 

Step 1: Make ports settings changes. Press the Windows logo key + R on your keyboard > type devmgmt.msc and hit Enter to open the Device Manager. …

Step 2: Make sure that your printer is Online.

Step 3: Reinstall the printer driver.

Step 4: Set the Print Spooler service to automatic. 

Step 5: Update Windows.