It could be that you need to configure your parallel port in the BIOS to support Input and Output
You may also need to correctly activate the parallel port lines and
select the correct ones for input and output respectively depending on
the 'mode' the parallel port is in.
Check
here for lots of good data on using parallel ports for I/O
Some warnings though: -
unlike specialised hardware the status of the parallel port lines during power up will likely be undetermined!!
Don't forget other programs might just decide to have a go at the parallel port as well.
Good luck