Check your Mach3 or LinuxCNC settings to see if the Step and Direction signals are configured for Active High. If not, change and save the settings, restart the software, and see if the results are the same or no longer have the problem even if the motors go in the wrong direction. If the problem is cured, then reverse the wiring of one coil in any motor that goes the wrong way. This will reverse the motor direction. You will need to remap the jog key on the keyboard to match the motor direction.
The driver board could be getting a low logic voltage from the parallel port. If you can get to a place to measure it with a voltmeter, it should be low = less than 0.5v and high= greater than 5.0v. The parallel port cable needs to be attached to the C10 board to measure this. If your parallel port only puts out 3.5v or so, then you need a board that puts out the full 5v logic level. Some of the newer motor drivers can work with the lower voltage logic levels.