In recent years, there has been offered a bookbinding apparatus with a gluing device wherein glue is applied for bookbinding at a prescribed position on a sheet on which an image has been recorded by a main body of an image forming apparatus such as a copying machine, a printer and a hybrid machine including the copying machine and printer.