Patent attributes
A printer includes a first transporting belt that transports a print medium and a second transporting belt that receives the print medium from the first transporting belt and further transports the print medium. A liquid ejection head ejects liquid according to a liquid-ejection timing signal to the print medium transported by the first transporting belt and the second transporting belt. A signal generator outputs the liquid-ejection timing signal according to a first signal and a second signal that correspond to the travel of the first and second transporting belts, respectively. When the phase difference between the first and second signals has a predetermined threshold value or less, the signal generator switches from outputting the liquid-ejection timing signal according to the first signal to outputting the liquid-ejection timing signal according to the second signal.