Patent ID: 8616674

Claim:
A printing apparatus comprising: at least one printing material container which includes two first terminals, two second terminals, an electric device connected to the two first terminals, and a wiring connecting the two second terminals to each other, and which is attachable and detachable to the printing apparatus; a first detection terminal and a second detection terminal which contact with the two first terminals, respectively, under the state where the at least one printing material container is attached to the printing apparatus; a third detection terminal and a fourth detection terminal which contact with the two second terminals, respectively, under the state where the at least one printing material container is attached to the printing apparatus; a first detection unit which is connected to the second detection terminal, and which detects contacts between the first and second detection terminals and the respective two first terminals by detecting a first detection signal, which is output from the first detection terminal, via a first attachment detection path including the electric device and the two first terminals; and a second detection unit which is connected to the fourth detection terminal, and which detects contacts between the third and fourth detection terminals and the respective two second terminals by detecting a second detection signal, which is output from the third detection terminal, via a second attachment detection path including the wiring and the two second terminals, wherein the first detection unit detects a short circuit occurring between the second detection terminal and the third detection terminal on the basis of the second detection signal, and the second detection unit detects a short circuit occurring between the first detection terminal and the fourth detection terminal on the basis of the first detection signal.