Difference between revisions of "Brother DCP-135C"

From ArchWiki
Jump to: navigation, search
(Installing the printer (Local USB): Removed module instructions - they are out of date (see CUPS/Troubleshooting#USB_printers))
(Removed whole installation section as most of it was redundant with CUPS or just out of date. This may need to be reverted if anyone thinks that running an unknown script as root is a good idea...)
Line 6: Line 6:
  
 
= Printer =
 
= Printer =
== Prerequisites ==
 
  
 
Refer to the [[CUPS]] page for detailed setup instructions.
 
Refer to the [[CUPS]] page for detailed setup instructions.
  
== Installing printer drivers ==
+
== Printer drivers ==
 
[[Install]] the {{AUR|brother-dcp135c}} package.
 
[[Install]] the {{AUR|brother-dcp135c}} package.
 
== Installing the printer (Local USB) ==
 
 
You have to start the cups daemon (as root, of course) if it doesn't run already, otherwise the installation script won't work and throws a failure (for more details you might want to see [[CUPS]]).
 
 
# systemctl start org.cups.cupsd.service
 
 
Now lets plug in the printer and run the script to install the driver for us.
 
 
As root in terminal:
 
# /usr/local/Brother/Printer/dcp135c/cupswrapper/cupswrapperdcp135c
 
 
It will stop the cups daemon, and restart it.
 
 
{{Warning|Daemon may fail to start due to bug in csh. If "Unknown colorls variable `mh'." message is displayed, before starting daemon, execute:}}
 
 
unset LS_COLORS
 
 
Now go to the CUPS setup page: http://localhost:631/
 
Click on '''Manage Printers''' you should see your DCP135C printer automatically installed and configured. Print a test page!
 
 
If the test page fails with error "Printer not connected; will retry in 30 seconds..." then.
 
# Click 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
 
 
NOTE: Be sure to add '''cupsd''' to the DAEMON line in rc.conf so it loads everytime at startup.
 
 
== Installing the printer (Network, Ethernet) ==
 
Now lets run the script to install the driver for us.
 
 
As root in terminal:
 
/usr/local/Brother/Printer/dcp135c/cupswrapper/cupswrapperdcp135c
 
 
It will stop the cups daemon if it's running, and restart it.
 
 
{{Warning|Daemon may fail to start due to bug in csh. If "Unknown colorls variable `mh'." message is displayed, before starting daemon, execute:}}
 
 
unset LS_COLORS
 
 
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 <i>socket://192.168.0.10:9100</i>
 
# Select the make <i>Brother</i>
 
# Select the printer <i>Brother DCP-135C CUPS</i>
 
# Click finish and print a test page.
 
 
NOTE: Be sure to add '''cups''' to the DAEMON line in rc.conf so it loads everytime at startup.
 
 
NOTE: for Brother DCP-135C. If you would like to print wireless, try and modify the previous added printer  using Cups:
 
# Click Printers.
 
# Click Modify Printer for the printer you installed previously
 
# Click Continue
 
# Choose LPD/LPR Host or Printer
 
# Write in the filed Device URI: lpd://192.168.1.199/binary_p1. Of course, replace that ip with yours.
 
# Choose Brother manufacturer and Brother DCP-135C Cups wrapper driver in the next screen
 
# Click on Modify Printer
 
 
and you will be able to print also using wifi of DCP-135C.
 
  
 
=Scanner=
 
=Scanner=

Revision as of 05:20, 31 August 2015

Introduction

This is a brief tutorial to make the Brother DCP-135C printer/scanner work on Arch. While this tutorial is based on the DCP-135C 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.

Printer

Refer to the CUPS page for detailed setup instructions.

Printer drivers

Install the brother-dcp135cAUR package.

Scanner

First, set up SANE.

This scanner works with Brother's brscan2AUR driver.

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)

First install the brscan-skeyAUR package.

Run the setup script for brscan-key:

# /usr/local/Brother/sane/brscan-skey-0.2.1-1.sh

Execute the tool to verify that the previously installed scanner is recognized:

# brscan-skey -l

Expect the following output:

# brscan-skey -l
 
DCP135C          : brother2:net1;dev0  : 10.1.1.90            Active

After you receive the above output via brscan-key, check the File-> Create list in GIMP (tested v. 2.6.4) and there should be two more entries:

XSane: Device Dialog...
XSane: brother2:net1;dev0

If the new entries appear, congratulations! Your (networked) Brother scanner is now available via any XSane interface!

Troubleshooting

Shifted printer output

Take a look at file /usr/local/Brother/Printer/dcp135c/inf/brdcp135crc and verify if the value of PaperType matches your paper size.

(Change "Letter" to "A4")