Newsgroups: comp.robotics
Path: brunix!sgiblab!swrinde!emory!nntp.msstate.edu!olivea!uunet!hobbes!earth.armory.com!rstevew
From: rstevew@armory.com (Richard Steven Walz)
Subject: Re: C and the printer port?
Organization: The Armory
Date: Fri, 22 Jul 1994 11:26:34 GMT
Message-ID: <CtCAGC.Cx2@armory.com>
References: <1994Jul17.153810.18312@news.vanderbilt.edu> <30gok2$h5m@search01.news.aol.com>
Sender: news@armory.com (Usenet News)
Nntp-Posting-Host: deeptht.armory.com
Lines: 15

In article <30gok2$h5m@search01.news.aol.com>, Hgxing <hgxing@aol.com> wrote:
>In article <1994Jul17.153810.18312@news.vanderbilt.edu>,
>HEAGYWS@ctrvax.Vanderbilt.Edu () writes:
>
>> I am currently using QuickBasic and the OUT 888,xx command to control
>> the parallel printer port of a PC.  
>
>From C, you use the "outport(xxx, xx)" command.  Get an IBM PC interface
>book for exact addresses and bit assignments.  You actually have on the
>order of 16 output bits available (and maybe 7 input bits).
----------------------------------
This library call and syntax will vary with the brand of C you have. I wish
it were standard, but there are enough standards for everyone, it seems!;)
-Steve Walz   rstevew@armory.com

