There are quite a few external devices that you can use with Mach such as the SmoothStepper, DSPMC, Galil etc and they use either USB or Ethernet to connect rather than the parallel port.
Depending on your hardware you may be able to utelise the chargepump in Mach which should only allow movement when Mach is running.
Hood