Canon PIXMA 500 (and similar printers)

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Canon PIXMA 500 (and similar printers)

Postby smev9 » Sun Sep 16, 2007 18:40

Hello, i have for the first time installed my printer (MP500)

If i used the cups printers, i would only be able to print about 3/4 of the paper.

There where many guides, how to enable the drivers from Canon, but it ended in having rpms.
http://de.linwiki.org/index.php/Canon_PIXMA_MP800R for example (Other howtos state other models with same rpms, should be okay for many models.)

Another way is described in the gentoo forum, but it i found it to be much more complicated.

So here is what i did:

1. I downloaded the 3 rpms
2. I unpacked them
3. I started Konquerer in Admin mode
4. I copied the contents of the 3 unpacked rpms into /usr

I tried to install the dirver (Gui doesnt matter)
I received an error: Some filter could not be found
The problem is, the rpms were packed for a different folder structure.
If you want to get it right just rename the folder lib in the /usr into libexe (the unpacked files NOT the ones under /usr !!!)

So you could do it like this 1. Download 2. Unpack 3. Rename files 4. Integrate them into /usr 5. Run some gui for the cups-system (6. Reboot, i had to)

it isnt a very clean solution, since portato isnt involved, so it wouldnt recognize it and check for no dependecies, but i wonder if that should matter, since the driver doesnt interfere with other aspects than printing.

I would be grateful if you test that for me and happy it if helps in any way.

SMEV9
smev9
Baby Hen
 
Posts: 2
Joined: Sun Sep 16, 2007 18:22

Re: Canon PIXMA 500 (and similar printers)

Postby Fitzcarraldo » Tue Oct 16, 2007 20:38

Today I successfully installed a driver for the Canon Pixma MP510 printer. I installed the driver on my laptop running SL x86-64 3.4 Loop 2b, and found the Gentoo Wiki page http://gentoo-wiki.com/Canon_Pixma_Series very helpful. I did not follow exactly the Gentoo Wiki, though; here's what I did:

1. I already have the line PORTDIR_OVERLAY=/usr/local/portage in my /etc/make.conf file, as I have been experimenting creating my own ebuilds (see another thread). However, if you don't already have that line, add it to your /etc/make.conf on a new line after the line source /usr/portage/local/layman/make.conf

2. Create the directory (well, directories, to be precise) /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/

3. Create the directory (well, directories, to be precise) /usr/local/portage/net-print/cnijfilter/

4. Copy the file emul-linux-x86-bjdeps-0.1-r1.ebuild into the directory mentioned in Step 2 above. You can find the ebuild file on the Gentoo Bugzilla Web page http://bugs.gentoo.org/show_bug.cgi?id=129352

5. Type the following as root into a Terminal window:

Code: Select all
ebuild /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/emul-linux-x86-bjdeps-0.1-r1.ebuild manifest


6. Copy the patch file popt-1.7-missing-tests.patch from the Web page mentioned in Step 4 above into the directory /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/files/

7. Copy the patch file popt-1.7-nls.patch from the Web page mentioned in Step 4 above into the directory /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/files/

8. Repeat Step 5.

9. Copy the file cnijfilter-2.70.ebuild into the directory mentioned in Step 3 above. You can find this ebuild file on the following Gentoo Bugzilla Web page: http://bugs.gentoo.org/show_bug.cgi?id=177970

10. Type the following as root into a Terminal window:

Code: Select all
ebuild /usr/local/portage/net-print/cnijfilter/cnijfilter-2.70.ebuild manifest


11.Type the following as root into a Terminal window:

Code: Select all
emerge -v emul-linux-x86-bjdeps
USE="mp510" emerge -v cnijfilter


12. Follow the instructions on how to restart CUPS, displayed at the end of the above compilation.

13. Open CUPS in a browser window (http://localhost:631/) and use Add Printer to add the new Canon printer. The driver for the Canon MP510 will be in the local CUPS database. Print a test page to be sure it works.


EDIT: By the way, if you read the above-mentioned Gentoo Wiki page you'll see that, simply by changing the local USE flag, you can build a driver for any of the following other Canon printers instead: ip90, ip1700, ip1800, 1p2500, ip3300, ip4300, mp160, mp460 and mp600. And if you create an ebuild for net-print/bjfilter or net-print/cnijfilter-2.60 instead of net-print/cnijfilter-2.70 then you can build a driver for various other models of Canon printer too.

:arrow: EDIT2: You don't need to install emul-linux-x86-bjdeps if you are using the x86 edition of SL, only if you are using the x86_64 edition.

:arrow: EDIT3 (Monday Nov 30, 2009 09:49): To date, the Canon printer models supported by the various cnijfilter package versions are as follows:

cnijfilter-2.60-r6 => ip2200, ip4200, ip6600d, ip7500, mp500

cnijfilter-2.70-r1 => mp160, mp510, mp600, ip90, ip1800, ip2500, ip3300, ip4300

cnijfilter-2.80 => mp140, mp210, ip3500, mp520, ip4500, mp610

cnijfilter-2.90 => ip100, ip2600

cnijfilter-3.00 => ip1900, ip3600, ip4600, mp190, mp240, mp540, mp630

cnijfilter-3.10 => mx320, mx330, mx860

cnijfilter-mp540-3.00 => mp540

N.B. The commerical driver TurboPrint for Linux 2 supports further models of Canon printer. It costs Euro 29.95. See the TurboPrint Web site for details: http://www.turboprint.info/printers_Canon.html
Last edited by Fitzcarraldo on Wed Jan 07, 2009 16:46, edited 2 times in total.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7977
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Canon PIXMA 500 (and similar printers)

Postby DontPanic » Wed Oct 17, 2007 18:15

I thought it was pretty cool the way they use a portage ebuild to install a rpm source package.

It makes me wonder how many Fedora and Redhat source rpms could be brought into Gentoo or Sabayon this way.
Gigabyte GA-P35-DS3L - Intel(R) Core(TM)2 Duo CPU E6750@ 2.66GHz
nVidia GeForce 7600 GS
2 GB RAM
DontPanic
Old Dear Hen
 
Posts: 742
Joined: Mon Jul 09, 2007 20:29
Location: Mobile, AL, USA

Re: Canon PIXMA 500 (and similar printers)

Postby Fitzcarraldo » Thu Oct 18, 2007 15:39

^Yes, that's exactly what I thought, too.

I have noticed a few ebuilds doing that. For example, I emerged the latest version of RealPlayer recently and noticed that the ebuild used the .rpm file. And I also noticed that the unofficial ebuild for Google Desktop (http://forums.gentoo.org/viewtopic-p-41 ... ml#4121205) uses an .rpm too. I have seen a few other ebuilds doing this too, although can't remember which ones.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7977
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron