Patent ID: 8702194

Claim:
An inkjet printing apparatus capable of performing printing by ejecting ink onto a print medium from a plurality of ejection ports arranged along an alignment direction crossing a conveyance direction of the print medium, while conveying the print medium, so as to enable printing across the entire area of the print medium, capable of performing a margined printing that performs printing while forming a margin on an edge of the print medium, said edge being an end of a path in which the ejection ports are aligned, and capable of performing a marginless printing that performs printing without providing a margin on said edge of the print medium, said edge being an end of the path in which the ejection ports are aligned, the apparatus comprising: a print mode setting unit that sets a printing mode, for when printing is performed, from among a margined print mode that performs printing by said margined printing and a marginless print mode that performs printing by said marginless printing; a margined test pattern end detection unit that detects a position of both ends of a margined test pattern printed by the ejection of ink from ejection ports used when performing printing in said margined printing mode; a marginless test pattern end detection unit that detects a position of both ends of a marginless test pattern printed by the ejection of ink from ejection ports used when performing printing in said marginless printing mode; a margined printing ejection state detection unit that performs, from said margined test pattern, the detection of an ink ejection state, with respect to ejection ports that perform printing at a region between both ends of said margined test pattern detected by said margined test pattern end detection unit, and that ejects the ink that forms pixels on said margined test pattern; and a marginless printing ejection state detection unit that performs, from said marginless test pattern, the detection of the ink ejection state, with respect to ejection ports that perform printing at a region between both ends of said marginless test pattern detected by said marginless test pattern end detection unit, and that ejects the ink that forms pixels on said marginless test pattern.