Difference between revisions of "Brother DCP-7030"

From ArchWiki
Jump to: navigation, search
(Original)
 
(21 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Printers]]
+
#REDIRECT [[CUPS/Printer-specific problems#Brother]]
[[Category:Imaging]]
+
 
+
=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 [https://wiki.archlinux.org/index.php/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 [https://aur.archlinux.org/packages.php?ID=27399 brother-dcp7030] in AUR. It contains driver from Brother.
+
 
+
Install drivers:
+
% yaourt -S brother-dcp7030
+
 
+
In in the {{ic|/usr/local/Brother/cupswrapper/cupswrapperDCP7030-2.0.2}} replace all sections like this:
+
if [ -e /etc/init.d/cups ]; then
+
    /etc/init.d/cups restart
+
fi
+
if [ -e /etc/init.d/cupsys ]; then
+
    /etc/init.d/cupsys restart
+
fi
+
by <code>systemctl restart cupsd</code>.
+
 
+
Or download new https://dl.dropboxusercontent.com/u/25895838/cupswrapperDCP7030-2.0.2.sh.
+
 
+
Run
+
# /usr/local/Brother/cupswrapper/cupswrapperDCP7030-2.0.2.sh
+
 
+
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 [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=
+
 
+
==SANE==
+
Install SANE:
+
# pacman -S sane
+
 
+
Add your user to <code>scanner</code> group:
+
# gpasswd -a username scanner
+
 
+
{{Note|You need to logout/login for this to take effect.}}
+
 
+
==Drivers==
+
There is the [https://aur.archlinux.org/packages.php?ID=24475 brscan3] in AUR.
+
 
+
Install drivers:
+
% yaourt -S brscan3
+
 
+
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
+
$ scanimage -L
+
 
+
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}}.
+

Latest revision as of 21:35, 30 October 2015