Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-14-2014, 10:30 PM
|
#1
|
Member
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Rep:
|
Brother HL-2330 laser printer won't print
Slackware 14.1 64 bit
Brother HL-2230 printer
I installed cupswrapper and the brother hl2230lpr package that you can get from the Brother website. After doing so, I can see the printer in cups, and it is set to:
usb://Brother/HL-2230%20series?serial=A4N829749
Restart cups. Try to print. But when I print, either a test page from the cups admin utility, or from an application, nothing happens.
If I disconnect the USB cable, the job status is "Waiting for printer to become available."
If I connect the USB cable, it changes to "completed".
And nothing prints.
At this point cups sees it, it appears to be talking to the printer in that it can tell if the USB cable is connected or not, it thinks it is printing to the printer, but nothing comes out on the printer.
If I print a self test print page from the Cups utility, the printer light will blink a few times, but nothing prints. Print from any application - nothing prints. Printer queue list shows jobs completing normally.
Just for a sanity check I connected the printer to a windows box and installed the windoze driver and it printed fine. Printer seems to be OK. Slackware can see it, Cups can see it, but it won't print to it.
At this point I'm stumped. Anyone have any experience with this printer and know what it takes to get it to print?
|
|
|
06-14-2014, 10:48 PM
|
#2
|
Member
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
|
So - remove drivers, reinstall. After all this is how you fix stuff with Windows, right? Remove, reinstall a couple of times and maybe it works. try this, try that. And lo and behold, after doing this a few times it magically started to work. And I have no idea what I did that finally got it working.
Actually, I used rpm2txz on the rpm files, and ran the intstaller from brother, and it worked. Weird.....
|
|
|
06-14-2014, 10:58 PM
|
#3
|
LQ Newbie
Registered: Jun 2013
Location: Michigan, USA
Distribution: Slackware64 14.1
Posts: 23
Rep:
|
I'm having the same problem with my Brother HL-2040. The printer works fine under Windows, but under Slackware, I can't get it to print. I might be doing something wrong, I don't know. Last time I tried getting it working was a few months ago, but ended up giving up on it, and making due with just printing everything using a windows computer. It would be very nice if I could figure it out though, so I don't have to go through that trouble anymore
|
|
|
06-14-2014, 11:17 PM
|
#4
|
Member
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
|
Quote:
Originally Posted by Brosch91
I'm having the same problem with my Brother HL-2040. The printer works fine under Windows, but under Slackware, I can't get it to print. I might be doing something wrong, I don't know. Last time I tried getting it working was a few months ago, but ended up giving up on it, and making due with just printing everything using a windows computer. It would be very nice if I could figure it out though, so I don't have to go through that trouble anymore
|
If you download the Driver Install Tool from Brother ( http://support.brother.com/g/b/downl...040_all&os=127) and run it, it will download the LPR printer driver and CUPSwrapper in rpm format. It also gives a file not found error of some sort, and although it completes, you won't be able to print.
Run the uninstaller. Restart cups. Go to the cups admin page in your browser ( http://localhost:631/). Make sure there is no brother printer there, delete it if it exists.
Run rpm2txz on both of the rpm files. Then run the Brother installer again, you won't get the file not found error this time. I have absolutely no clue if it was the presence of the .txz files that made a difference, but until I did that it would not work.
Why, oh why, don't they just give us a PPD file? Is that too much to ask???
|
|
|
06-14-2014, 11:23 PM
|
#5
|
MLED Founder
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453
|
The Brother printers from the HL-**** series all work fine under Linux. Just make sure you use the printers from their website.
On Slackware64, you have to install the basic multilib packages.
Here's a link to a little HOWTO I wrote about the HL-2030. It's in French, but you'll understand the listings:
http://www.microlinux.fr/slackware/L...CUPS-HOWTO.txt
|
|
|
06-15-2014, 12:26 AM
|
#6
|
Member
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699
Original Poster
Rep:
|
UPDATE:
I did a clean install of Slackware 14.1 32 bit. I ran rpm2txz on the two .rpm files. I ran the brother installer. It ran without error, and the printer works. No tweaking, no coping files around, no doing anything. It worked right out of the box.
The only thing I did different from the many times it failed was to have the two .txz files in the same directory as the .rpm files. Still not sure that isn't just coincidence and it didn't start working by magic. But twice now that has worked.
|
|
|
06-15-2014, 03:58 AM
|
#7
|
Member
Registered: May 2007
Distribution: Slackware
Posts: 288
Rep:
|
Quote:
Originally Posted by Ook
The only thing I did different from the many times it failed was to have the two .txz files in the same directory as the .rpm files.
|
Didn't you switch from a 64-bit install to a 32-bit install?
|
|
|
06-15-2014, 04:19 AM
|
#8
|
Member
Registered: Oct 2005
Location: Sweden
Distribution: lackware and alpine
Posts: 135
Rep:
|
Quote:
Originally Posted by Brosch91
I'm having the same problem with my Brother HL-2040. The printer works fine under Windows, but under Slackware, I can't get it to print. I might be doing something wrong, I don't know. Last time I tried getting it working was a few months ago, but ended up giving up on it, and making due with just printing everything using a windows computer. It would be very nice if I could figure it out though, so I don't have to go through that trouble anymore
|
With my HL-2035, I'v downloaded the hl1250 PPD-file from http://www.openprinting.org/printer/...rother-HL-2040 saved it as /etc/foomatic/direct/hd2035.ppd, then run `foomatic-rip -P hl2035 file.pdf > /dev/lp`, without going through CUPS, since I don't need queuing and other fancy stuff. I reckon the filterHL* script from the Brother rpm should be able to do the same, eg. `/usr/local/Brother/lpd/filterHL2040 < pdf.pdf > /dev/lp`. If that prints, it is likely just an CUPS configuration error.
|
|
|
06-15-2014, 05:36 AM
|
#9
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,299
|
I have had a HL2040 running for several years on both 32 bit and 64 bit systems.
Quote:
Brother HL-2040 Foomatic/hl1250 (recommended) (grayscale, 2-sided printing)
Connection: usb://Brother/HL-2040%20series
|
From cups, I'm using the hl120. BTW, no multi-lib on the 64 bit system.
|
|
|
06-15-2014, 08:13 AM
|
#10
|
Senior Member
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,020
|
This question comes up periodically. If you don't want to use Brother's drivers, you can print directly to the device. First create a Postscript file (file.ps) and then do:
su -c 'chmod gou+rwx /dev/usb/lp0'
gs -dNOPAUSE -dSAFER -sDEVICE=hl1250 -sOutputFile=/dev/usb/lp0 \
-dDOINTERPOLATE -dGraphicsAlphaBits=4 -r600 file.ps -c quit
My Brother HL2140 works fine with the above command.
Ed
|
|
|
All times are GMT -5. The time now is 09:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|