552 Subj : Re: Parallel Port programming To : borland.public.cpp.borlandcpp From : Jeff Baker Date : Tue May 25 2004 01:05 pm Would it be for DOS or Windows? What mode are you planning on using (SPP,EPP,ECP)? DOS can use inp() and outp() for LPT communication. It's also very well documented in several places but this one may be the best; http://www.beyondlogic.org/ Windows has a completely different way of getting it done and is very OS version dependant. Most Windows OS's don't want to let go of the LPT port for anything other then printer output. Craig Peacock touches on this but real in-depth information (in my experience) can only be obtained from a few books. One of the best is "Parallel Port Complete". Look for it on Amazon, it's cheap and it's a great source of information and example code. Hope this helps, - Jeff Baker "Johny Walker" wrote in message news:40b0a2fa@newsgroups.borland.com... > Hello everybody, > > Could you please tell me how to read and send data to the parallel ports ? > Actually I want to control the parallel port using MATLAB but I couldn't > find any information related with that. Therefore first I want to write it > as C code and then maybe modify it for the MATLAB. Ofcourse better ideas > will be appreciated. > > Regards > > Johny > > . 0