JP2017157918A - Image reading device - Google Patents

Image reading device Download PDF

Info

Publication number
JP2017157918A
JP2017157918A JP2016037204A JP2016037204A JP2017157918A JP 2017157918 A JP2017157918 A JP 2017157918A JP 2016037204 A JP2016037204 A JP 2016037204A JP 2016037204 A JP2016037204 A JP 2016037204A JP 2017157918 A JP2017157918 A JP 2017157918A
Authority
JP
Japan
Prior art keywords
image
display
unit
screen
scan
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.)
Granted
Application number
JP2016037204A
Other languages
Japanese (ja)
Other versions
JP6651905B2 (en
Inventor
真佑 海川
Shinsuke Umikawa
真佑 海川
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 JP2016037204A priority Critical patent/JP6651905B2/en
Publication of JP2017157918A publication Critical patent/JP2017157918A/en
Application granted granted Critical
Publication of JP6651905B2 publication Critical patent/JP6651905B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To install a preview function even in an image reading device with low storage capacity.SOLUTION: In a MFP10, scan to USB processing for reading the image of a document by a reading section 22, and storing the image thus read in a USB memory 50 can be executed. Various scripts, such as preview scripts 60, are stored in the USB memory 50, and a CPU12 executes scan to USB processing, according to a direction of that script. Consequently, a read image read by the reading section 22 is stored in the USB memory 50. That read image is displayed, as a preview image, in a display 16. With such an arrangement, preview function can be installed even in the MFP10 with low storage capacity.SELECTED DRAWING: Figure 1

Description

本発明は、画像を読み取る読取部を備えた画像読取装置に関する。   The present invention relates to an image reading apparatus including a reading unit that reads an image.

画像読取装置は、画像を読み取る読取部を備えており、その読取部により読み取られた画像が記録用紙に記録されることで、コピー処理が実行され、読取部により読み取られた画像が所定の記憶領域に記憶されることでスキャン処理が実行される。このようなコピー処理、スキャン処理等を実行可能な画像読取装置には、プレビュー機能が搭載されたものがある。プレビュー機能とは、コピー処理等が実行される前に、画像の読み取りが行われ、その読み取られた画像をディスプレイに表示する機能である。下記特許文献には、プレビュー機能を搭載した画像読取装置の一例が記載されている。   The image reading apparatus includes a reading unit that reads an image. The image read by the reading unit is recorded on a recording sheet, whereby a copy process is performed, and the image read by the reading unit is stored in a predetermined storage. Scan processing is executed by storing in the area. Some image reading apparatuses capable of executing such copy processing, scan processing, and the like are equipped with a preview function. The preview function is a function for reading an image before a copy process or the like is executed and displaying the read image on a display. The following patent document describes an example of an image reading apparatus equipped with a preview function.

特開2003−244372号公報JP 2003-244372 A

プレビュー機能は便利な機能であるため、搭載されることが望ましいが、画像読取装置に設けられている記憶部の記憶容量が少ない場合には、プレビュー機能を搭載することができない場合がある。本発明は、そのような事情に鑑みてなされたものであり、本発明の課題は、記憶部の記憶容量が少ない画像読取装置においても、プレビュー機能を搭載することである。   Since the preview function is a convenient function, it is desirable to mount the preview function. However, when the storage capacity of the storage unit provided in the image reading apparatus is small, the preview function may not be mounted. The present invention has been made in view of such circumstances, and an object of the present invention is to mount a preview function even in an image reading apparatus having a small storage capacity.

上記課題を解決するために、本発明の画像読取装置は、画像を読み取る読取部と、ユーザ操作に応じた入力を行う操作部と、表示部と、外部記憶装置が着脱可能に接続される接続部と、画像を出力する出力部と、制御部と、を備え、前記制御部は、前記読取部による読み取り予定の画像の出力先の指定を、前記操作部により受け付ける出力先受付処理と、原稿に記された画像を前記読取部により読み取らせる読取制御処理と、前記読取制御処理の実行により得られた画像である読取画像を、前記出力先受付処理により受け付けられた出力先に出力する出力処理と、前記接続部に前記外部記憶装置が装着されているか否かを判断する判断処理と、前記判断処理により前記接続部に前記外部記憶装置が接続されていると判断された場合に、前記出力処理に先行した前記読取画像の前記表示部への表示の指示を受け付けるための第1受付画面を、前記表示部に表示させる第1表示制御処理と、前記第1受付画面が前記表示部に表示された状態で、前記読取画像の前記表示部への表示指示を前記操作部が受け付けた場合に、所定の記憶領域に記憶されている指令に従って、前記読取制御処理を実行させ、当該読取制御処理の実行により得られた読取画像を、前記外部記憶装置の特定の領域を当該読取画像の展開領域として用いて、前記表示部に表示させる第2表示制御処理と、を実行することを特徴とする。   In order to solve the above problems, an image reading apparatus according to the present invention includes a reading unit that reads an image, an operation unit that performs input in accordance with a user operation, a display unit, and a connection in which an external storage device is detachably connected. An output destination receiving process for accepting designation of an output destination of an image to be read by the reading unit by the operation unit, and an original document. A reading control process that causes the reading unit to read the image described in the above, and an output process that outputs a read image that is an image obtained by executing the reading control process to the output destination received by the output destination receiving process A determination process for determining whether or not the external storage device is attached to the connection unit, and the output when the determination process determines that the external storage device is connected to the connection unit. A first display control process for causing the display unit to display a first reception screen for receiving an instruction to display the read image preceding the process on the display unit, and the first reception screen to be displayed on the display unit. In this state, when the operation unit receives an instruction to display the read image on the display unit, the read control process is executed according to a command stored in a predetermined storage area. And a second display control process for displaying the read image obtained by executing on the display unit using a specific area of the external storage device as a development area of the read image. .

本発明の画像読取装置では、接続部に外部記憶装置が着脱可能に接続されており、読取部により読み取られた読取画像が外部記憶装置に記憶される。そして、その読取画像が、プレビュー画像として表示部に表示される。これにより、記憶部の記憶容量が少ない画像読取装置においても、プレビュー機能を搭載することが可能となる。   In the image reading apparatus of the present invention, the external storage device is detachably connected to the connection unit, and the read image read by the reading unit is stored in the external storage device. Then, the read image is displayed on the display unit as a preview image. As a result, the preview function can be installed even in an image reading apparatus having a small storage capacity.

通信システム1のブロック図である。1 is a block diagram of a communication system 1. FIG. メイン画面100を示す図である。It is a figure which shows the main screen. 第1コピー画面110を示す図である。FIG. 6 is a diagram showing a first copy screen 110. プレビュー画面120を示す図である。It is a figure which shows the preview screen. 第2コピー画面130を示す図である。It is a figure which shows the 2nd copy screen. スキャン処理選択画面140を示す図である。It is a figure which shows the scanning process selection screen. 設定画面150を示す図である。It is a figure which shows the setting screen. MFP10の動作フローチャートを示す図である。FIG. 3 is a diagram illustrating an operation flowchart of the MFP 10. MFP10の動作フローチャートを示す図である。FIG. 3 is a diagram illustrating an operation flowchart of the MFP 10. MFP10の動作フローチャートを示す図である。FIG. 3 is a diagram illustrating an operation flowchart of the MFP 10. MFP10の動作フローチャートを示す図である。FIG. 3 is a diagram illustrating an operation flowchart of the MFP 10. MFP10の動作フローチャートを示す図である。FIG. 3 is a diagram illustrating an operation flowchart of the MFP 10. MFP10の動作フローチャートを示す図である。FIG. 3 is a diagram illustrating an operation flowchart of the MFP 10.

<通信システムの構成>
図1に、本願に係る実施形態として例示される通信システム1のブロック図を示す。通信システム1は、MFP(Multifunction Peripheralの略)(本発明の画像読取装置の一例)10、サーバ(本発明の外部装置の一例)80、PC(Personal Computerの略)82を備える。
<Configuration of communication system>
FIG. 1 shows a block diagram of a communication system 1 exemplified as an embodiment according to the present application. The communication system 1 includes an MFP (abbreviation of Multifunction Peripheral) (an example of an image reading apparatus of the present invention) 10, a server (an example of an external apparatus of the present invention) 80, and a PC (abbreviation of Personal Computer) 82.

MFP10は、CPU(本発明の制御部の一例)12、記憶部(本発明の記憶部の一例)14、ディスプレイ(本発明の表示部の一例)16、入力I/F(本発明の操作部の一例)18、記録部(本発明の記録部及び出力部の一例)20、読取部(本発明の読取部の一例)22、ネットワークI/F(本発明の通信部及び出力部の一例)24、USBデバイスI/F(本発明の通信部及び出力部の一例)26、USBホストI/F(本発明の接続部及び出力部の一例)28、モデム30、電話回線接続部32を主に備えている。これらの構成要素は、入出力ポート36を介して互いに通信可能とされている。   The MFP 10 includes a CPU (an example of a control unit of the present invention) 12, a storage unit (an example of a storage unit of the present invention) 14, a display (an example of a display unit of the present invention) 16, an input I / F (an operation unit of the present invention). 18), recording unit (an example of the recording unit and output unit of the present invention) 20, reading unit (an example of the reading unit of the present invention) 22, network I / F (an example of the communication unit and the output unit of the present invention) 24, a USB device I / F (an example of a communication unit and an output unit of the present invention) 26, a USB host I / F (an example of a connection unit and an output unit of the present invention) 28, a modem 30, and a telephone line connection unit 32. In preparation. These components can communicate with each other via the input / output port 36.

CPU12は、記憶部14内の制御プログラム40に従って処理を実行する。制御プログラム40は、コピー処理,スキャン処理等の各種処理を実行するためのプログラムである。以降、制御プログラム40を実行するCPU12のことを、単にプログラム名でも記載する場合がある。例えば、「制御プログラム40が」という記載は、「制御プログラム40を実行するCPU12が」ということを意味する場合がある。なお、記憶部14は、RAM(Random Access Memoryの略)、ROM(Read Only Memoryの略)、フラッシュメモリー、HDD(Hard Disk・Driveの略)、CPU12が備えるバッファなどが組み合わされて構成されている。また、記憶部14は、データ記憶領域42を備える。データ記憶領域42は、制御プログラム40の実行に必要なデータなどを記憶する領域であるが、記憶容量は比較的少ない。   The CPU 12 executes processing according to the control program 40 in the storage unit 14. The control program 40 is a program for executing various processes such as a copy process and a scan process. Hereinafter, the CPU 12 that executes the control program 40 may be simply described as a program name. For example, the description “the control program 40 is” may mean “the CPU 12 that executes the control program 40”. The storage unit 14 is configured by combining a RAM (abbreviation of random access memory), a ROM (abbreviation of read only memory), a flash memory, an HDD (abbreviation of hard disk / drive), a buffer included in the CPU 12, and the like. Yes. In addition, the storage unit 14 includes a data storage area 42. The data storage area 42 is an area for storing data necessary for the execution of the control program 40, but has a relatively small storage capacity.

ディスプレイ16は、MFP10の各種機能を表示する表示面を備える。ディスプレイ16の一例としては、例えば、LCD、有機EL、プラズマディスプレイ等が挙げられる。なお、ディスプレイ16は、画面解像度(画素密度)が低く、ディスプレイ16の表示性能は低い。入力I/F18は、例えば、ディスプレイ16と一体的に構成されているタッチパネルであってよく、ディスプレイ16上に表示されたアイコンへのユーザ操作を受け付ける。また、タッチパネル以外にも、ハードキー等であってもよい。   The display 16 includes a display surface that displays various functions of the MFP 10. Examples of the display 16 include an LCD, an organic EL, a plasma display, and the like. The display 16 has a low screen resolution (pixel density), and the display performance of the display 16 is low. The input I / F 18 may be, for example, a touch panel configured integrally with the display 16 and accepts a user operation on an icon displayed on the display 16. In addition to the touch panel, a hard key or the like may be used.

記録部20は、印刷機構であり、例えば、インクジェットヘッドが挙げられる。CPU12は、記録部20へ駆動信号を入力し、記録部20がインクジェットヘッドである場合は入力された駆動信号に応じて、ノズルからインクを吐出する。読取部22は、原稿に記された画像を読み取り画像データを作成するスキャン処理を実行する部位であり、例えば、CCDイメージセンサ、コンタクトイメージセンサ等を含む。   The recording unit 20 is a printing mechanism, for example, an inkjet head. The CPU 12 inputs a drive signal to the recording unit 20 and, when the recording unit 20 is an inkjet head, ejects ink from the nozzles according to the input drive signal. The reading unit 22 is a part that executes a scanning process for reading an image written on a document and creating image data, and includes, for example, a CCD image sensor, a contact image sensor, and the like.

ネットワークI/F24は、ルータ46を介して、インターネット48に接続されており、インターネット48上に存在するサーバ80に接続される。これにより、MFP10は、サーバ80と各種データの送受信を行うことが可能である。また、USBデバイスI/F26は、USBケーブルを介して、PC82に接続されている。これにより、MFP10は、PC82と各種データの送受信を行うことが可能である。   The network I / F 24 is connected to the Internet 48 via the router 46 and is connected to a server 80 existing on the Internet 48. As a result, the MFP 10 can transmit and receive various data to and from the server 80. The USB device I / F 26 is connected to the PC 82 via a USB cable. As a result, the MFP 10 can transmit and receive various data to and from the PC 82.

USBホストI/F28には、USBメモリ(本発明の外部記憶装置の一例)50が着脱可能に接続されており、USBメモリ50は、データ記憶領域52を有している。これにより、MFP10は、USBメモリ50のデータ記憶領域52に各種データを記憶させ、データ記憶領域52から各種データを読み出すことが可能である。また、USBメモリ50には、プレビュースクリプト60、スキャンtoUSB実行スクリプト64、画面表示スクリプト66、画像データ削除スクリプト68が格納されている。プレビュースクリプト60は、Luaで記載されたデータであり、スキャンtoUSB実行スクリプト64、画面表示スクリプト66、画像データ削除スクリプト68は、XML(Extensible Markup Languageの略)形式のデータである。なお、プレビュースクリプト60を実行するCPU12のことを、単にプログラム名でも記載する場合がある。例えば、「プレビュースクリプト60が」という記載は、「プレビュースクリプト60を実行するCPU12が」ということを意味する場合がある。   A USB memory (an example of an external storage device of the present invention) 50 is detachably connected to the USB host I / F 28, and the USB memory 50 has a data storage area 52. Accordingly, the MFP 10 can store various data in the data storage area 52 of the USB memory 50 and read various data from the data storage area 52. The USB memory 50 also stores a preview script 60, a scan to USB execution script 64, a screen display script 66, and an image data deletion script 68. The preview script 60 is data described in Lua, and the scan to USB execution script 64, the screen display script 66, and the image data deletion script 68 are data in XML (abbreviation of Extensible Markup Language). Note that the CPU 12 that executes the preview script 60 may be described simply by a program name. For example, the description “preview script 60” may mean “the CPU 12 that executes the preview script 60”.

モデム30は、ファクシミリ機能によって送信する画像データを、電話回線網70に伝送可能な信号に変調して電話回線接続部32を介して送信したり、電話回線網70から電話回線接続部32を介して入力された信号を受信し、画像データを復調するものである。これにより、MFP10は、ファックス送信および、ファックス受信を行うことが可能である。   The modem 30 modulates image data to be transmitted by the facsimile function into a signal that can be transmitted to the telephone line network 70 and transmits the signal via the telephone line connection unit 32, or from the telephone line network 70 via the telephone line connection unit 32. The input signal is received and the image data is demodulated. As a result, the MFP 10 can perform fax transmission and fax reception.

<MFPにおける各種処理の実行>
MFP10では、上述した構成により、制御プログラム40の実行により、コピー処理、スキャン処理、ファックスの送受信処理等のうちの任意の処理が実行される。例えば、コピー処理では、読取部22により読み取られた画像データが、記録紙に画像として出力される。つまり、読取部22により読み取られた画像データに基づく画像が、記録部20により記録用紙に記録される。また、スキャン処理では、読取部22により読み取られた画像データが任意の記憶領域に出力され、その記憶領域において記憶される。つまり、読取部22により読み取られた画像データが、USBメモリ50,サーバ80,PC82等に出力され、各デバイスの記憶領域に記憶される。
<Execution of various processes in MFP>
With the above-described configuration, the MFP 10 executes arbitrary processing of copy processing, scan processing, fax transmission / reception processing, and the like by executing the control program 40. For example, in the copy process, the image data read by the reading unit 22 is output as an image on recording paper. That is, an image based on the image data read by the reading unit 22 is recorded on the recording paper by the recording unit 20. In the scanning process, the image data read by the reading unit 22 is output to an arbitrary storage area and stored in the storage area. That is, the image data read by the reading unit 22 is output to the USB memory 50, the server 80, the PC 82, and the like, and stored in the storage area of each device.

ちなみに、読取部22により読み取られた画像データがUSBメモリ50に記憶されるスキャン処理を、スキャンtoUSB処理と記載し、読取部22により読み取られた画像データがサーバ80に記憶されるスキャン処理を、スキャンtoサーバ処理と記載し、読取部22により読み取られた画像データがPC82に記憶されるスキャン処理を、スキャンtoPC処理と記載する。   Incidentally, the scanning process in which the image data read by the reading unit 22 is stored in the USB memory 50 is referred to as a scan-to-USB process, and the scanning process in which the image data read by the reading unit 22 is stored in the server 80 A scan process in which the image data read by the reading unit 22 is stored in the PC 82 is referred to as a scan-to-PC process.

また、MFP10では、プレビュー表示を行うために要する十分な容量が、データ記憶領域42単体では確保できない。しかし、USBメモリ50をUSBホストI/F28に接続することで、USBメモリ50に格納されているプレビュースクリプト60によって、スキャンtoUSB処理が実行され、USBメモリ50に記憶された画像データに基づく画像が、プレビュー画像としてディスプレイ16に表示される。   Further, in the MFP 10, a sufficient capacity required for preview display cannot be secured by the data storage area 42 alone. However, by connecting the USB memory 50 to the USB host I / F 28, the scan script is executed by the preview script 60 stored in the USB memory 50, and an image based on the image data stored in the USB memory 50 is displayed. And displayed on the display 16 as a preview image.

具体的には、MFP10のディスプレイ16には、まず、制御プログラム40の実行により、図2に示すメイン画面100が表示される。メイン画面100には、ファックスアイコン102、コピーアイコン104、スキャンアイコン106が表示される。そして、例えば、コピーアイコン104が操作されると、USBホストI/F28にUSBメモリ50が接続されているか否かが、制御プログラム40によって判断される。そして、USBホストI/F28にUSBメモリ50が接続されている場合には、そのUSBメモリ50にプレビュースクリプト60が記憶されているかをさらに判断する。プレビュースクリプト60が記憶されている場合は、そのプレビュースクリプト60にスクリプトの問合せイベントが、制御プログラム40によって通知される。   Specifically, first, the main screen 100 shown in FIG. 2 is displayed on the display 16 of the MFP 10 by executing the control program 40. On the main screen 100, a fax icon 102, a copy icon 104, and a scan icon 106 are displayed. For example, when the copy icon 104 is operated, the control program 40 determines whether or not the USB memory 50 is connected to the USB host I / F 28. When the USB memory 50 is connected to the USB host I / F 28, it is further determined whether the preview script 60 is stored in the USB memory 50. When the preview script 60 is stored, the control program 40 notifies the preview script 60 of a script inquiry event.

プレビュースクリプト60は、この通知を受けると、USBメモリ50において、スキャンtoUSB実行スクリプト64、画面表示スクリプト66、画像データ削除スクリプト68の検索を行う。つまり、プレビュースクリプト60は、USBメモリ50にスキャンtoUSB実行スクリプト64、画面表示スクリプト66、画像データ削除スクリプト68の全てのスクリプトがUSBメモリ50に格納されているか否かを判断する。そして、それら全てのスクリプトがUSBメモリ50に格納されている場合には、イベント受信の返答として、「真」を返信する。一方、それら全てのスクリプトがUSBメモリ50に格納されていない場合には、イベント受信の返答として、「偽」を返信する。   Upon receiving this notification, the preview script 60 searches the USB memory 50 for a scan to USB execution script 64, a screen display script 66, and an image data deletion script 68. That is, the preview script 60 determines whether or not all of the scan-to-USB execution script 64, the screen display script 66, and the image data deletion script 68 are stored in the USB memory 50. If all the scripts are stored in the USB memory 50, “true” is returned as an event reception response. On the other hand, if all the scripts are not stored in the USB memory 50, “false” is returned as a response to event reception.

次に、制御プログラム40は、イベント送信の返答として、「真」を受信すると、メイン画面100に代えて、図3に示す第1コピー画面(本発明の第1受付画面の一例)110をディスプレイ16に表示する。この第1コピー画面110の画像データは、記憶部14のデータ記憶領域42に記憶されており、制御プログラム40は、その画像データに基づいて第1コピー画面110を、ディスプレイ16に表示する。この第1コピー画面110には、オプションボタン112、設定表示欄114、プレビューボタン116、スタートボタン118が表示される。   Next, when “true” is received as a response to the event transmission, the control program 40 displays the first copy screen (an example of the first reception screen of the present invention) 110 shown in FIG. 3 instead of the main screen 100. 16 is displayed. The image data of the first copy screen 110 is stored in the data storage area 42 of the storage unit 14, and the control program 40 displays the first copy screen 110 on the display 16 based on the image data. On the first copy screen 110, an option button 112, a setting display field 114, a preview button 116, and a start button 118 are displayed.

オプションボタン112は、コピー処理における設定を変更するためのボタンであり、オプションボタン112が操作されると、制御プログラム40は、設定画面(図示省略)をディスプレイ16に表示する。そして、その設定画面において、拡縮率,印刷濃度,印刷色(カラー印刷とモノクロ印刷との選択)等の設定が変更される。また、設定表示欄114には、デフォルト設定、若しくは、設定画面において変更された設定が表示される。そして、スタートボタン118が操作されることで、制御プログラム40は、設定表示欄114に表示されている設定に従ってコピー処理を実行する。つまり、フラットベット等の原稿の載置台に載置された原稿を、読取部22によって読み取り、その読取により作成された画像データに基づく画像を、記録部20によって記録用紙に記録する。   The option button 112 is a button for changing settings in the copy process. When the option button 112 is operated, the control program 40 displays a setting screen (not shown) on the display 16. In the setting screen, settings such as enlargement / reduction ratio, printing density, printing color (selection between color printing and monochrome printing) are changed. In the setting display field 114, default settings or settings changed on the setting screen are displayed. When the start button 118 is operated, the control program 40 executes a copy process according to the setting displayed in the setting display field 114. That is, a document placed on a document placing table such as a flat bed is read by the reading unit 22, and an image based on the image data created by the reading is recorded on a recording sheet by the recording unit 20.

また、ユーザは、記録用紙に画像が記録される前に、記録画像のイメージを確認したい場合がある。このような場合に、ユーザはプレビューボタン116を操作する。プレビューボタン116が操作されると、制御プログラム40は、プレビューボタン116の操作イベントをプレビュースクリプト60に通知する。プレビュースクリプト60は、この通知を受けると、スキャンtoUSB実行スクリプト64を読み込み、読み込んだスキャンtoUSB実行スクリプト64を改変する。   Further, the user may want to confirm the image of the recorded image before the image is recorded on the recording paper. In such a case, the user operates the preview button 116. When the preview button 116 is operated, the control program 40 notifies the preview script 60 of an operation event of the preview button 116. Upon receiving this notification, the preview script 60 reads the scan to USB execution script 64 and modifies the read scan to USB execution script 64.

詳しくは、プレビュースクリプト60は、スキャンtoUSB実行スクリプト64、画面表示スクリプト66、画像データ削除スクリプト68のそれぞれに対して以下の処理を実行するように記載されている、
1)読み込む
2)読み込んだスクリプトの記載の少なくとも1部を制御プログラムが解釈可能な形式に変更する。その際、必要に応じて、スクリプトが示す処理の設定値をプレビュー表示に適した値に変更する
3)制御プログラム40へ出力する
プレビュースクリプト60を実行するCPU12は、スキャンtoUSBの解像度に関する設定値を、読取部22によって読み取り可能な解像度のうちの最も低い解像度に変更する。また、プレビュースクリプト60を実行するCPU12は、スキャンtoUSBの印刷色に関する設定値を、第1コピー画面110において設定されている印刷色に改変する。
Specifically, the preview script 60 is described so as to execute the following processing for each of the scan to USB execution script 64, the screen display script 66, and the image data deletion script 68.
1) Read
2) Change at least one part of the description of the read script to a format that can be interpreted by the control program. At that time, if necessary, change the setting value of the process indicated by the script to a value suitable for preview display.
3) The CPU 12 that executes the preview script 60 output to the control program 40 changes the setting value relating to the scan-to-USB resolution to the lowest resolution among the resolutions that can be read by the reading unit 22. In addition, the CPU 12 that executes the preview script 60 changes the setting value related to the scan-to-USB print color to the print color set on the first copy screen 110.

なお、スキャンtoUSB実行スクリプト64には、読取部22により読み取られた画像の画像データの記憶先を指定するロケーションも設定値として書き込まれているが、この設定値は変更不可となっている。つまり、スキャンtoUSB実行スクリプト64に基づく指令に従って、スキャンtoUSB処理が実行された場合に、読み取られた画像の画像データは、USBメモリ50の予め設定されたファイル,フォルダ等の記憶領域(以下、「固定記憶領域」と記載する場合がある)に記憶される。   In the scan to USB execution script 64, a location that specifies the storage destination of the image data of the image read by the reading unit 22 is also written as a setting value. However, this setting value cannot be changed. That is, when the scan-to-USB process is executed in accordance with a command based on the scan-to-USB execution script 64, the image data of the read image is stored in a storage area (hereinafter referred to as “file, folder”, etc.) of the USB memory 50. May be described as a “fixed storage area”.

上述した手順に従って、スキャンtoUSB実行スクリプト64が改変されると、プレビュースクリプト60は、変更したスキャンtoUSB実行スクリプト64に基づく指令を制御プログラム40に送信する。そして、制御プログラム40は、その指令を受信すると、スキャンtoUSB実行スクリプト64に書き込まれている設定に従って、スキャンtoUSB処理を実行する。つまり、フラットベット等の原稿の載置台に載置された原稿を、読取部22によって読み取り、その読取により作成された画像データを、USBメモリ50の固定記憶領域に記憶する。そして、その指令に従ったスキャンtoUSB処理の実行が完了すると、制御プログラム40は、処理完了イベントをプレビュースクリプト60に通知する。   When the scan to USB execution script 64 is modified in accordance with the above-described procedure, the preview script 60 transmits a command based on the changed scan to USB execution script 64 to the control program 40. When receiving the command, the control program 40 executes the scan to USB process according to the settings written in the scan to USB execution script 64. That is, a document placed on a document placing table such as a flat bed is read by the reading unit 22, and image data created by the reading is stored in a fixed storage area of the USB memory 50. When the execution of the scan to USB process according to the command is completed, the control program 40 notifies the preview script 60 of a process completion event.

プレビュースクリプト60は、その処理完了イベントを受信すると、画面表示スクリプト66に基づく指令を制御プログラム40に送信する。画面表示スクリプト66には、USBメモリ50の固定記憶領域に記憶されている画像データに基づく画像のプレビュー画面への表示を指示する旨のコマンドが記載されている。また、画面表示スクリプト66には、プレビュー画面においてプレビュー画像とともに表示されるボタンに関する表示指示も記載されている。このため、制御プログラム40は、画面表示スクリプト66に基づく指令を受信すると、その指令に従って、USBメモリ50の固定記憶領域に記憶されている画像データを読み出す。また、制御プログラム40は、その指令に従って、読み出した画像データ及び、アイコン表示指示に基づいて、プレビュー画面を作成し、そのプレビュー画面(図4参照)120をディスプレイ16に表示する。   When receiving the processing completion event, the preview script 60 transmits a command based on the screen display script 66 to the control program 40. The screen display script 66 describes a command for instructing display of an image on the preview screen based on the image data stored in the fixed storage area of the USB memory 50. The screen display script 66 also includes a display instruction regarding buttons displayed together with the preview image on the preview screen. Therefore, when receiving a command based on the screen display script 66, the control program 40 reads the image data stored in the fixed storage area of the USB memory 50 according to the command. Further, the control program 40 creates a preview screen based on the read image data and an icon display instruction in accordance with the command, and displays the preview screen (see FIG. 4) 120 on the display 16.

そのプレビュー画面120には、図4に示すように、スキャンtoUSB実行スクリプト64の指令に従って読み取られた画像の画像データ、つまり、USBメモリ50の固定記憶領域に記憶されていた画像データに基づく画像122が、表示される。これにより、ユーザは、記録用紙に画像が記録される前に、記録用紙に記録される画像のイメージを確認することができる。また、プレビュー画面120には、戻るボタン124も表示されている。ちなみに、この戻るボタン124をプレビュー画面120に表示するための情報は、画面表示スクリプト66に書き込まれており、制御プログラム40は、その情報に基づいて戻るボタンをプレビュー画面120に表示する。そして、ユーザが、画像122を確認した後に、戻るボタンを操作すると、制御プログラム40は、戻るボタン124の操作イベントをプレビュースクリプト60に通知する。   In the preview screen 120, as shown in FIG. 4, the image data based on the image data read in accordance with the command of the scan to USB execution script 64, that is, the image data based on the image data stored in the fixed storage area of the USB memory 50 is displayed. Is displayed. Thereby, the user can confirm the image of the image recorded on the recording paper before the image is recorded on the recording paper. In addition, a return button 124 is also displayed on the preview screen 120. Incidentally, information for displaying the return button 124 on the preview screen 120 is written in the screen display script 66, and the control program 40 displays a return button on the preview screen 120 based on the information. When the user operates the return button after confirming the image 122, the control program 40 notifies the preview script 60 of an operation event of the return button 124.

プレビュースクリプト60は、その操作イベントを受信すると、画像データ削除スクリプト68に基づく指令を制御プログラム40に送信する。画像データ削除スクリプト68には、USBメモリ50の固定記憶領域に記憶されている画像データの削除を指示する旨のコマンドが記載されている。このため、制御プログラム40は、画像データ削除スクリプト68に基づく指令を受信すると、その指令に従って、USBメモリ50の固定記憶領域に記憶されている画像データを削除する。また、制御プログラム40は、戻るボタン124の操作により、プレビュー画面120の代わりに、第1コピー画面110をディスプレイ16に表示する。そして、ユーザは、プレビュー画面120の確認により、コピー予定の画像が気に入れば、第1コピー画面110において、スタートボタン118を操作し、コピー処理を実行する。   When receiving the operation event, the preview script 60 transmits a command based on the image data deletion script 68 to the control program 40. The image data deletion script 68 describes a command for instructing deletion of image data stored in the fixed storage area of the USB memory 50. Therefore, when receiving a command based on the image data deletion script 68, the control program 40 deletes the image data stored in the fixed storage area of the USB memory 50 in accordance with the command. Further, the control program 40 displays the first copy screen 110 on the display 16 instead of the preview screen 120 by operating the return button 124. Then, if the user likes the image to be copied by checking the preview screen 120, the user operates the start button 118 on the first copy screen 110 to execute the copy process.

また、USBメモリ50は、USBホストI/F28に着脱可能であるため、そのUSBホストI/F28にUSBメモリ50が接続されていない場合がある。このような場合には、制御プログラム40は、USBメモリ50に格納されているプレビュースクリプト60に、イベントを通知することができないため、ディスプレイ16に、図3に示す第1コピー画面110ではなく、図5に示す第2コピー画面(本発明の第2受付画面の一例)130を表示する。   Further, since the USB memory 50 is detachable from the USB host I / F 28, the USB memory 50 may not be connected to the USB host I / F 28. In such a case, since the control program 40 cannot notify the preview script 60 stored in the USB memory 50 of the event, the control program 40 does not display the first copy screen 110 shown in FIG. A second copy screen (an example of a second reception screen of the present invention) 130 shown in FIG. 5 is displayed.

また、USBホストI/F28にUSBメモリ50が接続されている場合であっても、
プレビュースクリプト60がUSBメモリ50に格納されていない場合がある。このような場合には、制御プログラム40はUSBメモリにおいてプレビュースクリプトが記憶されているか否かを判断し、記憶されていないと判断した場合も、ディスプレイ16に、図3に示す第1コピー画面110ではなく、図5に示す第2コピー画面(本発明の第2受付画面の一例)130を表示する。また、プレビュースクリプト60がUSBメモリ50に記憶されている場合であっても、スキャンtoUSB実行スクリプト64等のスクリプトがUSBメモリ50に格納されていない場合がある。このような場合には、プレビュースクリプト60は、問合せイベントを受信し、スキャンtoUSB実行スクリプト64等の検索を行った際に、上述したように、イベント受信の返答として、「偽」を返信する。そして、制御プログラム40は、イベント受信の返答として、「偽」を受信した場合に、ディスプレイ16に第2コピー画面130を表示する。
Even when the USB memory 50 is connected to the USB host I / F 28,
The preview script 60 may not be stored in the USB memory 50. In such a case, the control program 40 determines whether or not the preview script is stored in the USB memory, and if it is determined that the preview script is not stored, the first copy screen 110 shown in FIG. Instead, the second copy screen (an example of the second reception screen of the present invention) 130 shown in FIG. 5 is displayed. Even if the preview script 60 is stored in the USB memory 50, a script such as the scan to USB execution script 64 may not be stored in the USB memory 50. In such a case, the preview script 60 receives the inquiry event and returns “false” as a response to the event reception as described above when searching the scan to USB execution script 64 or the like. The control program 40 displays the second copy screen 130 on the display 16 when “false” is received as a response to the event reception.

なお、第2コピー画面130は、第1コピー画面110の画像データに基づいて作成される。詳しくは、第1コピー画面110の画像データでは、プレビューボタン116を隠した状態、つまり、ディスプレイ16に表示させない状態とすることが可能である。このため、第1コピー画面110の画像データに基づく画像を、プレビューボタン116を隠した状態でディスプレイ16に表示することで、第2コピー画面130がディスプレイ16に表示される。このため、第2コピー画面130は、プレビューボタン116を除いて、第1コピー画面110と同じ画面である。つまり、第2コピー画面130には、第1コピー画面110のオプションボタン112、設定表示欄114、スタートボタン118が表示される。このため、第2コピー画面130においても、第1コピー画面110と同様に、オプションボタン112の操作により設定が変更され、スタートボタン118の操作によりコピー処理が実行される。   The second copy screen 130 is created based on the image data of the first copy screen 110. Specifically, in the image data on the first copy screen 110, the preview button 116 can be hidden, that is, not displayed on the display 16. Therefore, the second copy screen 130 is displayed on the display 16 by displaying an image based on the image data on the first copy screen 110 on the display 16 with the preview button 116 hidden. Therefore, the second copy screen 130 is the same screen as the first copy screen 110 except for the preview button 116. That is, on the second copy screen 130, the option button 112, the setting display column 114, and the start button 118 of the first copy screen 110 are displayed. For this reason, on the second copy screen 130, as with the first copy screen 110, the setting is changed by operating the option button 112, and the copy process is executed by operating the start button 118.

以上の説明が、メイン画面100においてコピーアイコン104が操作された際のコピー処理に関する説明である。また、メイン画面100において、スキャンアイコン106が操作されると、制御プログラム40の実行により、図6に示すスキャン処理選択画面140がディスプレイ16に表示される。スキャン処理選択画面140には、スキャンtoサーバ処理選択アイコン142、スキャンtoPC処理選択アイコン144、スキャンtoUSB処理選択アイコン146が表示される。そして、各アイコンが操作されることで、各アイコンに応じたスキャン処理が実行される。   The above description is related to the copy process when the copy icon 104 is operated on the main screen 100. When the scan icon 106 is operated on the main screen 100, the scan processing selection screen 140 shown in FIG. 6 is displayed on the display 16 by the execution of the control program 40. On the scan process selection screen 140, a scan to server process selection icon 142, a scan to PC process selection icon 144, and a scan to USB process selection icon 146 are displayed. When each icon is operated, a scan process corresponding to each icon is executed.

ちなみに、スキャンtoサーバ処理選択アイコン142への操作によりスキャンtoサーバ処理が実行され、スキャンtoPC処理選択アイコン144への操作によりスキャンtoファイル処理が実行され、スキャンtoUSB処理選択アイコン146への操作によりスキャンtoUSB処理が実行される。以下に、各スキャン処理について説明するが、各スキャン処理は、概ね共通しているため、共通している箇所は、纏めて説明し、異なる箇所を各処理に応じて説明する。   Incidentally, the scan to server process is executed by operating the scan to server process selection icon 142, the scan to file process is executed by operating the scan to PC process selection icon 144, and the scan is performed by operating the scan to USB process selection icon 146. The toUSB process is executed. Each scan process will be described below. Since each scan process is generally common, common parts will be described together, and different parts will be described according to each process.

まず、スキャン処理選択画面140において、スキャンtoサーバ処理選択アイコン142等の各アイコンが操作されると、コピーアイコン104が操作された場合と同様に、USBホストI/F28にUSBメモリ50が接続されているか否かが、制御プログラム40によって判断される。USBメモリ50が接続されている場合に、プレビュースクリプト60がUSBメモリ50に格納されているかが制御プログラム40によって、さらに判断される。プレビュースクリプト60がUSBメモリ50に格納されていると判断されると、問合せイベントが、プレビュースクリプト60に制御プログラム40によって通知される。   First, when each icon such as the scan to server process selection icon 142 is operated on the scan process selection screen 140, the USB memory 50 is connected to the USB host I / F 28 in the same manner as when the copy icon 104 is operated. The control program 40 determines whether or not When the USB memory 50 is connected, the control program 40 further determines whether the preview script 60 is stored in the USB memory 50. When it is determined that the preview script 60 is stored in the USB memory 50, an inquiry event is notified to the preview script 60 by the control program 40.

プレビュースクリプト60は、USBメモリ50にスキャンtoUSB実行スクリプト64、画面表示スクリプト66、画像データ削除スクリプト68の全てのスクリプトが格納されているか否かを判断し、それら全てのスクリプトがUSBメモリ50に格納されている場合には、イベント受信の返答として、「真」を返信する。一方、それら全てのスクリプトがUSBメモリ50に格納されていない場合には、イベント受信の返答として、「偽」を返信する。   The preview script 60 determines whether or not all of the scan-to-USB execution script 64, the screen display script 66, and the image data deletion script 68 are stored in the USB memory 50, and all these scripts are stored in the USB memory 50. If yes, “true” is returned as a response to event reception. On the other hand, if all the scripts are not stored in the USB memory 50, “false” is returned as a response to event reception.

次に、制御プログラム40は、イベント送信の返答として、「真」を受信すると、メイン画面100に代えて、第1スキャン画面(図示省略)(本発明の第1受付画面の一例)をディスプレイ16に表示する。この第1スキャン画面は、設定表示欄114に第1コピー画面110とは一部異なる設定項目に対応した設定が表示される点、イラストが異なる点などを除けば、図3に示す第1コピー画面110と共通であるため、この第1コピー画面110を利用して説明する。第1スキャン画面のオプションボタン112は、スキャン処理における設定を変更するためのボタンであり、このオプションボタン112が操作されると、制御プログラム40は、図7に示す設定画面150をディスプレイ16に表示する。   Next, when receiving “true” as a response to the event transmission, the control program 40 displays a first scan screen (not shown) (an example of the first reception screen of the present invention) instead of the main screen 100 on the display 16. To display. This first scan screen is the first copy shown in FIG. 3 except that the setting display field 114 displays settings corresponding to setting items that are partially different from the first copy screen 110, and the illustrations are different. Since it is common to the screen 110, the first copy screen 110 will be used for the description. The option button 112 on the first scan screen is a button for changing settings in the scan processing. When the option button 112 is operated, the control program 40 displays the setting screen 150 shown in FIG. To do.

設定画面150には、複数の設定ボタン152が表示され、設定ボタン152への操作によりスキャン処理における設定が変更される。なお、各設定ボタン152への操作によって、各種記憶領域に記憶される際の画像データのファイル名,画像データの記憶先を特定するためのディレクトリ,画像読取時のカラースキャンとモノクロスキャンとの選択,画像読取時の解像度等が設定される。そして、設定ボタン152への操作によりスキャン処理の設定が完了した後に、OKボタン154が操作されることで、設定画面150の代わりに、第1スキャン画面がディスプレイ16に表示される。ちなみに、スキャンtoサーバ処理時における画像データの記憶先は、PCのブラウザ等を用いてMFP10に搭載されたEWS(embedded web server)へアクセスするなどの方法によりサーバ80の記憶領域の所定のディレクトリが予め設定されている。このため、スキャンtoサーバ処理時の設定画面150には、画像データの記憶先を設定するための設定ボタン152は表示されない。   A plurality of setting buttons 152 are displayed on the setting screen 150, and settings in the scan process are changed by operating the setting buttons 152. It should be noted that by operating each setting button 152, a file name of image data when stored in various storage areas, a directory for specifying the storage destination of the image data, and a color scan and a monochrome scan at the time of image reading are selected. , The resolution at the time of image reading is set. Then, after the setting of the scan process is completed by operating the setting button 152, the first scan screen is displayed on the display 16 instead of the setting screen 150 by operating the OK button 154. Incidentally, the storage destination of the image data at the time of scan-to-server processing is a predetermined directory in the storage area of the server 80 by a method such as accessing an embedded web server (EWS) installed in the MFP 10 using a browser of a PC or the like. It is set in advance. For this reason, the setting button 152 for setting the storage destination of the image data is not displayed on the setting screen 150 at the time of scan-to-server processing.

また、第1スキャン画面の設定表示欄114には、スキャン処理におけるデフォルト設定、若しくは、設定画面150において変更された設定が表示される。そして、第1スキャン画面において、スタートボタン118が操作されることで、制御プログラム40は、設定表示欄114に表示されている設定に従ってスキャン処理を実行する。つまり、フラットベット等の原稿の載置台に載置された原稿が、読取部22によって読み取られ、その読取により作成された画像データが、USBメモリ50,サーバ80,PC82のうちの何れかの所定の記憶領域に出力され、記憶される。なお、スキャンtoサーバ処理、スキャンtoPC処理、スキャンtoUSB処理のそれぞれが選択された場合、一部、互いに異なる設定項目に対応した設定値が第1スキャン画面や、設定画面において表示される。   In the setting display field 114 of the first scan screen, default settings in the scan process or settings changed on the setting screen 150 are displayed. Then, when the start button 118 is operated on the first scan screen, the control program 40 executes a scan process according to the setting displayed in the setting display field 114. In other words, a document placed on a document placement table such as a flat bed is read by the reading unit 22, and image data created by the reading is any one of the USB memory 50, the server 80, and the PC 82. Are output and stored in the storage area. When each of scan-to-server processing, scan-to-PC processing, and scan-to-USB processing is selected, some setting values corresponding to different setting items are displayed on the first scan screen and the setting screen.

また、ユーザは、読取部22によって読み取られた画像のイメージを確認したい場合がある。このような場合に、ユーザは、第1スキャン画面において、プレビューボタン116を操作する。プレビューボタン116が操作されると、制御プログラム40は、プレビューボタン116の操作イベントをプレビュースクリプト60に通知する。なお、プレビュースクリプト60にプレビューボタン116の操作イベントが通知されてから、MFP10のディスプレイ16にプレビュー画面120が表示され、USBメモリ50に記憶された画像データが消去される迄の処理は、コピーアイコン104が操作された際の処理と同じであるため、説明を省略する。   The user may want to confirm the image read by the reading unit 22. In such a case, the user operates the preview button 116 on the first scan screen. When the preview button 116 is operated, the control program 40 notifies the preview script 60 of an operation event of the preview button 116. The process from when the preview script 116 is notified of the operation event of the preview button 116 until the preview screen 120 is displayed on the display 16 of the MFP 10 and the image data stored in the USB memory 50 is deleted is a copy icon. Since the processing is the same as that performed when 104 is operated, description thereof is omitted.

そして、各種スキャン処理においてディスプレイ16にプレビュー画面120が表示されている際に、戻るボタン124が操作されると、プレビュー画面120の代わりに、第1スキャン画面がディスプレイ16に表示される。そして、ユーザは、プレビュー画面120の確認により、スキャン予定の画像が気に入れば、第1スキャン画面において、スタートボタン118を操作し、スキャン処理を実行する。   When the return button 124 is operated while the preview screen 120 is displayed on the display 16 in various scan processes, the first scan screen is displayed on the display 16 instead of the preview screen 120. Then, if the user likes the image scheduled to be scanned by checking the preview screen 120, the user operates the start button 118 on the first scan screen to execute the scanning process.

スキャン処理においても、コピー処理と同様に、USBホストI/F28にUSBメモリ50が接続されていない場合、及び、USBホストI/F28にUSBメモリ50が接続されていてもプレビュースクリプト60が記憶されていない場合、プレビュースクリプト60が記憶されていても問合せイベントの返答として「偽」が返信された場合には、制御プログラム40は、ディスプレイ16に第2スキャン画面を表示する。この第2スキャン画面も、第1コピー画面110及び第2コピー画面130と同様に、第1スキャン画面の画像データに基づいて作成される。詳しくは、第1スキャン画面の画像データでは、プレビューボタン116を隠した状態、つまり、ディスプレイ16に表示させない状態とすることが可能である。このため、第1スキャン画面の画像データに基づく画像を、プレビューボタン116を隠した状態でディスプレイ16に表示することで、第2スキャン画面がディスプレイ16に表示される。このため、第2スキャン画面は、プレビューボタン116を除いて、第1スキャン画面と同じ画面である。つまり、第1スキャン画面には、第1スキャン画面のオプションボタン112、設定表示欄114、スタートボタン118が表示される。このため、第2スキャン画面においても、第1スキャン画面と同様に、オプションボタン112の操作により設定が変更され、スタートボタン118の操作によりスキャン処理が実行される。   Also in the scan process, as in the copy process, the preview script 60 is stored when the USB memory 50 is not connected to the USB host I / F 28 and even when the USB memory 50 is connected to the USB host I / F 28. If not, even if the preview script 60 is stored, if “false” is returned as a response to the inquiry event, the control program 40 displays the second scan screen on the display 16. Similarly to the first copy screen 110 and the second copy screen 130, the second scan screen is also created based on the image data of the first scan screen. Specifically, in the image data of the first scan screen, the preview button 116 can be hidden, that is, not displayed on the display 16. Therefore, the second scan screen is displayed on the display 16 by displaying an image based on the image data of the first scan screen on the display 16 with the preview button 116 hidden. Therefore, the second scan screen is the same screen as the first scan screen except for the preview button 116. That is, an option button 112, a setting display field 114, and a start button 118 of the first scan screen are displayed on the first scan screen. For this reason, as in the first scan screen, the setting is changed by operating the option button 112 on the second scan screen, and the scan process is executed by operating the start button 118.

このように、MFP10では、データ記憶領域42に記憶されている制御プログラム40の実行により、スキャンtoUSB処理を実行することが可能である。また、USBホストI/F28に接続されたUSBメモリ50には、スキャンtoUSB実行スクリプト64が格納されており、そのスキャンtoUSB実行スクリプト64には、スキャンtoUSB処理の実行指令が書き込まれている。そして、制御プログラム40が、スキャンtoUSB実行スクリプト64に基づく指令に従って、スキャンtoUSB処理を実行することで、読取部22に読み取られた画像データが、USBメモリ50の固定記憶領域に記憶される。また、USBメモリ50には、画面表示スクリプト66が格納されており、その画面表示スクリプト66には、USBメモリ50の固定記憶領域に記憶されている画像データに基づいてプレビュー画面120を形成するとともに、そのプレビュー画面120をディスプレイ16に表示させる旨の指令が書き込まれている。このため、制御プログラム40が、画面表示スクリプト66に基づく指令に従って、プレビュー画面120をディスプレイ16に表示することで、ユーザがコピー処理、若しくは、スキャン処理におけるプレビュー画像をディスプレイ16において確認することが可能となる。   As described above, the MFP 10 can execute the scan to USB process by executing the control program 40 stored in the data storage area 42. The USB memory 50 connected to the USB host I / F 28 stores a scan-to-USB execution script 64, and a scan-to-USB processing execution command is written in the scan-to-USB execution script 64. Then, the control program 40 executes the scan-to-USB process according to the command based on the scan-to-USB execution script 64, whereby the image data read by the reading unit 22 is stored in the fixed storage area of the USB memory 50. The USB memory 50 stores a screen display script 66. The screen display script 66 forms a preview screen 120 based on image data stored in the fixed storage area of the USB memory 50. A command for displaying the preview screen 120 on the display 16 is written. For this reason, the control program 40 displays the preview screen 120 on the display 16 in accordance with a command based on the screen display script 66, so that the user can confirm the preview image in the copy process or the scan process on the display 16. It becomes.

これにより、記憶容量の少ないデータ記憶領域42を用いることなく、MFP10においてプレビュー機能を利用することが可能となる。また、ディスプレイ16にプレビュー画像が表示される際には、制御プログラム40により実行されるスキャンtoUSB処理を利用して、プレビュー画像の画像データが作成され、その画像データがUSBメモリ50に記憶される。この際、制御プログラム40は、スキャンtoUSB実行スクリプト64に基づく指令に従って、プレビュー画像の作成および、記憶を行う。このため、制御プログラム40を変更することなく、スキャンtoUSB実行スクリプト64等のスクリプトを作成するだけで、プレビュー機能が追加される。これにより、既存の機能を利用してプレビュー画像の作成および、記憶を実行することが可能となり、MFP10においてプレビュー機能を利用するための設計負荷を少なくすることが可能となる。   As a result, the preview function can be used in the MFP 10 without using the data storage area 42 having a small storage capacity. Further, when the preview image is displayed on the display 16, the image data of the preview image is created using the scan to USB process executed by the control program 40, and the image data is stored in the USB memory 50. . At this time, the control program 40 creates and stores a preview image in accordance with a command based on the scan to USB execution script 64. For this reason, a preview function is added only by creating a script such as the scan to USB execution script 64 without changing the control program 40. As a result, it is possible to create and store a preview image using an existing function, and to reduce a design load for using the preview function in the MFP 10.

また、USBメモリ50には、画像データ削除スクリプト68が格納されており、その画像データ削除スクリプト68には、USBメモリ50の固定記憶領域に記憶されている画像データの削除指令が書き込まれている。このため、制御プログラム40が、プレビュー画面120をディスプレイ16に表示させた後に、画像データ削除スクリプト68に基づく指令に従って、USBメモリ50の固定記憶領域に記憶されている画像データを削除する。これにより、USBメモリ50に記憶される画像データの容量の増大を抑制することが可能となる。   The USB memory 50 stores an image data deletion script 68, and a deletion command for image data stored in the fixed storage area of the USB memory 50 is written in the image data deletion script 68. . For this reason, the control program 40 displays the preview screen 120 on the display 16 and then deletes the image data stored in the fixed storage area of the USB memory 50 in accordance with a command based on the image data deletion script 68. As a result, an increase in the capacity of image data stored in the USB memory 50 can be suppressed.

また、スキャンtoUSB実行スクリプト64に基づいてスキャンtoUSB処理が実行される際に、読取部22により読み取り可能な解像度のうちの最も低い解像度で、画像の読み取りが行われる。これは、ディスプレイ16の画面解像度(画素密度)が低いので、高解像度の画像を表示することができないためである。これにより、無駄に解像度の高い画像の作成を防止し、プレビュー画像の作成に要する時間を短くすることが可能となる。   Further, when the scan-to-USB process is executed based on the scan-to-USB execution script 64, the image is read at the lowest resolution among the resolutions that can be read by the reading unit 22. This is because a high-resolution image cannot be displayed because the screen resolution (pixel density) of the display 16 is low. As a result, it is possible to prevent unnecessary creation of an image with a high resolution and to shorten the time required for creating a preview image.

また、スキャンtoUSB処理時の画像データの記憶先は、設定画面においてUSBメモリ50のデータ記憶領域52の任意の領域に設定することが可能であるが、プレビュー画像の画像データの記憶先は、USBメモリ50の固定記憶領域に設定されており、任意に変更することができない。これにより、スキャンtoUSB処理時の画像データと、プレビュー画像の画像データとの混同を防止することが可能となる。   In addition, the storage location of the image data during the scan-to-USB processing can be set in any area of the data storage area 52 of the USB memory 50 on the setting screen, but the storage location of the image data of the preview image is USB It is set in the fixed storage area of the memory 50 and cannot be changed arbitrarily. As a result, it is possible to prevent confusion between the image data during the scan-to-USB process and the image data of the preview image.

また、第1コピー画面110と第2コピー画面130、若しくは、第1スキャン画面と第2スキャン画面は、同一の画像データに基づいて作成される。これにより、画像データのデータ量を抑制することが可能となる。   In addition, the first copy screen 110 and the second copy screen 130, or the first scan screen and the second scan screen are created based on the same image data. Thereby, the data amount of image data can be suppressed.

<制御プログラム>
上述したMFP10による各種処理の実行及び、プレビュー画像の表示は、MFP10のCPU12において制御プログラム40および、プレビュースクリプト60が実行されることによって行われる。以下に、図8乃至図12を用いて、CPU12で制御プログラム40が実行される際のフローを説明し、図13を用いて、CPU12でプレビュースクリプト60が実行される際のフローを説明する。
<Control program>
The execution of various processes by the MFP 10 and the display of the preview image are performed by executing the control program 40 and the preview script 60 in the CPU 12 of the MFP 10. The flow when the control program 40 is executed by the CPU 12 will be described below with reference to FIGS. 8 to 12, and the flow when the preview script 60 is executed by the CPU 12 will be described using FIG.

MFP10では、制御プログラム40が実行されると、図8に示すように、メイン画面100がディスプレイ16に表示される(S100)。次に、メイン画面100において、コピー処理が選択されたか否か、つまり、コピーアイコン104が操作されたか否かが、制御プログラム40によって判断される(S102)。コピー処理が選択された場合(S102:YES)には、スクリプト対応処理サブルーチンが実行される(S104)。   In the MFP 10, when the control program 40 is executed, the main screen 100 is displayed on the display 16 as shown in FIG. 8 (S100). Next, the control program 40 determines whether or not copy processing has been selected on the main screen 100, that is, whether or not the copy icon 104 has been operated (S102). If the copy process is selected (S102: YES), a script corresponding process subroutine is executed (S104).

スクリプト対応処理サブルーチンでは、図9に示すように、USBホストI/F28にUSBメモリ50が接続されているか否かが、制御プログラム40によって判断される(S200)。USBホストI/F28にUSBメモリ50が接続されている場合(S200:YES)には、USBメモリ50にプレビュースクリプト60が記憶されているか否かが、制御プログラム40によって判断される(S202)。USBメモリ50にプレビュースクリプト60が記憶されている場合(S202:YES)には、制御プログラム40は、スクリプトの問合せイベントをプレビュースクリプト60に通知する(S204)。そして、その問合せイベントの返答として、「真」をプレビュースクリプト60から受信したか否かが、制御プログラム40によって判断される(S206)。   In the script corresponding processing subroutine, as shown in FIG. 9, the control program 40 determines whether or not the USB memory 50 is connected to the USB host I / F 28 (S200). When the USB memory 50 is connected to the USB host I / F 28 (S200: YES), the control program 40 determines whether the preview script 60 is stored in the USB memory 50 (S202). When the preview script 60 is stored in the USB memory 50 (S202: YES), the control program 40 notifies the preview script 60 of a script inquiry event (S204). Then, as a response to the inquiry event, the control program 40 determines whether or not “true” is received from the preview script 60 (S206).

問合せイベントの返答として、「真」を受信している場合(S206:YES)には、制御プログラム40は、第1コピー画面110を、第1受付画面としてディスプレイ16に表示する(S208)。次に、第1コピー画面110において、プレビューボタン116が操作されたか否かが、制御プログラム40によって判断される(S210)。この際、プレビューボタン116が操作されている場合(S210:YES)には、制御プログラム40は、プレビューボタン116の操作イベントをプレビュースクリプト60に通知する(S212)。そして、制御プログラム40は、スキャンtoUSB実行スクリプト64に基づく指令を、プレビュースクリプト60から受信する(S214)。   If “true” is received as a response to the inquiry event (S206: YES), the control program 40 displays the first copy screen 110 on the display 16 as the first reception screen (S208). Next, the control program 40 determines whether or not the preview button 116 has been operated on the first copy screen 110 (S210). At this time, if the preview button 116 is operated (S210: YES), the control program 40 notifies the preview script 60 of an operation event of the preview button 116 (S212). Then, the control program 40 receives a command based on the scan to USB execution script 64 from the preview script 60 (S214).

続いて、制御プログラム40は、スキャンtoUSB実行スクリプト64に基づく指令に従って、スキャンtoUSB処理を実行する(S216)。つまり、読取部22によって原稿を読み取り、その読み取られた画像の画像データをUSBメモリ50の固定記憶領域に記憶させる。そして、図10に示すように、スキャンtoUSB処理が完了したか否かが、制御プログラム40によって判断される(S218)。この際、スキャンtoUSB処理が完了していない場合(S218:NO)には、S218の処理が繰り返される。一方、スキャンtoUSB処理が完了している場合(S218:YES)には、制御プログラム40は、処理完了イベントをプレビュースクリプト60に通知する(S220)。   Subsequently, the control program 40 executes a scan to USB process according to a command based on the scan to USB execution script 64 (S216). That is, the original is read by the reading unit 22 and the image data of the read image is stored in the fixed storage area of the USB memory 50. Then, as shown in FIG. 10, the control program 40 determines whether or not the scan to USB process is completed (S218). At this time, if the scan to USB process is not completed (S218: NO), the process of S218 is repeated. On the other hand, when the scan to USB process is completed (S218: YES), the control program 40 notifies the preview script 60 of a process completion event (S220).

次に、制御プログラム40は、画面表示スクリプト66に基づく指令を、プレビュースクリプト60から受信する(S222)。そして、制御プログラム40は、画面表示スクリプト66に基づく指令に従って、USBメモリ50の固定記憶領域に記憶された画像データを読み出し、その画像データを利用して作成されたプレビュー画面120をディスプレイ16に表示する(S224)。続いて、そのプレビュー画面120において、戻るボタン124が操作されたか否かが、制御プログラム40によって判断される(S226)。   Next, the control program 40 receives a command based on the screen display script 66 from the preview script 60 (S222). Then, the control program 40 reads the image data stored in the fixed storage area of the USB memory 50 in accordance with a command based on the screen display script 66 and displays the preview screen 120 created using the image data on the display 16. (S224). Subsequently, the control program 40 determines whether or not the return button 124 is operated on the preview screen 120 (S226).

戻るボタン124が操作されていない場合(S226:NO)には、S226の処理が繰り返される。一方、戻るボタン124が操作されている場合(S226:YES)には、制御プログラム40は、戻るボタン124の操作イベントをプレビュースクリプト60に通知する(S228)。そして、制御プログラム40は、画像データ削除スクリプト68に基づく指令を、プレビュースクリプト60から受信する(S230)。次に、制御プログラム40は、画像データ削除スクリプト68に基づく指令に従って、USBメモリ50の固定記憶領域に記憶されている画像データを削除する(S232)。これにより、スクリプト対応処理サブルーチンが終了し、図8に示すように、メインルーチンのS104に戻る。   When the return button 124 is not operated (S226: NO), the process of S226 is repeated. On the other hand, when the return button 124 is operated (S226: YES), the control program 40 notifies the preview script 60 of an operation event of the return button 124 (S228). Then, the control program 40 receives a command based on the image data deletion script 68 from the preview script 60 (S230). Next, the control program 40 deletes the image data stored in the fixed storage area of the USB memory 50 in accordance with a command based on the image data deletion script 68 (S232). As a result, the script handling subroutine is completed, and the process returns to S104 of the main routine as shown in FIG.

また、図9に示すように、S200でUSBホストI/F28にUSBメモリ50が接続されていない場合(S200:NO)、若しくは、USBメモリ50にプレビュースクリプト60が記憶されていない場合(S202:NO)、若しくは、S206で問合せイベントの返答として、「偽」を受信している場合(S206:NO)には、制御プログラム40は、第2コピー画面130を、第2受付画面としてディスプレイ16に表示する(S234)。そして、スクリプト対応処理サブルーチンが終了し、図8に示すように、メインルーチンのS110に進む。また、S210で第1コピー画面110のプレビューボタン116が操作されていない場合(S210:NO)にも、スクリプト対応処理サブルーチンが終了し、図8に示すように、メインルーチンのS110に進む。   As shown in FIG. 9, when the USB memory 50 is not connected to the USB host I / F 28 at S200 (S200: NO), or when the preview script 60 is not stored in the USB memory 50 (S202: NO) or when “false” is received as a response to the inquiry event in S206 (S206: NO), the control program 40 uses the second copy screen 130 as the second reception screen on the display 16. It is displayed (S234). Then, the script corresponding processing subroutine ends, and the process proceeds to S110 of the main routine as shown in FIG. Also, when the preview button 116 on the first copy screen 110 is not operated in S210 (S210: NO), the script corresponding processing subroutine is completed, and the process proceeds to S110 of the main routine as shown in FIG.

メインルーチンのS110では、第1コピー画面110若しくは、第2コピー画面130において、スタートボタン118が操作されたか否かが、制御プログラム40によって判断される(S110)。スタートボタン118が操作されていない場合(S110:NO)には、オプションボタン112が操作されたか否かが、制御プログラム40によって判断される(S112)。オプションボタン112が操作されている場合(S112:YES)には、設定処理、つまり、設定画面がディスプレイ16に表示され、設定画面においてコピー処理の各種設定が実行される(S114)。そして、S104に戻る。一方、オプションボタン112が操作されていない場合(S112:NO)には、S114の処理がスキップされ、S104に戻る。   In S110 of the main routine, the control program 40 determines whether or not the start button 118 has been operated on the first copy screen 110 or the second copy screen 130 (S110). If the start button 118 has not been operated (S110: NO), the control program 40 determines whether the option button 112 has been operated (S112). When the option button 112 is operated (S112: YES), a setting process, that is, a setting screen is displayed on the display 16, and various settings of the copy process are executed on the setting screen (S114). Then, the process returns to S104. On the other hand, when the option button 112 is not operated (S112: NO), the process of S114 is skipped and the process returns to S104.

また、S110でスタートボタン118が操作されている場合(S110:YES)には、制御プログラム40は、コピー処理に応じた設定値を読み出す(S116)。次に、制御プログラム40は、読取部22に原稿の読み取りを実行させる(S118)。続いて、制御プログラム40は、原稿の読取により作成された画像データを、記録部20に出力し、記録部20によって画像データに基づく画像を記録用紙に記録させる(S120)。そして、S104に戻る。   If the start button 118 is operated in S110 (S110: YES), the control program 40 reads a set value corresponding to the copy process (S116). Next, the control program 40 causes the reading unit 22 to read the original (S118). Subsequently, the control program 40 outputs the image data created by reading the document to the recording unit 20, and causes the recording unit 20 to record an image based on the image data on a recording sheet (S120). Then, the process returns to S104.

また、S102でコピー処理が選択されていない場合(S102:NO)には、図11に示すように、メイン画面100において、スキャン処理が選択されたか否か、つまり、スキャンアイコン106が操作されたか否かが、制御プログラム40によって判断される(S130)。この際、スキャン処理が選択された場合(S130:YES)には、制御プログラム40は、スキャン処理選択画面140をディスプレイ16に表示する(S132)。そして、スキャン処理選択画面140において、スキャンtoUSB処理が選択されたか否か、つまり、スキャンtoUSB処理選択アイコン146が操作されたか否かが、制御プログラム40によって判断される(S134)。スキャンtoUSB処理が選択された場合(S134:YES)には、スクリプト対応処理サブルーチンが実行される(S136)。   If the copy process is not selected in S102 (S102: NO), as shown in FIG. 11, whether or not the scan process is selected on the main screen 100, that is, whether or not the scan icon 106 is operated. It is determined by the control program 40 whether or not (S130). At this time, if the scan process is selected (S130: YES), the control program 40 displays the scan process selection screen 140 on the display 16 (S132). Then, the control program 40 determines whether or not the scan to USB process is selected on the scan process selection screen 140, that is, whether or not the scan to USB process selection icon 146 is operated (S134). When the scan to USB process is selected (S134: YES), a script corresponding process subroutine is executed (S136).

S136のスクリプト対応処理サブルーチンは、S104のスクリプト対応処理サブルーチン、つまり、図9及び図10に示すスクリプト対応処理サブルーチンと略同じであるため、図9及び図10を用いて、異なるステップのみを説明する。本スクリプト対応処理サブルーチン(S136)では、S208において、制御プログラム40は、第1スキャン画面を、第1受付画面としてディスプレイ16に表示する。また、S234において、制御プログラム40は、第2スキャン画面を、第2受付画面としてディスプレイ16に表示する。また、S232の処理の終了後に、本スクリプト対応処理サブルーチン(S136)が終了し、図11に示すメインルーチンのS136に戻る。また、S234の処理の終了後、若しくは、S210でプレビューボタン116が操作されていないと判断された場合(S210:NO)に、本スクリプト対応処理サブルーチン(S136)が終了し、図11に示すメインルーチンのS140に進む。   Since the script correspondence processing subroutine of S136 is substantially the same as the script correspondence processing subroutine of S104, that is, the script correspondence processing subroutine shown in FIGS. 9 and 10, only different steps will be described using FIG. 9 and FIG. . In the script corresponding processing subroutine (S136), in S208, the control program 40 displays the first scan screen on the display 16 as the first reception screen. In S234, the control program 40 displays the second scan screen on the display 16 as the second reception screen. Further, after completion of the processing of S232, the script corresponding processing subroutine (S136) is completed, and the process returns to S136 of the main routine shown in FIG. Further, after completion of the processing of S234 or when it is determined in S210 that the preview button 116 has not been operated (S210: NO), the script corresponding processing subroutine (S136) is terminated, and the main processing shown in FIG. The routine proceeds to S140 of the routine.

メインルーチンのS140では、第1スキャン画面若しくは、第2スキャン画面において、スタートボタン118が操作されたか否かが、制御プログラム40によって判断される(S140)。スタートボタン118が操作されていない場合(S140:NO)には、オプションボタン112が操作されたか否かが、制御プログラム40によって判断される(S142)。オプションボタン112が操作されている場合(S142:YES)には、設定処理、つまり、設定画面150がディスプレイ16に表示され、設定画面150においてスキャンtoUSB処理の各種設定が実行される(S144)。そして、S136に戻る。一方、オプションボタン112が操作されていない場合(S142:NO)には、S144の処理がスキップされ、S136に戻る。   In S140 of the main routine, the control program 40 determines whether or not the start button 118 has been operated on the first scan screen or the second scan screen (S140). When the start button 118 is not operated (S140: NO), the control program 40 determines whether the option button 112 is operated (S142). When the option button 112 is operated (S142: YES), the setting process, that is, the setting screen 150 is displayed on the display 16, and various settings of the scan to USB process are executed on the setting screen 150 (S144). Then, the process returns to S136. On the other hand, when the option button 112 is not operated (S142: NO), the process of S144 is skipped and the process returns to S136.

また、S140でスタートボタン118が操作されている場合(S140:YES)には、制御プログラム40は、スキャンtoUSB処理に応じた設定値を読み出す(S146)。次に、制御プログラム40は、読取部22に原稿の読み取りを実行させる(S148)。続いて、制御プログラム40は、原稿の読取により作成された画像データを、USBメモリ50に出力し、記憶させる(S150)。そして、S136に戻る。   When the start button 118 is operated in S140 (S140: YES), the control program 40 reads a setting value corresponding to the scan to USB process (S146). Next, the control program 40 causes the reading unit 22 to read the original (S148). Subsequently, the control program 40 outputs the image data created by reading the document to the USB memory 50 and stores it (S150). Then, the process returns to S136.

また、S134でスキャンtoUSB処理が選択されていない場合(S134:NO)には、図12に示すように、スキャン処理選択画面140において、スキャンtoサーバ処理が選択されたか否か、つまり、スキャンtoサーバ処理選択アイコン142が操作されたか否かが、制御プログラム40によって判断される(S160)。スキャンtoサーバ処理が選択された場合(S160:YES)には、スクリプト対応処理サブルーチンが実行される(S162)。   If the scan to USB process is not selected in S134 (S134: NO), as shown in FIG. 12, whether or not the scan to server process is selected on the scan process selection screen 140, that is, the scan to USB process is selected. The control program 40 determines whether or not the server process selection icon 142 has been operated (S160). If the scan-to-server process is selected (S160: YES), a script handling subroutine is executed (S162).

S162のスクリプト対応処理サブルーチンは、S104のスクリプト対応処理サブルーチン、つまり、図9及び図10に示すスクリプト対応処理サブルーチンと略同じであるため、図9及び図10を用いて、異なるステップのみを説明する。本スクリプト対応処理サブルーチン(S162)では、S208において、制御プログラム40は、第1スキャン画面を、第1受付画面としてディスプレイ16に表示する。また、S234において、制御プログラム40は、第2スキャン画面を、第2受付画面としてディスプレイ16に表示する。また、S232の処理の終了後に、本スクリプト対応処理サブルーチン(S162)が終了し、図12に示すメインルーチンのS162に戻る。また、S234の処理の終了後、若しくは、S210でプレビューボタン116が操作されていないと判断された場合(S210:NO)に、本スクリプト対応処理サブルーチン(S162)が終了し、図12に示すメインルーチンのS170に進む。   Since the script corresponding processing subroutine of S162 is substantially the same as the script corresponding processing subroutine of S104, that is, the script corresponding processing subroutine shown in FIGS. 9 and 10, only different steps will be described using FIG. 9 and FIG. . In the script corresponding processing subroutine (S162), in S208, the control program 40 displays the first scan screen on the display 16 as the first reception screen. In S234, the control program 40 displays the second scan screen on the display 16 as the second reception screen. Further, after completion of the processing of S232, the script corresponding processing subroutine (S162) is completed, and the process returns to S162 of the main routine shown in FIG. Further, after completion of the processing of S234, or when it is determined in S210 that the preview button 116 has not been operated (S210: NO), the script corresponding processing subroutine (S162) ends, and the main processing shown in FIG. The routine proceeds to S170 of the routine.

メインルーチンのS170では、第1スキャン画面若しくは、第2スキャン画面において、スタートボタン118が操作されたか否かが、制御プログラム40によって判断される(S170)。スタートボタン118が操作されていない場合(S170:NO)には、オプションボタン112が操作されたか否かが、制御プログラム40によって判断される(S172)。オプションボタン112が操作されている場合(S172:YES)には、設定処理、つまり、設定画面150がディスプレイ16に表示され、設定画面150においてスキャンtoサーバ処理の各種設定が実行される(S174)。そして、S162に戻る。一方、オプションボタン112が操作されていない場合(S172:NO)には、S174の処理がスキップされ、S162に戻る。   In S170 of the main routine, the control program 40 determines whether or not the start button 118 has been operated on the first scan screen or the second scan screen (S170). If the start button 118 is not operated (S170: NO), the control program 40 determines whether the option button 112 is operated (S172). When the option button 112 is operated (S172: YES), the setting process, that is, the setting screen 150 is displayed on the display 16, and various settings of the scan-to-server process are executed on the setting screen 150 (S174). . Then, the process returns to S162. On the other hand, when the option button 112 is not operated (S172: NO), the process of S174 is skipped and the process returns to S162.

また、S170でスタートボタン118が操作されている場合(S170:YES)には、制御プログラム40は、スキャンtoサーバ処理に応じた設定値を読み出す(S176)。次に、制御プログラム40は、読取部22に原稿の読み取りを実行させる(S178)。続いて、制御プログラム40は、原稿の読取により作成された画像データを、サーバ80に出力し、記憶させる(S180)。そして、S162に戻る。   When the start button 118 is operated in S170 (S170: YES), the control program 40 reads a set value corresponding to the scan to server process (S176). Next, the control program 40 causes the reading unit 22 to read the original (S178). Subsequently, the control program 40 outputs the image data created by reading the document to the server 80 for storage (S180). Then, the process returns to S162.

また、S160でスキャンtoサーバ処理が選択されていない場合(S160:NO)すなわち、スキャンtoPC処理選択アイコンが操作された場合には、スキャンtoPC処理が実行される。スキャンtoPC処理は、スキャンtoUSB処理と略同じであり、図11のS150を除くS136〜S148と略同じ処理が実行される。このため、図11のS136〜S150を用いて、スキャンtoUSB処理と異なるステップのみを説明する。   If the scan to server process is not selected in S160 (S160: NO), that is, if the scan to PC process selection icon is operated, the scan to PC process is executed. The scan-to-PC process is substantially the same as the scan-to-USB process, and substantially the same processes as S136 to S148 except S150 in FIG. 11 are executed. Therefore, only steps different from the scan-to-USB process will be described using S136 to S150 of FIG.

スキャンtoPC処理では、S144において、設定画面150がディスプレイ16に表示され、設定画面150においてスキャンtoPC処理の各種設定が実行される。また、S176において、制御プログラム40は、スキャンtoPC処理に応じた設定値を読み出す。また、S150において、制御プログラム40は、原稿の読取により作成された画像データを、PC82に出力し、記憶させる。なお、S164の処理が終了すると、S100に戻る。   In the scan-to-PC process, a setting screen 150 is displayed on the display 16 in S144, and various settings of the scan-to-PC process are executed on the setting screen 150. In S176, the control program 40 reads a setting value corresponding to the scan to PC process. In S150, the control program 40 outputs the image data created by reading the document to the PC 82 for storage. When the process of S164 is completed, the process returns to S100.

また、S130でスキャン処理が選択されていない場合(S130:NO)には、メイン画面100において操作されたアイコンに応じた処理が実行される(S138)。具体的には、ファックスアイコン102が操作された場合には、ファックスの送受信処理が実行される。なお、ファックスの送受信処理は、一般的な処理であるため説明を省略する。そして、S164の処理が終了すると、S100に戻る。   If the scan process is not selected in S130 (S130: NO), a process corresponding to the icon operated on the main screen 100 is executed (S138). Specifically, when the fax icon 102 is operated, fax transmission / reception processing is executed. The fax transmission / reception process is a general process and will not be described. Then, when the process of S164 ends, the process returns to S100.

また、MFP10では、プレビュースクリプト60が実行されると、図13に示すように、制御プログラム40から何らかのイベントを受信しているか否かが、プレビュースクリプト60によって判断される(S300)。制御プログラム40からイベントを受信していない場合(S300:NO)には、S300の処理が繰り返される。一方、制御プログラム40からイベントを受信している場合(S300:YES)には、その受信しているイベントが戻るボタン124の操作イベントであるか否かが、プレビュースクリプト60によって判断される(S302)。   In the MFP 10, when the preview script 60 is executed, the preview script 60 determines whether any event is received from the control program 40 as shown in FIG. 13 (S300). If no event has been received from the control program 40 (S300: NO), the process of S300 is repeated. On the other hand, when an event is received from the control program 40 (S300: YES), the preview script 60 determines whether the received event is an operation event of the return button 124 (S302). ).

受信しているイベントが戻るボタン124の操作イベントである場合(S302:YES)には、プレビュースクリプト60は、画像データ削除スクリプト68に基づく指令を、制御プログラム40に送信する(S304)。そして、S300に戻る。一方、受信しているイベントが戻るボタン124の操作イベントでない場合(S302:NO)には、受信しているイベントがスクリプトの問合せイベントであるか否かが、プレビュースクリプト60によって判断される(S306)。   If the received event is an operation event of the return button 124 (S302: YES), the preview script 60 transmits a command based on the image data deletion script 68 to the control program 40 (S304). Then, the process returns to S300. On the other hand, if the received event is not an operation event of the return button 124 (S302: NO), the preview script 60 determines whether or not the received event is a script inquiry event (S306). ).

受信しているイベントがスクリプトの問合せイベントである場合(S306:YES)には、スキャンtoUSB実行スクリプト64と画面表示スクリプト66と画像データ削除スクリプト68との3つのスクリプトがUSBメモリ50に格納されているか否かが、プレビュースクリプト60によって判断される(S308)。3つのスクリプトがUSBメモリ50に格納されている場合(S308:YES)には、プレビュースクリプト60は、「真」を制御プログラム40に送信する(S310)。そして、S300に戻る。一方、3つのスクリプトがUSBメモリ50に格納されていない場合(S308:NO)には、プレビュースクリプト60は、「偽」を制御プログラム40に送信する(S312)。そして、S300に戻る。   If the received event is a script inquiry event (S306: YES), three scripts of a scan to USB execution script 64, a screen display script 66, and an image data deletion script 68 are stored in the USB memory 50. Whether or not there is is determined by the preview script 60 (S308). If three scripts are stored in the USB memory 50 (S308: YES), the preview script 60 transmits “true” to the control program 40 (S310). Then, the process returns to S300. On the other hand, when the three scripts are not stored in the USB memory 50 (S308: NO), the preview script 60 transmits “false” to the control program 40 (S312). Then, the process returns to S300.

また、S306で受信しているイベントがスクリプトの問合せイベントでない場合(S306:NO)には、受信しているイベントがプレビューボタン116の操作イベントであるか否かが、プレビュースクリプト60によって判断される(S314)。受信しているイベントがプレビューボタン116の操作イベントである場合(S314:YES)には、プレビュースクリプト60が、スキャンtoUSB実行スクリプト64を改変し(S316)、その改変したスキャンtoUSB実行スクリプト64に基づく指令を、制御プログラム40に送信する(S318)。そして、S300に戻る。   If the event received in S306 is not a script inquiry event (S306: NO), the preview script 60 determines whether the received event is an operation event of the preview button 116 or not. (S314). If the received event is an operation event of the preview button 116 (S314: YES), the preview script 60 modifies the scan to USB execution script 64 (S316) and is based on the modified scan to USB execution script 64. The command is transmitted to the control program 40 (S318). Then, the process returns to S300.

また、受信しているイベントがプレビューボタン116の操作イベントでない場合(S314:NO)には、画面表示スクリプト66に基づく指令を、制御プログラム40に送信する(S318)。そして、S300に戻る。   If the received event is not an operation event for the preview button 116 (S314: NO), a command based on the screen display script 66 is transmitted to the control program 40 (S318). Then, the process returns to S300.

なお、S102の処理は、出力先受付処理の一例である。S118の処理は、読取制御処理の一例である。S120の処理は、出力処理の一例である。S144の処理は、出力先受付処理、及び設定受付処理の一例である。S148の処理は、読取制御処理の一例である。S150の処理は、出力処理の一例である。S160の処理は、出力先受付処理の一例である。S170の処理は、出力処理の一例である。S174の処理は、設定受付処理の一例である。S178の処理は、読取制御処理の一例である。S200の処理は、判断処理の一例である。S208の処理は、第1表示制御処理の一例である。S224の処理は、第2表示制御処理の一例である。S232の処理は、削除処理の一例である。S234の処理は、第3表示制御処理の一例である。   Note that the process of S102 is an example of an output destination reception process. The process of S118 is an example of a reading control process. The process of S120 is an example of an output process. The process of S144 is an example of an output destination reception process and a setting reception process. The process of S148 is an example of a reading control process. The process of S150 is an example of an output process. The process of S160 is an example of an output destination reception process. The process of S170 is an example of an output process. The process of S174 is an example of a setting reception process. The process of S178 is an example of a reading control process. The process of S200 is an example of a determination process. The process of S208 is an example of a first display control process. The process of S224 is an example of a second display control process. The process of S232 is an example of a deletion process. The process of S234 is an example of a third display control process.

なお、本発明は、上記実施形態に限定されるものではなく、当業者の知識に基づいて種々の変更、改良を施した種々の態様で実施することが可能である。具体的には、上記実施形態では、スクリプトを利用したプレビュー機能が、コピー処理及びスキャン処理において実行されているが、他の処理、例えば、ファックスの送受信処理等において実行することが可能である。   In addition, this invention is not limited to the said embodiment, It is possible to implement in the various aspect which gave various change and improvement based on the knowledge of those skilled in the art. Specifically, in the above-described embodiment, the preview function using a script is executed in the copy process and the scan process, but can be executed in other processes such as a fax transmission / reception process.

また、上記実施形態では、プレビュースクリプト60,スキャンtoUSB実行スクリプト64等の各種スクリプトがUSBメモリ50に記憶されているが、それら各種スクリプトがMFP10の記憶部14に記憶されてもよい。また、各種スクリプトが、USBメモリ50と記憶部14との両方に記憶され、USBメモリ50に記憶されたスクリプトと、記憶部14に記憶されたスクリプトとが選択的に用いられてもよい。   In the above-described embodiment, various scripts such as the preview script 60 and the scan to USB execution script 64 are stored in the USB memory 50. However, these various scripts may be stored in the storage unit 14 of the MFP 10. Various scripts may be stored in both the USB memory 50 and the storage unit 14, and the script stored in the USB memory 50 and the script stored in the storage unit 14 may be selectively used.

また、上記実施形態では、第1コピー画面110の画像データがデータ記憶領域42に記憶され、その画像データに基づいて第1コピー画面110がディスプレイ16に表示されるが、第1コピー画面110を作成するための情報と、その情報に基づいて第1コピー画面110を作成する旨の指令と、作成された第1コピー画面110をディスプレイ16に表示する旨の指令が書き込まれたスクリプトを、USBメモリ50に記憶させ、そのスクリプトを利用して、第1コピー画面110をディスプレイ16に表示させてもよい。   In the above embodiment, the image data of the first copy screen 110 is stored in the data storage area 42, and the first copy screen 110 is displayed on the display 16 based on the image data. A script in which information for creating, a command for creating the first copy screen 110 based on the information, and a command for displaying the created first copy screen 110 on the display 16 are written The first copy screen 110 may be displayed on the display 16 using the script stored in the memory 50.

また、上記実施形態では、プレビュースクリプト60等の各種スクリプトが、外部記憶装置としてのUSBメモリ50に記憶されているが、SDカード、外付けHDD等、他の外部記憶装置に各種スクリプトが記憶されてもよい。   In the above embodiment, various scripts such as the preview script 60 are stored in the USB memory 50 as an external storage device, but various scripts are stored in other external storage devices such as an SD card and an external HDD. May be.

また、上記実施形態では、CPU12によって図8乃至図13に示す処理が実行される例を説明したが、これら処理は、CPU12に限らず、ASICや他の論理集積回路により実行されてもよいし、これら処理が、CPU等やASIC、他の論理集積回路が協働することにより実行されてもよい。   In the above-described embodiment, the example in which the processing shown in FIGS. 8 to 13 is executed by the CPU 12 has been described. However, these processings are not limited to the CPU 12 and may be executed by an ASIC or other logical integrated circuit. These processes may be executed by cooperation of a CPU or the like, an ASIC, or another logic integrated circuit.

10:MFP(画像読取装置)、12:CPU(制御部)、14:記憶部、16:ディスプレイ(表示部)、18:入力I/F(操作部)、20:記録部(出力部)、22:読取部、24:ネットワークI/F(出力部)(通信部)、26:USBデバイスI/F(出力部)(通信部)、28:USBホストI/F(接続部)、50:USBメモリ(外部記憶装置)、80:サーバ(外部装置)、82:PC(外部装置)   10: MFP (image reading device), 12: CPU (control unit), 14: storage unit, 16: display (display unit), 18: input I / F (operation unit), 20: recording unit (output unit), 22: reading unit, 24: network I / F (output unit) (communication unit), 26: USB device I / F (output unit) (communication unit), 28: USB host I / F (connection unit), 50: USB memory (external storage device), 80: server (external device), 82: PC (external device)

Claims (8)

画像を読み取る読取部と、
ユーザ操作に応じた入力を行う操作部と、
表示部と、
外部記憶装置が着脱可能に接続される接続部と、
画像を出力する出力部と、
制御部と、
を備え、
前記制御部は、
前記読取部による読み取り予定の画像の出力先の指定を、前記操作部により受け付ける出力先受付処理と、
原稿に記された画像を前記読取部により読み取らせる読取制御処理と、
前記読取制御処理の実行により得られた画像である読取画像を、前記出力先受付処理により受け付けられた出力先に出力する出力処理と、
前記接続部に前記外部記憶装置が装着されているか否かを判断する判断処理と、
前記判断処理により前記接続部に前記外部記憶装置が接続されていると判断された場合に、前記出力処理に先行した前記読取画像の前記表示部への表示の指示を受け付けるための第1受付画面を、前記表示部に表示させる第1表示制御処理と、
前記第1受付画面が前記表示部に表示された状態で、前記読取画像の前記表示部への表示指示を前記操作部が受け付けた場合に、所定の記憶領域に記憶されている指令に従って、前記読取制御処理を実行させ、当該読取制御処理の実行により得られた読取画像を、前記外部記憶装置の特定の領域を当該読取画像の展開領域として用いて、前記表示部に表示させる第2表示制御処理と、
を実行することを特徴とする画像読取装置。
A reading unit for reading an image;
An operation unit for performing input in accordance with a user operation;
A display unit;
A connection unit to which the external storage device is detachably connected;
An output unit for outputting an image;
A control unit;
With
The controller is
An output destination accepting process for accepting designation of an output destination of an image to be read by the reading unit by the operation unit;
A reading control process for causing the reading unit to read an image written on a document;
An output process for outputting a read image, which is an image obtained by executing the read control process, to an output destination received by the output destination reception process;
A determination process for determining whether or not the external storage device is attached to the connection unit;
A first reception screen for receiving an instruction to display the read image on the display unit prior to the output process when it is determined by the determination process that the external storage device is connected to the connection unit Is displayed on the display unit, a first display control process,
When the operation unit receives an instruction to display the read image on the display unit in a state where the first reception screen is displayed on the display unit, the command is stored in a predetermined storage area according to the command stored in the predetermined storage area. Second display control for executing a reading control process and displaying a read image obtained by executing the reading control process on the display unit using a specific area of the external storage device as a development area of the read image. Processing,
The image reading apparatus characterized by performing.
前記制御部は、
前記第2表示制御処理の実行により前記表示部に読取画像が表示された後に、当該読取画像の表示部への表示の終了指示を前記操作部が受け付けた場合に、前記所定の記憶領域に記憶されている指令に従って、前記外部記憶装置に展開された読取画像を削除する削除処理を、更に実行することを特徴とする請求項1に記載の画像読取装置。
The controller is
After the read image is displayed on the display unit by executing the second display control process, when the operation unit receives an instruction to end the display of the read image on the display unit, it is stored in the predetermined storage area. The image reading apparatus according to claim 1, further comprising a deletion process that deletes the read image developed in the external storage device in accordance with a command that has been executed.
前記制御部は、
前記判断処理により前記接続部に前記外部記憶装置が接続されていないと判断された場合に、前記読取制御処理と前記出力処理との少なくとも一方に関する情報を受け付けるための第2受付画面を、前記表示部に表示させる第3表示制御処理を、更に実行し、
前記第1表示制御処理は、
前記読取画像の前記表示部への表示指示を受け付けるためのアイコンを含む前記第2受付画面を、前記第1受付画面として、前記表示部に表示させる処理であることを特徴とする請求項1又は2に記載の画像読取装置。
The controller is
When the determination process determines that the external storage device is not connected to the connection unit, a second reception screen for receiving information regarding at least one of the reading control process and the output process is displayed on the display. Further executing a third display control process to be displayed on the screen,
The first display control process includes:
2. The process of displaying the second reception screen including an icon for receiving an instruction to display the read image on the display unit as the first reception screen on the display unit. 3. The image reading apparatus according to 2.
前記制御部は、
前記読取部による画像の読み取り解像度の設定を、前記操作部により受け付ける設定受付処理を、更に実行し、
前記第2表示制御処理は、
前記設定受付処理により受け付け可能な解像度の設定範囲のうちの、最も低い解像度以下の解像度で、前記読取制御処理を実行させ、当該読取制御処理の実行により得られた読取画像を前記表示部に表示させることを特徴とする請求項1ないし3の何れか1項に記載の画像読取装置。
The controller is
A setting receiving process for receiving the setting of the image reading resolution by the reading unit by the operation unit;
The second display control process includes:
The reading control process is executed at a resolution equal to or lower than the lowest resolution among the resolution setting ranges that can be received by the setting receiving process, and a read image obtained by executing the reading control process is displayed on the display unit. 4. The image reading apparatus according to claim 1, wherein the image reading apparatus is configured to perform the above operation.
前記操作部は、
前記出力先受付処理における画像の出力先として、前記接続部に接続された外部記憶装置を指定する入力が可能であり、
前記第2表示制御処理における指令は、
前記出力先受付処理によって受け付けられる画像の出力先に関わらず、前記読取制御処理の実行により得られた読取画像を、前記接続部に接続された外部記憶装置の前記特定の領域に出力し、当該特定の領域を当該読取画像の展開領域として用いて、前記表示部に表示させる指令であることを特徴とする請求項1ないし4の何れか1項に記載の画像読取装置。
The operation unit is
As an image output destination in the output destination reception process, an input for specifying an external storage device connected to the connection unit is possible.
The command in the second display control process is:
Regardless of the output destination of the image accepted by the output destination acceptance process, the read image obtained by the execution of the read control process is output to the specific area of the external storage device connected to the connection unit. 5. The image reading apparatus according to claim 1, wherein the command is a command for causing the display unit to display a specific area as a developed area of the read image. 6.
前記所定の記憶領域は、前記外部記憶装置における領域であることを特徴とする請求項1ないし5の何れか1項に記載の画像読取装置。   The image reading apparatus according to claim 1, wherein the predetermined storage area is an area in the external storage device. 前記画像読取装置は、
記憶部を備え、
前記所定の記憶領域は、前記記憶部における領域であることを特徴とする請求項1ないし6の何れか1項に記載の画像読取装置。
The image reading device includes:
A storage unit,
The image reading apparatus according to claim 1, wherein the predetermined storage area is an area in the storage unit.
前記出力部は、
前記接続部と、前記画像読取装置に設けられ、画像を記録する記録部と、前記画像読取装置に設けられ、外部装置と通信可能な通信部とのうちの少なくとも1つであることを特徴とする請求項1ないし7の何れか1項に記載の画像読取装置。
The output unit is
It is at least one of the connection unit, a recording unit that is provided in the image reading device and records an image, and a communication unit that is provided in the image reading device and can communicate with an external device. The image reading apparatus according to any one of claims 1 to 7.
JP2016037204A 2016-02-29 2016-02-29 Image reading device Active JP6651905B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016037204A JP6651905B2 (en) 2016-02-29 2016-02-29 Image reading device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016037204A JP6651905B2 (en) 2016-02-29 2016-02-29 Image reading device

Publications (2)

Publication Number Publication Date
JP2017157918A true JP2017157918A (en) 2017-09-07
JP6651905B2 JP6651905B2 (en) 2020-02-19

Family

ID=59810417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016037204A Active JP6651905B2 (en) 2016-02-29 2016-02-29 Image reading device

Country Status (1)

Country Link
JP (1) JP6651905B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019698A (en) * 2019-05-31 2020-12-01 兄弟工业株式会社 Image forming apparatus, method of storing image forming data, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094426A (en) * 2004-09-27 2006-04-06 Seiko Epson Corp Image selection information display device, printer and image selection information display method
JP2010170235A (en) * 2009-01-20 2010-08-05 Kyocera Mita Corp Image forming system and server device
JP2013006407A (en) * 2011-05-20 2013-01-10 Sharp Corp Image output device, method for controlling the same, control program, and recording medium
JP2015115716A (en) * 2013-12-10 2015-06-22 キヤノン株式会社 Image reading device and control method of the same
WO2017002408A1 (en) * 2015-06-30 2017-01-05 京セラドキュメントソリューションズ株式会社 Image forming device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006094426A (en) * 2004-09-27 2006-04-06 Seiko Epson Corp Image selection information display device, printer and image selection information display method
JP2010170235A (en) * 2009-01-20 2010-08-05 Kyocera Mita Corp Image forming system and server device
JP2013006407A (en) * 2011-05-20 2013-01-10 Sharp Corp Image output device, method for controlling the same, control program, and recording medium
JP2015115716A (en) * 2013-12-10 2015-06-22 キヤノン株式会社 Image reading device and control method of the same
WO2017002408A1 (en) * 2015-06-30 2017-01-05 京セラドキュメントソリューションズ株式会社 Image forming device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019698A (en) * 2019-05-31 2020-12-01 兄弟工业株式会社 Image forming apparatus, method of storing image forming data, and program

Also Published As

Publication number Publication date
JP6651905B2 (en) 2020-02-19

Similar Documents

Publication Publication Date Title
JP4877013B2 (en) Scanner
JP4861883B2 (en) Image forming apparatus and application execution method
JP2007028179A (en) Image forming apparatus and data processing program
US20190265921A1 (en) Information processing apparatus, information processing system, information processing method, and non-transitory computer-readable recording medium
JP2009260903A (en) Image processing apparatus, image processing method and image processing program
US10712985B2 (en) Setting control device that changes from one area to another, setting control method, and program
JP5137858B2 (en) Image processing apparatus, image processing method, storage medium, and program
US9386082B2 (en) Information processing apparatus, and control method and storage medium therefor
JP6642205B2 (en) Control program and terminal device
JP2015018332A (en) Information processing apparatus, image processing system, and control program
US8767236B2 (en) Image forming system, image forming apparatus, image forming method, and storage medium storing program thereof
JP5597943B2 (en) System and method
JP2006041764A (en) Log recording apparatus, log recording program, and recording medium
US8724133B2 (en) Image forming apparatus, control method of the image forming apparatus, and recording medium
JP2021190782A (en) Control program, information processing device and communication system
JP6589343B2 (en) Information processing apparatus and program
JP6651905B2 (en) Image reading device
US11550524B1 (en) Information processing apparatus and method and non-transitory computer readable medium
JP6070865B2 (en) Image processing apparatus and image processing program
US10296268B2 (en) Printing system that generates preview image of a part of pages among a plurality of pages, data processing device, and recording medium
JP4914477B2 (en) Image processing device
JP6519942B2 (en) Image forming apparatus and program
US10965838B2 (en) Image forming apparatus, method for controlling image forming apparatus, and non-transitory storage medium for restricting a function
US11526309B2 (en) Computer-readable medium, information processing device, and method for performing eco-printing
JP7457518B2 (en) Image forming apparatus, program and image forming system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191008

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191206

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: 20191224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200106

R150 Certificate of patent or registration of utility model

Ref document number: 6651905

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150