From owner-freebsd-questions Thu Feb 1 15:52:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 58F3D37B491 for ; Thu, 1 Feb 2001 15:52:23 -0800 (PST) Received: (qmail 93505 invoked by uid 100); 1 Feb 2001 23:52:22 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14969.63158.685281.115880@guru.mired.org> Date: Thu, 1 Feb 2001 17:52:22 -0600 (CST) To: "Richard E. Hawkins" Cc: questions@freebsd.org Subject: Re: bringing the printer to life In-Reply-To: <11308926@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Richard E. Hawkins types: > It's a plain old run of the mill hp 4p on the parallel port. It > was working yesterday with linux. > > Actually, I'm wondering if the handbook is out of sync. Seems likely. > I've remade the device (which seemed unnecessary), and I've tried > lptctl (which I've never needed to use in past installs. > > The manual says to > > >1.Type: > > > # lptcontrol -i -u N > > > to set interrupt-driven mode for lptN. > > but I get: > > fac13ttyp3:/dev>lptcontrol -i -u 0 > lptcontrol: illegal option -- u > usage: lptcontrol -i | -p | -s | -e [-d device] > > Is there a more recent manual, or am I missing hte obvious again? Well, "man lptcontrol" should provide the documentation on lptcontrol you want. Given what I have, you need to do "lptcontrol -i -d /dev/lpt0". Seems that lptcontrol had to learn about printers on devices other than lpt. Could you submit a PR on this one? Especially if you try the above, and it works. Thanx, http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message