Printing can continue while replacing ink cartridges. The printer 1 detects and reports an ink supply disabled state in which ink cannot be supplied from ink cartridges 9a to 9d. If a cover-open state, in which the cover 8a that opens and closes the cartridge holder 8 is open, is detected and the ink supply disabled state is also detected while printing is in progress, printing is permitted to continue using ink in buffer tanks (pressure control chambers 13a to 13d) while displaying a warning instead of going to an error state. Interruptions to printing due to a cover-open error while replacing ink cartridges 9a to 9d can therefore be avoided.