1. A non-transitory computer-readable storage medium with a program stored thereon and executed by a computer for processing print data, the program instructing the computer to perform a method, the method comprising: extracting characters to be printed and coordinate information of the characters from the print data; reorganizing the characters extracted at the extracting using the coordinate information of the characters; grouping the reorganized characters into corresponding horizontal or vertical lines using the coordinate information of the characters; first concatenating the grouped characters into a plurality of character strings within the corresponding horizontal or vertical lines; and second concatenating the plurality of character strings in the corresponding horizontal or vertical lines into a single character string in one horizontal or vertical line.