git ssb

0+

Grey the earthling / gkn.me.uk



Tree: 32483b8569724d44f36449bd75fac422cb75f804

Files: 32483b8569724d44f36449bd75fac422cb75f804 / content / i250ubuntu.md

4230 bytesRaw

title: > How to set up a Canon i250 printer in Ubuntu 8.10 date: 2008-11-26 18:48 modified: 2009-03-19 16:17 status: published description: > A script to set up a Canon i250 printer in Ubuntu 8.10

tags: software, hardware, Ubuntu, Canon, printer, Canon i250, drivers, script, howto, download

links:


<p><strong class="lede">Setting up a Canon i250 printer in Ubuntu is possible, but not automatic. Here's how to do it in less than five minutes.</strong></p>

<p><ins datetime="2009-02-02T10:43Z">Actually, it seems to be <em>impossible</em>. I've no idea what I've done differently, but the printer fails to work now. Cheers, Canon.</ins></p>

<p>First of all, the reason any of this is necessary is because <a href="http://www.canon.co.uk/Support/Consumer_Products/products/printers/InkJet/i_series/i250.aspx?faqtcmuri=tcm:14-517699&page=22&type=faq">Canon is rubbish</a>. They don't support drivers (software needed for computers to talk to peripherals such as printers) for any operating systems other than Windows and Mac OS X. They don't allow me to just give you a copy of their unsupported Linux drivers. And they refuse to release specifications that would allow <em>other</em> programmers to make good-quality drivers for everyone.</p>

<p>I won't be buying another Canon printer in the foreseeable future.</p>

<hr>

<p>Anyhow, I've packaged up <a href="/i250ubuntu/install-i250-drivers.sh">a script to install the Canon i250 drivers in Ubuntu 8.10</a>.</p>

<p>This script will ask for your password so that it can install the necessary software; unless you trust me enough to give me full control of your computer, <strong>you shouldn't run this script</strong> without reading it first.</p>

<p>If you <em>do</em> want to run the script, you'll have to make it executable. To do this in Ubuntu, right-click the script file (<samp>install-i250-drivers.sh</samp>), choose <kbd><samp>Properties</samp></kbd>, and on the <kbd><samp>Permissions</samp></kbd> tab, tick <kbd><samp>Allow executing file as program</samp></kbd>.</p>

<p>You can then double-click the script file to run the script. It'll take a couple of minutes to download, convert and install the drivers so I suggest running it in a terminal.</p>

<p>If you prefer not to download a script file, you can paste the following equivalent commands into a terminal (again, don't trust me):</p>

<pre><code>gksudo "aptitude -y install libpng3 libtiff4 cupsys alien" cd /tmp wget http://download.canon.com.au/bj/i250linux/bjfilteri250-2.3-0.i386.rpm
wget http://download.canon.com.au/bj/i250linux/bjfiltercups-2.3-0.i386.rpm
gksudo "alien --scripts bjfilteri250-2.3-0.i386.rpm" gksudo "alien --scripts bjfiltercups-2.3-0.i386.rpm" gksudo "dpkg -i bjfiltercups_2.3-1_i386.deb bjfilteri250_2.3-1_i386.deb" gksudo "ln -s /usr/lib/libtiff.so.4 /usr/lib/libtiff.so.3" gksudo "ln -s /usr/lib/libpng.so.3 /usr/lib/libpng.so.2" gksudo "/etc/init.d/cups restart" </code></pre>

<p>The script &amp; code <em>don't</em> actually set the printer up. You will still have to do that in the normal way through <kbd><samp>System</samp> → <samp>Administration</samp> → <samp>Printing</samp></kbd>. When offered the option, tell the computer to use the <abbr class="caps" title="PostScript Printer Definition">PPD</abbr> file at <kbd>/usr/share/cups/model/canoni250.ppd</kbd>.</p>

<p>It may or may not be necessary for the printer to be switched on while Ubuntu starts up, so if the test page fails to print, try restarting the computer with the printer on.</p>

<hr>

<p>I created this script by mercilessly copying from <a href="http://dannyman.toldme.com/2008/03/13/canon-i250-ubuntu-feisty/">Daniel Howard's blog post on installing the i250 drivers in Ubuntu <em>7.10</em></a>—spot the difference. (Seriously, there <em>is</em> a crucial change.)</p>

Built with git-ssb-web