Patent Document ID: 9432538
Application ID: 14781015

Base Claim:
1. An image forming apparatus comprising: an image reading portion capable of reading image data of a document sheet placed on a document sheet placement surface; two document sheet detection portions configured to detect reflected light when light is emitted on a document sheet through the document sheet placement surface, and disposed at positions that are mutually separated in a main scanning direction on the document sheet placement surface and that are both separated from a predetermined placement reference position on the document sheet placement surface by a predetermined distance in a sub scanning direction; a document sheet cover including a document holding surface that faces the document sheet placement surface and on which first and second areas that are both shaped to be long in the main scanning direction, that are mutually separated in the sub scanning direction, and that have different reflection characteristics, and third and fourth areas that are formed at positions corresponding to irradiation positions of light from the two document sheet detection portions and that have different reflection characteristics, are formed; a first reading control portion configured to cause the image reading portion to read image data of each of the first and second areas, when the document sheet cover is closed with respect to the document sheet placement surface; a first document sheet width detection portion configured to detect, as a width of the document sheet in the main scanning direction, a width that is larger between a width, specified based on the image data read from the first area by the first reading control portion, of the document sheet in the main scanning direction, and a width, specified based on the image data read from the second area by the first reading control portion, of the document sheet in the main scanning direction; and a first size detection portion capable of detecting a size of the document sheet placed on the document sheet placement surface based on detection results from the first document sheet width detection portion and the two document sheet detection portions.

---

Claim 6:
6. The image forming apparatus according to claim 1 , further comprising: an opening-and-closing detection portion configured to detect open/closed states of the document sheet cover; a pre-closure detection portion configured to detect closing of the document sheet cover down to a predetermined pre-closure angle; a second reading control portion configured to cause the image reading portion to read image data of the document sheet at a position corresponding to the first area, when the document sheet cover is detected by the pre-closure detection portion to be closed down from an open state to the pre-closure angle, and after a closed state of the document sheet cover is detected by the opening-and-closing detection portion; a second document sheet width detection portion configured to detect, as a width of the document sheet in the main scanning direction, a width that is larger between a width, specified based on the image data read by the second reading control portion when the document sheet cover is closed to the pre-closure angle, of the document sheet in the main scanning direction, and a width, specified based on the image data read after the document sheet cover is closed, of the document sheet in the main scanning direction; a second size detection portion configured to detect a size of the document sheet based on detection results from the second document sheet width detection portion and the two document sheet detection portions; a storage control portion configured to store only a latest detected detection result in a storage portion, among the detection results from the first size detection portion and the second size detection portion; a first state control portion configured to, when a predetermined state transition condition is satisfied, cause the image forming apparatus to transition from an operation state to a standby state in which operations are partially restricted; a second state control portion configured to, when the open state of the document sheet cover is detected by the opening-and-closing detection portion, cause the image forming apparatus to transition from the standby state to the operation state; and a size detection control portion configured to, when a transition from the standby state to the operation state occurs without a control by the second state control portion and when a detection result from the first size detection portion or the second size detection portion is stored in the storage portion, restrict detection of the size of the document sheet by the first reading control portion and the first size detection portion, and detect the detection result stored in the storage portion as the size of the document sheet.