Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just bought a Canon MG5250 multifunction printer because I thought that it would work well with Ubuntu, but it's hard to get it to work.

How do I install this printer?

share|improve this question
Possible Duplicate? – Tom Brossman Aug 3 '12 at 6:00
possible duplicate of How can I install a Canon printer or scanner driver? – Fabby Mar 28 '15 at 9:46

I googled and found the instructions included below. The instructions worked: I now have a fully working printer with color and duplex! For B&W printing, follow Dahzler's answer.


  • How to get scanning to work! (I will put a link here to a solution when I figure it out! There seems to be at least one intimidating method for experts.)
    • The scanner seems to be recognized by Canon's scangearmp but not by Ubuntu's built-in simple scanner app that I much prefer. See further details in the scanner question linked above.

The below is copied from but I have adapted it slightly to be easier to follow.

OS: Xubuntu 11.04 Natty Narwhal
Date: Jul 25th, 2011

          Printer  Scanner  
USB       Perfect  Untested  
Wireless  Perfect  Perfect

Driver instructions:

  1. Download the driver files to Downloads folder:

  2. Unpack the tar.gz files by right clicking on them and selecting 'unpack here'

  3. Install the printer .deb packages by going into the folder and double clicking on the right .deb file for your system

    • 32-bit:
    • 64-bit:

    • Go to Application Menu > Printing > and search for a MG5200 printer if it has not been automatically added by now.

  4. Install the scanner .deb packages in the same way as the printer installers above:

    • 32-bit:
    • 64-bit:

    • If dpkg does not work then go into a command line and use the cd tool to change directory into the path were your unpacked files are, look for the file:

    • sudo sh

    Enjoy! :)


I ran a test print that printed a test page with Grayscale, Red, Green, Blue, Cyan, Magenta, Yellow, and Black colors with an ubuntu header.

share|improve this answer

To print in grayscale only, duplicate your original printer and rename the new one something like "MG5250-Black-and-White". Then, in the Properties->"Job Options"->"Other Options (Advanced"), add the option "CNGrayscale" and change the value to "true".

Then, when you want to print B&W (greyscale), just choose that printer instead. I set it as my default printer since B&W is what I print mostly.

share|improve this answer
There's a setting print-color-mode=color that I can set to monochrome instead, but when I click "Apply" it just reverts back to color. Your suggestion to actually add a new setting worked! I now have a true greyscale printer, as well as a color printer. Thank you! – Torben Gundtofte-Bruun Aug 20 '12 at 19:47

Under newer Ubuntu versions (checked with 13.10 and later), just install the cups-backend-bjnp package to use your Canon Pixma MG520 via network. The Printer settings dialog will then find it when you tell it to add a new printer, and offer a Gutenprint driver to set it up.

share|improve this answer
this solved my problem today, thanks! – RasmusWriedtLarsen Mar 18 '15 at 17:42
Verified for Linux Mint 17.1, should work for Ubuntu 14.04 LTS As Well – ThorSummoner May 31 '15 at 3:42

There's even a PPA you can use, it is as simple as this:

sudo add-apt-repository ppa:michael-gruz/canon
sudo apt-get update

sudo apt-get install cnijfilter-common
sudo apt-get install cnijfilter-mg5200series
share|improve this answer

The name of the PPA has changed. I've used this on Precise and Saucy.

sudo add-apt-repository ppa:michael-gruz/canon-trunk
sudo apt-get update
sudo apt-get install cnijfilter-common
share|improve this answer

I have a Canon MG5250. I had downloaded the .deb files from Canon's site but these installed driver version 3.4 which gave me limited functionality (e.g. only supported 600dpi). Having followed a mix of advice on this page (thank you!) I now have driver version 3.9 which supports up to 2400dpi amongst other features. Here's what I entered into a terminal:

sudo add-apt-repository ppa:michael-gruz/canon-trunk
sudo apt-get update
sudo apt-get install cnijfilter-common
sudo apt-get install cnijfilter-mg5200series

I tried it without the last line and only got driver version 3.4.

Scanner - following the above has got the scanner to work, but only using Canon's utility (not Simple Scan) and only on wirelessly connected devices (my net-book). It doesn't work on my desktop PC which the printer is connected to (USB).

share|improve this answer

I know this is an old thread, but I think that still many users may be interested in this:

It's possible to make the Canon PIXMA MG5250 working with SimpleScan and others via SANE. The solution is to add the device to the PIXMA SANE service.

  1. Add your PIXMA device to /etc/sane.d/pixma.conf

  2. To enable SANE, change the respective line in /etc/default/saned to

  3. Start SANE.

    sudo service saned start
  4. Use the SANE-based scanning tool you like. Both SimpleScan and XSANE are working for me.

share|improve this answer

I got this printer working on Ubuntu 16.04 Xenial (and it should also work for Vivid).

Unfortunately, there is no Xenial driver for the Canon Pixma MG5200 series (I have an MG5220). However, Michael Gruz's Utopic package works fine. Therefore, after adding his repo, you need to manually update it to point to the utopic repository. Here's how:

sudo bash
add-apt-repository ppa:michael-gruz/canon-trunk
sed -i 's/xenial/utopic/' /etc/apt/source.list.d/michael-gruz-ubuntu-canon-trunk-xenial.list
apt-get update
apt-get install cnijfilter-mg5200series-64

(That installs the 64 bit version. There's also a ...-32 version available.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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