From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 10:55:48 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1AB4F16A400 for ; Sat, 10 Mar 2007 10:55:48 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by mx1.freebsd.org (Postfix) with ESMTP id CBB2013C428 for ; Sat, 10 Mar 2007 10:55:47 +0000 (UTC) (envelope-from knizek@volny.cz) Received: from antivir5.iol.cz (unknown [192.168.30.212]) by smtp-out3.iol.cz (Postfix) with ESMTP id 95AF064291; Sat, 10 Mar 2007 11:55:46 +0100 (CET) Received: from localhost (antivir5.iol.cz [127.0.0.1]) by antivir5.iol.cz (Postfix) with ESMTP id 76C3F66C006; Sat, 10 Mar 2007 11:55:46 +0100 (CET) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir5.iol.cz ([127.0.0.1]) by localhost (antivir5.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id J+2Iq0NYQkeR; Sat, 10 Mar 2007 11:55:46 +0100 (CET) Received: from smtp-out3.iol.cz (mta-out3 [192.168.30.28]) by antivir5.iol.cz (Postfix) with ESMTP id 50E2D66C005; Sat, 10 Mar 2007 11:55:46 +0100 (CET) Received: from [192.168.1.23] (unknown [88.103.7.126]) by smtp-out3.iol.cz (Postfix) with ESMTP id 10AA557EAF; Sat, 10 Mar 2007 11:55:43 +0100 (CET) From: Milan Knizek To: freebsd-questions@freebsd.org Date: Sat, 10 Mar 2007 11:55:22 +0100 User-Agent: KMail/1.9.5 References: <200703092025.34406.knizek@volny.cz> <20070309215608.GA6874@slackbox.xs4all.nl> In-Reply-To: <20070309215608.GA6874@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200703101155.22838.knizek@volny.cz> Cc: Roland Smith Subject: Re: Epson P2100 parallel port mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2007 10:55:48 -0000 On Friday 09 March 2007 22:56, Roland Smith wrote: > On Fri, Mar 09, 2007 at 08:25:34PM +0100, Milan Knizek wrote: > > A search on google revealed that it is possible to switch the port mode > > to "extended polling" by command "lptcontrol -e -d /dev/lpt0". Then, the > > printer worked normally. > > > > "ltpcontrol" supports only connected (and powered on) printers, which is > > usually not the case during boot, and it must be run with root > > privileges. > > > > My question: how do I set the default port mode to "extended polling" > > instead of "iterrupt driven" during the boot process? > > You have to add the setting to /boot/device.hints. See > http://www.xs4all.nl/~rsmith/freebsd/#parport Thank you, this helped. Actually, I have also found a note in gutenprint FAQ that while using USB=20 connection, it may help to print to /dev/unlpt0 instead of /dev/ulpt0. I ma= y=20 try later to confirm. Regards, =2D-=20 Milan Kn=ED=BEek http://milan-knizek.net/ e-mail knizek {na} volny {v} cz