Brother HL-L2340DW printer
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)
andGeneric 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)
- Device URI:
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