To resolve the error state issue of the hp printer, you need to change ports settings. For it, you have to press the Windows key and R simultaneously and type devmgmt.msc and then press the enter key to open Device Manager. Ensure, your printer is online. Reinstall printer driver. For more information, use HP Printer Support .