According to the present invention, when inserting and removing EPUs from
an image forming unit, a support leg of a casing can swing, is inclined,
and avoids easily a structural body on a path. Further, when putting the
EPUs outside the main body of the image forming apparatus, the support
leg is fixed to the casing. Therefore, the space for the support leg of
the casing of the image forming unit to insert through can be reduced.