When a printing requirement is made, in the case where the internal temperature of a printer is equal to or lower than 40° C., print data is to be generated using a LUT for a normal state (S170), while in the case where the temperature is higher than 40° C., the user is allowed to select a subsequent operation via a high-temperature state selection screen (S120 and S130). When a print continuation button is pressed, print data is to be generated using a LUT for a high-temperature state (S180), while when a print standby button is pressed, a cooling command is to be sent out, and then print data is to be generated using the LUT for a normal state after waiting until the internal temperature becomes lower than 40° C. (S140 to S170).