PuppyThis forum is for the discussion of Puppy Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am unable to get my Puppy 4.1 to print anything at all - and have searched the Puppy sites without much success. Where I thought there was a solution - the processes described were way too complex for me. Best I could find was the possible use of printer drivers available as deb files.
I have a Canon Pixma i4500 printer that I have managed to make work acceptably in Ubuntu Hardy using the following deb files:
You can unpack those files and decide for yourself what to do with all the files.
For example:
cd
mkdir printer_files
cd printer_files
mkdir common
cd common
ar x /path/to/cnijfilter-common_2.80-1_i386.deb
That should produce the files:
debian-binary
control.tar.gz
data.tar.gz
tar xvf control.tar.gz
Should produce:
md5sums
postinst
preinst
prerm
postrm
conffiles
control
The 'preinst' and 'postinst' are scripts which do some setup operations before and after installing
If you unpack data.tar.gz you should get a directory heirarchy containing the executables, libraries, man pages, and so on. You can rummage through that to get an idea of what files are there and what you should do with them.
One important thing if you have executables is to check all dependencies and make sure they will be met; otherwise you will be wasting your time doing all this unpacking and copying.
Thanks. I had previously obtained the deb / rpm / source files from the same site you referred. I used the deb files for Ubuntu and the rpm files for Fedora.
I am clueless as to what to do with the source file. I am afraid I have no programming knowledge - and unless I have specific instructions on what to do, I will be lost.
This is asking too much, I know - unless someone has already done something like this before and has references handy.
Guessing a little here (as in I am not going to try it out).
Download the source (looks like you can skip that). Lets say they are in /usr/src
go to the source (cd /usr/src)
unpack the tarball (tar xvf cnijfilter-common-2.80-1.tar.gz)
cd cnijfilter-common-2.80
faff around for a while wondering why there are no documents to read. Finally decide to look in ./ppd (cups uses ppd's as definition files)
Read INSTALL
follow the instructions (here I'm just replicating what they say)
./autogen.sh --prefix=/usr --program-suffix=ip4500
sudo make install
I'm now assuming you should be able to install the printer using CUPS, and tell cups to use the newly generated ppd file (I guess it's in /usr somewhere - try "find / -type f -name '*.ppd')
Last edited by billymayday; 11-23-2008 at 11:12 PM.
pinniped, did you mean open out the deb file (cnijfilter-common_2.80-1_i386.deb)?
I opened up the source file (cnijfilter-common-2.80-1.tar.gz.gz) and found lots and lots of folders / files. I know I will get hopelessly lost if I try working on these!!
Will try and to check out what is installed under my Ubuntu printer files if possible - and maybe I can try and learn something.
Thanks for all the help. But right now I have a different problem I think - my printer not is being detected at all. All my other usb devices seem to be detected (inc a scanner which is not Linux compliant)- but the printer doesn't show up at all - despite switching usb ports around.
Fedora/Ubuntu at least used to print out blank sheets of paper until I got the correct drivers installed!!
Going thru process of uninstalling CUPS and re-installing and checking for connectivity before I attempt what has been suggested.
Didn't have 'lsusb' - but installed 'usbview' , and that's when I realized my printer was not listed. However, my printer works fine with the other OS - Ubuntu/Fedora/XP
But after I uninstalled / reinstalled CUPS etc, re-booted - I now have major problems - I seem to have lost everything I had. Desktop, some programs etc. But now I can see the printer in usbview!!
Looks like I have to re-install puppy from the original Live CD and start all over. Yuks!!
Update - have reinstalled Puppy, and usb printer detected and able to print blank sheets!
Unpacked the tarball cnijfilter-common-2.80-1.tar.gz.gz, and have a ppd for the iP4500. Unfortunately couldn't build it with:
"./autogen.sh --prefix=/usr --program-suffix=ip4500 sudo make install" as suggested.
Error says I don't have 'autoconf' and 'automake' and get from ftp://ftp.gnu.org/pub. But there are lots of 'automake' and 'autoconf' files there - not certain which is the right one or if any will do.
Downloaded and installed Cups 1.3.3 - and this seemed to have the option to specify a ppd file. But there is a lot wrong with the new Cups - cannot print test page etc, and no ouputs. So back to square 1.
Will give this a little bit of rest for the moment!!
Will try, but have a bit more work to do. What I thought was the iP4500 ppd from the tarball extract appears to be a pretty small file (14KB) and viewing as text it suggests its an add-on.
The Canon.ppd file that is provided in Puppy is an 85KB file. This ppd driver seems to be effective whatever Canon model printer is chosen selected in Cups. I checked my Ubuntu files, and the iP4500 file is a full 87KB - this is closer to the 85KB Canon.ppd file in Puppy.
I opened up the deb files as suggested by pinniped - and he was right. There is a whole bunch of files in data.tar.gz. I can only assume that apt-get builds the iP4500.ppd in some fashion from the deb files, and distributes the others to the right places in the system.
All this is way over my head - a good point to give up!!
Will try, but have a bit more work to do. What I thought was the iP4500 ppd from the tarball extract appears to be a pretty small file (14KB) and viewing as text it suggests its an add-on.
The Canon.ppd file that is provided in Puppy is an 85KB file. This ppd driver seems to be effective whatever Canon model printer is chosen selected in Cups. I checked my Ubuntu files, and the iP4500 file is a full 87KB - this is closer to the 85KB Canon.ppd file in Puppy.
I opened up the deb files as suggested by pinniped - and he was right. There is a whole bunch of files in data.tar.gz. I can only assume that apt-get builds the iP4500.ppd in some fashion from the deb files, and distributes the others to the right places in the system.
All this is way over my head - a good point to give up!!
and created two pet files that I installed using PET Package Manager, and saw that the driver was actually listed in the selections available.
Unfortunately I must have messed up something somewhere, and I couldn't actually install and give an 'client-error' code. For that matter I couldn't actually install even the previous drivers available, with the same error code.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.