Well I was facing from the same problem and I managed to resolve my issue by doing following steps.
Downloaded drivers packages and untar the same by executing
Now move to directory where package was stored
tar xvf cnijfilter-mp640series-3.20-1-i386-deb.tar.gz
Remove all the dependencies by usingvidebcontrol
Now install the following
Checkout /var/log/cups/error_log directory and see whether any issue is reported over there.
sudo dpkg -i sudo dpkg -i cnijfilter-common_3.20-1_i386.modfied.deb cnijfilter-mp640series_3.20-1_i386.modfied.deb
After that you will be able to complete with installation of printer on your system.
chown root:root *file*