Patent ID: 8289589

Claim:
A document scanning device, comprising: a feed tray configured to be loaded with document sheets to be scanned; a document table configured to be loaded with a document sheet to be scanned; a catch tray configured to be loaded with document sheets ejected thereon; a feeder configured to feed the document sheets loaded on the feed tray to the catch tray via a scanning position; a scanner configured to perform document scanning in any one of a first scanning mode to scan the document sheets fed by the feeder in the scanning position and a second scanning mode to scan the document sheet placed on the document table; an ejection mode switching mechanism configured to switch an ejection mode between a first ejection mode and a second ejection mode, the first ejection mode being an ejection mode in which the document sheets are sequentially ejected on a stack of already-ejected document sheets, the second ejection mode being an ejection mode in which the document sheets are sequentially ejected and inserted under a stack of already-ejected document sheets, and the ejection mode switching mechanism comprising: a swing shaft provided upstream relative to the fixed tray in a sheet ejection direction in which a document sheet is ejected on the catch tray; and a flap provided upstream relative to the swing shaft in the sheet ejection direction, the flap being configured to swing in a vertical direction around the swing shaft so as to switch the ejection mode between the first ejection mode and the second ejection mode; an ejection detector configured to detect whether there is a document sheet on the catch tray; and a controller configured to take control of the scanner, wherein, in a state where the ejection mode is set to the second ejection mode, in response to receiving an instruction to start the document scanning, the controller forbids the scanner to start the document scanning when determining with the ejection detector that there is a document sheet on the catch tray, and allows the scanner to start the document scanning in a selected one of the first scanning mode and the second scanning mode when determining with the ejection detector that there is no document sheet on the catch tray, and wherein the catch tray comprises a fixed tray fixed relative to the document feeder, and the ejection mode switching mechanism.