installing a "MFC210C" Brother Printer on Slackware
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Now everything should work. cupswrapperMFC210C is a C script that creates a PPD file at the correct place, and i thinck your convertor did not convert the script.
How to Install a MFC210C Brother Printer in Slackware
From looking at the thread count on my original post maybe this will help someone out. Since this was a garage sale item and not my main printer I never did focus on it after I had my problems some months back. So today I had time and decided to figure it out. The following is a newbie approach to setting up MFC210C brother printer in Slackware12.
Note: This is how I got a MFC210C working and there are other instructions for Brother Printers on there site, So I only know these instructions will work for this printer on Slackware12.
First, before anything else make sure that the printer is hooked up and on before you start. Also, make sure that /etc/rc.d/rc.cups is executable. ( chmod 755 /etc/rc.d/rc.cups )
First, download the correct LPR Driver & Cups wrapper from this site.
Note: download the Red Hat driver (rpm) not the Debian package.
Create a new directory and put both drivers in it (named my directory "brother_printer") and change to that directory.
At this point go ahead and su into the root account,
Now, here's the part that I'm not sure about. According to Brother you must use a c-shell to install the package. I used the command tcsh from the command line which changed my prompt so I can only guess it changed the shell.
Convert the rpm packages to native Slackware tgz packages using rpm2tgz.
Example: rpm2tgz MFC210Clpr-1.0.2-1.i386.rpm
Example: rpm2tgz cupswrapperMFC210C-1.0.0-1.i386.rpm
Install the newly created packages.
Note: you must install the LPR package first per Brothers instructions.
Now, it would make since that your done, but here's the part that got me the first time I tried. Even though you installed the cupswrapper it did not work because your missing a link. Slackware does not use /etc/init.d/cups it used /etc/rc.d/rc.cups. Lets fix that.
Code:
ln -s /etc/rc.d/rc.cups /etc/init.d/cups
One more thing, now we need to do what the install could not since it was not linked correctly.
Change to the Brother directory
Code:
cd /usr/local/Brother/cupswrapper/
Now, run the cups wrapper
Code:
./cupswrapperMFC210C-1.0.0
You should see that cups was restarted and all you have to do now is setup your printer with "localhost:631" from your web-browser.
This information was written to help a newbie like myself who is trying to learn. I feel sure there are people with more knowledge who can make this better. My intention was not to write a "howto" but to help out others and not to tell anyone something wrong. But like I stated I am still learning.
From looking at the thread count on my original post maybe this will help someone out. Since this was a garage sale item and not my main printer I never did focus on it after I had my problems some months back. So today I had time and decided to figure it out. The following is a newbie approach to setting up MFC210C brother printer in Slackware12.
Following davimint's instructions I've just successfully installed a Brother dcp-585cw. I had to modify it a tiny amount, but in case anyone's interested, here's the sequence of commands I used after downloading the drivers from the brother homepage (BTW It has wlan capabilities which work fine.):
Code:
root@Amilo:/home/mum/Downloads/Brother# rpm2tgz dcp585cwcupswrapper-1.1.2-2.i386.rpm
root@Amilo:/home/mum/Downloads/Brother# rpm2tgz dcp585cwlpr-1.1.2-2.i386.rpm
root@Amilo:/home/mum/Downloads/Brother# ls -l
total 3744
-rw-r--r-- 1 mum mum 14724 2009-06-06 21:00 dcp585cwcupswrapper-1.1.2-2.i386.rpm
-rw-r--r-- 1 root root 11854 2009-06-06 21:05 dcp585cwcupswrapper-1.1.2-2.i386.tgz
-rw-r--r-- 1 mum mum 1900161 2009-06-06 21:02 dcp585cwlpr-1.1.2-2.i386.rpm
-rw-r--r-- 1 root root 1896194 2009-06-06 21:06 dcp585cwlpr-1.1.2-2.i386.tgz
root@Amilo:/home/mum/Downloads/Brother# installpkg dcp585cwlpr-1.1.2-2.i386.tgz
Installing package dcp585cwlpr-1.1.2-2.i386...
PACKAGE DESCRIPTION:
root@Amilo:/home/mum/Downloads/Brother# installpkg dcp585cwcupswrapper-1.1.2-2.i386.tgz
Installing package dcp585cwcupswrapper-1.1.2-2.i386...
PACKAGE DESCRIPTION:
root@Amilo:/home/mum/Downloads/Brother# ls /etc/init.d/
README.functions functions
root@Amilo:/home/mum/Downloads/Brother# ldconfig
root@Amilo:/home/mum/Downloads/Brother# ln -s /etc/rc.d/rc.cups /etc/init.d/cups
root@Amilo:/home/mum/Downloads/Brother# cd /usr/local/Brother/
root@Amilo:/usr/local/Brother# ls
Printer/
root@Amilo:/usr/local/Brother# cd Printer/
root@Amilo:/usr/local/Brother/Printer# ls
dcp585cw/
root@Amilo:/usr/local/Brother/Printer# cd dcp585cw/
root@Amilo:/usr/local/Brother/Printer/dcp585cw# ls
cupswrapper/ inf/ lpd/
root@Amilo:/usr/local/Brother/Printer/dcp585cw# cd cupswrapper/
root@Amilo:/usr/local/Brother/Printer/dcp585cw/cupswrapper# ls
brcupsconfpt1* cupswrapperdcp585cw*
root@Amilo:/usr/local/Brother/Printer/dcp585cw/cupswrapper# ./cupswrapperdcp585cw
cups: restarted scheduler. [ OK ]
root@Amilo:/usr/local/Brother/Printer/dcp585cw/cupswrapper#
I use cups from a browser. Restarting the scheduler "found" a printer that didn't exist, because its not connected directly to the pc, but to the router with wlan (ip 192.168.1.10), and I deleted this. The printer was successfully found from the browser and shows up like this:
We have a small lan here at home, comprising of a laptop and desktop (slackware) and another laptop with xp. Now when both linux machines are on, the printer appears twice; once as described above, and again as seen from the other machine, eg
Code:
Description: Brother DCP-585CW
Location: LAN Printer
Printer Driver: Brother DCP-585CW CUPS v1.1 on 192.168.1.5
Printer State: idle, accepting jobs, not published.
Device URI: ipp://192.168.1.5:631/printers/Brother_DCP-585CW_192.168.1.10
I'm very happy with it in its capacity as a printer and standalone photocopier for our small load. I haven't figured out how to get the scanner to work so any tips in that direction would be appreciated.
I just bought a Brother MFC-290C. Following the excellent advice in this thread I can print as a normal user, but scan only as root. It's a USB only device, no Ethernet connection.
As I tried to do my homework, my user is a member of group scanner and I've found out that I probably have to create an udev rule for this device. However, I am on Slackware 12.2, and all the hints I find are for older versions of Slackware and udev.
Has anyone a working udev rule for this or a similar Brother device for Slackware 12.2 and is willing to post it here?
Thanks, yvesvanbelle, but all the examples are for other distributions. I am on Slackware 12.2, here, and my problem is:
All the the examples I found are one out of these:
- for another distro
- for an older version of Slackware
- for a different device
- for use over Ethernet
What I would appreciate is a working example for a Brother MFC-2xx device connected only via USB on Slackware 12.2.
Currently I am able to
- print from all applications tested so far as a normal user
- scan as root user, but not as a non-privileged user
- and there is a CUPS queue and pseudo printer for BRfax, (not able to send faxes from the PC, yet, but that piece is left for later)
What I need to get working properly is the scanner, though.
Thanks for any hint pointing me in the right direction!
Thanks! This shows me that I haven't understood udev configuration. I've never looked in /lib/udev/rules.d, but only in /etc/udev/rules.d.
With my current understanding I would now do this:
- Reconnect the MFC-290C
- Add a line for it to /lbi/udev/rules.d/80-libsane.rules
- Restart udev
If all goes well I'd expect to see a new file /etc/udev/rules.d/80-libsane.rules, automatically created, then. Correct?
Or would I have to restart HAL, too?
It should only be necessary to:
- Add a line for it to /lib/udev/rules.d/80-libsane.rules
- Reconnect the MFC-290C
Upon reconnection, the presence of the udev rule should trigger the creation of the appropriate device file entries for the scanner to be accessed.
PS-The location of the udev rules was changed from /etc to /lib going from Slackware 12.1 to Slackware 12.2.
Thanks for your support, allend, I have it all working now: Printer, scanner and fax.
Somehow I noticed some changes in /etc/udev, but never looked into /lib/udev. However, some files are still in /etc/udev, it seems:
Code:
# ls
70-persistent-cd.rules
70-persistent-net.rules
80-canon-mfp.rules
(Last entry generated by a Canon driver).
Not sure, if they have any effect, now, that the structure has changed.
I'll have to see, what udev things look like on my other machine running Slackware64-current, once I have it back (hardware crash caused by a lightning flash) and learn about all the changes regarding HAL and Udev in the last two years, it seems.
Thanks again, your advice was precisely to the point!
As I reported above, everything is fine on my 32-bit box. On Slackware64-current I have a couple of problems left to solve, and I would appreciate if someone could provide a hint.
1. Scanning with Skanlite always scans about 1cm too much of the page bottom. An ugly lower border in the copy is the consequence. Is this a bug (a) of the printer or (b) of the user or (c) of our own software.
2. I can't seemn to get the PC Fax functionality working, yet, on 64 bit. Brother describes pre-requisites for a successful install on various distributions their web pages, just not for Slackware. EDIT: No such problem with XSane, but I prefer using KDE apps in KDE...
I am stuck.
Can anyone provide a hint, how to get PC Fax functionality of a Brother AIO working?
Thank you!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.