Patent ID: 8622506

Claim:
A printing device comprising: a printing material container that includes a first short circuit detection terminal, a second short circuit detection terminal, a first attachment detection terminal and a second attachment detection terminal; a high voltage power supply that applies a high voltage to the first attachment detection terminal; a short circuit detector that detects a short circuit between at least one of the first and second short circuit detection terminals and at least one of the first and second attachment detection terminals on the basis of a comparison between a voltage of a detection node and a reference voltage; a high voltage application controller that blocks supply of the high voltage from the high voltage power supply when the short circuit detector detects the short circuit; a resistor element that is arranged between the high voltage power supply and the first attachment detection terminal; and an electrostatic capacitor element that is arranged between the detection node of the short circuit detector and a low-potential-side power supply node, wherein when the short circuit detector detects the short circuit, a period from the time when the high voltage is applied to the first attachment detection terminal to the time when the voltage of the detection node reaches a predetermined voltage is set on the basis of a resistance of the resistor element and a capacitance of the electrostatic capacitor element.