You are not logged in.

#1 2024-10-08 05:35:54

monksy
Member
Registered: 2013-12-30
Posts: 23

[SOLVED] Setting up an Brother HL3280 Printer

I followed a lot of the advice that I've seen on the forum and I followed the suggestions here: https://wiki.archlinux.org/title/Packag … er_drivers

The PKGBUILD i have is:  (This is based on the hll3270cdw driver)

# Maintainer: Ben Westover <kwestover.kw@gmail.com>
# based on https://aur.archlinux.org/packages/brother-mfc-l2710dw/
pkgname='brother-hll3280cdw'
pkgver='3.5.1'
pkgrel=1
pkgdesc='LPR and CUPS driver for the Brother HL-L3280CDW'
url='https://support.brother.com/g/b/downloadend.aspx?c=us&lang=en&prod=hll3280cdw_us_as&os=127&dlid=dlf105746_000&flang=4&type3=10282'
arch=('i686' 'x86_64')
license=('custom:Brother commercial license')
depends=('cups')
depends_x86_64=('lib32-glibc')
install="$pkgname.install"
source=("https://download.brother.com/welcome/dlf105746/hll3280cdwpdrv-$pkgver-1.i386.rpm")
sha256sums=('798a6cbda2a21d7046c5e0a7a68a4aff16e0fbd75982d93ac2a74462efbbc8af')

package() {
        _model="hll3280cdw"

        # using /usr/share instead of /opt
        mkdir -p "$pkgdir/usr/share"
        cp -R "$srcdir/opt/brother" "$pkgdir/usr/share"
        sed -i 's|\\\/opt\\\/|\\\/usr\\\/|' "$pkgdir/usr/share/brother/Printers/$_model/cupswrapper/brother_lpdwrapper_$_model"
        sed -i 's|\\\/opt\\\/|\\\/usr\\\/|' "$pkgdir/usr/share/brother/Printers/$_model/lpd/filter_$_model"

        # /etc/printcap is managed by cups
        find "$pkgdir" -type f -name 'setupPrintcap*' -delete

        # symlink for lpdwrapper so it correctly figures out the printer model from the path
        install -d "$pkgdir/usr/lib/cups/filter/"
        ln -s "/usr/share/brother/Printers/$_model/cupswrapper/brother_lpdwrapper_$_model" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_$_model"

        # symlink for the PPD
        install -d "$pkgdir/usr/share/cups/model/"
        ln -s "/usr/share/brother/Printers/$_model/cupswrapper/brother_${_model}_printer_en.ppd" "$pkgdir/usr/share/cups/model/"

        # a couple architecture-specific symlinks
        ln -s "/usr/share/brother/Printers/$_model/lpd/$CARCH/brprintconflsr3" "$pkgdir/usr/share/brother/Printers/$_model/lpd/"
        ln -s "/usr/share/brother/Printers/$_model/lpd/$CARCH/rawtobr3" "$pkgdir/usr/share/brother/Printers/$_model/lpd/"

        # symlink for inf because it tries to execute it there
        ln -s "/usr/share/brother/Printers/$_model/inf" "$pkgdir/usr/share/brother/Printers/$_model/lpd/"
}

CUPs allowed for me to install this through the system-config-printers. It sees the status of the printer. I can send a message to tell the printer to self test a print page. That works. For sending a cups test page, it does not.

ErrorLog with LogLevel Debug: https://pastebin.com/baCc15ri (It's 84kb) This log is completely clean (stopped cups, deleted logs, started attempted to print the arch printer troubleshooting wiki, and uploaded)

I've got the packages installed: cups-filters ghostscript gsfonts foomatic-filters a2ps cups-pdf foomatic-db  foomatic-db-ppds foomatic-db-nonfree foomatic-db-nonfree-ppds

The issue: I can't print. The logs don't state an error. The job is marked complete as soon as its submitted to the job queue. I can't seem to find any record on the printer it's self that it received anything.

It's a fresh printer. No user access installed on the machine or anything.

Last edited by monksy (2024-10-08 17:49:59)

Offline

#2 2024-10-08 07:07:36

seth
Member
Registered: 2012-09-03
Posts: 60,061

Re: [SOLVED] Setting up an Brother HL3280 Printer

D [08/Oct/2024:00:19:39 -0500] [Job 280] sh: line 1: /usr/share/brother/Printers/hll3280cdw/lpd/brhll3280cdwfilter: No such file or directory
D [08/Oct/2024:00:19:39 -0500] [Job 280] cfFilterChain: pdftopdf completed with status 0.

Also the brother filters (I've ever seen) all silently depend on https://archlinux.org/packages/core/x86_64/which/ to find gs.

Offline

#3 2024-10-08 17:49:20

monksy
Member
Registered: 2013-12-30
Posts: 23

Re: [SOLVED] Setting up an Brother HL3280 Printer

Thank you for catching that. That helped.

An AUR was created from this: https://aur.archlinux.org/packages/brother-hll3280cdw

Turns out the extra executable came in the package.

Offline

Board footer

Powered by FluxBB