q: printer not working, lp1->lp0, and 2.2.2-ac[567] (help!)

q: printer not working, lp1->lp0, and 2.2.2-ac[567] (help!)

Post by Matt Willi » Wed, 03 Mar 1999 04:00:00



Help!

Okay, my printer stopped working when I upgraded to 2.2; this is
kind of frustrating. I have read the docs and checked dejanews. I'm
stuck.

Thankfully, I have a spare partition with 2.0.36 and all the old
packages on it so I should be fine there. I'd rather use 2.2.2 -
Can anybody help?

Here's what I know, and I would be glad if someone could help
me out with what I don't:

*  Version 2.2 wants lp1 to become lp0; fine, I edited
   my /etc/printcap and changed /dev/lp1 to /dev/lp0.

*  My printer is always "offline":

    waiting for lp to become ready (offline ?)
    Rank   Owner  Job  Files                               Total Size
    1st    matt   406  (standard input)                    21630 bytes
    2nd    root   407   ...                                625 bytes

*  I need to compile the kernel (2.2.2-ac7) with parallel port
   support (compiled into kernel, not as a module). Okay.

      CONFIG_PARPORT=y
      CONFIG_PARPORT_PC=y
      # CONFIG_PARPORT_OTHER is not set
      # CONFIG_PNP_PARPORT is not set
      CONFIG_PARIDE_PARPORT=y

*  When I try to echo "123" > /dev/lp0, I get an error:
     bash: /dev/lp0: Operation not supported by device

*  When I check printer status I get a hung printer:

     lp:
        queuing is enabled
        printing is enabled
        2 entries in spool area
        waiting for lp to become ready (offline ?)

*  There are no lp devices in /proc/devices

*  parport0 shows up in dmesg (one message):

      parport0: PC-style at 0x378 [SPP,PS2]

*  parport0 isn't finding my printer:

      base:   0x378
      irq:    none
      dma:    none
      modes:  SPP,PS2
      none

*  /proc/ioports does not mention 0378 at all

*  I really have the devices:

      crw-rw----   1 root     daemon     6,   0 May  5  1998 /dev/lp0
      crw-rw----   1 root     daemon     6,   1 May  5  1998 /dev/lp1
      crw-rw----   1 root     daemon     6,   2 May  5  1998 /dev/lp2

Thanks,

Matt Willis

 
 
 

q: printer not working, lp1->lp0, and 2.2.2-ac[567] (help!)

Post by Matt Willi » Wed, 03 Mar 1999 04:00:00


[snip]

I should have added that I compiled kernel for the first time this
weekend. Ah. Such a learning experience. The default setting for
CONFIG_PRINTER is off, and I bet this fixes the problem. Currently
recompiling. Please ignore my previous post.

- Matt Willis

 
 
 

q: printer not working, lp1->lp0, and 2.2.2-ac[567] (help!)

Post by Todd Ostermeie » Wed, 03 Mar 1999 04:00:00


You need to read the parport docs that come with the 2.2.x kernels.  You
need to give the kernel the IO/IRQ/DMA data either through parameters
passed to the module (if you're using modules), or passed through the
append line of lilo.  read /usr/src/linux/Documentation/parport.txt (I
believe that's right -- you'll know what I'm talking about when you see
it), and follow the directions in there.

: Help!
:
: Okay, my printer stopped working when I upgraded to 2.2; this is
: kind of frustrating. I have read the docs and checked dejanews. I'm
: stuck.
:
: Thankfully, I have a spare partition with 2.0.36 and all the old
: packages on it so I should be fine there. I'd rather use 2.2.2 -
: Can anybody help?
:
: Here's what I know, and I would be glad if someone could help
: me out with what I don't:
:
: *  Version 2.2 wants lp1 to become lp0; fine, I edited
:    my /etc/printcap and changed /dev/lp1 to /dev/lp0.
:
: *  My printer is always "offline":

:     waiting for lp to become ready (offline ?)
:     Rank   Owner  Job  Files                               Total Size
:     1st    matt   406  (standard input)                    21630 bytes
:     2nd    root   407   ...                                625 bytes
:
: *  I need to compile the kernel (2.2.2-ac7) with parallel port
:    support (compiled into kernel, not as a module). Okay.

:       CONFIG_PARPORT=y
:       CONFIG_PARPORT_PC=y
:       # CONFIG_PARPORT_OTHER is not set
:       # CONFIG_PNP_PARPORT is not set
:       CONFIG_PARIDE_PARPORT=y
:
: *  When I try to echo "123" > /dev/lp0, I get an error:
:      bash: /dev/lp0: Operation not supported by device
:
: *  When I check printer status I get a hung printer:

:      lp:
:         queuing is enabled
:         printing is enabled
:         2 entries in spool area
:         waiting for lp to become ready (offline ?)
:
: *  There are no lp devices in /proc/devices
:
: *  parport0 shows up in dmesg (one message):

:       parport0: PC-style at 0x378 [SPP,PS2]
:
: *  parport0 isn't finding my printer:

:       base:   0x378
:       irq:    none
:       dma:    none
:       modes:  SPP,PS2
:       none
:
: *  /proc/ioports does not mention 0378 at all
:
: *  I really have the devices:

:       crw-rw----   1 root     daemon     6,   0 May  5  1998 /dev/lp0
:       crw-rw----   1 root     daemon     6,   1 May  5  1998 /dev/lp1
:       crw-rw----   1 root     daemon     6,   2 May  5  1998 /dev/lp2
:
:
: Thanks,
:
: Matt Willis
:
:

________________________________

Todd Ostermeier                          

http://www.ews.uiuc.edu/~ostermer/index.html
ICQ UIN: 2253928                            
A-723
________________________________

 
 
 

1. Printtool not seeing my printer on /dev/lp0, /dev/lp1 or /dev/lp2

           Hi, I've just started using Linux having used Unix in the past.
I've got a problem and I'm hoping that someone may be able to suggest a
solution.

     Having successfully installed Linux( Red Hat V6.0 Kernel 2.2.5-15 on a
Dell Dimension PIII 500Mhz ) and selected a printer driver I set up my
spoolers and ensured lpd was running. However while logged in as root trying
to redirect the output of a 'cat' command directly to the printer yielded no
output from the printer. Having checked with some FAQs and support sites I
note that the Epson Color 440 ( the printer I'm trying to use ) should be
completely compatible with Linux. I noticed an article which spoke about the
'stcolor' driver but this seemed more to do with the quality of the output
rather than the fact that there was no output at all. I tried running
printtool and it said that it could find no devices attached to /dev/lp0,
/dev/lp1 or /dev/lp2. According to Windows '98 the printer is installed on
the "ECP Printer Port" LPT1. My modem is installed on COM2( INT 9, Addr. 0 )
while COM1( INT 4, Addr. 3F8, UART NS 16550AN) does not have anything
attached. The printer works fine with Windows '98.

Any help you could give me would be greatly appreciated.

Thank You

James.

2. backspace does delete not backspace

3. dev/lp0 (or lp1 or lp2) not detected for printer

4. sendmail/nullmailer newbie

5. Unreachable printer devices (lp0, lp1, and lp2).

6. Driver for Intel ethernet card

7. 2.1.11[567]: Does any have working NCR SCSI?

8. CGI outputting text/x-server-parsed-html?

9. lp0, lp1, lp2, .... not detected.

10. printer prob, even "cat > dev/lp0 dont work !

11. Printing Problem: Not even 'ls > /dev/lp1' works!!!

12. ls > /dev/lp0 fails--but /dev/lp0 exists

13. Printing problem : ls > /dev/lp0 -- /dev/lp0 : No Such Device ?