A data processing apparatus that generates print data for printing, on a storage medium, information for identifying a plurality of contents stored in the storage medium, the apparatus comprising:
- title acquisition means for acquiring a character sequence denoting a title of each of the contents stored in the storage medium;
- title information separating means for separating the title of each of the contents into a plurality of pieces of unit information;
- information extraction means for comparing the pieces of unit information of the title of each of the contents to extract unit information common to different ones of the contents, the common unit information being extracted to form a visually recognizable hierarchy;
- and
- print data generation means for generating the print data, wherein
- a part of the character sequence denoting the title of each of the contents, the part being common to all of the contents, is printed in a first area on the storage medium, and
- the part of the character sequence, denoting the title of each of the contents other than the part of the character sequence common to all of the contents, is printed in a second area on the storage medium.