Ensure your printer and computer are connected to the same 2.4GHz Wi-Fi network. The Canon F166 400 does not support 5GHz bands.
To download the driver for the Canon F166 400 printer, follow these steps: Download Driver Printer Canon F166 400