Patent ID: 7717536

Claim:
A liquid ejecting apparatus comprising: a movable ejection head for ejecting a liquid; a feed mechanism for feeding a medium; and detecting means for detecting a position of an edge of said medium; wherein said liquid ejecting apparatus repeats an operation of detecting the position of said edge with said detecting means, an operation of feeding said medium with said feed mechanism, and an operation of ejecting the liquid onto said medium from said ejection head that is moving; wherein, in accordance with the position of said edge that has been detected, said liquid ejecting apparatus changes at least either one of a start position and an end position for ejecting the liquid from said ejection head that is moving; wherein, if the position of said edge was not detected, said liquid ejecting apparatus determines said start position or said end position based on a position of said edge that was detected in the past; and wherein, if the position of said edge was not detected, said liquid ejecting apparatus determines said start position or said end position based on a plurality of positions of said edge that were detected in the past.