Patent ID: 8240799

Claim:
An inkjet printing apparatus including an encoder which outputs a signal representing a position of a printhead that reciprocally moves in a predetermined direction, a sensor which detects a temperature of the printhead, and a converter which analog-digital converts a detection signal detected by the sensor, comprising: a first generation unit configured to generate, based on the signal outputted from the encoder, a control signal to control ink discharge from the printhead; a second generation unit configured to generate urgency of analog-digital conversion of the detection signal in accordance with the position represented by the signal outputted from the encoder; a first determination unit configured to determine based on the urgency whether to cause the converter to perform analog-digital conversion; a stop unit configured to stop control signal generation by said first generation unit if said first determination unit has determined to cause the converter to perform analog-digital conversion; a second determination unit configured to determine whether a printing operation by the printhead is being performed; an analog-digital conversion control unit configured to control to cause the converter to perform analog-digital conversion of the detection signal if said second determination unit has determined that the printing operation by the printhead is not being performed, if said second determination unit has determined that the printing operation by the printhead is being performed, control to cause the converter to perform analog-digital conversion of the detection signal after an end of the printing operation by the printhead; a third determination unit configured to determine whether the analog-digital conversion has ended; and a resumption unit configured to immediately resume control signal generation stopped by said stop unit if said third determination unit has determined that the analog-digital conversion has ended, if said third determination unit has determined that the analog-digital conversion has not ended, resume control signal generation stopped by said stop unit after an end of the analog-digital conversion.