From owner-freebsd-questions Mon May 7 14:30:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from viking.dhs.org (k9k203-3.kam.afb.lu.se [130.235.56.194]) by hub.freebsd.org (Postfix) with ESMTP id 0A49237B422 for ; Mon, 7 May 2001 14:30:23 -0700 (PDT) (envelope-from sverre@viking.dhs.org) Received: from gollum.viking.dhs.org (gollum [192.168.0.2]) by viking.dhs.org (Postfix) with ESMTP id BCA825AB8; Mon, 7 May 2001 23:33:24 +0200 (CEST) Received: by gollum.viking.dhs.org (Postfix, from userid 1001) id EE9338B; Mon, 7 May 2001 23:28:57 +0200 (CEST) Date: Mon, 7 May 2001 23:28:56 +0200 From: Sverre Valgeirsson To: User Taylorm Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ifhp dies with operation not allowed on parallel port Message-ID: <20010507232855.A82904@viking.dhs.org> Reply-To: e96sv@efd.lth.se Mail-Followup-To: Sverre Valgeirsson , User Taylorm , freebsd-questions@FreeBSD.ORG References: <20010506065622.257E4BA65@spyder.bytecraft.au.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010506065622.257E4BA65@spyder.bytecraft.au.com>; from taylorm@bytecraft.au.com on Sun, May 06, 2001 at 04:56:22PM +1000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, May 06, 2001 at 04:56:22PM +1000, User Taylorm wrote: > I'm trying to get my HP5MP compatible printer (parallel) to work with ifhp 3.3.10. > When I try to use ifhp I get this error: > # ifhp -Tmode=hp5mp,dev=/dev/lpt0,trace < hi.txt > ifhp 18:49:13.583 [36664] ifhp: fcntl fd 1 F_SETFL failed - Operation not supported by device > > I can print by using cat filename >/dev/lpt0, so the printer is alive and > the computer can communicate with it. > Any ideas? > Yes. I had the same problem a while back. By using ifhp-3.4.2 (I don't know if that's the latest version, but it was when I was in your shoes) the problem whent away. I installed it in an ugly way. In the file /usr/ports/print/ifhp i changed the line PORTVERSION= 3.3.10 to PORTVERSION= 3.4.2 did a make install, and all was well ;) It's not a recomended way of doing it, but it did work.. Good luck /sverre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message