Can anyone help because it was an expensive printer that was given through a charity fund (we didnt have a choice about the model) for sharing between the admin department and the cybercafe. Cheers._________________Puppy Linux's Mission

Managed to use the unrpm and undeb utilities (do a forum search for unrpm) to extract the .ppd file from the rpm package made by canon, and placed it in the /root folder. Next I ran the CUPS 0.3 package installer again, thinking it would pick up the new .ppd file which it did. However I am faced with this message...

Code:

The .ppd file in /root is not in the correct format for CUPS

Im stuck as to what format it could be, or how to change it.[/code]_________________Puppy Linux's Mission

7. Install libxml1 with [sudo apt-get install libxml1] for some support programs to work, as printuimp160 (in /usr/local/bin/)

you'll just need to modify the above for puppy's environment. so don't do 1), dload the 4 files, (2 if you only want the printer function). for points 3 & 4, i think the library files already are in pup2.16, maybe just need a symlink to work.

did you manage to get this working? my neighbour was just given the same model & i just got it working with cups. at first i couldn't get it to work, until i browsed the forum and came across a post, from gamfa, on a different canon model. the solution was that there are several library files which are extracted to /usr/lib, but without their required symlinks. once i symlinked each library the printer worked straight away.

i haven't gotten the scanner working yet...it's complaining of a few missing library files. so i'll look at that tomorrow. let me know if you need more info regarding the printer.

Thanks Muggins, will give it a try tomorrow. Looks very good. The centre manager is in a wheelchair and cant reach the buttons on most of the multifunction printers (theyre at the top on most) so this one is perfect for her. As long as she can still photocopy the scanner functions shouldnt be too critical. The printer was given as a charity gift from an IT scheme so it would be really great to get this working and not have to send it back._________________Puppy Linux's Mission

as long as you can get the printer working, the photocopier function will work as well. i haven't managed to get xsane to recognise it yet, but the bloke that wrote the pixma driver also wrote a commandline program that works.

This is a little explicit step-by step of what I did but it might just get someone with either a MP160 or a MP460 out of trouble. It is essentially the similar to what muggins mentioned but using pixmascan instead of scan. A few links to other threads here will probably also help Pixma MP users:

How I got Canon Pixma MP460 "all-in-one" Printer and Scanner to work in Puppy 2.16. This will work also for MP160 as the driver is the same.

(you can also download the guides there (guidemp160-pd-2.70-1.tar.gz)- they are partly helpful but also serve as a bit of a manual)

7. copied the rpm files to ad temp folder and then
unrpm cnijfilter-common-2.70-1.i386.rpm
unrpm cnijfilter-mp160-2.70-1.i386.rpm
Should make a sub dir usr with everthing in there
(Theoretically you could also unrpm it from / and it will all go directly into the 80% of the right folders)

8. Copy the files into the respective places under /usr with the same directory structure

9. The file canonmp160.ppd in ../usr/share/cups/model must be moved to to the /usr/share/cups/model if it hasn't been already.

10. Make symbolic links for all the libcnb***291.so.** with the last letters removed after the "so" part.
eg. libcnbpcmcm291.so.6.50.1 needs a symlink libcnbpcmcm219.so

11. Reboot to get the libs recognized. Make sure your printer is plugged in and switched on.

12. In a terminal:
/etc/rc.d/rc.cups restart

13. In a browser go to Cups local admin:
http://localhost:631/admin
Go to System -> Administration -> Printing
13a. Double-click "New Printer"
13b. Select option "Canon MP160 (USB Printer #1 with status readback for Canon IJ)" , click forward
13c. If the driver option "MP160 Ver.2.70" is not available in the list, select "Install driver" at the bottom and locate it at "/usr/share/cups/model/canonmp160.ppd"

14. in a terminal do the following to set the printer to the device and default:

3. cd to the folder
make
make install
Now everthing should be installed with the sane backend - but somehow Xsane doesnt know about it - will have to look into this further.

4. Useage of the stand alone scan program "pixmascan":
I made a short script to do A4 black and white to tiff file and another for A4 colour to a tif file and save to /mnt/home/ but you can use any folder:

This is a little explicit step-by step of what I did but it might just get someone with either a MP160 or a MP460 out of trouble. It is essentially the similar to what muggins mentioned but using pixmascan instead of scan. A few links to other threads here will probably also help Pixma MP users:

How I got Canon Pixma MP460 "all-in-one" Printer and Scanner to work in Puppy 2.16. This will work also for MP160 as the driver is the same.

(you can also download the guides there (guidemp160-pd-2.70-1.tar.gz)- they are partly helpful but also serve as a bit of a manual)

7. copied the rpm files to ad temp folder and then
unrpm cnijfilter-common-2.70-1.i386.rpm
unrpm cnijfilter-mp160-2.70-1.i386.rpm
Should make a sub dir usr with everthing in there
(Theoretically you could also unrpm it from / and it will all go directly into the 80% of the right folders)

8. Copy the files into the respective places under /usr with the same directory structure

9. The file canonmp160.ppd in ../usr/share/cups/model must be moved to to the /usr/share/cups/model if it hasn't been already.

10. Make symbolic links for all the libcnb***291.so.** with the last letters removed after the "so" part.
eg. libcnbpcmcm291.so.6.50.1 needs a symlink libcnbpcmcm219.so

11. Reboot to get the libs recognized. Make sure your printer is plugged in and switched on.

12. In a terminal:
/etc/rc.d/rc.cups restart

13. In a browser go to Cups local admin:
http://localhost:631/admin
Go to System -> Administration -> Printing
13a. Double-click "New Printer"
13b. Select option "Canon MP160 (USB Printer #1 with status readback for Canon IJ)" , click forward
13c. If the driver option "MP160 Ver.2.70" is not available in the list, select "Install driver" at the bottom and locate it at "/usr/share/cups/model/canonmp160.ppd"

14. in a terminal do the following to set the printer to the device and default:

3. cd to the folder
make
make install
Now everthing should be installed with the sane backend - but somehow Xsane doesnt know about it - will have to look into this further.

4. Useage of the stand alone scan program "pixmascan":
I made a short script to do A4 black and white to tiff file and another for A4 colour to a tif file and save to /mnt/home/ but you can use any folder:

Yep a .pet would be a lifesaver.
Three things are lacking with me at the moment
1. Time
2. Skills (need to learn how to make a trouble fee .pet)
3. Legal stuff using Canon provided files.

At any rate I will work on making a .pet for myself so when I rebuild my
puppy sometime I don't spend a day to get my printer and scanner to work.

It will probably take a long time before I have that done and other users smarter than me may be able to go further using what I discovered in the meantime.

Ok making a pet file is easy
just make a folder in your root, I always call mine "zdelete"
the reason I call it that is that its always on the bottom of the list so when you download files to use, you can easily transfer them into it. If I make a second folder for another project I usually call it "zzdelete" and so forth:)

next take the files that you downloaded and move them into zdelete
next make a folder in zdelete called Canon_MP160
extract your files then move the extracted folders into Canon_MP160
should be folders like user or lib.etc
next right click and select window and click Terminal Here.
type dir2pet Canon_MP160
follow the simple instructions
and thats it you have a new pet package, ready to give to the world

if you have a pet package and would like to extract it
just go to the command line in the folder and type
pet2tgz packagename.pet like for example the new package you just made would be

pet2tgz Canon_MP160.pet

then it will change you pet package to a tar.gz file and you can now extract it and look at the folders:)

I will give the pet creation some time later. Your tips together with the
"How to create a PET package" on http://www.puppylinux.com/development/createpet.htm
Should get me 95% there.
The scanner sane backend install script needs a lot of feedback (yes or no answers) to run, so a post install script pinstall.sh is needed for the .pet, but I need to make it run in a kind of pop up window. Any ideas on how I can script that?

Also few updates that might help other Pixma users:
I got xsane to go after re-running the install.sh script from the backend sane-pixma package in a terminal, not from rox. Then the questions and answers in the script are thoroughly done and the backend works.
Somehow the last steps were missed out the first time I did it..
Now I don't need the short A4 page scripts, but they are really handy for a quick scan and go solution.

I also tried the scanner drivers from Canon, also from the Australia website. They need Gimp and its libraries and also the symbolic links to the canon libriaries without everything after the so. bit. In short - too heavy for my liking and too much work to work. Perhaps someone with Pup 3 and Gimp might like it though.

And one for the printer
1.7mb
...only I have a small bug when it adds a line to rc.local
I need a carriage return (enter) put in or else it puts the line on the same line as the last command in the file.

I think the file size of the printer one is a bit much to upload to the forum.

Can anyone host it?

By the way a few basic rxvt commands and xmessage got me to get
the scripts go on startup of the .pet

And one for the printer
1.7mb
...only I have a small bug when it adds a line to rc.local
I need a carriage return (enter) put in or else it puts the line on the same line as the last command in the file.

I think the file size of the printer one is a bit much to upload to the forum.

Can anyone host it?

By the way a few basic rxvt commands and xmessage got me to get
the scripts go on startup of the .pet

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum