Patent ID: 9333763
Filing Date: 2016-05-10
CPC Classification: B41J

Claim Text:
1. An inkjet printer, comprising: a conveyor configured to convey a sheet in a conveying direction; a carriage configured to be movable in a scanning direction which intersects with the conveying direction, the carriage mounting a printing head configured to eject ink drops on the sheet conveyed by the conveyor and a sensor configured to output a detection signal based on absence/presence of the sheet at a position facing the sensor; and a controller, the controller being configured to execute: an obtaining process in which the controller obtains image data representing an image to be printed on the sheet; an ejection timing calculation process in which the controller calculates ejection timings to cause the printing head to eject the ink drops to print the image represented by the image data on the sheet located at a reference position which is a predetermined position in the scanning direction; a margin calculation process in which the controller calculates, based on the image data, an estimate margin value which is used to determine a margin width at an end, in the scanning direction, of the sheet; a detection process in which the controller detects end positions, in the scanning direction, of the sheet based on the detection signal during movement of the carriage in the scanning direction in response to the margin width estimated based on the estimate margin value being less than a threshold width; and a printing process in which the controller causes the printing head to ejects the ink drops with moving the carriage in the scanning direction, wherein, in the printing process: the controller causes the printing head to eject the ink drops in accordance with the ejection timings, which the controller calculates in the ejection timing calculation process, in response to the margin width being equal to or greater than the threshold width; and the controller causes the printing head to eject the ink drops in accordance with compensated ejection timings, which are compensated by the controller based on the end positions detected by the controller in the detection process, in response to the margin width being less than the threshold width.