Make sure the ground of the driver board is connected to the ground of the parallel port.