From owner-freebsd-questions Tue Nov 12 12:25:19 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA25071 for questions-outgoing; Tue, 12 Nov 1996 12:25:19 -0800 (PST) Received: from vegemite.Stanford.EDU (vegemite.Stanford.EDU [171.65.76.158]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA25039 for ; Tue, 12 Nov 1996 12:25:08 -0800 (PST) Received: (hlew@localhost) by vegemite.Stanford.EDU (8.7.1/8.6.4) id MAA07808; Tue, 12 Nov 1996 12:24:14 -0800 (PST) Date: Tue, 12 Nov 1996 12:24:13 -0800 (PST) From: Howard Lew To: questions@freebsd.org Subject: weird lpt problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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: