JP5534078B2 - Control device and program - Google Patents

Control device and program Download PDF

Info

Publication number
JP5534078B2
JP5534078B2 JP2013071537A JP2013071537A JP5534078B2 JP 5534078 B2 JP5534078 B2 JP 5534078B2 JP 2013071537 A JP2013071537 A JP 2013071537A JP 2013071537 A JP2013071537 A JP 2013071537A JP 5534078 B2 JP5534078 B2 JP 5534078B2
Authority
JP
Japan
Prior art keywords
scan
format
resolution
scanning direction
data
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.)
Active
Application number
JP2013071537A
Other languages
Japanese (ja)
Other versions
JP2013153521A (en
Inventor
貞明 宮崎
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 JP2013071537A priority Critical patent/JP5534078B2/en
Publication of JP2013153521A publication Critical patent/JP2013153521A/en
Application granted granted Critical
Publication of JP5534078B2 publication Critical patent/JP5534078B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、原稿をスキャンするスキャン実行部を制御する技術に関する。   The present invention relates to a technique for controlling a scan execution unit that scans a document.

通常、スキャナ装置は、ユーザによってスキャン解像度が設定されると、該スキャン解像度に従ってスキャンを実行する。
また、特許文献1では、原稿をスキャンしてプリンタで印刷する場合(すなわちコピーする場合)のスキャン解像度と、スキャンによって得られたデータをホームページへ貼り付ける場合のスキャン解像度と、はそれぞれ予め決定されており、予め決定されたスキャン解像度に基づいてスキャンを実行する技術が開示されている。
Normally, when a scan resolution is set by a user, the scanner device performs a scan according to the scan resolution.
In Patent Document 1, the scan resolution when scanning a document and printing it with a printer (that is, when copying) and the scan resolution when pasting data obtained by scanning on a home page are determined in advance. A technique for performing a scan based on a predetermined scan resolution is disclosed.

特開平11−252328号公報JP-A-11-252328

ところで、従来では、スキャン解像度の設定が適切でない場合があった。本発明は、上述した問題点を解決するためになされたものであり、適切なスキャン解像度でスキャン実行部にスキャンを実行させるための技術を提供することを目的とする。   By the way, conventionally, the setting of the scan resolution may not be appropriate. SUMMARY An advantage of some aspects of the invention is that it provides a technique for causing a scan execution unit to execute a scan at an appropriate scan resolution.

この目的を達成するために、本発明の第1の装置は、原稿をスキャンするスキャン実行部を制御するための制御装置であって、スキャンで得られるべきデータのフォーマットが、第1のフォーマットであるか、前記第1のフォーマットと異なる第2のフォーマットであるか、を判断するフォーマット判断手段と、前記データのフォーマットに応じてスキャン解像度を決定し、前記スキャン実行部に前記スキャン解像度でスキャンを実行させるスキャン制御手段であって、前記データのフォーマットが前記第1のフォーマットであると判断された第1の場合に、前記スキャン解像度を第1のスキャン解像度に決定し、前記データのフォーマットが前記第2のフォーマットであると判断された第2の場合に、前記スキャン解像度を第2のスキャン解像度に決定するスキャン制御手段とを備えることを特徴とする。
この構成により、スキャンで得られるべきデータのフォーマットに応じて、異なるスキャン解像度でスキャンを実行することができるため、フォーマットに応じた適切な解像度でスキャンを実行することができる。
In order to achieve this object, a first device of the present invention is a control device for controlling a scan execution unit that scans a document, and the format of data to be obtained by scanning is the first format. A format determination means for determining whether the second format is different from the first format, a scan resolution is determined according to the format of the data, and the scan execution unit scans with the scan resolution. Scan control means to be executed, wherein in the first case where the format of the data is determined to be the first format, the scan resolution is determined as the first scan resolution, and the format of the data is If the second format is determined to be the second format, the scan resolution is set to the second scan. Characterized in that it comprises a scan control unit for determining the Zodo.
With this configuration, scanning can be performed with different scanning resolutions according to the format of data to be obtained by scanning, and therefore scanning can be performed with appropriate resolutions according to the format.

また、上記の装置において、前記第2のスキャン解像度は、主走査方向の値と、該主走査方向の値と異なる副走査方向の値と、を含むこととしてもよい。   In the above apparatus, the second scan resolution may include a value in the main scanning direction and a value in the sub scanning direction different from the value in the main scanning direction.

また、上記の装置において、前記第1のスキャン解像度は、主走査方向の値と、該主走査方向の値と同じ副走査方向の値を含むこととしてもよい。   In the above apparatus, the first scan resolution may include a value in the main scanning direction and a value in the sub-scanning direction that is the same as the value in the main scanning direction.

また、上記の装置において、前記第2のスキャン解像度の副走査方向の値は、前記第1のスキャン解像度の副走査方向の値より小さいこととしてもよい。
この構成により、スキャンで得られるべきデータのフォーマットが第2のフォーマットである場合は、第1のフォーマットである場合に比べて、副走査方向の解像度を小さくすることができる。
In the above apparatus, the value of the second scan resolution in the sub-scanning direction may be smaller than the value of the first scan resolution in the sub-scanning direction.
With this configuration, when the format of data to be obtained by scanning is the second format, the resolution in the sub-scanning direction can be reduced as compared with the case of the first format.

また、上記の装置において、前記第2のスキャン解像度の主走査方向の値は、前記第1のスキャン解像度の主走査方向の値より大きいこととしてもよい。
この構成により、第2のフォーマットにおいて、例えば、副走査方向の解像度を第1のフォーマットよりも小さくし、かつ主走査方向の解像度を第1のフォーマットよりも大きくしてスキャンを実行すれば、副走査方向の解像度を小さくすることができると共に、主走査方向について画質を高めることができる。
In the above apparatus, the value of the second scan resolution in the main scanning direction may be larger than the value of the first scan resolution in the main scanning direction.
With this configuration, in the second format, for example, if scanning is performed with a resolution in the sub-scanning direction smaller than that in the first format and a resolution in the main scanning direction larger than that in the first format, The resolution in the scanning direction can be reduced, and the image quality can be improved in the main scanning direction.

また、上記の装置において、前記第1のスキャン解像度の主走査方向の値と副走査方向の値の積と、前記第2のスキャン解像度の主走査方向の値と副走査方向の値の積と、が同じ値であることが好ましい。
この構成により、スキャンで得られるべきデータのフォーマットが第1のフォーマットであると判断された場合と第2のフォーマットであると判断された場合とで、同等のスキャン解像度で、スキャン実行部にスキャンを実行させることができる。
In the above apparatus, the product of the value in the main scanning direction and the value in the sub-scanning direction of the first scan resolution, and the product of the value in the main scanning direction and the value in the sub-scanning direction of the second scan resolution Are preferably the same value.
With this configuration, the scan execution unit scans with the same scan resolution when it is determined that the format of the data to be obtained by scanning is the first format and when the format is determined to be the second format. Can be executed.

また、上記の装置において、前記スキャン制御手段は、前記データのフォーマットが前記第2のフォーマットであると判断された前記第2の場合において、前記データを生成する際における光学文字認識の実行が指示されているか否かを判断する光学文字認識判断手段を備え、前記スキャン制御手段は、前記光学文字認識の実行が指示されていると判断された場合に、前記スキャン解像度を前記第1のスキャン解像度に決定し、前記光学文字認識の実行が指示されていないと判断された場合に、前記スキャン解像度を前記第2のスキャン解像度に決定することが好ましい。
この構成により、第2の場合において、光学文字認識の実行が指示されていない場合に、第1のスキャン解像度と異なる第2のスキャン解像度で、スキャン実行部にスキャンを実行させることができる。
In the above apparatus, the scan control unit instructs execution of optical character recognition when generating the data in the second case where the format of the data is determined to be the second format. Optical character recognition determination means for determining whether the optical character recognition is instructed, and when the execution of the optical character recognition is instructed, the scan control means determines the scan resolution as the first scan resolution. When it is determined that execution of the optical character recognition is not instructed, it is preferable that the scan resolution is determined as the second scan resolution.
According to this configuration, in the second case, when the execution of optical character recognition is not instructed, the scan execution unit can execute the scan at the second scan resolution different from the first scan resolution.

また、上記の装置において、前記スキャン実行部は、第1の速度モードと、前記第1の速度モードよりも高速にスキャンを実行する第2の速度モードと、を含む複数の速度モードに従って動作可能であり、前記スキャン制御手段は、さらに、前記データのフォーマットが前記第2のフォーマットであると判断された前記第2の場合において、前記複数の速度モードのうちのいずれの速度モードが選択されているかを判断する速度モード判断手段を備え、前記スキャン制御手段は、前記第1の速度モードが選択されていると判断された場合に、前記スキャン解像度を前記第1のスキャン解像度に決定し、前記第2の速度モードが選択されていると判断された場合に、前記スキャン解像度を前記第2のスキャン解像度に決定することが好ましい。
この構成により、第2の場合において、高速にスキャンを実行する第2の速度モードが選択された場合に、第1のスキャン解像度と異なる第2のスキャン解像度で、スキャン実行部にスキャンを実行させることができる。
Further, in the above apparatus, the scan execution unit can operate according to a plurality of speed modes including a first speed mode and a second speed mode for executing a scan at a higher speed than the first speed mode. The scan control means further selects one of the plurality of speed modes in the second case where the format of the data is determined to be the second format. Speed mode determining means for determining whether or not the scan control means determines the scan resolution as the first scan resolution when it is determined that the first speed mode is selected, and Preferably, when it is determined that the second speed mode is selected, the scan resolution is determined as the second scan resolution.
With this configuration, in the second case, when the second speed mode for executing the scan at high speed is selected, the scan execution unit is caused to execute the scan at the second scan resolution different from the first scan resolution. be able to.

また、上記の装置において、前記第1のフォーマットは、画像フォーマットを含むこととしてもよい。
この構成により、スキャンで得られるべきデータのフォーマットが、画像フォーマットである場合に、第1のスキャン解像度でスキャンを実行させることができる。
In the above apparatus, the first format may include an image format.
With this configuration, when the format of data to be obtained by scanning is an image format, scanning can be executed at the first scanning resolution.

また、上記の装置において、前記第2のフォーマットは、ドキュメントフォーマットを含むこととしてもよい。
この構成により、スキャンで得られるべきデータのフォーマットが、ドキュメントフォーマットである場合に、第2のスキャン解像度でスキャンを実行させることができる。
In the above apparatus, the second format may include a document format.
With this configuration, when the format of data to be obtained by scanning is a document format, scanning can be executed at the second scanning resolution.

なお、この発明は、制御装置及び制御装置によって実行される方法、これらの方法また
は装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体等の種々の態様で実現することができる。
The present invention can be realized in various modes such as a control device, a method executed by the control device, a computer program for realizing the function of the method or device, and a recording medium on which the computer program is recorded. it can.

本実施形態におけるスキャナ装置の構成を示すブロック図。FIG. 2 is a block diagram illustrating a configuration of a scanner device according to the present embodiment. JPEG形式のデータ構造の概略を示す図。The figure which shows the outline of the data structure of a JPEG format. PDF形式のデータ構造の概略を示す図。The figure which shows the outline of the data structure of a PDF format. 画像フォーマットと、ドキュメントフォーマットと、の特徴の違いを示す図。The figure which shows the difference in the characteristics of an image format and a document format. ユーザが設定する設定解像度と、実際にスキャン実行部がスキャンするスキャン解像度との対応関係を示す図。The figure which shows the correspondence of the setting resolution which a user sets, and the scanning resolution which a scan execution part actually scans. スキャン処理全体を表すフローチャート。The flowchart showing the whole scanning process. 出力するデータのフォーマットをユーザに選択させるための画面を示す図。The figure which shows the screen for making a user select the format of the data to output. 出力するデータの解像度をユーザに選択させるための画面を示す図。The figure which shows the screen for making a user select the resolution of the data to output. 光学文字認識を実行するか否かをユーザに選択させるための画面を示す図。The figure which shows the screen for making a user select whether to perform optical character recognition. 高速でスキャンを実行するか否かをユーザに選択させるための画面を示す図。The figure which shows the screen for making a user select whether to perform a scan at high speed.

以下、本発明の実施の形態について以下の順序で説明する。
A.第1実施例:
A−1.スキャナ装置の構成:
A−2.フォーマットの概要:
A−2−1.画像フォーマット:
A−2−2.ドキュメントフォーマット:
A−2−3.フォーマット間の特徴の違い:
A−2−4.フォーマットと解像度の対応関係:
A−3.スキャン処理:
B.他の実施例:
Hereinafter, embodiments of the present invention will be described in the following order.
A. First embodiment:
A-1. Configuration of the scanner device:
A-2. Format overview:
A-2-1. Image format:
A-2-2. Document format:
A-2-3. Differences in features between formats:
A-2-4. Correspondence between format and resolution:
A-3. Scan process:
B. Other examples:

A.第1実施例:
A−1.スキャナ装置の構成:
図1は、本実施形態におけるスキャナ装置20の概略図を表すブロック図である。
A. First embodiment:
A-1. Configuration of the scanner device:
FIG. 1 is a block diagram illustrating a schematic diagram of a scanner device 20 according to the present embodiment.

スキャナ装置20は、CPU21、RAM22、NVRAM23、スキャン実行部24、表示部25、メモリ装着部26、操作部27、ネットワークインターフェース28を備えており、各々が内部バスで互いに接続されている。   The scanner device 20 includes a CPU 21, a RAM 22, an NVRAM 23, a scan execution unit 24, a display unit 25, a memory mounting unit 26, an operation unit 27, and a network interface 28, which are connected to each other via an internal bus.

CPU21は、スキャナ装置20の動作を制御する。本実施例では、NVRAM23は、出力されるべきデータの複数のフォーマットに関するフォーマット情報と、原稿をスキャンする制御を行うスキャンプログラムと、を記憶している。CPU21は、NVRAM23に記憶されているスキャンプログラムを読み出してRAM22に格納し、該スキャンプログラムを実行する。これにより、CPU21は、スキャナ装置20によるスキャンを制御することができる。   The CPU 21 controls the operation of the scanner device 20. In this embodiment, the NVRAM 23 stores format information relating to a plurality of formats of data to be output and a scan program for performing control for scanning a document. The CPU 21 reads the scan program stored in the NVRAM 23, stores it in the RAM 22, and executes the scan program. Thereby, the CPU 21 can control scanning by the scanner device 20.

CPU21は、スキャンプログラムに従ってスキャン実行部24に原稿をスキャンさせ、スキャンによって得られたデータをRAM22に格納する。メモリ装着部26は、USBメモリ等の可搬型メモリをスキャナ装置に差し込むための差込口である。ユーザはメモリ装着部26に可搬型メモリを挿入してCPU21に可搬型メモリを認識させることで、RAM22に格納されているデータを可搬型メモリに転送させることができる。なお、ス
キャナ装置20が印刷部を有する場合は、CPU21は、RAM22に格納されているデータに基づく印刷イメージを印刷部で生成させ、印刷出力させる構成としてもよい。また、スキャナ装置20は、ネットワークインターフェース28と接続されたLAN(ローカルエリアネットワーク)30を介して、RAM22に格納されているデータを、ネットワーク上の他のデバイスに転送させる構成としてもよい。
The CPU 21 causes the scan execution unit 24 to scan the document according to the scan program, and stores the data obtained by the scan in the RAM 22. The memory mounting unit 26 is an insertion port for inserting a portable memory such as a USB memory into the scanner device. The user can transfer the data stored in the RAM 22 to the portable memory by inserting the portable memory into the memory mounting unit 26 and causing the CPU 21 to recognize the portable memory. When the scanner device 20 includes a printing unit, the CPU 21 may generate a print image based on data stored in the RAM 22 and print it out. Further, the scanner device 20 may be configured to transfer data stored in the RAM 22 to other devices on the network via a LAN (local area network) 30 connected to the network interface 28.

スキャン実行部24は、原稿台の上に置かれた原稿のデータを読み取るためのセンサを複数個有する読み取りバーと、当該読み取りバーを駆動させるための駆動部と、を備える。CPU21は、読み取りバーの駆動する速度を制御することができる。なお、これに代えて、スキャン実行部24は、読み取りバーと、原稿を搬送する搬送部を備えてもよい。   The scan execution unit 24 includes a reading bar having a plurality of sensors for reading data of a document placed on the document table, and a driving unit for driving the reading bar. The CPU 21 can control the speed at which the reading bar is driven. Alternatively, the scan execution unit 24 may include a reading bar and a conveyance unit that conveys the document.

表示部25は、パネルを備えており、各種の画面を表示する。本実施例では、ユーザは、操作部27を操作することによって、表示部25の項目を選択する。なお、表示部25は、タッチパネルであってもよい。この場合、表示部25は操作部27としても機能し、ユーザは表示部25に表示された画面内の一部の領域に触れることによって、項目を選択する。   The display unit 25 includes a panel and displays various screens. In the present embodiment, the user selects items on the display unit 25 by operating the operation unit 27. The display unit 25 may be a touch panel. In this case, the display unit 25 also functions as the operation unit 27, and the user selects an item by touching a partial area in the screen displayed on the display unit 25.

A−2.フォーマットの概要:
本実施例のスキャナ装置20では、CPU21がスキャン実行部24にスキャンさせる際に、ユーザは、スキャンによって得られるデータのフォーマットを指定することができる。フォーマットは、画像フォーマットと、ドキュメントフォーマットと、の2種類に大別される。画像フォーマットは、JPEG(Joint Photographic Experts Group)形式やTIFF(Tagged Image File Format)形式である。ドキュメントフォーマットは、PDF(Portable Document Format)形式やXPS(XML Paper Specification)形式である。ユーザは、スキャンを実行する際に、操作部27を操作することによって、4つの形式の中から、どの形式で出力することを所望するかを指定することができる。
A-2. Format overview:
In the scanner device 20 of this embodiment, when the CPU 21 causes the scan execution unit 24 to scan, the user can specify the format of data obtained by scanning. Formats are roughly classified into two types: image formats and document formats. The image format is a JPEG (Joint Photographic Experts Group) format or a TIFF (Tagged Image File Format) format. The document format is a PDF (Portable Document Format) format or an XPS (XML Paper Specification) format. When executing the scan, the user can specify which format is desired to be output from among the four formats by operating the operation unit 27.

A−2−1.画像フォーマット:
図2は、JPEG形式のデータ構造の概略を示す図である。図2に記載したように、JPEG形式は、ヘッダ部D1とボディ部D2とを含む。なお、TIFF形式も同様の構造である。
A-2-1. Image format:
FIG. 2 is a diagram showing an outline of a data structure in JPEG format. As described in FIG. 2, the JPEG format includes a header part D1 and a body part D2. The TIFF format has the same structure.

ヘッダ部D1は、画像データの解像度の情報を含む。該解像度の情報は、縦方向解像度(dpi)、及び横方向解像度(dpi)の2つの情報を含む。また、ボディ部D2はJPEG形式で圧縮された画像データを含む。JPEG形式では、ボディ部D2内の画像データが、ヘッダ部D1に含まれる縦方向解像度と横方向解像度とで表示される。   The header part D1 includes information on the resolution of the image data. The resolution information includes two pieces of information: vertical resolution (dpi) and horizontal resolution (dpi). The body part D2 includes image data compressed in the JPEG format. In the JPEG format, the image data in the body part D2 is displayed with the vertical resolution and the horizontal resolution included in the header part D1.

なお、JPEG形式のデータがスキャナ装置20によって得られる場合、縦方向はスキャナ装置20における副走査方向に対応し、横方向はスキャナ装置20における主走査方向に対応する。CPU21は、ヘッダ部D1に含まれる解像度の情報に従ってスキャン実行部24にスキャンを実行させ、スキャンして得られた画像データをボディ部D2に格納する。   When data in JPEG format is obtained by the scanner device 20, the vertical direction corresponds to the sub-scanning direction in the scanner device 20, and the horizontal direction corresponds to the main scanning direction in the scanner device 20. The CPU 21 causes the scan execution unit 24 to execute a scan according to the resolution information included in the header part D1, and stores the image data obtained by the scan in the body part D2.

A−2−2.ドキュメントフォーマット:
図3は、PDF形式の構造の概略を示す図である。図3に記載したように、PDF形式は、開始コマンドD3、ボディ部D4、及び終了コマンドD5の3つの部分を含む。なお、XPS形式も同様の構造である。
A-2-2. Document format:
FIG. 3 is a diagram showing an outline of the structure of the PDF format. As described in FIG. 3, the PDF format includes three parts: a start command D3, a body part D4, and an end command D5. The XPS format has a similar structure.

開始コマンドD3には、図2のヘッダ部D1に相当するPDFコマンドが記憶されている。該PDFコマンドは、表示位置を指定する情報と、倍率を指定する情報と、を含む。表示位置を指定する情報は、JPEG形式の画像データを、PDFファイル内のどの位置に配置させるかを指定する情報を含む。また、倍率を指定する情報は、PDFファイルを表示する際に、縦方向と横方向とをそれぞれ何倍して表示するかを指定する情報を含む。例えば、縦方向に2倍し、横方向に1倍するといった情報を含む。また、ボディ部D4にはJPEG形式の画像データを含む。すなわち、ボディ部D4には、縦方向と横方向との解像度の情報と、JPEG形式で圧縮された画像データと、を含む。また、終了コマンドD5には、JPEG形式の画像データの終端を表す情報を含むPDFコマンドが記憶される。なお、PDF形式は、JPEG形式と異なり、複数のページを構成することができるフォーマットである。   In the start command D3, a PDF command corresponding to the header part D1 in FIG. 2 is stored. The PDF command includes information specifying a display position and information specifying a magnification. The information for designating the display position includes information for designating in which position in the PDF file the image data in JPEG format is to be arranged. Further, the information for designating the magnification includes information for designating how many times the vertical direction and the horizontal direction are to be displayed when the PDF file is displayed. For example, it includes information such as doubling in the vertical direction and doubling in the horizontal direction. The body portion D4 includes image data in JPEG format. That is, the body part D4 includes resolution information in the vertical direction and the horizontal direction, and image data compressed in the JPEG format. In addition, in the end command D5, a PDF command including information indicating the end of image data in JPEG format is stored. Note that, unlike the JPEG format, the PDF format is a format that can form a plurality of pages.

なお、PDF形式のデータがスキャナ装置20によって得られる場合、開始コマンドD3内の倍率を指定する情報は、スキャン実行部24がスキャンを実行する前に、ユーザが操作部27を操作することによって指定した設定解像度の値が含まれる。また、表示位置を指定する情報は、スキャン実行部24がスキャンを実行した後に、スキャンで得られたJPEG形式の画像データの縦方向及び横方向の大きさに従って含まれる。また、終了コマンドD5に記憶されるPDFコマンドは、スキャン実行部24がスキャンを実行した後に書き込まれる。   When the PDF format data is obtained by the scanner device 20, the information specifying the magnification in the start command D3 is specified by the user operating the operation unit 27 before the scan execution unit 24 executes the scan. The set resolution value is included. The information specifying the display position is included according to the vertical and horizontal sizes of the image data in JPEG format obtained by the scan after the scan execution unit 24 executes the scan. Further, the PDF command stored in the end command D5 is written after the scan execution unit 24 executes the scan.

A−2−3.画像フォーマットとドキュメントフォーマットの相違点
画像フォーマットとドキュメントフォーマットの特徴の相違点について説明する。図4は、画像フォーマットであるJPEG形式及びTIFF形式と、ドキュメントフォーマットであるPDF形式及びXPS形式と、の倍率変更の可否についてまとめた図である。
A-2-3. Differences Between Image Format and Document Format Differences between the image format and the document format will be described. FIG. 4 is a table summarizing whether or not the magnification can be changed between the JPEG format and TIFF format, which are image formats, and the PDF format and XPS format, which are document formats.

ここで、画像フォーマット(例えばJPEG形式)のデータを表示するための第1種のアプリケーションプログラムの特徴と、ドキュメントフォーマット(例えばPDF形式)のデータを表示するための第2種のアプリケーションプログラムの特徴と、について説明する。   Here, the characteristics of the first type application program for displaying data in an image format (for example, JPEG format) and the characteristics of a second type of application program for displaying data in a document format (for example, PDF format) Will be described.

通常の第1種のアプリケーションプログラムは、画像フォーマットを有する画像データを表示する際に、画像データの倍率を変更することなく、画像を表示する。このため、通常の第1種のアプリケーションプログラムは、仮に、画像フォーマットを有する画像データの縦方向解像度と横方向解像度とが異なっていた場合、歪んだ画像を表示してしまう。   The normal first type application program displays an image without changing the magnification of the image data when displaying the image data having the image format. For this reason, the normal first-type application program displays a distorted image if the vertical resolution and the horizontal resolution of image data having an image format are different.

ただし、特定の第1種のアプリケーションプログラムは、画像フォーマットを有する画像データの縦方向解像度と横方向解像度とが異なっていても、正しい画像を表示することができる。例えば、JPEG形式のデータのヘッダ部D1に、縦方向解像度300dpi,横方向解像度600dpiが記述されている場合を想定する。特定の第1種のアプリケーションプログラムは、縦方向解像度および横方向解像度に基づいて、縦方向2倍、横方向1倍でJPEG圧縮済データを拡大して表示することができる。   However, the specific first type application program can display a correct image even if the vertical resolution and the horizontal resolution of the image data having the image format are different. For example, it is assumed that a vertical resolution of 300 dpi and a horizontal resolution of 600 dpi are described in the header portion D1 of JPEG format data. The specific first type application program can display the JPEG compressed data in the vertical direction twice and the horizontal direction one time based on the vertical direction resolution and the horizontal direction resolution.

しかしながら、通常の第1種のアプリケーションプログラムは、縦方向解像度と横方向解像度とが異なるにも関わらず、JPEG圧縮済みデータを拡大せずに表示してしまう。このため、本実施例では、画像フォーマットであるJPEG形式、及びTIFF形式のデータを生成すべき場合には、主走査方向の解像度と、副走査方向の解像度と、を同じ値で設定してスキャン実行部24にスキャンを実行させている。   However, the normal first-type application program displays the JPEG-compressed data without enlarging, although the vertical resolution and the horizontal resolution are different. For this reason, in this embodiment, when data in the JPEG format and TIFF format, which are image formats, is to be generated, scanning is performed by setting the resolution in the main scanning direction and the resolution in the sub scanning direction to the same value. The execution unit 24 performs scanning.

一方、通常の第2種のアプリケーションプログラムは、ドキュメントフォーマットを有する画像データを表示する際に、画像データの倍率を変更して、画像を表示することがで
きる。このため、通常の第2種のアプリケーションプログラムは、仮に、ドキュメントフォーマットを有するデータ内のJPEG圧縮済データの縦方向解像度と横方向解像度とが異なっていても、正しい画像を表示することができる。例えば、PDFファイル内のJPEG形式のデータのヘッダ部D1に、縦方向解像度300dpi,横方向解像度600dpiが記述されている場合を想定する。通常の第2種のアプリケーションプログラムは、開始コマンドD3内の倍率指定情報に基づいて、縦方向2倍,横方向1倍でJPEG圧縮済データを拡大して表示することができる。
On the other hand, the normal second type application program can display an image by changing the magnification of the image data when displaying the image data having the document format. Therefore, the normal second type application program can display a correct image even if the vertical resolution and the horizontal resolution of the JPEG compressed data in the data having the document format are different. For example, a case is assumed in which a vertical resolution of 300 dpi and a horizontal resolution of 600 dpi are described in the header portion D1 of JPEG format data in a PDF file. The normal second type application program can display JPEG-compressed data enlarged in the vertical direction twice and in the horizontal direction based on the magnification designation information in the start command D3.

A−2−4.フォーマットと解像度の対応関係:
図5は、ユーザによって設定される設定解像度と、スキャン実行部24のスキャン解像度と、の対応関係を示す。なお、本実施例では、スキャン解像度とは、スキャン実行部24によってスキャンが実行される際の光学解像度を意味する。
A-2-4. Correspondence between format and resolution:
FIG. 5 shows a correspondence relationship between the set resolution set by the user and the scan resolution of the scan execution unit 24. In the present embodiment, the scan resolution means the optical resolution when the scan is executed by the scan execution unit 24.

図5において、表5Aは画像フォーマットとして出力する際の、ユーザが行う設定解像度と、スキャン実行部24がスキャンを実行する際のスキャン解像度と、の対応表である。本実施例では、前述したように、通常の第1種のアプリケーションに対応するため、画像フォーマットは、主走査方向の解像度と、副走査方向の解像度と、を同じ値で設定してスキャン実行部24にスキャンを実行させる。従って、ユーザによって設定される設定解像度の欄に示した解像度の値と、実際にスキャンを実行する際の主走査方向の解像度及び副走査方向の解像度は同じである。例えば、ユーザによって、設定解像度として150dpiが設定された場合は、CPU21は、スキャン実行部24に対し、主走査方向の解像度150dpi、副走査方向の解像度150dpiでスキャンを実行するよう指示する。他の設定解像度の値である300dpi、600dpi、及び1200dpiに関しても同様に、CPU21は、主走査方向の解像度と副走査方向の解像度とが同じ値でスキャンを実行するようスキャン実行部24に指示する。   In FIG. 5, Table 5A is a correspondence table between the setting resolution performed by the user when outputting as an image format and the scan resolution when the scan execution unit 24 executes a scan. In this embodiment, as described above, in order to support the normal first type application, the image format is set to the same value for the resolution in the main scanning direction and the resolution in the sub-scanning direction. 24 causes the scan to be executed. Accordingly, the resolution value shown in the set resolution column set by the user is the same as the resolution in the main scanning direction and the resolution in the sub-scanning direction when the scan is actually executed. For example, when 150 dpi is set as the setting resolution by the user, the CPU 21 instructs the scan execution unit 24 to execute scanning at a resolution of 150 dpi in the main scanning direction and a resolution of 150 dpi in the sub-scanning direction. Similarly, for other setting resolution values of 300 dpi, 600 dpi, and 1200 dpi, the CPU 21 instructs the scan execution unit 24 to execute the scan with the same resolution in the main scanning direction and the resolution in the sub scanning direction. .

表5Bは光学文字認識(以下OCR)が実行されるドキュメントフォーマットの対応表である。後述するように、CPU21によってOCRが実行されるドキュメントフォーマットは、文字が正確に認識される必要があるため、高品質のデータが出力されるべきであると考えられる。従って、本実施例では、OCRを実行するドキュメントフォーマットにおける設定解像度とスキャン解像度との対応関係は、画像フォーマットにおける該対応関係と同様とする。すなわち、CPU21は、ユーザに設定される設定解像度の値と、実際にスキャンを実行する際の主走査方向の解像度及び副走査方向の解像度とが同じ値でスキャンを実行するようスキャン実行部24に指示する。   Table 5B is a correspondence table of document formats in which optical character recognition (hereinafter referred to as OCR) is executed. As will be described later, in the document format in which the OCR is executed by the CPU 21, since it is necessary to accurately recognize characters, it is considered that high quality data should be output. Therefore, in this embodiment, the correspondence relationship between the set resolution and the scan resolution in the document format for executing OCR is the same as the correspondence relationship in the image format. That is, the CPU 21 instructs the scan execution unit 24 to execute the scan with the same value as the resolution value set by the user and the resolution in the main scanning direction and the resolution in the sub-scanning direction when actually executing the scan. Instruct.

表5CはOCRが実行されないドキュメントフォーマットの対応表を示している。前述したように、ドキュメントフォーマットを表示するための通常の第2種のアプリケーションプログラムは、ドキュメントフォーマットを有する画像データを表示する際に、画像データの倍率を変更して、画像を表示することができる。そのため、実際にスキャン実行部24がスキャンを実行する際のスキャン解像度は、主走査方向の解像度と副走査方向の解像度とが異なる値であることが許容される。   Table 5C shows a correspondence table of document formats in which OCR is not executed. As described above, the normal second type application program for displaying the document format can display the image by changing the magnification of the image data when displaying the image data having the document format. . Therefore, the scan resolution when the scan execution unit 24 actually executes the scan is allowed to have different values for the resolution in the main scanning direction and the resolution in the sub-scanning direction.

OCRが実行されないドキュメントフォーマットにおいては、表5Cの「高速600dpi相当」の欄に示したように、CPU21は、主走査方向の解像度と、主走査方向の解像度と異なる副走査方向の解像度でスキャンを実行させることができる。この場合、スキャン実行部24がスキャンを実行する主走査方向の解像度と副走査方向の解像度との組み合わせとして好ましいのは、主走査方向の解像度と副走査方向の解像度との積が、ユーザに設定された設定解像度の値の2乗になることである。すなわち、主走査方向の解像度と副走査方向の解像度は、以下の式を満たすことが好ましい。
L×M = X … (式1)
(ただし、L:スキャン実行部24がスキャンを実行する際の主走査方向の解像度、M:スキャン実行部24がスキャンを実行する際の副走査方向の解像度、X:ユーザに設定された設定解像度の値)。
In a document format in which OCR is not executed, as shown in the column “High-speed 600 dpi” in Table 5C, the CPU 21 scans with a resolution in the main scanning direction and a resolution in the sub-scanning direction different from the resolution in the main scanning direction. Can be executed. In this case, the combination of the resolution in the main scanning direction and the resolution in the sub-scanning direction in which the scan execution unit 24 executes the scan is preferably set by the product of the resolution in the main scanning direction and the resolution in the sub-scanning direction. It is to become the square of the value of the set resolution. That is, it is preferable that the resolution in the main scanning direction and the resolution in the sub scanning direction satisfy the following expressions.
L × M = X 2 (Formula 1)
(However, L: resolution in the main scanning direction when the scan execution unit 24 executes the scan, M: resolution in the sub-scanning direction when the scan execution unit 24 executes the scan, X: set resolution set by the user) The value of the).

例えば、ユーザに設定された設定解像度の値が「600dpi」であった場合は、X=360,000となる。そのため、主走査方向の解像度Lを「1200dpi」とする場合は、副走査方向の解像度は「300dpi」でNVRAM23に記憶されていることが好ましい。このように設定されることで、CPU21は、ユーザの所望する同等の解像度でデータを出力させることができる。 For example, when the set resolution value set by the user is “600 dpi”, X 2 = 360,000. Therefore, when the resolution L in the main scanning direction is “1200 dpi”, the resolution in the sub-scanning direction is preferably “300 dpi” and stored in the NVRAM 23. By setting in this way, the CPU 21 can output data at an equivalent resolution desired by the user.

上記のように、画像フォーマットとドキュメントフォーマットは、ユーザによって設定される設定解像度の値が同じ値であっても、実際にスキャン実行部24がスキャンを実行する際は、主走査方向の解像度と副走査方向の解像度とを異なる値でスキャンを実行させることができる。   As described above, the image format and the document format have the same resolution and sub-resolution in the main scanning direction when the scan execution unit 24 actually executes the scan even if the set resolution value set by the user is the same value. Scanning can be executed with a value different from the resolution in the scanning direction.

なお、本実施例では、後述する図6のフローチャートにおけるS114の処理において、ユーザが高速でスキャンを実行することを所望した場合は、CPU21は、スキャン解像度の主走査方向の解像度を「1200dpi」とし、副走査方向の解像度を「300dpi」として、スキャンを実行させる。一方、ユーザが高速でスキャンを実行することを所望しない場合は、CPU21は、スキャン解像度の主走査方向の解像度を「600dpi」とし、副走査方向の解像度を「600dpi」として、スキャンを実行させる。   In this embodiment, in the process of S114 in the flowchart of FIG. 6 to be described later, when the user desires to execute scanning at high speed, the CPU 21 sets the resolution of the scan resolution in the main scanning direction to “1200 dpi”. The scan is executed with the resolution in the sub-scanning direction set to “300 dpi”. On the other hand, when the user does not desire to perform scanning at high speed, the CPU 21 performs scanning by setting the resolution of the scanning resolution in the main scanning direction to “600 dpi” and the resolution in the sub-scanning direction to “600 dpi”.

ここで、本実施例において、高速でスキャンを実行する場合は、CPU21は、スキャン実行部24に設けられた読み取りバーの移動速度を速める。これによって、高速でスキャンを実行する場合は、高速でスキャンを実行しない場合に比べて、スキャンの実行時間を短縮することができる。   Here, in this embodiment, when the scan is executed at a high speed, the CPU 21 increases the moving speed of the reading bar provided in the scan execution unit 24. As a result, when the scan is executed at high speed, the scan execution time can be shortened compared to when the scan is not executed at high speed.

なお、本実施例では、図5の表5Cに示したように、ユーザに設定される設定解像度の値が「600dpi」の場合のみ、CPU21は主走査方向の解像度と副走査方向の解像度とが異なる値でスキャンを実行させることを記載したが、別の構成であってもよい。例えば、他の設定解像度の値である300dpi、600dpi、及び1200dpiの値のうち、1または複数の設定解像度の値でも、予めNVRAM23に、主走査方向の解像度と、主走査方向の解像度と異なる副走査方向の解像度との情報を記憶させておいてもよい。   In this embodiment, as shown in Table 5C of FIG. 5, only when the setting resolution value set by the user is “600 dpi”, the CPU 21 determines the resolution in the main scanning direction and the resolution in the sub scanning direction. Although scanning with different values has been described, another configuration may be used. For example, one or a plurality of setting resolution values among 300 dpi, 600 dpi, and 1200 dpi values, which are other setting resolution values, are stored in advance in the NVRAM 23 in a sub-scan that differs from the resolution in the main scanning direction and the resolution in the main scanning direction. Information on the resolution in the scanning direction may be stored.

A−3.スキャン処理:
次に、本実施例で実行されるスキャン処理について説明を行う。図6は、本実施例におけるスキャン処理の流れを示すフローチャートである。
A-3. Scan process:
Next, the scanning process executed in this embodiment will be described. FIG. 6 is a flowchart showing the flow of scan processing in this embodiment.

図6のスキャン処理は、ユーザが操作部27を操作することによって、スキャンの実行を所望する指示をCPU21が受けたことにより開始される。   The scan process in FIG. 6 is started when the CPU 21 receives an instruction to execute a scan by operating the operation unit 27 by the user.

CPU21は、スキャンの実行を所望する指示が行われたことを確認する(S102)。このとき、CPU21は、図7に示す選択画面SC7を表示部25に出力する。なお、選択画面SC7は、NVRAM23に記憶されているフォーマット情報を読み出すことによって生成される。   The CPU 21 confirms that an instruction for performing the scan has been issued (S102). At this time, the CPU 21 outputs a selection screen SC7 shown in FIG. The selection screen SC7 is generated by reading the format information stored in the NVRAM 23.

図示するように、選択画面SC7には、出力可能なデータ形式が複数列挙されている。本実施例では、画像フォーマットであるJPEG形式、及びTIFF形式と、ドキュメントフォーマットであるPDF形式、及びXPS形式と、の4種類の形式が列挙されている
。ユーザは、操作部27を操作することによって、列挙された複数の形式の中から、スキャンの実行によって生成されるデータの形式を指定する。ユーザが操作部27を操作すると、CPU21は、スキャンによって得られるべきデータの形式がユーザによって指定されたことを確認する(S104)。なお、指定されたデータ形式を特定する情報は、RAM22に記憶される。
As shown in the figure, the selection screen SC7 lists a plurality of data formats that can be output. In the present embodiment, four types of formats are listed: a JPEG format and a TIFF format that are image formats, and a PDF format and an XPS format that are document formats. The user operates the operation unit 27 to specify the format of data generated by executing the scan from the plurality of listed formats. When the user operates the operation unit 27, the CPU 21 confirms that the data format to be obtained by scanning is designated by the user (S104). Information specifying the designated data format is stored in the RAM 22.

ユーザによってデータ形式が指定されると、続いてCPU21は、図8に示す選択画面SC8を表示部25に出力する。図示するように、選択画面SC8には、スキャン解像度の数値が複数列挙されている。本実施例では、選択画面SC8には、150dpi、300dpi、600dpi、及び1200dpiの4つの項目が列挙されている。   When the data format is designated by the user, the CPU 21 subsequently outputs a selection screen SC8 shown in FIG. As shown in the figure, the selection screen SC8 lists a plurality of scan resolution values. In this embodiment, the selection screen SC8 lists four items of 150 dpi, 300 dpi, 600 dpi, and 1200 dpi.

なお、予めNVRAM23には、データ形式と、複数のスキャン解像度の数値と、が関連付けられて記憶されている。CPU21は、S104においてユーザが指定したデータの形式に関連付けられた複数の解像度の数値を読み出す。その後、CPU21は、該複数の解像度の数値をリスト化した選択画面SC8を生成する。   The NVRAM 23 stores in advance data formats and a plurality of scan resolution values in association with each other. The CPU 21 reads numerical values of a plurality of resolutions associated with the data format designated by the user in S104. Thereafter, the CPU 21 generates a selection screen SC8 that lists the numerical values of the plurality of resolutions.

ユーザは、操作部27を操作することによって、列挙された項目の中から、所望するスキャン解像度の値を、設定解像度の値として設定する。ユーザが操作部27を操作することによって、CPU21は、スキャンによって得られるべきデータの解像度が設定されたことを確認する(S106)。なお、CPU21は、スキャン解像度として設定された値を、RAM22に記憶させる。   The user operates the operation unit 27 to set a desired scan resolution value as a set resolution value from among the listed items. When the user operates the operation unit 27, the CPU 21 confirms that the resolution of data to be obtained by scanning is set (S106). Note that the CPU 21 stores the value set as the scan resolution in the RAM 22.

S106でユーザによって設定解像度の値が設定されると、続いてCPU21は、ユーザによって指定されたフォーマットが、JPEG形式もしくはTIFF形式であるか、またはPDF形式もしくはXPS形式であるか、を特定する(S108)。具体的には、CPU21は、S104でユーザに指定されたフォーマットをRAM22に記憶させておき、該フォーマットの情報をRAM22から読み出す。   When the setting resolution value is set by the user in S106, the CPU 21 specifies whether the format designated by the user is the JPEG format or the TIFF format, or the PDF format or the XPS format ( S108). Specifically, the CPU 21 stores the format designated by the user in S104 in the RAM 22, and reads out information on the format from the RAM 22.

S108において、指定されたフォーマットがJPEG形式もしくはTIFF形式であると特定された場合は、CPU21は、S106においてユーザに設定された設定解像度の値を読み込む(S128)。なお、設定解像度の値は、RAM22に記憶されている。   If it is determined in S108 that the specified format is the JPEG format or the TIFF format, the CPU 21 reads the value of the set resolution set by the user in S106 (S128). Note that the value of the set resolution is stored in the RAM 22.

CPU21は、該設定解像度の値と対応付けられている主走査方向の解像度と、副走査方向の解像度と、をスキャン解像度として設定する。例えば、SC8の中から、「600dpi」としてスキャンすることがユーザによって指定された場合は、CPU21は、主走査方向の解像度を「600dpi」、副走査方向の解像度を「600dpi」に設定する。なお、設定解像度と対応付けられているスキャン解像度は、NVRAM23に記憶されている。   The CPU 21 sets the resolution in the main scanning direction and the resolution in the sub-scanning direction, which are associated with the set resolution value, as the scanning resolution. For example, when the user designates scanning from SC8 as “600 dpi”, the CPU 21 sets the resolution in the main scanning direction to “600 dpi” and the resolution in the sub-scanning direction to “600 dpi”. The scan resolution associated with the set resolution is stored in the NVRAM 23.

続いてCPU21は、主走査方向の解像度と、副走査方向の解像度と、を図2のヘッダ部D1に書きこむ(S130)。その後、CPU21は、スキャン実行部24に対し、D1に書き込まれたスキャン解像度でスキャンを実行することを命令する(S132)。最後に、CPU21は、画像データの終端位置を示すコマンドをスキャンデータの終端に付加して(S134)、図6のスキャン処理を終了する。   Subsequently, the CPU 21 writes the resolution in the main scanning direction and the resolution in the sub-scanning direction in the header part D1 of FIG. 2 (S130). Thereafter, the CPU 21 instructs the scan execution unit 24 to execute the scan with the scan resolution written in D1 (S132). Finally, the CPU 21 adds a command indicating the end position of the image data to the end of the scan data (S134), and ends the scan process of FIG.

一方、S108において、ユーザによって指定されたフォーマットがPDF形式もしくはXPS形式であると特定された場合は、CPU21は、図9に示す選択画面SC9を表示部25に出力する。図示するように、選択画面SC9には、スキャンデータを出力する際、CPU21にOCRの実行を行わせるか否かの選択肢が列挙されている。ユーザは、操作部27を操作することによって、所望する処理が実行される選択肢を選択する。その
後、CPU21は、OCRの実行をユーザが所望するか否かを判断する(S110)。
On the other hand, if it is determined in S108 that the format specified by the user is the PDF format or the XPS format, the CPU 21 outputs the selection screen SC9 shown in FIG. As shown in the figure, the selection screen SC9 lists options for whether or not the CPU 21 performs OCR when outputting scan data. The user operates the operation unit 27 to select an option for executing a desired process. Thereafter, the CPU 21 determines whether or not the user desires to perform OCR (S110).

OCRの実行が所望されたと判断された場合は、CPU21は、S106においてユーザに設定された設定解像度の値を読み込む(S122)。CPU21は、読み出した設定解像度の値と対応付けられている主走査方向の解像度と、副走査方向の解像度と、をスキャン解像度として設定する。なお、設定解像度と対応付けられているスキャン解像度は、NVRAM23に記憶されている。   When it is determined that the execution of OCR is desired, the CPU 21 reads the value of the set resolution set by the user in S106 (S122). The CPU 21 sets the resolution in the main scanning direction and the resolution in the sub-scanning direction, which are associated with the read setting resolution value, as the scanning resolution. The scan resolution associated with the set resolution is stored in the NVRAM 23.

続いてCPU21は、S122で読み込まれた主走査方向の解像度と、副走査方向の解像度と、を図3のボディ部D4内の縦方向解像度と横方向解像度の情報として書き込む(S124)。また、CPU21は、図3の開始コマンドD3のPDFコマンドにおける倍率指定の情報に、縦方向の倍率の値と、該倍率の値と同じ値である横方向の倍率の値とを書き込む(S126)。例えば、縦方向の倍率を1倍、横方向の倍率を1倍といった値を書き込む。その後、CPU21は、スキャン実行部24に対し、ボディ部D4に書き込まれたスキャン解像度でスキャンを実行することを命令する(S132)。最後に、CPU21は、表示位置指定の情報を開始コマンドD3に書き込むとともに、画像データの終端位置を示すコマンドをスキャンデータの終端に付加して(S134)、図6のスキャン処理を終了する。なお、詳細な処理の説明は省略するが、S132の処理が終了した後、ボディ部D4に格納されるためのJPEG圧縮済データに対して、CPU21によるOCRが実行される。   Subsequently, the CPU 21 writes the resolution in the main scanning direction and the resolution in the sub scanning direction read in S122 as information on the vertical resolution and the horizontal resolution in the body part D4 in FIG. 3 (S124). Further, the CPU 21 writes the vertical magnification value and the horizontal magnification value, which is the same value as the magnification value, in the magnification designation information in the PDF command of the start command D3 in FIG. 3 (S126). . For example, a value such as 1 in the vertical direction and 1 in the horizontal direction is written. Thereafter, the CPU 21 instructs the scan execution unit 24 to execute the scan with the scan resolution written in the body part D4 (S132). Finally, the CPU 21 writes the display position designation information in the start command D3, adds a command indicating the end position of the image data to the end of the scan data (S134), and ends the scan process of FIG. Although detailed description of the processing is omitted, after the processing of S132 is completed, OCR is executed by the CPU 21 on the JPEG compressed data to be stored in the body part D4.

S110において、OCRの実行が所望されなかったと判断された場合は、CPU21は、S106でユーザが指定した設定解像度の値で、高速でスキャンを実行できるか否かを特定する(S112)。具体的には、CPU21は、ユーザが指定した設定解像度の値と関連付けられている主走査方向の解像度よりも、副走査方向の解像度のほうが小さい値であるか否かを特定する。   If it is determined in S110 that the execution of OCR is not desired, the CPU 21 specifies whether or not the scan can be executed at high speed with the set resolution value designated by the user in S106 (S112). Specifically, the CPU 21 specifies whether or not the resolution in the sub-scanning direction is smaller than the resolution in the main scanning direction associated with the setting resolution value designated by the user.

S112において、S106で指定された設定解像度の値で、高速でスキャンを実行できない場合は、前述した処理と同様にして、S122、S124、S126、S132、及びS134の処理が実行される。ただし、本場合では、OCRは実行されない。   In S112, when the scan cannot be executed at a high speed with the setting resolution value designated in S106, the processes of S122, S124, S126, S132, and S134 are executed in the same manner as described above. However, in this case, OCR is not executed.

一方、S112において、S106で指定された設定解像度の値で、高速でスキャンを実行できる場合は、CPU21は、図10に示す選択画面SC10を表示部25に出力する。図示するように、選択画面SC10には、スキャンを実行する際、スキャン実行部24に高速でスキャンを実行させるか否かの選択肢が列挙されている。ユーザは、操作部27を操作することによって、所望する処理が実行される選択肢を選択する。CPU21は、ユーザが高速でスキャンを実行することを所望するか否かを判断する(S114)。   On the other hand, in S112, when the scan can be executed at a high speed with the setting resolution value designated in S106, the CPU 21 outputs the selection screen SC10 shown in FIG. As shown in the figure, the selection screen SC10 lists options for whether or not to cause the scan execution unit 24 to execute a scan at high speed when executing a scan. The user operates the operation unit 27 to select an option for executing a desired process. The CPU 21 determines whether or not the user desires to perform scanning at high speed (S114).

ユーザが高速でスキャンを実行することを所望しなかったと判断された場合は、前述した処理と同様にして、S122、S124、S126、S132、及びS134の処理が実行される。ただし、本場合では、OCRは実行されない。   If it is determined that the user does not desire to execute scanning at high speed, the processes of S122, S124, S126, S132, and S134 are executed in the same manner as described above. However, in this case, OCR is not executed.

一方、S114で、ユーザが高速でスキャンを実行することを所望したと判断された場合は、CPU21は、S106においてユーザに指定された設定解像度の値を読み込む(S116)。なお、RAM22には、主走査方向の解像度と、該解像度とは異なる値である副走査方向の解像度と、が記憶されている。   On the other hand, if it is determined in S114 that the user desires to perform scanning at high speed, the CPU 21 reads the value of the setting resolution designated by the user in S106 (S116). Note that the RAM 22 stores a resolution in the main scanning direction and a resolution in the sub-scanning direction, which is a value different from the resolution.

続いてCPU21は、S116で読み込まれた主走査方向の解像度と、副走査方向の解像度と、を図3のボディ部D4内の縦方向解像度と横方向解像度の情報として書き込む(S118)。同時に、CPU21は、図3の開始コマンドD3のPDFコマンドにおける
倍率指定の情報に、後述する式(2)を満たす値で、縦方向の倍率と、横方向の倍率と、の値を書き込む(S120)。
P:Q = 1/M:1/L … 式(2)
(ただし、P:縦方向の倍率、Q:横方向の倍率、M:副走査方向の解像度、L:主走査方向の解像度、)。
Subsequently, the CPU 21 writes the resolution in the main scanning direction and the resolution in the sub scanning direction read in S116 as information on the vertical resolution and the horizontal resolution in the body part D4 in FIG. 3 (S118). At the same time, the CPU 21 writes the values of the vertical magnification and the horizontal magnification to the magnification designation information in the PDF command of the start command D3 in FIG. ).
P: Q = 1 / M: 1 / L Expression (2)
(Where P: vertical magnification, Q: horizontal magnification, M: sub-scanning resolution, L: main-scanning resolution).

例えば、本実施例の場合は、CPU21は、高速でスキャンを実行する場合、主走査方向の解像度Lを「1200dpi」、副走査方向の解像度Mを「300dpi」としてスキャン実行部24にスキャンを実行させることとしている。従って、CPU21は、主走査方向の倍率Pを1倍、副走査方向の倍率Qを4倍として開始コマンドD3に書き込む。なお、書き込まれるPとQの値は、互いに素の関係を満たすことが望ましい。   For example, in the case of this embodiment, the CPU 21 executes the scan to the scan execution unit 24 with the resolution L in the main scanning direction set to “1200 dpi” and the resolution M in the sub-scanning direction set to “300 dpi” when executing the scan at high speed. I am going to let you. Accordingly, the CPU 21 writes the start command D3 with the magnification P in the main scanning direction being 1 and the magnification Q in the sub-scanning direction being 4 times. It should be noted that the values of P and Q to be written preferably satisfy a prime relationship.

その後、CPU21は、スキャン実行部24に対し、RAM22に記憶されたスキャン解像度で、読み取りバーの移動速度を速めてスキャンを実行することを命令する(S132)。最後に、CPU21は、表示位置指定の情報を開始コマンドD3に書き込むとともに、画像データの終端位置を示すコマンドをスキャンデータの終端に付加して(S134)、図6のスキャン処理を終了する。   Thereafter, the CPU 21 instructs the scan execution unit 24 to execute the scan with the scan resolution stored in the RAM 22 at a higher moving speed of the reading bar (S132). Finally, the CPU 21 writes the display position designation information in the start command D3, adds a command indicating the end position of the image data to the end of the scan data (S134), and ends the scan process of FIG.

以上の説明において、CPU21によって実行されるスキャンプログラムのうち、図6のS102からS106が本発明のフォーマット判断手段によって実行される処理に相当する。また、図6のS132、S134がスキャン制御手段によって実行される処理に相当する。また、図6のS110が光学文字判断手段によって実行される処理に相当する。また、図6のS112、S114が速度モード判断手段によって実行される処理に相当する。   In the above description, among the scan programs executed by the CPU 21, S102 to S106 in FIG. 6 correspond to the processing executed by the format determining means of the present invention. Further, S132 and S134 in FIG. 6 correspond to processing executed by the scan control means. Moreover, S110 of FIG. 6 is equivalent to the process performed by the optical character determination means. Further, S112 and S114 in FIG. 6 correspond to the processing executed by the speed mode determination means.

以上説明したように、本実施例のスキャナ装置は、出力するデータのフォーマットがJPEG形式もしくはTIFF形式であるか、またはPDF形式もしくはXPS形式であるか、を判断する。判断の結果、JPEG形式もしくはTIFF形式であると判断された場合は、スキャナ装置は、主走査方向の解像度と副走査方向の解像度とを同じ値でスキャンを実行する。一方で、PDF形式もしくはXPS形式であると判断された場合は、スキャナ装置は、主走査方向の解像度と副走査方向の解像度とを異なる値でスキャンを実行する。さらに、PDF形式もしくはXPS形式である場合は、本実施例のスキャナ装置は、図9及び図10に示したように、OCRを実行されず、かつ高速でスキャンを実行することがユーザに選択された場合に、主走査方向の解像度と副走査方向の解像度とを異なる値でスキャンを実行することができる。このように、本実施例では、スキャナ装置は、出力するデータのフォーマットがJPEG形式もしくはTIFF形式であるか、またはPDF形式もしくはXPS形式であるか、に応じて、異なるスキャン解像度でスキャンを実行することができるため、フォーマットに応じた適切な解像度でスキャンを実行することができる。   As described above, the scanner device of this embodiment determines whether the format of data to be output is the JPEG format or the TIFF format, or the PDF format or the XPS format. As a result of the determination, if it is determined that the format is the JPEG format or the TIFF format, the scanner device performs a scan with the same value for the resolution in the main scanning direction and the resolution in the sub-scanning direction. On the other hand, if it is determined that the format is the PDF format or the XPS format, the scanner device performs scanning with different values for the resolution in the main scanning direction and the resolution in the sub-scanning direction. Further, in the case of the PDF format or the XPS format, as shown in FIGS. 9 and 10, the user selects that the scanner apparatus of this embodiment does not perform OCR and performs scanning at high speed. In this case, the scan can be executed with different values for the resolution in the main scanning direction and the resolution in the sub-scanning direction. As described above, in this embodiment, the scanner device performs scanning with different scanning resolutions depending on whether the format of the output data is JPEG format or TIFF format, or PDF format or XPS format. Therefore, the scan can be executed with an appropriate resolution according to the format.

B.他の実施例:
(1)上記実施例では、S104においてPDF形式もしくはXPS形式が選択された場合は、CPU21は、スキャン実行部24に、主走査方向の解像度と副走査方向の解像度とを異なる値でスキャンを実行させることを記載したが、別の構成であってもよい。すなわち、PDF形式もしくはXPS形式が選択された場合であっても、CPU21がスキャン実行部24に主走査方向の解像度と副走査方向の解像度とを同じ値としてスキャンを実行させる構成であってもよい。例えば、JPEG形式もしくはTIFF形式では主走査方向の解像度の値を150dpiとし、主走査方向の解像度の値を150dpiとしてスキャンが実行されるのに対し、PDF形式もしくはXPS形式であっても、主走査方向の解像度を300dpiとし、副走査方向の解像度を300dpiとしてスキャンを実行し
てもよい。
B. Other examples:
(1) In the above embodiment, when the PDF format or XPS format is selected in S104, the CPU 21 causes the scan execution unit 24 to scan with different values for the resolution in the main scanning direction and the resolution in the sub scanning direction. However, another configuration may be used. That is, even when the PDF format or the XPS format is selected, the CPU 21 may cause the scan execution unit 24 to perform scanning with the same resolution in the main scanning direction and the same resolution in the sub scanning direction. . For example, in the JPEG format or the TIFF format, scanning is executed with the resolution value in the main scanning direction set to 150 dpi and the resolution value in the main scanning direction set to 150 dpi, whereas in the PDF format or the XPS format, the main scanning is performed. The scanning may be executed with the resolution in the direction set to 300 dpi and the resolution in the sub-scanning direction set to 300 dpi.

一般には、第2のスキャン解像度が、第1のスキャン解像度と異なればよい。   In general, the second scan resolution may be different from the first scan resolution.

(2)上記実施例では、S104においてJPEG形式もしくはTIFF形式が選択された場合は、CPU21は、主走査方向の解像度と副走査方向の解像度とを同じ値でスキャンを実行させる構成としているが、別の構成であってもよい。すなわち、使用予定のアプリケーションプログラムが、図2に示すヘッダ部D1に記述される縦方向解像度と横方向解像度との情報をもとに、上記の式(2)を満たすように倍率を変更して出力させることができる場合には、JPEG形式もしくはTIFF形式が選択された場合でも、主走査方向の解像度と副走査方向の解像度とを異なる値でスキャンすることをユーザに選択させる構成としてもよい。例えば、主走査方向の解像度は、副走査方向の解像度よりも大きい値であってもよい。   (2) In the above embodiment, when the JPEG format or the TIFF format is selected in S104, the CPU 21 is configured to execute scanning with the same resolution in the main scanning direction and in the sub scanning direction. Another configuration may be used. That is, the application program to be used changes the magnification so as to satisfy the above equation (2) based on the information on the vertical resolution and the horizontal resolution described in the header part D1 shown in FIG. In the case where the data can be output, even when the JPEG format or the TIFF format is selected, the user may select to scan with different values for the resolution in the main scanning direction and the resolution in the sub-scanning direction. For example, the resolution in the main scanning direction may be larger than the resolution in the sub scanning direction.

(3)上記実施例では、S106でユーザによって「600dpi」のスキャン解像度が選択された際、CPU21は、主走査方向の解像度を1200dpi、副走査方向の解像度を300dpiでスキャンを実行させているが、他の値の組み合わせであってもよい。例えば、読み取りバーに備えられるセンサがより高解像度でスキャンを実行することができる場合は、CPU21は、主走査方向の解像度を例えば2400dpi、副走査方向の解像度を例えば150dpiで、スキャンを実行させてもよい。   (3) In the above embodiment, when the scan resolution of “600 dpi” is selected by the user in S106, the CPU 21 executes the scan at a resolution of 1200 dpi in the main scanning direction and a resolution of 300 dpi in the sub-scanning direction. Any other combination of values may be used. For example, when the sensor provided in the reading bar can perform scanning at a higher resolution, the CPU 21 causes the scanning to be performed at a resolution in the main scanning direction of, for example, 2400 dpi and a resolution in the sub-scanning direction of, for example, 150 dpi. Also good.

さらに、S104においてPDF形式もしくはXPS形式が選択された場合、上記実施例では、式(1)を満たすように主走査方向の解像度と副走査方向の解像度とを設定しているが、別の構成であってもよい。例えば、さらなる高速でのスキャンが所望される場合は、副走査のスキャン解像度を、式(1)で算出される値より小さな値としてもよい。また、さらなる高品質でのスキャンが所望される場合は、主走査方向の解像度を、式(1)で算出される値より大きな値としてもよい。   Further, when the PDF format or the XPS format is selected in S104, in the above embodiment, the resolution in the main scanning direction and the resolution in the sub scanning direction are set so as to satisfy Expression (1). It may be. For example, when scanning at a higher speed is desired, the scan resolution of the sub-scan may be set to a value smaller than the value calculated by Expression (1). In addition, when scanning with higher quality is desired, the resolution in the main scanning direction may be set to a value larger than the value calculated by Equation (1).

(4)上記実施例では、S104においてPDF形式もしくはXPS形式が選択された場合であって、かつ、OCRが実行されることをユーザが所望した場合は、主走査方向の解像度と副走査方向の解像度とを同じ値としてスキャンを実行させている。しかしながら、これに代えて、異なる値でスキャンを実行させてもよい。例えば、OCRが実行されることをユーザが所望した場合でも、副走査方向の解像度を主走査方向の解像度より小さくしてもよい。この構成により、OCRが実行されるPDF形式もしくはXPS形式で出力させる場合であっても、高速でスキャンを実行させることができる。   (4) In the above embodiment, when the PDF format or XPS format is selected in S104 and the user desires to perform OCR, the resolution in the main scanning direction and the sub scanning direction are selected. The scan is executed with the same value as the resolution. However, instead of this, scanning may be executed with different values. For example, even when the user desires to perform OCR, the resolution in the sub-scanning direction may be smaller than the resolution in the main scanning direction. With this configuration, even when outputting in PDF format or XPS format in which OCR is executed, scanning can be executed at high speed.

(5)上記実施例では、S104においてPDF形式もしくはXPS形式が選択された場合であって、スキャンが高速で実行されることをユーザが所望した場合のみ、主走査方向の解像度と副走査方向の解像度とを異なる値としてスキャンを実行させているが、別の構成であってもよい。すなわち、PDF形式もしくはXPS形式が選択された場合には、ユーザに対し高速でスキャンすることを所望するか否かを選択させることなく、スキャン実行部24は主走査方向の解像度と副走査方向の解像度とを異なる値としてスキャンを実行してもよい。この構成により、ユーザに対し、高速でスキャンを実行することを所望するか否かを選択させる手間を取らせることがない。   (5) In the above-described embodiment, only when the PDF format or XPS format is selected in S104 and the user desires that the scan be executed at high speed, the resolution in the main scanning direction and the sub scanning direction are selected. Although scanning is executed with a value different from the resolution, another configuration may be used. That is, when the PDF format or the XPS format is selected, the scan execution unit 24 does not select whether or not the user desires to scan at high speed, and the scan execution unit 24 selects the resolution in the main scanning direction and the sub scanning direction. The scan may be executed with a value different from the resolution. With this configuration, the user is not required to select whether or not it is desired to execute scanning at high speed.

さらに、本実施例では、PDF形式もしくはXPS形式で出力する場合の副走査方向の解像度が、JPEG形式もしくはTIFF形式で出力する場合の副走査方向の解像度よりも小さい値で、スキャンが実行される際、高速でスキャンを実行している。しかしながら、この場合であっても、JPEG形式でスキャンする際のスキャンの速度と同じにしてスキャンを実行してもよい。   Further, in this embodiment, scanning is executed with a resolution in the sub-scanning direction when outputting in the PDF format or XPS format smaller than the resolution in the sub-scanning direction when outputting in the JPEG format or TIFF format. When scanning at high speed. However, even in this case, the scan may be executed at the same scanning speed as when scanning in the JPEG format.

(6)上述したように、S104でユーザに出力するデータのフォーマットを指定させ、その後S106でユーザにスキャン解像度を指定させる構成としているが、別の構成であってもよい。すなわち、予め、画像フォーマットには第1のスキャン解像度が対応付けられてNVRAM23に記憶させておき、ドキュメントフォーマットには第1のスキャン解像度とは異なる第2のスキャン解像度が対応付けられてNVRAM23に記憶させておいてもよい。例えば、画像フォーマットが選択された場合は主走査方向の解像度を600dpi、副走査方向の解像度を600dpiでスキャンを実行し、ドキュメントフォーマットである場合は主走査方向の解像度を1200dpi、副走査方向の解像度を300dpiでスキャンを実行させてもよい。こうすることで、ユーザにスキャン解像度を指定させる手間を省くことができる。   (6) As described above, the configuration is such that the user specifies the format of data to be output in S104, and then the scan resolution is specified by the user in S106. However, another configuration may be used. That is, the first scan resolution is associated with the image format in advance and stored in the NVRAM 23, and the document format is associated with the second scan resolution different from the first scan resolution and stored in the NVRAM 23. You may leave it. For example, when an image format is selected, scanning is performed at a resolution of 600 dpi in the main scanning direction and a resolution of 600 dpi in the sub scanning direction. When the document format is selected, the resolution in the main scanning direction is 1200 dpi and the resolution in the sub scanning direction. May be executed at 300 dpi. By doing so, it is possible to save the user from having to specify the scan resolution.

(7)上述したように、本実施例では、S104においてユーザによってフォーマットが選択されているが、別の構成であってもよい。例えば、スキャンデータの転送先に応じて、スキャン解像度を対応付けてもよい。具体的には、CPU21は、スキャンデータを、ネットワークを介して他のデバイスに転送する場合と、可搬型メモリに転送する場合とで、異なるフォーマットが選択されてもよい。こうすれば、ユーザにフォーマットを選択させずに済む。 (7) As described above, in this embodiment, the format is selected by the user in S104, but another configuration may be used. For example, the scan resolution may be associated with the transfer destination of the scan data. Specifically, the CPU 21 may select different formats depending on whether the scan data is transferred to another device via a network or transferred to a portable memory. This eliminates the need for the user to select a format.

(8)上述したように、本実施例では、ユーザがスキャナ装置20の操作部27を操作することによってスキャンの実行指示を行っているが、別の構成であってもよい。例えば、ユーザが、スキャナ装置20とLANを介して接続された図示しない端末装置の操作部を操作することによって、スキャンの実行指示を行ってもよい。すなわち、ユーザは、本実施例に記載したいわゆるプッシュスキャンの実行に限定されるのではなく、いわゆるプルスキャンを実行してもよい。 (8) As described above, in this embodiment, the user gives a scan execution instruction by operating the operation unit 27 of the scanner device 20, but another configuration may be used. For example, the user may issue a scan execution instruction by operating an operation unit of a terminal device (not shown) connected to the scanner device 20 via a LAN. That is, the user is not limited to the execution of the so-called push scan described in the present embodiment, and may execute the so-called pull scan.

(9)上述したように、本実施例では、スキャナ装置の内部でスキャンデータを各フォーマットのファイルに変換しているが、これに代えて、LANを介して接続された図示しない端末装置の内部で各フォーマットのファイルに変換してもよい。具体的には、スキャナ装置で得られたスキャンデータを端末装置に送信するようCPU21が制御し、端末装置が各フォーマット(JPEG形式、TIFF形式、PDF形式及びXPS形式)のファイルを生成してもよい。 (9) As described above, in this embodiment, the scan data is converted into a file of each format inside the scanner device, but instead, the inside of a terminal device (not shown) connected via the LAN. May be converted into a file of each format. Specifically, the CPU 21 controls the scan data obtained by the scanner device to be transmitted to the terminal device, and the terminal device generates a file of each format (JPEG format, TIFF format, PDF format, and XPS format). Good.

(10)上述したように、本実施例では、スキャナ装置のCPU21でスキャン実行部24を制御しているが、これに代えて、スキャナ装置とLANを介して接続された図示しない端末装置がスキャン実行部24を制御してもよい。 (10) As described above, in this embodiment, the scan execution unit 24 is controlled by the CPU 21 of the scanner device. Instead, a terminal device (not shown) connected to the scanner device via the LAN scans. The execution unit 24 may be controlled.

20…スキャナ装置、21…CPU、22…RAM、23…NVRAM、24…スキャン実行部、25…表示部、26…メディア装着部、27…操作部、28…ネットワークインターフェース、30…LAN   DESCRIPTION OF SYMBOLS 20 ... Scanner apparatus, 21 ... CPU, 22 ... RAM, 23 ... NVRAM, 24 ... Scan execution part, 25 ... Display part, 26 ... Media mounting part, 27 ... Operation part, 28 ... Network interface, 30 ... LAN

Claims (11)

スキャンで得られるべきスキャンデータのフォーマットが、第1のフォーマットであるか、第1のフォーマットと異なる第2のフォーマットであるか、を判断するフォーマット判断手段と、
前記スキャンデータのフォーマットに応じて、前記スキャンを実行すべきスキャン解像度を決定し、原稿をスキャンするスキャン実行部に前記スキャン解像度でスキャンを実行させるスキャン制御手段と、
記スキャンデータを含むファイルを生成するファイル生成手段と、
を備え、
前記スキャンデータのフォーマットは、前記第1のフォーマットと、前記第2のフォーマットと、のうちのいずれかに分類され、
前記スキャン制御手段は、
前記スキャンデータのフォーマットが前記第1のフォーマットであると判断された第1の場合に、前記スキャン解像度を第1のスキャン解像度に決定し、
前記スキャンデータのフォーマットが前記第2のフォーマットであると判断された第2の場合に、前記スキャン解像度を第2のスキャン解像度に決定し、
前記第2のスキャン解像度は、主走査方向の解像度の値と、副走査方向の解像度の値と、が異なる特定のスキャン解像度を含み、
前記ファイル生成手段は、前記第2のフォーマットで前記スキャンデータが得られるべき場合に、前記スキャンデータが表示部に表示される際に用いられるべき表示倍率に関する情報を含む前記ファイルを生成する、制御装置。
Format determination means for determining whether a format of scan data to be obtained by scanning is a first format or a second format different from the first format;
A scan control means for determining a scan resolution at which the scan is to be executed according to a format of the scan data, and causing a scan execution unit that scans a document to execute a scan at the scan resolution ;
And file generating means for generating a file that contains a pre-kiss-scan data,
With
The format of the scan data is classified into one of the first format and the second format,
The scan control means includes
When the scan data format is determined to be the first format, the scan resolution is determined as the first scan resolution;
In a second case where the format of the scan data is determined to be the second format, the scan resolution is determined as the second scan resolution,
The second scan resolution includes a specific scan resolution in which a resolution value in the main scanning direction is different from a resolution value in the sub-scanning direction ,
The file generation means generates the file including information on a display magnification to be used when the scan data is displayed on a display unit when the scan data is to be obtained in the second format. apparatus.
請求項に記載の制御装置であって、
前記第2のスキャン解像度の副走査方向の解像度の値は、前記第1のスキャン解像度の副走査方向の解像度の値より小さい
ことを特徴とする、制御装置。
The control device according to claim 1 ,
The control device according to claim 1, wherein a resolution value of the second scan resolution in the sub-scanning direction is smaller than a resolution value of the first scan resolution in the sub-scanning direction.
請求項1または2のいずれかに記載の制御装置であって、
前記表示倍率に関する情報は、前記スキャンデータが表示部に表示される際に、前記主走査方向に対応する第1の方向に沿って前記スキャンデータを拡大または縮小するための情報と、前記副走査方向に対応する第2の方向に沿って前記スキャンデータを拡大または縮小するための情報と、の少なくとも一方を含む、制御装置。
The control device according to claim 1 or 2 ,
The information about the display magnification includes information for enlarging or reducing the scan data along a first direction corresponding to the main scanning direction when the scan data is displayed on the display unit, and the sub-scanning. And a control device including at least one of information for enlarging or reducing the scan data along a second direction corresponding to the direction.
請求項1乃至のいずれかに記載の制御装置であって、さらに、
前記スキャン制御手段は、前記スキャンデータのフォーマットが前記第2のフォーマットであると判断された前記第2の場合において、前記スキャンデータを生成する際における光学文字認識の実行が指示されているか否かを判断する光学文字認識判断手段を備え、
前記スキャン制御手段は、
前記光学文字認識の実行が指示されていると判断された場合に、前記スキャン解像度を前記第1のスキャン解像度に決定し、
前記光学文字認識の実行が指示されていないと判断された場合に、前記スキャン解像度を前記第2のスキャン解像度に決定する
ことを特徴とする、制御装置。
The control device according to any one of claims 1 to 3, further
Whether the scan control means is instructed to perform optical character recognition when generating the scan data in the second case where the format of the scan data is determined to be the second format Optical character recognition judging means for judging
The scan control means includes
When it is determined that execution of the optical character recognition is instructed, the scan resolution is determined as the first scan resolution;
The control device, wherein when it is determined that execution of the optical character recognition is not instructed, the scan resolution is determined as the second scan resolution.
スキャンで得られるべきスキャンデータのフォーマットが、第1のフォーマットであるか、前記第1のフォーマットと異なる第2のフォーマットであるか、を判断するフォーマット判断手段と、
前記スキャンデータのフォーマットに応じてスキャン解像度を決定し、スキャン実行部に前記スキャン解像度で原稿のスキャンを実行させるスキャン制御手段であって、前記スキャンデータのフォーマットが前記第1のフォーマットであると判断された第1の場合に、前記スキャン解像度を第1のスキャン解像度に決定し、前記スキャンデータのフォーマットが前記第2のフォーマットであると判断された第2の場合に、前記スキャン解像度を第2のスキャン解像度に決定するスキャン制御手段と、
を備え、
前記スキャンデータのフォーマットは、第1のフォーマットと、第2のフォーマットと、のうちのいずれかに分類され、
前記第2のスキャン解像度の副走査方向の解像度の値は、前記第1のスキャン解像度の副走査方向の解像度の値よりも小さい、制御装置。
Format determination means for determining whether a format of scan data to be obtained by scanning is a first format or a second format different from the first format;
Scan control means for determining a scan resolution according to the format of the scan data, and causing a scan execution unit to scan a document at the scan resolution, and determining that the format of the scan data is the first format In the first case, the scan resolution is determined to be the first scan resolution, and in the second case where the format of the scan data is determined to be the second format, the scan resolution is set to the second scan resolution. Scan control means for determining the scan resolution of
With
The format of the scan data is classified into one of a first format and a second format,
The value of the resolution in the sub-scanning direction of the second scan resolution is less than the value of the sub-scanning direction resolution of the first scan resolution, the controller.
請求項1乃至のいずれかに記載の制御装置であって、
前記第2のスキャン解像度の主走査方向の解像度の値は、前記第1のスキャン解像度の主走査方向の解像度の値より大きい
ことを特徴とする、制御装置。
A control device according to any one of claims 1 to 5 ,
The controller according to claim 1, wherein a resolution value of the second scan resolution in the main scanning direction is larger than a resolution value of the first scan resolution in the main scanning direction.
請求項1乃至6のいずれかに記載の制御装置であって、
前記第1のフォーマットは、画像フォーマットを含む
ことを特徴とする、制御装置。
The control device according to any one of claims 1 to 6,
The control apparatus according to claim 1, wherein the first format includes an image format.
請求項1乃至6のいずれかに記載の制御装置であって、
前記第2のフォーマットは、ドキュメントフォーマットを含む
ことを特徴とする、制御装置。
The control device according to any one of claims 1 to 6,
The control apparatus according to claim 2, wherein the second format includes a document format.
請求項1乃至8のいずれかに記載の制御装置であって、さらに、  The control device according to any one of claims 1 to 8, further comprising:
前記スキャンデータを含むファイルを生成するファイル生成手段を備え、  File generating means for generating a file including the scan data;
前記第1のフォーマットは、画像フォーマットを含み、  The first format includes an image format;
前記第2のフォーマットは、ドキュメントフォーマットを含み、  The second format includes a document format;
前記ファイル生成手段は、  The file generation means includes
前記画像フォーマットで前記スキャンデータが得られるべき場合に、前記スキャンデータが表示部に表示される際に用いられるべき表示倍率に関する情報を含まない前記ファイルを生成し、    When the scan data is to be obtained in the image format, the file not including information on a display magnification to be used when the scan data is displayed on the display unit is generated,
前記ドキュメントフォーマットで前記スキャンデータが得られるべき場合に、前記表示倍率に関する情報を含む前記ファイルを生成する    When the scan data is to be obtained in the document format, the file including information on the display magnification is generated.
ことを特徴とする、制御装置。  A control device.
制御装置のためのコンピュータプログラムであって、
前記コンピュータプログラムは、前記制御装置に搭載されるコンピュータに、以下の各処理、即ち、
スキャンで得られるべきスキャンデータのフォーマットが、第1のフォーマットであるか、第1のフォーマットと異なる第2のフォーマットであるか、を判断するフォーマット判断処理と、
前記スキャンデータのフォーマットに応じて、前記スキャンを実行すべきスキャン解像度を決定し、原稿をスキャンするスキャン実行部に前記スキャン解像度でスキャンを実行させるスキャン制御処理と、
記スキャンデータを含むファイルを生成するファイル生成処理と、
を実行させ、
前記スキャンデータのフォーマットは、前記第1のフォーマットと、前記第2のフォーマットと、のうちのいずれかに分類され、
前記スキャン制御処理は、
前記スキャンデータのフォーマットが前記第1のフォーマットであると判断された第1の場合に、前記スキャン解像度を第1のスキャン解像度に決定し、
前記スキャンデータのフォーマットが前記第2のフォーマットであると判断された第2の場合に、前記スキャン解像度を第2のスキャン解像度に決定し、
前記第2のスキャン解像度は、主走査方向の解像度の値と、副走査方向の解像度の値と、が異なる特定のスキャン解像度を含み、
前記ファイル生成処理は、前記第2のフォーマットで前記スキャンデータが得られるべき場合に、前記スキャンデータが表示部に表示される際に用いられるべき表示倍率に関する情報を含む前記ファイルを生成する、コンピュータプログラム。
A computer program for a control device,
The computer program stores the following processes on a computer mounted on the control device:
A format determination process for determining whether the format of scan data to be obtained by scanning is a first format or a second format different from the first format;
According to the format of the scan data, a scan control process for determining a scan resolution at which the scan is to be executed, and causing a scan execution unit that scans a document to execute a scan at the scan resolution ;
And a file generating process for generating a file that contains a pre-kiss-scan data,
And execute
The format of the scan data is classified into one of the first format and the second format,
The scan control process includes
When the scan data format is determined to be the first format, the scan resolution is determined as the first scan resolution;
In a second case where the format of the scan data is determined to be the second format, the scan resolution is determined as the second scan resolution,
The second scan resolution includes a specific scan resolution in which a resolution value in the main scanning direction is different from a resolution value in the sub-scanning direction ,
The file generation processing generates the file including information on a display magnification to be used when the scan data is displayed on a display unit when the scan data is to be obtained in the second format. program.
制御装置のためのコンピュータプログラムであって、
前記コンピュータプログラムは、前記制御装置に搭載されるコンピュータに、以下の各処理、即ち、
スキャンで得られるべきスキャンデータのフォーマットが、第1のフォーマットであるか、前記第1のフォーマットと異なる第2のフォーマットであるか、を判断するフォーマット判断処理と、
前記スキャンデータのフォーマットに応じてスキャン解像度を決定し、スキャン実行部に前記スキャン解像度で原稿のスキャンを実行させるスキャン制御処理であって、前記スキャンデータのフォーマットが前記第1のフォーマットであると判断された第1の場合に、前記スキャン解像度を第1のスキャン解像度に決定し、前記スキャンデータのフォーマットが前記第2のフォーマットであると判断された第2の場合に、前記スキャン解像度を第2のスキャン解像度に決定するスキャン制御処理と、
を前記コンピュータに実行させ、
前記スキャンデータのフォーマットは、第1のフォーマットと、第2のフォーマットと、のうちのいずれかに分類され、
前記第1のスキャン解像度は、主走査方向の第1の解像度の値と、前記主走査方向の第1の解像度の値と同じ副走査方向の第1の解像度の値と、を含み、
前記第2のスキャン解像度は、主走査方向の第2の解像度の値と、前記主走査方向の第2の解像度の値と異なる副走査方向の第2の解像度の値と、を含み、
前記副走査方向の第2の解像度の値は、前記副走査方向の第1の解像度の値よりも小さい、コンピュータプログラム。
A computer program for a control device,
The computer program stores the following processes on a computer mounted on the control device:
A format determination process for determining whether a format of scan data to be obtained by scanning is a first format or a second format different from the first format;
A scan control process for determining a scan resolution according to the format of the scan data, and causing a scan execution unit to scan a document at the scan resolution, and determining that the format of the scan data is the first format In the first case, the scan resolution is determined to be the first scan resolution, and in the second case where the format of the scan data is determined to be the second format, the scan resolution is set to the second scan resolution. Scan control processing to determine the scan resolution of
To the computer,
The format of the scan data is classified into one of a first format and a second format,
The first scan resolution includes a first resolution value in the main scanning direction and a first resolution value in the sub-scanning direction that is the same as the first resolution value in the main scanning direction,
The second scan resolution includes a second resolution value in the main scanning direction and a second resolution value in the sub-scanning direction different from the second resolution value in the main scanning direction,
A computer program in which the value of the second resolution in the sub-scanning direction is smaller than the value of the first resolution in the sub-scanning direction.
JP2013071537A 2013-03-29 2013-03-29 Control device and program Active JP5534078B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013071537A JP5534078B2 (en) 2013-03-29 2013-03-29 Control device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013071537A JP5534078B2 (en) 2013-03-29 2013-03-29 Control device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2011036677A Division JP5408155B2 (en) 2011-02-23 2011-02-23 Control device and program

Publications (2)

Publication Number Publication Date
JP2013153521A JP2013153521A (en) 2013-08-08
JP5534078B2 true JP5534078B2 (en) 2014-06-25

Family

ID=49049437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013071537A Active JP5534078B2 (en) 2013-03-29 2013-03-29 Control device and program

Country Status (1)

Country Link
JP (1) JP5534078B2 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6001008B2 (en) 2014-06-06 2016-10-05 キヤノン株式会社 Image reading apparatus, method for controlling image reading apparatus, program, and storage medium
JP6282322B2 (en) * 2016-08-30 2018-02-21 キヤノン株式会社 Image reading apparatus, method for controlling image reading apparatus, program, and storage medium
JP7011373B2 (en) 2018-07-11 2022-01-26 キヤノン株式会社 Multifunction device and its control method, and program
JP7102269B2 (en) 2018-07-11 2022-07-19 キヤノン株式会社 Image processing device, control method of image processing device, and program
JP7159006B2 (en) 2018-10-30 2022-10-24 キヤノン株式会社 IMAGE PROCESSING DEVICE, CONTROL METHOD THEREOF, AND PROGRAM
JP7353858B2 (en) 2019-08-09 2023-10-02 キヤノン株式会社 Image processing device, control method, and program
JP7297607B2 (en) 2019-09-04 2023-06-26 キヤノン株式会社 IMAGE PROCESSING DEVICE, CONTROL METHOD THEREOF, AND PROGRAM
JP7309543B2 (en) 2019-09-12 2023-07-18 キヤノン株式会社 IMAGE PROCESSING DEVICE, CONTROL METHOD THEREOF, AND PROGRAM
JP7433834B2 (en) 2019-10-18 2024-02-20 キヤノン株式会社 Image processing device, control method for image processing device, and program
JP7458772B2 (en) 2019-12-19 2024-04-01 キヤノン株式会社 Multifunction printer, control method thereof, and program
JP7446860B2 (en) 2020-03-06 2024-03-11 キヤノン株式会社 Multifunction device, its control method, and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006172055A (en) * 2004-12-15 2006-06-29 Canon Software Inc Character recognition device, character recognition accuracy decision method, program and recording medium
JP4476203B2 (en) * 2005-09-21 2010-06-09 株式会社リコー Image processing apparatus, program, and image processing method
JP2007174444A (en) * 2005-12-23 2007-07-05 Brother Ind Ltd Network scanner and network scanner system
JP4516984B2 (en) * 2007-11-13 2010-08-04 シャープ株式会社 Information processing apparatus, information processing method, program, and recording medium
JP5305839B2 (en) * 2008-10-31 2013-10-02 キヤノン株式会社 Image processing apparatus, information processing apparatus, image processing apparatus control method, information processing apparatus control method, storage medium, and program

Also Published As

Publication number Publication date
JP2013153521A (en) 2013-08-08

Similar Documents

Publication Publication Date Title
JP5534078B2 (en) Control device and program
JP5408155B2 (en) Control device and program
US20090290182A1 (en) Image processing apparatus with preview display function, image processing method, and image processing program
US8958085B2 (en) Image processing system, image forming apparatus, image processing program, and image processing method
JP2004318581A (en) Information processor and method of displaying print preview
JP5963431B2 (en) Image forming apparatus, image display method, and program
JP2012175270A (en) Controller
US20100231939A1 (en) Image forming apparatus, image forming method, and computer-readable storage medium
JP2011079162A (en) Printer, control method for the same, and program
EP2403228A1 (en) Image Scanning Apparatus, Computer Readable Medium, and Image Storing Method
US8891129B2 (en) Image forming apparatus having real-size preview function, method of controlling the same, and storage medium
JP6447564B2 (en) Image forming apparatus, program, and information processing system
US8576428B2 (en) Image forming apparatus forms an output image from an image-repeated image
JP4396749B2 (en) Print control device and printer driver program
JP6917285B2 (en) Image forming device
JP4363463B2 (en) Print control device and printer driver program
US20110085191A1 (en) Image processing apparatus and image processing method
JP2006260398A (en) Printing controller and its control method
JP4412211B2 (en) Skew correction method, program, image processing apparatus, and image processing system
US8599443B2 (en) Image forming apparatus with N-in-one printing
JPH11232001A (en) Printer controller
US20130063775A1 (en) Image forming apparatus capable of providing actual-size preview, method of controlling the same, and storage medium
JP2008080592A (en) Image data generating apparatus, image forming apparatus, image forming system, and image data generating program
JP2008213406A (en) Printing processor, printing processing method, and its program
JP5633615B2 (en) Control device and computer program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140307

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140401

R150 Certificate of patent or registration of utility model

Ref document number: 5534078

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140414