Patent ID: 7364254

Claim:
An inkjet printer comprising: a recording head which comprises a plurality of jet openings for jetting ink; a sensor for detecting a jet opening causing jetting failure among the plurality of jet openings of the recording head; a cleaning mechanism for cleaning the recording head; and a control section for making the sensor detect the jet opening causing jetting failure by making the recording head perform simulated jetting from each jet opening, for performing an examination process to count number of the jet opening causing jetting failure, for performing a cleaning process to make the cleaning mechanism perform a cleaning operation after the examination process is performed, for performing a second examination process which is identical to the examination process after the cleaning process is performed, for performing a judging process to compare the number of the jet opening causing jetting failure counted in the second examination process with the number of the jet opening causing jetting failure counted in the first examination process after the second examination process is performed, and for determining a cleaning mode of the cleaning process which is performed after the judging process according to a result of the judging process.