I downloaded the package from
http://support-asia.canon-asia.com/c...100236602.html
untar the package using
Code:
tar xvf cnijfilter-mp640series-3.20-1-i386-deb.tar.gz
cd into the packages directory
Code:
cd cnijfilter-mp640series-3.20-1-i386-deb/packages/
Then using videbcontrol remove all the dependencies from both deb files by deleting everything after
make sure you have similar packages installed though I am pretty sure everything will be installed on a default Ubuntu install.
then install the modified packages using
Code:
sudo dpkg -i sudo dpkg -i cnijfilter-common_3.20-1_i386.modfied.deb cnijfilter-mp640series_3.20-1_i386.modfied.deb
you may have to clean up some files with incorrect permissions check your /var/log/cups/error_log change any file reported with incorrect permissions to match other files in the folder. In particular change user from your user to root using
Code:
chown root:root *file*
You may then be able to install your printer using the gui or web interface http://localhost:631
However I could not so I used
Code:
cnijnetprn --search auto
sudo /usr/sbin/lpadmin -p canon640 -m canonmp640.ppd -v cnijnet:/00-1E-8F-B8-DA-33
replace the cnijnet... with the output of cnijnetprn
I then found more files with incorrect permissions looking at printers in the web interface, fix them with the steps above and again restart cups and resume the printer.
I hope that helps someone sorry it is not all that straight forward I did not exactly document the steps I took so I someone wants to clean up this guide and repost that would help more people. Now if only canon would update their packages to install more easily.