Difference between revisions of "Brother DCP-7030"

From ArchWiki
Jump to: navigation, search
(Created page with "Category:Printers_(English) Category:Imaging_(English) Category:HOWTOs (English) =Introduction= This is a brief tutorial how to setup the Brother DCP-7030 (multi fu...")
 
(Added some instructions to make printer work properly from http://archlinux.org.ru/forum/topic/4858/?page=1#post-48094)
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Printers_(English)]]
+
[[Category:Printers]]
[[Category:Imaging_(English)]]
+
[[Category:Imaging]]
[[Category:HOWTOs (English)]]
+
  
 
=Introduction=
 
=Introduction=
Line 9: Line 8:
 
=Printer=
 
=Printer=
 
==CUPS==
 
==CUPS==
Unfortunately extra/cups did not work with DCP-7030 on my PC. But it works with [http://aur.archlinux.org/packages.php?ID=35029 cups-usblp] from AUR.
+
Install CUPS (see CUPS [https://wiki.archlinux.org/index.php/CUPS page]).
  
So, if you are using [http://aur.archlinux.org/packages.php?ID=35029 yaourt] you can get cups-usblp:
+
==Usblp==
% yaourt -S cups-usblp
+
  
Check if usblp is loaded:
+
It may be necessary to blacklist Usblp module to get AUR driver working. To do that, you may add "!usblp" at the end of your rc.conf MODULES list.
% lsmod | grep usblp
+
If it does not then load it manually:
+
# modprobe usblp
+
 
+
You can make it autoload at boot: add it to the <code>MODULES=()</code> in the {{Filename|/etc/rc.conf}}
+
MODULES=(... usblp ...)
+
 
+
After installing cups-usblp, start CUPS by:
+
# /etc/rc.d/cups start
+
 
+
For automatically starting CUPS every time the system is powered on, add it to the <code>DAEMONS=()</code> in the {{Filename|/etc/rc.conf}}:
+
DAEMONS=(... @cups ...)
+
  
 
==Drivers==
 
==Drivers==
There is the [http://aur.archlinux.org/packages.php?ID=27399 brother-dcp7030] in AUR.
+
===Original===
 +
There is the [https://aur.archlinux.org/packages.php?ID=27399 brother-dcp7030] in AUR. It contains driver from Brother.
  
 
Install drivers:
 
Install drivers:
 
  % yaourt -S brother-dcp7030
 
  % yaourt -S brother-dcp7030
  
After installing brother-dcp7030 run
+
Replace all the <code>/etc/init.d/</code> occurences by <code>/etc/rc.d/</code> in the {{ic|/usr/local/Brother/cupswrapper/cupswrapperDCP7030-2.0.2}}.
 +
 
 +
After that replace  <code>/etc/rc.d/cups</code>  by <code>/etc/rc.d/cupsd</code>
 +
and <code>/etc/rc.d/cupsys</code>  by <code>/etc/rc.d/cupsd</code> in the above file.
 +
 
 +
Run
 
  # /usr/local/Brother/cupswrapper/cupswrapperDCP7030-2.0.2
 
  # /usr/local/Brother/cupswrapper/cupswrapperDCP7030-2.0.2
  
Now go to the CUPS page: [http://localhost:631/ http://localhost:631/]
+
Now go to the CUPS page: http://localhost:631/  
  
 
Under the Printers tab you should see a DCP7030 printer automatically installed and configured.
 
Under the Printers tab you should see a DCP7030 printer automatically installed and configured.
  
You need run cupswrapper only once! You do not need it run every time at startup.
+
===Using PPD from hl1250===
 +
 
 +
Unfortunately original driver did not work with DCP-7030 on my PC.
 +
 
 +
I got this [http://www.openprinting.org/ppd-o-matic.php?driver=hl1250&printer=Brother-DCP-7020 PPD]. I replaced all <code>DCP-7020</code> by <code>DCP-7030</code>. After this I add a new printer manually using this PPD.
 +
 
 +
==Udev==
 +
It may be nesessary to add a rule to your [[udev]]:
 +
{{hc|# nano /etc/udev/rules.d/10-usbprinter.rules|
 +
ATTR{idVendor}&#61;&#61;"04f9", ATTR{idProduct}&#61;&#61;"01ea", MODE:&#61;"0664", GROUP:&#61;"lp", ENV{libsane_matched}:&#61;"yes"}}
 +
 
 +
==Installation==
 +
Go to http://localhost:631 page in your browser and install printer. All settings there is very simple, the main thing you must check - paper size set to "A4".
  
 
=Scanner=
 
=Scanner=
Line 55: Line 59:
  
 
==Drivers==
 
==Drivers==
There is the [http://aur.archlinux.org/packages.php?ID=24475 brscan3] in AUR.
+
There is the [https://aur.archlinux.org/packages.php?ID=24475 brscan3] in AUR.
  
 
Install drivers:
 
Install drivers:
 
  % yaourt -S brscan3
 
  % yaourt -S brscan3
  
After installing add line <code>brother3</code> in the {{Filename|/etc/sane.d/dll.conf}.
+
After installing add line <code>brother3</code> in the {{ic|/etc/sane.d/dll.conf}}.
  
 
Now you can try to see if SANE recognizes your scanner
 
Now you can try to see if SANE recognizes your scanner
Line 66: Line 70:
  
 
For more info see SANE [https://wiki.archlinux.org/index.php/Sane page].
 
For more info see SANE [https://wiki.archlinux.org/index.php/Sane page].
 +
 +
If your scanning software can't use the scanner even with correct scanimage, check your printer usb location with
 +
$ lsusb
 +
 +
and give writing permission for that device to all users. For example, for:
 +
Bus 008 Device 004: ID 04f9:01ea Brother Industries, Ltd DCP-7030
 +
use:
 +
# sudo chmod a+w /dev/bus/usb/002/004
 +
 +
=Troubleshooting=
 +
If you can print a test page from http://localhost:631, but can't print anything from [[LibreOffice]], try to [[pacman#Installing packages|install]] {{pkg|a2ps}}.

Revision as of 16:58, 19 March 2013


Introduction

This is a brief tutorial how to setup the Brother DCP-7030 (multi function laser copier printer) on i686 Arch.

Printer

CUPS

Install CUPS (see CUPS page).

Usblp

It may be necessary to blacklist Usblp module to get AUR driver working. To do that, you may add "!usblp" at the end of your rc.conf MODULES list.

Drivers

Original

There is the brother-dcp7030 in AUR. It contains driver from Brother.

Install drivers:

% yaourt -S brother-dcp7030

Replace all the /etc/init.d/ occurences by /etc/rc.d/ in the /usr/local/Brother/cupswrapper/cupswrapperDCP7030-2.0.2.

After that replace /etc/rc.d/cups by /etc/rc.d/cupsd and /etc/rc.d/cupsys by /etc/rc.d/cupsd in the above file.

Run

# /usr/local/Brother/cupswrapper/cupswrapperDCP7030-2.0.2

Now go to the CUPS page: http://localhost:631/

Under the Printers tab you should see a DCP7030 printer automatically installed and configured.

Using PPD from hl1250

Unfortunately original driver did not work with DCP-7030 on my PC.

I got this PPD. I replaced all DCP-7020 by DCP-7030. After this I add a new printer manually using this PPD.

Udev

It may be nesessary to add a rule to your udev:

# nano /etc/udev/rules.d/10-usbprinter.rules
ATTR{idVendor}=="04f9", ATTR{idProduct}=="01ea", MODE:="0664", GROUP:="lp", ENV{libsane_matched}:="yes"

Installation

Go to http://localhost:631 page in your browser and install printer. All settings there is very simple, the main thing you must check - paper size set to "A4".

Scanner

SANE

Install SANE:

# pacman -S sane

Add your user to scanner group:

# gpasswd -a username scanner
Note: You need to logout/login for this to take effect.

Drivers

There is the brscan3 in AUR.

Install drivers:

% yaourt -S brscan3

After installing add line brother3 in the /etc/sane.d/dll.conf.

Now you can try to see if SANE recognizes your scanner

$ scanimage -L

For more info see SANE page.

If your scanning software can't use the scanner even with correct scanimage, check your printer usb location with

$ lsusb

and give writing permission for that device to all users. For example, for:

Bus 008 Device 004: ID 04f9:01ea Brother Industries, Ltd DCP-7030

use:

# sudo chmod a+w /dev/bus/usb/002/004

Troubleshooting

If you can print a test page from http://localhost:631, but can't print anything from LibreOffice, try to install a2ps.