A printer includes a transport path, a processing unit, a plurality of transport
abnormality detection, a transport page state judgment unit, and a recovery printing
control unit. A paper is continuously transported along the transport path. The
transport path is divided into a plurality of transport sections in the middle
of the processing unit. The transport abnormality detection units detect transport
abnormality of the paper in the transport sections, respectively. The transport
page state judgment unit judges state of the paper in each of transport sections.
When one of the transport abnormality detection units detects the transport abnormality
of the paper in one of the transport sections, the recovery printing control unit
sets content of a transported page of the paper present in the one of the transport
sections and content of a page following to the transported page as contents to
be printed thereafter, and resumes printing.