On Wed, 10 Feb 1999, A W Young wrote:

> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] writes
> >On Sun, 7 Feb 1999, A W Young wrote:
> >
> >> I have a Hewlett Packard 690C printer and RedHat Linux 5.1.  If I try to
> >> print a file with the
> >> 
> >>                 lpr hello.c
> >> 
> >> command, for example, then nothing happens.  If I examine the queue with
> >> lpq, then it reports either "no daemon present" or "waiting for lp to
> >> become ready (offline ?)".  In the RHS Linux Print System Manager I have
> >> lp as "local printer on /dev/lp0".  I have tried turning the printer
> >> off, then on again.  If I move to the /etc directory and type "lptest >
> >> /dev/lp0" then nothing happens.
> >
> >Is the printer on lp0 in RH?  It's /dev/lp1 in Slackware.
> 
> I don't know.  Using the Print System Manager, I have tried changing the
> settings to lp0, lp1 and lp2.  With all three of these, when I try to
> print a test page directly to port, I get the error message:
> 
> "Couldn't write file /dev/lp0: no such device"

If you log in a root, the command

echo TEST > /dev/lp1

should cause the printer to print the word 'TEST', at least.  If you get a 
"no such device" message then you need to create it with MAKEDEV (I think
that's the name).  Most distributions, however, have all of these in place
with a standard install.  Surely, RH isn't different in this regard!

Good luck,

Gordon A. Gallup                          Dept. of Physics and Astronomy
University of Nebraska-Lincoln            Lincoln, NE 68588-0111
Voice: (402)472-1230                      FAX: (402)472-2879
http://www.unl.edu/physics/

Reply via email to