A method for controlling a media processing apparatus configured to communicate with a control apparatus, the media processing apparatus including a data writing unit that writes first write data and second write data to a medium, the first write data and second write data being received from the control apparatus, and a printing unit that performs printing on a label surface of the medium, the method comprising:
- receiving the first write data from the control apparatus;
- writing the first write data to the medium by the data writing unit;
- receiving the second write data from the control apparatus after the first write data is received;
- writing the second data to the medium by the data writing unit;
- and
- after the second write data is received, receiving, from the control apparatus, a medium close command that commands close processing on the medium,
- terminating write processing by the data writing unit in response to the received medium close command, and
- performing printing on the label surface by the printing unit.