I have a problem reading data from the parallel port /dev/lp0. I want to
read the status
from the printer. How do I do that. I have tried the read function call but
this gives me
an error 5.
Johan den Boer
> I have a problem reading data from the parallel port /dev/lp0. I want to
> read the status
> from the printer. How do I do that. I have tried the read function call but
> this gives me
> an error 5.
> Johan den Boer
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
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.