How to install Canon MX340 on Linux Mint 10 64bit "Julia"

Write tutorials here
There are more tutorials here
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
Level 1
Level 1
Posts: 2
Joined: Tue Nov 23, 2010 3:39 pm

How to install Canon MX340 on Linux Mint 10 64bit "Julia"

Post by theuns »

I thought i would share my experience to install the Canon MX340 multi function printer on Linux Mint 10 "Julia", maybe someone will benefit from this.

Before i bought the Canon MX340, i checked if there is any linux drivers available for the model, and there was drivers available at

1.Went through the printer instructions for a wifi setup and connect it via wifi to a adsl router.
2.Downloaded the drivers from and extracted the tarballs in a directory of your choice.
3.Open a terminal and change directory where the files where downloaded to.
4.extract the cnijfilter-mx340series-3.30-1-i386-deb.tar.gz tarball, with the following comand in the terminal

Code: Select all

tar -zxvf cnijfilter-mx340series-3.30-1-i386-deb.tar.gz
5.The will not work because this is a 64bit OS and it will give a error message.
6.Issue the next command in the terminal ,

Code: Select all

cd cnijfilter-mx340series-3.30-1-i386-deb/packages
7. Then Issue the following

Code: Select all

sudo dpkg -i –force-all *.deb
8.Then to go back to the directory where the file where downloaded

Code: Select all

cd ../../
9.For the scanning utility issue the following command

Code: Select all

tar -zxvf scangearmp-mx340series-1.50-1-i386-deb.tar.gz

Code: Select all

cd scangearmp-mx340series-1.50-1-i386-deb/packages
11.then issue the command

Code: Select all

sudo dpkg -i –force-all *.deb
12.Ok, the drivers are now installed

The drivers are 32bit and I experienced the following issues when printing.
I went through the normal procedures to detect and add a network printer, and added the Canon printer detected. When printing the “Test Page” , the print job is send to the print queue, and after a few seconds you get a print error and you get the option to diagnose the problem.
I am not sure if the diagnose option is a Mint or driver functionality.
When choosing to diagnose, you are using a wizard like application that, let you choose the printer that you are using , in this case Canon MX340, then print a “Test Page”, again get the printer error, and then to activate debugging, when doing this it gives you the error log as the output.
When looking at the error log you can see that somewhere during the printing process, its trying to load the shared object file, and that it could not find it.
The message in the error log I got looked like this.
“Canon-MX340-series: error while loading shared libraries: cannot open shared object file: No such file or directory”

The reason for this is, the OS is looking in /lib32 for the and not in the /lib directory, because the driver is a 32bit driver.

To fix this problem you need to install the package that contain the lib32 version of the file.
Issue the following command in the terminal.

Code: Select all

sudo apt-get install ia32-libs
Then the problem should be solved.

To use the scanning utility you should first install or add the printer, the run the command scangearmp , you also can insert a menu item under Graphics (like i did) if you wish, to use the utility from the menu's

Happy printing and scaning

Level 1
Level 1
Posts: 1
Joined: Mon Jul 04, 2011 2:58 pm

Re: How to install Canon MX340 on Linux Mint 10 64bit "Julia

Post by marknigh »

Thank you for posting this. I have been testing Ubuntu releases and have to reinstall drivers on each install. One thing I did notice was that the sudo dpkg -force-all command had been causing an error. Apparently it wasn't a game changer because I successfully installed the drivers each time. I finally looked into it and I guess you have to have two dashes in front of "--force". It seems if you spell out the whole word, you need the extra dash. Like I said, it may not have changed anything in the functionality but those little error messages just get under my skin.
Thanks again,

Post Reply

Return to “Tutorials”