A non-transitory computer readable storage medium storing program for causing a computer to implement a control method for an image forming apparatus having a sheet holding unit configured to hold a sheet, the control method comprising:
- obtaining a width of the sheet held on said sheet holding unit;
- receiving, from a user, size information indicating a size of a sheet;
- storing at least the received size information;
- and
- selecting a size of the sheet held by said sheet holding unit based on the obtained width and the stored size information.