Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 31 Oct 2014, 11:11
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
Canon i865, Pixus 860 printer WORKS!
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
joecool

Joined: 20 Oct 2005
Posts: 9

PostPosted: Fri 31 Oct 2008, 07:28    Post subject:  Canon i865, Pixus 860 printer WORKS!
Subject description: So hard, so easy
 

Hi out there,

since Puppy 4.1 finally solved a lot of wlan USB stick problems I had with it before, I gave it another go.
This time my printer caused serious trouble, a Canon i865, aka Pixus i860 (only difference is you can't print CD labels with the i860).
This is a great printer, especially if you want to print high quality black&white photos. Colour's also very good. AND cartridges are not dongled, so it's inexpensive printing.

It does not work out of the box with Puppy 4.1, however. It's always been a bit of a bugger to set up under Linux. (The only really smooth setup I had was with PCL*n*xOS, but that's a slow and stiff system for me).

Here's what I did: I use the Debian packages of this guy from /var/cache/apt of my main Linux distro:

http://mambo.kuhp.kyoto-u.ac.jp/~takushi/canon-pixus.html

Sadly there is no direct download link available, but if you start any live Debian distro like Kn*pp*x etc., and follow procedures described on these pages, you'll have the following DEBIAN packages:

libcnbj-2.4.deb bjfilter-2.4.deb pstocanonbj.deb.

You unpack these to something like: /root/canoni865, into 3 newly created directories, say /libcnbj, /bjfilter, /pstocanonbj, by clicking on them and giving the about directories as the place to unpack them; they will be created, with the files inside.

Now you convert these directories individually into .tgz files; for this you open a terminal, cd to /root/Canoni865 & type sth. like:

tar cvfz libcnbj.tgz libcnbj
tar cvfz bjfilter.tgz bjfilter
tar cvfz pstocanonbj.tgz pstocanonbj

Next you create .pet packages of exactly the same name:

tgz2pet libcnbj.tgz
tgz2pet bjfilter.tgz
tgz2pet pstocanonbj.tgz

You install them by simply clicking on them; they installed without any problems for me.

Next check if you have any cups or Gutenprint packages installed; if so, DELETE THEM, again by simply clicking on them. I spent hours to get the standard cups version, Gutenprint drivers, etc. to work; the system sees the printer, but it doesn't print, you always get a "permission denied" message from the spooler, no matter what you do to the directories.

You are advised to reboot after installing any library, etc. I did this (not very Linux-like, rebooting after an install?).

Then go here:
http://dotpups.de/dotpups/Printing/
and install
cups-install-v0.3.pup

After the install the cups browser interface comes up, you install your printer, in the case of the Canon i865 this one:
Canon PIXUS 860i ver.2.4

I was happy to be able to print a testpage. It comes out in superb quality.
Since I was close to giving up, I thought I might save others a bit of time and trouble & post these instructions; please follow them, but of course entirely at your own risk.

Note: You should be able to get the following printers to print in this way, by downloading the relevant packages:

Canon (Pixus) 550i / 850i / 950i (i550 / i850 / i950) and iP90;
560i / 860i / 960i (i560 / i860 / i960);
iP3100 / iP4100 / iP8600 (and Pixma iP1000 / iP1500)

plus several Epson colour laser printers (see the webpage).

Things might be a lot easier if the "permission denied" problem could be fixed. But I can print now.

Good luck!

- Jupp
Back to top
View user's profile Send private message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sat 01 Nov 2008, 04:32    Post subject:  

Great! I use Takushi's .deb in my Debian install, but if you look at my thread further down this forum, you can see that Muggins made me a .pet from the original Canon .rpm drivers. This did the trick for me in no time.

One question: do the maintenance gui's work? Both Takushi's .deb on Debian and the Canon .rpm/.pet only print- no diagnostic/ maintenance gui's.

And can you print from Abiword? I've struggled with that, to no avail. On Puppy 3.01 I use Ted, and on 4.0/4.1 I have to use Open Office, which is ******* slow.

Gerry
Back to top
View user's profile Send private message 
joecool

Joined: 20 Oct 2005
Posts: 9

PostPosted: Sat 01 Nov 2008, 05:38    Post subject:  

Hi Gerry,

bit stupid of me not to check the available .pet packages first.

Since the maintenance gui never worked in my debian install, I haven't even tried to get it to work; maybe next step.

Printer administration like choosing paper type etc. works from the web interface of course.

Printing from Abiword does work, just tested.

Printing from The Gimp works fine, too, using the Gutenprint printer entry.

If anyone's interested, I can upload my .pet packages for Canoni865.

Cheers,

- Jupp
Back to top
View user's profile Send private message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sat 01 Nov 2008, 06:52    Post subject:  

Hi...

I found printing from GIMP 2.2 did not work, but 2.4 does work, but not using Gutenprint. In 2.4 the printer shows up as a choice, and works, but in 2.2 the only option is Gutenprint.

I've never got Abiword to print in Puppy using the .pet- but I did not see a way of using the Takushi version, which does print from Abiword in Debian. Perhaps I'll give your method a try- maybe Takushi improved things!

Gerry
Back to top
View user's profile Send private message 
joecool

Joined: 20 Oct 2005
Posts: 9

PostPosted: Sat 01 Nov 2008, 11:10    Post subject:  

Don't think there's any fault with the debian packages, have used them for well over 2 years with K*'n*t*x, my main distro, never a problem. I guess it has something to do with running everything as root in Puppy, which Cups doesn't seem to like, so printjobs get stuck somewhere on the way to the spooler; you can see them in /var/spool/cups/..., but you can't change permissions (I chmodded every darned directory down to the stored printjob, just wouldn't print). Seems to be a common problem with cups, and not easy to fix, which you see when you search the web. That still does not explain why some apps print & others don't. But I don't really want to go much deeper into this, my printer prints, bingo!
- Jupp
Back to top
View user's profile Send private message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sun 02 Nov 2008, 08:06    Post subject:  

I've done it on Puppy 4.1, and the great thing is that at last I can print from Abiword- so Mr Takushi did improve on the original Canon drivers.

You need to study Takushi's site, as he provides packages for a number of Canon and (I need to check...) Epson printers. My Canon i965 needed the 2.2 packages, rather than the 2.4 versions used by Joecool.

How I did it:

Boot up my old Debian install- takes over four minutes now that I've upgraded Etch to Lenny. Download, using Aptitude, but do not install, the relevant packages. They get parked in my home directory.

Re-boot into Puppy, and make use of the marvels of Puppy- mount the partition that has Debian in it. Then use Rox-filer ( which has access to all areas, despite Debian's security) to move the three packages to / in Puppy.

Now open a terminal in the / directory by right clicking in the Rox window, selecting "window > terminal here". In the terminal type

dpkg-deb --extract package_name.deb /

The final / is the destination for the unpacked files- none end up here, they go to the right directories. Close the terminal and Rox window.

I found that there is a missing lib file, so I needed to create a symlink to the equivalent one already in Puppy. Open a new terminal, type cd /usr/lib/ <ret>
then

ln -s libtiff.so.3.7.4 libtiff.so.4 <ret>

Close the terminal, reboot to shake it all into place, and go to cups and set up your printer.

This beats the method of installing the Canon drivers that I've used (and written about), since this method allows printing from Abiword.

Gerry
Back to top
View user's profile Send private message 
joecool

Joined: 20 Oct 2005
Posts: 9

PostPosted: Sun 02 Nov 2008, 08:33    Post subject:  

Congratulations, you've done it. It's basically the same procedure I have described above, only you unpack directly to the relevant directories. Advantage of "my method" (sounds rather presumptious) is you can cleanly uninstall the .pet packages, in case sth goes wrong & messes up your system.
A more general note: It's little things like these which have so far have always led me to giving up on Puppy or other distros at some point, at first it was modems, then wlan usb sticks, then printing. For the first time now it looks like Puppy can be a solid second for me. My first is Kanotix, and will remain so as long as it is maintained. But though that's fast, it can't beat the speed and simplicity of Puppy.
Regards,
- Jupp

PS: If only I could get streamtuner to work somehow now (but that's clearly no fault of Puppy)!
Back to top
View user's profile Send private message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sun 02 Nov 2008, 14:13    Post subject:  

WHOOPS! Hold it! This driver works fine on a local printer, ie one connected directly to the Puppy computer, BUT!

When I tried to set up cups to print to the printer connected via a Windows XP machine, some software called /usr/bin/gsc gets involved, and goes into a loop, gradually bringing the computer to a stop.

I'm investigating.

Gerry
Back to top
View user's profile Send private message 
joecool

Joined: 20 Oct 2005
Posts: 9

PostPosted: Sun 02 Nov 2008, 17:38    Post subject:  

Sounds like something ghostscript to me, doesn't Puppy pass on ps/pdf files to cups via ghostscript? I guess that's also where the "permission denied" error kicks in. I have never set up a network printer, but you need Samba for this, don't you? Have you tried the Samba .pet-package from the installer? Only vague guesses, but I'm sure somebody in the forum will help you.
Good luck,
- Jupp
Back to top
View user's profile Send private message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Fri 07 Nov 2008, 13:27    Post subject:  

Solved it. The Takushi driver needs /usr/share/ghostscript/8.62, whereas Puppy has 8.15 and symlinks to that from a number of other versions, up to 8.60. So I added a symlink from 8.62 to 8.15, and it (holds fingers crossed) works. So I'll have to go back to earlier versions of Puppy, and see if the same problem has been preventing me from printing from Abiword with the .pet.

Gerry

EDIT: That was a red herring: it coincidentally started working when I made that link, but would no longer work next time I booted the computer.

I'm lost! I just don't understand how I can get printing going, and then suddenly it won't work any more- and I haven't changed anything!

Gerry
Back to top
View user's profile Send private message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Thu 13 Nov 2008, 11:57    Post subject:  

I may have solved it.

Comparing Puppy 3.01, which does print to my Windows printer, I found that in 4.1.1 (and presumably the other 4* releases) every line in /etc/cups/client.conf is commented out, but in 3.01 this not so. So I edited this file, to make it the same in 4.1.1 as in 3.01, and I can now print to my windows printer. The edit is:

Change the line in the Servername section. Remove the # at the start of the line, and make the line read:

ServerName localhost

I'll edit this post if tomorrow the magic has stopped working, but for the moment IT WORKS.

EDIT: No, it worked this morning, but it doesn't work this evening. It's crazy! I'm getting to the point where I'll have to experiment with things like "Is the screen saver running on the Windows machine?"

Gerry
Back to top
View user's profile Send private message 
gerry

Joined: 26 Jul 2007
Posts: 946
Location: England

PostPosted: Sun 16 Nov 2008, 12:44    Post subject:  

Latest thing that makes it work, and so far has continued to work:

Do: Menu > Network > Pnethood Samba Shares

Check that the "Use cifs" box is ticked.

There should be a line with "print$" in it. Click on connect.

Now go to your app and print with your Canon printer connected through a Windows computer.

EDIT: you have to make this Pnethood connection every time you re-boot. Not very convenient!

Gerry
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0768s ][ Queries: 12 (0.0038s) ][ GZIP on ]