If an ink amount supplied from an ink tank to an ejection head reaches a predetermined limit value, ink ejection is not permitted. If initialization data are input and the input initialization data are appropriate, a count value of the ink amount is initialized, and the ink ejection is started again. In addition, the initialization data which is input once and determined to be appropriate is determined to be inappropriate thereafter. By doing so, although ink of which the property and state are inappropriate is used for the refilling, since appropriate initialization data may not be input, it is possible to avoid the inappropriate ink from being used for the refilling.