Maybe this link could help you, it's a complete tutorial about stepper.
http://www.cs.uiowa.edu/~jones/step/index.html
I have see another simple tutorial to determine what cable does what on your stepper but I could not find it.... I will search and let you know if I find it.
Good luck
CrazyRonny