A non-transitory computer-readable storage medium storing a program, the program causing an information processing apparatus to perform processing comprising:
- obtaining input information, an input space, and an input length;
- and
- generating print data in accordance with the obtained input information, the input space, and the input length such that an object based on the input information is repeatedly disposed on a print medium in a medium direction with a disposition space corresponding to the input space between the objects with each other, and a maximum number of the objects accommodated in an object area being an area on the print medium with an area length corresponding to the input length in the medium direction are printed in the object area.