Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Canon BJC-6200 and new PIXMA IP5000 (also others now)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mrnato
n00b
n00b


Joined: 10 May 2005
Posts: 13

PostPosted: Fri Jun 10, 2005 3:27 pm    Post subject: Canon BJC-6200 and new PIXMA IP5000 (also others now) Reply with quote

I had the printer installed folowing the last post in this

https://forums.gentoo.org/viewtopic-t-45240-highlight-bjc6200.html (THANX RALPH)

and all seeming to be fine.. but nothing got printed.. a lot of the time i got Printer Fault! in the cups web interface..

Just wondering if anyone else has lots of trouble getting this to work.. after many hrs.. I discovered it tries to use STP as the device... (no clue what this is.. some thing to do with ghostscript)

When i set loglevel to debug it says

D [11/Jun/2005:01:08:26 +1000] [Job 7] Starting renderer
D [11/Jun/2005:01:08:26 +1000] [Job 7] JCL: <job data>
D [11/Jun/2005:01:08:26 +1000] [Job 7]
D [11/Jun/2005:01:08:26 +1000] [Job 7] renderer PID kid4=6467
D [11/Jun/2005:01:08:26 +1000] [Job 7] renderer command: gs -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=stp -sOutputFile=- -
D [11/Jun/2005:01:08:26 +1000] [Job 7]
D [11/Jun/2005:01:08:26 +1000] [Job 7] Closing renderer
D [11/Jun/2005:01:08:26 +1000] [Job 7] perl: warning: Setting locale failed.
D [11/Jun/2005:01:08:26 +1000] [Job 7] perl: warning: Please check that your locale settings:
D [11/Jun/2005:01:08:26 +1000] [Job 7] LANGUAGE = (unset),
D [11/Jun/2005:01:08:26 +1000] [Job 7] LC_ALL = (unset),
D [11/Jun/2005:01:08:26 +1000] [Job 7] LANG = "en"
D [11/Jun/2005:01:08:26 +1000] [Job 7] are supported and installed on your system.
D [11/Jun/2005:01:08:26 +1000] [Job 7] perl: warning: Falling back to the standard locale ("C").
D [11/Jun/2005:01:08:26 +1000] [Job 7] foomatic-gswrapper: gs '-dPARANOIDSAFER' '-dNOPAUSE' '-dBATCH' '-sDEVICE=stp' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
D [11/Jun/2005:01:08:26 +1000] [Job 7] ESP Ghostscript 7.07 (2003-07-12)
D [11/Jun/2005:01:08:26 +1000] [Job 7] Copyright 2003 artofcode LLC and Easy Software Products, all rights reserved.
D [11/Jun/2005:01:08:26 +1000] [Job 7] This software comes with NO WARRANTY: see the file PUBLIC for details.
D [11/Jun/2005:01:08:26 +1000] [Job 7] Unknown device: stp
D [11/Jun/2005:01:08:26 +1000] [Job 7] renderer return value: 1
D [11/Jun/2005:01:08:26 +1000] [Job 7] renderer received signal: 1
D [11/Jun/2005:01:08:26 +1000] [Job 7] tail process done writing data to STDOUT
D [11/Jun/2005:01:08:26 +1000] [Job 7] KID4 exited with status 0
D [11/Jun/2005:01:08:26 +1000] [Job 7] KID4 finished
D [11/Jun/2005:01:08:26 +1000] [Job 7] KID3 exited with status 3
D [11/Jun/2005:01:08:26 +1000] [Job 7] Renderer exit stat: 3
D [11/Jun/2005:01:08:26 +1000] [Job 7] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
D [11/Jun/2005:01:08:26 +1000] [Job 7] Possible error on renderer command line or PostScript error. Check options.



I did a gs -h and noticed that in the available drivers STP it does not exist... but one called bjccolor does!

I edited the /etc/cups/ppd/Canon.ppd and changed

*FoomaticIDs: Canon-BJC-6200 stp
*FoomaticRIPCommandLine: "gs -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDE&&
VICE=STP %A%Z -sOutputFile=- -"
*End


to this

*FoomaticIDs: Canon-BJC-6200 stp
*FoomaticRIPCommandLine: "gs -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDE&&
VICE=bjccolor %A%Z -sOutputFile=- -"
*End



and it works! I didnt know where to put this.. but sure it will help someone with this trouble :)


Last edited by mrnato on Thu Jul 21, 2005 3:11 am; edited 1 time in total
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Jun 10, 2005 3:48 pm    Post subject: Re: Canon BJC-6200 Reply with quote

mrnato wrote:
I didnt know where to put this.. but sure it will help someone with this trouble :)

Moved from Instaling Gentoo to Documentation, Tips & Tricks, which is a much better place for it. :wink:
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
mrnato
n00b
n00b


Joined: 10 May 2005
Posts: 13

PostPosted: Sat Jun 11, 2005 2:43 am    Post subject: Reply with quote

Part 2 :)

After trying for same length of time to get windows pc to print to the samba share printer.. It would seem ok but not print..

This was the error

E [04/Apr/2004:10:31:57 +0100] print_job: Unsupported format
> 'application/octet-stream'!
> I [04/Apr/2004:10:31:57 +0100] Hint: Do you have the raw file printing rules
> enabled?


To print from windows to linux seems u need to do this

You probably need to uncomment the following lines in
/etc/cups/mime.types and /etc/cups/mime.convs:


/etc/cups/mime.types:
#application/octet-stream


/etc/cups/mime.convs:
#application/octet-stream application/vnd.cups-raw 0
-


That will allow raw printing.
Back to top
View user's profile Send private message
mrnato
n00b
n00b


Joined: 10 May 2005
Posts: 13

PostPosted: Sun Jun 19, 2005 11:41 am    Post subject: Part 3 :) (Actually can use for ALL printers) Reply with quote

Alright.. I found some new stuff.. that bjccolor is an older driver.. there is some IJS Gimp Print or something.. its installed with the directions ralph gave anyway...

the older driver printed fine from windows pcs (maybe cause they printed raw) but the printing form the linux pc was very heavy and not too good.. this new driver which i think is the Gimp-Print part of it fixes that. being written for the 6200 (and most other printers if u read link)

Just to get it working for canon 6200 edit the canon.ppd file again

Change this

*FoomaticIDs: Canon-BJC-6200 stp
*FoomaticRIPCommandLine: "gs -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDE&&
VICE=bjccolor %A%Z -sOutputFile=- -"
*End


To this

*FoomaticIDs: Canon-BJC-6200 stp
*FoomaticRIPCommandLine: "gs -q -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDE&&
VICE=ijs -sIjsServer=/usr/bin/ijsgimprint -sDeviceManufacturer=CANON -sDeviceModel=bjc-6200 %A%Z -sOutputFile=- -"
*End

That will print 10x sharper and clearer (if not better than windows did :) and enable you to use all the options in this link below (just below the install stuff is all the options u can use). U just edit the FoomaticRIPCommandLine and add any options u want. it also explains at the top STP is no longer used.. so no idea why the ppd files have STP as default driver

http://euclid.math.temple.edu/usr/share/doc/packages/ghostscript/doc/stp/README

damn and all this was in the ghostscript doc to start with!!! :)

In there it explains how to set that line for ANY of the supported printers and all of the options
Back to top
View user's profile Send private message
mrnato
n00b
n00b


Joined: 10 May 2005
Posts: 13

PostPosted: Thu Jul 21, 2005 3:33 am    Post subject: PIXMA help :) Reply with quote

Sadly after getting my bjc6200 to work.. it bungee jumped off a shelf without a cord... I went out and bought a CANON PIXMA IP5000 and went to work on it.. couldn't find any drivers but found that TurboPrint supports them.. but you need to pay 40 euro for this program.. After mor searching I found some Japanese Instructions on setting it up.. It works 100% for me.. It was quite a mission to figure out but shouldnt be too hard.

first I downloaded the guide for my printer

ftp://download.canon.jp/pub/driver/bj/linux/guidepixusip4100-2.50-1.tar.gz (checkout ftp for japanese instructions for your type.. it has file locations needed later)


ftp://download.canon.jp/pub/driver/bj/linux/bjfilter-common-2.50-2.src.rpm


I downloaded this rpm which contains the src for the canon bj filters.. it has support for the PIXUS 4100, 3100 and 8600 which are the same as the PIXMA 1000, 1500, 4000 (this one works for 5000 which i have), 3000 and the 8500. I'm sure between the PPD files supplied in the src you could setup any PIXMA printer.

Just extract the source files to some dir like /root/canon

from there.. i went into these dirs... bjcups, libs, pstocanonbj

in these dirs I ran ./autogen.sh then make then make install

then i went into these dirs bjfilter , printui

in these dirs i ran ./autgen.sh --program-suffix=pixusip4100 (u can set the model here with.. * You can set the following <Printer Model Name>.
pixmaip1000 , pixmaip1500 , pixusip3100 , pixusip4100 , pixusip8600)


that will install most of the needed stuff.. except some libraries in the numbered dirs.. seems each model has its own dir.. for mine i use the 221 dir.. if you keep clicking next in the japanese guide u get a file location list which tells u which numbered dir to copy where..

From the 221 dir I copied these files to the appropriate location


【共有ライブラリ】
/usr/lib/libcnbpcmcm221.so.6.11.1 (Command Complex共有ライブラリ)
/usr/lib/libcnbpess221.so.2.0.5 (ESS共有ライブラリ)
/usr/lib/libcnbpcnclui221.so.3.1.0 (CNCLUI共有ライブラリ)
/usr/lib/libcnbpcnclapi221.so.3.1.0 (CNCLAPI共有ライブラリ)
/usr/lib/libcnbpcnclbjcmd221.so.3.1.0 (Nativeコマンド共有ライブラリ)
/usr/lib/libcnbpo221.so.1.0.7 (Output共有ライブラリ)
/usr/lib/libcnbpcmcm221.so (/usr/lib/libcnbpcmcm221.so.6.11.1へのsymbolic link)
/usr/lib/libcnbpess221.so (/usr/lib/libcnbpess221.so.2.0.5へのsymbolic link)
/usr/lib/libcnbpcnclui221.so (/usr/lib/libcnbpcnclui221.so.3.1.0へのsymbolic link)
/usr/lib/libcnbpcnclapi221.so (/usr/lib/libcnbpcnclapi221.so.3.1.0へのsymbolic link)
/usr/lib/libcnbpcnclbjcmd221.so (/usr/lib/libcnbpcnclbjcmd221.so.3.1.0へのsymbolic link)
/usr/lib/libcnbpo221.so (/usr/lib/libcnbpo221.so.1.0.7へのsymbolic link)



【プリンタ別データベース】
/usr/lib/bjlib/cnbpname221.tbl (ライブラリ名データベース)
/usr/lib/bjlib/cnb_2210.tbl (データベース)
/usr/lib/bjlib/bjfilterpixusip4100.conf (コマンドオプションデータ)


I then restarted cups.. went into printer settings in kde and setup the new printer.. I think I had to copy the PPD from the PPD dir to /usr/libs somehwere but forgot now :) I selected other and chose the provided PPD file and it prints PERFECTLY! It would be great to get a proper translation on the guides. There is CANON PIXMA IP**** Linux support!!! It's just in japanese and meant for suse or turbolinux.. but gentoo prevails :)
Back to top
View user's profile Send private message
GlooM
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jul 2003
Posts: 119
Location: $HOME

PostPosted: Tue Aug 23, 2005 4:57 pm    Post subject: Reply with quote

Thanks a lot for this guide !

I have a Pixma iP5000 too. For anyone who will try to make it work using this guide here are some tips:

make install of on of the packages installs pstocanonbj into /usr/local/lib/cups/filter/, but it should be in /usr/lib/cups/filter, simple copy fixes this.
The ppd files are in /bjfilter-common-2.50/ppd/, copy it to /usr/share/cups/model/.

Well those were the only difficulties I encountered, everything works fine now.
Good luck!
Back to top
View user's profile Send private message
Thorir
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2002
Posts: 94
Location: Duisburg/Germany

PostPosted: Thu Aug 25, 2005 9:36 am    Post subject: Reply with quote

Thank you, mrnato and gloom !!!

My pixus ip 4000 works now with the pixusip4100-ppd.

Hope, Canon will advance their drivers to get more settings and not only printing with 600dpi.

Thorir
Back to top
View user's profile Send private message
musicman
n00b
n00b


Joined: 13 Jun 2004
Posts: 66

PostPosted: Tue Oct 18, 2005 6:40 pm    Post subject: Reply with quote

Hi, this is a great howto, and by editing the .ppd file as per http://www.linuxprinting.org/forums.cgi?group=linuxprinting.canon.general;article=2528, you can open up more resolutions as possibilities.

I have a problem, though: Using both the compile-from-source instructions and the instructions described at this link, color elements in my printouts are skewed horizontally across the page, and the primaries are somewhat separated from each other. I have a block of what looks like an interlaced version of part of the photo I was trying to print, and beside that I have a slightly more green section, and beside that, I have a completely yellow section. And then, I have an interlaced version of part of the picture that ran off the other side of the page, as if it had wrapped around the paper.

Help! (It would be great if I didn't have to pay for turboprint)

I have an AMD Athlon 64 system running a 32-bit Gentoo install.
Back to top
View user's profile Send private message
Thorir
Tux's lil' helper
Tux's lil' helper


Joined: 13 Nov 2002
Posts: 94
Location: Duisburg/Germany

PostPosted: Tue Oct 18, 2005 8:01 pm    Post subject: Reply with quote

I bought turboprint.

It is worth it. You can use everything the windows driver provides.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
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