I have a Canon ImageCLASS MF445dw wireless printer that uses the recently updated (and still in unstable channel)
canon-cups-ufr2 driver. CUPS detects the printer quite readily, and I’m able to add the correct driver, but when it tries to send a file, CUPS can’t locate printer:
"Unable to locate printer "Canon7603ea.local"."
Canon7603ea.local is the printer’s network name (I believe this hostname is generated from its UUID). However,
avahi is able to resolve this hostname OK, and although
getent hosts can be slow to obtain a match, I can ping the hostname successfully:
$ avahi-resolve --name Canon7603ea.local Canon7603ea.local 192.168.0.182 $ time getent hosts Canon7603ea.local 192.168.0.182 Canon7603ea.local real 0m10.008s user 0m0.002s sys 0m0.001s $ ping Canon7603ea.local PING Canon7603ea.local (192.168.0.182) 56(84) bytes of data. 64 bytes from 192.168.0.182 (192.168.0.182): icmp_seq=1 ttl=64 time=99.5 ms 64 bytes from 192.168.0.182 (192.168.0.182): icmp_seq=3 ttl=64 time=38.1 ms 64 bytes from 192.168.0.182 (192.168.0.182): icmp_seq=4 ttl=64 time=60.3 ms
The reverse query with
avahi does time out, however:
$ avahi-resolve --address 192.168.0.182 Failed to resolve address '192.168.0.182': Timeout reached
CUPS does seem to be able to communicate with the device OK, at least in a limited way (e.g., reports a low toner message, which is correct), but doesn’t seem to be able to correctly spool jobs. I’ve tried printing test pages, usually with the response above. Every once in a while CUPS will report successful job completion of one of these tests, although there is never any activity at the printer, and the printer’s own web page shows no jobs were sent. This leads me to believe that there is some sort of timing issue with CUPS. The printer works fine from other (Mac, Windows) machines.
I did see a note on NixOS printing wiki mentioning a problem with
mdns not working properly with
IPv6 , but the printer and router are not even set up for
IPv6 (I did try the suggested fix anyway without success). Anyway, I’d be grateful of any suggestions of what to try next.