Date: Tue, 30 May 2000 13:04:55 -0700 (PDT) From: Mahlon Smith <reich@internetcds.com> To: freebsd-questions@freebsd.org Subject: Re: /dev/lpt0 busy Message-ID: <Pine.BSF.4.21.0005301303140.87421-100000@martini.office.cdsnet.net> In-Reply-To: <Pine.BSF.4.21.0005300951340.70622-100000@martini.office.cdsnet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Forgot my printcap output. No errors to /var/log/lpd-errs, btw. lp|Laserwriter|Apple Laserwriter 360:\ :lp=/dev/lpt0:\ sd=/var/spool/output/lpd:\ lf=/var/log/lpd-errs: -- Mahlon Smith InternetCDS http://www.internetcds.com On Tue, 30 May 2000, Mahlon Smith wrote: > > I've searched through the mailing list archives to no avail. It seems > that a few others were having the same problem, but I was unable to locate > a solution that addresses my problem. > > I am unable to print. Jobs are spooled successfully, but they just sit > there. lpd thinks the printer is offline. (Apple Laserwriter 360.) > The printer and cable work perfectly from windows and macintosh. > > Tried changing the port to polled vs. interrupt, can't do it since the > device is busy. > > I am out of ideas. > Relevant info below, help, as always, is appreciated. > > > -Mahlon > > ------------------------------------------------------------------- > > dmesg stuff: > ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 > ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode > ppi0: <Parallel I/O> on ppbus0 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > > > lpc> status all > lp: > queuing is enabled > printing is enabled > 2 entries in spool area > waiting for lp to become ready (offline?) > > > router# cat > /dev/lpt0 > /dev/lpt0: Device busy. > > > router# lptcontrol -p > lptcontrol: open: Device busy > > > router# pwd > /var/spool/output > router# ls -lR > total 2 > drwxr-xr-x 2 root daemon 512 May 5 1997 lpd > -rw-rw-r-- 1 root daemon 5 May 30 01:18 lpd.lock > ./lpd: > total 7 > -rw-r----x 1 root daemon 4 May 5 1997 .seq > -rw-rw---- 1 daemon daemon 110 May 5 1997 cfA000router.[hostname] > -rw-rw---- 1 daemon daemon 110 May 5 1997 cfA001router.[hostname] > -rw-rw---- 1 root daemon 15 May 5 1997 dfA000router.[hostname] > -rw-rw---- 1 root daemon 553 May 5 1997 dfA001router.[hostname] > -rw-rw-r-- 1 root daemon 5 May 30 01:18 lock > -rw-rw-r-- 1 root daemon 42 May 30 01:18 status > > > router# ps aux | grep lpd > root 2180 0.0 0.2 264 144 p0 R+ 10:00AM 0:00.00 grep lpd > root 1771 0.0 1.1 888 664 ?? Is 1:18AM 0:00.01 lpd > root 1772 0.0 1.1 888 676 ?? S 1:18AM 0:00.35 lpd > > -- > Mahlon Smith > InternetCDS > http://www.internetcds.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005301303140.87421-100000>