The best place to *find* answers to programming/development questions, imo, however it's the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but again, a great reference for *finding* answers.

My Music (Nickleus)

Showing posts with label dcp 9270 cdn. Show all posts
Showing posts with label dcp 9270 cdn. Show all posts

20110523

how to install printer and scanner drivers on ubuntu 64-bit for brother DCP-9270CDN

(updated for ubuntu linux 12.04)


INSTALL PRINTER DRIVERS

download drivers from Brother website (drivers are i386 even for amd64/64-bit):
LPR driver     deb     1.1.1-5     756 KB     2011.Jan.28
cupswrapper driver     deb     1.1.1-5     12 KB     2011.Jan.28

navigate to the location where you downloaded the deb files, e.g. ~/Downloads:
cd
cd Downloads
sudo dpkg -i --force-all dcp9270cdnlpr-1.1.1-5.i386.deb
returns:
Selecting previously unselected package dcp9270cdnlpr:i386.
(Reading database ... 178504 files and directories currently installed.)
Unpacking dcp9270cdnlpr:i386 (from dcp9270cdnlpr-1.1.1-5.i386.deb) ...
Setting up dcp9270cdnlpr:i386 (1.1.1-5) ...
mkdir: cannot create directory `/var/spool/lpd/dcp9270cdn': No such file or directory
chown: cannot access `/var/spool/lpd/dcp9270cdn': No such file or directory
chgrp: cannot access `/var/spool/lpd/dcp9270cdn': No such file or directory
chmod: cannot access `/var/spool/lpd/dcp9270cdn': No such file or directory


(you can disregard the warnings)

sudo dpkg -i --force-all dcp9270cdncupswrapper-1.1.1-5.i386.deb
returns:
Selecting previously unselected package dcp9270cdncupswrapper:i386.
(Reading database ... 178536 files and directories currently installed.)
Unpacking dcp9270cdncupswrapper:i386 (from dcp9270cdncupswrapper-1.1.1-5.i386.deb) ...
Setting up dcp9270cdncupswrapper:i386 (1.1.1-5) ...
cups stop/waiting
cups start/running, process 28182


dpkg -l|grep Brother

returns:
ii  dcp9270cdncupswrapper:i386 1.1.1-5 Brother CUPS Laser Printer Definitions
ii  dcp9270cdnlpr:i386 1.1.1-5 Brother lpr Laser Printer Definitions
ii  printer-driver-ptouch 1.3-3ubuntu0.1 printer driver Brother P-touch label printers




CONFIGURE THE PRINTER

go here: http://localhost:631/printers
click the link: DCP9270CDN
dropdown box: Administration > Printers > Manage Printers
click DCP9270CDN > in the second dropdown list to the right at the top ("Administration" is selected by default), choose Modify Printer

a popup box will ask you for your username and password--this is your normal ubuntu username and password

##OLD##
choose radio button: LPD/LPR Host or Printerclick continue
set lpd to: lpd://XXX.XXX.XXX.XXX/binary_p1
(replace the XXX's with the ip address for your network printer)
####

to find the printer's IP address and active services and enabled protocols, go to the printer and select the following:
menu > print report > network configuration

now, back in your browser ( http://localhost:631/printers ) choose the radio button for Other Network Printers > AppSocket/HP JetDirect.
(
why AppSocket?
"The AppSocket protocol ... is the simplest, fastest, and generally the most reliable network protocol used for printers."
http://localhost:631/help/network.html#SOCKET
)



click continue
connection:
socket://192.168.1.242
click continue
click continue

upload the PPD file. to find where it is, run this in a terminal: 
locate ppd|grep Brother








i got the following output:
/usr/local/Brother/Printer/dcp9270cdn/cupswrapper/dcp9270cdn.ppd

click Browse to select the PPD file
click Modify Printer



INSTALL SCANNER DRIVERS (OPTIONAL)
Scanner Driver download page
find the section for DCP-9270CDN (search for it on the page) and download the following:

brscan4 64bit     deb     0.4.1-1     72 KB     2012.Jun.05
scan-key-tool 64bit     deb     0.2.3-0     51 KB     2012.Mar.22


(install drivers for scanning from Brother website)

navigate to the location where you downloaded the deb files, e.g. ~/Downloads:
cd
cd Downloads
sudo apt-get install sane-utils
sudo dpkg -i --force-all brscan4-0.4.1-1.amd64.deb

returns:
Selecting previously unselected package brscan4.
(Reading database ... 178540 files and directories currently installed.)
Unpacking brscan4 (from brscan4-0.4.1-1.amd64.deb) ...
Setting up brscan4 (0.4.1-1) ...
This software is based in part on the work of the Independent JPEG Group.


dpkg -l|grep Brother

returns:
ii  brscan4 0.4.1-1 Brother Scanner Driver
ii  dcp9270cdncupswrapper:i386 1.1.1-5 Brother CUPS Laser Printer Definitions
ii  dcp9270cdnlpr:i386 1.1.1-5 Brother lpr Laser Printer Definitions
ii  printer-driver-ptouch 1.3-3ubuntu0.1 printer driver Brother P-touch label printers


brsaneconfig4 -a name=SCANNER model=DCP-9270CDN ip=XXX.XXX.XXX.XXX
(the ip flag is apart of the brsaneconfig4 line. replace XXX... with your printer's IP address)

brsaneconfig4 -q|grep SCANNER
returns:
0 SCANNER             "DCP-9270CDN"       I:XXX.XXX.XXX.XXX

sudo dpkg -i --force-all brscan-skey-0.2.3-0.amd64.deb
returns:
Selecting previously unselected package brscan-skey.
(Reading database ... 178568 files and directories currently installed.)
Unpacking brscan-skey (from brscan-skey-0.2.3-0.amd64.deb) ...
Setting up brscan-skey (0.2.3-0) ...


dpkg -l|grep Brother

returns:
ii  brscan-skey 0.2.3-0 Brother Linux scanner S-KEY tool
ii  brscan4 0.4.1-1 Brother Scanner Driver
ii  dcp9270cdncupswrapper:i386 1.1.1-5 Brother CUPS Laser Printer Definitions
ii  dcp9270cdnlpr:i386 1.1.1-5 Brother lpr Laser Printer Definitions
ii  printer-driver-ptouch 1.3-3ubuntu0.1 printer driver Brother P-touch label printers


start the scanner tool:
brscan-skey

check to see if the scanner is "Active":
brscan-skey -l
returns:
SCANNER           : brother4:net1;dev0  : XXX.XXX.XXX.XXX        Active

to scan, put the document on the scanner, press Scan button on the scanner > Scan to PC > Image > choose your user (e.g. "nick"), press "Start".

gimp will open automatically on your computer with the scanned image open as an image. i found that i had to close gimp completely after each successive scan otherwise i would get an error.