Page 1 of 1

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

Posted: Thu Nov 25, 2010 2:24 pm
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
http://software.canon-europe.com/products/0010835.asp

1.Went through the printer instructions for a wifi setup and connect it via wifi to a adsl router.
2.Downloaded the drivers from http://software.canon-europe.com/products/0010835.asp 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 install.sh 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
10.then

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 libpopt.so.0 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: libpopt.so.0: cannot open shared object file: No such file or directory”

The reason for this is, the OS is looking in /lib32 for the libpopt.so.0 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 libpopt.so.0 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

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

Posted: Mon Jul 04, 2011 4:51 pm
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,
Mark