The F166 error often indicates a temporary firmware crash. To resolve:
You have two real options:
This is the safest way to ensure you are getting malware-free, up-to-date software. Canon Printer F166 400 Driver