Since I rarely print at home, My Canon Pixma MP145 has been sitting in a corner of my room collecting dust. The Pixma MP145 is a multifunction inkjet printer, with a flatbed scanner unit attached on top.
So anyway, I have been successful in installing the printer on previous version of ubuntu, and it worked flawlessly I might add. Just today, when such need arise, I plugged the usb cord to my 36FG. The printer is automatically detected by Lucid Lynx, but… not driver is available for the unit.
So I headed to Canon Asia’s Linux support page for the MP140., and they were cool enough to provide a .deb files for my printer 🙂 I downloaded several files:
- IJ Printer driver Common package
- IJ Printer driver MP140 package
- ScanGear common package
- ScanGear MP140 package
Normally, once all the files above finished downloading, all you have to do is just double click each files, enter your password, and the driver will install itself automatically. But unfortunately, that’s not the case. I encountered an error when trying to install the IJ Printer driver common package:
Selecting previously deselected package cnijfilter-common. (Reading database ... 234024 files and directories currently installed.) Unpacking cnijfilter-common (from cnijfilter-common_2.80-1_i386.deb) ... dpkg: dependency problems prevent configuration of cnijfilter-common: cnijfilter-common depends on libcupsys2 (>= 1.2.1); however: Package libcupsys2 is not installed. dpkg: error processing cnijfilter-common (--install): dependency problems - leaving unconfigured Errors were encountered
Bummer. But this is strange, since in most cases, GDebi will automatically install any dependencies required to install a package. SO I tried to install libcupsys2 manually, with the following result:
surfer@m5-m3:~/Downloads$ sudo apt-get install libcupsys2 Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting libcups2 instead of libcupsys2 libcups2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
So it seems that the libcupsys2 package has been superseded by libcups2, and the repository no longer provide a dummy translation package for libcupsys2. How do we fix this? Easy. Just download the dummy package from here. Double click the freshly downloaded libcupsys2 package to install it to your system. Next step is to install the four packages that I have downloaded previously. Just double-click each package, make sure that you install the common package first, then the MP140 one.
Update@2011-04-13
If you’re on AMD64/X86_64 platform, install the drivers by opening a terminal window, and do the following:
sudo dpkg -i --force-architecture cnijfilter-common_2.80-1_i386.deb
sudo dpkg -i --force-architecture scangearmp-common_1.10-1_i386.deb
sudo dpkg -i --force-architecture cnijfilter-mp140series_2.80-1_i386.deb
sudo dpkg -i --force-architecture scangearmp-mp140series_1.10-1_i386.deb
Plug the printer to one of the available USB port, turn it on. To setup the driver, head to System > Administration > Printing. Press the Add button. The MP145 will be listed as Canon MP140. Just select the MP140, and press forward. Usually, your system will automatically detect the correct driver for the MP145. If that’s not the case, a “Choose Driver” screen will be shown instead. Just pick Canon from the list, and press forward. On the Choose Driver screen, pick MP140 for the model, and the “Canon MP140 series Ver.2.80[en] for drivers. Press forward. The installation should be finished, and an option to print a test page will be presented.
For the scanner part, all that I need to do is to install the following:
- libsane
- sane-utils
- simple-scan
Those packages can be found in Synaptic. After all of the package above are installed, just fire up simple-scan, and it will automatically detect the scanner.
I tried installing the Cannon MP 140 as suggested.
I successfully installed the libcupsys2_1.3.9-17ubuntu1_all.deb. But I could not install any of the others.Clicking on any one of the four shows the message “Wrong architecture ‘i386′” Please help
this is because the driver packages provided by Canon is for i386 (32 bit) architecture, and I assume you’re using an AMD64/X86_64. Please confirm this by opening a terminal, and type:
surfer@Mach5-M:~$ uname -a
look for “X86_64”
anyway, I haven’t personally tried this, but I assume you still can use the drivers. install them by opening a terminal window, go to the directory where you stored the downloaded files, and do this:
After all of the packages are installed, proceed to the rest of the tutorial
I haven’t personally tried this
Dear Ikshan,
I am not using an AMD Processor. I use the Intel(R) Pentium(R) Dual CPU E2220 @ 2.4 GH – not sure if it is 64 bit,
I am new to Linux and not familiar with the “terminal” opening you have suggested. Could you please help?
Regards,
Suchit
No problem. Click on the top left menu Applications > Accessories > Terminal. This will start gnome terminal. On the terminal window prompt type:
uname -a
By default, the files you downloaded are stored on /home/username/Downloads, so to install the driver from terminal, go to Applications > Accessories > Terminal, and go into the download folder by typing :
And install the first package by typing this:
repeat the step above for:
next is:
and the last one is:
Dear Ikshan,
Tried doing as you suggested. Not successful
The messages are as follows
suchitlekshmi@ubuntu:~$ cd Downloads
suchitlekshmi@ubuntu:~/Downloads$ sudo dpkg -i –force-architecture cnijfilter-common_2.80-1_i386.deb
[sudo] password for suchitlekshmi:
dpkg: warning: overriding problem because –force enabled:
package architecture (i386) does not match system (amd64)
(Reading database … 144828 files and directories currently installed.)
Preparing to replace cnijfilter-common 2.80-1 (using cnijfilter-common_2.80-1_i386.deb) …
Unpacking replacement cnijfilter-common …
Setting up cnijfilter-common (2.80-1) …
suchitlekshmi@ubuntu:~/Downloads$ sudo dpkg -i –force-architecture –force-all scangearmp-common_1.10-1_i386.deb
dpkg: warning: overriding problem because –force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package scangearmp-common.
(Reading database … 144828 files and directories currently installed.)
Unpacking scangearmp-common (from scangearmp-common_1.10-1_i386.deb) …
dpkg: scangearmp-common: dependency problems, but configuring anyway as you requested:
scangearmp-common depends on libgimp2.0 (>= 2.2.0+rel); however:
Package libgimp2.0 is not installed.
Setting up scangearmp-common (1.10-1) …
Configuration file `/etc/udev/rules.d/80-canon_mfp.rules’, does not exist on system.
Installing new config file as you requested.
Processing triggers for libc-bin …
ldconfig deferred processing now taking place
suchitlekshmi@ubuntu:~/Downloads$ sudo dpkg -i –force-architecture –force-all cnijfilter-mp140series_2.80-1_i386.deb
dpkg: warning: overriding problem because –force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package cnijfilter-mp140series.
(Reading database … 144874 files and directories currently installed.)
Unpacking cnijfilter-mp140series (from cnijfilter-mp140series_2.80-1_i386.deb) …
Setting up cnijfilter-mp140series (2.80-1) …
Processing triggers for libc-bin …
ldconfig deferred processing now taking place
suchitlekshmi@ubuntu:~/Downloads$ sudo dpkg -i –force-architecture –force-all scangearmp-mp140series_1.10-1_i386.deb
dpkg: warning: overriding problem because –force enabled:
package architecture (i386) does not match system (amd64)
Selecting previously deselected package scangearmp-mp140series.
(Reading database … 145054 files and directories currently installed.)
Unpacking scangearmp-mp140series (from scangearmp-mp140series_1.10-1_i386.deb) …
Setting up scangearmp-mp140series (1.10-1) …
Processing triggers for libc-bin …
ldconfig deferred processing now taking place
suchitlekshmi@ubuntu:~/Downloads$
Any way out?
Regards,
Suchit
Dear Ikshan,
I installed the Package libgimp2.0 which was not installed as per the message. Now the printer is detected – shown in the System>Administration>Printing window. But it refuses to print anything including the test page. On selecting a document to print, the printer is shown but, selecting it and giving the print command does not produce any response from the printer.
Regards,
Suchit
Hmm.. I’m using 32 bit system so there are several things that I can’t guarantee to work on 64 bit system such as yours. From what I read, some of MP140 can’t print a test page but are able to print from applications.
But you can try several things:
1.
Try starting from fresh, as you installed some of the package not in order. Remove all of driver packages, restart your pc and reinstall them again. To remove do this in the terminal:
sudo dpkg -r cnijfilter-mp140series
sudo dpkg -r scangearmp-mp140series
sudo dpkg -r cnijfilter-common
sudo dpkg -r scangearmp-common
and reinstall them again by following the guide on the post. You might want to restart your system between uninstalling and reinstalling the driver
2.
Try using different driver. Ubuntu support the Pixma MP150 natively. I have tested (in 32 bit system) that the driver for the MP150 partially works for the MP145. It’s sub-par, but quite okay for printing texts
Dear Ikshan,
Tried as you said – uninstalled rebooted and reinstalled. Status quo – not printing test page or documents .odt/.txt/.doc/ .pdf
Tried downloading MP150 drivers from Cannon site for south and south-east Asia. The site shows drivers only for Mac and Windows. Not for Linux!!!
Is that the end of the road?
Regards,
Suchit
the MP150 is natively supported by Ubuntu, you don’t have to install anything. Just go to System > Administration > Printing
Right click on your MP140, and select properties. On the properties window, press the “change” button next to the “Make & Model” . Select Canon, and press forward. Search for “PIXMA MP150” from the left list, select either one of the driver on the right list, press forward. Select “Use the new PPD”, then press apply
Dear Ikhsan,
Tried that. No response.
Regards,
Suchit
Then I’m out of options for now 🙁
Thank you so much Ikhsan, for all the help
Regards,
Suchit
Dear Ikhsan,
The printer is working fine. The problem was with the color cartridge, which was not being recognized and hence the printer was not responding. I bought a new cartridge and he printer is working fine.
Thank you so much for the help.
Regards,
Suchit
Cool! 😀
I’m glad that you finally get your printer working 🙂
Dear Ikhsan,
Thanks once again.
Regards,
Suchit