Controlling gadgets with the parallel port
The EE Compendium
has a project with information about
Controlling the PC Parallel Port
.