Hi!
I want to acces a parallel port (in Linux) from FPC 1.0.4 to control a connected LCD display. I did such things in DOS with TP/BP by accessing the hardware of the port directly, but this seems to be a little bit too close to the hardware in linux. Instead, I would like to access the parallel port through its device (i.e. /dev/lp0) and with some ioctrl() calls to access the handshake lines, too.
Should normally be no problem, but I have no idea where to start.
Does anybody have a sample code for that? Also, a easy to understand documentation of all parallel-port ioctrl() functions would be helpful.
mfg
Ing. Rainer Hantsch
