The invention seeks to improve the accuracy of management of remaining
amount of ink in a printer in which remaining amount of ink is managed
based upon amount of ink consumed. If a print job is sent to a printer,
first the printer is requested for status information that includes a
warning concerning remaining amount of ink. When the status information
is received from the printer, it is determined whether the status
information indicates the possibility that ink has been replaced. If the
information indicates such possibility, then the user is prompted to
enter the nature of the ink replacement. If the user makes an entry to
the effect that the ink replacement was performed, then the current
status information of the printer is acquired again and discriminated. If
possibility that ink has been replaced is indicated in this status
information as well, then the printer is sent a command for initializing
the information relating to remaining amount of ink.