Brother DCP-150C
While this page regards the DCP-150C specifically, it can be used as a general guide for most Brother USB printers. On Brother's Linux Driver page you can find extra information along with drivers for different printer models.
Contents
Installation
See CUPS for details. The driver is available in AUR as brother-dcp150cAUR.
Configuration
Local USB
The kernel module usblp
must be blacklisted before installing the driver, otherwise the Device URI will be wrong and the printer won't work.
However, there is a workaround for this behaviour; the install
command instructs modprobe to run a custom command instead of inserting the module in the kernel as normal, so you can force the module to always fail loading with:
/etc/modprobe.d/blacklist.conf
... install usblp /bin/false ...
This will effectively "blacklist" that module and any other that depends on it.}}
Reboot or manually remove the module:
# modprobe -r usblp
Enable and start the CUPS service org.cups.cupsd.service
.
Plug in the printer and run the script:
# /usr/local/Brother/Printer/dcp150c/cupswrapper/cupswrapperdcp150c
It will stop the cups daemon, and restart it.
unset LS_COLORS
See CUPS#Web interface and tool-kit to add the printer.
Ethernet
As #USB, but different server settings.
Now go to the CUPS setup page: http://localhost:631/
- Click Manage Printers --> Delete Printer and remove the automatically created printer.
- Click Administration --> Find New Printers
- You should see your Brother printer listed here, add it!
- Print a test page
If Find New Printers doesn't list any printers you can try to set it up manually.
- Click Add Printer
- Location can be left blank, but can have something in it for reference sake, Description can be left blank, but can also have something in it for reference sake. Click continue
- Choose the device "Appsocket/HP JetDirect" then click continue
- Set the Device URI to socket://192.168.0.10:9100
- Select the make Brother
- Select the printer Brother DCP-150C CUPS
- Click finish and print a test page.
Scanner
See SANE. This scanner works with Brother's brscan2AUR driver that can be found on AUR.
Let driver configure:
# ln -s /usr/share/brother /usr/local/Brother # /usr/local/Brother/sane/setupSaneScan2 -i
Scan Key Install (Optional)
This allows the scanner to be recognized in other programs such as GIMP. This information is a condensed and consolidated version off of Brother's linux support site (Link[dead link 2015-03-07])
Install the package brscan-skeyAUR that can be found on AUR.
Run the setup script for brscan-key:
# /opt/brother/scanner/brscan-skey/brscan-skey-0.2.4-1.sh
Execute the tool to verify that the previously installed scanner is recognized. Expect the following output:
# brscan-skey -l
DCP150C : brother2:net1;dev0 : 10.1.1.90 Active
Troubleshooting
Shifted printer output
Take a look at file /usr/share/brother/Printer/dcp150c/inf/brdcp150crc
and verify if the value of PaperType matches your paper size.
(Change "Letter" to "A4")
xsane crashes
If xsane crashes with message "=bugchk_free(ptr==(nil))@brother_modelinf.c(482)
", then you need to create the link /usr/local/Brother -> /usr/share/brother
.