Patent ID: 8317287

Claim:
An inkjet printing apparatus comprising: a print head for ejecting ink; a scanning unit configured to cause the print head to move back and forth in a first direction to perform scanning; a feeding unit configured to feed a print medium through the inkjet printing apparatus in a second direction that crosses the first direction, wherein the feeding unit can feed several types of recording media having different widths; a print control unit configured to drive the print head based on image data to form an image on the print medium; a first ink receiving unit formed at a first side which is outside of the print medium, wherein the first ink receiving unit is adapted to receive an ink ejected from the print head at a time of a recovery operation; a plurality of second ink receiving positions provided in a region which can be scanned by the scanning unit, wherein the second ink receiving positions are adapted to receive an ink ejected from the print head at a time of a recovery operation; an acquisition unit configured to acquire a size of the print medium and a width of the image data in the first direction; and a decision unit configured to select, based on the size of the print medium acquired by the acquisition unit, one of the plurality of second ink receiving positions as a second ink receiving unit, the second ink receiving unit being located on the outside of the print medium, and to decide a first number of ejections to be ejected from the print head to the first ink receiving unit and a second number of ejections to be ejected from the print head to the second ink receiving unit based on the size of the print medium and the width of the image data acquired by the acquisition unit.