Files: 8e0d7e643c647b11a09fa74cf75bd78b828004c6 / content / i250ubuntu / install-i250-drivers.sh
1014 bytesRaw
1 | |
2 | |
3 | # http://gkn.me.uk/i250ubuntu |
4 | |
5 | echo "Installing packages from the repositories (your password will be required)" |
6 | gksudo "aptitude -y install libpng3 libtiff4 cupsys alien" |
7 | cd /tmp |
8 | echo "Fetching drivers from Canon Australia" |
9 | wget http://download.canon.com.au/bj/i250linux/bjfilteri250-2.3-0.i386.rpm |
10 | wget http://download.canon.com.au/bj/i250linux/bjfiltercups-2.3-0.i386.rpm |
11 | echo "Converting drivers for installation in Debian and Ubuntu" |
12 | gksudo "alien --scripts bjfilteri250-2.3-0.i386.rpm" |
13 | gksudo "alien --scripts bjfiltercups-2.3-0.i386.rpm" |
14 | echo "Installing drivers" |
15 | gksudo "dpkg -i bjfiltercups_2.3-1_i386.deb bjfilteri250_2.3-1_i386.deb" |
16 | gksudo "ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3" |
17 | gksudo "ln -s /usr/lib/libpng.so.3 /usr/lib/libpng.so.2" |
18 | echo "Restarting Common Unix Printing System" |
19 | gksudo "/etc/init.d/cups restart" |
20 | echo "You can now set the printer up from System โ Administration โ Printing" |
21 | echo "by providing the following PPD file: /usr/share/cups/model/canoni250.ppd" |
22 | |
23 |
Built with git-ssb-web