Hi, Emtffkev
Not all printer port's use/support all the Gnd. pin's 18-25, So try the others Gnd pin's also.
Your axis dir pins need 0 for one dir and 5 Volts for the other dir.
Some printer port's only putout 3 - 3.5 volts and don't work very well if at all.
Hope this Helps, Chip