A method for controlling a printing apparatus including a main body including a printing section, a main controller, and a first switching circuit configured to connect or disconnect communication;
- a first cassette including a first controller configured to communicate with the main controller via the first switching circuit;
- and a second cassette including a second controller configured to communicate with the main controller via the first switching circuit, the method comprising:
- by the main controller,
- performing first connection processing of transmitting, to the first controller, a first connection command that provides an instruction for establishing communication with the main controller, and
- performing second connection processing of transmitting, to the second controller, a second connection command that provides an instruction for establishing communication with the main controller, and
- by the main controller, when receiving, from the first controller, first response information indicating establishment of communication with the main controller and not receiving, from the second controller, second response information indicating establishment of communication with the main controller,
- performing first reconnection processing of causing the first switching circuit to disconnect communication and then causing the first switching circuit to connect communication, and
- after performing the first reconnection processing, performing the first connection processing again.