Patent ID: 7530656

Claim:
A liquid ejecting apparatus comprising: a movable head that is provided with a plurality of nozzles for ejecting a liquid; a transport unit for transporting a medium in a predetermined transporting direction; and a sensor for detecting lateral edges of said medium and that is movable with said head; wherein a position, in the transporting direction, of said sensor is on an upstream side of a nozzle located most upstream in said transporting direction, of among said plurality of nozzles; wherein said liquid ejecting apparatus generates print data expressing a print image, a width of said print image of said print data is wider than the width of said medium; wherein said print data is masked so as to leave a margin outside each of said lateral edges detected by said sensor; and wherein, in accordance with the masked print data, said liquid ejecting apparatus ejects said liquid in a region that is set wider than the width of said medium and does not eject said liquid beyond said margin.