Cookie Into the (open) source


Print: “Canon PIXMA MP495” work with Ubuntu at the first shot


This article was written in the 2012, there may have been some developments in the subject matter.
If in doubt please leave a comment in the bottom of the article.

A few days ago I was still looking for a multifunction printer, I definitely orientavo towards a product compatible with Linux, that would support the Network Printing (better if Wi-Fi) e a low environmental impact. I thought I was being pretentious, and rather unexpectedly, I found a deal on Groupon for a printer that (After a brief survey) had all these features.

Today I bought a Canon multifunction printer: a "Canon Pixma MP495". Linux drivers are made available by Canon itself (from the Australian site, luckily there is the internet) via packet ".deb" precompiled architectures "i386" the "amd64", installer or via dedicated.

In this article, translated by comparso post su Ubuntu Forums let's see how configure the printer under Linux in order to be able to print and scan over Wi-Fi. We will launch some printing even from our mobile and Android scansioneremo some documents always with our Android phone.

First, it must be said that the default network that will try to connect the printer has just turned on the following preferences:

IP ADDRESS: Automatic

And 'possible to encrypt the connection, but for the moment we will have access to the printer using open systems. Will set our router mode "open system" (no password) and call the Wi-Fi network "BJNPSETUP".

Once this is done we will have to turn Wi-Fi on the printer. We press the key "Maintenance" (in the figure below) to 13 times, until the display shows the letter "G".

The key "maintenance"

The LED "Wi-Fi" front should light, a luce fissa. If is blinking you should check the name we gave to the network, and make sure it is the right one.

At this point, the printer should have gotten hooked to the network, and obtaining an IP via DHCP. We do not know the printer's IP, must be discharged to know a little tool that can be useful on other occasions: "Angry IP Scanner". It is an open source software via a graphical interface that allows you to ping all hosts on a network. Once installed, we start the small program and we ping the range 1-254. Practically all the hosts of the last subnet.

When Angry IP Scanner has finished check the only active connections whose hostname looks like "A001BF000000.local". Your may be different, but it should look like. A match that host an IP address, we're going to enter in the browser. In case you are prompted to enter a username and password, credentials will be "admin", "admin". The configuration panel of the printer is all web based, The display is an LCD "old style" because there is no need to configure anything from them. From the administrator have the ability to configure the network, changing name to"Default SSID and setting the desired security level. I preferred to configure the printer with a static IP address to manage it more easily.

Of course, after changing the network name and password encryption will also reset on the router. Now the network should be under the same conditions as before, and the printer should be connected.

At this point we just have to install the printer driver. Download the drivers from the Canon website (Australian, I mentioned before) by PIXMA MP495. Il file in download sarà "cnijfilter-mp495series 3:40-1-deb.tar.gz". There are two ways to install drivers, the first is the easiest and fastest, but it does not always work. The second is certainly the longest, Let's try in sequence:

First method:

Extract the downloaded archive file in the Home. Change its permissions "" (click with the right button - "Property" - "Permissions" - spunta su "execution".

Now open a terminal and type

sudo ./

We answer the configuration questions, and select "network" whether we are using the printer via network. At the end of the scanner configuration will also be set.

Second method (if the first does not work):

Open a terminal, and type the following command:

cd /home/<user>/cnijfilter-mp495series-3.40-1-deb/packages/

(enter your user name in place of "user")

Now we start the installation via the package manager ".deb".

sudo dpkg-i-cnijfilter common_3.40-1_amd64.deb cnijfilter-mp495series_3.40-1_amd64.deb

(attention to the architecture of the computer, There are two types of packages, one for each architecture)

Now that the drivers are installed go into the menu of Ubuntu and write "Print". (for versions prior to 11.10 is located in "System" - "Management" - "Print"). The window configuration. Click on "Add".

If you have configured everything correctly on the network, we should see the printer under the heading "Network Printer" after a few seconds. We select the Canon-MP495-series_<etc., etc.> and click "Neighbor".

Ubuntu will search for drivers automatically, in a few seconds a new window will appear asking a description of the printer, we give a description "human readable", type "sealing laboratory" or similar.

Now that is configured, after installation will print a test page by clicking on the button. The print is set by default to 600dpi, does not seem possible to increase them. Instead you can.

Change the print resolution:

To do this we open the terminal again, and enter the following command.

gksudo gedit /etc/cups/ppd/Canon-MP495.ppd

Now let the string within the file "*OpenUI *Resolution/Output Resolution: PickOne". We replace the entire block with the following:

*OpenUI *Resolution/Output Resolution: PickOne
*DefaultResolution: 4800dpi
*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
*Resolution 1200dpi/1200 DPI: "<</HWResolution[1200 1200]>>setpagedevice"
*Resolution 2400dpi/2400 DPI: "<</HWResolution[2400 2400]>>setpagedevice"
*Resolution 2400dpi/4800 DPI: "<</HWResolution[2400 4800]>>setpagedevice"
*Resolution 2400dpi/9600 DPI: "<</HWResolution[2400 9600]>>setpagedevice"
*CloseUI: *Resolution

Save and close gEdit.

Open another terminal and type the following command.

gksudo gedit /usr/share/ppd/canonmp495.ppd

We find the string "*OpenUI *Resolution/Output Resolution: PickOne" around the block and replace with the following:

*OpenUI *Resolution/Output Resolution: PickOne
*DefaultResolution: 4800dpi
*Resolution 600dpi/600 DPI: "<</HWResolution[600 600]>>setpagedevice"
*Resolution 1200dpi/1200 DPI: "<</HWResolution[1200 1200]>>setpagedevice"
*Resolution 2400dpi/2400 DPI: "<</HWResolution[2400 2400]>>setpagedevice"
*Resolution 2400dpi/4800 DPI: "<</HWResolution[2400 4800]>>setpagedevice"
*Resolution 2400dpi/9600 DPI: "<</HWResolution[2400 9600]>>setpagedevice"
*CloseUI: *Resolution

Save and close gEdit.

Now restart "cups", the print server.

sudo / etc / init.d / cups restart

You can now print resolutions up to 9.600dpi.

Regarding the scanner, the operation is much simpler. We find the drivers on the usually Australian Canon website and follow the same instructions for the printer driver. The scanning software is called "scangearmp", and is called automatically when we make such scans with Gimp ("File" - "Create" - "Scanner / M. Photo").

A curious Extra:

There is a small app for Android terminals that allows you to use the printer (as a printer, but also as scanner) with a few clicks directly from your mobile phone. E ' "Canon Easy-PhotoPrint". Just install the application, be attached to the same network and the application (that includes a photo-browser) allows you to select images (o i pdf) sent to the printer. And 'certainly one of the most brilliant app I have ever found on Play Store. No drivers are needed or special configurations. Simply installing, you choose a photo, you click on the print image is printed.


I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.