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=1293526. # 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=1293527. # 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=128560Comment 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=12856011. # 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.)