Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA01822; Fri, 29 Sep 95 19:55:22 EDT
Received: from pain.lcs.mit.edu by MIT.EDU with SMTP
	id AA02149; Fri, 29 Sep 95 19:54:49 EDT
Received: (from daemon@localhost) by pain.lcs.mit.edu (8.6.9/8.6.9) id SAA10135; Fri, 29 Sep 1995 18:06:59 -0400
Received: from BALVENIE.PDL.CS.CMU.EDU by pain.lcs.mit.edu (8.6.9/8.6.9) with SMTP id RAA09763 for <port-i386@netbsd.org>; Fri, 29 Sep 1995 17:48:41 -0400
Received: from LOCALHOST by BALVENIE.PDL.CS.CMU.EDU id aa04731;
          29 Sep 95 17:48 EDT
From: "Kang H. Lee " <kanghoon@ix.netcom.com>
Subject: Help!  I cannot print to lpt port.
To: port-i386@netbsd.org
Date: Fri, 29 Sep 1995 17:47:56 -0400
Message-Id: <4729.812411276@BALVENIE.PDL.CS.CMU.EDU>
Sender: owner-port-i386@NetBSD.ORG
Precedence: list
X-Loop: port-i386@NetBSD.ORG

Hi!

I have HP Deskjet 540 connected to lpt1.  I have setup the printcap 
file according to the "Unix System Administration Handbook", and tried 
to print.  However, the lpq gives following error message.

"waiting for hp-djet to become ready (offline ?)"

When I manually start the printer with lpc, it gives error saying it 
cannot start the daemon.  When I manually start the lpd and then run 
"lpc start all", it starts fine but gives above error message.  When I 
check the lpd by typing "ps -aux | grep lpd", it lists two lpds.  Any 
pointer would be greatly appreciated.  

BTW my printcap file contains following lines:

hp-djet|lp|HP Deskjet 540|:\
    :lp=/dev/lpt2:sd=/var/spool/hp-djet:lf=/var/log/pr-errs:
                ^
                |
                This is because it shows lpt2 at the boot time.

Thanks in advance.

Kanghoon

