Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!emory!dixie.com!jgd From: jgd@Dixie.Com (John G. DeArmond) Newsgroups: comp.periphs.printers Subject: Re: reading from a parallel port Message-ID: <9422@rsiatl.Dixie.Com> Date: 9 Apr 91 16:26:43 GMT References: <1991Apr8.182612.18077@ux1.cso.uiuc.edu> Organization: Dixie Communications Services Lines: 24 djk@ux1.cso.uiuc.edu (Doug Kelly) writes: >Hello, Im trying to write a program to interface to my Epson ES-300C color >scanner. It uses a bi-directional parallel interface, and i cant figure out >how to 'read' from a parallel port. Im using borland turbo c, any help would >be appreciated. Thanks I just posted in alt.sources some library code for Boreland C that can be used to drive a printer port bi-directionaly. This code is fast and should do what you need. Note that this library is NOT interrupt driven. For the original application, we needed the speed of polled mode. An ISR should be trivial to use Boreland's ISR routines. If there is interest, I'll post it here too. John -- John De Armond, WD4OQC | "Purveyors of speed to the Trade" (tm) Rapid Deployment System, Inc. | Home of the Nidgets (tm) Marietta, Ga | jgd@dixie.com |"Politically InCorrect.. And damn proud of it