Patent ID: 8687227

Claim:
An image forming apparatus, comprising: a processor; and a memory storing computer-readable instructions therein, the computer-readable instructions, when executed by the processor, to cause the processor to: allocate, in a plurality of arrangement sections in a predetermined layout, a plurality of pieces of index image data respectively representing a plurality of files and a plurality of character strings respectively relating to the plurality of files, the plurality of arrangement sections being arranged in row and column directions in a matrix in the predetermined layout; modify the predetermined layout by expanding a first arrangement section, in which a particular character string is to be allocated, in the column direction when a length of the particular character string to be allocated is longer than a predetermined length, wherein the allocating comprises allocating the particular character string in a plurality of lines in the expanded first arrangement section; and print out the plurality of pieces of index image data and the character strings allocated in the modified predetermined layout.