Serial input via parallel port
I really wouldn't be transferring your data this way as you head into a world of pain. It is much better to use a USB serial IC like the excellent ones made by FTDI . In simple terms, your TTL data is transferred over USB. Thanks to the FTDI drivers, the data is displayed as a virtual serial port that your program can read in the usual way.
Hope it helps.
Yang
a source to share
It is not clear from your question if you are looking for a software or hardware solution. An analog external serial converter (hardware) provides a simple solution.
If you're looking for a software-only solution, you want to do " bit banging ". Unfortunately, this requires precise timing, which can be extremely difficult in managed code. Such a program is typically embedded in a lower-level language such as assembly or C, where there is direct access to the hardware. Here is another article specifically for using the paralell port for serial communication.
a source to share