An image forming apparatus including: a stapling device which applies
staple processing to a portion assuming a trailing end of a sheet with
respect to a transport direction of the sheet; a first punch device which
applies punch processing to a portion assuming a leading end of the sheet
in the transport direction of the sheet; and a second punch device which
applies the punch processing to the portion assuming the trailing end of
the sheet in the transport direction of the sheet, in which a setting of
both a staple mode for performing the staple processing by the stapling
device and a first punch mode for performing the punch processing by the
first punch device is inhibited, and a setting of both the staple mode
and a second punch mode for performing the punch processing by the second
punch device is allowed.