Try something for me.
Put 0v to the dir pin and it should spin 1 way.
Put 5v to the dir pin and it will run the opposite way.
That's how true TTL pport IO works.
It either turns voltage on (high) or it turns it off (low).
Thats it.
Pport has always been below 5v which is why bobs need a 5v external supply to run their internal logics.
Many just have a USB connector to take the power from USB pc port for a simple fix.
The ones that have the extra 12v input are so that 1. you can control a spindle as well and 2. use proximity sensors at a more reliable voltage.