LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Printer (HL-1240) doesn't print (https://www.linuxquestions.org/questions/linux-hardware-18/printer-hl-1240-doesnt-print-129013/)

froedi 12-26-2003 07:56 AM

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 ;)

froedi 12-27-2003 01:26 PM

aaah, come on guys - somebody must have an idea!
... I'm really desperate about this.

peb 12-31-2003 08:37 PM

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

froedi 01-02-2004 11:03 AM

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! :D

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*

tarcisio 01-02-2004 06:19 PM

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

froedi 01-03-2004 02:37 AM

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!


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