Patent ID: 8368926

Claim:
An information processing apparatus comprising: a storing unit configured to store, in a storage device, print setting information including a hierarchical structure of a document and a print attribute associated with a hierarchical level of the document; and a setting unit configured to, when the print attribute in the print setting information stored in the storage device is applied to a selected document, compare a hierarchical structure of the selected document and the hierarchical structure of the print setting information and to set a print attribute to an appropriate hierarchical level of the selected document based on a comparison result and the print attribute of the print setting information, wherein when a number of hierarchical structures of the selected document is greater than a number of hierarchical structures of the print setting information as the comparison result, the setting unit sets a same print attribute that is set to the hierarchical structure on an upper structure level of the selected document, to an excess of the number of hierarchical structures.