| View previous topic :: View next topic |
| Author |
Message |
kEiNsTeiN Guru


Joined: 29 Apr 2005 Posts: 361 Location: Germany
|
Posted: Sun Feb 18, 2007 8:27 pm Post subject: |
|
|
sorry if this has been asked before, but: why is there no grayscale option of the IP4200?
I tried adding | Code: | | *ColorModel Gray/Grayscale: "<</cupsColorSpace 0/cupsColorOrder 0>>setpagedevice" | manually, but it doesnt seem to work on the printer...
maybe we could use a filter? I dont wanna waste precious color on stupid websites, so this would be a good feature.....
Last edited by kEiNsTeiN on Mon Feb 19, 2007 12:19 am; edited 1 time in total |
|
| Back to top |
|
 |
ColinK Tux's lil' helper


Joined: 30 Dec 2005 Posts: 142
|
Posted: Sun Feb 18, 2007 8:39 pm Post subject: |
|
|
@bd0N: edit the ebuild and append " || die" to every command in src_unpack(). Try again and send me you new error report.
@kEiNsTeiN: You may go ahead and edit the *.ppd file. If you get it working, send me your modified *.ppd file and I'll ship a patch with this ebuild. |
|
| Back to top |
|
 |
BdON Tux's lil' helper


Joined: 13 Jan 2007 Posts: 127
|
Posted: Mon Feb 19, 2007 5:58 am Post subject: |
|
|
Cnijfilter*.ebuild | Code: | src_unpack() {
rpm_src_unpack || die
mv ${PN}-common-${PV} ${P} || die # Correcting
directory-structure
epatch ${FILESDIR}/cnijfilter-2.60-r1-pstocanonij-c.patch ||
die
if use "ip4200" || die || ${_autochoose} || die; then
epatch
${FILESDIR}/cnijfilter-2.60-r1-canonip4200-ppd.patch || die
fi
} |
emul*.ebuild
| Code: | src_unpack() {
unpack ${A} || die
cd ${WORKDIR} || die
mkdir ${P} || die# this way portage won't complain about missing
directories
cd "${WORKDIR}/popt-1.7" || die
epatch "${FILESDIR}"/popt-1.7-missing-tests.patch || die
epatch "${FILESDIR}"/popt-1.7-nls.patch || die
eautomake || die
elibtoolize || die
} |
that's the modified files, and here's the output
| Code: | BdONsPC bdon # emerge --digest -av cnijfilter
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] app-emulation/emul-linux-x86-bjdeps-0.1-r1 0 kB [1]
[ebuild N ] app-emulation/emul-linux-x86-compat-1.0-r1 0 kB
[ebuild N ] net-print/cnijfilter-2.60-r6 USE="amd64 ip2200 -ip4200 -ip6600d -ip7500 -mp500 -nocupsdetection -servicetools" 0 kB [1]
Total: 3 packages (3 new), Size of downloads: 0 kB
Portage overlays:
[1] /usr/local/portage
Would you like to merge these packages? [Yes/No] y
>>> Creating Manifest for /usr/local/portage/app-emulation/emul-linux-x86-bjdeps
>>> Creating Manifest for /usr/portage/app-emulation/emul-linux-x86-compat
>>> Creating Manifest for /usr/local/portage/net-print/cnijfilter
>>> Emerging (1 of 3) app-emulation/emul-linux-x86-bjdeps-0.1-r1 to /
* popt-1.7.tar.gz MD5 ;-) ... [ ok ]
* popt-1.7.tar.gz RMD160 ;-) ... [ ok ]
* popt-1.7.tar.gz SHA1 ;-) ... [ ok ]
* popt-1.7.tar.gz SHA256 ;-) ... [ ok ]
* popt-1.7.tar.gz size ;-) ... [ ok ]
>>> Creating Manifest for /usr/local/portage/app-emulation/emul-linux-x86-bjdeps
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking popt-1.7.tar.gz ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking popt-1.7.tar.gz to /var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/work
rm: cannot remove `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/share': No such file or directory
!!! ERROR: app-emulation/emul-linux-x86-bjdeps-0.1-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_unpack
ebuild.sh, line 751: Called qa_call 'src_unpack'
environment, line 3760: Called src_unpack
emul-linux-x86-bjdeps-0.1-r1.ebuild, line 50: Called die
!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/temp/build.log'.
!!! This ebuild is from an overlay: '/usr/local/portage'
|
|
|
| Back to top |
|
 |
ColinK Tux's lil' helper


Joined: 30 Dec 2005 Posts: 142
|
Posted: Mon Feb 19, 2007 7:57 am Post subject: |
|
|
This lines are strange:
| Quote: | environment, line 3760: Called src_unpack
emul-linux-x86-bjdeps-0.1-r1.ebuild, line 50: Called die |
line 50 is the last line of src_install() and contains just a closing bracket '}'. Can you confirm this?
It somehow looks as if it wants to install before unpacking.
| Quote: | | rm: cannot remove `/var/tmp/portage/app-emulation/emul-linux-x86-bjdeps-0.1-r1/image//usr/share' |
This error can only be caused if line 48 was executed too early (i.e. before compilation).
Is there anything unusual about your system?.. |
|
| Back to top |
|
 |
BdON Tux's lil' helper


Joined: 13 Jan 2007 Posts: 127
|
Posted: Mon Feb 19, 2007 2:39 pm Post subject: |
|
|
Seems there was a little line run-off in my file compared to the one on the site, so I fixed it and ran it again and it gave me line 48 that it died on. | Code: | rm -Rv ${D}/usr/share || die
|
As far as anything unusual about my system, I don't know what you're really referring to but everything is pretty normal. amd64 architecture like I said, kernel-2.6.20-rc5, printer is usb. |
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 29 Apr 2005 Posts: 361 Location: Germany
|
Posted: Mon Feb 19, 2007 2:45 pm Post subject: |
|
|
| I have no idea how to modify a ppd-thingy... since it didnt work the way I tried... |
|
| Back to top |
|
 |
ColinK Tux's lil' helper


Joined: 30 Dec 2005 Posts: 142
|
Posted: Mon Feb 19, 2007 3:40 pm Post subject: |
|
|
Bd0n: this simply should not occur. I'm sorry, but I don't understand this error, except there are any other differences in your ebuild.
keinstein: I don't know if it's possibly to print greyscale with this driver. But you can take a look at '/usr/share/cups/model/canon*.ppd' installed by bjfilter/cnijfilter. You may want to compare different ppd's of these ebuilds. If one of them contains something about greyscale, you could then try to copy it to your ppd-file and see if it works.. If it works, let me know. |
|
| Back to top |
|
 |
BdON Tux's lil' helper


Joined: 13 Jan 2007 Posts: 127
|
Posted: Mon Feb 19, 2007 4:34 pm Post subject: |
|
|
| I got it to work by deleting every file and folder I made while attempting to install my printer, and then remade all of the folders and re-saved everything where it should be, and it worked. Thanks for your help |
|
| Back to top |
|
 |
zxy Veteran


Joined: 06 Jan 2006 Posts: 1160 Location: in bed in front of the computer
|
Posted: Tue Feb 20, 2007 1:05 am Post subject: |
|
|
I posted some time ago that i couldn't compile the net-print/bjfilter-2.50-r6
Now after some updates were done to the emul libs it compiled on amd64 (with the corrected ebuild for paludis)
I didn't test it yet because i don't have a printer here (will be in a few days) _________________ Nature does not hurry, yet everything is accomplished.
Lao Tzu |
|
| Back to top |
|
 |
andy_barosanu n00b

Joined: 20 Feb 2007 Posts: 1
|
Posted: Tue Feb 20, 2007 2:11 pm Post subject: |
|
|
Hi,
i just got the Canon MP150 working great under CUPS using gutenprint snapshot "gutenprint20070125.tar.bz2" from here http://sourceforge.net/project/showfiles.php?group_id=1537 . It prints both graphics and text vrey well. I didn't try photo printing or scanning.
Hope this helps.
Andy. |
|
| Back to top |
|
 |
kEiNsTeiN Guru


Joined: 29 Apr 2005 Posts: 361 Location: Germany
|
Posted: Tue Feb 20, 2007 3:06 pm Post subject: |
|
|
does Gutenprint work for the ip4200? Including Grayscale support? How about printing quality? Comparable to native drivers?
I'm going to paypal 5$ to the one who can tell me how to use that fucking printer with native drivers INCLUDING freaking grayscale!!! |
|
| Back to top |
|
 |
klees n00b

Joined: 10 Feb 2007 Posts: 41 Location: NJ
|
Posted: Thu Feb 22, 2007 8:11 pm Post subject: |
|
|
I'm getting the following error:
| Code: | /usr/bin/gmsgfmt: found 1 fatal error
make[2]: *** [th.gmo] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-print/bjfilter-2.50-r6/work/bjf
ilter-2.50/pixusip4100/printui/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-print/bjfilter-2.50-r6/work/bjf
ilter-2.50/pixusip4100/printui'
make: *** [all] Error 2
!!! ERROR: net-print/bjfilter-2.50-r6 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3318: Called src_compile
bjfilter-2.50-r6.ebuild, line 179: Called src_compile_pr
bjfilter-2.50-r6.ebuild, line 256: Called die
!!! Couldn't make pixusip4100/printui
!!! If you need support, post the topmost build error, and the call stack if rel
evant.
!!! A complete build log is located at '/var/tmp/portage/net-print/bjfilter-2.50
-r6/temp/build.log'. |
Any ideas what's going on? |
|
| Back to top |
|
 |
ColinK Tux's lil' helper


Joined: 30 Dec 2005 Posts: 142
|
Posted: Fri Feb 23, 2007 7:52 am Post subject: |
|
|
Which useflags do you use to compile bjfilter?
What's your LINGUAS flag in make.conf?
Try if this works:
LINGUAS="en" emerge bjfilter ... |
|
| Back to top |
|
 |
klees n00b

Joined: 10 Feb 2007 Posts: 41 Location: NJ
|
Posted: Sat Feb 24, 2007 12:13 am Post subject: |
|
|
| ColinK wrote: | Which useflags do you use to compile bjfilter?
What's your LINGUAS flag in make.conf?
Try if this works:
LINGUAS="en" emerge bjfilter ... |
I don't have LINGUAS set in make.conf. However, running LINGUAS="en" emerge bjfilter did the trick. Thanks a lot I appreciate your help. |
|
| Back to top |
|
 |
ColinK Tux's lil' helper


Joined: 30 Dec 2005 Posts: 142
|
Posted: Sat Feb 24, 2007 7:03 am Post subject: |
|
|
This is somewhat strange, because the ebuild checks if LINGUAS is set. If it's not, it'll set it to "en".
| Code: | if [ -z "$LINGUAS" ]; then # -z tests to see if the argument is empty
ewarn "You didn't specify 'LINGUAS' in your make.conf. Assuming"
ewarn "english localisation, i.e. 'LINGUAS=\"en\"'."
LINGUAS="en"
fi |
Do you have similar variables set to some non-english language? |
|
| Back to top |
|
 |
klees n00b

Joined: 10 Feb 2007 Posts: 41 Location: NJ
|
Posted: Sun Mar 04, 2007 5:13 pm Post subject: |
|
|
| ColinK wrote: | This is somewhat strange, because the ebuild checks if LINGUAS is set. If it's not, it'll set it to "en".
| Code: | if [ -z "$LINGUAS" ]; then # -z tests to see if the argument is empty
ewarn "You didn't specify 'LINGUAS' in your make.conf. Assuming"
ewarn "english localisation, i.e. 'LINGUAS=\"en\"'."
LINGUAS="en"
fi |
Do you have similar variables set to some non-english language? |
No, I didn't have LINGUAS set at all... |
|
| Back to top |
|
 |
LonelyStar Guru

Joined: 06 Dec 2005 Posts: 390
|
Posted: Tue Mar 06, 2007 12:55 pm Post subject: |
|
|
Hi,
I have a problem with printuipixusip4100!
If I try to start it, it stops itself without doing anything
My printer needs cleaning!!!
Anything I can do?
Thanks! |
|
| Back to top |
|
 |
Legoguy Apprentice


Joined: 22 Dec 2003 Posts: 165 Location: Gurnee, IL
|
Posted: Mon Mar 12, 2007 7:57 pm Post subject: |
|
|
| Does anyone know if the canon pixma iP6210D is compatible with either of the drivers? |
|
| Back to top |
|
 |
RaZoR1394 Guru


Joined: 09 Jan 2005 Posts: 356
|
Posted: Fri Mar 23, 2007 4:55 pm Post subject: Re: Mp800 |
|
|
| davidc wrote: | No luck with a Canon Pixma MP800R, though I only tried the pixusip4100 driver (as it supports 770. 780. 790 etc). It does print but the top half of the CUPS test page is duplicated vertically, the bottom half is not shown. Also the colours on the colour wheel are out of alignment.
Perhaps I'll try some of the other drivers later, but wasting ink at the moment seems like a bad idea  |
I`m stuck in the same boat but I don`t have the "R" version, just plain mp800. Did you succeed with this? _________________ http://en.wikipedia.org/wiki/Cell_(microprocessor) |
|
| Back to top |
|
 |
ColinK Tux's lil' helper


Joined: 30 Dec 2005 Posts: 142
|
Posted: Fri Mar 23, 2007 5:24 pm Post subject: |
|
|
I suggest you to try other driver models too!
And I suggest you to start with the "cnijfilter" package, as it's newer!
Alternatively use Turboprint in the meantime (until Canon provides a new package - or Gutenprint covers the pixma series). |
|
| Back to top |
|
 |
dayul Apprentice


Joined: 02 Jun 2004 Posts: 180 Location: Blackpool, England
|
Posted: Wed Apr 18, 2007 8:35 am Post subject: |
|
|
gimp-print (Gutenprint) 5.1.0 is working well for me (Canon MP760), even duplex is working now  _________________ Mailtc- system tray mail checker. |
|
| Back to top |
|
 |
ColinK Tux's lil' helper


Joined: 30 Dec 2005 Posts: 142
|
Posted: Thu May 10, 2007 9:34 pm Post subject: |
|
|
Great News:
* Gutenprint actually supports a few pixmas now
* Canon released a new set of drivers cnijfilter-2.70
-> check it out |
|
| Back to top |
|
 |
fik n00b

Joined: 27 Feb 2006 Posts: 13
|
Posted: Fri May 18, 2007 12:26 pm Post subject: Re: Mp800 |
|
|
| RaZoR1394 wrote: | | I`m stuck in the same boat but I don`t have the "R" version, just plain mp800. Did you succeed with this? |
I have MP800R and Turboprint works, the free version is limited to 300DPI, with higher resolutions you have their logo printed in. With "R" I can print even throught newtork using protocol Socket and prot 9100. |
|
| Back to top |
|
 |
rock_bottom n00b

Joined: 21 Oct 2005 Posts: 39
|
Posted: Sun Jun 03, 2007 11:29 am Post subject: |
|
|
Hi there,
I'm having a problem using the cnijfilter-2.60-r6 ebuild from the wiki for my Pixma 4200.
If I try to emerge it i get the following error:
| Code: |
>>> Emerging (1 of 1) net-print/cnijfilter-2.60-r6 to /
* cnijfilter-common-2.60-1.src.rpm MD5 ;-) ... [ ok ]
* cnijfilter-common-2.60-1.src.rpm RMD160 ;-) ... [ ok ]
* cnijfilter-common-2.60-1.src.rpm SHA1 ;-) ... [ ok ]
* cnijfilter-common-2.60-1.src.rpm SHA256 ;-) ... [ ok ]
* cnijfilter-common-2.60-1.src.rpm size ;-) ... [ ok ]
>>> Creating Manifest for /usr/local/portage/net-print/cnijfilter
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking cnijfilter-common-2.60-1.src.rpm ;-) ... [ ok ]
*
* USE-flags (description / probably compatible printers)
*
* amd64 (basic support for this architecture - currently without servicetools)
* servicetools (additional monitoring and maintenance software)
* nocupsdetection (this is only useful to create binary packages)
* ip2200 ip1600/2200 mp150/170/450
* ip4200 ip4200 mp500
* ip6600d ip6600d/6600pd
* ip7500 ip7500
* mp500 ip4200 mp500
*
>>> Unpacking source...
>>> Unpacking cnijfilter-common-2.60-1.src.rpm to /var/tmp/portage/net-print/cnijfilter-2.60-r6/work
>>> Unpacking cnijfilter-common-2.60-1.tar.gz to /var/tmp/portage/net-print/cnijfilter-2.60-r6/work
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/local/portage/net-print/cnijfilter/files/cnijfilter-2.60-r1-pstocanonij-c.patch
* ( cnijfilter-2.60-r1-pstocanonij-c.patch )
!!! ERROR: net-print/cnijfilter-2.60-r6 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_unpack
ebuild.sh, line 753: Called qa_call 'src_unpack'
ebuild.sh, line 44: Called src_unpack
cnijfilter-2.60-r6.ebuild, line 118: Called epatch '/usr/local/portage/net-print/cnijfilter/files/cnijfilter-2.60-r1-pstocanonij-c.patch'
eutils.eclass, line 198: Called die
!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-print/cnijfilter-2.60-r6/temp/build.log'.
!!! This ebuild is from an overlay: '/usr/local/portage'
|
Looks like a file is missing, but I can't find it anywhere. Any suggestions?
Best regadst,
--rock |
|
| Back to top |
|
 |
RaZoR1394 Guru


Joined: 09 Jan 2005 Posts: 356
|
Posted: Mon Jun 04, 2007 8:53 pm Post subject: |
|
|
I tried both cnijfilter and Turboprint. There is no major difference except that big *snip* logo in the middle with Turboprint. This is when using MP600 on cnijfilter (I have MP800). Using for ex MP160 makes all the text/colors/pictures garbled. On both, the title and url of the document is also offset but that's no big issue. Seems to work fine now. Thanks. _________________ http://en.wikipedia.org/wiki/Cell_(microprocessor) |
|
| Back to top |
|
 |
|