Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 1996 10:07:38 +0100
From:      kuku@gilberto.physik.rwth-aachen.de (Christoph Kukulies)
To:        hlew@sequence.Stanford.EDU (Howard Lew)
Cc:        questions@FreeBSD.ORG
Subject:   Re: weird lpt problems
Message-ID:  <199611130907.KAA01897@gilberto.physik.rwth-aachen.de>
In-Reply-To: <Pine.SUN.3.91.961112121023.7766A-100000@vegemite.Stanford.EDU>; from "Howard Lew" on Nov 12, 1996 12:24:13 -0800
References:  <Pine.SUN.3.91.961112121023.7766A-100000@vegemite.Stanford.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
Howard Lew writes:
> 
> System is using the 2.1.5R kernel
> 
> 1) lpq always says "waiting for laser to become ready (offline ?)"  
> 
> 2) Even if I kill lpd and do a "cat file > /dev/lpt0" I get:  
> "/dev/lpt0: Device busy." when the laser is idle.
> 
> 3) Just to be sure it is a not a cable problem, I can bootup in Win95 and
> print without any problems in DOS or Windows 95.
> 
> 4) I have tried playing around with the SPP/ECP/EPP settings and even
> changing the parallel port addresses and irqs, but none of the changes help.
>     
> 5) I have tried setting the lpt flag to 0xff from 0x0 and it does not
> help.  Does anyone know what the flag settings mean?
> 
> I can not get the "lptest > /dev/lpt0" to work without the same     
> "/dev/lpt0:  Device busy." message.  I wonder why it keeps saying that 
> /dev/lpt0 is busy when no device is using it.
> 
> Does anyone have any ideas?  This is truly the weirdest problem I have
> ever faced because the darn printer will print if I bootup in Win95.
> 
> Thanks in advance for any help, suggestions, or any input at all.
> 
> 
> 
> ----
> Here's the /etc/printcap:
> 
> #       @(#)printcap    5.3 (Berkeley) 6/30/90
>     
> laser|epson|lp|Epson Laser Printer:\
>     :sh:\
>     :lp=/dev/lpt0:\
>     :sd=/var/spool/lpd:\
>     :if=/usr/local/libexec/hpif:\
>     :lf=/var/spool/lpd/logfile:\
>     :af=/var/spool/lpd/acct:\
>     :mx#0:sf:
> 

What does your dmesg output say about the printer port? Make sure the
device node /dev/lpt0 isn't pointing to something else. What is in 
/var/log/lpd-errs? Try using lptcontrol -p to choose polled mode.
Is another device strapped to irq 7?

-- 
--Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611130907.KAA01897>