LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-14-2014, 10:30 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Rep: Reputation: 131Reputation: 131
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?
 
Old 06-14-2014, 10:48 PM   #2
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
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.....
 
Old 06-14-2014, 10:58 PM   #3
Brosch91
LQ Newbie
 
Registered: Jun 2013
Location: Michigan, USA
Distribution: Slackware64 14.1
Posts: 23

Rep: Reputation: Disabled
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
 
Old 06-14-2014, 11:17 PM   #4
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
Quote:
Originally Posted by Brosch91 View Post
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???
 
Old 06-14-2014, 11:23 PM   #5
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
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
 
Old 06-15-2014, 12:26 AM   #6
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona (July - 118 degrees)
Distribution: Slackware 14.2 soon to be Slackware 15
Posts: 699

Original Poster
Rep: Reputation: 131Reputation: 131
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.
 
Old 06-15-2014, 03:58 AM   #7
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Rep: Reputation: 155Reputation: 155
Quote:
Originally Posted by Ook View Post
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?
 
Old 06-15-2014, 04:19 AM   #8
e5150
Member
 
Registered: Oct 2005
Location: Sweden
Distribution: lackware and alpine
Posts: 135

Rep: Reputation: 104Reputation: 104
Quote:
Originally Posted by Brosch91 View Post
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.
 
Old 06-15-2014, 05:36 AM   #9
camorri
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

Rep: Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894Reputation: 894
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.
 
Old 06-15-2014, 08:13 AM   #10
EdGr
Senior Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 1,020

Rep: Reputation: 482Reputation: 482Reputation: 482Reputation: 482Reputation: 482
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
 
Old 06-15-2014, 06:19 PM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,449

Rep: Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787Reputation: 2787
If you do want to use the Brother drivers, yet another HOWTO. http://docs.slackware.com/howtos:har...r_installation
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Brother laser printer identified as an HP printer(?) taylorkh Ubuntu 2 05-21-2014 11:41 AM
[SOLVED] usb Brother printer won't print, cups 1.6.1 lgoldma Linux - Hardware 4 11-14-2012 10:39 AM
BROTHER Laser Printer HL 1230/1250 ? penguinlnx Linux - Hardware 14 02-28-2012 08:21 AM
brother printer won't print pdf files in reverse baronobeefdip Linux - Hardware 6 12-07-2011 11:24 AM
Fedora Printer Problem: Brother Laser Printer drops the first one or two centimeters merlinsenger Linux - Newbie 2 05-24-2008 06:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration