How to Install a Canon MF8040Cn Printer on Ubuntu 12.04. No help from Canon who say they support linux but don't even have a driver download on their site!
For 14.04 through 16.04 do the following:
untar it to a directory. from that directory (assuming 64-bit, adjust as you need to)
cd ~/Downloads gunzip -c Linux_UFRII_PrinterDriver_V320_us_EN.tar.gz | tar xvf - cd Linux_UFRII_PrinterDriver_V320_us_EN/64-bit_Driver/Debian/ sudo apt-get -y install libglade2-0 libc6:i386 lib32z1 libxml2:i386 libjpeg62:i386 libstdc++6:i386 cd 64-bit_Driver/Debian sudo dpkg -i *.deb
run add printer .. should just show up automatically when you click the 'Add' button .. give it a few seconds and the printer chirps then just magically shows up.
EDIT 3/2/15 for Vivid (15.04) (I suspect may need for 14.10 as well on brand new installation):
Added extra software dependencies to the above
EDIT 12/18/15 for 15.10 everything worked using above steps. Also, I didn't have to reboot .. it just worked.
EDIT 2/27/16 (16.04beta) Updated the link to the 3.10 driver (they updated their website). Everything just worked using above, didn't need to reboot.
This guide is for installing a Canon MF8000C series printer on Ubuntu 12.04. I'm using 64-bit ubuntu plus MF8040Cn but the guide should hopefully work for any printer in the series (and maybe even others).
As an alternative to this guide, Bob Vincent has also written shell scripts (32 & 64 bit) that people seem to use successfully. Downloadable from this thread which has more background info: https://bugs.launchpad.net/ubuntu/+bug/502920?comments=all
Here it goes...
Step 1 - Download driver (rpm - non ubuntu package) The first challenge is to find the latest version of the UFR II driver for linux. I found it by searching for a similar printer on canon asia:
Step 2 - Extract identify the drivers Open the downloaded file in the archive manager and extract it to the desktop. Then open up a terminal and do the following:
or similar if this was not your exact version
If you are running 32-bit, change to 32-bit instead of 64-bit (You can tell you're running 64-bit in the "System Monitor")
Step 3 - Covert the .rpm files to .deb so that ubuntu can install them
sudo apt-get install alien
Install the alien application that will convert the files for you
sudo alien --to-deb --scripts cndrvcups-common-2.50-1.x86_64.rpm sudo alien --to-deb --scripts cndrvcups-ufr2-uk-2.50-1.x86_64.rpm
Repackage to deb (ubuntu installation files)
sudo dpkg -i cndrvcups-common_2.50-2_amd64.deb sudo dpkg -i cndrvcups-ufr2-uk_2.50-2_amd64.deb
Install the deb files
Step 4 - Ensure Apparmor (security app) does not block using of the printer (seems necessary for 12.04 and after)
sudo gedit /etc/apparmor.d/local/usr.sbin.cupsd
This opens the apparmor config file you need to change. Add the following to it and close the text editor again:
/usr/lib64/cups/backend/cnusb Uxr, /usr/lib64/cups/filter/pstoufr2cpca Uxr,
ln -s /usr/lib64/lib* /usr/lib/x86_64-linux-gnu/
64-bit only - ensure libraries are found
sudo apt-get install libjpeg62:i386
Install libjpeg, don't know why but people say you should do it and it works...
sudo /etc/init.d/apparmor restart
Restart apparmor to read new config.
Step 5 - Install your new network printer (start the printer and connect the network cable to your network first :)) Open ubuntu's printer application and choose add. Expand the network printer area. If you're lucky your printer appears automatically, if not you can search for it by IP, if you don't know the IP of your printer, you can get that from printer info through the printer lcd (see manual for details)
I installed successfully the Canon ImageClass MF4770n on 14.04 64-bit. I followed Kristofer instructions but you need to install the ia32-libs. Just follow Mike instruction from this link: https://stackoverflow.com/questions/23182765/how-to-install-ia32-libs-in-ubuntu-14-04-lts. Do not forget to change the repository to http://old-releases.ubuntu.com/ubuntu/ like Tim Wu said in his comment.