References:

Download Qbasic and sample programs: here
(make sure you get both the .exe and the .hlp files)
 

Stepper motor resources:

Parallel port interfacing: