I had to do the same running 1.2.1-r2. Now i don't have the pstocanon error but it still does not printbrot wrote:first approach seems to work here, but i had to copy one file.
maybe this is only needed with the newest unstable cups. But now as the printer here works in linux, pigmentblack ink is emptyCode: Select all
brotkastn brot # cp /usr/lib/cups/filter/pstocanonij /usr/libexec/cups/filter/ -v
Anyways, thanks to Colink for the driver and the support.
Code: Select all
vm_gentoo ~ # USE="cnijtools ip4200" ACCEPT_KEYWORDS="~x86" emerge cnijfilter
Calculating dependencies... done!
>>> Emerging (1 of 1) net-print/cnijfilter-2.60 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking cnijfilter-common-2.60-1.src.rpm ;-)
*
* USE-flags (description / probably compatible printers)
*
* cnijtools (additional monitoring and maintenance software)
* ip2200 (ip1600 mp150/170/450)
* ip4200 (mp500)
* ip6600d (ip6600pd)
* ip7500 (?)
* mp500 (ip4200)
*
>>> Unpacking source...
>>> Unpacking cnijfilter-common-2.60-1.src.rpm to /mnt/tempdisk/portage/cnijfilter-2.60/work
>>> Unpacking cnijfilter-common-2.60-1.tar.gz to /mnt/tempdisk/portage/cnijfilter-2.60/work
* Applying cnijfilter-2.60-ip4200-ppd.patch ...
* Failed Patch: cnijfilter-2.60-ip4200-ppd.patch !
* ( /usr/local/portage/net-print/cnijfilter/files/cnijfilter-2.60-ip4200-ppd.patch )
*
* Include in your bugreport the contents of:
*
* /mnt/tempdisk/portage/cnijfilter-2.60/temp/cnijfilter-2.60-ip4200-ppd.patch-15723.out
!!! ERROR: net-print/cnijfilter-2.60 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_unpack
ebuild.sh, line 711: Called src_unpack
cnijfilter-2.60.ebuild, line 90: Called epatch '/usr/local/portage/net-print/cnijfilter/files/cnijfilter-2.60-ip4200-ppd.patch'
eutils.eclass, line 335: Called die
!!! Failed Patch: cnijfilter-2.60-ip4200-ppd.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage'
vm_gentoo ~ # Code: Select all
then mv -f ".deps/bjflist.Tpo" ".deps/bjflist.Po"; else rm -f ".deps/bjflist.Tpo"; exit 1; fi
gcc -O2 -o cif -L../../273/libs_bin bjferror.o bjfilter.o bjfimage.o bjfoption.o bjfpos.o bjfrcaccess.o getipc.o bjflist.o -lcnbpcmcm273 -lcnbpess273 -lm -ldl -ltiff -lpng -lcnbpcnclapi273 -lcnbpcnclbjcmd273 -lcnbpcnclui273 -lpopt
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible ../../273/libs_bin/libcnbpcmcm273.so when searching for -lcnbpcmcm273
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcnbpcmcm273
collect2: ld returned 1 exit status
make[2]: *** [cif] Error 1
make[2]: Leaving directory `/var/tmp/portage/cnijfilter-2.60/work/cnijfilter-2.60/mp500/cnijfilter/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cnijfilter-2.60/work/cnijfilter-2.60/mp500/cnijfilter'
make: *** [all] Error 2
!!! ERROR: net-print/cnijfilter-2.60 failed.
Call stack:
ebuild.sh, line 1543: Called dyn_compile
ebuild.sh, line 938: Called src_compile
cnijfilter-2.60.ebuild, line 147: Called src_compile_pr
cnijfilter-2.60.ebuild, line 211: Called die
!!! Couldn't make mp500/cnijfilter
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/overlays'

Code: Select all
then mv -f ".deps/bjflist.Tpo" ".deps/bjflist.Po"; else rm -f ".deps/bjflist.Tpo"; exit 1; fi
gcc -O2 -o bjfilter -L../../214/libs_bin bjferror.o bjfilter.o bjfimage.o bjfoption.o bjfpos.o bjfrcaccess.o getipc.o bjflist.o -lcnbpcmcm214 -lcnbpess214 -lm -ldl -ltiff -lpng -lcnbpcnclapi214 -lcnbpcnclbjcmd214 -lcnbpcnclui214 -lpopt
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible ../../214/libs_bin/libcnbpcmcm214.so when searching for -lcnbpcmcm214
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcnbpcmcm214
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [bjfilter] Erreur 1
make[2]: quittant le répertoire « /var/tmp/portage/bjfilter-2.50/work/bjfilter-2.50/pixmaip1500/bjfilter/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/bjfilter-2.50/work/bjfilter-2.50/pixmaip1500/bjfilter »
make: *** [all] Erreur 2
!!! ERROR: net-print/bjfilter-2.50 failed.
Call stack:
ebuild.sh, line 1543: Called dyn_compile
ebuild.sh, line 938: Called src_compile
bjfilter-2.50.ebuild, line 181: Called src_compile_pr
bjfilter-2.50.ebuild, line 252: Called die

Code: Select all
[ebuild R ] net-print/cnijfilter-2.60 USE="cnijtools ip2200 -amd64 -ip4200 -ip6600d -ip7500 -mp500" 0 kBCode: Select all
Gentoo filter # tail -10 /var/log/messages
Aug 13 19:25:09 localhost kernel: usb 1-5: USB disconnect, address 3
Aug 13 19:25:09 localhost kernel: drivers/usb/class/usblp.c: usblp0: removed
Aug 13 19:25:11 localhost kernel: usb 1-6: new high speed USB device using ehci_hcd and address 4
Aug 13 19:25:11 localhost kernel: usb 1-6: configuration #1 chosen from 1 choice
Aug 13 19:25:11 localhost kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 4 if 1 alt 0 proto 2 vid 0x04A9 pid 0x1709
Aug 13 19:25:12 localhost kernel: usb 1-6: USB disconnect, address 4
Aug 13 19:25:12 localhost kernel: drivers/usb/class/usblp.c: usblp0: removed
Aug 13 19:25:14 localhost kernel: usb 1-6: new high speed USB device using ehci_hcd and address 5
Aug 13 19:25:14 localhost kernel: usb 1-6: configuration #1 chosen from 1 choice
Aug 13 19:25:14 localhost kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x04A9 pid 0x1709

I've just installed:ColinK wrote: @doman: Did you try the "unstablecups" useflag? It will install pstocanonij into /usr/libexec/cups instead of /usr/lib/cups/filter for example.
Code: Select all
[ebuild R ] net-print/cnijfilter-2.60 USE="ip2200 servicetools unstablecups -amd64 -ip4200 -ip6600d -ip7500 -mp500" 0 kB [1]
Code: Select all
ln -s /usr/lib/cups/filter/pstocanonij /usr/libexec/cups/filter/pstocanonijedit: some hints suggest that the mp150 should be compatible to the ip2200. Comparing printheads used to work... it might be different this time. Please try each driver of bjfilter and cnijfilter. If it absolutely doesn't work for both of you - We'll have to change the wiki about the mp150.bulki wrote:I've a strange problem when printing with my CANON PIXMA mp150: when I launch a job, the printer take a the paper and immediately reject it :S... I took ip2200 drivers, as advised.
I tried other drivers, too, none of them do such rejection, but they print completely random caracters...
Code: Select all
emerge: there are no ebuilds to satisfy ">=app-emulation/emul-linux-x86-bjdeps-0.2"This is the link to the emul-linux-x86-bjdeps-0.1.ebuild. However, cnijfilter-2.60 requests 0.2 as dependancy.ColinK wrote:emul-linux-x86-bjdeps
Anytime. Anyways class let out early tonight so I've taken the time to bundle up the packages. I can't promise they'll work for anyone, at all, but I hope they do. In either case, if they fubar your system, make you president of earth or do anything at all, its at your own risk and I'm not responsible. For the record these were the compile time options:ColinK wrote:Thank you very much.
Code: Select all
ami / # USE="-X -gtk amd64 ip1000 ip1500 ip3100 ip8600 ip2200 ip4200 ip6600d ip7500 mp500 unstablecups" emerge -av --nodeps -B cnijfilter emul-linux-x86-bjdeps bjfilter cups
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] net-print/cnijfilter-2.60 +amd64 +ip2200* +ip4200 +ip6600d* +ip7500* +mp500* -servicetools +unstablecups* 0 kB [1]
[ebuild R ] app-emulation/emul-linux-x86-bjdeps-0.2 0 kB [1]
[ebuild N ] net-print/bjfilter-2.50 +amd64 +ip1000 +ip1500 +ip3100 +ip4100 +ip8600 -servicetools -takushipatch +unstablecups 0 kB [1]
[ebuild R ] net-print/cups-1.2.2 -dbus -gnutls +jpeg* -nls +pam +png* -ppds -samba -slp +ssl +tiff* 0 kBI own exactly one piece of commercial software for Linux: TurboPrint. It's more than paid for itself in time saved configuring various printers with my Linux machine. The authors have done a great job with it, they stay up with all new printer models (and there are many, many printers coming out all the time). I'm more than happy to reward them for the efforts.jbinto wrote:Damn.
I see TurboPrint (claims to) support duplexing, but I'm not sure how I feel about buying third party drivers for Linux. Seems kinda like prostitution to me.