Package Details: brother-hll2340dw 3.2.0_1-1

Git Clone URL: https://aur.archlinux.org/brother-hll2340dw.git (read-only, click to copy)
Package Base: brother-hll2340dw
Description: LPR and CUPS driver for HLL2340D model.
Upstream URL: http://support.brother.com/g/s/id/linux/en
Licenses: GPL
Submitter: Luken
Maintainer: Luken
Last Packager: Luken
Votes: 9
Popularity: 0.000000
First Submitted: 2015-08-11 21:25
Last Updated: 2018-01-11 21:06

Latest Comments

pkulak commented on 2020-03-19 22:26

Just to add on to Luken's comment, and be very explicit from beginning to end for when I set up a new system with the same printer in 3 years:

  1. Edit /etc/pacman.conf to turn on multilib
  2. sudo pacman -Sy lib32-glibc
  3. Install this package
  4. sudo systemctl enable org.cups.cupsd
  5. sudo systemctl start org.cups.cupsd
  6. Hop on http://localhost:632
  7. Add new LPD/LPR printer as lpd://192.168.86.34/queue (where that's the static IP of your printer)

I don't know why, if Cups installs a socket service we have to start it, but I had to.

Luken commented on 2019-10-22 09:49

As I had to reinstall my system, and go through all the steps again, I decided to write down the instruction:

  1. You have to have your printer configured and connected to local network.
  2. Configure it to have a static IP, e.g. 192.168.1.10 .
  3. Visit: http://localhost:631/ (you need to have cups service enabled, login and password are the ones of your system user).
  4. Add new printer. You can try choosing printer from "Discovered Network Printers:", but it didn't work for me for some reason. If that's also the case for you, you can choose "LPD/LPR Host or Printer", and as a connection put "lpd://192.168.1.10/queue" (which is your printer's IP). Printer added that way should work, I just tested it. I'm assuming you need static IP on the printer for this to work, that's why I put it in the second step.

thearchlinuxuser commented on 2017-10-28 18:29

Thank you for this wonderful package!

Please add ghostscript package as a dependency. I spent about 10 hours (really) to find out that the printer does not print because cups cannot find the "gs" command. It worked under Ubuntu 17.10 in a VM, so I knew it must be an issue in my current Arch installation. I found out what was going wrong by setting the log level in /etc/cups/cupsd.conf to "debug2" and scrolling through the error output. I finally found that line:

[Job 52] which: no gs in (/usr/lib/cups/filter:/usr/bin:/usr/bin:/bin:/usr/bin)

After having installed the ghostscript package via pacman -S, the printer works like a charm now.

@Luken: And I'm not sure whether you also need lib32-glibc, as stated by alex_de. You might want to check this and maybe add it to the dependencies as well. Could save a lot of work for users who do not read the comments :)

alex_de commented on 2017-10-25 19:30

You have to choose jetdirect-printer in the add printer dialog, lpd-printer and hl-l2340d didn't work for me. I also had to enable multilib in /etc/pacman.conf to install lib32-glibc which is needed by the driver.

keltor commented on 2017-10-16 23:35

You must have the multilib repository enabled on x64. https://wiki.archlinux.org/index.php/multilib

lsfa commented on 2017-09-25 19:10

Installation fails due to missing lib32-glibc, which pacman does not know about. Can someone point to a workaround?

jcag commented on 2016-11-04 16:21

Fine work. Thanks a lot.
I have another Brother : HL-5340DL. How can I proceed to get such a package from the Brother's drivers?

Luken commented on 2016-08-12 20:05

dpc you have to install "base-devel" group of packages before you will be able to build anything.

dpc commented on 2016-08-12 19:59

```
==> Starting prepare()...
/tmp/yaourt-tmp-dpc/aur-brother-hll2340dw/./PKGBUILD: line 29: patch: command not found
==> ERROR: A failure occurred in prepare().
```

jumpily commented on 2016-01-06 06:00

Seems to work for me. Thanks Luken!