LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to access to the parallell port with C?? (https://www.linuxquestions.org/questions/programming-9/how-to-access-to-the-parallell-port-with-c-165387/)

xyzt 04-02-2004 10:54 AM

how to access to the parallell port with C??
 
hello,
i wanna learn how to send bytes to the parallell port.i mean that in Turbo C++ there is a function: outport()
i wrote some other forums but the answer were in asm..
i need codes in C/C++..
is the solution ioctl.h ??
may u help me....
thanx.....

melinda_sayang 04-02-2004 01:35 PM

http://www.advancedlinuxprogramming.com

Believe me.

Hko 04-02-2004 02:54 PM

Try opening /dev/lp0 and writing a byte to it.


All times are GMT -5. The time now is 11:39 AM.