Package Details: brother-hl2280dw 2.1.0_1-2

Git Clone URL: https://aur.archlinux.org/brother-hl2280dw.git (read-only)
Package Base: brother-hl2280dw
Description: Brother HL-2280DW CUPS Driver
Upstream URL: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html
Licenses: GPL
Submitter: sergiodlc
Maintainer: sergiodlc
Last Packager: sergiodlc
Votes: 6
Popularity: 0.584205
First Submitted: 2015-09-14 18:44
Last Updated: 2019-09-28 04:25

Latest Comments

sergiodlc commented on 2019-09-27 18:32

Thank you, guys! I hadn't realized that it was broken. I reinstalled it and was able to reproduce the issue. Removing the patch for the margin alignments fixed it and I was able to print without alignment issues after the update.

Also updated the package version to match the Brother's driver version.

remcycles commented on 2019-09-20 17:56

Another bit of info: After the upgrade but before rebooting, when I tried to print my printer would output a single page with this line "<</.HWMargins[17. 12. 17. 12.]>>setpagedevice". So it definitely seems related to the patch.

I have cups 2.3.0-3 and cups-filters 1.25.4-1 installed.

Thanks for packaging this, sergiodlc. It makes installing these drivers much easier.

remcycles commented on 2019-09-20 04:05

I had the same issue after a recent upgrade. I also do not know the exact version number where things broke.

But I can confirm that f3ath's fix removing the patch lines resolves the issue for me.

Thanks for that bit of debugging! I never would have figured out the lpadmin command for that. It's a shame that the CUPS interface doesn't print more info than "Unable to copy PPD file". And /var/log/cups/error_log only shows "Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer".

f3ath commented on 2019-08-25 01:55

Not sure what went wrong but my printer stopped working after one of the recent updates. I failed to locate the particular version and package where it broke. Currently I have cups@2.2.12-1 and cups-filters@1.25.3-1. I could see errors related to "filter" (can't give the exact message now). I tried reinstalling the driver and CUPS itself and was getting "Unable to copy PPD file" error. And the CLI was giving me this:

[f3ath@glider ~]$ sudo lpadmin -p Bro -E -v "usb://Brother/HL-2280DW?serial=U62708J2N467875" -m HL2280DW.ppd

lpadmin: Unable to open PPD "/tmp/00df35d61f339": Illegal option keyword string on line 282.

So I figured it's related to the patch applied to the PPD. After removing the last 5 lines from /usr/share/cups/model/HL2280DW.ppd I was able to add the printer in CUPS successfully.

What is the purpose of the patch?

sergiodlc commented on 2018-08-23 23:58

The answer is in the error message that you got: "patch: command not found". You need to install the patch package.

Uup115 commented on 2018-08-22 12:13

I'm new to Arch. Please help...

Doesn't build - patch command not found

==> Downloading brother-hl2280dw PKGBUILD from AUR... x .SRCINFO x HL2280DW.ppd.patch x PKGBUILD miguelit0 commented on 2017-03-27 23:10
2017-03-27 Won't build - Missing dependencies: (lib32-glibc) Building brother-hl2280dw... Cloning into 'brother-hl2280dw'... remote: Counting objects: 8, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 8 (delta 2), reused 6 (delta 2)
Unpacking objects: 100% (8/8), done. == Making package: brother-hl2280dw 2.0.4_2-1 (Sun Mar 26 14:41:47 PDT 2017) == Checking runtime dependencies... == Missing dependencies: - lib32-glibc == Checking buildtime dependencies... == ERROR: Could not resolve all dependencies. == ERROR: An unknown error has occurred. Exiting...

FYI, I do have the "multi-lib" repo enabled.

miguelit0 commented on 2017-04-09 14:32
Correction: It builds... I mis-configured /etc/pacman.conf. Fixed when I properly enabled multilib. My bad.

brother-hl2280dw 2.0.4_2-1 (2015-09-14 18:56) ( Unsupported package: Potentially dangerous ! ) ==> Edit PKGBUILD ? [Y/n] ("A" to abort) ==> ------------------------------------ ==> n

==> brother-hl2280dw dependencies: - a2ps (already installed) - cups (already installed) - lib32-glibc (already installed)

==> Continue building brother-hl2280dw ? [Y/n] ==> ------------------------------------------ ==> y

==> Building and installing package ==> Making package: brother-hl2280dw 2.0.4_2-1 (Wed 22 Aug 2018 08:08:54 AM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading hl2280dwlpr-2.1.0-1.i386.rpm... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 37633 100 37633 0 0 161k 0 --:--:-- --:--:-- --:--:-- 162k -> Downloading cupswrapperHL2280DW-2.0.4-2.i386.rpm... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 14698 100 14698 0 0 35936 0 --:--:-- --:--:-- --:--:-- 35848 -> Found HL2280DW.ppd.patch ==> Validating source files with md5sums... hl2280dwlpr-2.1.0-1.i386.rpm ... Passed cupswrapperHL2280DW-2.0.4-2.i386.rpm ... Passed HL2280DW.ppd.patch ... Passed ==> Extracting sources... -> Extracting hl2280dwlpr-2.1.0-1.i386.rpm with bsdtar -> Extracting cupswrapperHL2280DW-2.0.4-2.i386.rpm with bsdtar ==> Entering fakeroot environment... ==> Starting package()... /tmp/yaourt-tmp-espresso/aur-brother-hl2280dw/./PKGBUILD: line 44: patch: command not found ==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Makepkg was unable to build brother-hl2280dw.

miguelit0 commented on 2017-04-09 14:32

Correction: It builds... I mis-configured /etc/pacman.conf. Fixed when I properly enabled multilib. My bad.

miguelit0 commented on 2017-03-27 23:10

2017-03-27 Won't build - Missing dependencies: (lib32-glibc)
Building brother-hl2280dw...
Cloning into 'brother-hl2280dw'...
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 8 (delta 2), reused 6 (delta 2)
Unpacking objects: 100% (8/8), done.
==> Making package: brother-hl2280dw 2.0.4_2-1 (Sun Mar 26 14:41:47 PDT 2017)
==> Checking runtime dependencies...
==> Missing dependencies:
-> lib32-glibc
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
==> ERROR: An unknown error has occurred. Exiting...

FYI, I do have the "multi-lib" repo enabled.