A W Young enscribed thusly:
> In article <[EMAIL PROTECTED]>, Michael H.
> Warfield <[EMAIL PROTECTED]> writes
> >A W Young enscribed thusly:
> >> 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"
> >
> > Ok... Stupid question time... Do you have a printer driver loaded?
> >Do a "cat /proc/ioports" and see if you have a line like this:
> >
> >03bc-03be : parport0
> I don't get anything containing "parport" in the resulting list.
> > If you don't, you need to load a parallel port driver...
> I have hunted around the man pages, the RedHat manual and in a Linux
> book and can't find how to load a driver. Can you tell me what I have
> to do?
Hmmm... I'm getting a clue here and I may have made a mistake as
well. What kernel version are you running? If it's a 2.0 kernel, it's
not a parport line you should have been looking for. How about an
lp line like this:
0378-037f : lp
This is from my 2.0.36 system. The parport0 line in my earlier
message was from 2.2.1.
If you don't see an lp line in the ioports, try running the command
"insmod lp" and see what happens... See if your lpr ports work and see
if anything shows up in ioports then.
> --
> A. W. Young
> http://www.tylehurst.demon.co.uk/
Mike
--
Michael H. Warfield | (770) 985-6132 | [EMAIL PROTECTED]
(The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!