Package Details: brother-mfc-9330cdw 1.1.2-5

Git Clone URL: https://aur.archlinux.org/brother-mfc-9330cdw.git (read-only, click to copy)
Package Base: brother-mfc-9330cdw
Description: LPR and CUPS driver for the Brother MFC-9330CDW
Upstream URL: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html
Keywords: 9330 brother cdw mfc printer
Licenses: unknown
Submitter: dbrgn
Maintainer: None
Last Packager: eldios
Votes: 8
Popularity: 0.000001
First Submitted: 2014-06-18 22:42 (UTC)
Last Updated: 2021-08-10 12:40 (UTC)

Latest Comments

1 2 Next › Last »

daftaupe commented on 2022-08-11 10:06 (UTC) (edited on 2022-08-11 10:06 (UTC) by daftaupe)

I was able to avoid the use of deb2targz using ar (part of binutils, part of base-devel) :

model="9330cdw"
pkgname="brother-mfc-$model"
pkgver="1.1.2"
pkgrel=5
_revision=1
pkgdesc="LPR and CUPS driver for the Brother MFC-9330CDW"
url="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html"
arch=('i686' 'x86_64')
license=('unknown')
install="brother-mfc-${model}.install"
depends=('perl' 'brscan4' 'a2ps' 'lib32-libcups')
lpr_ver="1.1.2"
lpr_rev=1
cw_ver="1.1.4"
cw_rev=0
source=("http://download.brother.com/welcome/dlf100400/mfc${model}lpr-${lpr_ver}-${lpr_rev}.i386.deb"
        "http://download.brother.com/welcome/dlf100402/mfc${model}cupswrapper-${cw_ver}-${cw_rev}.i386.deb")
noextract=("mfc${model}lpr-${lpr_ver}-${lpr_rev}.i386.deb"
           "mfc${model}cupswrapper-${cw_ver}-${cw_rev}.i386.deb")
sha256sums=('d6af18bd4e33a2e01f6647cc1eb6d7f1b519bd9f32c525c0343e6883d66a0e04'
            '08cf568c6924a146b541077642bf07b22fd8aa2b5cca522b4f627430ed2eb2ec')

package() {
    cd $srcdir || return 1
    [ -d "mfc${model}" ] || (mkdir mfc${model} || return 1)
    for i in *.deb;do ar x $i && tar -xzf data.tar.gz -C mfc${model};done || return 1
    cd mfc${model} || return 1
    cd opt/brother/Printers/mfc${model} || return 1
    perl -i -pe 's#/etc/init.d#/etc/rc.d#g' ./cupswrapper/cupswrappermfc${model} || return 1
    perl -i -pe 's#printcap\.local#printcap#g' $srcdir/mfc${model}/opt/brother/Printers/mfc${model}/inf/setupPrintcapij || return 1
    cp -rf $srcdir/mfc${model}/usr/ $pkgdir/ || return 1
    cp -rf $srcdir/mfc${model}/opt/ $pkgdir/ || return 1
}

Also I'm trying to see how to avoid the printer being overwritten (changing back to default settings and being a USB printer) at each install of a new version of that package due to the call to the postupgrade() function. Shouldn't that one only be called at install time ?

ryaeng commented on 2021-08-10 02:14 (UTC)

jfk's comment is still accurate. lib32-libcups needs to be installed in order for this printer to work properly.

tpaniaki commented on 2019-09-06 13:33 (UTC) (edited on 2019-09-06 16:40 (UTC) by tpaniaki)

Following Onishin old tip, I confirm you may need lib32-libcups. "Generic-PCL_6_PCL_XL_Printer-pxlcolor.ppd" is not really working in my case.

  • If not already done uncomment mutlilib on /etc/pacman.conf (both lines):

[multilib]

Include = /etc/pacman.d/mirrorlist

  • Run pacman.

dreieck commented on 2019-03-20 17:39 (UTC)

I think the dependency on brscan4 should be optional.

Spheerys commented on 2018-12-22 22:05 (UTC)

It's probably a driver issue (and not a aur package one), but in my case I can't use properly this driver : the printer don't want to print hereticaly I have to use Generic-PCL_6_PCL_XL_Printer-pxlcolor.ppd instead...

Scimmia commented on 2018-02-14 16:42 (UTC)

What's the point of deb2targz? makepkg already extracts the .deb file for you, you just have to tar file that was inside it and is already there.

zombielinux commented on 2017-01-24 00:47 (UTC)

I've got an issue where this driver tries to print 10 copies of everything. I've tested with various applications as well as lp itself, all signs point to this. Another user has reported a similar problem here: http://unix.stackexchange.com/questions/265538/cups-prints-n%C2%B2-as-many-copies-as-i-want

dbrgn commented on 2016-03-20 19:29 (UTC)

New version uploaded.

Bobyl commented on 2016-03-11 10:14 (UTC)

On my computer, the single quotes on the license line are giving an error. Replacing them by double quotes solves the issue.

Onishin commented on 2015-11-02 23:10 (UTC)

I think add dependence lib32-libcups is good idea . Not work if lib32 cups is not present