Patent ID: 7484730

Claim:
An image forming apparatus having a configuration in which an original reading portion is disposed in an upper portion of an apparatus main body, a paper-feed portion is disposed in a lower portion of the apparatus main body, a printing portion is disposed between the original reading portion and the paper-feed portion, a paper post-processing portion is disposed in a space portion of the apparatus main body formed by the original reading portion, the printing portion, and the paper-feed portion, and a discharge tray portion that can be extended and retracted, to which recording paper after post-processing is discharged, is disposed on a downstream side of the paper post-processing portion; and a single sensor that determines whether the discharge tray portion is extended/retracted and whether recording paper is located on the discharge tray portion, wherein a control portion performs print processing after confirming an extended/retracted state of the discharge tray portion, based on the sensor, a type of recording paper that is to be used and presence/absence of a request for post-processing by the paper post- processing portion, when a print request has been made.