Patent ID: 7728992

Claim:
An information processing apparatus which communicates with a printer provided with a media sensor capable of detecting a feature of paper, comprising: a memory unit configured to store a paper type determination table and a profile table, wherein the paper type determination table contains types of paper, each type corresponding to a combination of a paper group and a paper size, and wherein the profile table contains group profiles and paper profiles, each group profile being suited for types of paper corresponding to a paper group and each paper profile being suited for paper corresponding to a type of paper, wherein the paper type determination table includes a post card as the type of paper selected in the case that the paper group is a plain paper type and the paper size is a post card; an obtaining unit configured to obtain feature information on the feature of paper detected by the media sensor from the printer; a determination unit configured to determine a paper group based on the feature information obtained from the printer by said obtaining unit and a paper group determination table; a designation unit configured to designate a paper size; a setting unit configured to search the paper type determination table stored in said memory unit for a combination of the paper group determined by said determination unit and the paper size designated by said designation unit, and to set (a) one of the types of paper contained in the paper type determination table corresponding to the searched-for combination, if the combination is found, or (b) the paper group determined by said determination unit, if the combination is not found, wherein said setting unit sets the post card as the type of paper in the case that the determination unit determines the paper group to be the plain paper type and the designation unit designates the post card as the paper size, and wherein said setting unit sets plain paper type as the paper group in the case that the determination unite determines the paper group to be plain paper type and the designation unit designates a paper size which is not included in the paper type determination table; and a generation unit configured to generate print data, wherein if said setting unit sets the one type of paper, said generation unit selects one of the paper profiles contained in the profile table stored in said memory unit corresponding to the set type of paper and generates the print data using the selected paper profile, and wherein if said setting unit sets the paper group, said generation unit selects one of the group profiles contained in the profile table stored in said memory unit corresponding to the set paper group and generates the print data using the selected group profile.