JP2008250657A - Information processor, information processing method, and information processing program - Google Patents

Information processor, information processing method, and information processing program Download PDF

Info

Publication number
JP2008250657A
JP2008250657A JP2007090971A JP2007090971A JP2008250657A JP 2008250657 A JP2008250657 A JP 2008250657A JP 2007090971 A JP2007090971 A JP 2007090971A JP 2007090971 A JP2007090971 A JP 2007090971A JP 2008250657 A JP2008250657 A JP 2008250657A
Authority
JP
Japan
Prior art keywords
information
invalid
display
screen
displayed
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.)
Withdrawn
Application number
JP2007090971A
Other languages
Japanese (ja)
Inventor
Hirotomo Nishimura
広智 西村
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007090971A priority Critical patent/JP2008250657A/en
Publication of JP2008250657A publication Critical patent/JP2008250657A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor capable of reducing a coding amount of a program for displaying information to indicate occurrence of a wrong operation, and responding to modification, if any, with less effort. <P>SOLUTION: The information processor comprises: registration means 111 to 113 for registering information, for generating a screen to display on a display section by dividing it into a plurality of layers; a drawing means 114 for performing drawing processing based on the registered plurality of layers of information; a display means 20a for displaying the acquired screen on the display section; an input device 30 for generating and outputting information according to user operation; a determination means 100 for determining the inputted information is valid or invalid when a predetermined screen is displayed; and a control means 100 for registering information to display the invalid information to a predetermined layer and performing drawing processing when it is determined that the invalid information is inputted. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、情報処理装置、情報処理方法、および、情報処理プログラムに関する。   The present invention relates to an information processing apparatus, an information processing method, and an information processing program.

特許文献1には、コピー装置において、間違った操作または設定を行った場合に表示部にワーニングを表示したり、紙詰まり等が発生した場合にエラーを表示したりする技術が開示されている。   Japanese Patent Application Laid-Open No. 2004-151620 discloses a technique for displaying a warning on a display unit when an incorrect operation or setting is performed in a copying apparatus, or displaying an error when a paper jam or the like occurs.

特開2001−290393号公報(要約書、請求項)JP 2001-290393 (abstract, claim)

ところで、情報処理装置では、多くのシチュエーションに応じた多数の画面が準備されている。このため、これら多数の画面のそれぞれが表示されている場合に、誤った操作がされた(たとえば、無効なキーが操作された)とき、ワーニングまたはエラーを表示部に表示する処理を実現しようとすると、処理が煩雑となるとともに、プログラムのコーディング量が膨大となる。   By the way, in the information processing apparatus, a large number of screens corresponding to many situations are prepared. For this reason, when each of these many screens is displayed, when an incorrect operation is performed (for example, an invalid key is operated), an attempt is made to realize a process of displaying a warning or an error on the display unit. Then, the processing becomes complicated and the coding amount of the program becomes enormous.

すなわち、上述のような処理を実行するためには、多数存在する各画面において有効または無効なキーの種類を登録し、それぞれの画面においてワーニングまたはエラー表示の形式(行数および表示幅等)を設定する必要がある。従来においては、それぞれの画面毎に、これらの処理を実行するプログラムを記述していたため、前述のように処理が煩雑となるとともに、プログラムのコーディング量も膨大となる。   In other words, in order to execute the processing as described above, a valid or invalid key type is registered in each existing screen, and a warning or error display format (number of lines, display width, etc.) is displayed on each screen. Must be set. Conventionally, since a program for executing these processes is described for each screen, the process becomes complicated as described above, and the coding amount of the program becomes enormous.

また、表示形式等の変更があった場合には、これらのプログラムのそれぞれについて全て修正を行う必要があることから、その作業量が膨大となるという問題点がある。   In addition, when there is a change in the display format or the like, it is necessary to modify all of these programs, which causes a problem that the amount of work becomes enormous.

本発明は、上記の事情に基づきなされたもので、その目的とするところは、誤った操作が行われたことを示す情報を表示するプログラムのコーディング量を削減するとともに、修正が生じた場合にはわずかな作業量によって対応が可能な情報処理装置、情報処理方法、および、情報処理プログラムを提供しよう、とするものである。   The present invention has been made based on the above circumstances, and its purpose is to reduce the coding amount of a program that displays information indicating that an erroneous operation has been performed, and when a correction occurs. Is intended to provide an information processing apparatus, an information processing method, and an information processing program that can be handled with a small amount of work.

上述の目的を達成するため、本発明の情報処理装置は、表示部に表示する画面を生成するための情報を複数の階層に分けて登録する登録手段と、登録手段に登録されている複数の階層の情報に基づいて描画処理を実行する描画手段と、描画手段によって得られた画面を表示部に表示する表示手段と、操作に応じた情報を生成して出力する入力デバイスと、表示手段によって所定の画面が表示されている際に、入力デバイスが操作されて入力された情報の有効または無効を判定する判定手段と、判定手段によって無効な情報が入力デバイスから入力されたと判定された場合には、無効な入力がなされたことを示す無効情報を表示するための情報を、登録手段の所定の階層に対して登録するとともに、描画手段に対して描画処理を実行させる制御手段と、を有する。これにより、誤った操作が行われたことを示す情報を表示するプログラムのコーディング量を削減するとともに、修正が生じた場合にはわずかな作業量によって対応が可能な情報処理装置を提供できる。   In order to achieve the above object, an information processing apparatus according to the present invention includes a registration unit that divides information for generating a screen to be displayed on a display unit into a plurality of hierarchies, and a plurality of registration units registered in the registration unit. By drawing means for executing drawing processing based on hierarchy information, display means for displaying a screen obtained by the drawing means on a display unit, an input device for generating and outputting information according to an operation, and a display means When a predetermined screen is displayed, a determination unit for determining whether the information input by operating the input device is valid or invalid, and a case where the determination unit determines that invalid information is input from the input device Is a control for registering information for displaying invalid information indicating that invalid input has been made in a predetermined hierarchy of the registration unit and causing the drawing unit to execute a drawing process. It has a stage, a. Accordingly, it is possible to provide an information processing apparatus that can reduce the coding amount of a program that displays information indicating that an erroneous operation has been performed, and that can cope with a small amount of work when a correction occurs.

また、他の発明の情報処理装置は、前述の発明に加えて、描画手段が、登録手段に登録されている情報を階層毎に所定の順序で描画し、制御手段が、無効情報を表示するための情報を、登録手段の最後に描画される階層に対して登録するようにしている。このため、無効情報に重畳される情報を退避したり、復元したり処理を省略できることから、処理を高速化できるとともに、コーディング量を削減できる。   In addition to the above-described invention, in the information processing apparatus of another invention, the drawing unit draws information registered in the registration unit in a predetermined order for each hierarchy, and the control unit displays invalid information. The information for registration is registered in the hierarchy drawn at the end of the registration means. For this reason, the information superimposed on the invalid information can be saved, restored, and the processing can be omitted, so that the processing can be speeded up and the coding amount can be reduced.

また、他の発明の情報処理装置は、前述の発明に加えて、制御手段が、表示部の無効情報を表示する領域に表示される他の情報が存在する場合には、当該他の情報の表示形式に対応した表示形式により無効情報が表示されるように無効情報を登録するようにしている。このため、他の情報から無効情報に表示が切り替わる場合、または、無効情報から他の情報に表示が切り替わる場合に、ユーザが違和感を覚えることを防止できる。   Further, in addition to the above-described invention, the information processing apparatus according to another aspect of the invention may include other information displayed in the area where the control unit displays invalid information on the display unit. The invalid information is registered so that the invalid information is displayed in a display format corresponding to the display format. For this reason, when the display is switched from other information to invalid information, or when the display is switched from invalid information to other information, it is possible to prevent the user from feeling uncomfortable.

また、他の発明の情報処理装置は、前述の発明に加えて、制御手段が、表示部に無効情報が表示されてから所定の時間が経過した場合には、登録手段に登録された無効情報を表示するための情報を削除または無効化するとともに、描画手段に対して再度描画処理を実行させるようにしている。このため、一定の時間が経過した場合には、無効情報を画面から消去させることができるので、他の情報の視認を妨げることがない。   In addition to the above-described invention, the information processing apparatus according to another aspect of the invention may be configured so that the control unit invalid information registered in the registration unit when a predetermined time has elapsed since the invalid information was displayed on the display unit. The information for displaying is deleted or invalidated, and the drawing means is made to execute the drawing process again. For this reason, when a certain period of time has elapsed, invalid information can be erased from the screen, so that visual recognition of other information is not hindered.

また、他の発明の情報処理装置は、前述の発明に加えて、制御手段が、判定手段によって無効な情報が入力されたと判定された場合には無効情報を表示するための情報を登録手段に登録し、有効な情報が入力されたと判定された場合には無効情報を表示するための情報を登録手段から削除または無効化し、描画手段が、無効情報を表示するための情報が登録手段に登録されている場合には、無効情報を表示するための情報に対する描画処理を実行するようにしている。このため、無効情報が登録されている場合にのみ描画処理を実行することにより、処理速度を向上させることができる。   In addition to the above-described invention, the information processing apparatus according to another aspect of the invention provides information for displaying invalid information to the registration unit when the control unit determines that invalid information is input by the determination unit. If it is determined that valid information has been entered, the information for displaying invalid information is deleted or invalidated from the registration means, and the drawing means registers the information for displaying invalid information in the registration means. If it is, the drawing process for the information for displaying the invalid information is executed. For this reason, the processing speed can be improved by executing the drawing process only when invalid information is registered.

また、本発明の情報処理方法は、表示部に表示する画面を生成するための情報を複数の階層に分けて登録し、登録されている複数の階層の情報に基づいて描画処理を実行し、描画処理によって得られた画面を表示部に表示し、表示処理によって所定の画面が表示されている際に、入力デバイスが操作されて入力された情報の有効または無効を判定し、無効な情報が入力デバイスから入力されたと判定された場合には、無効な入力がなされたことを示す無効情報を表示するための情報を、所定の階層に対して登録するとともに、描画処理を実行する。これにより、誤った操作が行われたことを示す情報を表示するプログラムのコーディング量を削減するとともに、修正が生じた場合にはわずかな作業量によって対応が可能な情報処理方法を提供できる。   In addition, the information processing method of the present invention registers information for generating a screen to be displayed on the display unit in a plurality of layers, executes drawing processing based on the information of the plurality of registered layers, The screen obtained by the drawing process is displayed on the display unit, and when a predetermined screen is displayed by the display process, the input device is operated to determine whether the input information is valid or invalid, and invalid information is displayed. When it is determined that the input has been made from the input device, information for displaying invalid information indicating that invalid input has been made is registered in a predetermined hierarchy and a drawing process is executed. Thus, it is possible to provide an information processing method that can reduce the coding amount of a program that displays information indicating that an erroneous operation has been performed and that can cope with a small amount of work when correction occurs.

また、本発明の情報処理プログラムは、表示部に表示する画面を生成するための情報を複数の階層に分けて登録する登録手段、登録手段に登録されている複数の階層の情報に基づいて描画処理を実行する描画手段、描画手段によって得られた画面を表示部に表示する表示手段、操作に応じた情報を生成して出力する入力デバイス、表示手段によって所定の画面が表示されている際に、入力デバイスが操作されて入力された情報の有効または無効を判定する判定手段、判定手段によって無効な情報が入力デバイスから入力されたと判定された場合には、無効な入力がなされたことを示す無効情報を表示するための情報を、登録手段の所定の階層に対して登録するとともに、描画手段に対して描画処理を実行させる制御手段、としてコンピュータを機能させる。これにより、誤った操作が行われたことを示す情報を表示するプログラムのコーディング量を削減するとともに、修正が生じた場合にはわずかな作業量によって対応が可能な情報処理プログラムを提供できる。   Also, the information processing program of the present invention includes a registration unit for registering information for generating a screen to be displayed on the display unit in a plurality of hierarchies, and drawing based on information of the plurality of hierarchies registered in the registration unit. A drawing means for executing processing, a display means for displaying a screen obtained by the drawing means on a display unit, an input device for generating and outputting information according to an operation, and when a predetermined screen is displayed by the display means A determination unit that determines whether the information input by operating the input device is valid or invalid; if the determination unit determines that invalid information is input from the input device, it indicates that invalid input has been made. A computer as control means for registering information for displaying invalid information in a predetermined hierarchy of the registration means and causing the drawing means to execute drawing processing To function. As a result, it is possible to reduce the coding amount of a program that displays information indicating that an erroneous operation has been performed, and to provide an information processing program that can cope with a small amount of work when correction occurs.

以下、本発明の一実施の形態について、図面を参照しながら説明する。図1は、本発明の実施の形態の印刷装置10の構成例を示す図である。なお、本発明の情報処理装置は、印刷装置10を例に挙げて説明する。また、本発明の情報処理方法、および、情報処理プログラムについては印刷装置10の動作として説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a diagram illustrating a configuration example of a printing apparatus 10 according to an embodiment of the present invention. The information processing apparatus according to the present invention will be described using the printing apparatus 10 as an example. The information processing method and information processing program of the present invention will be described as operations of the printing apparatus 10.

図1に示す印刷装置10は、スキャナ装置、印刷装置、および、コピー装置が一体となったいわゆる複合型の印刷装置である。印刷装置10は、メイン制御部20、情報入力部30、情報出力部40、プリント機構50、および、スキャン機構60を主要な構成要素としている。   A printing apparatus 10 illustrated in FIG. 1 is a so-called composite printing apparatus in which a scanner apparatus, a printing apparatus, and a copying apparatus are integrated. The printing apparatus 10 includes a main control unit 20, an information input unit 30, an information output unit 40, a printing mechanism 50, and a scanning mechanism 60 as main components.

ここで、メイン制御部20は、入出力制御部20a、カードI/F(Interface)20b、制御部20c、メモリ20d、画像処理部20e、プリンタ制御部20f、バッファ20g、および、スキャナ制御部20hを主要な構成要素としており、情報入力部30から入力された情報に基づいて、情報出力部40、プリント機構50、および、スキャン機構60等を制御する。   The main control unit 20 includes an input / output control unit 20a, a card I / F (Interface) 20b, a control unit 20c, a memory 20d, an image processing unit 20e, a printer control unit 20f, a buffer 20g, and a scanner control unit 20h. The information output unit 40, the print mechanism 50, the scan mechanism 60, and the like are controlled based on information input from the information input unit 30.

なお、表示手段としての入出力制御部20aは、情報入力部30および情報出力部40との間で情報を授受する際にデータの表現形式を適宜変換するインタフェースである。カードI/F20bは、メモリカード70が挿入された場合には、メモリカード70から画像データを読み出したり、画像データを書き込んだりする処理を実行する。メモリカード70は、たとえば、フラッシュメモリ等によって構成され、たとえば、図示せぬディジタルカメラによって撮影された画像データを記憶する。   The input / output control unit 20a serving as a display unit is an interface that appropriately converts the data representation format when information is exchanged between the information input unit 30 and the information output unit 40. When the memory card 70 is inserted, the card I / F 20b executes processing for reading image data from the memory card 70 and writing image data. The memory card 70 is constituted by, for example, a flash memory, and stores image data photographed by a digital camera (not shown), for example.

制御部20cは、たとえば、CPU(Central Processing Unit)によって構成され、メモリ20dに記憶されているプログラム20d1に基づいて装置の各部を制御する。画像処理部20eは、制御部20cから供給された画像データに対して、たとえば、画像処理等を施す。プリンタ制御部20fは、プリント機構50を制御し、たとえば、画像データを印刷用紙に印刷する。バッファ20gは、画像処理部20eによって画像処理が施された画像データを一時的に格納するとともに、スキャナ制御部20hから入力された画像データを一時的に格納する。スキャナ制御部20hは、スキャン機構60を制御し、印刷用紙に印刷された画像データを読み込む処理を実行する。   The control unit 20c is configured by a CPU (Central Processing Unit), for example, and controls each unit of the apparatus based on a program 20d1 stored in the memory 20d. The image processing unit 20e performs, for example, image processing on the image data supplied from the control unit 20c. The printer control unit 20f controls the printing mechanism 50, for example, prints image data on printing paper. The buffer 20g temporarily stores the image data subjected to the image processing by the image processing unit 20e, and temporarily stores the image data input from the scanner control unit 20h. The scanner control unit 20h controls the scan mechanism 60 and executes processing for reading image data printed on printing paper.

入力デバイスとしての情報入力部30は、操作キー30aおよびタッチパネル30bを主要な構成要素とし、ユーザの操作に基づく情報を生成して出力する。ここで、操作キー30aは、操作パネル等に配置されたボタンであり、ユーザの操作に応じた情報を生成して出力する。タッチパネル30bは、LCD(Liquid Crystal Display)40aに重畳するように配置され、LCD40aに表示された情報に基づいて、タッチパネル30bを操作することにより、操作された位置に対応する位置情報が出力される。   The information input unit 30 as an input device uses the operation keys 30a and the touch panel 30b as main components, and generates and outputs information based on user operations. Here, the operation key 30a is a button arranged on an operation panel or the like, and generates and outputs information corresponding to a user operation. The touch panel 30b is arranged so as to be superimposed on an LCD (Liquid Crystal Display) 40a, and position information corresponding to the operated position is output by operating the touch panel 30b based on information displayed on the LCD 40a. .

情報出力部40は、LCD40aおよびランプ40bを主要な構成要素とし、ユーザに提示する情報を出力する。ここで、LCD40aは、前述したようにタッチパネル30bと重畳されており、制御部20cから供給された画像データを表示する。ランプ40bは、操作パネル等に配置されており、制御部20cの制御に応じて点灯/消灯することにより、所定の情報をユーザに示す。   The information output unit 40 includes the LCD 40a and the lamp 40b as main components, and outputs information to be presented to the user. Here, the LCD 40a is superimposed on the touch panel 30b as described above, and displays the image data supplied from the control unit 20c. The lamp 40b is arranged on an operation panel or the like, and indicates predetermined information to the user by turning on / off under the control of the control unit 20c.

プリント機構50は、記録ヘッド50a、走査部50b、および、用紙搬送部50cを主要な構成要素としており、制御部20cから供給された画像データを、印刷用紙に印刷する。ここで、記録ヘッド50aは、たとえば、CMYKに対応する各色のインクを複数のノズルから適宜吐出し、印刷用紙に対応する画像を印刷する。走査部50bは、記録ヘッド50aを主走査方向(同色のノズルが配列された方向に直交する方向)に移動させる。用紙搬送部50cは、印刷用紙を副走査方向(主走査方向に直交する方向)に移動させる。   The print mechanism 50 includes a recording head 50a, a scanning unit 50b, and a paper transport unit 50c as main components, and prints image data supplied from the control unit 20c on a printing paper. Here, the recording head 50a, for example, appropriately ejects ink of each color corresponding to CMYK from a plurality of nozzles, and prints an image corresponding to printing paper. The scanning unit 50b moves the recording head 50a in the main scanning direction (a direction orthogonal to the direction in which nozzles of the same color are arranged). The paper transport unit 50c moves the printing paper in the sub-scanning direction (direction orthogonal to the main scanning direction).

スキャン機構60は、光源60a、受光部60b、および、走査部60cを主要な構成要素としており、原稿に印刷された画像を光学的に読み取って、対応する画像データを生成して出力する。ここで、光源60aは、たとえば、冷陰極管によって構成され、原稿の読み取ろうとする領域に対して白色光を照射する。受光部60bは、光源60aによって照射され、原稿によって反射された光を受光して対応する電気信号に変換するCCD(Charge Coupled Device)等によって構成される。走査部60cは、受光部60bを副走査方向(受光部60bの長手方向に直交する方向)に移動させる。   The scanning mechanism 60 has a light source 60a, a light receiving unit 60b, and a scanning unit 60c as main components, optically reads an image printed on a document, and generates and outputs corresponding image data. Here, the light source 60a is constituted by, for example, a cold cathode tube, and irradiates white light to an area of the original to be read. The light receiving unit 60b is configured by a CCD (Charge Coupled Device) or the like that receives the light irradiated by the light source 60a and reflected by the document and converts it into a corresponding electrical signal. The scanning unit 60c moves the light receiving unit 60b in the sub-scanning direction (a direction orthogonal to the longitudinal direction of the light receiving unit 60b).

図2は、図1に示す印刷装置10のメモリ20dに格納されているプログラム20d1が実行された場合に、印刷装置10に実現される表示に関連する機能モジュールの一例を示す図である。なお、図2に示す機能モジュールは、ソフトウエア資源としてのプログラム20d1と、制御部20cを初めとするハードウエア資源とが協働することにより実現される。   FIG. 2 is a diagram illustrating an example of functional modules related to display realized in the printing apparatus 10 when the program 20d1 stored in the memory 20d of the printing apparatus 10 illustrated in FIG. 1 is executed. Note that the functional modules shown in FIG. 2 are realized by the cooperation of a program 20d1 as a software resource and hardware resources including the control unit 20c.

図2に示すように、表示に関する機能モジュールとしては、制御モジュール100および表示管理モジュール110を有している。ここで、登録手段、判定手段、および、制御手段としての制御モジュール100は、情報処理装置の状態の変化に応じた画面を表示するための情報を生成し、表示管理モジュール110に供給する。   As shown in FIG. 2, the control module 100 and the display management module 110 are included as functional modules related to display. Here, the control module 100 as a registration unit, a determination unit, and a control unit generates information for displaying a screen according to a change in the state of the information processing apparatus, and supplies the information to the display management module 110.

表示管理モジュール110は、制御モジュール100によって供給された情報に基づく描画処理を実行し、入出力制御部20aに供給する。   The display management module 110 executes a drawing process based on the information supplied by the control module 100 and supplies it to the input / output control unit 20a.

なお、表示管理モジュール110は、画像等表示用レイヤ111、通常ガイド表示用レイヤ112、および、無効ガイド表示用レイヤ113を有するレイヤ群と、画面管理モジュール114を有する。   The display management module 110 includes a layer group including an image display layer 111, a normal guide display layer 112, and an invalid guide display layer 113, and a screen management module 114.

ここで、画像等表示用レイヤ111は、LCD40aに対して、たとえば、印刷対象となる画像等を表示するための情報が登録されるレイヤである。通常ガイド表示用レイヤ112は、通常のガイド(エラーまたはワーニング以外のガイド)を表示するための情報が登録されるレイヤである。また、無効ガイド表示用レイヤ113は、無効なキーが操作されたことを示す情報としての無効ガイド(無効情報)を表示するための情報が登録されるレイヤである。   Here, the image display layer 111 is a layer in which information for displaying, for example, an image to be printed is registered on the LCD 40a. The normal guide display layer 112 is a layer in which information for displaying a normal guide (guide other than an error or warning) is registered. The invalid guide display layer 113 is a layer in which information for displaying an invalid guide (invalid information) as information indicating that an invalid key has been operated is registered.

画面管理モジュール114は、レイヤ群に登録された情報に基づいて描画処理を実行し、得られた画像を合成して入出力制御部20aに供給する。   The screen management module 114 executes a drawing process based on the information registered in the layer group, synthesizes the obtained images, and supplies them to the input / output control unit 20a.

つぎに、以上の実施の形態の動作について説明する。以下では、従来における無効ガイドの描画処理について説明し、つづいて、本発明の実施の形態における無効ガイドの描画処理について説明する。   Next, the operation of the above embodiment will be described. Hereinafter, the conventional invalid guide drawing process will be described, and then the invalid guide drawing process according to the embodiment of the present invention will be described.

図3は、従来における無効ガイドの描画処理について説明するフローチャートである。このフローチャートの処理が開始されると、以下のステップが実行される。なお、以下の処理は、制御部、表示部、記憶部、および、操作部を有する情報処理装置に関する処理として説明する。   FIG. 3 is a flowchart illustrating a conventional invalid guide drawing process. When the processing of this flowchart is started, the following steps are executed. The following processing will be described as processing related to an information processing apparatus having a control unit, a display unit, a storage unit, and an operation unit.

ステップS10:制御部は、操作部の所定のキーが操作されたか否かを判定し、操作された場合にはステップS11に進み、それ以外の場合は同じ処理を繰り返す。   Step S10: The control unit determines whether or not a predetermined key of the operation unit has been operated. If the operation unit has been operated, the process proceeds to step S11. Otherwise, the same process is repeated.

ステップS11:制御部は、操作されたキーがその時点において、有効なキーであるか否かを判定し、有効なキーであると判定した場合にはステップS16に進み、それ以外の場合にはステップS12に進む。   Step S11: The control unit determines whether or not the operated key is an effective key at that time, and proceeds to step S16 when determining that the operated key is an effective key, and otherwise. Proceed to step S12.

ステップS12:制御部は、現在、表示部に表示されている通常ガイド(詳細は後述する)を、記憶部に記憶する。図4(A)は、このとき、表示部に表示されている画面の一例である。この例は、印刷中に表示される画面であり、画面のタイトルとして「インフォメーション」が表示され、その下にはステータスを示す「印刷中です。」が表示され、また、その動作の詳細として「合計1枚 残り 1枚」が表示されている。さらに、その下には、キーに関する情報としての通常ガイド(印刷中止と予約印刷に関するキーを説明するガイド)が表示されている。ステップS12の処理では、画面の最下部に表示されている通常ガイドが取得され、記憶部に記憶される。   Step S12: The control unit stores the normal guide (details will be described later) currently displayed on the display unit in the storage unit. FIG. 4A is an example of a screen displayed on the display unit at this time. This example is a screen displayed during printing, “Information” is displayed as the title of the screen, “Printing in progress” is displayed below it, and details of its operation are “ A total of 1 sheet is left. "Is displayed. Below that, a normal guide (a guide for explaining keys related to print cancellation and reserved printing) is displayed as information about the key. In step S12, the normal guide displayed at the bottom of the screen is acquired and stored in the storage unit.

ステップS13:制御部は、通常ガイドを無効なキーが押されたことを示す無効ガイドに変更する。そして、ステップS18に進む。なお、ステップS18以降の処理では、後述するように描画処理と表示処理が実行され、その結果、表示部には、図4(B)に示すような画面が表示される。この例では、画面の最下部に無効ガイドとしての「無効なキーが押下されました。」が表示されている。   Step S13: The control unit changes the normal guide to an invalid guide indicating that an invalid key has been pressed. Then, the process proceeds to step S18. In the processing after step S18, drawing processing and display processing are executed as described later, and as a result, a screen as shown in FIG. 4B is displayed on the display unit. In this example, “Invalid key pressed” is displayed as an invalid guide at the bottom of the screen.

ステップS14:制御部は、無効ガイドが表示されている時間を計時するための無効ガイド表示中タイマを起動させる。なお、このタイマの計時する時間としては、無効ガイドをユーザが確認することができる十分な時間が確保できればよい。たとえば、タイマの計時する時間としては、5秒を設定する。そして、設定された時間が経過した場合には、タイマはタイムアウトを発生してステップS15の処理に移行する。   Step S14: The control unit activates an invalid guide display timer for counting the time during which the invalid guide is displayed. In addition, as time to measure by this timer, sufficient time for a user to confirm an invalid guide should just be ensured. For example, 5 seconds is set as the time counted by the timer. Then, when the set time has elapsed, the timer generates a timeout, and the process proceeds to step S15.

ステップS15:制御部は、無効ガイド表示中タイマがタイムアウトを発生した場合(設定された時間の計時が終了した場合)には、ステップS16に進む。   Step S15: The control unit proceeds to step S16 when the invalid guide display timer has timed out (when the set time has been counted).

ステップS16:制御部は、表示部に表示されている無効ガイドを元の通常ガイドに戻す処理を実行する。具体的には、制御部は、ステップS12において記憶部に記憶されている通常ガイドを取得する。   Step S16: The control unit executes a process of returning the invalid guide displayed on the display unit to the original normal guide. Specifically, the control unit acquires the normal guide stored in the storage unit in step S12.

ステップS17:制御部は、無効ガイド表示中タイマを停止する。これにより、たとえば、無効ガイド表示中タイマがカウント動作をしている際に、有効なキーが操作された場合にはタイマが停止される。そして、ステップS18の処理に進む。なお、ステップS18以降の処理では、後述するように描画処理と表示処理が実行され、その結果、表示部には、図4(C)に示すような画面が表示される。この例では、画面の最下部にキーに関する情報としての通常ガイドが表示されている。   Step S17: The control unit stops the invalid guide display timer. Thereby, for example, when a valid key is operated while the invalid guide display timer is counting, the timer is stopped. Then, the process proceeds to step S18. In the processing after step S18, drawing processing and display processing are executed as described later, and as a result, a screen as shown in FIG. 4C is displayed on the display unit. In this example, a normal guide as information about keys is displayed at the bottom of the screen.

ステップS18:制御部は、ステップS14の処理から移行してきた場合には、無効ガイドを含む画面を描画処理し、ステップS17から移行してきた場合には、通常ガイドを含む画面を描画処理する。   Step S18: The control unit performs drawing processing for a screen including an invalid guide when the process proceeds from step S14, and performs processing for rendering a screen including a normal guide when the process proceeds from step S17.

ステップS19:制御部は、ステップS18の描画処理によって得られた画面を表示部に表示する。その結果、図4(B)または図4(C)に示す画面が表示部に表示されることになる。   Step S19: The control unit displays the screen obtained by the drawing process in step S18 on the display unit. As a result, the screen shown in FIG. 4B or 4C is displayed on the display unit.

つぎに、本発明の実施の形態の動作について説明する。以下では、まず、図2に示す機能ブロックの動作について説明した後、図7に示すフローチャートに基づいて、無効ガイドに関する処理の流れについて説明する。   Next, the operation of the embodiment of the present invention will be described. In the following, the operation of the functional block shown in FIG. 2 will be described first, and then the flow of processing related to the invalid guide will be described based on the flowchart shown in FIG.

図5は、図2に示すレイヤ群を構成する各レイヤに登録される情報(以下、「登録情報」と称する)の一例を示している。この例では、登録情報としては、描画フラグ150、ページID(Identification)151、画面作成処理関数ポインタ152、パラメータ情報153、および、描画サイズ情報154が存在する。なお、これら以外の情報が含まれていたり、これらの情報の一部が存在しなくてもよい。   FIG. 5 shows an example of information registered in each layer constituting the layer group shown in FIG. 2 (hereinafter referred to as “registration information”). In this example, the registration information includes a drawing flag 150, a page ID (Identification) 151, a screen creation processing function pointer 152, parameter information 153, and drawing size information 154. It should be noted that information other than these may be included, or some of these information may not exist.

ここで、描画フラグ150は、当該レイヤを描画するか否かを示す情報である。たとえば、この情報が「Enable」に設定されている場合には画面管理モジュール114は、当該レイヤを描画し、「Disable」に設定されている場合には画面管理モジュール114は、当該レイヤを描画しない。   Here, the drawing flag 150 is information indicating whether or not to draw the layer. For example, when this information is set to “Enable”, the screen management module 114 draws the layer, and when this information is set to “Disable”, the screen management module 114 does not draw the layer. .

ページID151は、各画面に付与されているユニークなIDを示す情報であり、たとえば、「0x0−0xffff」等の情報によって構成されている。   The page ID 151 is information indicating a unique ID assigned to each screen, and is configured by information such as “0x0-0xffff”, for example.

画面作成処理関数ポインタ152は、描画フラグ151がEnableに設定されている場合に、呼び出される描画関数を指示するポインタである。   The screen creation processing function pointer 152 is a pointer that indicates a drawing function to be called when the drawing flag 151 is set to Enable.

パラメータ情報153は、全画面描画するかまたは部分描画をするかを示すとともに、部分描画をする場合には描画対象となるパーツのIDを示す情報である。   The parameter information 153 is information indicating whether full-screen drawing or partial drawing is to be performed and the ID of a part to be drawn in the case of partial drawing.

また、描画サイズ情報154は、描画する画面のサイズを示す情報である。この例は、描画する矩形領域の左上の座標(x,y)と、矩形領域の幅(w)および高さ(h)を示す情報によって構成される。この情報は、当該レイヤよりも上位に属する(後から描画される)レイヤによって、当該レイヤが全て覆い隠される場合には、当該レイヤの描画処理を行わないようにすることで、処理を高速化する際の判断の基準となる。   The drawing size information 154 is information indicating the size of the screen to be drawn. In this example, the upper left coordinates (x, y) of the rectangular area to be drawn, and information indicating the width (w) and height (h) of the rectangular area are configured. This information speeds up the process by not performing the drawing process of the layer when all of the layer is obscured by a layer that is higher than the layer (drawn later). It becomes the standard of judgment when making.

つぎに、図5に示すような登録情報を用いて描画処理を行う場合の動作について説明する。本実施の形態では、図2に示すレイヤ群の各レイヤに対して描画しようとする登録情報を登録することにより、所望の画面を得ることができる。   Next, an operation in the case of performing a drawing process using registration information as shown in FIG. 5 will be described. In the present embodiment, a desired screen can be obtained by registering registration information to be drawn for each layer of the layer group shown in FIG.

たとえば、図6(C)に示すような画面を得るためには、図6(A)に示す情報を表示するための登録情報を制御モジュール100によって画像等表示用レイヤ111に登録するともに、図6(B)に示す情報を表示するための登録情報を制御モジュール100によって通常ガイド表示用レイヤ112に登録する。なお、このとき、画像等表示用レイヤ111および通常ガイド表示用レイヤ112の描画フラグはともに「Enable」の状態としておく。   For example, in order to obtain a screen as shown in FIG. 6C, registration information for displaying the information shown in FIG. 6A is registered in the image display layer 111 by the control module 100. Registration information for displaying the information shown in FIG. 6B is registered in the normal guide display layer 112 by the control module 100. At this time, the drawing flags of the image display layer 111 and the normal guide display layer 112 are both set to “Enable”.

また、このとき、無効ガイドについては表示しないので、無効ガイド表示用レイヤ113には情報は登録されていない。また、無効ガイド表示用レイヤ113の描画フラグ150についてはDisableに設定しておく。   At this time, since no invalid guide is displayed, no information is registered in the invalid guide display layer 113. The drawing flag 150 of the invalid guide display layer 113 is set to Disable.

以上のような登録情報が各レイヤに登録された後、描画の指示がなされると、画面管理モジュール114は、まず、画像等表示用レイヤ111に登録されている登録情報に基づいて描画処理を実行する。これにより、画面管理モジュール114は、画面作成処理関数ポインタ152に登録されているポインタによって指示される関数を呼び出し、描画処理を実行する。その結果、図6(A)に示すような画像が生成される。   When the drawing information is registered after the registration information as described above is registered in each layer, the screen management module 114 first performs a drawing process based on the registration information registered in the image display layer 111. Execute. As a result, the screen management module 114 calls a function indicated by the pointer registered in the screen creation processing function pointer 152 and executes the drawing process. As a result, an image as shown in FIG. 6A is generated.

つぎに、画面管理モジュール114は、通常ガイド表示用レイヤ112に登録されている登録情報に基づいて描画処理を実行する。これにより、画面管理モジュール114は、画面作成処理関数ポインタ152に登録されているポインタによって指示される関数を呼び出し、描画処理を実行する。その結果、図6(B)に示すような画像が生成され、図6(A)に示す画像に重ね書きされるため、図6(C)に示すような画像が得られる。   Next, the screen management module 114 executes a drawing process based on the registration information registered in the normal guide display layer 112. As a result, the screen management module 114 calls a function indicated by the pointer registered in the screen creation processing function pointer 152 and executes the drawing process. As a result, an image as shown in FIG. 6B is generated and overwritten on the image shown in FIG. 6A, so that an image as shown in FIG. 6C is obtained.

このようにして得られた画像は、入出力制御部20aに供給される。入出力制御部20aは、表示管理モジュール110から供給された画像を映像信号に変換してLCD40aに供給し、表示させる。その結果、図6(C)に示すような画面がLCD40aの表示部に表示されることになる。   The image obtained in this way is supplied to the input / output control unit 20a. The input / output control unit 20a converts the image supplied from the display management module 110 into a video signal, supplies it to the LCD 40a, and displays it. As a result, a screen as shown in FIG. 6C is displayed on the display unit of the LCD 40a.

つぎに、図7を参照して、図6(C)に示すような画面がLCD40aに表示されている場合における無効キーの判定処理について説明する。このフローチャートの処理が開始されると、以下のステップが実行される。なお、このとき、画像等表示用レイヤ111には、図8(A)に示す情報を表示するための登録情報が登録されており、また、通常ガイド表示用レイヤ112には、図8(B)に示す情報を表示するための登録情報が登録されており、LCD40aには図6(C)に示すような画面が表示されているとする。   Next, with reference to FIG. 7, an invalid key determination process when a screen as shown in FIG. 6C is displayed on the LCD 40a will be described. When the processing of this flowchart is started, the following steps are executed. At this time, registration information for displaying the information shown in FIG. 8A is registered in the image display layer 111, and the normal guide display layer 112 has the registration information shown in FIG. ) Is registered, and a screen as shown in FIG. 6C is displayed on the LCD 40a.

ステップS30:制御モジュール100は、キー操作がされたか否か、すなわち、操作キー30aまたはタッチパネル30bが操作されたか否かを判定し、これらに対する操作がなされた場合にはステップS31に進み、それ以外の場合には同様の処理を繰り返す。   Step S30: The control module 100 determines whether or not a key operation has been performed, that is, whether or not the operation key 30a or the touch panel 30b has been operated. If any of these has been performed, the process proceeds to step S31. In this case, the same processing is repeated.

ステップS31:制御モジュール100は、有効なキーが操作されたか否かを判定する。なお、有効なキーか否かの判定は、現在表示されている画面において入力可能なキー以外のキーについては無効なキーと判定する。   Step S31: The control module 100 determines whether or not a valid key has been operated. Whether the key is valid or not is determined as an invalid key for keys other than those that can be input on the currently displayed screen.

ステップS32:制御モジュール100は、無効なキーが操作されたことを示す情報としての無効ガイドを表示するための登録情報を無効ガイド表示用レイヤ113に登録する。このとき、無効ガイド表示用レイヤ113に登録される登録情報の描画フラグ150はEnableの状態とされ、また、画面作成処理関数ポインタ152としては、図8(C)に示すような情報を表示するための関数を指示するポインタが登録される。   Step S32: The control module 100 registers, in the invalid guide display layer 113, registration information for displaying an invalid guide as information indicating that an invalid key has been operated. At this time, the drawing flag 150 of the registration information registered in the invalid guide display layer 113 is set to “Enable”, and information as shown in FIG. 8C is displayed as the screen creation processing function pointer 152. A pointer that points to a function to register is registered.

ステップS33:制御モジュール100は、無効ガイド表示中タイマ(不図示)を起動する。具体的には、制御モジュール100は、無効ガイド表示中タイマに初期値として、たとえば、5秒をカウントするための値を設定するとともに、カウント動作を開始させる。なお、カウント動作が完了すると、当該無効ガイド表示中タイマはタイムアウトを発生し、その結果として、後述するステップS34の処理が開始される。   Step S33: The control module 100 starts an invalid guide display timer (not shown). Specifically, the control module 100 sets, for example, a value for counting 5 seconds as an initial value in the invalid guide display timer, and starts a counting operation. When the counting operation is completed, the invalid guide display timer generates a time-out, and as a result, processing in step S34 described later is started.

ステップS34:制御モジュール100は、無効ガイド表示中タイマにタイムアウトが発生した場合には、当該処理を経由して、ステップS35の処理に移行する。具体的には、前述した5秒が経過した場合にはステップS35に進む。   Step S34: When a timeout occurs in the invalid guide display timer, the control module 100 proceeds to the process of step S35 via this process. Specifically, if the above-described 5 seconds have elapsed, the process proceeds to step S35.

ステップS35:制御モジュール100は、無効ガイド表示用レイヤ113に登録されている登録情報を削除するとともに、描画フラグ150をDisableに設定する。この結果、無効ガイドがLCD40aの表示部から消去される。   Step S35: The control module 100 deletes the registration information registered in the invalid guide display layer 113 and sets the drawing flag 150 to Disable. As a result, the invalid guide is erased from the display unit of the LCD 40a.

ステップS36:制御モジュール100は、無効ガイド表示中タイマの動作を停止させる。すなわち、無効ガイドが表示されている最中に、有効なキーが再度操作された場合には、当該処理によって無効ガイド表示中タイマの動作が停止されることになる。   Step S36: The control module 100 stops the operation of the invalid guide display timer. That is, when the valid key is operated again while the invalid guide is displayed, the operation of the invalid guide display timer is stopped by this processing.

ステップS37:画面管理モジュール114は、画面の描画処理を実行する。すなわち、画面管理モジュール114は、まず、画像等表示用レイヤ111に登録されている登録情報の描画フラグ150を参照し、Enableとなっていることから、画面作成処理関数ポインタ152によって指示される関数に基づいて描画処理を実行する。この結果、図8(A)に示す画像が得られる。つぎに、画面管理モジュール114は、通常ガイド表示用レイヤ112に登録されている登録情報の描画フラグ150を参照し、Enableとなっていることから、画面作成処理関数ポインタ152によって指示される関数に基づいて描画処理を実行する。この結果、図8(B)に示す画像が得られる。なお、通常ガイド表示用レイヤ112に基づく描画処理は、画像等表示用レイヤ111の画像に重ね書きされるため、当該描画処理の結果として、図6(C)に示すような画像を得る。   Step S37: The screen management module 114 executes screen drawing processing. That is, the screen management module 114 first refers to the drawing flag 150 of the registration information registered in the image display layer 111, and since it is enabled, the function indicated by the screen creation processing function pointer 152 The drawing process is executed based on the above. As a result, the image shown in FIG. 8A is obtained. Next, the screen management module 114 refers to the drawing flag 150 of the registration information registered in the normal guide display layer 112, and since it is “Enable”, the function designated by the screen creation processing function pointer 152 is used. Based on this, the drawing process is executed. As a result, the image shown in FIG. 8B is obtained. Since the drawing process based on the normal guide display layer 112 is overwritten on the image of the image display layer 111, an image as shown in FIG. 6C is obtained as a result of the drawing process.

ステップS38:画面管理モジュール114は、無効ガイド表示用レイヤ113に登録情報が存在するか否かを判定し、存在する場合にはステップS39に進み、それ以外の場合にはステップS40に進む。具体的には、無効ガイド表示用レイヤ113の描画フラグ150を参照し、描画フラグ150がEnableに設定されている場合にはステップS39に進み、それ以外の場合にはステップS40に進む。   Step S38: The screen management module 114 determines whether or not the registration information exists in the invalid guide display layer 113. If it exists, the process proceeds to step S39. Otherwise, the process proceeds to step S40. Specifically, the drawing flag 150 of the invalid guide display layer 113 is referred to. If the drawing flag 150 is set to Enable, the process proceeds to step S39, and otherwise, the process proceeds to step S40.

ステップS39:画面管理モジュール114は、無効ガイド表示用レイヤ113に登録されている登録情報に基づいて、描画処理を実行する。具体的には、以下の処理を実行する。すなわち、画面管理モジュール114は、まず、通常ガイド表示用レイヤ112に格納されている登録情報から描画サイズ情報154を取得する。そして、当該描画サイズ情報154を引数として、無効ガイド表示用レイヤ113の登録情報の画面作成処理関数ポインタ152によって指示される関数を呼び出し、描画処理を実行する。この結果、図8(C)に示すような情報が、通常ガイドと同一の領域に対して描画(重ね書き)される。通常ガイドが描画される領域と、無効ガイドが描画される領域とは同一であるため、通常ガイドが重ね書きによって消され、無効ガイドのみが視認可能な状態となる。その結果、図8(D)に示すような画像が得られる。   Step S39: The screen management module 114 executes a drawing process based on the registration information registered in the invalid guide display layer 113. Specifically, the following processing is executed. That is, the screen management module 114 first acquires the drawing size information 154 from the registration information stored in the normal guide display layer 112. Then, using the drawing size information 154 as an argument, a function indicated by the screen creation processing function pointer 152 of the registration information of the invalid guide display layer 113 is called to execute drawing processing. As a result, information as shown in FIG. 8C is drawn (overwritten) in the same area as the normal guide. Since the area where the normal guide is drawn and the area where the invalid guide is drawn are the same, the normal guide is erased by overwriting, and only the invalid guide is visible. As a result, an image as shown in FIG. 8D is obtained.

なお、このとき、無効ガイドの表示形式を、通常ガイドのそれと合致させるようにしてもよい。たとえば、無効ガイドが表示される行数および表示幅が通常ガイドのそれと同じになるようにしてもよい。このようにすることで、通常ガイドから無効ガイドに表示が切り替わった場合、または、無効ガイドから通常ガイドに表示が切り替わった場合に、ユーザが違和感を覚えたり、文字が他の情報を隠したり、あるいは、文字が画面からはみ出したりすることをすることを防止できる。   At this time, the display format of the invalid guide may be matched with that of the normal guide. For example, the number of lines and the display width where the invalid guide is displayed may be the same as that of the normal guide. By doing this, when the display is switched from the normal guide to the invalid guide, or when the display is switched from the invalid guide to the normal guide, the user feels uncomfortable, the characters hide other information, Or it can prevent that a character protrudes from a screen.

ステップS40:画面管理モジュール114は、描画処理によって得られた画像を入出力制御部20aに供給する。入出力制御部20aは、供給された画像をLCD40aの表示部に表示させる。この結果、LCD40aの表示部には、図8(D)に示すような無効ガイドを含む画面が表示される。   Step S40: The screen management module 114 supplies the image obtained by the drawing process to the input / output control unit 20a. The input / output control unit 20a displays the supplied image on the display unit of the LCD 40a. As a result, a screen including an invalid guide as shown in FIG. 8D is displayed on the display unit of the LCD 40a.

つぎに、図7に示すフローチャートの処理について具体例を挙げて説明する。   Next, the process of the flowchart shown in FIG. 7 will be described with a specific example.

図6(C)に示すような画面がLCD40aに表示されている際に、無効なキーが操作されると、まず、ステップS30において「Y」と判定され、つぎに、ステップS31に進み、そこで「N」と判定されてステップS32に進む。   If an invalid key is operated while a screen as shown in FIG. 6C is displayed on the LCD 40a, first, “Y” is determined in step S30, and then the process proceeds to step S31, where It determines with "N" and progresses to step S32.

ステップS32では、無効ガイド表示用レイヤ113に対して、たとえば、図8(C)に示すような画像を表示するための登録情報が登録されるとともに、描画フラグ150がEnableの状態とされる。つぎに、ステップS33に進んで、無効ガイド表示中タイマが起動され、ステップS37に進む。   In step S32, registration information for displaying an image as shown in FIG. 8C, for example, is registered in the invalid guide display layer 113, and the drawing flag 150 is set to Enable. Next, the process proceeds to step S33, the invalid guide display timer is started, and the process proceeds to step S37.

ステップS37では、画像等表示用レイヤ111と通常ガイド表示用レイヤ112に登録されている登録情報に基づく描画処理が実行され、その結果、図6(C)に示すような画面が生成される。   In step S37, a drawing process based on registration information registered in the image display layer 111 and the normal guide display layer 112 is executed, and as a result, a screen as shown in FIG. 6C is generated.

つづくステップS38では、無効ガイド表示用レイヤ113に登録情報が存在することから「Y」と判定され、ステップS39に進む。ステップS39では、無効ガイドの描画処理が実行される。前述したように、当該処理では、無効ガイドが通常ガイドに重畳するように描画されることから、無効ガイドのみが視認可能な状態となる。そして、ステップS40において、表示処理が実行され、この結果、LCD40aには、図8(D)に示すような画面が表示されることになる。   In subsequent step S38, since the registration information exists in the invalid guide display layer 113, it is determined “Y”, and the process proceeds to step S39. In step S39, the invalid guide drawing process is executed. As described above, in this process, since the invalid guide is drawn so as to be superimposed on the normal guide, only the invalid guide is visible. In step S40, display processing is executed. As a result, a screen as shown in FIG. 8D is displayed on the LCD 40a.

このような状態において、ステップS14において設定された時間のカウントが完了すると、無効ガイド表示中タイマは、タイムアウトを発生し、ステップS34を介してステップS35に進む。ステップS35では、無効ガイド表示用レイヤ113に登録されている情報が削除されるとともに、描画フラグ150がDisableに設定される。また、ステップS36において無効ガイド表示中タイマが停止される。   In such a state, when the counting of the time set in step S14 is completed, the invalid guide display timer generates a timeout, and the process proceeds to step S35 via step S34. In step S35, the information registered in the invalid guide display layer 113 is deleted, and the drawing flag 150 is set to Disable. In step S36, the invalid guide display timer is stopped.

つづくステップS37では、画像等表示用レイヤ111および通常ガイド表示用レイヤ112に登録されている登録情報に対する描画処理が実行され、その結果として、図6(C)に示すような画像が描画される。   In subsequent step S37, a drawing process is performed on the registered information registered in the image display layer 111 and the normal guide display layer 112, and as a result, an image as shown in FIG. 6C is drawn. .

ステップS38では、無効ガイド表示用レイヤ113の描画フラグ150がDisableに設定されていることから、ステップS40に進む。その結果、LCD40aには、図6(C)に示す画面が表示されることになる。無効ガイドについては表示されない。   In step S38, since the drawing flag 150 of the invalid guide display layer 113 is set to Disable, the process proceeds to step S40. As a result, the screen shown in FIG. 6C is displayed on the LCD 40a. Invalid guides are not displayed.

以上の処理によれば、無効キーが操作されると、無効ガイドが一定時間表示され、タイムアウトが発生すると、もとの画面に復元することになる。   According to the above processing, when the invalid key is operated, the invalid guide is displayed for a certain time, and when a timeout occurs, the original screen is restored.

なお、タイムアウトが発生する前に、有効キーが操作されると、ステップS31において「Y」と判定され、ステップS35〜S37,S38,S40の処理が実行されるので、前述した場合と同様の処理によって、無効ガイドが画面から消去される。   If the valid key is operated before the timeout occurs, “Y” is determined in step S31, and the processes in steps S35 to S37, S38, and S40 are executed. The invalid guide is deleted from the screen.

以上に説明したように、本発明の実施の形態では、複数のレイヤを設け、表示しようとする情報をレイヤ毎に登録するようにするとともに、無効なキーが操作されたことを示す無効ガイドをこれらのレイヤの一つとして設定するようにした。このため、各画面を表示するための処理を共通化することで、プログラムのコーディング量を飛躍的に削減することができる。具体的には、図3に示す従来の処理では、S11〜S18の処理については、画面毎にプログラムとして記述する必要がある。一方、図7に示す本発明に係る処理では、S31およびS37の処理のみを画面毎にプログラムとして記述すればよい。   As described above, in the embodiment of the present invention, a plurality of layers are provided, information to be displayed is registered for each layer, and an invalid guide indicating that an invalid key has been operated is provided. I set it as one of these layers. For this reason, the amount of program coding can be drastically reduced by making the processing for displaying each screen common. Specifically, in the conventional process shown in FIG. 3, it is necessary to describe the processes of S11 to S18 as a program for each screen. On the other hand, in the processing according to the present invention shown in FIG. 7, only the processing of S31 and S37 may be described as a program for each screen.

また、本発明の実施の形態では、通常ガイドに対して無効ガイドを重畳して描画し、無効ガイドのみを視認できるようにしたので、従来のように、通常ガイドを記憶部に退避させたり(S12)、復元させたり(S16)する必要がなくなるので、処理を高速化することができるとともに、プログラムのコーディング量を削減できる。   Further, in the embodiment of the present invention, the invalid guide is superimposed and drawn on the normal guide so that only the invalid guide can be visually recognized. Since it is not necessary to restore (S12) or restore (S16), the processing can be speeded up and the coding amount of the program can be reduced.

また、本発明の実施の形態では、無効ガイドの表示領域と表示形式を通常ガイドのそれと同じになるようにしたので、たとえば、通常ガイドから無効ガイドに表示が切り替わった場合および無効ガイドから通常ガイドに表示が切り替わった場合に、表示形式が変化してユーザが違和感を覚えたりすることを防止できる。   In the embodiment of the present invention, the display area and display format of the invalid guide are the same as those of the normal guide. For example, when the display is switched from the normal guide to the invalid guide, or from the invalid guide to the normal guide. It is possible to prevent the user from feeling uncomfortable by changing the display format when the display is switched.

また、本発明の実施の形態では、無効ガイドが表示されてから一定の時間が経過した場合には、無効ガイドが画面から消去されるようにしたので、無効ガイドの表示によってユーザの他の操作が妨げることを防止できる。また、無効ガイドを消去する処理としては、無効ガイド表示用レイヤ113から登録情報を削除するだけ(描画フラグをDisableに設定するだけ)で実現できるので、処理を高速化することができる。また、印刷処理中においては、無効ガイドを消去するための処理によって、印刷処理に負担がかかることを防止できる。   In the embodiment of the present invention, the invalid guide is deleted from the screen when a certain amount of time has passed since the invalid guide is displayed. Can be prevented. Further, the process of deleting the invalid guide can be realized only by deleting the registration information from the invalid guide display layer 113 (by simply setting the drawing flag to Disable), so that the process can be speeded up. Further, during the printing process, it is possible to prevent the printing process from being burdened by the process for deleting the invalid guide.

また、本発明の実施の形態では、無効ガイド表示用レイヤ113に登録情報が設定されている場合にのみ描画処理を実行するようにしたので、登録情報が設定されていない場合には描画処理を実行しないことにより、処理を高速化することができる。   In the embodiment of the present invention, the drawing process is executed only when the registration information is set in the invalid guide display layer 113. Therefore, the drawing process is performed when the registration information is not set. By not executing the processing, the processing speed can be increased.

なお、以上の実施の形態は、一例であって、これ以外にも種々の変形実施態様が存在する。たとえば、以上の実施の形態では、複合型の印刷装置を例に挙げて説明を行ったが通常の印刷装置(パーソナルコンピュータと接続して使用するタイプの印刷装置)に対して本発明を適用することができる。また、複合型ではない通常のスタンドアロン型の印刷装置に対して本発明を適用することも可能である。   The above embodiment is merely an example, and there are various other modified embodiments. For example, in the above embodiment, the description has been made by taking the composite type printing apparatus as an example, but the present invention is applied to a normal printing apparatus (a type of printing apparatus used by being connected to a personal computer). be able to. In addition, the present invention can be applied to a normal stand-alone printing apparatus that is not a composite type.

また、以上の実施の形態では、図2に示すレイヤ群として、3種類のレイヤ群を例に挙げて説明したが、2種類または4種類以上のレイヤ群を有するようにし、それぞれのレイヤに必要に応じて登録情報を登録し、描画処理を実行するようにしてもよい。   In the above embodiment, three types of layer groups have been described as an example of the layer group shown in FIG. 2, but two or four or more types of layer groups are provided, and each layer is necessary. The registration information may be registered according to the above and the drawing process may be executed.

また、以上の実施の形態では、図5に示すような登録情報を各レイヤに登録するようにしたが、これ以外の情報を登録するようにしてもよい。たとえば、図5に示す情報の一部のみを使用したり、あるいは、図5に示す情報の一部または全部に対して他の情報を付加したりするようにしてもよい。   In the above embodiment, registration information as shown in FIG. 5 is registered in each layer, but other information may be registered. For example, only part of the information shown in FIG. 5 may be used, or other information may be added to part or all of the information shown in FIG.

また、以上の実施の形態では、無効なキーが操作された場合に、無効ガイダンスを表示するようにしたが、たとえば、印刷用紙が適切でなかったり、紙詰まりが発生した場合において、前述の場合と同様の方法にて、エラーガイダンスを表示したりすることも可能である。   In the above embodiment, the invalidity guidance is displayed when an invalid key is operated. For example, when the print paper is not appropriate or a paper jam occurs, It is also possible to display error guidance in the same way as.

また、以上の実施の形態では、無効なキーが操作されたことを示す無効ガイドを表示するようにしたが、たとえば、有効なキーが操作されたことを示す有効ガイドを、前述の場合と同様の方法にて表示するようにしてもよい。   In the above embodiment, the invalid guide indicating that the invalid key has been operated is displayed. For example, the valid guide indicating that the valid key has been operated is displayed in the same manner as described above. You may make it display by the method of.

また、図6および図8に示す画面は一例であって、これら以外の画面を表示することも可能であることはいうまでもない。   Further, the screens shown in FIGS. 6 and 8 are examples, and it is needless to say that screens other than these can be displayed.

また、図7に示すフローチャートでは、無効ガイドを表示した場合には、無効ガイド表示中タイマを起動し、タイムアウトが発生した場合には無効ガイドを消去するようにしたが、無効ガイド表示中タイマは起動せずに、情報入力部30に対してつぎの操作がなされるまで無効ガイドを表示したままとしてもよい。   In the flowchart shown in FIG. 7, the invalid guide display timer is activated when an invalid guide is displayed, and the invalid guide is deleted when a timeout occurs. The invalid guide may remain displayed until the next operation is performed on the information input unit 30 without being activated.

また、図7に示すフローチャートでは、ステップS38において、無効ガイド表示用レイヤに登録情報が存在するか否かによって無効ガイドを描画するか否かを判定するようにした。しかしながら、ステップS38の処理は省略するとともに、描画フラグがEnableとなっているレイヤのみを描画するようにしてもよい。   Further, in the flowchart shown in FIG. 7, in step S38, it is determined whether or not the invalid guide is drawn depending on whether or not the registration information exists in the invalid guide display layer. However, the processing in step S38 may be omitted, and only the layer for which the drawing flag is enabled may be drawn.

なお、上記の処理機能は、コンピュータによって実現することができる。その場合、情報処理装置が有すべき機能の処理内容を記述したプログラムが提供される。そのプログラムをコンピュータで実行することにより、上記処理機能がコンピュータ上で実現される。処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体に記録しておくことができる。コンピュータで読み取り可能な記録媒体としては、磁気記録装置、光ディスク、光磁気記録媒体、半導体メモリなどがある。磁気記録装置には、ハードディスク装置(HDD)、フレキシブルディスク(FD)、磁気テープなどがある。光ディスクには、DVD(Digital Versatile Disk)、DVD−RAM、CD−ROM(Compact Disk ROM)、CD−R(Recordable)/RW(ReWritable)などがある。光磁気記録媒体には、MO(Magneto-Optical disk)などがある。   The above processing functions can be realized by a computer. In that case, a program describing the processing contents of the functions that the information processing apparatus should have is provided. By executing the program on a computer, the above processing functions are realized on the computer. The program describing the processing contents can be recorded on a computer-readable recording medium. Examples of the computer-readable recording medium include a magnetic recording device, an optical disk, a magneto-optical recording medium, and a semiconductor memory. Examples of the magnetic recording device include a hard disk device (HDD), a flexible disk (FD), and a magnetic tape. Examples of the optical disc include a DVD (Digital Versatile Disk), a DVD-RAM, a CD-ROM (Compact Disk ROM), and a CD-R (Recordable) / RW (ReWritable). Magneto-optical recording media include MO (Magneto-Optical disk).

プログラムを流通させる場合には、たとえば、そのプログラムが記録されたDVD、CD−ROMなどの可搬型記録媒体が販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。   When distributing the program, for example, portable recording media such as a DVD and a CD-ROM in which the program is recorded are sold. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.

プログラムを実行するコンピュータは、たとえば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送される毎に、逐次、受け取ったプログラムに従った処理を実行することもできる。   The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. In addition, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.

本発明の実施の形態に係る印刷装置の構成例を示す図である。It is a figure which shows the structural example of the printing apparatus which concerns on embodiment of this invention. 図1に示す印刷装置において実現される機能ブロックを示す図である。It is a figure which shows the functional block implement | achieved in the printing apparatus shown in FIG. 従来の印刷装置において実行される処理を示すフローチャートである。It is a flowchart which shows the process performed in the conventional printing apparatus. 図3に示すフローチャートによって表示される画面の例である。It is an example of the screen displayed by the flowchart shown in FIG. 図2に示す各レイヤに登録される登録情報の一例である。It is an example of the registration information registered into each layer shown in FIG. 図2に示す各レイヤに登録された情報による表示例である。It is an example of a display by the information registered into each layer shown in FIG. 図2に示す印刷装置において実行される処理を示すフローチャートである。3 is a flowchart showing processing executed in the printing apparatus shown in FIG. 図7に示すフローチャートによって表示される画面の例である。It is an example of the screen displayed by the flowchart shown in FIG.

符号の説明Explanation of symbols

10 印刷装置、20a 入出力制御部(表示手段)、30 情報入力部(入力デバイス)、40a LCD、100 制御モジュール(登録手段、判定手段、制御手段)、114 画面管理モジュール(描画手段)   DESCRIPTION OF SYMBOLS 10 Printing apparatus, 20a Input / output control part (display means), 30 Information input part (input device), 40a LCD, 100 Control module (registration means, determination means, control means), 114 Screen management module (drawing means)

Claims (7)

表示部に表示する画面を生成するための情報を複数の階層に分けて登録する登録手段と、
上記登録手段に登録されている複数の階層の情報に基づいて描画処理を実行する描画手段と、
上記描画手段によって得られた画面を表示部に表示する表示手段と、
操作に応じた情報を生成して出力する入力デバイスと、
上記表示手段によって所定の画面が表示されている際に、上記入力デバイスが操作されて入力された情報の有効または無効を判定する判定手段と、
上記判定手段によって無効な情報が上記入力デバイスから入力されたと判定された場合には、無効な入力がなされたことを示す無効情報を表示するための情報を、上記登録手段の所定の階層に対して登録するとともに、上記描画手段に対して描画処理を実行させる制御手段と、
を有することを特徴とする情報処理装置。
Registration means for registering information for generating a screen to be displayed on the display unit in a plurality of layers;
Drawing means for executing drawing processing based on information of a plurality of layers registered in the registration means;
Display means for displaying a screen obtained by the drawing means on a display unit;
An input device that generates and outputs information according to the operation;
Determination means for determining validity or invalidity of information input by operating the input device when a predetermined screen is displayed by the display means;
When the determination means determines that invalid information has been input from the input device, information for displaying invalid information indicating that invalid input has been made is displayed for a predetermined hierarchy of the registration means. Control means for causing the drawing means to execute a drawing process,
An information processing apparatus comprising:
前記描画手段は、前記登録手段に登録されている情報を階層毎に所定の順序で描画し、
前記制御手段は、前記無効情報を表示するための情報を、前記登録手段の最後に描画される階層に対して登録する、
ことを特徴とする請求項1記載の情報処理装置。
The drawing means draws information registered in the registration means in a predetermined order for each hierarchy,
The control means registers information for displaying the invalid information with respect to a hierarchy drawn at the end of the registration means,
The information processing apparatus according to claim 1.
前記制御手段は、前記表示部の前記無効情報を表示する領域に表示される他の情報が存在する場合には、当該他の情報の表示形式に対応した表示形式により前記無効情報が表示されるように前記無効情報を登録することを特徴とする請求項1記載の情報処理装置。   The control means displays the invalid information in a display format corresponding to the display format of the other information when there is other information displayed in the invalid information display area of the display unit. The information processing apparatus according to claim 1, wherein the invalid information is registered as described above. 前記制御手段は、前記表示部に前記無効情報が表示されてから所定の時間が経過した場合には、前記登録手段に登録された前記無効情報を表示するための情報を削除または無効化するとともに、前記描画手段に対して再度描画処理を実行させることを特徴とする請求項1記載の情報処理装置。   The control unit deletes or invalidates information for displaying the invalid information registered in the registration unit when a predetermined time has elapsed since the invalid information was displayed on the display unit. The information processing apparatus according to claim 1, wherein the drawing unit is caused to execute a drawing process again. 前記制御手段は、前記判定手段によって無効な情報が入力されたと判定された場合には前記無効情報を表示するための情報を前記登録手段に登録し、有効な情報が入力されたと判定された場合には前記無効情報を表示するための情報を前記登録手段から削除または無効化し、
前記描画手段は、前記無効情報を表示するための情報が前記登録手段に登録されている場合には、前記無効情報を表示するための情報に対する描画処理を実行する、
ことを特徴とする請求項1記載の情報処理装置。
When the control means determines that invalid information has been input by the determination means, the control means registers information for displaying the invalid information in the registration means, and when it is determined that valid information has been input. Deletes or invalidates the information for displaying the invalid information from the registration means,
The drawing means executes a drawing process on the information for displaying the invalid information when the information for displaying the invalid information is registered in the registration means;
The information processing apparatus according to claim 1.
表示部に表示する画面を生成するための情報を複数の階層に分けて登録し、
登録されている複数の階層の情報に基づいて描画処理を実行し、
描画処理によって得られた画面を表示部に表示し、
上記表示処理によって所定の画面が表示されている際に、入力デバイスが操作されて入力された情報の有効または無効を判定し、
無効な情報が上記入力デバイスから入力されたと判定された場合には、無効な入力がなされたことを示す無効情報を表示するための情報を、所定の階層に対して登録するとともに、描画処理を実行する、
ことを特徴とする情報処理装置。
Register the information for generating the screen to be displayed on the display section into multiple layers,
Execute drawing process based on the information of multiple registered hierarchies,
Display the screen obtained by the drawing process on the display,
When a predetermined screen is displayed by the display process, the input device is operated to determine whether the input information is valid or invalid,
When it is determined that invalid information has been input from the input device, information for displaying invalid information indicating that invalid input has been made is registered in a predetermined hierarchy, and drawing processing is performed. Execute,
An information processing apparatus characterized by that.
表示部に表示する画面を生成するための情報を複数の階層に分けて登録する登録手段、
上記登録手段に登録されている複数の階層の情報に基づいて描画処理を実行する描画手段、
上記描画手段によって得られた画面を表示部に表示する表示手段、
操作に応じた情報を生成して出力する入力デバイス、
上記表示手段によって所定の画面が表示されている際に、上記入力デバイスが操作されて入力された情報の有効または無効を判定する判定手段、
上記判定手段によって無効な情報が上記入力デバイスから入力されたと判定された場合には、無効な入力がなされたことを示す無効情報を表示するための情報を、上記登録手段の所定の階層に対して登録するとともに、上記描画手段に対して描画処理を実行させる制御手段、
としてコンピュータを機能させるコンピュータ読み取り可能な情報処理プログラム。
Registration means for registering information for generating a screen to be displayed on the display unit in a plurality of layers;
Drawing means for executing drawing processing based on information of a plurality of layers registered in the registration means;
Display means for displaying a screen obtained by the drawing means on a display unit;
An input device that generates and outputs information according to the operation,
A determination unit that determines whether the information input by operating the input device when a predetermined screen is displayed by the display unit is valid or invalid;
When the determination means determines that invalid information has been input from the input device, information for displaying invalid information indicating that invalid input has been made is displayed for a predetermined hierarchy of the registration means. And control means for causing the drawing means to execute a drawing process,
A computer-readable information processing program that causes a computer to function as a computer.
JP2007090971A 2007-03-30 2007-03-30 Information processor, information processing method, and information processing program Withdrawn JP2008250657A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007090971A JP2008250657A (en) 2007-03-30 2007-03-30 Information processor, information processing method, and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007090971A JP2008250657A (en) 2007-03-30 2007-03-30 Information processor, information processing method, and information processing program

Publications (1)

Publication Number Publication Date
JP2008250657A true JP2008250657A (en) 2008-10-16

Family

ID=39975531

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007090971A Withdrawn JP2008250657A (en) 2007-03-30 2007-03-30 Information processor, information processing method, and information processing program

Country Status (1)

Country Link
JP (1) JP2008250657A (en)

Similar Documents

Publication Publication Date Title
US7277192B2 (en) Printing apparatus, printing method, image processing apparatus, image processing method, storage medium, and program
EP1764743A2 (en) Image display device, image display method, computer program product, and image display system
JP5327683B2 (en) Performing operations on one or more images using a printer
JP4757131B2 (en) Image composition apparatus, image composition method, and program
JP2006281663A (en) Image processing parameter value setting method
CN102905043B (en) Operation apparatus, image forming apparatus, display control method
US20060075362A1 (en) Image processing apparatus, method, and recording medium on which program is recorded for displaying thumbnail/preview image
JP2006277339A (en) File management device, printer, file management method and program
JP2008186120A (en) Processor, processing method and program for executing processing according to user&#39;s instruction
JP2010131947A (en) Information processor and control method therefor, and printer and control method therefor
US7978209B2 (en) Image forming apparatus, image forming method and image forming program
US8705077B2 (en) Printing system and printing method
JP2008250657A (en) Information processor, information processing method, and information processing program
JP4304899B2 (en) Image processing system and image processing method
JP2002077567A (en) Imaging apparatus, imaging method and medium recording program for imaging method on computer
US10338866B1 (en) Image processing apparatus configured to generate and store data representing user operations so that user operations can be reproduced using such data
JP2009272910A (en) Moving picture image printing device
JP3973651B2 (en) Image file device
JP2006247946A (en) Printing device, order sheet printing method, program and record medium
JP4192792B2 (en) Document processing apparatus and document output program
JPH10232914A (en) Image processor, method therefor and storage medium
JP2001270162A (en) Imaging apparatus and method for outputting image data
JP3766427B2 (en) Image file device
JP3766428B2 (en) Image file device
JP2002137484A (en) Image processor, method for controlling the same, and storage medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100601