JP2018174513A - Image reading apparatus, image reading method, and program - Google Patents

Image reading apparatus, image reading method, and program Download PDF

Info

Publication number
JP2018174513A
JP2018174513A JP2017073303A JP2017073303A JP2018174513A JP 2018174513 A JP2018174513 A JP 2018174513A JP 2017073303 A JP2017073303 A JP 2017073303A JP 2017073303 A JP2017073303 A JP 2017073303A JP 2018174513 A JP2018174513 A JP 2018174513A
Authority
JP
Japan
Prior art keywords
reading
document
image
setting
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017073303A
Other languages
Japanese (ja)
Inventor
バン タィン グェン
Thanh Nguyenvan
バン タィン グェン
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017073303A priority Critical patent/JP2018174513A/en
Publication of JP2018174513A publication Critical patent/JP2018174513A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image reading apparatus, an image reading method, and a program that can reduce user's time and effort when images of a plurality of documents are read while switching reading settings.SOLUTION: When a start of reading of an image of a document is instructed, scan setting of the use order "1" included in a scan setting group used in a document bundle reading job is read out from a RAM, and the reading of the image of the document S by the scan setting of the use order "1" is started. When the document supported by a tray disappears and a document is supplied and supported by the empty tray (S26: YES), the scan setting of the next use order "2" of the usage order "1" is read out from the RAM (S29), and the image of the document S that has been supplied to the tray 12 is read using the scan setting of the use order "2".SELECTED DRAWING: Figure 5B

Description

本発明は、画像読取装置、画像読取装置で実行される画像読取方法および画像読取装置のコンピュータにインストールされるプログラムに関する。   The present invention relates to an image reading apparatus, an image reading method executed by the image reading apparatus, and a program installed in a computer of the image reading apparatus.

従来、ADF(Auto Document Feeder)方式により画像を読み取る画像読取装置が提供されている。ADF方式では、原稿セット位置にセットされた原稿が1枚ずつ筐体内に送り込まれて、筐体内のCIS(Contact Image Sensor)ユニットにより原稿の画像が読み取られる。   2. Description of the Related Art Conventionally, an image reading apparatus that reads an image using an ADF (Auto Document Feeder) method has been provided. In the ADF method, documents set at a document setting position are sent one by one into the housing, and an image of the document is read by a CIS (Contact Image Sensor) unit in the housing.

たとえば、ADF方式の画像読取装置を使用して、複数の原稿束になった原稿の画像を原稿束ごとに異なる読取設定で読み取らせる場合がある。この場合、ユーザは、原稿束ごとに、原稿束についての読取設定、原稿セット位置への原稿束のセットおよび読取開始の指示の作業を繰り返す必要がある。すなわち、ユーザは、1束目の原稿束についての読取設定を行い、1束目の原稿束を原稿セット位置にセットした後、1束目の原稿束についての読取開始を指示する。そして、1束目の原稿束の原稿の画像が読み取られた後、ユーザは、2束目の原稿束についての読取設定を行い、2束目の原稿束を原稿セット位置にセットした後、2束目の原稿束についての読取開始を指示する。3束目以降についても同様である。   For example, an ADF image reading apparatus may be used to read an image of a document in a plurality of document bundles with different reading settings for each document bundle. In this case, the user needs to repeat the operation of reading setting for the document bundle, setting the document bundle at the document setting position, and instructing reading start for each document bundle. That is, the user performs the reading setting for the first bundle of documents, sets the first bundle of documents at the document setting position, and then instructs the reading of the first bundle of documents. After the original image of the first bundle is read, the user performs reading settings for the second bundle, sets the second bundle at the original setting position, An instruction to start reading the bundle of originals is given. The same applies to the third and subsequent bundles.

特開2016−111525号公報JP 2016-1111525 A

かかる作業の繰り返しは、手間がかかり、ユーザにとって面倒である。   Repeating such operations is time consuming and cumbersome for the user.

本発明の目的は、複数の原稿の画像を読取設定を切り替えながら読み取らせる際のユーザの手間を軽減できる、画像読取装置、画像読取方法およびプログラムを提供することである。   An object of the present invention is to provide an image reading apparatus, an image reading method, and a program, which can reduce a user's trouble when reading images of a plurality of documents while switching reading settings.

前記の目的を達成するため、本発明の一の局面に係る画像読取装置は、原稿を支持する原稿台と、前記原稿台に支持された原稿を検出する検出部と、前記原稿台から原稿を搬送する搬送部と、前記搬送部により搬送される原稿の画像を読み取る読取部と、記憶部と、制御部とを備え、前記制御部は、前記読取部による読み取りについての読取設定を他の読取設定と関連づけて、複数の読取設定を前記記憶部に登録する登録処理と、原稿の画像の読取開始の指示を受け付ける第1受付処理と、前記第1受付処理で前記読取開始の指示を受け付けたことに応じて、前記搬送部および前記読取部を制御して、前記記憶部に登録されている前記複数の読取設定のうちの1つである第1読取設定を用いて原稿の画像を読み取る第1読取処理と、前記第1読取処理の開始後、前記検出部により原稿が一旦検出されなくなった後に再び検出されたかを判断する第1判断処理と、前記第1判断処理で前記検出部により原稿が再び検出されたと判断したことに応じて、前記記憶部に登録されている前記複数の読取設定の中から前記第1読取設定に関連づけられた前記読取設定を、第2読取設定として特定する特定処理と、前記搬送部および前記読取部を制御して、前記特定処理で特定された前記第2読取設定を用いて原稿の画像を読み取る第2読取処理とを実行する。   In order to achieve the above object, an image reading apparatus according to an aspect of the present invention includes a document table that supports a document, a detection unit that detects a document supported on the document table, and a document from the document table. A conveyance unit that conveys the image; a reading unit that reads an image of the document conveyed by the conveyance unit; a storage unit; and a control unit, wherein the control unit sets a reading setting for reading by the reading unit to another reading unit. A registration process for registering a plurality of reading settings in the storage unit in association with the setting, a first reception process for receiving an instruction to start reading an image of a document, and the reading start instruction received in the first reception process In response, the transport unit and the reading unit are controlled to read an image of a document using a first reading setting that is one of the plurality of reading settings registered in the storage unit. 1 reading process and the first A first determination process for determining whether or not a document is once detected by the detection unit after the start of the taking process, and a determination that the detection unit has detected the document again in the first determination process In response, a specifying process for specifying, as a second reading setting, the reading setting associated with the first reading setting from among the plurality of reading settings registered in the storage unit; The reading unit is controlled to execute a second reading process for reading an image of a document using the second reading setting specified in the specifying process.

この構成によれば、記憶部には、読取設定が他の読取設定と関連づけられて登録される。原稿の画像の読取開始が指示されると、記憶部に登録されている読取設定の1つである第1読取設定を用いた原稿の画像の読み取りが開始される。原稿台から原稿が順次に搬送されて、原稿台に支持されている原稿がなくなり、その空になった原稿台に原稿が継ぎ足しで支持されると、記憶部に登録されている複数の読取設定の中から第1読取設定に関連づけられている第2読取設定が特定される。そして、第2読取設定を用いて、原稿台に継ぎ足された原稿の画像が読み取られる。   According to this configuration, the reading setting is registered in the storage unit in association with another reading setting. When an instruction to start reading an image of an original is instructed, reading of an image of the original using the first reading setting that is one of the reading settings registered in the storage unit is started. When a document is transported sequentially from the document table, there is no document supported on the document table, and the document is supported on the empty document table by adding a plurality of reading settings registered in the storage unit. The second reading setting associated with the first reading setting is specified from among the above. Then, using the second reading setting, an image of the original document added to the original table is read.

そのため、原稿台に継ぎ足された原稿についての読取設定を行う必要をなくすことができる。これにより、複数の原稿の画像を読取設定を切り替えながら読み取らせる際のユーザの手間を軽減することができる。   For this reason, it is possible to eliminate the need to perform reading settings for a document added to the document table. As a result, it is possible to reduce the user's trouble when reading images of a plurality of documents while switching the reading setting.

なお、本発明は、画像読取装置の形態で実現することができるだけでなく、たとえば、画像読取装置で実行される画像読取方法及び画像読取装置のコンピュータにインストールされるプログラムの形態で実現することもできる。   The present invention can be realized not only in the form of an image reading apparatus but also in the form of an image reading method executed by the image reading apparatus and a program installed in the computer of the image reading apparatus, for example. it can.

本発明によれば、原稿台に継ぎ足された原稿についての読取設定を行う必要をなくすことが可能となるので、複数の原稿の画像を読取設定を切り替えながら読み取らせる際のユーザの手間を軽減することができる。   According to the present invention, it is possible to eliminate the need to perform reading settings for an original document added to an original table, so that it is possible to reduce the user's trouble when reading images of a plurality of originals while switching the reading settings. be able to.

本発明の一実施形態に係る画像読取装置の図解的な断面図である。1 is a schematic cross-sectional view of an image reading apparatus according to an embodiment of the present invention. 画像読取装置の電気的構成を示すブロック図である。2 is a block diagram illustrating an electrical configuration of the image reading apparatus. FIG. 登録処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a registration process. RAMに登録されているスキャン設定の内容の一例を示す図である。It is a figure which shows an example of the content of the scan setting registered into RAM. 原稿束読取処理の流れを示すフローチャート(その1)である。6 is a flowchart (part 1) illustrating a flow of a document bundle reading process. 原稿束読取処理の流れを示すフローチャート(その2)である。6 is a flowchart (part 2) illustrating a flow of a document bundle reading process.

以下では、本発明の実施の形態について、添付図面を参照しつつ詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

<機械的構成>
図1に示される画像読取装置1は、ADF(Auto Document Feeder)方式により画像を読み取るスキャナである。画像読取装置1は、筐体11およびトレイ12(原稿台の一例)を備えている。
<Mechanical configuration>
An image reading apparatus 1 shown in FIG. 1 is a scanner that reads an image by an ADF (Auto Document Feeder) method. The image reading apparatus 1 includes a housing 11 and a tray 12 (an example of a document table).

筐体11は、画像読取装置1の外殻をなしている。画像読取装置1が水平面に設置された状態で、筐体11の第1側面13は、その水平面に対してほぼ垂直に立ち上がり、第1側面13に対して間隔を空けて対向する第2側面14は、上側に向かうにつれて第1側面13から離間するよう傾斜している。第2側面14の高さは、第1側面13の高さよりも低く、第2側面14の上端から第1側面13の上端に向けて延びる上面15は、第1側面13に近い箇所ほど上側に位置するように傾斜している。   The housing 11 forms an outer shell of the image reading apparatus 1. In a state in which the image reading apparatus 1 is installed on the horizontal plane, the first side surface 13 of the housing 11 rises substantially perpendicular to the horizontal plane, and is opposed to the first side surface 13 with a space therebetween. Is inclined away from the first side surface 13 toward the upper side. The height of the second side surface 14 is lower than the height of the first side surface 13, and the upper surface 15 extending from the upper end of the second side surface 14 toward the upper end of the first side surface 13 is closer to the upper side as it is closer to the first side surface 13. Inclined to be located.

なお、以下の説明で使用する前後および左右の各方向は、画像読取装置1を第2側面14側から見た状態を基準として規定した方向である。   Note that the front and rear directions and the left and right directions used in the following description are directions defined based on a state in which the image reading apparatus 1 is viewed from the second side face 14 side.

第1側面13の上端縁と上面15の後端縁との間には、隙間が設けられており、トレイ12は、その隙間から後上側に傾斜して延びている。トレイ12は、複数枚のシート状の原稿Sをそれらが積み重なった積層状態で支持可能に構成されている。   A gap is provided between the upper end edge of the first side surface 13 and the rear end edge of the upper surface 15, and the tray 12 extends obliquely from the gap to the rear upper side. The tray 12 is configured to be able to support a plurality of sheet-like documents S in a stacked state in which they are stacked.

第1側面13の上端縁とトレイ12との間は、トレイ12に支持された原稿Sが差し込まれる差込口16である。また、第2側面14には、原稿Sを筐体11外に排出するための排出口17が形成されている。筐体11内には、差込口16から排出口17に向けて前下がりに傾斜する原稿搬送路18が設けられている。   Between the upper end edge of the first side surface 13 and the tray 12 is an insertion port 16 into which the document S supported by the tray 12 is inserted. The second side surface 14 is formed with a discharge port 17 for discharging the document S out of the housing 11. In the housing 11, a document conveyance path 18 that is inclined forward and downward from the insertion port 16 toward the discharge port 17 is provided.

画像読取装置1は、フィードローラ21(搬送部の一例)、リバースローラ22(搬送部の一例)、搬送ローラ対23(搬送部の一例)および排出ローラ対24(搬送部の一例)を備えている。   The image reading apparatus 1 includes a feed roller 21 (an example of a conveyance unit), a reverse roller 22 (an example of a conveyance unit), a conveyance roller pair 23 (an example of a conveyance unit), and a discharge roller pair 24 (an example of a conveyance unit). Yes.

フィードローラ21、リバースローラ22、搬送ローラ対23および排出ローラ対24は、それぞれ左右方向に延びる回転軸線まわりに回転可能に設けられている。フィードローラ21およびリバースローラ22は、原稿搬送路18においてトレイ12の下端部よりも下流に配置される。なお、差込口16が原稿搬送路18の上流端を規定し、排出口17が原稿搬送路18の下流端を規定する。リバースローラ22の周面は、フィードローラ21の周面に前上側から当接している。搬送ローラ対23は、原稿搬送路18においてフィードローラ21およびリバースローラ22よりも下流に配置されている。排出ローラ対24は、排出口17の後側の位置に、搬送ローラ対23と間隔を空けて配置されている。   The feed roller 21, the reverse roller 22, the transport roller pair 23, and the discharge roller pair 24 are provided so as to be rotatable around a rotation axis extending in the left-right direction. The feed roller 21 and the reverse roller 22 are disposed downstream of the lower end portion of the tray 12 in the document conveyance path 18. The insertion port 16 defines the upstream end of the document conveyance path 18, and the discharge port 17 defines the downstream end of the document conveyance path 18. The circumferential surface of the reverse roller 22 is in contact with the circumferential surface of the feed roller 21 from the front upper side. The conveyance roller pair 23 is disposed downstream of the feed roller 21 and the reverse roller 22 in the document conveyance path 18. The discharge roller pair 24 is disposed at a position behind the discharge port 17 with a gap from the conveyance roller pair 23.

原稿搬送路18において、搬送ローラ対23と排出ローラ対24との間には、原稿Sの画像を読み取る第1画像読取部31および第2画像読取部32が設けられている。   In the document conveyance path 18, a first image reading unit 31 and a second image reading unit 32 that read an image of the document S are provided between the conveyance roller pair 23 and the discharge roller pair 24.

第1画像読取部31は、原稿搬送路18の下側に、原稿読取面33を原稿搬送路18側に向けた状態で配置されている。第1画像読取部31は、図2に示されるように、CIS(Contact Image Sensor)34およびAFE(Analog Front End)35などを備えている。第1画像読取部31では、原稿読取面33に対向する原稿Sの下側の面の画像がCIS34によって読み取られる。CIS34から出力されたアナログ画像信号は、AFE35により、デジタル画像データに変換されて制御部55に対して出力される。これにより、第1画像読取部31による画像の読み取りが達成される。   The first image reading unit 31 is disposed below the document conveyance path 18 with the document reading surface 33 facing the document conveyance path 18. As shown in FIG. 2, the first image reading unit 31 includes a CIS (Contact Image Sensor) 34, an AFE (Analog Front End) 35, and the like. In the first image reading unit 31, the image on the lower surface of the document S facing the document reading surface 33 is read by the CIS 34. The analog image signal output from the CIS 34 is converted into digital image data by the AFE 35 and output to the control unit 55. Thereby, reading of an image by the first image reading unit 31 is achieved.

第2画像読取部32は、原稿搬送路18の上側に、第1画像読取部31に対して前側(原稿Sの搬送方向の下流側)に位置をずらして、原稿読取面36を原稿搬送路18側に向けた状態で配置されている。第2画像読取部32は、CIS37およびAFE38などを備えている。第2画像読取部32では、原稿読取面36に対向する原稿Sの上側の面の画像がCIS37によって読み取られる。CIS37から出力されたアナログ画像信号は、AFE38により、デジタル画像データに変換されて制御部55に対して出力される。これにより、第2画像読取部32による画像の読み取りが達成される。   The second image reading unit 32 is shifted to the upper side of the document conveyance path 18 to the front side (downstream in the conveyance direction of the document S) with respect to the first image reading unit 31, and the document reading surface 36 is moved to the document conveyance path. It is arranged in a state facing the 18 side. The second image reading unit 32 includes a CIS 37, an AFE 38, and the like. In the second image reading unit 32, the image on the upper surface of the document S facing the document reading surface 36 is read by the CIS 37. The analog image signal output from the CIS 37 is converted into digital image data by the AFE 38 and output to the control unit 55. Thereby, reading of an image by the second image reading unit 32 is achieved.

また、画像読取装置1は、図1に示されるように、トレイ12に支持されている原稿Sを検出する原稿センサ41を備えている。原稿センサ41は、例えば、原稿Sとの接触に応じて回動可能に保持された回動部材と、その回動部材の回動を検出する光学センサとで構成されてよい。光学センサは発光部及び受光部を備え、発光部から発光された光が受光部によって受光されたか否かを検知し、検知結果を示す信号を制御部55に出力する。例えば、原稿Sが回動部材に接触していない場合、回動部材は発光部から発光された光を遮り、受光部は光を検知しない。一方、原稿Sが回動部材に接触している場合、回動部材が回動することにより、発光部から発光された光は遮られず、受光部が光を検知する。ただし、発光部と受光部とを、原稿搬送路18を挟んで対向させることにより、原稿Sが光を遮ったか否かを検知してもよい。この場合、回動部材は不要になる。   Further, as shown in FIG. 1, the image reading apparatus 1 includes a document sensor 41 that detects the document S supported on the tray 12. The document sensor 41 may be composed of, for example, a rotation member that is rotatably held in response to contact with the document S, and an optical sensor that detects the rotation of the rotation member. The optical sensor includes a light emitting unit and a light receiving unit, detects whether or not the light emitted from the light emitting unit is received by the light receiving unit, and outputs a signal indicating the detection result to the control unit 55. For example, when the document S is not in contact with the rotating member, the rotating member blocks light emitted from the light emitting unit, and the light receiving unit does not detect the light. On the other hand, when the document S is in contact with the rotating member, the light emitted from the light emitting unit is not blocked by the rotation of the rotating member, and the light receiving unit detects the light. However, it may be detected whether or not the document S blocks light by causing the light emitting unit and the light receiving unit to face each other with the document transport path 18 interposed therebetween. In this case, the rotating member becomes unnecessary.

<読取動作>
原稿Sの画像の読み取りの際には、トレイ12上に原稿Sが載置される。
<Reading operation>
When reading an image of the document S, the document S is placed on the tray 12.

トレイ12に支持される原稿Sは、差込口16内に、先端部がフィードローラ21およびリバースローラ22に当接するまで差し込まれる。原稿Sがその位置まで差し込まれると、原稿センサ41から原稿Sを検出したことを表す検出信号(オン信号)が出力される。   The document S supported by the tray 12 is inserted into the insertion slot 16 until the leading end comes into contact with the feed roller 21 and the reverse roller 22. When the document S is inserted to that position, the document sensor 41 outputs a detection signal (ON signal) indicating that the document S has been detected.

原稿の画像の読取開始に際して、フィードローラ21およびリバースローラ22に対して、後述の第1モータ51及び第2モータ52によって、右側から見て反時計回りに回転する方向にトルクが付与される。このトルクによりフィードローラ21が反時計回りに回転することで、トレイ12に支持されている原稿Sのうちの最下の原稿Sにフィードローラ21から搬送力が付与され、最下の原稿Sがフィードローラ21とリバースローラ22との間に引き込まれる。リバースローラ22は、非図示のトルクリミッタを介して、第2モータ52からの駆動力が伝達される。トルクリミッタの空転トルクは、原稿Sとリバースローラ22との間の摩擦力、及びフィードローラ21とリバースローラ22との間の摩擦力によって空転する値に設定されている。一方、トルクリミッタの空転トルクは、原稿S同士の間の摩擦力によっては空転しない値に設定されている。このため、フィードローラ21とリバースローラ22との間に原稿Sが存在しない場合、又はフィードローラ21とリバースローラ22との間に原稿Sが一枚だけ存在する場合、リバースローラ22は、第2モータ52からの駆動力に逆らって、時計回りに回転する。一方、フィードローラ21とリバースローラ22との間に原稿Sが2枚以上存在する場合、リバースローラ22は、第2モータ52からの駆動力に応じて、反時計回りに回転する。そのため、引き込まれた最下の原稿Sとその上の原稿Sとが分離され、1枚の原稿Sがフィードローラ21とリバースローラ22との間を通過して、原稿搬送路18に送り込まれる。   At the start of reading an image of a document, torque is applied to the feed roller 21 and the reverse roller 22 by a first motor 51 and a second motor 52, which will be described later, in a counterclockwise direction when viewed from the right side. This torque causes the feed roller 21 to rotate counterclockwise, so that a conveying force is applied from the feed roller 21 to the lowermost document S of the documents S supported by the tray 12, so that the lowermost document S It is drawn between the feed roller 21 and the reverse roller 22. The reverse roller 22 is transmitted with driving force from the second motor 52 via a torque limiter (not shown). The idling torque of the torque limiter is set to a value that causes idling by the frictional force between the document S and the reverse roller 22 and the frictional force between the feed roller 21 and the reverse roller 22. On the other hand, the idling torque of the torque limiter is set to a value that does not cause idling due to the frictional force between the documents S. For this reason, when there is no document S between the feed roller 21 and the reverse roller 22, or when only one document S exists between the feed roller 21 and the reverse roller 22, the reverse roller 22 It rotates clockwise against the driving force from the motor 52. On the other hand, when there are two or more documents S between the feed roller 21 and the reverse roller 22, the reverse roller 22 rotates counterclockwise according to the driving force from the second motor 52. Therefore, the lowermost document S that has been pulled in is separated from the document S above it, and one document S passes between the feed roller 21 and the reverse roller 22 and is fed into the document transport path 18.

また、搬送ローラ対23の下側のローラおよび排出ローラ対24の下側のローラが反時計回りに回転され、それらの上側のローラが下側のローラに従動して回転する。原稿搬送路18に送り込まれた原稿Sは、搬送ローラ対23および排出ローラ対24から搬送力を受けて、原稿搬送路18を下流に向けて搬送され、排出口17から筐体11外に排出される。   Further, the lower roller of the transport roller pair 23 and the lower roller of the discharge roller pair 24 are rotated counterclockwise, and the upper rollers thereof are driven to rotate by the lower rollers. The document S sent to the document transport path 18 receives transport force from the transport roller pair 23 and the discharge roller pair 24, is transported downstream in the document transport path 18, and is discharged out of the housing 11 from the discharge port 17. Is done.

原稿Sが原稿搬送路18を搬送される途中、原稿Sの下側の面が第1画像読取部31の原稿読取面33に対向したときに、その下側の面の画像が第1画像読取部31により読み取られる。また、原稿Sの上側の面が第2画像読取部32の原稿読取面36に対向したときに、その上側の面の画像が第2画像読取部32により読み取られる。   While the document S is being transported through the document transport path 18, when the lower surface of the document S faces the document reading surface 33 of the first image reading unit 31, the image on the lower surface is read as the first image. Read by the unit 31. When the upper surface of the document S faces the document reading surface 36 of the second image reading unit 32, the image on the upper surface is read by the second image reading unit 32.

<電気的構成>
画像読取装置1は、図2に示されるように、フィードローラ21の駆動源である第1モータ51と、リバースローラ22、搬送ローラ対23および排出ローラ対24の駆動源である第2モータ52とを備えている。第1モータ51及び第2モータ52は、例えば、ステッピングモータである。
<Electrical configuration>
As shown in FIG. 2, the image reading apparatus 1 includes a first motor 51 that is a drive source of the feed roller 21, and a second motor 52 that is a drive source of the reverse roller 22, the transport roller pair 23, and the discharge roller pair 24. And. The first motor 51 and the second motor 52 are, for example, stepping motors.

なお、画像読取装置1には、フィードローラ21、リバースローラ22、搬送ローラ対23および排出ローラ対24の共通の駆動源として、1個のモータが備えられていてもよい。   The image reading apparatus 1 may be provided with a single motor as a common drive source for the feed roller 21, the reverse roller 22, the transport roller pair 23, and the discharge roller pair 24.

また、画像読取装置1は、ネットワークインタフェース(I/F)53、USB(Universal Serial Bus)インタフェース(I/F)54および制御部55を備えている。   The image reading apparatus 1 also includes a network interface (I / F) 53, a USB (Universal Serial Bus) interface (I / F) 54, and a control unit 55.

ネットワークインタフェース53は、PC(Personal Computer)などの外部装置とのLAN(Local Area Network)を介したデータ通信のためのインタフェースである。通信の方式は、無線通信方式であってもよいし、有線通信方式であってもよい。   The network interface 53 is an interface for data communication with an external device such as a PC (Personal Computer) via a LAN (Local Area Network). The communication method may be a wireless communication method or a wired communication method.

USBインタフェース54は、USBデバイスとのデータ通信のためのインタフェースである。USBインタフェース54には、USBデバイスを接続するためのポートが設けられている。画像読取装置1は、USBインタフェース54を介して、外部装置との間でデータ通信を行ってもよい。   The USB interface 54 is an interface for data communication with a USB device. The USB interface 54 is provided with a port for connecting a USB device. The image reading device 1 may perform data communication with an external device via the USB interface 54.

制御部55は、CPU56(制御部の一例)、ROM57およびRAM58(記憶部の一例)を備えている。制御部55には、原稿センサ41が接続されており、原稿センサ41の検出信号が入力される。また、制御部55には、第1画像読取部31、第2画像読取部32、第1モータ51、第2モータ52、ネットワークインタフェース53およびUSBインタフェース54が接続されている。   The control unit 55 includes a CPU 56 (an example of a control unit), a ROM 57, and a RAM 58 (an example of a storage unit). A document sensor 41 is connected to the control unit 55, and a detection signal from the document sensor 41 is input. Further, the first image reading unit 31, the second image reading unit 32, the first motor 51, the second motor 52, the network interface 53, and the USB interface 54 are connected to the control unit 55.

CPU56は、制御部55に入力される信号などに基づいて、ROM57に記憶されているプログラムを実行することにより、第1画像読取部31、第2画像読取部32、第1モータ51、第2モータ52、ネットワークインタフェース53およびUSBインタフェース54などの各部を制御し、また、第1画像読取部31、第2画像読取部32、ネットワークインタフェース53およびUSBインタフェース54などからデータを受け取る。CPU56による制御(プログラム)の実行時、RAM58がワークエリアとして使用される。RAM58には、NVRAM(Non Volatile RAM)などの不揮発性メモリが含まれていてもよい。   The CPU 56 executes a program stored in the ROM 57 based on a signal or the like input to the control unit 55, whereby the first image reading unit 31, the second image reading unit 32, the first motor 51, the second Each unit such as the motor 52, the network interface 53, and the USB interface 54 is controlled, and data is received from the first image reading unit 31, the second image reading unit 32, the network interface 53, the USB interface 54, and the like. When the control (program) is executed by the CPU 56, the RAM 58 is used as a work area. The RAM 58 may include a non-volatile memory such as NVRAM (Non Volatile RAM).

<登録処理>
画像読取装置1では、複数の原稿束になった原稿の画像を原稿束ごとにスキャン設定を切り替えて読み取る原稿束読取ジョブを実行可能である。この原稿束読取ジョブの実行のためには、スキャン設定の事前登録が必要である。
<Registration process>
The image reading apparatus 1 can execute a document bundle reading job that reads images of a plurality of document bundles by switching scan settings for each document bundle. In order to execute this document bundle reading job, it is necessary to pre-register scan settings.

図3に示される処理は、スキャン設定を登録する登録処理である。スキャン設定の登録先(保存先)は、制御部55のRAM58であるが、画像読取装置1の電源がオフにされても登録データが消失しないよう、スキャン設定は、RAM58に含まれる不揮発性メモリに登録されるか、または、バッテリバックアップにより保護される。あるいは、ROM57がEEPROMを含む場合、スキャン設定は、ROM57のEEPROMに登録されてもよい。   The process shown in FIG. 3 is a registration process for registering scan settings. The registration destination (save destination) of the scan setting is the RAM 58 of the control unit 55, but the scan setting is stored in the nonvolatile memory included in the RAM 58 so that the registered data is not lost even when the power of the image reading apparatus 1 is turned off. Or protected by battery backup. Alternatively, when the ROM 57 includes an EEPROM, the scan setting may be registered in the EEPROM of the ROM 57.

スキャン設定は、第1画像読取部31および第2画像読取部32による画像の読み取りに関する設定である。その設定の内容には、たとえば、図4に示されるように、読取解像度、読取モード、原稿のサイズおよび確認情報が含まれる。読取モードは、カラー画像の読み取りに適したカラーモードまたは白黒画像の読み取りに適した白黒モードの一方である。確認情報は、当該スキャン設定を利用することの確認の要否を示す情報である。また、スキャン設定には、ワークフロー、つまりスキャン設定の切り替えのパターンが含まれる。   The scan setting is a setting related to image reading by the first image reading unit 31 and the second image reading unit 32. The contents of the setting include, for example, reading resolution, reading mode, document size, and confirmation information as shown in FIG. The reading mode is one of a color mode suitable for reading a color image and a monochrome mode suitable for reading a monochrome image. The confirmation information is information indicating whether or not confirmation of using the scan setting is necessary. The scan setting includes a workflow, that is, a scan setting switching pattern.

スキャン設定の登録は、たとえば、ユーザがネットワークインタフェース53又はUSBインタフェース54に接続されている外部装置を操作することにより行うことができる。すなわち、外部装置の操作により、スキャン設定の内容と、当該スキャン設定が利用されるワークフローを特定するワークフロー番号と、ワークフローで当該スキャン設定が利用される順番(利用順)との入力が行われる。そして、その入力内容の送信が指示されると、入力内容が外部装置から画像読取装置1に向けて送信される。また、画像読取装置1に各種の操作キーを備える操作部と液晶表示器などの表示部とが設けられている場合には、スキャン設定の登録は、操作部に対する入力によって行われてもよい。なお、操作部は、表示部に一体的に設けられるタッチキーであってもよい。   Registration of scan settings can be performed, for example, by the user operating an external device connected to the network interface 53 or the USB interface 54. That is, by the operation of the external device, the contents of the scan setting, the workflow number for specifying the workflow in which the scan setting is used, and the order (usage order) in which the scan setting is used in the workflow are input. When the transmission of the input content is instructed, the input content is transmitted from the external device to the image reading apparatus 1. Further, when the image reading apparatus 1 is provided with an operation unit having various operation keys and a display unit such as a liquid crystal display, the scan setting may be registered by an input to the operation unit. Note that the operation unit may be a touch key provided integrally with the display unit.

CPU56は、ネットワークインタフェース53又はUSBインタフェース54に接続されている外部装置からスキャン設定を受信すると、図3に示す登録処理を開始する。CPU56は、受信したスキャン設定をRAM58に含まれる不揮発性メモリに登録する(S11)。   When the CPU 56 receives scan settings from an external device connected to the network interface 53 or the USB interface 54, the CPU 56 starts the registration process shown in FIG. The CPU 56 registers the received scan setting in a nonvolatile memory included in the RAM 58 (S11).

CPU56は、1つのスキャン設定を不揮発性メモリに登録すると、次のスキャン設定を受信したかを判別する(S12)。先のスキャン設定の受信から一定時間内に次のスキャン設定を受信した場合、スキャン設定の次の登録があると判別して(S12:YES)、その受信したスキャン設定を不揮発性メモリに登録する。   When one scan setting is registered in the nonvolatile memory, the CPU 56 determines whether the next scan setting has been received (S12). When the next scan setting is received within a predetermined time from the reception of the previous scan setting, it is determined that there is a next registration of the scan setting (S12: YES), and the received scan setting is registered in the nonvolatile memory. .

一方、次のスキャン設定を受信しない場合、CPU56は、次のスキャン設定の次の登録はないと判別して(S12:NO)、登録処理を終了する。   On the other hand, when the next scan setting is not received, the CPU 56 determines that there is no next registration of the next scan setting (S12: NO), and ends the registration process.

この登録処理により、RAM58には、スキャン設定の内容とともにワークフローが登録される。図4に示される一例では、ワークフロー番号「1」で特定されるワークフローで「設定1」、「設定2」および「設定3」がこの順に利用される場合、「設定1」については、解像度「600dpi」、読取モード「カラーモード」および原稿サイズ「A4」の設定内容とともに、ワークフロー番号「1」およびそのワークフローでの利用順「1」が設定され、それらの内容が不揮発性メモリに登録される。「設定2」については、解像度「300dpi」、読取モード「白黒モード」および原稿サイズ「A4」の設定内容とともに、ワークフロー番号「1」およびそのワークフローでの利用順「2」が設定され、それらの内容が不揮発性メモリに登録される。「設定3」については、解像度「300dpi」、読取モード「カラーモード」および原稿サイズ「A4」の設定内容とともに、ワークフロー番号「1」およびそのワークフローでの利用順「3」が設定され、それらの内容が不揮発性メモリに登録される。   Through this registration process, the workflow is registered in the RAM 58 together with the scan setting contents. In the example shown in FIG. 4, when “setting 1”, “setting 2”, and “setting 3” are used in this order in the workflow specified by the workflow number “1”, the resolution “ “600 dpi”, reading mode “color mode”, and document size “A4”, as well as the workflow number “1” and the order of use “1” in that workflow, are set in the nonvolatile memory. . As for “setting 2”, the workflow number “1” and the order of use “2” in the workflow are set together with the settings of the resolution “300 dpi”, the reading mode “monochrome mode” and the document size “A4”. The contents are registered in the nonvolatile memory. As for “setting 3”, the workflow number “1” and the order of use “3” in the workflow are set together with the settings of the resolution “300 dpi”, the reading mode “color mode”, and the document size “A4”. The contents are registered in the nonvolatile memory.

<原稿束読取処理>
原稿束読取ジョブの実行のため、CPU56により、図5A,5Bに示される原稿束読取処理が実行される。原稿束読取処理は、画像読取装置1の電源がオンされたことに応じてその実行が開始される。
<Document bundle reading process>
In order to execute the document bundle reading job, the CPU 56 executes the document bundle reading process shown in FIGS. 5A and 5B. The document bundle reading process is started in response to the power supply of the image reading apparatus 1 being turned on.

原稿束読取ジョブの実行は、たとえば、ネットワークインタフェース53に接続されている外部装置から画像読取装置1に指示される。すなわち、外部装置の操作により、原稿束読取ジョブのワークフローに対応するワークフロー番号および原稿束読取ジョブに係る読取開始(原稿束読取ジョブの実行開始)が入力されて、その入力内容の送信が指示されると、入力内容が外部装置から画像読取装置1に向けて送信される。また、画像読取装置1に各種の操作キーを備える操作部と液晶表示器などの表示部とが設けられている場合には、原稿束読取ジョブの実行開始の指示は、操作部に対する入力によって行われてもよい。なお、前述したように、操作部は、表示部に一体的に設けられるタッチキーであってもよい。   The execution of the document bundle reading job is instructed to the image reading apparatus 1 from an external device connected to the network interface 53, for example. That is, by operating the external device, the workflow number corresponding to the workflow of the document bundle reading job and the start of reading related to the document bundle reading job (start of execution of the document bundle reading job) are input, and the transmission of the input contents is instructed. Then, the input content is transmitted from the external device to the image reading device 1. In addition, when the image reading apparatus 1 is provided with an operation unit having various operation keys and a display unit such as a liquid crystal display, an instruction to start execution of a document bundle reading job is performed by an input to the operation unit. It may be broken. As described above, the operation unit may be a touch key provided integrally with the display unit.

原稿束読取処理では、CPU56は、原稿センサ41からトレイ12に支持された原稿Sを検出したことを表す検出信号が入力されている状態で、原稿束読取ジョブに係る読取開始の指示を受信したかを判別する(S21)。   In the document bundle reading process, the CPU 56 receives a reading start instruction related to the document bundle reading job in a state where a detection signal indicating that the document S supported on the tray 12 is detected is input from the document sensor 41. Is determined (S21).

読取開始の指示を受信した場合(S21:YES)、CPU56は、RAM58に登録されているスキャン設定の中から、ワークフロー番号と紐づけられたスキャン設定の群を特定する。そして、その特定したスキャン設定群の中から、利用順「1」のスキャン設定(最初のスキャン設定)を特定する(S22)。   When an instruction to start reading is received (S21: YES), the CPU 56 specifies a group of scan settings associated with the workflow number from the scan settings registered in the RAM 58. Then, the scan setting (first scan setting) in the usage order “1” is specified from the specified scan setting group (S22).

その後、CPU56は、利用順「1」のスキャン設定による原稿Sの画像の読み取りを開始する(S23)。   Thereafter, the CPU 56 starts reading the image of the document S with the scan setting of the usage order “1” (S23).

1ページの原稿Sの画像が第1画像読取部31および第2画像読取部32の少なくとも一方(以下、「画像読取部31,32」という。)に読み取られると、CPU56は、原稿センサ41の検出信号を確認し、次の原稿Sがトレイ12に支持されているかを判別する(S24)。   When the image of one page of the document S is read by at least one of the first image reading unit 31 and the second image reading unit 32 (hereinafter referred to as “image reading units 31, 32”), the CPU 56 of the document sensor 41. The detection signal is checked to determine whether or not the next document S is supported on the tray 12 (S24).

次の原稿Sがトレイ12に支持されている場合(S24:YES)、CPU56は、次の原稿Sの画像を画像読取部31,32に読み取らせる(S23)。   When the next document S is supported on the tray 12 (S24: YES), the CPU 56 causes the image reading units 31 and 32 to read the image of the next document S (S23).

トレイ12に支持されていたすべての原稿Sの画像が読み取られて、原稿センサ41からトレイ12に原稿Sが支持されていないことを表す検出信号が出力されると、CPU56は、次の原稿Sがないと判別して(S24:NO)、現在利用中のスキャン設定が原稿束読取ジョブのワークフロー番号で特定されるスキャン設定群の中の利用順が最後のスキャン設定であるかを判別する(S25)。   When images of all the originals S supported on the tray 12 are read and a detection signal indicating that the original S is not supported on the tray 12 is output from the original sensor 41, the CPU 56 outputs the next original S. (S24: NO), it is determined whether the scan order currently used is the last scan setting in the scan setting group specified by the workflow number of the document bundle reading job (S24: NO). S25).

現在利用中のスキャン設定が最後のスキャン設定でない場合(S25:NO)、CPU56は、トレイ12に原稿Sが継ぎ足しで支持されたかを判別する(図5BのS26)。   If the scan setting currently in use is not the last scan setting (S25: NO), the CPU 56 determines whether or not the document S is supported on the tray 12 by addition (S26 in FIG. 5B).

ユーザによりトレイ12に原稿Sが継ぎ足しで支持されるまで、原稿束読取処理は次に進まない(S26:NO)。   The document bundle reading process does not proceed until the document S is supported on the tray 12 by the user (S26: NO).

ユーザによりトレイ12に原稿Sが継ぎ足しで支持されると(S26:YES)、CPU56は、現在利用中のスキャン設定により画像が読み取られた原稿Sの枚数(以下、「読取原稿の枚数」という。)がトレイ12に支持可能な最大の枚数(以下、「最大ADF積載枚数」という。)を超えたかを判別する(S27)。最大ADF積載枚数は、画像読取装置1の工場出荷前にROM57に予め書き込まれる。   When the document S is supported on the tray 12 by the user (S26: YES), the CPU 56 refers to the number of documents S (hereinafter referred to as “the number of read documents”) from which an image has been read by the currently used scan setting. ) Exceeds the maximum number of sheets that can be supported on the tray 12 (hereinafter referred to as “maximum number of ADF sheets”) (S27). The maximum number of ADF sheets is previously written in the ROM 57 before the image reading apparatus 1 is shipped from the factory.

読取原稿の枚数が最大ADF積載枚数を超えていない場合(S27:NO)、CPU56は、現在利用中のスキャン設定の次の順序のスキャン設定の確認情報がスキャン設定を利用することの確認が必要であることを示すかを判別する(S28)。たとえば、現在利用中のスキャン設定が利用順「1」のスキャン設定である場合、利用順「2」のスキャン設定の確認情報がスキャン設定を利用することの確認が必要であることを示すかが判別される。   When the number of read documents does not exceed the maximum ADF stack number (S27: NO), the CPU 56 needs to confirm that the scan setting confirmation information in the next order of the scan settings currently in use uses the scan settings. Is determined (S28). For example, if the scan setting currently in use is the scan setting of the usage order “1”, whether the confirmation information of the scan setting of the usage order “2” indicates that it is necessary to confirm that the scan setting is used Determined.

次の順序のスキャン設定の確認情報がスキャン設定を利用することの確認が不要であることを示す場合(S28:NO)、CPU56は、次の順序のスキャン設定をRAM58から読み出して(S29)、次の順序のスキャン設定による原稿Sの画像の読み取りを開始する(図5AのS23)。   When the confirmation information on the scan setting in the next order indicates that it is not necessary to confirm that the scan setting is used (S28: NO), the CPU 56 reads the scan setting in the next order from the RAM 58 (S29), Reading of the image of the document S by the next order scan setting is started (S23 in FIG. 5A).

一方、次の順序のスキャン設定の確認情報がスキャン設定を利用することの確認が必要であることを示す場合(図5AのS28:YES)、CPU56は、次の順序のスキャン設定をデフォルト表示に設定する(S30)。   On the other hand, when the confirmation information of the scan setting in the next order indicates that confirmation of using the scan setting is necessary (S28 in FIG. 5A: YES), the CPU 56 sets the scan setting in the next order to the default display. Set (S30).

そして、CPU56は、読取開始の指示の送信元の外部装置に向けて、スキャン設定を選択するドロップダウンリスト(プルダウンメニュー)に次の順序のスキャン設定がデフォルトで表示された状態のスキャン設定選択画面をディスプレイに表示させる指示を送信する(S31)。   Then, the CPU 56 scans the scan setting selection screen in which the scan settings in the next order are displayed by default in the drop-down list (pull-down menu) for selecting the scan settings toward the external device that is the transmission source of the reading start instruction. Is transmitted on the display (S31).

この指示を受けて、外部装置のディスプレイには、スキャン設定選択画面が表示される。ドロップダウンリストには、原稿束読取ジョブのワークフロー番号で特定されるスキャン設定群に含まれるすべてのスキャン設定が表示される。ドロップダウンリストの中から1つのスキャン設定が選択されて、その選択の決定が外部装置に入力されると、外部装置から画像読取装置1に向けて、選択されたスキャン設定を示す選択情報が送信される。この選択情報を画像読取装置1が受信すると、CPU56は、選択情報が示すスキャン設定をRAM58から読み出す(S32)。CPU56は、選択情報が示すスキャン設定による原稿Sの画像の読み取りを開始する(図5AのS23)。ドロップダウンリストに次の順序のスキャン設定がデフォルトで表示されるが、現在のスキャン設定が選択されて、現在のスキャン設定での原稿Sの画像の読み取りが継続されることもある。
なお、画像読取装置1に各種の操作キーを備える操作部と液晶表示器などの表示部とが設けられている場合には、スキャン設定選択画面の表示指示は、操作部に対する入力によって行われてもよい。なお、前述したように、操作部は、表示部に一体的に設けられるタッチキーであってもよい。
In response to this instruction, a scan setting selection screen is displayed on the display of the external device. In the drop-down list, all the scan settings included in the scan setting group specified by the workflow number of the original bundle reading job are displayed. When one scan setting is selected from the drop-down list and the selection decision is input to the external apparatus, selection information indicating the selected scan setting is transmitted from the external apparatus to the image reading apparatus 1. Is done. When the image reading apparatus 1 receives this selection information, the CPU 56 reads the scan setting indicated by the selection information from the RAM 58 (S32). The CPU 56 starts reading the image of the document S based on the scan setting indicated by the selection information (S23 in FIG. 5A). The scan setting of the next order is displayed by default in the drop-down list, but the current scan setting may be selected, and reading of the image of the document S with the current scan setting may be continued.
When the image reading apparatus 1 is provided with an operation unit having various operation keys and a display unit such as a liquid crystal display, a display instruction for a scan setting selection screen is given by an input to the operation unit. Also good. As described above, the operation unit may be a touch key provided integrally with the display unit.

読取原稿の枚数が最大ADF積載枚数を超えている場合(S27:YES)、CPU56は、スキャン設定を選択するドロップダウンリストにいずれのスキャン設定も表示されていない状態、又は、現在のスキャン設定が表示された状態のスキャン設定選択画面をディスプレイに表示させる指示を送信する(S31)。   When the number of read documents exceeds the maximum ADF stack number (S27: YES), the CPU 56 does not display any scan setting in the drop-down list for selecting the scan setting, or the current scan setting is An instruction to display the displayed scan setting selection screen on the display is transmitted (S31).

この指示を受けて、外部装置のディスプレイには、スキャン設定選択画面が表示される。ドロップダウンリストの中から1つのスキャン設定が選択されて、その選択の決定が外部装置に入力されると、外部装置から画像読取装置1に向けて、選択されたスキャン設定を示す選択情報が送信される。この選択情報を画像読取装置1が受信すると、CPU56は、選択情報が示すスキャン設定による原稿Sの画像の読み取りを開始する(図5AのS23)。   In response to this instruction, a scan setting selection screen is displayed on the display of the external device. When one scan setting is selected from the drop-down list and the selection decision is input to the external apparatus, selection information indicating the selected scan setting is transmitted from the external apparatus to the image reading apparatus 1. Is done. When the image reading apparatus 1 receives this selection information, the CPU 56 starts reading the image of the document S based on the scan setting indicated by the selection information (S23 in FIG. 5A).

このようにして、ステップS23〜S31の処理が繰り返されて、原稿束読取ジョブのワークフロー番号で特定されるスキャン設定群の中の利用順が最後のスキャン設定による原稿Sの画像の読み取りが行われて、トレイ12に支持されている原稿Sがなくなると(S24:NO)、現在利用中のスキャン設定が最後のスキャン設定であるから(S25:YES)、CPU56は、読取原稿の枚数が最大ADF積載枚数を超えているかを判別する(S33)。   In this manner, the processes of steps S23 to S31 are repeated, and the image of the document S is read by the scan setting in which the use order is the last in the scan setting group specified by the workflow number of the document bundle reading job. When the document S supported on the tray 12 runs out (S24: NO), the scan setting currently in use is the last scan setting (S25: YES), so the CPU 56 determines that the maximum number of read documents is ADF. It is determined whether or not the number of stacked sheets is exceeded (S33).

読取原稿の枚数が最大ADF積載枚数を超えていない場合(S33:NO)、CPU56は、最後のスキャン設定の確認情報がスキャン設定を利用することの確認が必要であることを示すかを判別する(S34)。   When the number of read documents does not exceed the maximum ADF stack number (S33: NO), the CPU 56 determines whether the confirmation information of the last scan setting indicates that confirmation of using the scan setting is necessary. (S34).

次の順序のスキャン設定の確認情報がスキャン設定を利用することの確認が必要ではないことを示す場合(S34:NO)、CPU56は、原稿束読取処理を終了する。   When the confirmation information on the scan setting in the next order indicates that confirmation of using the scan setting is not necessary (S34: NO), the CPU 56 ends the document bundle reading process.

一方、次の順序のスキャン設定の確認情報がスキャン設定を利用することの確認が必要であることを示す場合(S34:YES)、CPU56は、トレイ12に原稿Sが継ぎ足しで支持されたかを判別する(S35)。   On the other hand, when the confirmation information on the scan setting in the next order indicates that it is necessary to confirm that the scan setting is to be used (S34: YES), the CPU 56 determines whether or not the document S is supported on the tray 12 by the addition. (S35).

トレイ12に支持されている原稿Sがなくなってから所定時間内に原稿Sが継ぎ足されない場合(S35:NO)、CPU56は、原稿束読取処理を終了する。
なお、外部装置に対して原稿束読取処理の終了を示す入力が行われ、その入力に応じて外部装置から原稿束読取処理の終了指示を受信した場合、トレイ12に支持されている原稿Sがなくなってから所定時間を待たずに、原稿束読取処理が終了されてもよい。画像読取装置1に各種の操作キーを備える操作部と液晶表示器などの表示部とが設けられている場合、原稿束読取処理の終了指示は、操作部に対する入力によって行われてもよい。
If the original S is not added within a predetermined time after the original S supported on the tray 12 is exhausted (S35: NO), the CPU 56 ends the original bundle reading process.
When an input indicating the end of the document bundle reading process is performed on the external apparatus and an instruction to end the document bundle reading process is received from the external apparatus in response to the input, the document S supported on the tray 12 is received. The document bundle reading process may be terminated without waiting for a predetermined time after the time has elapsed. When the image reading apparatus 1 is provided with an operation unit including various operation keys and a display unit such as a liquid crystal display, an instruction to end the document bundle reading process may be given by an input to the operation unit.

所定時間内にトレイ12に原稿Sが継ぎ足しで支持された場合には(S35:YES)、CPU56は、現在利用中の最後のスキャン設定のままにして(S36)、スキャン設定による原稿Sの画像の読み取りを画像読取部31,32に行わせる(S23)。その後は、ステップS23〜S25,S33〜S36の処理が実行される。   When the original S is supported on the tray 12 by adding within a predetermined time (S35: YES), the CPU 56 keeps the last scan setting currently in use (S36), and the image of the original S by the scan setting. Is read by the image reading units 31 and 32 (S23). Thereafter, the processes of steps S23 to S25 and S33 to S36 are executed.

<作用効果>
以上のように、原稿束読取ジョブの実行のため、RAM58には、原稿束読取ジョブで利用されるスキャン設定ごとに、その内容、スキャン設定が利用されるワークフローを特定するワークフロー番号およびワークフローでのスキャン設定の利用順が登録される。
<Effect>
As described above, in order to execute the document bundle reading job, the RAM 58 stores, for each scan setting used in the document bundle reading job, the contents, the workflow number for identifying the workflow in which the scan setting is used, and the workflow. The order of use of scan settings is registered.

原稿Sの画像の読取開始が指示されると、原稿束読取ジョブで利用されるスキャン設定の群に含まれる利用順「1」のスキャン設定がRAM58から読み出されて、利用順「1」のスキャン設定による原稿Sの画像の読み取りが開始される。トレイ12に支持されている原稿Sがなくなり、その空になったトレイ12に原稿Sが継ぎ足しで支持されると、利用順「1」のスキャン設定で画像が読み取られた原稿Sの枚数が所定枚数、つまりトレイ12に支持可能な枚数である最大ADF積載枚数以上であるかが判別される。そして、原稿Sの枚数が所定枚数未満であり、利用順「2」のスキャン設定の確認情報が確認不要を示す場合には、RAM58から利用順「1」の次の利用順「2」のスキャン設定が読み出され、その利用順「2」のスキャン設定を用いて、トレイ12に継ぎ足された原稿Sの画像が読み取られる。   When an instruction to start reading an image of the document S is instructed, the scan setting of the usage order “1” included in the group of scan settings used in the document bundle reading job is read from the RAM 58 and the usage order of “1”. Reading of the image of the document S by the scan setting is started. When there is no document S supported on the tray 12 and the document S is supported on the empty tray 12 by addition, the number of documents S on which images are read with the scan setting of use order “1” is predetermined. It is determined whether the number of sheets is equal to or greater than the maximum number of ADF sheets that can be supported on the tray 12. When the number of documents S is less than the predetermined number and the confirmation information of the scan setting in the usage order “2” indicates that confirmation is not required, the scan in the usage order “2” next to the usage order “1” is read from the RAM 58. The setting is read, and the image of the document S added to the tray 12 is read using the scan setting of the usage order “2”.

そのため、トレイ12に継ぎ足された原稿Sについてのスキャン設定を行う必要をなくすことができる。これにより、複数の原稿Sの画像をスキャン設定を切り替えながら読み取らせる際のユーザの手間を軽減することができる。   Therefore, it is possible to eliminate the need to perform scan settings for the document S added to the tray 12. As a result, it is possible to reduce the user's trouble when reading images of a plurality of documents S while switching scan settings.

利用順「1」のスキャン設定で画像が読み取られた原稿Sの枚数が所定枚数未満であり、利用順「2」のスキャン設定の確認情報が確認要を示す場合には、スキャン設定選択画面が外部装置のディスプレイに表示される。スキャン設定選択画面でスキャン設定が選択されると、そのスキャン設定を用いて、トレイ12に継ぎ足された原稿Sの画像が読み取られる。この場合、利用順「2」のスキャン設定がドロップダウンリストにデフォルトで表示されている。そのため、利用順「2」のスキャン設定を利用する場合に、その利用順「2」のスキャン設定をユーザが設定する手間を省略できる。   When the number of documents S from which images have been read with the scan setting of the usage order “1” is less than the predetermined number and the confirmation information of the scan setting of the usage order “2” indicates confirmation, the scan setting selection screen is displayed. Displayed on the display of the external device. When the scan setting is selected on the scan setting selection screen, the image of the document S added to the tray 12 is read using the scan setting. In this case, the scan setting of usage order “2” is displayed in the drop-down list by default. Therefore, when using the scan setting of the usage order “2”, it is possible to save the user from setting the scan setting of the usage order “2”.

一方、利用順「1」のスキャン設定で画像が読み取られた原稿Sの枚数が所定枚数以上である場合には、スキャン設定選択画面が外部装置のディスプレイに表示される。このスキャン設定選択画面でスキャン設定が選択されると、そのスキャン設定を用いて、トレイ12に継ぎ足された原稿Sの画像が読み取られる。この場合、ユーザが任意のスキャン設定を選択することができ、その選択したスキャン設定で原稿Sの画像を読み取らせることができる。   On the other hand, when the number of documents S from which images are read with the scan setting of the usage order “1” is equal to or greater than the predetermined number, a scan setting selection screen is displayed on the display of the external device. When the scan setting is selected on the scan setting selection screen, the image of the document S added to the tray 12 is read using the scan setting. In this case, the user can select an arbitrary scan setting, and the image of the document S can be read with the selected scan setting.

原稿束読取ジョブで利用されるスキャン設定の群に含まれるすべてのスキャン設定が原稿Sの画像の読み取りに利用され、かつ、最後のスキャン設定を用いて所定枚数以上の原稿Sの画像が読み取られた場合には、トレイ12に原稿Sが継ぎ足されても、スキャン設定が新たに設定されることなく、最後のスキャン設定を用いた原稿Sの読み取りが継続される。そのため、ユーザが原稿Sの画像の読み取りに利用するスキャン設定を選択する必要がなく、ユーザの手間を軽減することができる。   All the scan settings included in the scan setting group used in the document bundle reading job are used for reading the image of the document S, and more than a predetermined number of images of the document S are read using the last scan setting. In this case, even if the original S is added to the tray 12, the original S is read using the last scan setting without newly setting the scan setting. For this reason, it is not necessary for the user to select a scan setting to be used for reading an image of the document S, and the user's labor can be reduced.

<変形例>
以上、本発明の一実施形態について説明したが、本発明は、他の形態で実施することもできる。
<Modification>
As mentioned above, although one Embodiment of this invention was described, this invention can also be implemented with another form.

たとえば、前述の実施形態では、CPU56が各処理を実行する場合について説明した。しかしながら、制御部55が複数のCPUを備え、複数のCPUが協働して各処理を実行してもよい。   For example, in the above-described embodiment, the case where the CPU 56 executes each process has been described. However, the control unit 55 may include a plurality of CPUs, and the plurality of CPUs may cooperate to execute each process.

また、前述の実施形態では、画像読取装置の一例として、画像読取機能を有する単機能の画像読取装置1を取り上げたが、画像読取装置は、画像形成機能を含む複数の機能を有する複合機に組み込まれていてもよい。   In the above-described embodiment, the single-function image reading device 1 having an image reading function is taken up as an example of the image reading device. However, the image reading device is a multifunction device having a plurality of functions including an image forming function. It may be incorporated.

その他、前述の構成には、特許請求の範囲に記載された事項の範囲で種々の設計変更を施すことが可能である。   In addition, various design changes can be made to the above-described configuration within the scope of the matters described in the claims.

1:画像読取装置
12:トレイ
21:フィードローラ
22:リバースローラ
23:搬送ローラ対
24:排出ローラ対
31:第1画像読取部
32:第2画像読取部
56:CPU
58:RAM
S:原稿
1: Image reading device 12: Tray 21: Feed roller 22: Reverse roller 23: Conveying roller pair 24: Discharge roller pair 31: First image reading unit 32: Second image reading unit 56: CPU
58: RAM
S: Manuscript

Claims (9)

原稿を支持する原稿台と、
前記原稿台に支持された原稿を検出する検出部と、
前記原稿台から原稿を搬送する搬送部と、
前記搬送部により搬送される原稿の画像を読み取る読取部と、
記憶部と、
制御部と
を備え、
前記制御部は、
前記読取部による読み取りについての読取設定を他の読取設定と関連づけて、複数の読取設定を前記記憶部に登録する登録処理と、
原稿の画像の読取開始の指示を受け付ける第1受付処理と、
前記第1受付処理で前記読取開始の指示を受け付けたことに応じて、前記搬送部および前記読取部を制御して、前記記憶部に登録されている前記複数の読取設定のうちの1つである第1読取設定を用いて原稿の画像を読み取る第1読取処理と、
前記第1読取処理の開始後、前記検出部により原稿が一旦検出されなくなった後に再び検出されたかを判断する第1判断処理と、
前記第1判断処理で前記検出部により原稿が再び検出されたと判断したことに応じて、前記記憶部に登録されている前記複数の読取設定の中から前記第1読取設定に関連づけられた前記読取設定を、第2読取設定として特定する特定処理と、
前記搬送部および前記読取部を制御して、前記特定処理で特定された前記第2読取設定を用いて原稿の画像を読み取る第2読取処理とを実行する、画像読取装置。
A platen that supports the document,
A detection unit for detecting a document supported on the document table;
A transport unit for transporting a document from the document table;
A reading unit for reading an image of a document conveyed by the conveyance unit;
A storage unit;
A control unit,
The controller is
A registration process for registering a plurality of reading settings in the storage unit by associating reading settings for reading by the reading unit with other reading settings;
A first receiving process for receiving an instruction to start reading an image of a document;
In response to receiving the instruction to start reading in the first reception process, the conveyance unit and the reading unit are controlled, and one of the plurality of reading settings registered in the storage unit is used. A first reading process for reading an image of a document using a certain first reading setting;
A first determination process for determining after the start of the first reading process, whether or not the original is once detected by the detection unit;
The reading associated with the first reading setting from the plurality of reading settings registered in the storage unit in response to determining that the original is detected again by the detection unit in the first determination processing. A specifying process for specifying the setting as a second reading setting;
An image reading apparatus that controls the transport unit and the reading unit to execute a second reading process of reading an image of a document using the second reading setting specified in the specifying process.
請求項1に記載の画像読取装置であって、
前記制御部は、
前記第1判断処理の後、前記第1読取処理で画像を読み取った原稿の枚数が所定枚数以上であるかを判別する判別処理と、
前記判別処理によって原稿の枚数が所定枚数以上であると判別されたことに応じて、前記記憶部に登録されている前記複数の読取設定のうちの1つの読取設定の選択を受け付ける第2受付処理とを実行し、
前記判別処理で前記画像を読み取った原稿の枚数が所定枚数以上であると判別した場合、前記特定処理には、前記記憶部に登録されている前記複数の読取設定の中から前記第2受付処理で受け付けた選択が示す前記読取設定を、前記第2読取設定として特定する、画像読取装置。
The image reading apparatus according to claim 1,
The controller is
After the first determination process, a determination process for determining whether or not the number of documents read in the first reading process is a predetermined number or more;
Second acceptance processing for accepting selection of one reading setting among the plurality of reading settings registered in the storage unit when it is determined by the determination processing that the number of documents is equal to or more than a predetermined number. And run
When it is determined in the determination process that the number of originals read from the image is equal to or greater than a predetermined number, the specifying process includes the second reception process among the plurality of reading settings registered in the storage unit. An image reading device that identifies the reading setting indicated by the selection received in step 2 as the second reading setting.
請求項2に記載の画像読取装置であって、
前記制御部は、
前記登録処理において、前記読取設定を他の前記読取設定に対して順序づけて前記記憶部に登録し、
前記判別処理で前記画像を読み取った原稿の枚数が所定枚数未満であると判別した場合、前記特定処理において、前記記憶部に登録されている前記複数の読取設定の中から前記第1読取設定の次の順序の前記読取設定を、前記第2読取設定として特定する、画像読取装置。
The image reading apparatus according to claim 2,
The controller is
In the registration process, the reading settings are registered in the storage unit in order with respect to the other reading settings,
If it is determined that the number of originals from which the image has been read is less than a predetermined number in the determination process, the first reading setting is selected from the plurality of reading settings registered in the storage unit in the specifying process. An image reading apparatus that identifies the reading setting in the next order as the second reading setting.
請求項3に記載の画像読取装置であって、
前記制御部は、
前記登録処理において、前記読取設定を前記第2読取処理に用いることの確認を行うかを示す確認情報を前記読取設定のそれぞれに関連づけて前記記憶部に登録し、
前記第2受付処理は、さらに、前記判別処理で前記画像を読み取った原稿の枚数が所定枚数未満であると判別し、かつ、前記第1読取設定の次の順序の前記読取設定に関連づけられた前記確認情報が確認を行うことを示す場合、前記記憶部に登録されている前記複数の読取設定のうちの1つの読取設定の選択を受け付け、
前記特定処理は、前記判別処理で前記画像を読み取った原稿の枚数が所定枚数未満であると判別し、かつ、前記第1読取設定の次の順序の前記読取設定に関連づけられた前記確認情報が確認を行うことを示す場合、前記記憶部に登録されている前記複数の読取設定の中から前記第2受付部に受け付けられた操作に応じた前記読取設定を、前記第2読取設定として特定する、画像読取装置。
The image reading apparatus according to claim 3,
The controller is
In the registration process, confirmation information indicating whether to use the reading setting for the second reading process is registered in the storage unit in association with each of the reading settings,
The second reception process further determines that the number of originals from which the image has been read in the determination process is less than a predetermined number, and is associated with the reading setting in an order next to the first reading setting. When the confirmation information indicates that confirmation is performed, the selection of one of the plurality of reading settings registered in the storage unit is accepted;
The specifying process determines that the number of originals from which the image has been read in the determination process is less than a predetermined number, and the confirmation information associated with the reading setting in the order next to the first reading setting is When indicating confirmation, the reading setting corresponding to the operation received by the second receiving unit is specified as the second reading setting from the plurality of reading settings registered in the storage unit. Image reading device.
請求項4に記載の画像読取装置であって、
前記制御部は、
前記判別処理で前記画像を読み取った原稿の枚数が所定枚数未満であると判別し、かつ、前記第1読取設定の次の順序の前記読取設定に関連づけられた前記確認情報が確認を行うことを示す場合、前記第1読取設定の次の順序の前記読取設定が予め選択された状態で、前記記憶部に登録されている前記複数の読取設定の中から1つの前記読取設定を選択する選択画面を表示部に表示させる指示を出力する表示処理を実行し、
前記特定処理において、前記第2受付部に受け付けられる操作により前記選択画面上で選択された前記読取設定を、前記第2読取設定として特定する、画像読取装置。
The image reading apparatus according to claim 4,
The controller is
It is determined that the number of originals from which the image has been read in the determination processing is less than a predetermined number, and the confirmation information associated with the reading setting in the order next to the first reading setting is to confirm. A selection screen for selecting one reading setting from the plurality of reading settings registered in the storage unit in a state where the reading setting in the next order of the first reading setting is selected in advance. Execute the display process to output the instruction to display the
An image reading apparatus that identifies the reading setting selected on the selection screen by an operation received by the second receiving unit as the second reading setting in the specifying process.
請求項2〜5のいずれか一項に記載の画像読取装置であって、
前記所定枚数は、前記原稿台に支持可能な原稿の枚数として前記記憶部に予め登録された値である、画像読取装置。
An image reading apparatus according to any one of claims 2 to 5,
The image reading apparatus, wherein the predetermined number is a value registered in advance in the storage unit as the number of documents that can be supported on the document table.
請求項2〜6のいずれか一項に記載の画像読取装置であって、
前記制御部は、
前記第2読取処理の開始後、前記第1判断処理で前記検出部により原稿が再び検出されたと判断した場合、前記特定処理において、前記記憶部に登録されている前記複数の読取設定の中から前記第2読取設定に関連づけられた前記読取設定を、新たな第2読取設定として特定し、
前記第1読取設定に直接に関連づけられた前記読取設定および他の前記読取設定を介して間接に関連付けられた前記読取設定のすべてが前記第2読取処理に用いられたことを判断する第2判断処理を実行し、
前記第2判断処理で前記第1読取設定に直接または間接に関連づけられた前記読取設定のすべてが前記第2読取処理に用いられたと判断し、かつ、最近の前記第2読取処理で画像を読み取った原稿の枚数が前記所定枚数以上である場合、前記特定処理を新たに実行しない、画像読取装置。
The image reading apparatus according to any one of claims 2 to 6,
The controller is
After starting the second reading process, when it is determined in the first determining process that the document is detected again by the detecting unit, the specifying process selects one of the plurality of reading settings registered in the storage unit. Identifying the reading setting associated with the second reading setting as a new second reading setting;
A second determination for determining that all of the reading settings directly associated with the first reading setting and the reading settings indirectly associated with the other reading settings have been used in the second reading process; Execute the process,
In the second determination process, it is determined that all of the reading settings that are directly or indirectly related to the first reading setting are used in the second reading process, and an image is read in the recent second reading process. An image reading apparatus that does not newly execute the specific process when the number of originals exceeds the predetermined number.
原稿を支持する原稿台と、
前記原稿台に支持された原稿を検出する検出部と、
前記原稿台から原稿を搬送する搬送部と、
前記搬送部により搬送される原稿の画像を読み取る読取部と、
記憶部と、
制御部と
を備える画像読取装置で実行される画像読取方法であって、
前記制御部が、
前記読取部による読み取りについての読取設定を他の読取設定と関連づけて、複数の読取設定を前記記憶部に登録する登録処理と、
原稿の画像の読取開始の指示を受け付ける第1受付処理と、
前記第1受付処理で前記読取開始の指示を受け付けたことに応じて、前記搬送部および前記読取部を制御して、前記記憶部に登録されている前記複数の読取設定のうちの1つである第1読取設定を用いて原稿の画像を読み取る第1読取処理と、
前記第1読取処理の開始後、前記検出部により原稿が一旦検出されなくなった後に再び検出されたかを判断する第1判断処理と、
前記第1判断処理で前記検出部により原稿が再び検出されたと判断したことに応じて、前記記憶部に登録されている前記複数の読取設定の中から前記第1読取設定に関連づけられた前記読取設定を、第2読取設定として特定する特定処理と、
前記搬送部および前記読取部を制御して、前記特定処理で特定された前記第2読取設定を用いて原稿の画像を読み取る第2読取処理とを実行する、画像読取方法。
A platen that supports the document,
A detection unit for detecting a document supported on the document table;
A transport unit for transporting a document from the document table;
A reading unit for reading an image of a document conveyed by the conveyance unit;
A storage unit;
An image reading method executed by an image reading apparatus including a control unit,
The control unit is
A registration process for registering a plurality of reading settings in the storage unit by associating reading settings for reading by the reading unit with other reading settings;
A first receiving process for receiving an instruction to start reading an image of a document;
In response to receiving the instruction to start reading in the first reception process, the conveyance unit and the reading unit are controlled, and one of the plurality of reading settings registered in the storage unit is used. A first reading process for reading an image of a document using a certain first reading setting;
A first determination process for determining after the start of the first reading process, whether or not the original is once detected by the detection unit;
The reading associated with the first reading setting from the plurality of reading settings registered in the storage unit in response to determining that the original is detected again by the detection unit in the first determination processing. A specifying process for specifying the setting as a second reading setting;
An image reading method for controlling the conveyance unit and the reading unit to execute a second reading process of reading an image of a document using the second reading setting specified in the specifying process.
原稿を支持する原稿台と、
前記原稿台に支持された原稿を検出する検出部と、
前記原稿台から原稿を搬送する搬送部と、
前記搬送部により搬送される原稿の画像を読み取る読取部と、
記憶部と
を備える画像読取装置のコンピュータにインストールされるプログラムであって、
前記コンピュータに、
前記読取部による読み取りについての読取設定を他の読取設定と関連づけて、複数の読取設定を前記記憶部に登録する登録処理と、
原稿の画像の読取開始の指示を受け付ける第1受付処理と、
前記第1受付処理で前記読取開始の指示を受け付けたことに応じて、前記搬送部および前記読取部を制御して、前記記憶部に登録されている前記複数の読取設定のうちの1つである第1読取設定を用いて原稿の画像を読み取る第1読取処理と、
前記第1読取処理の開始後、前記検出部により原稿が一旦検出されなくなった後に再び検出されたかを判断する第1判断処理と、
前記第1判断処理で前記検出部により原稿が再び検出されたと判断したことに応じて、前記記憶部に登録されている前記複数の読取設定の中から前記第1読取設定に関連づけられた前記読取設定を、第2読取設定として特定する特定処理と、
前記搬送部および前記読取部を制御して、前記特定処理で特定された前記第2読取設定を用いて原稿の画像を読み取る第2読取処理とを実行させる、プログラム。
A platen that supports the document,
A detection unit for detecting a document supported on the document table;
A transport unit for transporting a document from the document table;
A reading unit for reading an image of a document conveyed by the conveyance unit;
A program installed in a computer of an image reading apparatus including a storage unit,
In the computer,
A registration process for registering a plurality of reading settings in the storage unit by associating reading settings for reading by the reading unit with other reading settings;
A first receiving process for receiving an instruction to start reading an image of a document;
In response to receiving the instruction to start reading in the first reception process, the conveyance unit and the reading unit are controlled, and one of the plurality of reading settings registered in the storage unit is used. A first reading process for reading an image of a document using a certain first reading setting;
A first determination process for determining after the start of the first reading process, whether or not the original is once detected by the detection unit;
The reading associated with the first reading setting from the plurality of reading settings registered in the storage unit in response to determining that the original is detected again by the detection unit in the first determination processing. A specifying process for specifying the setting as a second reading setting;
A program that controls the conveyance unit and the reading unit to execute a second reading process of reading an image of a document using the second reading setting specified in the specifying process.
JP2017073303A 2017-03-31 2017-03-31 Image reading apparatus, image reading method, and program Pending JP2018174513A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017073303A JP2018174513A (en) 2017-03-31 2017-03-31 Image reading apparatus, image reading method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017073303A JP2018174513A (en) 2017-03-31 2017-03-31 Image reading apparatus, image reading method, and program

Publications (1)

Publication Number Publication Date
JP2018174513A true JP2018174513A (en) 2018-11-08

Family

ID=64107877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017073303A Pending JP2018174513A (en) 2017-03-31 2017-03-31 Image reading apparatus, image reading method, and program

Country Status (1)

Country Link
JP (1) JP2018174513A (en)

Similar Documents

Publication Publication Date Title
JP6332081B2 (en) Reading apparatus and image forming apparatus provided with the same
JP6033257B2 (en) Document reader, document reader control method, program, and storage medium
JP5230373B2 (en) Image reading apparatus and image forming apparatus
US9981817B2 (en) Image forming apparatus that changes over paper feeding stages
US11172087B2 (en) Multifunction machine, image scanning apparatus, control method for multifunction machine, and computer readable storage medium, that controls conveyance of a document on the basis of the thickness of the document
JP2018093328A (en) Image reader and method of controlling image reader
JP2015030220A (en) Printing device, information processing device, printing device control method, and program
EP2611132B1 (en) Image forming apparatus to which portable storage medium can be connected
JP5478975B2 (en) Image reading apparatus, image reading apparatus control method, and program
JP2021158631A (en) Image reading device, image reading system, image reading control method, and program
US8854649B2 (en) Non-transitory computer-readable medium storing information processing program, information processing apparatus, and information processing method
JP2017017660A (en) Image reading device, method for controlling image reading device, and program
JP4725753B2 (en) Image processing device
JP2016010094A (en) Image reading apparatus
JP2011157211A (en) Operating device and image forming device
JP2018174513A (en) Image reading apparatus, image reading method, and program
US11720299B2 (en) Printing apparatus, control method for the printing apparatus, and storage medium for controlling a copy process
JP6587463B2 (en) Document reader, document reader control method, and program
JP7022318B2 (en) Programs and information processing equipment
JP2011082814A (en) Image forming device
JP6957296B2 (en) Image processing device and control method of image processing device, and program
JP5077383B2 (en) Image reading device
JP2018101844A (en) Image reading apparatus and image forming apparatus
JP2005073036A (en) Double-side reading system
US20140153059A1 (en) Facsimile apparatus capable of performing division printing of document, method of controlling the same, and storage medium