Better solution is to make stepper driver with L297 & L298. This chips are very popular and are not so expensive. They can be connected with your PC with only 2 or 3 wires and are controlled with Step/Dir signals. Show us your machine and your driver

Greetings !
(sorry for my english

