From owner-freebsd-questions Wed Jul 18 16:18:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc22.worldnet.att.net (mtiwmhc22.worldnet.att.net [204.127.131.47]) by hub.freebsd.org (Postfix) with ESMTP id 8E92D37B403 for ; Wed, 18 Jul 2001 16:18:32 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.101.235.144]) by mtiwmhc22.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010718231831.RWTQ13460.mtiwmhc22.worldnet.att.net@worldnet.att.net>; Wed, 18 Jul 2001 23:18:31 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id D586A50FC0; Wed, 18 Jul 2001 19:22:26 -0400 (EDT) Date: Wed, 18 Jul 2001 19:22:26 -0400 From: parv To: User & Ian Patrick Thomas Cc: freebsd-questions@freebsd.org Subject: Re: /dev/lpt0 is always busy Message-ID: <20010718192226.A69370@moo.holy.cow> Mail-Followup-To: User & Ian Patrick Thomas , freebsd-questions@freebsd.org References: <20010718190203.A51074@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010718190203.A51074@localhost>; from ipthomas_77@yahoo.com on Wed, Jul 18, 2001 at 07:02:03PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG on Jul 18 19:11, i got this from User... > I have never attempted to get a printer working > on FreeBSD until now so excuse my very limited knowledge. > I just obtained an HP LaserJet IIP and after attempting the > printer test as described in the handbook > > lptest > /dev/lpt0 > > I get > > /dev/lpt0: Device busy. > > After trying to change the Printer to polling mode using > lptcontrol -p, I get > > lptcontrol: open: Device busy i don't know why lptest would give you a busy msg, but to put lpt in polling mode you need to do... # lptcontrol -p -d /dev/lpctl0 ...at least that's what i had to do after making kernel w/ updated source tree as of jun 24, 2001. lptcontrol didn't complain w/ old sources (don't remember the date) though. see man page for lptcontrol. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message