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.
Printing
1. downloaded from dotpups.de unrpm-undeb.pup installed
2. installed cups as described in other threads
link:
http://puppyfiles.org/dotpupsde/dotpups ... l-v0.3.pup
and a few hints here:
http://www.murga-linux.com/puppy/viewtopic.php?t=25058
3. Open file /etc/rc.d/rc.local, and add the line:
/etc/rc.d/rc.cups start
Then save it.
4. Use ROX-filer to go to the properties of /etc/rc.d/rc.cups and change the permissions, so that is executable.
5. install lib.png.so.2.zip see:
http://www.murga-linux.com/puppy/viewtopic.php?t=22095
6. Goto Canon Australia to download two files:
http://canon.com.au/products/all_in_one ... pport.aspx, go through the selection and find the printer drivers
cnijfilter-common-2.70-1.i386.rpm (common package)
cnijfilter-mp160-2.70-1.i386.rpm (specials for the MP160)
(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:
lpadmin -p MP160 -P cannonmp160.ppd -v cnij_usb:/dev/usb/lp0 -E
lpadmin -d MP160
15. Back in Cups admin in the browser, select Printer and try a test page.
Scanner
There is a native cannon driver but I didn't quite do it that way
Requirements:
Compiling environment (that means devx_216.sfs for puppy 2.16)
1. Download and Install Sane front and backends
http://distro.ibiblio.org/pub/linux/dis ... 1.0.17.pet
http://distro.ibiblio.org/pub/linux/dis ... 1.0.14.pet
Xsane is not needed but may be useful:
http://distro.ibiblio.org/pub/linux/dis ... -0.991.pet
2.Download sane-pixma 0.13.1
http://home.arcor.de/wittawat/pixma/ for notes
download file:
http://home.arcor.de/wittawat/pixma/mp1 ... .1.tar.bz2
Extract somewhere and then:
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:
Black and white:
#!/bin/sh
pixmascan -m gray -p A4 -1 -W -f tiff,n /mnt/home/pixmaimg1.tif
Colour
#!/bin/sh
pixmascan -m color -p A4 -1 -W -f tiff,n /mnt/home/pixmacolimg1.tif
Typing in pixmascan with no options gives you the options
Also handy is tiff2pdf that gets installed too. Usage example:
tiff2pdf -f -o /mnt/home/Pixmaimg.pdf /mnt/home/pixmaimg1.tif
See the sane-pixma link for more details.
It got me off the ground.
Perhaps with a little more effort and a few tips I could make a .pet or small wizard.