I have a Canon MFC642 have the drivers installed from the Canon website. Pages are printed off-center. I tested to make sure it wasn't a hardware issue by printing from different sources and they are all fine.

Also the scanner does not work. I imagine there are no supported Linux drivers.

Please how can I troubleshoot these issues?

Device URI: ipp://printer.local:631/ipp/print

I'm running:

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.5 LTS
Release:    18.04
Codename:   bionic

EDIT: Output from airscan

$ scanimage -L
device `airscan:e0:Canon MF642C/643C/644C (a5:a7:ce)' is a eSCL Canon MF642C/643C/644C (a5:a7:ce) eSCL network scanner

$ airscan-discover 
  Canon MF642C/643C/644C (a5:a7:ce) =, eSCL
  Canon MF642C/643C/644C (a5:a7:ce) =, WSD
  • please add the settings used to print. could it be set to align left or have a larger printing border on one side. This might be an issue with default setting as it sometimes makes sense to leave some space for punching holes on the left. – totalynotanoob Oct 8 '20 at 23:50
  • All defaults. There are no settings for page offset – drum Oct 9 '20 at 1:18
  • What "sources" are you referring to in "printing from different sources and they are all fine"? When are they not fine? – xiota Oct 9 '20 at 4:16
  • I can give you a solution to the scanning issue but it is dependent on the device being connected by wireless. Is it? If not - could it be? – brian_p Oct 9 '20 at 11:00
  • @xiota By sources I meant printing from Android, Windows, USB. These all print fine. When printing from Xubuntu, it is messed up – drum Oct 9 '20 at 13:07

This is a solution for scanning over a wireless connection on Ubuntu 18.04. It also should work with wireless and USB connections on Ubuntu 20.04.

Download and install sane-airscan

The file needed is here

sane-airscan is part of Debian unstable and Ubuntu Groovy and regarded as a very competent driverless scanning utility for modern scanners.

I would appreciate knowing if you can now scan and having the outputs of scanimage -L and airscan-discover.

  • Oh wow. This did the trick for the scanner! Thanks a bunch. – drum Oct 9 '20 at 15:13
  • @drum Glad to have helped. The info I requested would be good to have because it will benefit other users. – brian_p Oct 9 '20 at 16:07

This a solution for printing that does not use the Canon drivers. Set up a print queue with

lpadmin -p PRINTER_NAME -v URI -E -m everywhere

PRINTER_NAME can be anything you choose but URI has to be ipp://printer.local:631/ipp/print.

I would test first with

lp -d PRINTER_NAME /etc/nsswitch.conf

and move on to a file that has previously printed off-center.

  • Why don't you combine your answers with separate sections for printing and scanning? – xiota Oct 11 '20 at 5:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.