Patent ID: 8382104

Claim:
An image forming apparatus comprising: a conveying unit adapted to convey a sheet; a reference member, arranged in parallel to a conveyance direction of the sheet by said conveying unit, to which one of side edges of the sheet contacts; a feeding unit adapted to feed the sheet diagonally with respect to the conveyance direction of the sheet such that the one of side edges of the sheet conveyed by said conveying unit contacts to said reference member; an image pickup unit adapted to pick up an image of the sheet fed by said feeding unit; a first moving unit adapted to move said reference member in a width direction of the sheet perpendicular to the conveyance direction of the sheet; a second moving unit adapted to move the sheet in the width direction; and a control unit adapted to perform skew correction of the sheet and perform misalignment correction of the sheet in the width direction, wherein said control unit controls said first moving unit to move said reference member in the width direction based on a size of the sheet with respect to the width direction; determines whether or not skew of a front edge of the sheet is corrected based on an output of said pickup unit while the feeding unit is feeding the sheet with the one of the side edges of the sheet contacting to said reference member; detects a position of the other of the side edges of the sheet with respect to the width direction based on the output of the image pickup unit, when it is determined that the front edge of the sheet has been corrected; and controls said second moving unit to move the sheet based on a difference between the detected position of the other of the side edges of the sheet and a specified position determined based on the size of the sheet.