Help! /dev/lp0 does not exist!

Help! /dev/lp0 does not exist!

Post by Juergen Exn » Sun, 12 Nov 1995 04:00:00



[...]
   Time to set up the printer.  But no!

   Print jobs sit in the spooler forever.
   And
           ls > /dev/lp0
   produces
           /dev/lp0 device not found

   or does not exist or some such...

   Of course ls shows it's there and I did a chmod
   to make both /dev and /dev/lp0 available to the entire
   universe.

The entry /dev/lp0 is only a virtual file, it's something like an
address.

Two more conditions must be fulfilled to use this adress:
- Support for such a device must be compiled into the kernel (did you
  compile the kernel with parallel printer support?)
  Otherwise the system won't know how to deliver any requests.

- the hardware for this specific device must exist:
  Read the Printing HOWTO: It will tell you, that /dev/lp0 is for
  ancient hardware only. 99% of modern computers use /dev/lp1!!!!!

Greetings jue
--
--

snail-mail: TU Berlin; Sekr. FR 5-13; Franklinstr. 28-29; 10587 Berlin
=-=-=-=-= "I'm sorry Dave, but I can't do that"  HAL 2000  =-=-=-=-=-=

 
 
 

Help! /dev/lp0 does not exist!

Post by del ogr » Sun, 12 Nov 1995 04:00:00


After many attempts, tonight I finally got
the Red Hat distribution installed with X
running on my Stealth 64 / aha2940 machine

Time to set up the printer.  But no!

Print jobs sit in the spooler forever.
And
        ls > /dev/lp0
produces
        /dev/lp0 device not found

or does not exist or some such...

Of course ls shows it's there and I did a chmod
to make both /dev and /dev/lp0 available to the entire
universe.

What have I missed?  Something simple I hope..

All ideas appreciated.
--del

 
 
 

Help! /dev/lp0 does not exist!

Post by del ogr » Mon, 13 Nov 1995 04:00:00


Nevermind,

It turned out that even though msdos saw the printer on lpt1
the Red Hat distribution saw it as /dev/lp2
go figure.
--del

And thanks to Matthew who's email got me out of my "it's supposed to
work this way" rut.


>After many attempts, tonight I finally got
>the Red Hat distribution installed with X
>running on my Stealth 64 / aha2940 machine
>Time to set up the printer.  But no!
>Print jobs sit in the spooler forever.
>And
>    ls > /dev/lp0
>produces
>    /dev/lp0 device not found
>or does not exist or some such...
>Of course ls shows it's there and I did a chmod
>to make both /dev and /dev/lp0 available to the entire
>universe.
>What have I missed?  Something simple I hope..
>All ideas appreciated.
>--del

 
 
 

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

I'm new to Linux.  I just loaded the Slackware distribution onto Swan 386SX,
386DX/25 and 486DX.  I have the same problem on all of them:

ls > /dev/lp0 gives:    
    bash: /dev/lp0: no such device.

ls -al /dev/lp0 gives:  
   crw-rw----  1  root  lp   6,  0  Nov 30 14:30  /dev/lp0

Nothing prints.  

All these machines print fine on lpt1: under DOS.  I've read the
print HOWTO and "Linux Installation and Getting Started."   On the 386SX,
uname -a gives:  
    Linux alinux 1.0 #9 Tue Mar 15 18:27:34 CST 1994  i386

I'd appreciate any help you can give.

2. Hard Copy of MAN

3. /dev/lp0 does not exist in RH 6.1

4. tcpwrapper in Solaris 7

5. SwapFILE? /dev/lp0 not exist?

6. Mouse dragging problem after suspend

7. /dev/lp0 does not exist - cannot print

8. VPN solution? Need some info.

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

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

11. Odd problem - /dev/lp0 doesn't exist??

12. /dev/lp1/ does not exist - Lp.c not called

13. Help with "Special device /dev/cdrom does not exist"