Install Canon MF4350 CUPS printer drivers in 64-bit Ubuntu Linux

Printing in Linux has certainly improved over the years, but there are still plenty of quirks to deal with. I love my Canon MF4350 printer, but 64-bit Ubuntu, including derivatives, such as Linux Mint, and other Debian-based distribution, doesn’t native drivers. Likewise, the various details to get the drivers working are often spread out among various articles on the Internet. In the spirit of trying to consolidate this information in one place, here are the steps that I used to get the MF4350 working on Ubuntu 12.04 LTS (and Linux Mint 13).

  1. Download the latest Linux UFRII drivers from the Canon support site.  As of this writing, the latest version is 2.40 and the US version of the drivers are available here.  (If that link is broken, try the generic MF4350 support page here.)
  2. Extract the drivers from the downloaded file.  From the Terminal, you can extract them using this command:
tar xvf Linux_UFRII_PrinterDriver_V240_us_EN.tar.gz
  1. The drivers only include RPM packages for the 64-bit drivers, so we must install the alien package to convert the RPM package into a Debian .deb package which will install in Ubuntu/Linux Mint/Debian.  In the terminal, run this command:
sudo apt-get install alien
  1. At the terminal, change to the directory with the 64-bit driver RPM packages (e.g., Linux_UFRII_PrinterDriver_V240_us_EN/64-bit_Driver/RPM) and run these commands:
sudo alien --to-deb --scripts cndrvcups-common-2.40-2.x86_64.rpm
sudo alien --to-deb --scripts cndrvcups-ufr2-us-2.40-2.x86_64.rpm
  1. These drivers also require that the i386 (32-bit) standard Linux libraries are installed.  To install them, at the terminal, run this command:
sudo apt-get install libc6-i386 ia32-libs lib32z1
  1. Now we are ready to actually install the Canon MF4350 drivers.  Returning to the terminal in the directory where the .deb package files that we converted from RPMs using the alien utility, run the following two commands:
sudo dpkg -i cndrvcups-common_2.40-2_amd64.deb
sudo dpkg -i cndrvcups-ufr2-us_2.40-2_amd64.deb
  1. Launch the CUPS administrative interface http://localhost:631/admin/ to install and configure your printer.  You will be able to select Canon MF4320-MF4350 ver.2.4 as the appropriate printer type under the Canon printer category.
  2. Finally, after installing your printer, you will need to create a link to the printer filter file, since it actually is installed in the 64-bit library directory (/usr/lib64), but Ubuntu looks for it in the 32-bit library directory (/usr/lib).  Run this command at the terminal:
sudo ln -s /usr/lib64/cups/filter/pstoufr2cpca /usr/lib/cups/filter/pstoufr2cpca

Happy printing! And feel free to leave any questions or comments below.

Advertisements