17

I've (perhaps unwisely, it seems) just bought a Brother HL-L2340DW printer and I'm struggling to get it working with Ubuntu.

I need to get it working wirelessly, but I can connect it by USB in order to get it working if necessary.

So far I've managed to get the printer's IP address set and I can browse to it from a web browser, but I haven't managed to get it working as a CUPS printer.

There is no built-in printer driver for this printer in Ubuntu. I tried a Linux CUPS driver from Brother website - the instructions mismatch severely but I sort of guessed my way through the mismatching bits. At the end of it all there are no errors as such, and I can search for network printers, find it and install it, but when I print, the job disappears from the queue without printing or telling me anything went wrong.

To be clear, it's not so much that I'm having problems which I need help to resolve - the issue is that I just don't know how to do this. My first hope is that someone may be able to advise how to do this - and I could then reply with any problems. If that's not possible, it'll come down to debugging it but I just don't know where to start.

Any help much appreciated!

Thanks, Mark

Mark Smith
  • 1,313
  • 1
  • 11
  • 24

7 Answers7

12

Found a better (native, not Google) solution - eventually. This is a pain, but perhaps it will help some poor soul in the future. Unfortunately I can't easily go back and do it again on a virgin system to verify it, so there could be mistakes below - sorry. Better than nothing, though, I hope.

  • Start at http://support.brother.com/g/b/downloadtop.aspx?c=us&lang=en&prod=hll2340dw_us_eu_as (The instructions on this page are terrible, confusing, incomplete, wrong. You need to get the files from there, but here's what I really had to do:)
  • Select OS Family = Linux, OS Version = deb. Click Search.
  • Download both Generic LPR printer driver (deb package) and Generic CUPSwrapper printer driver (deb package)
  • sudo mkdir /var/spool/lpd
  • sudo mkdir /usr/share/cups/model
  • Open the LPR package with Ubuntu Software Centre. Install it. Overlook the badly-made-package warning.
  • Open the CUPSwrapper package with Ubuntu Software Centre. Install it. Overlook the badly-made-package warning.
  • Add a CUPS printer as normal. These are the settings I ended up with, which work for me:
    • Device URI: lpd://Brother/BINARY_P1 ("brother" is set up on my DNS, you could use printer's IP addr, 192.168.x.x)
    • Make and Model Brother BrGenML1 for CUPS (selected from Makes -> Brother, Models -> BrGenML1 for CUPS)
Mark Smith
  • 1,313
  • 1
  • 11
  • 24
2

I just installed Ubuntu 20 Desktop.

The printer in question was installed automatically.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:    20.04
Codename:   focal

And for what it's worth, lpstat:

$ lpstat -p
printer HL-L2340D-series is idle.  enabled since Mon 19 Oct 2020 08:43:47 PM EDT
jouell
  • 327
2

Found another howto. If anyone wants to test this for applicability to the 2340DW that would be great.

https://sites.google.com/site/easylinuxtipsproject/15

iGadget
  • 883
1

Solution for Ubuntu 18.04 (tried and tested just now, all fine incl duplex printing):

0

I've found a solution - not a great one, but it works:

  1. Get the printer set up with Google Cloud Print.
  2. Install CUPS Cloud Print http://www.niftiestsoftware.com/cups-cloud-print/

Now I can print from Ubuntu -> GCP -> printer. It's a clumsy solution, a bit slow to respond (maybe 20 seconds), the print quality isn't quite as good as printing directly (some slightly odd fringing effects), it uses up my finite data (no idea how much) and adds the (unnecessary but probably not too problematic) restriction that the Internet needs to be alive.

Mark Smith
  • 1,313
  • 1
  • 11
  • 24
0

The answer listed above by Mark Smith worked for me (edit: the native solution involving downloading drivers from the brother site, not the Google cloud print one). I didn't need to create the two directories listed as they were already present on my system. Once I installed the two packages I downloaded from the Brother site, I went to add a printer using the regular Printers app on Ubuntu 14.04, in which the Brother now appeared as a local printer (BrGenML1). Right-clicked on properties, then in settings for Device URI I entered "lpd://[printer ip address]" and for Make and Model "Brother BrGenML1 for CUPS" as listed above. Works fine. Thanks Mark!

0

I followed Mark Smith's steps. I also seemed to need " LPR printer driver (deb package)". I used the Generic driver that came with the little printer setup app that comes with Ubuntu. Thanks and HTH. I also rebooted the printer.

jouell
  • 327