You are not logged in.

#1 2009-07-23 14:35:06

fettouhi
Member
Registered: 2007-05-07
Posts: 745

[SOLVED] Getting a Brother DCP7045N printer/scanner to work

I just bought a Brother DCP7045N printer/scanner/copy machine and I made a PKGBUILD file for it

http://aur.archlinux.org/packages.php?ID=28681

so printing works for me over network. I used the DCP7030 PKGBUILD file I found in AUR as a basis. I'm trying to get the scanner part working so I've installed sane, xsane and brscan3 but when I run

[af@andre ~]$ scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

any help/ideas what I'm missing?

Regards

André

Last edited by fettouhi (2011-09-07 19:56:30)

Offline

#2 2009-07-23 15:59:54

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

I could see that I was missing the scan-key utility. So I made a new package

# Contributor: Olaf Leidinger <leidola@newcon.de>
pkgname=brscan-skey
pkgver=0.2.1
pkgrel=3
pkgdesc="Brother skey tool"
depends=('sane' 'sed')
arch=('i686')
source=("http://solutions.brother.com/Library/sol/printer/linux/dlf/${pkgname}-${pkgver}-${pkgrel}.i386.deb")
url="http://solutions.brother.com/linux/sol/printer/linux/sane_drivers.html"
md5sums=('ea047a3abe14cb92377ea0d566849b07')
license=("GPL" 'custom:brother commercial license')
#install=${pkgname}.install

build() {
    mkdir -p $startdir/src  || return 1
    cd $startdir/src        || return 1
    ar -x ../${pkgname}-${pkgver}-${pkgrel}.i386.deb     || return 1
    mkdir -p $startdir/pkg  || return 1
    cd $startdir/pkg        || return 1
    tar -xzf ../src/data.tar.gz || return 1
}

but when I run it I get this error

[af@andre ~]$ brscan-skey
ERROR: No such file or directory   [/usr/local/Brother/sane/brscan-skey-0.2.1-3.cfg]
[af@andre ~]$ brscan-skey -l
ERROR: No such file or directory   [/usr/local/Brother/sane/brscan-skey-0.2.1-3.cfg]

and I can't find this cfg file anywhere...

Offline

#3 2009-07-24 19:50:43

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

Why did you create a pkgbuild from debian package ? smile It's not so nice.

Can't you create this manually, and try it ?

Offline

#4 2009-07-25 06:37:34

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

Yeah I know but it is the only thing that is available on the brother site besides a rpm package.

Regards

André

Offline

#5 2009-07-25 06:52:26

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

Is it sure ? In that case post a message to the author it's not a good support to give out a debian/redhot pacakge, and that's all!

Offline

#6 2009-07-25 09:27:42

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

Go look at the brother website yourself. There is no tar.gz package of any driver there. I can try to e-mail Brother to see if they are willing to release tar.gz packages.

Regards

André

Offline

#7 2009-07-25 09:29:39

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

By the way xsane now sees my scanner after I configured it with

brsaneconfig3 -a name=dcp7045n model=DCP-7045N ip=192.168.1.254

but it still complains about the missing cfg file and I can't find that file anywhere.

Regards

André

Offline

#8 2009-07-25 18:04:06

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

Why didn't you try to create it manually, just touch it or something, i don't know.

Offline

#9 2009-07-26 10:47:15

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

djszapi wrote:

Why didn't you try to create it manually, just touch it or something, i don't know.

What do you mean by manually?

Regards

André

Offline

#10 2011-03-11 15:23:49

mclabaut
Member
Registered: 2007-06-18
Posts: 41

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

Apparently, you may find sources there : http://welcome.solutions.brother.com/bs … d_src.html

Offline

#11 2011-03-11 16:47:45

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: [SOLVED] Getting a Brother DCP7045N printer/scanner to work

fettouhi: I believe you need to run the brsaneconfig2 script as root first for it to set up that .cfg file.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

Board footer

Powered by FluxBB