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.
This May Work,
Peter