A user's operation burden can be reduced by giving the data recording command and the label printing command by the use of only an interface for writing data to a recording medium. A label printer includes an extraction portion extracting label information from a recording medium image file which stores data to be written to a recording surface of a recording medium and label information to be printed on a label surface of the recording medium. A label information printing portion prints the extracted label information on the label surface of the recording medium. A file writing portion writes the recording medium image file to the recording surface of the recording medium.