[SOLVED] Can't seem to get Canon printer to work (linux)

I'm fairly new to linux. I know some bits and pieces here and there, but am still very noobish. I just bought a new printer--Canon MG621--and thought everything was working fine, until I tried to print and my printer did nothing. The printer shows up under "printers" as the default printer and I can select it when I am trying to print something but then nothing happens. I tried downloading and installing the drivers from Canon's website, but I couldn't get it to work.

This is what I tried, from what I found for searching google, but it didn't work:

~/Downloads/cnijfilter2-5.20-1-rpm$ sudo su -c "./install.sh"

Canon Inkjet Printer Driver
Version 5.20
Copyright CANON INC. 2001-2015

==================================================
Command executed = rpm -Uvh ./packages/cnijfilter2-5.20-1.x86_64.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed dependencies:
/bin/sh is needed by cnijfilter2-5.20-1.x86_64
cups is needed by cnijfilter2-5.20-1.x86_64
libc.so.6()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libcups.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libcupsimage.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libdl.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libpthread.so.0()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libusb-1.0.so.0()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libxml2.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by cnijfilter2-5.20-1.x86_64
rtld(GNU_HASH) is needed by cnijfilter2-5.20-1.x86_64

I'm running Ubuntu Gnome 15.04 64bit.

http://ubuntuhandbook.org/index.php/2013/07/canon-drivers-for-ubuntu-and-linux-mint/
This might help

If your running stock ubuntu gnome an rpm file isn't going to work you need a .deb file or a .tar file

1 Like

This is where I got my drivers. Not sure what canon printer you have. Should be there.
https://www.canon.co.uk/support/consumer_products/product_ranges/printers/pixma/

I followed this old thread and it helped.
http://ubuntuforums.org/showthread.php?t=1802858

You may or may not need this but I got an error for not having libtiff4 installed.
ftp://ftp.us.debian.org/debian/pool/main/t/tiff3/

Follow the middle link and that should help out. You should need the Source File. Just the Driver itself.

Oh and hope that helps you out.

Oh and you'll want the .deb files, NOT .rpm being that you are on Ubuntu.

1 Like

I ran

sudo ./install.sh

just like the guide stated but get this output still:

Command executed = rpm -Uvh ./packages/cnijfilter2-5.20-1.x86_64.rpm
rpm: RPM should not be used directly install RPM packages, use Alien instead!
rpm: However assuming you know what you are doing...
error: Failed dependencies:
/bin/sh is needed by cnijfilter2-5.20-1.x86_64
cups is needed by cnijfilter2-5.20-1.x86_64
libc.so.6()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libc.so.6(GLIBC_2.7)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libcups.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libcupsimage.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libdl.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libpthread.so.0()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libusb-1.0.so.0()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libxml2.so.2()(64bit) is needed by cnijfilter2-5.20-1.x86_64
libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by cnijfilter2-5.20-1.x86_64
libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by cnijfilter2-5.20-1.x86_64
rtld(GNU_HASH) is needed by cnijfilter2-5.20-1.x86_64

I found a guide on converting a .rpm to a .deb but it didn't work. It said it was an "unknown type of package". The file isn't a .rpm, it is -rpm, does that make a difference?

The file I downloaded off of Canon's website was cnijfilter2-5.20-1-rpm.tar.gz I extracted that and then tried to work from the extracted folder. Did I do that wrong?

Do you mean MG6210?

It looks like the newer MG series of printers are paperweights. https://www.openprinting.org/printers/manufacturer/Canon/

Im not sure where you got the drivers from because even canon doesn't have drivers for that printer. https://www.usa.canon.com/internet/portal/us/home/support/details/printers/support-inkjet-printer/mg-series/pixma-mg6120/

I'd highly recommend just going out and buying a new printer that works on all OS'

I managed to find the proper .deb file from the shop.canon site, not the driver and support site that came up in my google search. Then the guide you posted worked just fine. Thanks for your help everyone.

2 Likes