Patent ID: 8210642

Claim:
An inkjet recording apparatus comprising: a conveying section having a conveying surface that is configured to convey a recording medium in a conveying direction; an inkjet head having a discharge surface that has a discharge port and that opposes the conveying surface, the discharge port configured to discharge ink; a maintenance unit configured to maintain the inkjet head; a maintenance-unit moving mechanism configured to move the maintenance unit between a maintenance position, where the maintenance unit opposes the discharge surface, and a withdrawal position, where the maintenance unit does not oppose the discharge surface; an image sensor capable of picking up an image on a surface of the recording medium conveyed by the conveying section or on the conveying surface, the image sensor having a reading surface that opposes the conveying surface; a cleaning member secured to the maintenance unit and configured to clean the reading surface; an image-sensor moving mechanism configured to move the image sensor between an image pickup position, where the image sensor is capable of picking up the image on the surface of the recording medium or on the conveying surface, and a cleaning position, where the cleaning member is capable of cleaning the reading surface, wherein the image-sensor moving mechanism is configured to rotate the image sensor; and a controller that controls the image-sensor moving mechanism so that the image sensor moves to the cleaning position, and controls the maintenance-unit moving mechanism so that the cleaning member cleans the reading surface as a result of moving the maintenance unit.