<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>LinuxQuestions.org - Blogs - trillobyte</title>
		<link>http://www.linuxquestions.org/questions/blog/trillobyte-335971/</link>
		<description>LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.</description>
		<language>en</language>
		<lastBuildDate>Fri, 24 May 2013 17:08:13 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>https://lqo-thequestionsnetw.netdna-ssl.com/questions/images/misc/rss.jpg</url>
			<title>LinuxQuestions.org - Blogs - trillobyte</title>
			<link>http://www.linuxquestions.org/questions/blog/trillobyte-335971/</link>
		</image>
		<item>
			<title>Installing a Brother MFC-J220 printer in Slackware 3.1 32bit</title>
			<link>http://www.linuxquestions.org/questions/blog/trillobyte-335971/installing-a-brother-mfc-j220-printer-in-slackware-3-1-32bit-3626/</link>
			<pubDate>Thu, 03 Mar 2011 18:19:10 GMT</pubDate>
			<description>Distribution: Slackware 13.1 (Update) These procedures relate to Slackware 14.0 64bit as well.  
Distribution Edition: 32bit 
Driver:...</description>
			<content:encoded><![CDATA[<div>Distribution: Slackware 13.1 (Update) These procedures relate to Slackware 14.0 64bit as well. <br />
Distribution Edition: 32bit<br />
Driver: mfcj220lpr-1.1.1-1.i386.rpm<br />
Driver: mfcj220cupswrapper-1.1.1-3.i386.rpm<br />
Driver: brscan3-0.2.11-4.i386.rpm<br />
Driver: brscan-skey-0.2.1-3.i386.rpm<br />
SANE version: Sane-1.0.21<br />
CUPS version: cups-1.4.5<br />
***Note***For 64bit Slackware you will need to install at least the glibc-solibs-2.15_multilib-x86_64-7alien.txz and cups-compat32-1.5.4-x86_64-2compat32.txz packages from <a href="http://taper.alienbase.nl/mirrors/people/alien/multilib/14.0/" target="_blank" rel="nofollow">http://taper.alienbase.nl/mirrors/pe...multilib/14.0/</a>because Brother drivers are only 32bit.<br />
<br />
Download the drivers here: <a href="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html" target="_blank" rel="nofollow">http://welcome.solutions.brother.com...nload_prn.html</a><br />
<br />
The printer needs the scanner driver and scan-key-tool for brscan3 models. <br />
Download from here: <a href="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_scn.html" target="_blank" rel="nofollow">http://welcome.solutions.brother.com...nload_scn.html</a><br />
Make sure you download the drivers that are available in the rpm format.<br />
<br />
Create a sym link. 'ln -s /etc/rc.d/rc.cups /etc/rc.d/init.d/cups'. This<br />
allows the CUPS daemon to be stopped and started during driver installation.<br />
<br />
Run scripts from within a C shell rather than bash. i.e. at the bash prompt,<br />
type 'csh'. The rpm format expects install scripts to run in a C shell.<br />
<br />
Convert the rpm packages to native Slackware tgz packages using rpm2tgz.<br />
Example: rpm2tgz -c -n -d mfcj220lpr-1.1.1-1.i386.rpm<br />
Example: rpm2tgz -c -n -d mfcj220cupswrapper-1.1.1-3.i386.rpm<br />
<br />
Install the newly created packages.<br />
Note: you must install the LPR package first per Brothers instructions.<br />
<br />
Change to the cupswrapper directory<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 34px;
		text-align: left;
		overflow: auto">cd /opt/brother/Printers/mfcj220/cupswrapper/</pre>
</div>Now, run the cups wrapper<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 34px;
		text-align: left;
		overflow: auto">./cupswrappermfcj220</pre>
</div>You should see that cups was restarted and all you have to do now is setup your printer with &quot;localhost:631&quot; from your <br />
web-browser.<br />
<br />
************************SETTING UP THE SCANNER*************************************<br />
<br />
Convert the rpm packages to native Slackware tgz packages using rpm2tgz.<br />
Example: rpm2tgz brscan3-0.2.11-4.i386.rpm<br />
Install the newly created package.<br />
<br />
Change to the sane directory.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 34px;
		text-align: left;
		overflow: auto">cd /usr/local/Brother/sane</pre>
</div>Now, run the setupSaneScan3 file<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 34px;
		text-align: left;
		overflow: auto">./setupSaneScan3 -i</pre>
</div>less /etc/sane.d/dll.conf  &lt;------- You should see an entry for brother3 in the list.<br />
<br />
In order for a normal user to use the scanner you must add the following line to<br />
/lib/udev/rules.d/80-libsane.rules.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 50px;
		text-align: left;
		overflow: auto"># Brother MFC-J220
ATTRS{idVendor}==&quot;04f9&quot;, ATTRS{idProduct}==&quot;0259&quot;, MODE=&quot;0664&quot;, GROUP=&quot;scanner&quot;, ENV{libsane_matched}=&quot;yes&quot;</pre>
</div>You only need to know the idProduct which can be obtained from the output of 'lsusb' Also, remember that for a normal user to be able to use the scanner, they need to be a member of the 'scanner' group. Upon reconnection, the presence of the udev rule should trigger the creation of the appropriate device file entries for the scanner to be accessed.<br />
<br />
***********SETTING UP BRSCAN-SKEY &lt;-----Scanning to a File******************<br />
<br />
Convert the rpm packages to native Slackware tgz packages using rpm2tgz.<br />
Example: rpm2tgz brscan-skey-0.2.1-3.i386.rpm<br />
Install the newly created package.<br />
<br />
Change to the sane directory.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 34px;
		text-align: left;
		overflow: auto">cd /opt/brother/scanner/brscan-skey</pre>
</div>run brscan-skey-0.2.1-3.sh<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 34px;
		text-align: left;
		overflow: auto">./brscan-skey.0.2.1-3.sh</pre>
</div>This creates a brscan-skey-0.2.1-3.cfg file in the same folder.<br />
<br />
<b>UPDATE. Special thanks to User Francoise who has informed me that Brother Solutions now installs brscan-skey to /opt/brother/scanner.</b><br />
<br />
That's it! To run the server daemon, type brscan-skey. You should now be able to scan by using your printer's<br />
scan button. For more information go to this page: <a href="http://www.linuxplanet.org/blogs/?cat=1354" target="_blank" rel="nofollow">http://www.linuxplanet.org/blogs/?cat=1354</a><br />
<br />
Note: The MFC-J220 has a built-in fax. No PC required.</div>

]]></content:encoded>
			<dc:creator>trillobyte</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog/trillobyte-335971/installing-a-brother-mfc-j220-printer-in-slackware-3-1-32bit-3626/</guid>
		</item>
	</channel>
</rss>
