Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Canon i550 / i850 / i950 working / TUTORIAL !!!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
parasonic
Apprentice
Apprentice


Joined: 23 Aug 2004
Posts: 179

PostPosted: Mon Jun 20, 2005 2:28 am    Post subject: Reply with quote

A nice little smack back up to the top of the thread list...
Back to top
View user's profile Send private message
laurelin
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2005
Posts: 84
Location: Germany, Old Europe

PostPosted: Sun Jul 17, 2005 5:06 pm    Post subject: Re: Canon i550 / i850 / i950 working / TUTORIAL !!! Reply with quote

Genkroh wrote:
My printer worked.
Here's what I did in the order I did it:

# emerge cups
# emerge foomatic
# emerge gimp-print
Download two files from http://cweb.canon.jp/drv-upd/bj/bjlinux221.html.
And Save to a temporary directory such as /tmp.
1) bjfilterpixus550i-2.2-1.i386.rpm
2) bjfiltercups-2.2-1.i386.rpm
# ln -sf /usr/lib/libpng.so.3 /usr/lib/libpng.so.2
# emerge alien
# cd /tmp
# alien -t bjfilterpixus550i-2.2-1.i386.rpm
# alien -t bjfiltercups-2.2-1.i386.rpm
# tar xvfz bjfilterpixus550i-2.2.tgz
# tar xvfz bjfiltercups-2.2.tgz
# cd usr
# cp -r * /usr
# cd /usr/lib
# ln -s libcnbpcmcm154.so.5.71.2 libcnbpcmcm154.so
# ln -s libcnbpcnclapi154.so.2.2.0 libcnbpcnclapi154.so
# ln -s libcnbpcnclbjcmd154.so.2.2.0 libcnbpcnclbjcmd154.so
# ln -s libcnbpcnclui154.so.2.2.0 libcnbpcnclui154.so
# ln -s libcnbphtmg154.so.5.60.1 libcnbphtmg154.so
# ln -s libcnbpo154.so.1.0.4 libcnbpo154.so
# ln -s libcnbpsmth154.so.3.34.1 libcnbpsmth154.so
# ln -s libcnbpwcc154.so.5.41.1 libcnbpwcc154.so
# chmod 755 bjlib
# rc-update add cupsd default
# /etc/init.d/cupsd start


Now well. I have this printer too - meaning i865 (german version. named i860 outside Germany, I think) and I cheered a bit too early. I followed this steps and that's what I've got when I wanted to emerge Alien. Because this program is vital to the following steps, I beg you to help me.

These are the error-message and the log printed out:
Code:
# emerge -a alien
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-arch/dpkg-1.10.28
[ebuild  NS   ] sys-libs/db-3.2.9-r10
[ebuild  N    ] dev-libs/elfutils-0.108
[ebuild  N    ] app-arch/rpm-4.2
[ebuild  N    ] app-arch/alien-8.47

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 5) app-arch/dpkg-1.10.28 to /
>>> md5 files   ;-) dpkg-1.10.28.ebuild
>>> md5 files   ;-) files/dpkg-1.10.26.patch
>>> md5 files   ;-) files/digest-dpkg-1.10.28
>>> md5 files   ;-) files/dpkg-1.10.27.gcc4.patch
>>> md5 src_uri ;-) dpkg_1.10.28.tar.gz
>>> Unpacking source...
>>> Unpacking dpkg_1.10.28.tar.gz to /var/tmp/portage/dpkg-1.10.28/work
 * Applying dpkg-1.10.26.patch ...                                        [ ok ] * Applying dpkg-1.10.27.gcc4.patch ...

 * Failed Patch: dpkg-1.10.27.gcc4.patch !
 *  ( /usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dpkg-1.10.28/temp/dpkg-1.10.27.gcc4.patch-22046.out


!!! ERROR: app-arch/dpkg-1.10.28 failed.
!!! Function epatch, Line 359, Exitcode 0
!!! Failed Patch: dpkg-1.10.27.gcc4.patch!


/var/tmp/portage/dpkg-1.10.28/temp/dpkg-1.10.27.gcc4.patch-22046.out read the following:

Code:
***** dpkg-1.10.27.gcc4.patch *****

===================================

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch < /usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch

===================================
patching file lib/parse.c
Hunk #1 FAILED at 39.
1 out of 3 hunks FAILED -- saving rejects to file lib/parse.c.rej
===================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch < /usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch

===================================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- lib/parse.c.orig   2005-07-07 18:51:15.000000000 +0200
|+++ lib/parse.c   2005-07-07 18:53:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
===================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch < /usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch

===================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- lib/parse.c.orig   2005-07-07 18:51:15.000000000 +0200
|+++ lib/parse.c   2005-07-07 18:53:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
===================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch < /usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch

===================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- lib/parse.c.orig   2005-07-07 18:51:15.000000000 +0200
|+++ lib/parse.c   2005-07-07 18:53:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
===================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch < /usr/portage/app-arch/dpkg/files/dpkg-1.10.27.gcc4.patch

===================================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- lib/parse.c.orig   2005-07-07 18:51:15.000000000 +0200
|+++ lib/parse.c   2005-07-07 18:53:35.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored


sorry for pasting *all* the logs but maybe you have to ask for it anyway.
Can you help me to install alien please? And maybe there is another way for implementing the printer into CUPS - I'm running Gnome and CUPS (CUPS only waits for a ppd-file).
Back to top
View user's profile Send private message
amiatrome
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 180
Location: Campus | Arena Country Club | Home

PostPosted: Mon Jul 18, 2005 2:44 pm    Post subject: Reply with quote

Sohryu Asuka Langley wrote:
Ok here the "little" tutorial !

1. Download "ftp://download.canon.jp/pub/driver/bj/linux/bjfilterpixus550i-2.2-0.i386.rpm"

2. rpm2targz bjfiltercups-2.2-0.i386.rpm

3. Now untar it in your home directory !

4. The extracted files are put in an home/yourname/usr directory...

5. Delete the last numbers on the files in the directory home/yourname//usr/lib

example:

-
libcnbpcmcm154.so.5.71.2 -> libcnbpcmcm154.so

6. Now copy the folowing files in your home/yourname/usr into the appropriate directory as following :

/home/yourname/usr/lib/*.* -> /usr/lib
mkdir /usr/lib/bjilib
/home/yourname/usr/lib/bjilib/*.* -> /usr/lib/bjilib
/home/yourname/usr/local/bin/*.* -> /usr/local/bin

7. go into /usr/lib and do the following:

ls libpng*

there should be a libpng.so.3
if there is a libpng.so.2 you don't need to do the following:
if there is no libpng then you should emerge libpng

then do: ln -sf /usr/lib/libpng.so.3 /usr/lib/libpng.so.2

8. Download the file ftp://download.canon.jp/pub/driver/bj/linux/bjfiltercups-2.2-0.i386.rpm

9. rpm2targz bjfiltercups-2.2-0.i386.rpm

10. extract bjfiltercups-2.2-0.i386.tar.gz

11. copy /home/yourname/usr/share/cups/model/*.* -> /usr/share/cups/model

12. copy /home/yourname//usr/lib/cups/filter/*.* -> /usr/lib/cups/filter

13. copy /home/yourname/usr/lib/cups/backend/*.* -> /usr/lib/cups/backend

now restart your cups and configure your printer like said in the doc on www.gentoo.org
but not the foomatic thing ! We now have a working driver...


I had emerged cups and later chanced upon the descriptions here. I followed everything but was still facing the same problem on my i560 as others, that is, the LED blinked once but didnt print. I got it to work by emerging ghostscript. Dunno if thats helpful to any of you. :D
_________________
blog | homepage | alias | prompts
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Thu Sep 29, 2005 9:45 pm    Post subject: Reply with quote

Hum, maybe for i560 you should go ftp://download.canon.jp/pub/driver/bj/linux/
and check for better drivers:
download ftp://download.canon.jp/pub/driver/bj/linux/bjfilterpixus560i-2.4-0.i386.rpm
and ftp://download.canon.jp/pub/driver/bj/linux/bjfiltercups-2.4-0.i386.rpm
you have new and better drivers....
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
enrique
Guru
Guru


Joined: 03 Sep 2002
Posts: 342
Location: Denmark

PostPosted: Thu Jan 05, 2006 5:58 pm    Post subject: Reply with quote

I have a problem with my Canon i865 and Canon's v 2.50 drivers. I did not have any problems with the earlier version.

The problem is that if I print a page, the text/image is streched horizontial so that only half of the text/image appers, it looks like cups/the printer driver things that the sheet it is printing on is only half the width.

The printer is set to A4, and if I look in cups' logs I can't find anything that looks wrong. Here is everything that contains something with size:

Code:
D [05/Jan/2006:17:06:07 +0100] [Job 5] Page = 595x842; 10,14 to 586,833
D [05/Jan/2006:17:06:07 +0100] [Job 5] 0 %%DocumentMedia: Regular 595 842 0 () ()
D [05/Jan/2006:17:06:07 +0100] [Job 5] 0 %%BoundingBox: 0 0 595 842
D [05/Jan/2006:17:06:07 +0100] [Job 5] pw = 576.0, pl = 819.2
D [05/Jan/2006:17:06:07 +0100] [Job 5] PageLeft = 9.6, PageRight = 585.6
D [05/Jan/2006:17:06:07 +0100] [Job 5] PageTop = 833.4, PageBottom = 14.2
D [05/Jan/2006:17:06:07 +0100] [Job 5] PageWidth = 595.0, PageLength = 842.0
D [05/Jan/2006:17:06:07 +0100] [Job 5] pw = 576.0, pl = 819.2
D [05/Jan/2006:17:06:07 +0100] [Job 5] PageLeft = 9.6, PageRight = 585.6
D [05/Jan/2006:17:06:07 +0100] [Job 5] PageTop = 833.4, PageBottom = 14.2
D [05/Jan/2006:17:06:07 +0100] [Job 5] PageWidth = 595.0, PageLength = 842.0
D [05/Jan/2006:17:06:07 +0100] [Job 5] pstocanonbj: /usr/bin/gs -r600 -g4958x7016 -q -dNOPROMPT -dSAFER -sDEVICE=ppmraw -sOutputFile=- -| /usr/local/bin/bjfilterpixusip8600 --imageres 600 --papersize a4 --media plain --paperload asf --bbox 9,14,585,834


The 595x842 is the size of an A4 sheet in PostScript points (1 Postscript point = 0.0352777778 centimeter)

Any ideas?
_________________
Kind regards, enrique
Workstation,HTPC,Powerbook
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Fri Jan 06, 2006 4:55 pm    Post subject: Reply with quote

Old links are now broken, you can try
http://cweb.canon.jp/drv-upd/bj/other.html#linux now.
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
Eugene33
Apprentice
Apprentice


Joined: 14 Nov 2004
Posts: 167
Location: Lyon

PostPosted: Tue Jan 10, 2006 10:58 pm    Post subject: Reply with quote

Does anyone managed to make it work with an amd64 platform ????
I used the canon_i560 ebuild and it installed, I find my printer in Cups but when I want to print, nothing happen. Anyone have a clue ???
When I make a revdep-rebuild it ask me to re-emerge the canon_i560, each time !!!!
For the Bjfilter the emerge stop with the error:
Quote:
getipc.c: In function `GetIPCData':
getipc.c:66: warning: passing arg 3 of `accept' from incompatible pointer type
gcc -O2 -o bjfilter -L../../usr/lib bjferror.o bjfilter.o bjfimage.o bjfoption.o bjfpos.o bjfrcaccess.o getipc.o bjflist.o -lcnbpcmcm189 -lcnbpess189 -lm -ldl -ltiff -lpng -lcnbpcnclapi189 -lcnbpcnclbjcmd189 -lcnbpcnclui189 /usr/lib/libpopt.a
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible ../../usr/lib/libcnbpcmcm189.so when searching for -lcnbpcmcm189
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libcnbpcmcm189.so when searching for -lcnbpcmcm189
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../libcnbpcmcm189.so when searching for -lcnbpcmcm189
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/../lib64/libcnbpcmcm189.so when searching for -lcnbpcmcm189
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libcnbpcmcm189.so when searching for -lcnbpcmcm189
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libcnbpcmcm189.so when searching for -lcnbpcmcm189
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcnbpcmcm189
collect2: ld returned 1 exit status
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Thu Jan 12, 2006 11:39 am    Post subject: Reply with quote

Eugene33 wrote:
Does anyone managed to make it work with an amd64 platform ????
I used the canon_i560 ebuild and it installed, I find my printer in Cups but when I want to print, nothing happen. Anyone have a clue ???
When I make a revdep-rebuild it ask me to re-emerge the canon_i560, each time !!!!
For the Bjfilter the emerge stop with the error:
.........


Ebuild,Emerge? you should download both bjfilter-cups and bjfilter-560 .rpm packages from the japanese site,
then uncompress them by hand using this thread as howto, and use them as 32-bit binaries......
(I'm not sure if you need to have cups compiled as 32-bit version.....)
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Thu Jan 12, 2006 11:51 am    Post subject: Reply with quote

Matteo Azzali wrote:
Old links are now broken, you can try
http://cweb.canon.jp/drv-upd/bj/other.html#linux now.


wtf?

maybe you speak jp better than I do but there are several links there and I have no idea what any of them relate to.

I am guessing the model names I can read are new support which has been added each version .

If you understand that page or know a specific link could you post a link http or ftp to the actual download you are recommending?

Thx 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
scubed
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 122

PostPosted: Fri Jan 13, 2006 2:45 pm    Post subject: i450 Reply with quote

I have a i450. I see that someone earlier in the thread says
that they managed to get it to work. I followed the instructions
and installed the drivers from the rpm. They show up in CUPS,
and I set it to Canon/Pixus560i. When I try to print, it just
aborts. Here is what it has in the log:

Code:

error_log:
D [12/Jan/2006:19:36:30 -0500] [Job 27] perl: warning: Setting locale failed.
D [12/Jan/2006:19:36:30 -0500] [Job 27] perl: warning: Please check that your locale settings:
D [12/Jan/2006:19:36:30 -0500] [Job 27] LANGUAGE = (unset),
D [12/Jan/2006:19:36:30 -0500] [Job 27] LC_ALL = (unset),
D [12/Jan/2006:19:36:30 -0500] [Job 27] LANG = "en"
D [12/Jan/2006:19:36:30 -0500] [Job 27] are supported and installed on your system.
D [12/Jan/2006:19:36:30 -0500] [Job 27] perl: warning: Falling back to the standard locale ("C").
D [12/Jan/2006:19:36:30 -0500] [Job 27] Page = 612x792; 18,14 to 594,784
E [12/Jan/2006:19:36:30 -0500] [Job 27] pdftops-options: -cfg /etc/cups/pdftops.conf
...
D [12/Jan/2006:19:36:30 -0500] [Job 27] (Canon) langage moniter[/usr/local/bin/lgmonpixus560i --gui --cups] start!
E [12/Jan/2006:19:36:30 -0500] PID 21095 stopped with status 0!

localhost:631:
i450-27  watchtv.pdf  username  37k  aborted


Why does it say --gui? What other information would be useful
in diagnosing the problem?
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Fri Jan 13, 2006 2:46 pm    Post subject: Reply with quote

Gentree wrote:
Matteo Azzali wrote:
Old links are now broken, you can try
http://cweb.canon.jp/drv-upd/bj/other.html#linux now.


wtf?

maybe you speak jp better than I do but there are several links there and I have no idea what any of them relate to.

I am guessing the model names I can read are new support which has been added each version .

If you understand that page or know a specific link could you post a link http or ftp to the actual download you are recommending?

Thx 8)


You need to download 2 files: 1 is the bjfilterpixus related to your printer model,1 is the bjfiltercups related to the relase of the bjfiltercups
you choosed.
In the link I gaved you, choose in the linux box (just at top of the page) your model, looking which ver of the print filter is (Ver. : from 1.31 to 2.50).
then, after clicking the link, you will find a new page with the files near the bottom. Choose your "printer model" driver from http or ftp,
then download also the CUPS driver listed in the same box (I choosed rpm so downloaded rpm for both, you can try tar version for both if you like
to experiment).
Just note that when you select a download link, the name of the file will shows up in the left part of the statusbar. Check that you aren't downloading
the guides (useless cause japanese) but the drivers.

In my case I downloaded:
bjfilterpixus550i-2.2-1.i386.rpm
bjfiltercups-2.2-1.i386.rpm
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Fri Jan 13, 2006 4:56 pm    Post subject: Reply with quote

Thanks for the explaination.

Anyone know which would have any chance of working with an i925?

If any :?

Thx
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Fri Jan 13, 2006 8:14 pm    Post subject: Reply with quote

Gentree wrote:
Thanks for the explaination.

Anyone know which would have any chance of working with an i925?

If any :?

Thx


i925 is totally absent from the page..... if is a recent model you could try to wait some time, if it's an old model you might consider
the commercial drivers (I forgot the name...... was turboprint)
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/


Last edited by Matteo Azzali on Sat Jan 14, 2006 5:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
scubed
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 122

PostPosted: Fri Jan 13, 2006 8:17 pm    Post subject: Working! Reply with quote

I finally got the canon i450 printer working.
The RPM still gives the same error, but I
installed foomatic and put
Canon-BJC-7004-bjc800.ppd
in CUPS. I selected the
non-canon USB (usb: instead of canon_usb:)
and now the printer finally works properly!

I had tried TurboPrint previously, but it never quite worked.
It only printed very lightly. That might be because it was
the trial version.
Back to top
View user's profile Send private message
Eugene33
Apprentice
Apprentice


Joined: 14 Nov 2004
Posts: 167
Location: Lyon

PostPosted: Sun Jan 15, 2006 9:17 pm    Post subject: Reply with quote

Hi and thanks for the tip about the i560 but I got the same errors when I do it manually, or with the ebuild nothing works.
I downloaded the *.rpm related to the i560 deziped them and ./configure /make && make install; well nothing :cry:
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Mon Jan 16, 2006 1:06 pm    Post subject: Reply with quote

Eugene33 wrote:
Hi and thanks for the tip about the i560 but I got the same errors when I do it manually, or with the ebuild nothing works.
I downloaded the *.rpm related to the i560 deziped them and ./configure /make && make install; well nothing :cry:


./configure ./make isn't for rpm. rpms are already binaries. Check This post in this same thread to learn what to do with the rpms given by japan-canon....
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Wed Mar 08, 2006 11:11 pm    Post subject: Reply with quote

anyone has idea on x86_64?
when using straight from rpm, in error_cups, it shows
Code:

I [09/Mar/2006:06:53:08 +0800] Started backend /usr/lib64/cups/backend/usb (PID 16695) for job 1.
E [09/Mar/2006:06:53:08 +0800] PID 16694 stopped with status 127!
I [09/Mar/2006:06:53:08 +0800] Hint: Try setting the LogLevel to "debug" to find out more.
I [09/Mar/2006:07:01:06 +0800] Started "/usr/lib64/cups/cgi-bin/printers.cgi" (pid=18068)


and then if I set loglevel to debug, it saids that it can't find libcups.so.2, which is RIGHT THERE!

also, when I try to compile bjfilter, I get
Code:

make  all-recursive
make[1]: Entering directory `/root/bjfilter-2.5-1'
Making all in src
make[2]: Entering directory `/root/bjfilter-2.5-1/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/cncl      -I../include/misc    -O2 -c bjferror.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/cncl      -I../include/misc    -O2 -c bjfilter.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/cncl      -I../include/misc    -O2 -c bjfimage.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/cncl      -I../include/misc    -O2 -c bjfoption.c
bjfoption.c: In function `SetCmdOption':
bjfoption.c:546: warning: passing arg 3 of `poptGetContext' from incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/cncl      -I../include/misc    -O2 -c bjfpos.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/cncl      -I../include/misc    -O2 -c bjfrcaccess.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/cncl      -I../include/misc    -O2 -c getipc.c
getipc.c: In function `GetIPCData':
getipc.c:67: warning: passing arg 3 of `accept' from incompatible pointer type
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/cncl      -I../include/misc    -O2 -c bjflist.c
gcc  -O2  -o bjfilterpixusip3100  bjferror.o bjfilter.o bjfimage.o bjfoption.o bjfpos.o bjfrcaccess.o getipc.o bjflist.o -lcnbpcmcm218 -lcnbpess218         -lm -ldl -ltiff -lpng   -lcnbpcnclapi218 -lcnbpcnclbjcmd218     -lcnbpcnclui218 /usr/lib/libpopt.a
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcnbpcmcm218
collect2: ld returned 1 exit status
make[2]: *** [bjfilterpixusip3100] Error 1
make[2]: Leaving directory `/root/bjfilter-2.5-1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bjfilter-2.5-1'
make: *** [all-recursive-am] Error 2



anyone has any ideas please?
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
Back to top
View user's profile Send private message
ATha1
n00b
n00b


Joined: 16 Feb 2005
Posts: 16

PostPosted: Sat Mar 11, 2006 3:20 pm    Post subject: Reply with quote

Sohryu Asuka Langley wrote:
Ok here the "little" tutorial !

1. Download "ftp://download.canon.jp/pub/driver/bj/linux/bjfilterpixus550i-2.2-0.i386.rpm"

2. rpm2targz bjfiltercups-2.2-0.i386.rpm

3. Now untar it in your home directory !

4. The extracted files are put in an home/yourname/usr directory...

5. Delete the last numbers on the files in the directory home/yourname//usr/lib

example:

-
libcnbpcmcm154.so.5.71.2 -> libcnbpcmcm154.so

6. Now copy the folowing files in your home/yourname/usr into the appropriate directory as following :

/home/yourname/usr/lib/*.* -> /usr/lib
mkdir /usr/lib/bjilib
/home/yourname/usr/lib/bjilib/*.* -> /usr/lib/bjilib
/home/yourname/usr/local/bin/*.* -> /usr/local/bin

7. go into /usr/lib and do the following:

ls libpng*

there should be a libpng.so.3
if there is a libpng.so.2 you don't need to do the following:
if there is no libpng then you should emerge libpng

then do: ln -sf /usr/lib/libpng.so.3 /usr/lib/libpng.so.2

8. Download the file ftp://download.canon.jp/pub/driver/bj/linux/bjfiltercups-2.2-0.i386.rpm

9. rpm2targz bjfiltercups-2.2-0.i386.rpm

10. extract bjfiltercups-2.2-0.i386.tar.gz

11. copy /home/yourname/usr/share/cups/model/*.* -> /usr/share/cups/model

12. copy /home/yourname//usr/lib/cups/filter/*.* -> /usr/lib/cups/filter

13. copy /home/yourname/usr/lib/cups/backend/*.* -> /usr/lib/cups/backend

now restart your cups and configure your printer like said in the doc on www.gentoo.org
but not the foomatic thing ! We now have a working driver...

If you still have questions... ASK !!! Ah nearly forgot to say that you can only print in 600dpi... But Hey !!! We can print !

:P :P :P :P :P :P :P


Does this work fpr Canon i455 printers?
I hope so, but I can't establish a connection to my printer.

Controlcenter says Status: Inaktiv

I don't know what I can do to solve the Problem.

Is there anyone, who have experience with installing this printer?
Back to top
View user's profile Send private message
Matteo Azzali
Retired Dev
Retired Dev


Joined: 23 Sep 2004
Posts: 1133

PostPosted: Wed Mar 28, 2007 10:18 am    Post subject: Reply with quote

just a note for anyone still having issues here.... japan drivers are binaries and actually obsolete.
Check at linuxprinting which driver is best for your printer
and use oss ones that are working better (really.... these aren't videocards.... :wink: ).
I'm actually using bjc8200 for my i550 printer.
(with this driver I can print 1200x1200 dpi and I got a lot more options...)
_________________
Every day a new distro comes to birth. Every day a distro "eats" another.
If you're born distro, no matter what, start to run.
---- http://www.linuxprinting.org/ ---- http://tuxmobil.org/
Back to top
View user's profile Send private message
glc
n00b
n00b


Joined: 22 Sep 2008
Posts: 1

PostPosted: Mon Sep 22, 2008 10:03 am    Post subject: Re: Canon i550 : making canon.jp driver work again Reply with quote

bagr99 wrote:
Thanks.
I'm add the link.
But now i have other error
Code:

d [13/Apr/2004:19:35:52 +0000] ReadClient() 7, used=0
D [13/Apr/2004:19:35:52 +0000] CloseClient() 7
d [13/Apr/2004:19:35:52 +0000] CloseClient: Removing fd 7 from InputSet and OutputSet...
D [13/Apr/2004:19:35:53 +0000] [Job 18] BJFILTER ERROR :file access Error!
D [13/Apr/2004:19:35:53 +0000] [Job 18] not support this image format
d [13/Apr/2004:19:35:53 +0000] PID 5660 exited with no errors.
d [13/Apr/2004:19:35:53 +0000] AcceptClient(0x808b668) 0 NumClients = 1
D [13/Apr/2004:19:35:53 +0000] AcceptClient() 7 from localhost:631.
d [13/Apr/2004:19:35:53 +0000] AcceptClient: Adding fd 7 to InputSet...



I have the same problem with my i560...
But, I've played with the bjfilter source code, and I've patched it, to see what happens.
First, I've just added a line to see what kind of unrecognisable image type the filter does not understand and, by adding some text in the bjf_error calls in bjfimage.c :
and, adding this at line 127 :
Code:
for (i=0;i<=10;i++) { fprintf (stderr, "tbuf[%i]=%i (x%x)\n", i, tbuf[i], tbuf[i]); }

the output is :
Code:

D [22/Sep/2008:11:46:11 +0200] [Job 52] BJFILTER ERROR :file access Error!
D [22/Sep/2008:11:46:11 +0200] [Job 52] not support this image format PNGSTART1 (bjfimage.c:126)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[0]=37 (x25)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[1]=37 (x25)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[2]=8 (x8)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[3]=1 (x1)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[4]=0 (x0)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[5]=0 (x0)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[6]=0 (x0)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[7]=116 (x74)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[8]=131 (x83)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[9]=5 (x5)
D [22/Sep/2008:11:46:11 +0200] [Job 52] tbuf[10]=8 (x8)


So, I've tried to see what type of image it is, I've just added a line in bjfimage.c (before line 127 (goto onErr;)) :
Code:
BF=fopen("/tmp/bjf.file","wb"); fwrite(tbuf, 2, 1, BF);  while( fread(tbuf, 8, 1, stdin) ) { fwrite(tbuf, 8, 1, BF); } ; fclose(BF);

Then, as the printed "file" comes from a previous cups filter, it is stdin. I'm just writing stdin to a file, and the continue with the old "goto onErr;".

The file written is :
Code:

# file /tmp/bjf.file
/tmp/bjf.file: ISO-8859 text, with very long lines


Really surprising as I expected to have an image !
looking at the header of the file :

Code:

# head -4 /tmp/bjf.file
%%[ ProductName: GPL Ghostscript ]%%
P6
# Image generated by GPL Ghostscript (device=ppmraw)
5100 6600


what a hell is this ????
I mean, ok, this is the output of ghostscript, but..... what is it doing here ?

FYI, I've just tried to print the front page of google from internet explorer, via samba and the cups.
Going to the printer configuration into cups (http://localhost:631/) and printing localy the test page, it works perfectly !

Any idea about why from printing remotely, I got this ??
Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2, 3, 4
Page 4 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum