Patent ID: 7717529

Claim:
An image recording apparatus comprising: a medium-convey belt which conveys a recording medium; a recording head having an ejection surface in which a plurality of ejection openings for ejecting liquid are provided and which faces a surface of the medium-convey belt; an image sensor being integral with the recording head and being movable together with the recording head, and including an image-pickup element, a light-entering surface which faces the surface of the medium-convey belt, and which is more distant from the surface of the medium-convey belt than the ejection surface of the recording head, and an image-forming optical system which guides, to the image-pickup element, a light entered through the light-entering surface and which is for forming, on the image-pickup element, an optical image of an object, a raising and lowering mechanism which positions the recording head at a selected one of a plurality of heights including a first height and a second height, wherein the first height is a height at which the ejection surface is distant from the surface of the medium-convey belt, and the optical image of an image, as the object, recorded on the surface of the medium-convey belt or recorded on the recording medium on the medium-convey belt is formed on the image-pickup element by the image-forming optical system, and wherein the second height is a height at which the ejection surface is more distant from the surface of the medium-convey belt than at the first height; and a controller configured to execute controls for operations of the image recording apparatus, wherein the controller includes: a mode indicating section configured to indicate one of a normal recording mode and an inspecting mode, wherein in the normal recording mode, a desired image is recorded on the recording medium conveyed on the medium-convey belt while in the inspecting mode, the recording head is inspected; a raising and lowering controlling section configured to control the raising and lowering mechanism such that the recording head is positioned at the second height when the mode indicating section indicates the normal recording mode, and such that the recording head is positioned at the first height when the mode indicating section indicates the inspecting mode; a head controlling section configured to control the recording head such that the recording head ejects the liquid; and an image-pickup controlling section configured to control the image sensor such that the image sensor picks up the image recorded on the medium-convey belt or recorded on the recording medium on the medium-convey belt when the recording head is positioned at the first height.