Patent ID: 8490963

Claim:
An image forming apparatus for feeding a recording sheet from one of a plurality of sheet storage units and forming an image on the fed recording sheet, comprising: a first designation unit configured to designate vertical and lateral lengths of a recording sheet for a sheet storage unit included in the plurality of sheet storage units; a second designation unit configured to designate a predetermined size without designating vertical and lateral lengths of a recording sheet for a sheet storage unit included in the plurality of sheet storage units; and a determining unit configured to determine whether there is a sheet storage unit for which vertical and lateral lengths corresponding to vertical and lateral lengths of a recording sheet on which the image is to be formed are designated; and a sheet feed control unit configured to control to feed, in a case where the determining unit determines that there is the sheet storage unit for which vertical and lateral lengths corresponding to vertical and lateral lengths of a recording sheet on which the image is to be formed are designated by the first designating unit, a recording sheet from the sheet storage unit for which the vertical and the lateral lengths are designated by the first desingnating unit, and to control to feed, in a case where the determining unit determines that there is not a sheet storage unit for which the vertical and lateral lengths corresponding to the vertical and lateral lengths of a recording sheet on which the image is to be formed are designated, a recording sheet from a sheet storage unit for which the predetermined size is designated by the second designating unit.