Printers
Canon TS6351
Unable to scan, error code 'Code5,157,69'
I had this printer connected to my Wifi network, and printing was seldom a problem, but when I tried to scan using "IJ Scan Utility" I often got errors such as "Code5,157,69", "Code5,157,200" etc. I tried everything such as reinstalling latest drivers, I allowed the applications through the firewall etc, but it would simply not work. I had no issues reaching the printers IP from a web browser to get information on ink levels etc.
The error does indicate that the Wifi connection is bad. I launched my Unifi center to try and fix this. I realized that the printer was connected to the Wifi access point farthest away from the printer itself which was also the weakest one. I rebooted the printer but it still only connected to the same access point. I tried setting the Unifi center to lock the access point to another one, but then the printer failed to connect to Wifi altogether. I re-eanbled the printer to connect to any access point again in Unifi center and started looking at the printer itself.
I realized that when I choose to connect manually to Wifi, and I selected by SSID, the printer stated "There are multiple access points for this Wifi, do you want to connect to all or only a single one?". I choose to connect to "All" and then the printer AGAIN connected to the weakest access point. There must be some kind of issue in the Wifi roaming implementation of this printer. The solution was to manually check with my phone (using Wifi Analyzer) which access point that had the strongest signal at the location where the printer was, noted down the MAC of that access point, and in the printer Wifi setup, I choose to only connect to one single access point, and choose the MAC for the strongest one. Tada, everything works and I am able to scan without issues again!