Patent ID: 7726641

Claim:
An image forming apparatus provided with a bookbinding mode for forming images on a plurality of sheets and binding the sheets having the images formed thereon into a book, comprising: a sheet stacking device that stacks a plurality of sheets as one set of sheet bundle; a gluing device that applies glue to an end face of the sheet bundle stacked on said sheet stacking device; a discharge device that discharges the glue-applied sheet bundle from the apparatus; and a control device that, after said sheet stacking device stacks all of the sheets to be bound as the one set of sheet bundle for a bookbinding-mode job, controls said gluing device to apply glue to the end face of the sheet bundle, and thereafter controls said discharge device to discharge the glue-applied sheet bundle, wherein in the case where the bookbinding-mode job is canceled before said sheet stacking device stacks all of the sheets to be bound as the one set of sheet bundle, said control device causes said gluing device to apply glue to the end face of a sheet bundle having been stacked by said sheet stacking device, and thereafter causes said discharge device to discharge the glue-applied sheet bundle.