Message-ID: <3EEA0ACD.5010304@pl.jaring.my> Date: Sat, 14 Jun 2003 01:33:01 +0800 From: "K. H. Man" User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: how to access print port References: <20030613080225 DOT 58485 DOT qmail AT web41504 DOT mail DOT yahoo DOT com> In-Reply-To: <20030613080225.58485.qmail@web41504.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hi Tony, Tony Zhou wrote: > I want to use parallel port(print port) on PC, want to > write/read byte to/from it. I have installed DJGPP, > which library or function should use to open the ort > and read/write byte via it. Where can I get it? I use inportb() and outportb() in pc.h. Should work for Win9*; I could implement ECP stuff with it. For the details, check out the Parallel Port Central page(s). Everything you'll need is there. HTH, -- Cheers, Kein-Hong Man (esq.) --------------------------------------------------------- "Verify range to target, one ping only..." - Marko Ramius