git ssb

0+

Grey the earthling / gkn.me.uk



Tree: 3fde758dc2bd375ea2ab1e2a7188a1a3535d3c19

Files: 3fde758dc2bd375ea2ab1e2a7188a1a3535d3c19 / content / i250ubuntu / install-i250-drivers.sh

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

Built with git-ssb-web