Search Criteria
Package Details: brother-hl2140 2.0.2_1-4
Git Clone URL: | https://aur.archlinux.org/brother-hl2140.git (read-only, click to copy) |
---|---|
Package Base: | brother-hl2140 |
Description: | LPR and CUPS driver for the Brother HL2140 |
Upstream URL: | http://solutions.brother.com/linux/en_us/ |
Keywords: | 2140 brother driver hl2140 printer |
Licenses: | |
Submitter: | louipc |
Maintainer: | severach |
Last Packager: | FacuTuesca |
Votes: | 15 |
Popularity: | 0.000007 |
First Submitted: | 2009-06-05 12:58 |
Last Updated: | 2016-05-13 11:53 |
Latest Comments
1 2 3 4 Next › Last »
FacuTuesca commented on 2016-05-13 11:54
@vindicator:
Added, thanks.
vindicator commented on 2016-05-13 07:19
depends=('cups') ; include ghostscript
I installed the aur driver package and was able to add my printer, but printing just didn't work.
The light would blink and I could hear the whir, but the paper-wheels wouldn't spin and the print would just stop.
*****
D [13/May/2016:01:27:45 -0500] [Job 16] Wrote 1 pages...
D [13/May/2016:01:27:45 -0500] [Job 16] PID 28182 (pdftops) exited with no errors.
D [13/May/2016:01:27:45 -0500] [Job 16] PID 28183 (pstops) exited with no errors.
D [13/May/2016:01:27:45 -0500] [Job 16] PID 28161 (/usr/lib/cups/filter/pdftops) exited with no errors.
D [13/May/2016:01:27:45 -0500] [Job 16] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [13/May/2016:01:27:45 -0500] [Job 16] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [13/May/2016:01:27:45 -0500] [Job 16] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [13/May/2016:01:27:45 -0500] [Job 16] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [13/May/2016:01:27:45 -0500] [Job 16] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [13/May/2016:01:27:45 -0500] [Job 16] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [13/May/2016:01:27:45 -0500] [Job 16] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [13/May/2016:01:27:45 -0500] [Job 16] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [13/May/2016:01:27:45 -0500] [Job 16] Error: /usr/share/brother/inf/brPrintList :cannot open file !!
D [13/May/2016:01:27:46 -0500] [Job 16] which: no gs in (/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin)
I [13/May/2016:01:27:46 -0500] Expiring subscriptions...
----->D [13/May/2016:01:27:46 -0500] [Job 16] /usr/share/brother/lpd/psconvert2: line 114: exec: -r: invalid option
D [13/May/2016:01:27:46 -0500] [Job 16] exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection ...]
D [13/May/2016:01:27:46 -0500] [Job 16] Read 479 bytes of print data...
D [13/May/2016:01:27:46 -0500] [Job 16] Wrote 479 bytes of print data...
D [13/May/2016:01:27:46 -0500] [Job 16] Sent 479 bytes...
D [13/May/2016:01:27:46 -0500] [Job 16] PID 28162 (/usr/lib/cups/filter/brlpdwrapperHL2140) exited with no errors.
D [13/May/2016:01:27:46 -0500] [Job 16] Waiting for read thread to exit...
D [13/May/2016:01:27:46 -0500] [Job 16] PID 28163 (/usr/lib/cups/backend/usb) exited with no errors.
D [13/May/2016:01:27:46 -0500] [Job 16] time-at-completed=1463120866
D [13/May/2016:01:27:46 -0500] cupsdMarkDirty(----S)
D [13/May/2016:01:27:46 -0500] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
I [13/May/2016:01:27:46 -0500] [Job 16] Job completed.
I [13/May/2016:01:27:46 -0500] Expiring subscriptions...
*****
"brPrintList" error does not appear to be an issue.
Looking at "psconvert2", I saw it was looking for "gs", but I didn't have it installed.
After installing "ghostscript", printing succeeded.
FacuTuesca commented on 2014-10-20 22:52
@GreenRaccoon23:
I'm currently using it without hplip installed.
GreenRaccoon23 commented on 2014-10-20 19:58
This package also depends on hplip.
FacuTuesca commented on 2014-08-25 01:37
Adopted and updated PKGBUILD
Anonymous comment on 2014-03-14 19:23
Improved PKGBUILD
Anonymous comment on 2014-03-10 17:50
Adopted
Anonymous comment on 2011-09-17 00:27
To whom it may concern.
I did a fresh install and the following steps were necessary in order to make this printer work properly:
- make sure usblp module is not loaded (e. g. issue ``modprobe -r usblp'' command and add line ``blacklist usblp'' to ``/etc/modprobe.d/modprobe.conf'');
- make device node readable/writable by user, on whose behalf CUPS runs the usb backend (e. g. put ``SUBSYSTEMS=="usb", ATTR{idVendor}=="04f9", ATTR{idProduct}=="0033", OWNER="daemon"'' to ``/etc/udev/rules.d/99-printers.rules'' (ids can be obtained from ``lsusb'', if using other product), then ``udevadm control --reload-rules'' and replug);
- tell Brother's lpr/CUPS wrapper about the printer: put ``HL2140'' (or other model strings) into ``/usr/share/Brother/inf/brPrintList'' (be sure to remove anything else from that file: .install script puts irrelevant contents there!);
- allow that user to modify the ``brHL2140rc'' file (e. g. say ``chown daemon /usr/share/Brother/inf/brHL2140rc'').
I have an ordinary Arch system and the user running filters and backends is "daemon". The first 2 steps let CUPS to detect the printer. The last 2 steps make printing options apply.
Anonymous comment on 2011-07-08 21:31
Is this package broken? My printer does not seem to be doing anything anymore.
Anonymous comment on 2011-04-16 12:53
And I forgot to remind: /usr/share/Brother/cupswrapper/brcupsconfig* (the exact name could be model-dependent) is run by daemon:lp (not root!), so the file /usr/share/Brother/inf/br${MODEL}rc should be writable by that user (for CUPS options to apply). Thus
chown daemon "/usr/share/Brother/inf/br${MODEL}rc"
should be added to post_install() and post_upgrade() of .install script
(that file is being rewritten in place and there is no need to make the inf directory writable).
Also pre_remove() of .install script must remove brPrintList file if it eventually becomes empty:
[ `cat '/usr/share/Brother/inf/brPrintList' | wc -l` = 0 ] && rm '/usr/share/Brother/inf/brPrintList'
so that there are no leftover files when the last brother-* package is removed. This is not affecting the functionality though.
Hope this helps. However the whole thing is very ugly and cries for rewrite. But since it is working, I don't feel enthusiastic enough to do this. I have not found all the sources either, e. g. brprintconf* binaries have hardcoded paths to brPrintList, so even pulling mutable files out of /usr seems to be not that simple.