If your Canon printer in error state then you have to follow the below mentioned step to fix it:
1. Make port settings changes. Press the Windows logo key + R on your keyboard > type devmgmt.msc and hit Enter to open the Device Manager. …
2. Make sure that your printer is Online. …
3. Reinstall the printer driver. …
4. Set the Print Spooler service to automatic. …
5. Update Windows.