How to Setup Canon MG5370 printer-scanner in Ubuntu 20.04?

Solution 1:

I will tackle scanning first. Printing later. The assumption is that the device is connected to the network.

On Ubuntu 21.04 a user would be given sane-airscan by default. You will have to go here and then move on to download a Debian package from here. Install the package and execute scanimage -L and airscan-discover. Post the outputs back to us.

  • The MG5730 is an oldish printer in technical terms. However, it is likely to understand the WSD protocol
  • For scanning on USB I would normally recommend ipp-usb, but I do not think it will work with this device.

For printing the network URI is

dnssd://Canon%20MG5300%20series._printer._tcp.local/?uuid=urn:uuid:00000000-0000-1000-8000-8887178XXXXX

and the USB URI is

usb://Canon/MG5300%20series?serial=20EE62&interface=1

Now install printer-driver-gutenprint and do lpinfo -m | grep MG5730. The PPD begins gutenprint and ends with expert.

Execute lpadmin -p PRINTER_NAME -v URI -E -m PPD, substituting what you have for URI and PPD. PRINTER_NAME can be what you want, for example, 5730. Test printing with lp -d PRINTER_NAME /etc/nsswitch.conf.