controlling brushless motor from a printer