Help with Canon pixma iP1500 [Solved]

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

Moderator: Moderators

Help with Canon pixma iP1500 [Solved]

Postby King_DuckZ » Fri Dec 21, 2012 1:47

Hello, I'm trying to get this printer to work on my 64-bit Sabayon, but I can't install the driver. As shown here, I've tried installing the bjfilter-2.50 from the zugaina overlay. After applying the patch from Gentoo I've got everything to build right, but then I get the linker error about the cnbpcmcm214, cnbpess214, cnbpcnclapi214, cnbpcnclbjcmd214 and cnbpcnclui214 libraries not being compatible. Is there really no way to get this printer to work on a 64 bit system?
Last edited by King_DuckZ on Fri Dec 21, 2012 18:58, edited 1 time in total.
User avatar
King_DuckZ
Simple Hen
 
Posts: 65
Joined: Wed Sep 07, 2011 0:46

Re: Help with Canon pixma iP1500

Postby Fitzcarraldo » Fri Dec 21, 2012 11:12

No idea, as I don't have that model of printer. The following might work, but I don't know if the ip1500 source code from Canon requires a ppd.h patch, ldl patch and png patch similar to the ones that had to be applied to the cnijfilter-3.20 ebuild, in which case it won't work and you'll have to wait for a Gentoo user with your model of printer to come up with a solution.

1. # nano /etc/make.conf

Add the following at the end of the file:

Code: Select all
PORTDIR_OVERLAY="${PORTDIR_OVERLAY} /usr/local/portage/"
ACCEPT_LICENSE="*"

2. # mkdir /usr/local/portage/profiles && echo "local_overlay" > /usr/local/portage/profiles/repo_name

3. # mkdir -p /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/files/

4. # mkdir -p /usr/local/portage/net-print/bjfilter/files/

5. # cp emul-linux-x86-bjdeps-0.1-r4.ebuild /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/ # Gentoo Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=129352

6. # cp fix-popt-pkgconfig-libdir.patch /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/files/ # Gentoo Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=129352

7. # ebuild /usr/local/portage/app-emulation/emul-linux-x86-bjdeps/emul-linux-x86-bjdeps-0.1-r4.ebuild manifest

8. # nano bjfilter-2.50-r9.ebuild # Gentoo Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=128560

Comment out the two lines:

Code: Select all
use amd64 && export ABI=x86
use amd64 && append-flags -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib -L/usr/lib32

and add the line:

Code: Select all
use amd64 && multilib_toolchain_setup x86

9. # cp bjfilter-2.50-r9.ebuild /usr/local/portage/net-print/bjfilter/bjfilter-2.50-r10.ebuild

10. # cp bjfilter-2.50-libpng.patch /usr/local/portage/net-print/bjfilter/files/ # Gentoo Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=128560

11. # ebuild /usr/local/portage/net-print/bjfilter/bjfilter-2.50-r10.ebuild manifest

12. # emerge -1v emul-linux-x86-bjdeps

13. # USE="ip1500" emerge -1v bjfilter

14. # /etc/init.d/cupsd restart

15. Open CUPS Manager in a browser window (http://localhost:631/) and add the printer.


(BTW, it's not necessary to install bjdeps if one is using the ~x86 arch, only if using the ~amd64 arch.)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Help with Canon pixma iP1500

Postby King_DuckZ » Fri Dec 21, 2012 18:57

Wow that worked like a charm. Thanks, honestly after receiving the provoking reply from Canon (I will hardly buy anything from Canon again) I was about to give up.

Here, have fun with the reply I got:
Thank you for your request and for contacting Canon.

We are sorry to inform you that unfortunately canon provide the drivers for some printers but does not give technical support for operating systems open source. If one day you decide to switch to windows or macintosh we will be happy to help you.

Yours sincerely,
A. Alessandro
User avatar
King_DuckZ
Simple Hen
 
Posts: 65
Joined: Wed Sep 07, 2011 0:46

Re: Help with Canon pixma iP1500 [Solved]

Postby Fitzcarraldo » Sat Dec 22, 2012 2:23

Lucky you.

Strange reply from Ms/Mr Alessandro, though, because Canon do support Linux. And each Canon driver for Linux includes binary blobs (closed-source) as well as source code. The Gentoo ebuild downloads the Canon Linux driver from Canon's Web site. Canon officially support Fedora, SUSE, Debian, Ubuntu and Mandriva, and .deb and .rpm packages can be downloaded from one of the international Canon download centres such as http://software.canon-europe.com/. Installing one of the Canon-supplied drivers in those distributions is simpler.

The print quality of Canon printers is excellent. I have three different Canon models at home, all MFPs, and all work with Gentoo and hence SL. The open-source Gutenprint folk (no connection to Canon) often add their own Canon printer drivers to their list of supported printers, so, if someone is lucky, all it takes is the installation of net-print/gutenprint. Two of my three Canon models are supported by Gutenprint, for example. Perhaps Gutenprint did not bother to add the ip1500 because it is such an old model (and no longer manufactured).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom


Return to Hardware

Who is online

Users browsing this forum: dmh53 and 1 guest