a dot matrix printer comprises a head comprising a plurality of printing elements , a motor for moving the head , an oscillation source for supplying pulses for driving the motor , and varying means for varying the spacing between dots printed by the head at an integer ratio corresponding to the driving pulses put out from the oscillation source .