To provide a printer, a control method, and a program capable of suppressing variation in a movement amount after stop.SOLUTION: In a printer, a
thermal head performs printing on a medium. The conveyance motor is a
DC motor. The platen roller is driven by rotation of the conveyance motor, and conveys the medium while sandwiching the medium between the platen roller and the
thermal head. The electronic
governor circuit supplies a current to the conveyance motor while the ON
signal is input, and stops the supply of power to the conveyance motor while the OFF
signal is input. The CPU outputs an ON
signal or an OFF signal to the electronic
governor circuit. A CPU outputs an ON signal to an electronic governing circuit to rotate a carrying motor at a first speed V1 when carrying media. When stopping the conveyance of the media, the CPU executes deceleration
processing for alternately switching output of an ON signal and output of an OFF signal so that the conveyance motor rotates at the second speed V2. After continuing the deceleration
processing for a predetermined period, the CPU outputs an OFF signal to the electronic
governor circuit.SELECTED DRAWING: Figure 8