Patent ID: 7509067

Claim:
An image forming apparatus comprising: a plurality of paper cassettes each of which can contain different sizes of paper; an input unit configured to input a document; a detection unit configured to detect a paper size of the document; a control unit configured to execute a set function, of an auto paper selection function for automatically selecting a paper size corresponding to the paper size detected by the detection unit from the plurality of paper cassettes, and an auto magnification selection function for automatically magnifying an image of the document so as to correspond to a defined paper size; an image forming unit configured to form an image on a recording paper based on the document input by the input unit; and an initial state setting unit configured to set the auto magnification selection function in an initial state of the image forming apparatus when there is only one size of paper to be selected in the image forming apparatus, and to set the auto paper selection function in an initial state of the image forming apparatus when there are a plurality of sizes of paper to be selected in the image forming apparatus.