Patent ID: 8446623

Claim:
An image forming apparatus capable of applying print settings to each of subsets, in a file, that contains multiple pages, the apparatus comprising: a first designation unit configured to designate a first subset in a case where one of the subsets in the file is replaced with the first subset; a setting unit configured to set a target subset which exists in the file to be replaced with the first subset; a replacement unit configured to apply a print setting of the target subset set by the setting unit to the first subset and replace the target subset with the first subset; a second designation unit configured to designate a second subset to be inserted in the file; a selection unit configured to select either a first applying method for applying a new created print setting to the second subset or a second applying method for applying an existing print setting of one of the subsets to the second subset; a subset selection unit configured to select, from the subsets that exist in the file, a subset having a print setting that is to be applied to the second subset, in a case where the second applying method is selected; an insertion unit configured (i) to, in a case where the second applying method is selected, insert the second subset to the file, wherein a print setting of the subset selected by the selection unit is applied to the second subset, and (ii) to, in a case where the first applying method is selected, insert the second subset to the file, wherein the new created print setting is applied to the second subset; and a generating unit configured to generate a print job comprising the first and second subsets.