A printer for printing on roll paper (RP) formed by winding continuous paper (CP) of printing sheets (PS) sectioned at predetermined intervals, comprising: a thermal head configured to print on the printing sheet (PS); a platen roller provided to face the thermal head , the platen roller being configured to nip the printing sheet (PS) between the thermal head and the platen roller and feed the printing sheet (PS); a detection unit provided upstream of the platen roller in a feeding direction of the printing sheets (PS), the detection unit being configured to detect a detection mark (M, M') which is provided at a predetermined position of the printing sheet (PS) and which is for detecting a boundary between the printing sheets (PS); and a control unit (MC); characterized in that the control unit (MC) is configured to feed the printing sheets (PS), perform printing on the printing sheet (PS) and stop the printing sheets (PS) such that an upstream side of a boundary (SB) between the printing sheets (PS) in the feeding direction is located at a nipping position (NA) where the printing sheet (PS) is nipped by the thermal head and the platen roller after the printing sheets (PS are fed if the detection mark (M, M') is detected by the detection unit , the control unit (MC) is configured to feed the last printing sheet (PS), perform printing on the last printing sheet (PS) and stop the last printing sheet (PS) such that a downstream side of the terminal end (SE) of the last printing sheet (PS) in the feeding direction is located at the nipping position (NA) where the printing sheet (PS) is nipped by the thermal head and the platen roller after the printing sheets (PS) are fed if the terminal end (SE) of the last printing sheet (PS) in the roll paper (RP) is detected by the detection a thermal head configured to print on the printing sheet (PS); a platen roller provided to face the thermal head , the platen roller being configured to nip the printing sheet (PS) between the thermal head and the platen roller and feed the printing sheet (PS); a detection unit provided upstream of the platen roller in a feeding direction of the printing sheets (PS), the detection unit being configured to detect a detection mark (M, M') which is provided at a predetermined position of the printing sheet (PS) and which is for detecting a boundary between the printing sheets (PS); and a control unit (MC); characterized in that the control unit (MC) is configured to feed the printing sheets (PS), perform printing on the printing sheet (PS) and stop the printing sheets (PS) such that an upstream side of a boundary (SB) between the printing sheets (PS) in the feeding direction is located at a nipping position (NA) where the printing sheet (PS) is nipped by the thermal head and the platen roller after the printing sheets (PS are fed if the detection mark (M, M') is detected by the detection unit , the control unit (MC) is configured to feed the last printing sheet (PS), perform printing on the last printing sheet (PS) and stop the last printing sheet (PS) such that a downstream side of the terminal end (SE) of the last printing sheet (PS) in the feeding direction is located at the nipping position (NA) where the printing sheet (PS) is nipped by the thermal head and the platen roller after the printing sheets (PS) are fed if the terminal end (SE) of the last printing sheet (PS) in the roll paper (RP) is detected by the detection <EOS>