Patent ID: 8881653

Claim:
A printing device comprising: a head unit that includes a print head that prints on a sheet and a sensor that detects a presence or an absence of the sheet; a drive unit that causes the head unit to move to a width direction that is orthogonal to a feeding direction of the sheet; and a control unit that controls a position of the print head to the sheet by controlling the drive unit based on a detection result of the sensor, wherein the control unit executes, at least in a state which the sheet is loaded to a position of the sensor, a first control that obtains the detection result of the sensor wherein the detection result is preliminary obtained by moving the head unit at a plurality of first intervals of an equal distance in a specific direction from a reference position until a change from the presence of the sheet to the absence of the sheet or a change from the absence of the sheet to the presence of the sheet is detected and a second control that, after the first control obtains the detection result, causes the head unit to be moved in a direction opposite to the specific direction to a location corresponding to the position where the head unit was located at the interval of the plurality of first intervals before the detection result of the first control was obtained and causes the head unit to be moved at a plurality of second intervals of an equal distance which are shorter than the first intervals until the control unit recognizes the detection result corresponding to a change from the presence of the sheet to the absence of the sheet or a change from the absence of the sheet to the presence of the sheet is detected.