A non-transitory computer-readable storage medium storing a program for causing a computer to execute a control method for an information processing apparatus that causes a printing apparatus to execute mixed-sheet printing, in which printing of a plurality of pages is performed and a predetermined print setting is different among the pages,
- the control method comprising:
- a step of obtaining intermediate data including the predetermined print setting of each of the plurality of pages;
- a step of determining whether or not the printing apparatus has a capability of the mixed-sheet printing;
- a generating step of generating print data for causing the printing apparatus to execute the mixed-sheet printing based on the intermediate data;
- and
- a step of transmitting the print data generated in the generating step to the printing apparatus, and
- wherein, in a case that the printing apparatus does not have the capability of the mixed-sheet printing, the generating step obtains the predetermined print settings included in the intermediate data in order of the pages to be printed, and generates a plurality of pieces of print data based on a plurality of pieces of divided intermediate data obtained by dividing the intermediate data based on differences among the predetermined print settings of the plurality of pages.