Brother MFC-3820CN
From Gentoo Linux Wiki
Contents |
[edit] Introduction
This is for setting up CUPS printing for the Brother MFC-3820CN. Scanning will be added when I or someone else finds out how with this printer.
I am well aware that there is a Brother MFC 420CN and Brother MFC 420CN/Cups. As you read farther, you may notice that the instructions are very similar to that of the page previously mentioned. The reason why I wrote this page was because the instructions are different in such a way that it is worth writing a new page for. So, enough of me rambling, lets get your Brother MFC-3820CN working on your Gentoo Linux installation.
[edit] Getting Started
[edit] Absolute First Step
You must change into root.
su root
[edit] Emerge required packages
emerge -va cups tcsh rpm
For this Brother printer you do not need the foomatic package like the MFC 420CN.
[edit] Getting your needed files
These are for printing through CUPS only as of now. I am working on getting the scanner to work and I will post what I find to work.
You will need these files, download the files into whatever download directory you may have. The three files you need for CUPS are:
Printer Driver
CUPS Wrapper
CUPS Wrapper Script
[edit] On to the Installation
It is VERY important that you emerge the LPR driver first. If you accidently installed the cupswrapper first, then please let us know how you got it working. This is an ongoing unresolved issue. So PLEASE install the LPR driver, THEN the cupswrapper. It must be done in that order.
[edit] Install MFC Drivers
Start cups then trun these commands:
rpm -ihv --nodeps MFC210Clpr-1.0.0-1.i386.rpm
If it complains about folders not existing then create them, and rerun this command.
rpm -ihv --nodeps cupswrapperMFC210C-1.0.0-1.i386.rpm
If cupswrapper complains about cupsd, ignore it.
cp /usr/lib/cups/filter/brlpdwrapperMFC3820CN /usr/libexec/cups/filter/brlpdwrapperMFC3820CN
Here we simply copy the filter where Gentoo expects it to be.
[edit] CUPS Wrapper Script
Run this command:
csh -f cupswrappermfc3820cn.csh
You may get two errors, both of which will be command not found. Do not worry about the errors, it will not compromise anything.
cupswrapper creates two files: /usr/share/cups/model/brmfc3820cn_cups.ppd, and /usr/lib/cups/filter/brlpdwrapperMFC3820CN.
[edit] Restart CUPS
/etc/init.d/cupsd restart
[edit] Configure CUPS
Start your favorite web browser and in the address bar type in:
http://127.0.0.1:631/
Then, click on the Administration tab.
[edit] If the printer shows up on CUPS
Click on the add printer button underneath your Brother MFC-3820CN Printer. Underneath the list of preloaded brother drivers in the section Provide a PPD File click on browse and locate the file in the path: /usr/share/cups/model/brmfc3820cn_cups.ppd
[edit] If the printer doesn't show up on CUPS
Click on the add printer button underneath Printers. Fill in the forms and continue until you see the same page as mentioned above.
[edit] Your Finished
If needed restart the CUPS service:
/etc/init.d/cupsd restart
[edit] Thanks to:
Brother MFC 3820CN and Linux
Brother MFC 420CN
Brother MFC 420CN/Cups
