You are not logged in.

#1 2014-10-28 23:08:48

GreenRaccoon23
Member
Registered: 2014-09-27
Posts: 33

[SOLVED] Printing Problems (Brother HL2140 under XFCE)

I can't get my printer to work under Arch (I'm using XFCE). It works under Ubuntu fine, and it used to work under Arch before I did a clean install (a couple weeks ago). I've spent too many hours trying to figure this out. Can someone help please? (I've already tried everything on the Arch wiki page for the hl2140 printer.)

I first installed these packages:

cups
brother-hl2140
system-config-printer

Then I tried installing a bunch of other "cups" packages.
After that, I installed these:

hplip
brother-lpr-drivers-common
brother-lpr-drivers-laser1
brother-cups-wrapper-common
brother-cups-wrapper-extra
brother-cups-wrapper-laser1

Output of lsusb:

Bus 002 Device 006: ID 04f9:0033 Brother Industries, Ltd

I'm using system-config-printer. When I try to add the printer, it starts to search for drivers and then crashes. (I run system-config-printer with sudo. I've tried adding my home user to lp and a bunch of other groups, but I can't figure out which one will let me configure printers). Here's the output when it crashes:

No ID match for device usb://Brother/HL-2140%20series?serial=123456789:
MFG:Brother;MDL:HL-2140 series;CMD:PJL,HBP;

(system-config-printer.py:21895): Gdk-WARNING **: system-config-printer.py: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Fail. So I tried using hp-setup, but it doesn't find anything, even though system-config-printer and lsusb do:

Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb

I've also tried using the openprinting driver (which worked before I reinstalled Arch). Here's my steps:

cd ~/Downloads
wget -o "hl2140.ppd" https://www.openprinting.org/ppd-o-matic.php?driver=hpijs-pcl5e&printer=Brother-HL-2140&show=0
sudo lpinfo -v
sudo lpadmin -p 'HL-2140' -E -v 'usb://Brother/HL-2140%20series?serial=123456789' -P "$HOME/Downloads/hl2140.ppd"

It installs fine, but when I try to print, it says that there's a problem printing it.

Does anyone have any guidance?

Last edited by GreenRaccoon23 (2016-03-23 01:19:29)

Offline

#2 2014-10-29 06:04:07

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 602

Re: [SOLVED] Printing Problems (Brother HL2140 under XFCE)

Did you try to use the CUPS web interface http://localhost:631/ ?

Last edited by PhotonX (2014-10-29 06:04:55)


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

#3 2014-10-29 19:05:48

GreenRaccoon23
Member
Registered: 2014-09-27
Posts: 33

Re: [SOLVED] Printing Problems (Brother HL2140 under XFCE)

PhotonX wrote:

Did you try to use the CUPS web interface http://localhost:631/ ?

Yeah I tried that one too, but still no luck unfortunately. There's no option for my model numer (HL-2140) on there.

-----edit-----
Lol wow I figured it out. I was using wget instead of curl. roll I was using wget -o, which just makes an output log. No wonder cups couldn't use it! tongue Lol I'm finding this way too hilarious that after all that work, it was that little command. lol

Last edited by GreenRaccoon23 (2014-10-29 20:53:30)

Offline

Board footer

Powered by FluxBB