LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-26-2003, 07:56 AM   #1
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Rep: Reputation: 15
Unhappy Printer (HL-1240) doesn't print


hi there!

I've got a printer (Brother HL-1240, connected via parallel port) which won't print - although I'm pretty sure that it is set up correctly.

I've been trying around with CUPS without any success, so I used apsfilter to install my printer - that was pretty easy, I didn't have any difficulties so far; even the test page prints out fine!

now when I try to print some files from the commandline, the printer awakes and it seems like it receives some data but it doesn't start printing. what I can do is stuff like 'cat sometextfile.txt > /dev/lp0', but as you might imagine that's not really satisfying.

Code:
root@schweden:/home/froedi# lpr -V -Phl1240 code/tex/mathe-gfs.ps 
LPRng-3.8.22, Copyright 1988-2003 Patrick Powell, <papowell@lprng.com>
sending job 'root@schweden+189' to hl1240@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer hl1240@localhost
sending control file 'cfA189schweden..' to hl1240@localhost
completed sending 'cfA189schweden..' to hl1240@localhost
sending data file 'dfA189schweden..' to hl1240@localhost
completed sending 'dfA189schweden..' to hl1240@localhost
done job 'root@schweden+189' transfer to hl1240@localhost
Code:
root@schweden:/home/froedi# lpstat
Printer: hl1240@schweden 'hl1240;r=300x300;q=medium;c=full;p=a4;m=auto'
 Queue: no printable jobs in queue
 Server: no server active
 Status: job 'root@schweden+189' saved at 14:19:58.332
 Rank   Owner/ID                  Class Job Files                 Size Time
error  root@schweden+189            A   189 ERROR: aborting operations
Code:
root@schweden:/home/froedi# lsmod
Module                  Size  Used by    Tainted: P  
lp                      6752   0  (autoclean)
[...]
parport_pc             14724   1 
parport                23264   1  [lp parport_pc]
[...]
yes, I'm using the right driver (the one offered by apsfilter) and lpd is running.
I have no clue what's wrong about all this :|
I've even tried some different BIOS settings for my parallel port - without any success. do you think conencting the printer via USB might make things easier?


I'd be really happy, if someone could help me getting this thing working.
thank you guys for your help already
 
Old 12-27-2003, 01:26 PM   #2
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Original Poster
Rep: Reputation: 15
aaah, come on guys - somebody must have an idea!
... I'm really desperate about this.
 
Old 12-31-2003, 08:37 PM   #3
peb
LQ Newbie
 
Registered: Nov 2003
Location: Melbourne, Australia
Distribution: mandrake 9.2
Posts: 12

Rep: Reputation: 0
on mandrake 9.2 my brother Hl1240 just stopped working and would slowly alternate between ready and alarm lights. (so it appeared to be a hardware problem according to the manual)
I "fixed it" by fumbling around in printerdrake. I had two copies of the printer in cups so deleted one and reset the options on the the remaining one for 600 dpi etc (nothing that should make any difference) - printed a test page and it all worked....
I'm not sure that is much help but it might give you hope
Regards
peter
 
Old 01-02-2004, 11:03 AM   #4
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Original Poster
Rep: Reputation: 15
YEAH!
IT WORKS!!!

you can't imagine how happy I am! I've just started the last attempt to get that printer working - and now it does!

I
- de-installed apsfilter
- installed cups instead
- installed all the foomatic-* stuff
- followed the instrucions @ linuxprinting.org

I have no idea what I had done wrong in the past - but to be honest: I'm too happy to care about that at the moment! *g*
 
Old 01-02-2004, 06:19 PM   #5
tarcisio
LQ Newbie
 
Registered: Oct 2003
Location: Sobral - Ce - Brasil
Distribution: Debian
Posts: 7

Rep: Reputation: 0
Congratulations, froedi. I have read because I am nearly in the same point.
Let me know how you have "de-installed apsfilter" because I have, perhaps,
to repeat the path you followed. My printer is working "sometimes"... so I must
have some garbage poking around.

Tarcisio
 
Old 01-03-2004, 02:37 AM   #6
froedi
Member
 
Registered: Nov 2003
Location: GER
Distribution: slackware 10.0
Posts: 62

Original Poster
Rep: Reputation: 15
well, for managing the installed packages I use pkgtool which comes with slackware - this is where I just removed apsfilter. I don't know how to do this in debian, but I guess you're using apt or something similar.
+ I'm not sure if it's really necessary to remove apsfilter before installing cups. I just wanted to make sure that both printing systems aren't interfering.

the only thing I did differently to the tutorial was that I didn't download foomatic-rip and foomatic-gswrapper. Instead I installed foomatic-filters, foomatic-db & foomatic-db-engine.
I don't know if this is of any importance - I just wanted to mention it.


I hope this is a bit of help for you and that you'll get your printer working correctly!
 
  


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
Printer Configuration: "Print file sent, waiting for printer to finish", JetDirect Ed-MtnBiker Fedora 3 02-23-2007 12:41 PM
printer won't print rblanken Debian 4 10-13-2005 06:46 PM
Can't get my Brother HL-1240 to install skydart Linux - Hardware 0 08-24-2004 11:29 AM
HELP!!! Getting A printer to print... Nichole_knc Slackware 7 04-06-2004 07:42 PM
printer cant print demmylls Linux - General 1 03-14-2004 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:12 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration