Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 1996 11:00:58 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        Harlan.Stenn@pfcs.com (Harlan Stenn)
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Bidirectional parallel port?
Message-ID:  <199605130130.LAA17163@genesis.atrad.adelaide.edu.au>
In-Reply-To: <3845.831549794@mumps.pfcs.com> from "Harlan Stenn" at May 8, 96 06:03:14 am

next in thread | previous in thread | raw e-mail | index | archive | help
Harlan Stenn stands accused of saying:
> 
> I gather from the docs that the parallel port (/dev/lpt0) is output only.

The port _driver_ is output-only.

> However, I gather that the parallel port can be used for IP, which means
> that it can also be bidirectional.
>
> What's the story?

PC Parallel ports are weird. 8)
 
> I haven't been able to get bidirectional I/O to the port with a
> PostScript printer.

You can't, as it stands.  If you're up to probing ports for their type
(not easy), then you could hack on the driver to make it understand one or
more of the bidirectional standards, and thus talk to your PS printer.

Note that the Centronics interface was never designed for bidirectional
operation.

> H

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605130130.LAA17163>