JP3699412B2 - Extended control code processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus - Google Patents
Extended control code processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus Download PDFInfo
- Publication number
- JP3699412B2 JP3699412B2 JP2002082238A JP2002082238A JP3699412B2 JP 3699412 B2 JP3699412 B2 JP 3699412B2 JP 2002082238 A JP2002082238 A JP 2002082238A JP 2002082238 A JP2002082238 A JP 2002082238A JP 3699412 B2 JP3699412 B2 JP 3699412B2
- Authority
- JP
- Japan
- Prior art keywords
- display
- function
- terminal
- image forming
- control code
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Facsimiles In General (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、コピー、プリンタ、スキャナあるいはファクシミリなどの画像形成処理にかかるユーザサービスを提供する画像形成装置のオペレーションパネルに描画処理やイベント処理機能を持たせる端末表示アプリを移植する画像形成装置用端末エミュレータにおける拡張制御コード処理方法、その方法をコンピュータに実行させるプログラムおよびこれらを実行することができる画像形成装置に関するものである。
【0002】
【従来の技術】
従来、プリンタ、コピー、ファクシミリ、あるいは、スキャナなどいずれかの機能を備えた画像形成装置が一般的に知られている。さらに、近年では、プリンタ、コピー、ファクシミリ、スキャナなどの各装置の機能を1つの筐体内に収納した画像形成装置(以下、「複合機」という。)が知られている。この複合機は、1つの筐体内に表示部、印刷部および撮像部などを設けるとともに、プリンタ、コピーおよびファクシミリ装置にそれぞれ対応した3種類のソフトウェアを設け、これらのソフトウェアを切り替えることによって、当該装置をプリンタ、コピー、スキャナまたはファクシミリ装置として動作させるものである。
【0003】
このような従来の画像形成装置におけるオペレーションパネルとしては、操作を行うための操作キーと、操作表示やエラー表示を行うための小さなディスプレイが設けられたもの、あるいは、画面上に操作表示やエラー表示を行うとともに、操作キーを表示パネル上に表示し、これに直接触れて操作することができるタッチパネルタイプのものなどがあった。
【0004】
【発明が解決しようとする課題】
しかしながら、このような従来の画像形成装置にあっては、ワークステーションやパーソナルコンピュータのようなキーボードやディスプレイに対応する端末を具備していなかったため、例えば、画像形成装置のオペレーションパネルの表示部を使ってブラウジング画面などのデータを描画表示させようとして、Webブラウザなど汎用の端末表示アプリケーションを移植しても標準入出力の対応がとれず、そのままではオペレーションパネルの表示部に画面表示することができなかった。もちろん、端末表示アプリケーションを移植先の画像形成装置に合うように、アプリケーション内部に大幅な変更を加えれば描画表示も可能となるが、アプリケーション内部を変更するには、時間、手間およびコストがかかるという問題があった。
【0005】
また、従来の複合機では、プリンタ、コピー、スキャナおよびファクシミリ装置に対応するソフトウェアをそれぞれ別個に設けているため、各ソフトウェアの開発に多大の時間を要していた。このため、出願人は、表示部、印刷部および撮像部などの画像形成処理で使用されるハードウェア資源を有し、プリンタ、コピーまたはファクシミリなどの各ユーザサービスにそれぞれ固有の処理を行うアプリケーションを複数搭載し、これらのアプリケーションとハードウェア資源との間に介在して、ユーザサービスを提供する際に、アプリケーションの少なくとも2つが共通的に必要とするハードウェア資源の管理、実行制御並びに画像形成処理を行う各種コントロールサービスからなるプラットホームを備えた画像形成装置(複合機)を発明した。この複合機によれば、アプリケーションの少なくとも2つが共通的に必要とするハードウェア資源の管理、実行制御並びに画像形成処理を行うプラットホームを備えた構成とすることによって、ソフトウェア開発の効率化を図るとともに、装置全体としての生産性を向上させることが可能となる。
【0006】
このように、出願人が発明をした新規な複合機では、アプリケーションとコントロールサービスとを別個に設けているため、複合機の出荷後にユーザもしくは第三者であるサードベンダーが新規なアプリケーションを開発して複合機に搭載可能な構成となっている。しかし、この複合機に新規なアプリケーションを搭載する場合も上記と同様であり、複合機側にアプリケーションの標準入出力に対応する端末が無い場合は、そのまま搭載することができず、アプリケーション内部に変更を加える必要があった。特に、複合機の場合、少なくともプリンタ、コピー、スキャナおよびファクシミリ装置に対応するアプリケーションはそれぞれ別個に開発しなければならないため、各ソフトウェアの開発に多大の時間を要する上、汎用の端末表示アプリケーションを追加移植しようとすると、アプリケーション内部に変更を加えなければならず、開発期間がさらに延びてソフトウェアの開発効率が低下するという問題があった。
【0007】
また、これまで画像形成装置や複合機などのオペレーションパネルには、スペース上の制約があるため、入力部としては簡単な操作キーしかなく、多数のキーが配列されたキーボードを使って効率の良い入力操作を行うことができないという問題があった。さらに、画像形成装置や複合機などのオペレーションパネルの表示部には、イメージを表示するためのイメージウィンドウが存在していなかったため、イメージ表示を行うことができず、表示内容に一定の制約があるという問題があった。
【0008】
この発明は上記に鑑みてなされたもので、画像形成装置のオペレーションパネルの表示部を用いて入力可能なキーボードを表示したり、所望のイメージを所望の位置に貼り付けるといったイメージ表示が可能であって、これらの端末表示を行うために搭載する端末表示アプリケーションの内部を大幅に変更することなく、容易に移植が可能な画像形成装置用端末エミュレータにおける拡張制御コード処理方法、その方法をコンピュータに実行させるプログラムおよび画像形成装置を得ることを目的とする。
【0009】
【課題を解決するための手段】
上記目的を達成するため、請求項1にかかる発明は、画像形成処理で使用されるハードウェア資源を有し、画像形成処理にかかるユーザサービスを行うアプリケーションを備え、前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置上で動作する画像形成装置用端末エミュレータにおける拡張制御コード処理方法であって、前記端末表示アプリケーションから出力された拡張制御コードを含む受信データを受信する受信ステップと、受信した拡張制御コードが指定する表示を行うための関数を呼び出す関数呼出ステップと、呼び出した関数に基づいて表示部に表示を行う表示ステップと、を含んだことを特徴とする。
【0010】
この請求項1にかかる発明によれば、アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置上で動作する画像形成装置用端末エミュレータにおける拡張制御コード処理方法として、端末表示アプリケーションから出力された拡張制御コードを含む受信データを受信する受信ステップと、受信した拡張制御コードが指定する表示を行うための関数を呼び出す関数呼出ステップと、呼び出した関数に基づいて表示部に表示を行う表示ステップとを含んでいるため、受信データに含まれる拡張制御コードが指定する種々の表示を表示部に表示することができる。
【0011】
また、請求項2にかかる発明は、画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスにそれぞれ固有の処理を行うアプリケーションのプロセスと、前記アプリケーションと前記ハードウェア資源との間に介在し、前記ユーザサービスを提供する際に、アプリケーションの少なくとも2つが共通的に必要とする前記ハードウェア資源の獲得要求、管理、実行制御並びに画像形成処理を行うコントロールサービスのプロセスと、操作入力および描画情報出力を行うオペレーションパネルとを備え、前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置上で動作する画像形成装置用端末エミュレータにおける拡張制御コード処理方法であって、前記端末表示アプリケーションから出力された拡張制御コードを含む受信データを受信する受信ステップと、受信した拡張制御コードが指定する表示を行うための関数を呼び出す関数呼出ステップと、呼び出した関数に基づいて表示部に表示する表示ステップと、を含んだことを特徴とする。
【0012】
この請求項2にかかる発明によれば、アプリケーションの1つである端末表示アプリケーションを搭載可能にする複合機上で動作する画像形成装置用端末エミュレータにおける拡張制御コード処理方法として、端末表示アプリケーションから出力された拡張制御コードを含む受信データを受信する受信ステップと、受信した拡張制御コードが指定する表示を行うための関数を呼び出す関数呼出ステップと、呼び出した関数に基づいて表示部に表示する表示ステップとを含んでいるため、複合機の場合でも受信データに含まれる拡張制御コードが指定する種々の表示を表示部に表示することができる。
【0013】
また、請求項3にかかる発明は、請求項1または2に記載の画像形成装置用端末エミュレータにおける拡張制御コード処理方法において、前記関数呼出ステップは、前記拡張制御コードが指定する表示として少なくともソフトキーボード表示とイメージ貼り付け表示があることを特徴とする。
【0014】
この請求項3にかかる発明によれば、関数呼出ステップにおいて拡張制御コードが指定する表示に少なくともソフトキーボード表示とイメージ貼り付け表示があるため、ソフトキーボード表示によりキーボード入力を可能にしたり、イメージ貼り付け表示を行うといった種々の表示が可能となる。
【0015】
また、請求項4にかかる発明は、請求項1〜3のいずれか一つに記載の画像形成装置用端末エミュレータにおける拡張制御コード処理方法において、前記関数呼出ステップは、前記拡張制御コードが指定する表示を行うための関数を集めたオペレーションパネルコントロールサービス関数ライブラリに対して関数呼び出しを行うことを特徴とする。
【0016】
この請求項4にかかる発明によれば、関数呼出ステップにおいて拡張制御コードが指定する表示を行うための関数を集めたオペレーションパネルコントロールサービス関数ライブラリに対して関数呼び出しを行うようにしたため、ライブラリの関数を変更するだけで、種々の表示に対応することができる。
【0017】
また、請求項5にかかる発明は、請求項3または4に記載の画像形成装置用端末エミュレータにおける拡張制御コード処理方法において、前記表示ステップは、ソフトキーボード表示を行う際に、前記関数呼出ステップで関数を呼び出してソフトキーボード要求関数に変換することにより表示を行っていることを特徴とする。
【0018】
この請求項5にかかる発明によれば、表示ステップにおいてソフトキーボード表示をする場合は、関数呼出ステップで関数を呼び出してソフトキーボード要求関数に変換するだけで表示することができる。これは、ソフトキーボードの制御コードがソフトキーボード要求関数を実行するための制御コードだからである。
【0019】
また、請求項6にかかる発明は、請求項3または4に記載の画像形成装置用端末エミュレータにおける拡張制御コード処理方法において、前記表示ステップは、イメージ貼り付け表示を行う際に、予め指定されたイメージ表示位置とイメージファイルとに基づいて表示を行っていることを特徴とする。
【0020】
この請求項6にかかる発明によれば、表示ステップにおいてイメージ貼り付け表示を行う場合は、予め指定されたイメージ表示位置とイメージファイルとに基づいて表示を行うようにしたため、所望のイメージを表示部上の所望の位置に表示することができる。
【0021】
また、請求項7にかかる発明は、請求項1〜6のいずれか一つに記載の画像形成装置用端末エミュレータにおける拡張制御コード処理方法において、前記受信ステップは、その前段に前記端末表示アプリケーションから出力された受信データを構文解析し、端末制御コードを含むデータと拡張制御コードを含むデータとに分ける構文解析ステップを備え、拡張制御コードを含むデータを受信するようにしたことを特徴とする。
【0022】
この請求項7にかかる発明によれば、受信ステップの前段には、端末表示アプリケーションから出力された受信データを構文解析して端末制御コードを含むデータと拡張制御コードを含むデータとに分ける構文解析ステップが設けられ、その拡張制御コードを含むデータを受信するようにしたため、受信データが端末制御コードと拡張制御コードがそれぞれ含まれたデータであっても、構文解析ステップで選り分けることができ、本発明の受信ステップでは拡張制御コードを含むデータの処理だけを行うことができる。また、選り分けられたもう一方の端末制御コードを含む受信データは、そのデータに応じた描画処理を別に行うことにより、さらに異なった種類の画像を表示することができる。
【0023】
また、請求項8にかかる発明は、請求項1〜7のいずれか一つに記載された方法をコンピュータに実行させるプログラムとしたため、いずれか一つの動作をコンピュータに実行させることができる。
【0024】
また、この請求項9にかかる発明は、画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスを行うアプリケーションと、アプリケーションレベルでオペレーションパネルに対する入出力をエミュレーションする端末エミュレータと、を備え、前記端末エミュレータを介して端末表示を行う前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置であって、前記端末エミュレータは、前記端末表示アプリケーションから出力された受信データに拡張制御コードが含まれていると、その拡張制御コードの指定する表示を行うための関数呼び出しを行う関数呼出手段を備え、前記関数呼出手段が呼び出した関数に基づいて表示部に表示することを特徴とする。
【0025】
この請求項9にかかる発明によれば、端末エミュレータを介して端末表示を行うアプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置であって、端末エミュレータの関数呼出手段により、端末表示アプリケーションから出力された拡張制御コードが含まれた受信データを受信すると、その拡張制御コードの指定する表示を行うための関数呼び出しを行い、関数呼出手段が呼び出した関数に基づいて表示部に表示するようにしたため、受信データに含まれる拡張制御コードが指定する種々の表示を表示部に表示することができる。
【0026】
また、請求項10にかかる発明は、画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスにそれぞれ固有の処理を行うアプリケーションと、前記アプリケーションと前記ハードウェア資源との間に介在し、前記ユーザサービスを提供する際に、アプリケーションの少なくとも2つが共通的に必要とする前記ハードウェア資源の獲得要求、管理、実行制御並びに画像形成処理を行うコントロールサービスと、操作入力および描画情報出力を行うオペレーションパネルと、アプリケーションレベルでオペレーションパネルに対する入出力をエミュレーションする端末エミュレータと、を備え、前記端末エミュレータを介して端末表示を行う前記アプリケーションの1つである端末表示アプリケーションを搭載可能にする画像形成装置であって、前記端末エミュレータは、前記端末表示アプリケーションから出力された受信データに拡張制御コードが含まれていると、その拡張制御コードの指定する表示を行うための関数呼び出しを行う関数呼出手段を備え、前記関数呼出手段が呼び出した関数に基づいて表示部に表示することを特徴とする。
【0027】
この請求項10にかかる発明によれば、端末エミュレータを介して端末表示を行うアプリケーションの1つである端末表示アプリケーションを搭載可能にする複合機の画像形成装置であって、端末エミュレータの関数呼出手段により、端末表示アプリケーションから出力された拡張制御コードが含まれた受信データを受信すると、その拡張制御コードの指定する表示を行うための関数呼び出しを行い、関数呼出手段が呼び出した関数に基づいて表示部に表示するようにしたため、受信データに含まれる拡張制御コードが指定する種々の表示を表示部に表示することができる。
【0028】
また、請求項11にかかる発明は、請求項9または10に記載の画像形成装置において、前記関数呼出手段は、前記拡張制御コードが指定する表示として少なくともソフトキーボード表示とイメージ貼り付け表示を行うことを特徴とする。
【0029】
この請求項11にかかる発明によれば、関数呼出手段により拡張制御コードが指定する表示として少なくともソフトキーボード表示とイメージ貼り付け表示を行うようにしたため、ソフトキーボード表示によりキーボード入力を可能にしたり、イメージ貼り付け表示を行うといった種々の表示が可能となる。
【0030】
また、請求項12にかかる発明は、請求項9〜11のいずれか一つに記載の画像形成装置において、前記関数呼出手段から前記拡張制御コードの指定する表示を行うための関数呼び出しを行うオペレーションパネルコントロールサービス関数ライブラリをさらに備えていることを特徴とする。
【0031】
この請求項12にかかる発明によれば、関数呼出手段から拡張制御コードの指定する表示を行うための関数呼び出しを行うオペレーションパネルコントロールサービス関数ライブラリをさらに備えているため、ライブラリの関数を変更するだけで、種々の表示に対応することができる。
【0032】
また、請求項13にかかる発明は、請求項11または12に記載の画像形成装置において、前記関数呼出手段は、ソフトキーボード表示を行うための関数を呼び出してソフトキーボード要求関数に変換することにより表示を行っていることを特徴とする。
【0033】
この請求項13にかかる発明によれば、関数呼出手段によりソフトキーボード表示を行うための関数を呼び出してソフトキーボード要求関数に変換することで表示を行うため、関数呼び出しを行うだけでソフトキーボード要求関数が実行されて表示も行うことができる。
【0034】
また、請求項14にかかる発明は、請求項11または12に記載の画像形成装置において、前記関数呼出手段は、イメージ貼り付け表示を行う際に、予め指定されたイメージ表示位置とイメージファイルとに基づいて表示を行っていることを特徴とする。
【0035】
この請求項14にかかる発明によれば、関数呼出手段によりイメージ貼り付け表示を行う場合は、予め指定されたイメージ表示位置とイメージファイルとに基づいて表示が行われるため、所望のイメージを表示部上の所望の位置に表示することができる。
【0036】
また、請求項15にかかる発明は、請求項9〜14のいずれか一つに記載の画像形成装置において、前記関数呼出手段は、その前段に前記端末表示アプリケーションから出力された受信データを構文解析して端末制御コードを含むデータと拡張制御コードを含むデータとに分け、それぞれのデータを使って適切な端末表示処理を呼び出す構文解析手段をさらに備え、前記構文解析手段から前記関数呼出手段に拡張制御コードを含むデータを送って端末表示処理を行うことを特徴とする。
【0037】
この請求項15にかかる発明によれば、関数呼出手段の前段には、端末表示アプリケーションから出力された受信データを構文解析して端末制御コードを含むデータと拡張制御コードを含むデータとに分け、それぞれのデータを使って適切な端末表示処理を呼び出す構文解析手段をさらに備えていて、その構文解析手段から関数呼出手段に拡張制御コードを含むデータを送って端末表示処理を行うようにしたため、受信データに端末制御コードと拡張制御コードが含まれたデータが混在していても、構文解析手段で選り分けて拡張制御コードを含むデータの処理だけを関数呼出手段で行うことができる。また、選り分けられたもう一方の端末制御コードを含む受信データは、そのデータに応じた描画処理を別に行うことにより、さらに異なった種類の画像を表示することができる。
【0038】
また、請求項16にかかる発明は、請求項9〜15のいずれか一つに記載の画像形成装置において、前記端末表示を行う表示部上で入力操作が行えるタッチパネルを採用し、前記拡張制御コードの指定する表示画面に対して直接入力することを特徴とする。
【0039】
この請求項16にかかる発明によれば、端末表示を行う表示部上で入力操作が行えるタッチパネルを採用し、拡張制御コードの指定する表示画面に対して直接入力するようにしたため、表示部に表示したキーボードやイメージ貼り付けに対して直接タッチすることにより、容易に入力操作を行うことができる。
【0040】
【発明の実施の形態】
以下に添付図面を参照して、この発明にかかる画像形成装置用端末エミュレータにおける拡張制御コード処理方法、その方法をコンピュータに実行させるプログラムおよび画像形成装置の好適な実施の形態を詳細に説明する。
【0041】
(実施の形態1)
(画像形成装置の構成)
図1は、この発明の実施の形態である画像形成装置(以下、「複合機」という)の機能的構成を示すブロック図である。図1に示すように、複合機100は、白黒ラインプリンタ(B&W LP)101と、カラーラインプリンタ(Color LP)102と、スキャナ、ファクシミリ、ハードディスク、メモリ、ネットワークインタフェースなどのハードウェアリソース103を有するとともに、プラットホーム120とアプリケーション130とから構成されるソフトウェア群110とを備えている。
【0042】
プラットホーム120は、アプリケーション130からの処理要求を解釈してハードウェア資源の獲得要求を発生させるコントロールサービスと、一または複数のハードウェア資源の管理を行い、コントロールサービスからの獲得要求を調停するシステムリソースマネージャ(SRM)123と、汎用OS121とを有する。
【0043】
コントロールサービスは、複数のサービスモジュールにより形成され、SCS(システムコントロールサービス)122、ECS(エンジンコントロールサービス)124、MCS(メモリコントロールサービス)125、OCS(オペレーションパネルコントロールサービス)126、FCS(ファックスコントロールサービス)127、およびNCS(ネットワークコントロールサービス)128などで構成されている。なお、このプラットホーム120は、あらかじめ定義された関数によって前記アプリケーション130からの処理要求を受信可能とするアプリケーションプログラムインタフェース(API)を有している。
【0044】
汎用OS121は、UNIX(登録商標)などの汎用オペレーティングシステムであり、プラットホーム120並びにアプリケーション130の各ソフトウェアをそれぞれプロセスとして並列実行する。
【0045】
SRM123のプロセスは、SCS122とともにシステムの制御およびリソースの管理を行うものである。SRM123のプロセスは、スキャナ部やプリンタ部などのエンジン、メモリ、HDDファイル、ホストI/O(セントロI/F、ネットワークI/F、IEEE1394 I/F、RS232C I/Fなど)のハードウェア資源を利用する上位層からの要求にしたがって調停を行い、実行制御する。
【0046】
具体的には、このSRM123は、要求されたハードウェア資源が利用可能であるか(他の要求により利用されていないかどうか)を判断し、利用可能であれば要求されたハードウェア資源が利用可能である旨を上位層に伝える。また、SRM123は、上位層からの要求に対してハードウェア資源の利用スケジューリングを行い、要求内容(例えば、プリンタエンジンにより紙搬送と作像動作、メモリ確保、ファイル生成など)を直接実施している。
【0047】
SCS122のプロセスは、アプリ管理、操作部制御、システム画面表示、LED表示、リソース管理、割り込みアプリ制御などを行う。
【0048】
ECS124のプロセスは、白黒ラインプリンタ(B&W LP)101、カラーラインプリンタ(Color LP)102、スキャナ、ファクシミリなどからなるハードウェアリソース103のエンジンの制御を行う。
【0049】
MCS125のプロセスは、画像メモリの取得および解放、ハードディスク装置(HDD)の利用、画像データの圧縮および伸張などを行う。
【0050】
FCS127のプロセスは、システムコントローラの各アプリ層からPSTN/ISDN網を利用したファクシミリ送受信、BKM(バックアップSRAM)で管理されている各種ファクシミリデータの登録/引用、ファクシミリ読みとり、ファクシミリ受信印刷、融合送受信を行うためのAPIを提供する。
【0051】
NCS128のプロセスは、ネットワークI/Oを必要とするアプリケーションに対して共通に利用できるサービスを提供するためのプロセスであり、ネットワーク側から各プロトコルによって受信したデータを各アプリケーションに振り分けたり、アプリケーションからデータをネットワーク側に送信する際の仲介を行う。
【0052】
OCS126のプロセスは、オペレータ(ユーザ)と本体制御間の情報伝達手段となる後述のオペレーションパネル(操作パネル)を制御するプロセスであり、不図示のオペレーションパネルの表示部からのキー押下をキーイベントとして取得し、取得したキーに対応するキーイベント関数をSCS122へ送信するものである。また、上記アプリケーション130の端末表示アプリ113からOCS126に対して要求を行う場合は、オペレーションパネルの表示部に各種画像を描画出力する描画関数やその他オペレーションパネルに対する制御を行う関数などがあらかじめ登録された後述のOCS関数ライブラリを具備している。このOCS関数ライブラリは、アプリケーション130およびコントロールサービスの各モジュールにリンクされて実装されている。なお、OCS126のすべてをプロセスとして動作させるように構成しても良く、あるいはOCS126のすべてをOCS関数ライブラリとして構成しても良い。
【0053】
アプリケーション130は、ページ記述言語(PDL)、PCLおよびポストスクリプト(PS)を有するプリンタ用のアプリケーションであるプリンタアプリ111と、コピー用アプリケーションであるコピーアプリ112と、端末表示用のアプリケーションである端末表示アプリ(例えば、汎用のWebブラウザなど)113と、ファクシミリ用アプリケーションであるファックスアプリ115と、スキャナ用アプリケーションであるスキャナアプリ116と、ネットワークファイル用アプリケーションであるネットファイルアプリ117と、工程検査用アプリケーションである工程検査アプリ118とを有している。
【0054】
端末表示アプリ113は、本実施の形態1の複合機100に移植するための汎用アプリ、あるいは、開発されたアプリの一例であって、API上のアプリケーションレベルに設けられた本発明の端末エミュレータ114を介して実装されている。この端末表示アプリ113は、本発明の必須要件ではないが、後述する端末エミュレータ114がエミュレーションすることによって、アプリ内部に変更を加えなくても搭載が可能となる。すなわち、コピー機、プリンタ、ファクシミリ装置、あるいは、それらの機能を併せ持つ複合機100は、キーボードやディスプレイに相当する端末を具備していないため、それらの端末を前提とする(標準入出力)汎用の端末表示アプリをそのまま移植しても動作しないが、端末エミュレータ114のエミュレーション機能により、端末表示アプリ113の標準入出力を端末エミュレータ114が移植先の複合機などのオペレーションパネルで扱えるデータに変換処理(リダイレクション)するからである。
【0055】
(端末エミュレータの構成)
図2は、図1の画像形成装置用端末エミュレータの機能的構成とデータの流れを示すブロック図である。図2に示す端末エミュレータ114は、端末表示アプリ(汎用のWebブラウザなど)113からの標準出力の受信データを処理する受信FIFOキュー140、本発明の特徴的な構成要素である構文解析部141、端末機能処理部142、テキストメモリ143、描画処理部144、OCS関数ライブラリ145および関数呼出部146などを備えている。また、この端末エミュレータ114は、オペレーションパネル160の入力部に表示されたボタンやキーボードに対して入力操作が行われるとイベントメッセージを発し、これをマウスイベントやキーイベントの標準入力に変換して、端末表示アプリ(汎用のWebブラウザなど)113に通知するイベント解析部147、マウス入力変換部148、キー操作入力変換部149、および送信FIFOキュー150などを備えている。
【0056】
まず、本実施の形態1では、画像形成装置に搭載された端末表示アプリ113のテキスト情報にかかる標準出力を端末エミュレータ114によりエミュレーションされて、オペレーションパネル160の表示部に描画表示されるまでの流れと各構成部について説明する。
【0057】
(受信FIFOキュー)
受信FIFOキュー140は、端末表示アプリ113からの標準出力の受信データを受け取って蓄積するとともに、受け取った順序にしたがって受信データを出力するFIFO(先入れ先出し)メモリである。また、この受信FIFOキュー140は、受信データに含まれる不定長の制御コードに対して不定長ブロックの比較を行い、該当する制御コードと認識した場合に、ストリーム位置を更新する機能を備えている。これは、端末表示アプリ113からの受信ストリームを次段の本発明の構文解析部141に直接解析させようとすると、その受信データには不定長の制御コードが含まれているため、そのままでは容易に解析することができないからである。このように、受信FIFOキュー140は、端末表示アプリ113からの標準出力の受信データ(制御コードを含むデータ)をバッファリングするとともに、制御コードの不定長ブロックを比較してストリーム位置を更新することにより、次段の構文解析部141で制御コードの長さに応じた構文解析を容易に行うことができる。なお、受信FIFOキュー140の受信ストリームオブジェクトの関数群の一例としては、文字列比較(IsCmpString)、文字比較(IsCmpChar)、文字評価取得(IsGetChar)、文字取得(GetChar)、数値取得(GetNum)、およびストリーム位置変更(SetOffset)などを用いている。
【0058】
また、受信FIFOキュー140は、後述する描画処理部144に対して、オペレーションパネル160の表示部へ描画タイミングを指示する機能を有している。すなわち、図2に示すように、受信FIFOキュー140が描画処理部144に対して描画指示信号154(破線矢印)を送信すると、描画処理部144は、そのタイミングに合わせて、端末表示アプリケーション用に加工した描画情報をまとめてオペレーションパネル160の表示部上に描画することにより、画面がチラツクなど不自然な表示画面になるのを防いでいる。
【0059】
(構文解析部)
次の構文解析部141は、上記した受信FIFOキュー140の後段に配置され、端末表示アプリ113の標準出力からの受信データの解析を行い、その制御コードに応じて適切な表示処理を呼び出す構文解析手段であって、パーサー(parser)とも称される。この構文解析部141では、標準出力の受信データが入ってくると構文解析処理が行われ、その受信データに含まれる制御コードが端末制御コードか否かを判断し、端末制御コードであれば後述する端末機能処理部142で行われる処理が呼び出される。また、拡張制御コード(ESCコード)の場合は、次に述べる関数呼出部146の処理が呼び出される。
【0060】
このように、構文解析部141では、標準出力の受信データの構文解析を行い、受信データに含まれる制御コードに応じて2種類の表示処理に分けて処理が行われるため、オペレーションパネル160の表示部上において種々の画像を表示することができる。例えば、制御コードが端末制御コードであって、端末機能処理部142を呼び出す場合は、テキスト情報に基づく描画処理を行うことができる。また、制御コードが拡張制御コード(ESCコード)であって、関数呼出部146を呼び出す場合は、端末機能処理部142だけでは処理できないソフトキーボード処理やイメージ貼り付け処理などを行うことができるため、オペレーションパネル160の描画表示機能を一層多機能化することができる。
【0061】
(関数呼出部)
上記した構文解析部141によって標準出力の受信データに含まれる制御コードが拡張制御コードの場合は、本発明の特徴的な構成要素である関数呼出部146における処理が呼び出される。
【0062】
関数呼出部146は、受信データの中に拡張制御コード(ESCコード)があった場合、オペレーションパネル160の表示部上にソフトキーボード表示したり、イメージ貼り付け等を行うことができる。ここで、ソフトキーボードとは、オペレーションパネル160のLCD画面上にキーボードを表示し、タッチパネルなどを使ってハードウェアのキーボードと同様のキー入力操作が行えるものである。
【0063】
関数呼出部146によるソフトキーボード制御は、端末制御コードを用いることにより、ソフトキーボードをオペレーションパネルの表示部上に容易に表示することができ、また、表示されたソフトキーボードからの入力を標準入力として端末表示アプリ113に通知することができる。以下、ソフトキーボードの表示動作と、その表示されたソフトキーボードからのキー入力動作について、図2および図3〜図6を用いて説明する。
【0064】
図3は、ソフトキーボードを表示するために端末表示アプリから標準出力として出力される制御コード書式の一例を示す図であり、図4は、図3の具体的な制御コード書式の一部を示す図であり、図5は、オペレーションパネルの表示部上に表示されたソフトキーボードの表示例を示す図であり、図6は、ソフトキーボードを表示するための標準出力動作を説明するフローチャートであり、図7は、ソフトキーボードからの入力を標準入力に変換する動作を説明するフローチャートである。
【0065】
(ソフトキーボード処理)
まず、ソフトキーボードを表示するためには、図3に示すように、制御コードが図2の端末表示アプリ113から標準出力として出力される(図6のステップS140)。この制御コードは、図3の(a)〜(g)に示されるように、関数呼出を行う関数呼出部146の指定コードから始まり、入力エリア終端文字コードまでの7つの部分で構成されている。また、図4の具体的な制御コード書式に示すように、キーボード表示に必要な「キーボードの種類(日本語用、英語用)」、あるいは「カタカナ、アルファベット、ひらがな」等に関する各種表示設定がなされ、所望のソフトキーボードをオペレーションパネル160の表示部上に表示させることができる。
【0066】
このソフトキーボードの制御コードを用いて、関数呼出部146からOCS関数ライブラリ145に対して関数呼び出しを行うことにより、ソフトキーボード要求関数に変換され(図6のステップS142)、オペレーションパネル160のLCD画面にソフトキーボードが表示される(図6のステップS144)。これは、ソフトキーボードの制御コードがソフトキーボード要求関数(SysSoftOpen)を実行するための制御コードだからである。
【0067】
また、オペレーションパネル160には、図5に示すようにソフトキーボードが表示され、パネル表面にはタッチパネルが採用されている。このため、オペレータは、オペレーションパネル160の表示部上のソフトキーボードを見て、入力したいキー位置のパネル部分にタッチするだけでキー入力を行うことができる(図7のステップS150)。
【0068】
キー入力があると、ステップS152でキー入力判定を行い、取り消しボタンやOKボタン以外のボタンが押下されたと判定されると、ステップS150に戻る。また、ステップS152で図5のソフトキーボードのOKボタン160aが押下されたと判定されると、入力文字列が図2のキー操作入力変換部149にてキー入力に変換され(ステップS154)、ソフトキーボードから入力されたデータの末尾には、リターンコード0x0aが付加される。
【0069】
また、ステップS152で図5のソフトキーボードの取り消しボタン160bが押下されたと判定されると、入力が無効となり、Control-C コードに対応した0x03が通知される(ステップS158)。
【0070】
上記ステップS154で変換されたキー入力と、ステップS158でのControl-C(0x03)の通知は、図2の送信FIFOキュー150を介して端末表示アプリ113の標準入力となる(ステップS156)。すなわち、ソフトキーボードから入力されたデータは、端末表示アプリ113の標準入力としてリダイレクトされたことになる。
【0071】
(イメージ貼り付け処理)
次に、これまでのコピー機、プリンタ、ファクシミリ装置、あるいは、複合機などの画像形成装置には、イメージ表示可能なイメージウィンドウ(オペレーションパネルの表示部など)が存在しなかった。このため、本実施の形態1では、上記した拡張制御コード処理の一つとして、イメージ画像を表示するためのイメージ貼り付け処理を行うことができる。
【0072】
図8は、イメージ表示を行う場合のESCコード書式の一例を示す図であり、図9は、イメージ表示するGIFファイルの一例を示す図であり、図10は、図9のGIFファイルを画面に表示するためのプログラム例を説明する図であり、図11は、図10のプログラムを実行してオペレーションパネルの表示部上に表示したイメージ表示例を示す図である。
【0073】
まず、オペレーションパネルの表示画面の所定位置に所望のイメージ表示を行うため、図8に示すESCコードが図2の端末表示アプリ113から標準出力として出力される。このESCコードは、図8の(a)〜(e)に示されるように、関数呼出を行う関数呼出部146の指定コードから始まり、終端文字コードまでの5つの部分で構成されている。
【0074】
次に、GIFファイルとして、図9のabc.gif を表示するためのプログラム(図10)は、イメージ表示を指示する図8のESCコードを用いて、図9のabc.gif イメージをオペレーションパネルの表示部の座標(x,y)=(50,50)位置に表示されるよう、イメージ表示位置およびイメージファイルを図10中の▲1▼のように指定している。また、図10中▲2▼のプログラムは、標準入力からQ文字を受信した場合にプログラムが終了することを意味し、図10中の▲3▼は、イメージ表示がアイコン登録機能を使用して擬似的にイメージウィンドウを実現していることから、イメージ表示を終了する場合は、イメージウィンドウおよびイメージ登録を破棄する必要があることを示している。
【0075】
このように、図10に示すプログラムを実行することにより、図11に示すようなオペレーションパネル160の表示部上の所定位置に、図9に示したようなGIFファイルのイメージを貼り付けて表示させることができる。
【0076】
なお、上記のようにして、オペレーションパネル160の表示部に表示された種々の画像に対してタッチパネルなどから入力が行われると、そのイベントが端末エミュレータ114を介して標準入力に変換され、端末表示アプリ113に入力される。これを図2を用いて簡単に説明すると、例えば、オペレーションパネル160の表示部には、パネル面に触れるとその座標値が入力される入力部を兼ねたタッチパネルを採用していて、オペレーションパネル160の所定位置に下線やボタン、あるいは、後述するようなソフトキーボードを表示させ、それらのボタン位置やキー位置に対応する座標値が入力された場合に、当該ボタンやキーが押下されたとするイベントメッセージを発生させることができる。すなわち、図2に示すOCS126は、オペレーションパネル160の入力部からキーイベントメッセージを取得すると、取得したキーに対応したイベント関数をSCS122のプロセスに送信する。そして、SCS122のプロセスでは、OCS126から受信したイベント関数が端末エミュレータ114のイベント解析部147に送信される。マウスイベントの場合もほぼこれと同様である。
【0077】
イベント解析部147では、入力されたイベント関数がキー入力かマウス入力かを受信イベントによって解析し、キー入力の場合はそのイベントをキー操作入力変換部149へ、マウス入力の場合はそのイベントをマウス入力変換部148に送られる。
【0078】
マウス入力変換部148は、イベント解析部147により振り分けられたマウスイベントを端末表示アプリ113の標準入力に変換処理され、また、キー操作入力変換部149は、イベント解析部147により振り分けられたキーイベントを端末表示アプリ113の標準入力に変換処理されて、送信FIFOキュー150を介して端末表示アプリ113に送られる。
【0079】
このように、本実施の形態1によれば、複合機のような画像形成装置であっても、端末表示アプリ113からの標準出力の受信データが受信FIFOキュー140を介して、構文解析部141により制御コードの構文解析が行われ、拡張制御コードに応じた適切な描画処理を呼び出して処理するため、次の実施の形態2で説明する端末機能処理部142では処理できないソフトキーボード処理やイメージ貼り付け処理などをオペレーションパネルの表示部に表示することができる。また、ソフトキーボード表示やイメージ表示に対してタッチパネルを使って入力すると、これを標準入力に変換して端末表示アプリ113に通知するため、キーボードが搭載されている機器と同様に効率的な入力操作を実現することができる。
【0080】
(実施の形態2)
次に、本実施の形態2では、図2の構文解析部141で解析された端末制御コードを含む受信データを、端末機能処理部142、テキストメモリ143、および描画処理部144を経て、オペレーションパネル160の表示部に描画表示されるまでの流れと各構成部について説明する。
【0081】
(端末機能処理部)
次に、図2の端末機能処理部142は、タームキャップ(termcap )処理部とも称され、端末表示アプリ113からの標準出力の受信データに含まれる制御コードとテキスト情報(文字コード)とを用いて、制御コードに基づく描画に関する属性(描画属性)をテキスト情報に付加する機能を有している。この属性としては、キー入力かマウス入力かの区別、座標位置、下線情報、文字属性情報(色指定情報に相当)、あるいは、シングルクリックをダブルクリックに読み替えるなどの入力形態情報等があり、文字コードに属性が付加された状態で次段のテキストメモリ143に格納される。また、この端末機能処理部142は、端末の仕様に合わせて画面制御情報を設定する機能を有している。画面制御情報としては、行数、コラム数、バックスペースの使用の可否など端末仕様に合わせるための情報、あるいは、画面消去、カーソル移動、アンダーライン等の画面の制御を行う情報が含まれていて、次段のテキストメモリ143に格納する画面表示用のテキスト情報を制御することができる。
【0082】
(テキストメモリ)
テキストメモリ143は、テキストRAMなどで構成されており、画面表示を行う描画属性が付加された状態のテキスト情報を格納するとともに、基本的な画面制御を行うことができる。
【0083】
図12は、描画属性が付加された文字コードがテキストメモリに格納されている状態を示す図である。図12に示すように、オペレーショパネル160の表示領域が16列×79行で構成されており、1文字毎に文字コード(char ch )と属性(int attr)が付加され、これを書き込むテキストメモリ(テキストRAM)143には、文字コード、文字の表示位置を示す行(line)と列(row )、および行単位で表示内容の変更の有無をチェックするためのチェックビット(*check)などが格納されている。このため、表示内容に変更があった場合は、チェックビットの有無を確認するだけで容易に変更行を識別することができるので、変更された行のデータだけを効率的に書き換えることができる。
【0084】
(描画処理部)
次に、図2の描画処理部144は、テキストメモリ143に格納されたテキスト情報を端末表示アプリ113用に加工して、オペレーションパネル160の表示部に描画処理を行うものである。描画処理を行う際は、描画処理部144からボタンや文字列などの画像を描画する描画関数が登録されたOCS関数ライブラリ145に対して描画関数を呼び出すことにより描画情報が生成され、OCS関数ライブラリ145内に一時的に保持される。そして、上記したように、描画処理部144は、受信FIFOキュー140から描画指示信号154を受信する度にOCS関数ライブラリ145内に加工して保持されている描画情報をまとめてオペレーションパネル160の表示部に描画される。ここでは、端末表示アプリ113としてWebブラウザのアプリケーションを用いているため、ブラウジング画面中に表示されるハイパーリンクやFORM入力などの画面に対する操作が必要になってくる。本実施の形態2では、複合機100のオペレーションパネル160の表示部にタッチパネル入力が可能なLCD画面を採用しているが、LCD画面にはタッチパネル入力の座標を取得する機構がないため、タッチパネル入力が必要な部分(ハイパーリンクやFORM入力部分)をボタン形式などで予め表示しておく必要がある。
【0085】
図13は、端末エミュレータ上で端末表示アプリを実行した場合のブラウジング画面の一例を示す図である。描画処理部144では、図13に示すように、ハイパーリンク画像151の場合、文字に青色(図には色表示しない)の下線を付加したボタンを生成し、FORM入力画像152の場合、赤色(色表示しない)の反転文字ボタンを生成し、インライン画像153の場合、緑色(色表示しない)の反転文字ボタンを生成することができる。しかし、このようなボタンを生成し、ボタンから画面操作を行っても、そのままでは端末表示アプリ113側に操作内容を通知することができない。そこで、後述するように特定の文字列に対してボタン表示を行うようにし、このボタンが操作された場合は、その入力をマウスのダブルクリックに変換して端末表示アプリ113へ通知する機構を採用している。
【0086】
次に、図14は、端末表示アプリからの端末表示要求によってオペレーションパネルの表示部に表示されるまでの動作を説明するフローチャートである。図14に示すように、端末表示アプリ113から行表示要求(wd_putline)があると(ステップS100)、これから表示する行を削除し(ステップS102)、文字属性を含む文字列を1文字目から順に調査を行い(ステップS104)、文字属性を含む文字列が一つ前の文字と比較して変化した場合は(ステップS106)、ステップS108で文字属性の調査(attr)が行われる。
【0087】
文字属性調査は、ここでは文字色(色指定情報)に応じて次のような仕様に変更して表示するように設定(文字属性情報)されている。つまり、ハイパーリンクは、青色文字に下線を付加したボタンとして表示し、インライン画像は、緑色の反転文字ボタンとして表示し、通常の文字は黒色の文字として表示するようにする。
【0088】
ステップS108において文字属性を調査した結果、黒の場合は、ステップS110に示すように、所定の(x,y)座標位置(xは列位置、yは行位置)に文字列をメッセージ形式で表示する。
【0089】
また、ステップS108における文字属性調査の結果、青の場合は、ステップS112に示すように、所定の(x,y)座標位置に文字列をボタン形式で表示し、表示位置情報を格納するとともに、そのボタンが押下された時に通知するタッチコードとして登録する。
【0090】
次に、ステップS108における文字属性調査の結果、緑の場合は、ステップS114に示すように、所定の(x,y)座標位置に文字列を反転文字ボタン形式で表示し、表示位置情報を格納するとともに、そのボタンが押下された時に通知を行うタッチコードとして登録する。
【0091】
そして、これらの文字属性の調査結果に基づいて、OCS関数ライブラリに関数を呼び出して、オペレーションパネルのLCD画面上に表示する(ステップS116)。その後、ステップS118で文字属性を含む文字列の終端まで調査したか否かが判断され、最後まで調査していなければステップS104に戻って上記処理が繰り返される。また、ステップS106で文字属性が1文字前の文字と比べて変化していない場合も上記と同様にステップS118で判断される。ステップS118で文字列の終端まで調査した場合は、処理が終了する。このように、端末エミュレータ114の描画処理部144によって、端末表示アプリ113が想定している画面をオペレーションパネル160の表示部上に描画表示し、その表示の少なくとも一部をボタン形式にて表示することにより、ブラウジング画面と同様にハイパーリンクなどが使える表示画面を得ることができる。
【0092】
以上説明したように、本実施の形態2によれば、複合機などの画像形成装置であっても、端末機能に対応した汎用の端末表示アプリを端末エミュレータを介して搭載することにより、アプリ内部を殆ど変更することなく容易に移植することができる。また、本実施の形態2では、その端末エミュレータ114内に構文解析部141を配置したことにより、受信FIFOキュー140を介して入力される端末表示アプリ113の標準出力からの受信データを解析し、制御コードが端末制御コードか拡張制御コード(ESCコード)かに応じて、最も適切な端末表示処理を呼び出すことができる。このように、制御コードに応じて適切な端末表示処理を呼び出すため、オペレーションパネル160の表示部を使って種々の画像を表示することができる。
【0093】
(実施の形態3)
次に、本実施の形態3では、複合機などの画像形成装置に汎用の端末表示アプリを移植して、オペレーションパネルの表示部にブラウジング画面等を描画表示する場合、端末表示アプリには殆ど変更を加えずに移植できるようにするため、以下に示すような方法を用いている。
【0094】
(端末表示アプリの移植形態)
図15は、端末機能対応のアプリを端末デバイスのない機器に移植した場合の図であり、(a)はアプリ内容を変更した場合の図、(b)は端末エミュレータを介在させた場合の図である。端末機能対応のアプリを端末デバイス(キーボードやディスプレイ)が接続された機器に移植する場合、アプリケーションを変更することなく移植することができる。しかし、本実施の形態のように端末機能対応のアプリを端末デバイスが存在しない機器(コピー機、プリンタ、ファクシミリ装置あるいは複合機など)に移植しようとすると、データの入出力先としてはオペレーションパネルの表示部や入力部程度しかなく、そのまま端末機能対応のアプリを移植しても動作しない。このため、図15(a)に示すように、端末機能対応アプリ173の内部に端末デバイスにアクセスする個所をAPI176を使って端末デバイスに代替するようにアプリ自身に変更を加える必要がある(アプリ変更部分173a)。
【0095】
しかし、本実施の形態3では、アプリケーションを移植する際にアプリ内部に変更を加える手間を省くため、図15(b)に示すように、端末エミュレータ175を端末機能対応アプリ173とAPI176との間に介在させて、端末機能対応アプリ173の標準入出力をキーボードやディスプレイを持たない複合機に移植したとしても適合するように、標準入出力の変換処理(エミュレーション)を行うようにしている。これにより、端末機能対応アプリ173であっても殆どアプリ内部に変更を加えることなく画像形成装置などに移植することが可能となる。
【0096】
(GUI機能の追加方法)
また、図16は、端末機能対応のアプリを端末デバイスのない機器に移植し、さらにGUI機能を追加する場合の図であり、(a)はアプリ内にGUI機能を追加した図、(b)は端末エミュレータ内にGUI機能を追加した図である。端末機能対応のアプリは、テキスト操作を行うインターフェース(CUI:キャラクタ・ユーザ・インターフェース)であるが、テキスト表示以外にも拡張された機能として、ボタン操作やイメージ表示、タッチパネルなど多くの機能が搭載されている。そこで、このような様々な機能を使ってGUI(グラフィック・ユーザ・インターフェース)に対応したアプリに変更する場合、アプリに対してAPIを直接操作し、グラフィック用のユーザ・インターフェース(GUI)を追加する必要がある。そこでこの追加形態としては、例えば図16(a)に示すように、▲1▼端末機能対応アプリ173内にAPI176を直接操作する部分を付加することによりGUI173bを追加する方法と、図16(b)に示すように、▲2▼端末エミュレータ175内に端末機能に対応したアプリに応じたGUI175aを追加する方法の2通りが考えられる。図16(a)の追加方法は、端末機能に対応したアプリケーション内部の動作を把握して変更を加える必要がある上、API176の操作も把握しなければならないため、移植が大変困難となる。これに対して、図16(b)の追加方法は、端末機能対応アプリ173を変更する必要がないため、移植が容易に行えるという利点がある。
【0097】
そこで、本実施の形態3では、端末機能に対応した汎用アプリを移植する場合、GUIにも対応可能なアプリケーションに変更するようにする。この場合の具体的なGUI機能の追加方法を図2を用いて説明する。
【0098】
図2において、GUI機能を追加する場合の特徴的な構成としては、個別のアプリに対応したCUIをGUIに変更するための動的なグラフィック変換ライブラリ180を備えている点にある。このグラフィック変換ライブラリ180は、端末表示アプリ113とAPI(図示省略)との間に介在していて、CUIをGUIに変更する機能を有している。
【0099】
また、図2に示すグラフィック変換ライブラリ180内には、端末表示アプリ113に特化したOCS関数ライブラリ145への表示画面を管理する表示画面管理部181を備えている。この表示画面管理部181は、端末表示アプリ113の操作コマンドをボタンに変更することにより、端末表示アプリ113に対する標準入力をストリームデータに変換して通知するものであり、さらに、端末表示アプリ113が表示するブラウザ画面などの子ウィンドウのハンドルの管理も行っている。
【0100】
図2のグラフィック変換ライブラリ180内の描画処理部144は、テキストメモリ143が管理するテキスト情報を端末表示アプリ用に加工してオペレーションパネル160のLCD画面に描画する。描画処理部144の機能は、上記実施の形態2で説明しているため、ここでは説明を省略する。
【0101】
また、図2のグラフィック変換ライブラリ180内のキー操作入力変換部149は、オペレーションパネル160のLCD画面の表示レイアウトを管理するオブジェクトを生成するものであり、上記実施の形態1で説明しているため、ここでは説明を省略する。
【0102】
また、図2のグラフィック変換ライブラリ180内のマウス入力変換部148は、オペレーションパネル160のLCD画面上のタッチ入力をマウス入力に変換処理するものであり、上記実施の形態1で説明しているため、ここでは説明を省略する。
【0103】
以上説明したように、本実施の形態3によれば、アプリケーションを移植する際に、端末エミュレータ175を端末機能対応アプリ173とAPI176との間に介在させることにより、端末機能対応アプリの標準入出力を変換処理(エミュレーション)することができるため、アプリ内部に変更を加えることなく容易に移植することができる。
【0104】
また、本実施の形態3によれば、端末機能対応のアプリはテキスト操作を行うインターフェース(CUI)であるが、テキスト表示以外にも拡張された機能としてボタン操作、イメージ表示、タッチパネルといった多くの機能が搭載されているので、端末機能対応アプリ内にGUIを追加する方法を用いれば(図16(b)参照)、アプリ内部を変更することなく容易に移植することができ、さらにGUI機能も追加することができる。
【0105】
なお、上記した実施の形態1〜3では、端末表示アプリケーションを搭載する機器として複合機を用いた例で説明したが、本発明は必ずしも複合機に限定されるものではなく、コピー機、プリンタ、ファクシミリ装置、あるいはスキャナ装置などオペレーションパネルを備えた単体の画像形成装置についても適用することが可能であり、上記と同様に好適な効果を得ることができる。
【0106】
【発明の効果】
以上説明したように、請求項1にかかる発明によれば、受信データに含まれる拡張制御コードが指定する種々の表示を表示部に表示することができる。
【0107】
また、請求項2にかかる発明によれば、複合機の場合でも受信データに含まれる拡張制御コードが指定する種々の表示を表示部に表示することができる。
【0108】
また、請求項3にかかる発明によれば、ソフトキーボード表示によりキーボード入力を可能にしたり、イメージ貼り付け表示を行うといった種々の表示が可能となる。
【0109】
また、請求項4にかかる発明によれば、ライブラリの関数を変更するだけで、種々の表示に対応することができる。
【0110】
また、請求項5にかかる発明によれば、ソフトキーボード表示をする際に、関数呼出ステップで関数を呼び出してソフトキーボード要求関数に変換するだけで表示することができる。
【0111】
また、請求項6にかかる発明によれば、所望のイメージを表示部上の所望の位置に表示することができる。
【0112】
また、請求項7にかかる発明によれば、受信データが端末制御コードと拡張制御コードがそれぞれ含まれたデータであっても、構文解析ステップで選り分けることができ、本発明の受信ステップでは拡張制御コードを含むデータの処理だけを行うことができる。また、端末制御コードを含むデータに応じた描画処理を別に行えば、さらに異なった種類の画像が表示できる。
【0113】
また、請求項8にかかる発明は、請求項1〜7のいずれか一つに記載された動作をコンピュータに実行させることができる。
【0114】
また、請求項9にかかる発明によれば、受信データに含まれる拡張制御コードが指定する種々の表示を表示部に表示することができる。
【0115】
また、請求項10にかかる発明によれば、複合機の場合でも受信データに含まれる拡張制御コードが指定する種々の表示を表示部に表示することができる。
【0116】
また、請求項11にかかる発明によれば、ソフトキーボード表示によりキーボード入力を可能にしたり、イメージ貼り付け表示を行うといった種々の表示が可能となる。
【0117】
また、請求項12にかかる発明によれば、ライブラリの関数を変更するだけで、種々の表示に対応することができる。
【0118】
また、請求項13にかかる発明によれば、関数呼び出しを行うだけでソフトキーボード要求関数が実行されて表示も行うことができる。
【0119】
また、請求項14にかかる発明によれば、イメージ貼り付け表示を行う場合は、所望のイメージを表示部上の所望の位置に表示することができる。
【0120】
また、請求項15にかかる発明によれば、受信データに端末制御コードと拡張制御コードが含まれたデータが混在していても、構文解析手段で選り分けて拡張制御コードを含むデータの処理だけを関数呼出手段で行うことができる。また、選り分けられた他方の端末制御コードを含む受信データは、そのデータに応じた描画処理を別に行うことで、異なる種類の画像を表示することができる。
【0121】
また、請求項16にかかる発明によれば、表示部に表示したキーボードやイメージ貼り付けに対して直接タッチすることにより、容易に入力操作を行うことができる。
【図面の簡単な説明】
【図1】この発明の実施の形態である画像形成装置の機能的構成を示すブロック図である。
【図2】図1の画像形成装置用端末エミュレータの機能的構成とデータの流れを示すブロック図である。
【図3】ソフトキーボードを表示するために端末表示アプリから標準出力として出力される制御コード書式の一例を示す図である。
【図4】図3の具体的な制御コード書式の一部を示す図である。
【図5】オペレーションパネル上に表示されたソフトキーボードの表示例を示す図である。
【図6】ソフトキーボードを表示するための標準出力動作を説明するフローチャートである。
【図7】ソフトキーボードからの入力を標準入力に変換する動作を説明するフローチャートである。
【図8】イメージ表示を行う場合のESCコード書式の一例を示す図である。
【図9】イメージ表示するGIFファイルの一例を示す図である。
【図10】図9のGIFファイルを画面に表示するためのプログラム例を説明する図である。
【図11】図10のプログラムを実行してオペレーションパネル上に表示したイメージ表示例を示す図である。
【図12】属性が付加された文字コードがテキストメモリに格納されている状態を示す図である。
【図13】端末エミュレータ上で端末表示アプリを実行した場合のブラウジング画面の一例を示す図である。
【図14】端末表示アプリからの端末表示要求によってオペレーションパネルに表示されるまでの動作を説明するフローチャートである。
【図15】端末機能対応のアプリを端末デバイスのない機器に移植した場合の図であり、(a)はアプリ内容を変更した場合の図、(b)は端末エミュレータを介在させた場合の図である。
【図16】端末機能対応のアプリを端末デバイスのない機器に移植するとともにGUI機能を追加した場合の図であり、(a)はアプリ内にGUI機能を追加した図、(b)は端末エミュレータ内にGUI機能を追加した図である。
【符号の説明】
100 複合機
101 白黒ラインプリンタ(B&W LP)
102 カラーラインプリンタ(Color LP)
103 その他ハードウェアリソース
110 ソフトウェア群
111 プリンタアプリ
112 コピーアプリ
113 端末表示アプリ
114 端末エミュレータ
115 ファックスアプリ
116 スキャナアプリ
117 ネットファイルアプリ
118 工程検査アプリ
120 プラットホーム
121 汎用OS
122 SCS
123 SRM
124 ECS
125 MCS
126 OCS
127 FCS
128 NCS
130 アプリケーション
140 受信FIFOキュー
141 構文解析部
142 端末機能処理部
143 テキストメモリ
144 描画処理部
145 OCS関数ライブラリ
146 関数呼出部
147 イベント解析部
148 マウス入力変換部
149 キー操作入力変換部
150 送信FIFOキュー
154 描画指示信号
160 オペレーションパネル
180 グラフィック変換ライブラリ
181 表示画面管理部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image forming apparatus terminal for transplanting a terminal display application for providing a drawing process and an event processing function to an operation panel of an image forming apparatus that provides a user service for image forming processing such as a copy, a printer, a scanner, or a facsimile. The present invention relates to an extended control code processing method in an emulator, a program for causing a computer to execute the method, and an image forming apparatus capable of executing them.
[0002]
[Prior art]
Conventionally, an image forming apparatus having any function such as a printer, a copy, a facsimile, or a scanner is generally known. Further, in recent years, there has been known an image forming apparatus (hereinafter referred to as “multifunction machine”) in which functions of apparatuses such as a printer, a copy, a facsimile, and a scanner are housed in one casing. This multifunction device is provided with a display unit, a printing unit, an imaging unit, and the like in one casing, and is provided with three types of software respectively corresponding to a printer, a copy machine, and a facsimile machine, and by switching these software, Are operated as a printer, a copy, a scanner, or a facsimile machine.
[0003]
As an operation panel in such a conventional image forming apparatus, an operation key for performing an operation and a small display for performing an operation display or an error display, or an operation display or an error display on a screen are provided. In addition, there are touch panel types that display operation keys on a display panel and can be operated by directly touching them.
[0004]
[Problems to be solved by the invention]
However, since such a conventional image forming apparatus does not include a terminal corresponding to a keyboard or a display such as a workstation or a personal computer, for example, the display unit of the operation panel of the image forming apparatus is used. Even if a general-purpose terminal display application such as a web browser is ported to display data such as a browsing screen, the standard input / output cannot be supported, and the screen cannot be displayed on the display section of the operation panel as it is. It was. Of course, if the terminal display application is adapted to the image forming apparatus of the transplantation destination, drawing display is possible if a large change is made inside the application, but it takes time, labor and cost to change the inside of the application. There was a problem.
[0005]
Further, in the conventional multi-function peripheral, software corresponding to the printer, the copy, the scanner, and the facsimile apparatus is separately provided, so that it takes a lot of time to develop each software. For this reason, the applicant has hardware resources used in image forming processing such as a display unit, a printing unit, and an imaging unit, and has an application that performs processing specific to each user service such as a printer, copy, or facsimile. When a user service is provided by interposing between these applications and hardware resources, hardware resource management, execution control, and image formation processing that are commonly required by at least two of the applications are provided. Invented an image forming apparatus (multifunction machine) equipped with a platform comprising various control services. According to this multi-function peripheral, it is possible to improve the efficiency of software development by providing a platform for performing management, execution control, and image formation processing of hardware resources commonly required by at least two applications. As a result, the productivity of the entire apparatus can be improved.
[0006]
In this way, in the new multifunction device invented by the applicant, the application and the control service are provided separately. Therefore, after the multifunction device is shipped, a user or a third party who is a third party develops a new application. Therefore, it can be installed in multifunction devices. However, when a new application is installed in this multifunction device, the same applies as above. If there is no terminal that supports standard input / output of the application on the multifunction device side, it cannot be installed as it is, and it is changed inside the application. Needed to be added. In particular, in the case of multi-function devices, at least applications that correspond to printers, copiers, scanners, and facsimile machines must be developed separately, so it takes a lot of time to develop each software, and a general-purpose terminal display application is added. When trying to port, changes must be made inside the application, which further increases the development period and lowers the efficiency of software development.
[0007]
In addition, operation panels such as image forming apparatuses and multifunction peripherals have limited space, so there are only simple operation keys as an input unit, and it is efficient to use a keyboard with a large number of keys arranged. There was a problem that input operation could not be performed. Furthermore, since there is no image window for displaying an image on the display unit of an operation panel such as an image forming apparatus or a multifunction peripheral, image display cannot be performed, and display content has certain restrictions. There was a problem.
[0008]
The present invention has been made in view of the above, and it is possible to display an image such as displaying a keyboard that can be input using the display unit of the operation panel of the image forming apparatus or pasting a desired image at a desired position. An extended control code processing method in a terminal emulator for an image forming apparatus that can be easily ported without significantly changing the inside of a terminal display application installed for performing these terminal displays, and executing the method on a computer An object is to obtain a program and an image forming apparatus.
[0009]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to
[0010]
According to the invention of
[0011]
According to a second aspect of the present invention, there is provided a hardware resource used in the image forming process, an application process for performing a process specific to the user service related to the image forming process, the application and the hardware resource. Control service process and operation for performing acquisition request, management, execution control and image formation processing of the hardware resources commonly required by at least two applications when providing the user service. With an operation panel for input and drawing information output, One of the applications An extended control code processing method in a terminal emulator for an image forming apparatus that operates on an image forming apparatus capable of mounting a terminal display application, the terminal display application Output from A reception step for receiving received data including the extended control code, a function calling step for calling a function for performing display specified by the received extended control code, a display step for displaying on the display unit based on the called function, It is characterized by including.
[0012]
According to the invention of
[0013]
According to a third aspect of the present invention, in the extended control code processing method in the terminal emulator for an image forming apparatus according to the first or second aspect, the function calling step includes at least a soft keyboard as a display designated by the extended control code. It is characterized by display and image pasting display.
[0014]
According to the third aspect of the present invention, at least the soft keyboard display and the image pasting display are included in the display designated by the extended control code in the function calling step. Various displays such as display can be performed.
[0015]
According to a fourth aspect of the present invention, in the extended control code processing method in the terminal emulator for an image forming apparatus according to any one of the first to third aspects, the function call step is designated by the extended control code. A function call is made to an operation panel control service function library that collects functions for display.
[0016]
According to the fourth aspect of the present invention, since the function call is made to the operation panel control service function library that collects the functions for performing the display specified by the extended control code in the function call step, the function of the library It is possible to cope with various displays simply by changing the.
[0017]
According to a fifth aspect of the present invention, in the extended control code processing method in the terminal emulator for an image forming apparatus according to the third or fourth aspect, the display step is the function call step when performing soft keyboard display. The display is performed by calling a function and converting it into a soft keyboard request function.
[0018]
According to the fifth aspect of the present invention, when the soft keyboard is displayed in the display step, it can be displayed only by calling the function in the function calling step and converting it into the soft keyboard request function. This is because the control code of the soft keyboard is a control code for executing the soft keyboard request function.
[0019]
According to a sixth aspect of the present invention, in the extended control code processing method in the terminal emulator for an image forming apparatus according to the third or fourth aspect, the display step is designated in advance when performing the image pasting display. The display is based on the image display position and the image file.
[0020]
According to the sixth aspect of the present invention, when the image pasting display is performed in the display step, the display is performed based on the image display position and the image file designated in advance. It can be displayed at the desired position above.
[0021]
The invention according to
[0022]
According to the invention of
[0023]
Moreover, since the
[0024]
The invention according to
[0025]
According to the ninth aspect of the present invention, terminal display is performed via the terminal emulator. One of the applications An image forming apparatus capable of mounting a terminal display application, wherein the terminal display application is called by a function calling means of a terminal emulator Output from When reception data containing extended control code is received, a function call is made to display that specified by the extended control code, and it is displayed on the display unit based on the function called by the function call means. Various displays specified by the extended control code included in the data can be displayed on the display unit.
[0026]
According to a tenth aspect of the present invention, there is provided a hardware resource used in the image forming process, an application for performing a process specific to the user service related to the image forming process, and the application and the hardware resource. A control service for performing acquisition, management, execution control, and image formation processing of the hardware resources that are commonly required by at least two applications when providing the user service, operation input, and drawing information Output operation panel and operation panel at application level Enter A terminal emulator for emulating output, and performing terminal display via the terminal emulator One of the applications An image forming apparatus capable of mounting a terminal display application, wherein the terminal emulator includes the terminal display application Output from When the extended control code is included in the received data, it is provided with function calling means for making a function call for performing display designated by the extended control code, and displayed on the display unit based on the function called by the function call means It is characterized by doing.
[0027]
According to the invention of
[0028]
According to an eleventh aspect of the present invention, in the image forming apparatus according to the ninth or tenth aspect, the function calling means performs at least a soft keyboard display and an image pasting display as the display specified by the extended control code. It is characterized by.
[0029]
According to the eleventh aspect of the present invention, at least the soft keyboard display and the image pasting display are performed as the display designated by the extended control code by the function calling means. Various displays such as a pasting display are possible.
[0030]
According to a twelfth aspect of the present invention, in the image forming apparatus according to any one of the ninth to eleventh aspects, an operation for performing a function call for performing display designated by the extended control code from the function call unit. A panel control service function library is further provided.
[0031]
According to the twelfth aspect of the present invention, since the operation panel control service function library for performing the function call for performing the display designated by the extended control code is further provided from the function call means, only the function of the library is changed. Thus, various displays can be handled.
[0032]
According to a thirteenth aspect of the present invention, in the image forming apparatus according to the eleventh or twelfth aspect, the function calling unit displays a function by calling a function for performing a soft keyboard display and converting it into a soft keyboard request function. It is characterized by performing.
[0033]
According to the thirteenth aspect of the present invention, since the function calling means calls a function for performing soft keyboard display and converts it into a soft keyboard request function for display, the soft keyboard request function can be obtained simply by calling the function. Can also be displayed.
[0034]
According to a fourteenth aspect of the present invention, in the image forming apparatus according to the eleventh or twelfth aspect, when the function calling unit performs an image pasting display, an image display position and an image file designated in advance are used. The display is based on this.
[0035]
According to the fourteenth aspect of the present invention, when the image pasting display is performed by the function calling means, the display is performed based on the image display position and the image file designated in advance. It can be displayed at the desired position above.
[0036]
The invention according to a fifteenth aspect is the image forming apparatus according to any one of the ninth to fourteenth aspects, wherein the function calling unit includes the terminal display application in the preceding stage. Output from Parse received data Shi Further comprising a syntax analysis means for dividing the data including the terminal control code and the data including the extended control code, and calling an appropriate terminal display process using the respective data, and performing extended control from the syntax analysis means to the function calling means. A terminal display process is performed by sending data including a code.
[0037]
According to the invention of
[0038]
According to a sixteenth aspect of the present invention, in the image forming apparatus according to any one of the ninth to fifteenth aspects, a touch panel capable of performing an input operation on the display unit that performs the terminal display is employed, and the extended control code It is characterized by inputting directly on the display screen specified by
[0039]
According to the sixteenth aspect of the present invention, the touch panel capable of performing an input operation on the display unit that performs terminal display is adopted, and the direct input is performed on the display screen specified by the extended control code. An input operation can be easily performed by directly touching the keyboard or image pasting.
[0040]
DETAILED DESCRIPTION OF THE INVENTION
Exemplary embodiments of an extended control code processing method in a terminal emulator for an image forming apparatus according to the present invention, a program for causing a computer to execute the method, and an image forming apparatus will be described below in detail with reference to the accompanying drawings.
[0041]
(Embodiment 1)
(Configuration of image forming apparatus)
FIG. 1 is a block diagram showing a functional configuration of an image forming apparatus (hereinafter referred to as “multifunction machine”) according to an embodiment of the present invention. As shown in FIG. 1, the multi-function device 100 includes a monochrome line printer (B & W LP) 101, a color line printer (Color LP) 102, and
[0042]
The
[0043]
The control service is formed by a plurality of service modules, and includes an SCS (system control service) 122, an ECS (engine control service) 124, an MCS (memory control service) 125, an OCS (operation panel control service) 126, and an FCS (fax control service). ) 127, NCS (Network Control Service) 128, and the like. The
[0044]
The general-
[0045]
The process of the
[0046]
Specifically, the
[0047]
The process of the
[0048]
The process of the
[0049]
The
[0050]
The process of FCS127 includes facsimile transmission / reception using PSTN / ISDN network from each application layer of the system controller, registration / quotation of various facsimile data managed by BKM (backup SRAM), facsimile reading, facsimile reception printing, and fusion transmission / reception. Provides an API to do.
[0051]
The
[0052]
The process of the
[0053]
The application 130 includes a
[0054]
The
[0055]
(Terminal emulator configuration)
FIG. 2 is a block diagram showing a functional configuration and a data flow of the terminal emulator for the image forming apparatus of FIG. A
[0056]
First, in the first embodiment, the standard output related to the text information of the
[0057]
(Receive FIFO queue)
The
[0058]
The
[0059]
(Syntax analyzer)
The next
[0060]
In this manner, the
[0061]
(Function call part)
When the control code included in the standard output reception data is the extended control code by the
[0062]
When there is an extended control code (ESC code) in the received data, the
[0063]
The soft keyboard control by the
[0064]
FIG. 3 is a diagram illustrating an example of a control code format output as a standard output from the terminal display application in order to display a soft keyboard, and FIG. 4 illustrates a part of the specific control code format of FIG. FIG. 5 is a diagram showing a display example of a soft keyboard displayed on the display unit of the operation panel, and FIG. 6 is a flowchart for explaining a standard output operation for displaying the soft keyboard. FIG. 7 is a flowchart for explaining the operation of converting the input from the soft keyboard into the standard input.
[0065]
(Soft keyboard processing)
First, in order to display a soft keyboard, as shown in FIG. 3, a control code is output as a standard output from the
[0066]
By using this soft keyboard control code, a function call is made from the
[0067]
Further, as shown in FIG. 5, a soft keyboard is displayed on the
[0068]
If there is a key input, the key input is determined in step S152. If it is determined that a button other than the cancel button or the OK button is pressed, the process returns to step S150. If it is determined in step S152 that the
[0069]
If it is determined in step S152 that the cancel
[0070]
The key input converted in step S154 and the notification of Control-C (0x03) in step S158 are standard inputs of the
[0071]
(Image pasting process)
Next, conventional image forming apparatuses such as copiers, printers, facsimile machines, and multi-function machines have no image window (such as an operation panel display unit) capable of displaying images. For this reason, in the first embodiment, as one of the above-described extended control code processes, an image pasting process for displaying an image can be performed.
[0072]
FIG. 8 is a diagram illustrating an example of an ESC code format when performing image display, FIG. 9 is a diagram illustrating an example of a GIF file for image display, and FIG. 10 is a diagram illustrating the GIF file of FIG. 9 on the screen. FIG. 11 is a diagram illustrating an example of an image displayed on the display unit of the operation panel by executing the program of FIG. 10.
[0073]
First, in order to display a desired image at a predetermined position on the display screen of the operation panel, the ESC code shown in FIG. 8 is output as a standard output from the
[0074]
Next, the program (FIG. 10) for displaying abc.gif in FIG. 9 as the GIF file uses the ESC code in FIG. 8 to instruct the image display, and converts the abc.gif image in FIG. The image display position and the image file are designated as indicated by (1) in FIG. 10 so that the image is displayed at the coordinate (x, y) = (50, 50) position of the display unit. The program (2) in FIG. 10 means that the program ends when a Q character is received from the standard input. (3) in FIG. 10 indicates that the image display uses the icon registration function. Since a pseudo image window is realized, it is indicated that the image window and the image registration need to be discarded when the image display is ended.
[0075]
As described above, by executing the program shown in FIG. 10, the image of the GIF file as shown in FIG. 9 is pasted and displayed at a predetermined position on the display unit of the
[0076]
As described above, when various images displayed on the display unit of the
[0077]
The
[0078]
The mouse
[0079]
As described above, according to the first embodiment, even in the case of an image forming apparatus such as a multifunction peripheral, the standard output received data from the
[0080]
(Embodiment 2)
Next, in the second embodiment, the received data including the terminal control code analyzed by the
[0081]
(Terminal function processor)
Next, the terminal
[0082]
(Text memory)
The
[0083]
FIG. 12 is a diagram illustrating a state in which the character code to which the drawing attribute is added is stored in the text memory. As shown in FIG. 12, the display area of the
[0084]
(Drawing processing part)
Next, the
[0085]
FIG. 13 is a diagram illustrating an example of a browsing screen when a terminal display application is executed on a terminal emulator. As shown in FIG. 13, in the case of the
[0086]
Next, FIG. 14 is a flowchart for explaining operations until a terminal display request from the terminal display application is displayed on the display unit of the operation panel. As shown in FIG. 14, when there is a line display request (wd_putline) from the terminal display application 113 (step S100), the line to be displayed is deleted (step S102), and the character string including the character attribute is sequentially from the first character. An investigation is performed (step S104), and if the character string including the character attribute changes compared to the previous character (step S106), the character attribute is investigated (attr) in step S108.
[0087]
Here, the character attribute investigation is set (character attribute information) so as to be changed to the following specifications according to the character color (color designation information). That is, the hyperlink is displayed as a button in which a blue character is underlined, the inline image is displayed as a green inverted character button, and a normal character is displayed as a black character.
[0088]
As a result of investigating the character attribute in step S108, if it is black, as shown in step S110, the character string is displayed in a message format at a predetermined (x, y) coordinate position (x is a column position, y is a row position). To do.
[0089]
If the result of the character attribute investigation in step S108 is blue, as shown in step S112, a character string is displayed in a button format at a predetermined (x, y) coordinate position, and display position information is stored. Register as a touch code to be notified when the button is pressed.
[0090]
Next, if the result of the character attribute check in step S108 is green, as shown in step S114, the character string is displayed in a reverse character button format at a predetermined (x, y) coordinate position, and display position information is stored. At the same time, it is registered as a touch code for notifying when the button is pressed.
[0091]
Then, based on these character attribute investigation results, a function is called into the OCS function library and displayed on the LCD screen of the operation panel (step S116). Thereafter, in step S118, it is determined whether or not the end of the character string including the character attribute has been checked. If the check has not been made to the end, the process returns to step S104 and the above processing is repeated. Further, in the case where the character attribute is not changed in step S106 as compared with the character one character before, it is determined in step S118 similarly to the above. If the end of the character string has been examined in step S118, the process ends. As described above, the
[0092]
As described above, according to the second embodiment, even in an image forming apparatus such as a multifunction peripheral, a general-purpose terminal display application corresponding to a terminal function can be installed via a terminal emulator to Can be easily transplanted with little change. In the second embodiment, the
[0093]
(Embodiment 3)
Next, in the third embodiment, when a general-purpose terminal display application is ported to an image forming apparatus such as a multifunction peripheral and a browsing screen is drawn and displayed on the display unit of the operation panel, the terminal display application is almost changed. The following method is used so that transplantation can be performed without adding.
[0094]
(Porting form of terminal display application)
FIGS. 15A and 15B are diagrams in a case where an application corresponding to a terminal function is ported to a device without a terminal device, where FIG. 15A is a diagram when the contents of the application are changed, and FIG. 15B is a diagram when a terminal emulator is interposed. It is. When a terminal function compatible application is ported to a device to which a terminal device (keyboard or display) is connected, the application can be ported without change. However, if an application corresponding to a terminal function is ported to a device (such as a copier, a printer, a facsimile machine, or a multifunction device) that does not have a terminal device as in this embodiment, the data input / output destination is the operation panel. There are only a display part and an input part, and even if it transplants the application corresponding to the terminal function as it is, it does not work. For this reason, as shown in FIG. 15 (a), it is necessary to change the application itself so that the location where the terminal device is accessed inside the terminal function
[0095]
However, in the third embodiment, in order to save the trouble of making changes inside the application when the application is ported, the
[0096]
(How to add GUI function)
FIG. 16 is a diagram in a case where a terminal function compatible application is transplanted to a device without a terminal device and a GUI function is further added. FIG. 16A is a diagram in which a GUI function is added in the application. FIG. 4 is a diagram in which a GUI function is added to a terminal emulator. The terminal function compatible application is an interface (CUI: character user interface) for performing text operations. In addition to text display, many functions such as button operation, image display, and touch panel are installed. ing. Therefore, when changing to an application corresponding to a GUI (graphic user interface) using such various functions, an API is directly operated on the application, and a graphic user interface (GUI) is added. There is a need. Therefore, as this additional form, for example, as shown in FIG. 16A, (1) a method of adding the
[0097]
Therefore, in the third embodiment, when a general-purpose application corresponding to the terminal function is ported, the application is changed to an application that can also support the GUI. A specific method of adding a GUI function in this case will be described with reference to FIG.
[0098]
In FIG. 2, a characteristic configuration when adding a GUI function is that a dynamic
[0099]
Further, the
[0100]
The
[0101]
Also, the key operation
[0102]
Also, the mouse
[0103]
As described above, according to the third embodiment, when the application is ported, the
[0104]
In addition, according to the third embodiment, the terminal function compatible application is an interface (CUI) for performing a text operation, but there are many functions such as a button operation, an image display, and a touch panel as functions expanded in addition to the text display. Is installed, if you use the method of adding GUI in the terminal function compatible application (see Fig. 16 (b)), you can easily port without changing the inside of the application, and also add GUI function can do.
[0105]
In the first to third embodiments described above, an example in which a multifunction device is used as a device on which a terminal display application is mounted has been described. However, the present invention is not necessarily limited to a multifunction device, and a copier, printer, The present invention can also be applied to a single image forming apparatus having an operation panel such as a facsimile apparatus or a scanner apparatus, and a suitable effect can be obtained as described above.
[0106]
【The invention's effect】
As described above, according to the first aspect of the invention, various displays specified by the extended control code included in the received data can be displayed on the display unit.
[0107]
According to the second aspect of the present invention, various displays designated by the extended control code included in the received data can be displayed on the display unit even in the case of a multi-function peripheral.
[0108]
According to the third aspect of the present invention, various displays such as keyboard input by soft keyboard display and image pasting display are possible.
[0109]
According to the fourth aspect of the present invention, various displays can be handled by simply changing the library function.
[0110]
According to the fifth aspect of the present invention, when a soft keyboard is displayed, it can be displayed simply by calling a function in the function call step and converting it into a soft keyboard request function.
[0111]
Moreover, according to the
[0112]
According to the invention of
[0113]
The invention according to
[0114]
According to the ninth aspect of the present invention, various displays designated by the extended control code included in the received data can be displayed on the display unit.
[0115]
According to the tenth aspect of the present invention, various displays designated by the extended control code included in the received data can be displayed on the display unit even in the case of a multi-function peripheral.
[0116]
According to the eleventh aspect of the invention, it is possible to perform various displays such as a keyboard input by soft keyboard display and an image pasting display.
[0117]
Further, according to the twelfth aspect of the present invention, it is possible to cope with various displays only by changing the function of the library.
[0118]
According to the thirteenth aspect of the present invention, the soft keyboard request function can be executed and displayed only by making a function call.
[0119]
According to the fourteenth aspect of the present invention, when performing image pasting display, a desired image can be displayed at a desired position on the display unit.
[0120]
According to the invention of
[0121]
According to the sixteenth aspect of the present invention, an input operation can be easily performed by directly touching the keyboard or image pasting displayed on the display unit.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a functional configuration of an image forming apparatus according to an embodiment of the present invention.
2 is a block diagram illustrating a functional configuration and a data flow of the terminal emulator for the image forming apparatus in FIG. 1; FIG.
FIG. 3 is a diagram illustrating an example of a control code format output as a standard output from a terminal display application in order to display a soft keyboard.
FIG. 4 is a diagram showing a part of a specific control code format of FIG. 3;
FIG. 5 is a diagram showing a display example of a soft keyboard displayed on an operation panel.
FIG. 6 is a flowchart illustrating a standard output operation for displaying a soft keyboard.
FIG. 7 is a flowchart illustrating an operation for converting input from a soft keyboard into standard input.
FIG. 8 is a diagram illustrating an example of an ESC code format when performing image display.
FIG. 9 is a diagram illustrating an example of a GIF file for image display.
10 is a diagram for explaining an example of a program for displaying the GIF file of FIG. 9 on a screen.
11 is a diagram showing an image display example displayed on the operation panel by executing the program of FIG. 10; FIG.
FIG. 12 is a diagram illustrating a state in which a character code to which an attribute is added is stored in a text memory.
FIG. 13 is a diagram illustrating an example of a browsing screen when a terminal display application is executed on a terminal emulator.
FIG. 14 is a flowchart illustrating an operation until a terminal display request from a terminal display application is displayed on an operation panel.
FIGS. 15A and 15B are diagrams when a terminal function compatible application is ported to a device without a terminal device, where FIG. 15A is a diagram when the application content is changed, and FIG. 15B is a diagram when a terminal emulator is interposed; It is.
FIGS. 16A and 16B are diagrams when a terminal function compatible application is transplanted to a device without a terminal device and a GUI function is added; FIG. 16A is a diagram in which a GUI function is added in the application; It is the figure which added the GUI function in the inside.
[Explanation of symbols]
100 MFP
101 Monochrome line printer (B & W LP)
102 Color line printer (Color LP)
103 Other hardware resources
110 Software group
111 Printer app
112 Copy application
113 Terminal display app
114 terminal emulator
115 Fax application
116 Scanner app
117 Net file application
118 Process inspection app
120 platform
121 General-purpose OS
122 SCS
123 SRM
124 ECS
125 MCS
126 OCS
127 FCS
128 NCS
130 applications
140 Receive FIFO queue
141 Parsing section
142 Terminal function processor
143 text memory
144 Drawing processing unit
145 OCS function library
146 Function call part
147 Event Analysis Department
148 Mouse input converter
149 Key operation input converter
150 Send FIFO queue
154 Drawing instruction signal
160 Operation Panel
180 graphic conversion library
181 Display screen manager
Claims (16)
前記端末表示アプリケーションから出力された拡張制御コードを含む受信データを受信する受信ステップと、
受信した拡張制御コードが指定する表示を行うための関数を呼び出す関数呼出ステップと、
呼び出した関数に基づいて表示部に表示を行う表示ステップと、
を含んだことを特徴とする画像形成装置用端末エミュレータにおける拡張制御コード処理方法。An image operating on an image forming apparatus having hardware resources used in the image forming process, including an application for performing a user service related to the image forming process, and capable of mounting a terminal display application which is one of the applications. An extended control code processing method in a terminal emulator for a forming apparatus,
A reception step of receiving reception data including an extended control code output from the terminal display application;
A function call step for calling a function for performing display specified by the received extended control code;
A display step for displaying on the display unit based on the called function;
An extended control code processing method in a terminal emulator for an image forming apparatus, comprising:
前記端末表示アプリケーションから出力された拡張制御コードを含む受信データを受信する受信ステップと、
受信した拡張制御コードが指定する表示を行うための関数を呼び出す関数呼出ステップと、
呼び出した関数に基づいて表示部に表示する表示ステップと、
を含んだことを特徴とする画像形成装置用端末エミュレータにおける拡張制御コード処理方法。The hardware resource used in the image forming process, the application process for performing the process specific to the user service related to the image forming process, and the user service provided between the application and the hardware resource. A process of a control service that performs acquisition request, management, execution control, and image formation processing of the hardware resources commonly required by at least two of the applications, and an operation panel that performs operation input and drawing information output An extended control code processing method in a terminal emulator for an image forming apparatus that operates on an image forming apparatus that enables mounting of a terminal display application that is one of the applications,
A reception step of receiving reception data including an extended control code output from the terminal display application;
A function call step for calling a function for performing display specified by the received extended control code;
A display step for displaying on the display unit based on the called function;
An extended control code processing method in a terminal emulator for an image forming apparatus, comprising:
前記端末エミュレータは、前記端末表示アプリケーションから出力された受信データに拡張制御コードが含まれていると、その拡張制御コードの指定する表示を行うための関数呼び出しを行う関数呼出手段
を備え、前記関数呼出手段が呼び出した関数に基づいて表示部に表示することを特徴とする画像形成装置。Comprising hardware resources used in image forming processing, and application for user services for image forming processes, a terminal emulator for emulating input output against the operation panel at the application level, and through the terminal emulator An image forming apparatus capable of mounting a terminal display application which is one of the applications for performing terminal display,
The terminal emulator comprises function calling means for calling a function for performing display designated by the extended control code when the extended data is included in the reception data output from the terminal display application, An image forming apparatus displaying on a display unit based on a function called by a calling unit.
前記端末エミュレータは、前記端末表示アプリケーションから出力された受信データに拡張制御コードが含まれていると、その拡張制御コードの指定する表示を行うための関数呼び出しを行う関数呼出手段
を備え、前記関数呼出手段が呼び出した関数に基づいて表示部に表示することを特徴とする画像形成装置。When providing the user service by interposing between the hardware resource used in the image forming process, an application for performing a process specific to the user service related to the image forming process, and the application and the hardware resource A control service for performing acquisition, management, execution control and image formation processing of the hardware resources commonly required by at least two of the applications, an operation panel for performing operation input and drawing information output, and an application level comprising a terminal emulator for emulating input output against the operation panel, and an image forming apparatus which enables mounting the terminal display application, which is one of the application for terminal display through the terminal emulator,
The terminal emulator comprises function calling means for calling a function for performing display designated by the extended control code when the extended data is included in the reception data output from the terminal display application, An image forming apparatus displaying on a display unit based on a function called by a calling unit.
さらに備えていることを特徴とする請求項9〜11のいずれか一つに記載の画像形成装置。The operation panel control service function library for performing a function call for performing display for designating the extended control code from the function call means is further provided. Image forming apparatus.
前記構文解析手段から前記関数呼出手段に拡張制御コードを含むデータを送って端末表示処理を行うことを特徴とする請求項9〜14のいずれか一つに記載の画像形成装置。The function call unit, divided into the data including the extended control codes and data including a terminal control code parses the output reception data from the terminal display application on the preceding stage, appropriate terminals using the respective data It further comprises a parsing means for invoking display processing,
The image forming apparatus according to claim 9, wherein terminal display processing is performed by sending data including an extended control code from the syntax analysis unit to the function calling unit.
前記拡張制御コードの指定する表示画面に対して直接入力することを特徴とする請求項9〜15のいずれか一つに記載の画像形成装置。Adopting a touch panel that allows input operation on the display unit that displays the terminal,
The image forming apparatus according to claim 9, wherein the image forming apparatus directly inputs a display screen designated by the extended control code.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002082238A JP3699412B2 (en) | 2002-03-25 | 2002-03-25 | Extended control code processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002082238A JP3699412B2 (en) | 2002-03-25 | 2002-03-25 | Extended control code processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003283717A JP2003283717A (en) | 2003-10-03 |
| JP3699412B2 true JP3699412B2 (en) | 2005-09-28 |
Family
ID=29230498
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002082238A Expired - Fee Related JP3699412B2 (en) | 2002-03-25 | 2002-03-25 | Extended control code processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3699412B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007307779A (en) * | 2006-05-18 | 2007-11-29 | Seiko Epson Corp | Embedded device, electronic device, embedded device control method, program, and recording medium |
| JP5187007B2 (en) | 2008-06-05 | 2013-04-24 | 株式会社リコー | Image forming apparatus, display control method, and display control program |
| JP5924169B2 (en) * | 2012-07-13 | 2016-05-25 | ブラザー工業株式会社 | RELAY DEVICE, PROGRAM, AND RELAY DEVICE CONTROL METHOD |
| JP5991104B2 (en) | 2012-09-18 | 2016-09-14 | 株式会社リコー | Information processing apparatus, information processing method, and program |
-
2002
- 2002-03-25 JP JP2002082238A patent/JP3699412B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2003283717A (en) | 2003-10-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4939046B2 (en) | Image processing apparatus and control method thereof | |
| US20050044248A1 (en) | User authentication method, image forming apparatus, and user authentication program | |
| US20130194628A1 (en) | Image processing system, information terminal apparatus, image displaying method, and program | |
| US8390861B2 (en) | Information processing apparatus, method, and recording medium controlling the display of printing options | |
| US6928462B2 (en) | System and method for distributed processing of non-processable elements of a document to be rendered on a client | |
| CN102055868A (en) | Information processing device, screen data generation method, motion control method, electric device, and motion control system | |
| JPH09223062A (en) | Customization method for service offering form and server device applicable to execution of the customization method | |
| US20080307428A1 (en) | Image forming apparatus, application execution method, and storage medium | |
| JP2004185595A (en) | Information processing apparatus and program thereof | |
| JPH11353146A (en) | Printing system | |
| JP4198551B2 (en) | Image forming apparatus and program execution method | |
| JP3699412B2 (en) | Extended control code processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus | |
| US20070061760A1 (en) | Controller, method, and program product for controlling job information display, and recording medium | |
| JP3689380B2 (en) | Drawing processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus | |
| JP2004185593A (en) | Image forming apparatus and application execution method | |
| JP3683863B2 (en) | Drawing processing method and input event processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus | |
| JP3686620B2 (en) | Control code discrimination processing method in terminal emulator for image forming apparatus, program for causing computer to execute the method, and image forming apparatus | |
| JP2003167715A (en) | Inter-process communication history display method, program causing computer to execute the method, image forming apparatus, and image forming system | |
| JP4405132B2 (en) | Terminal emulator for image information processing apparatus and terminal application for image information processing apparatus | |
| JP2009223577A (en) | User interface emulation device and user interface emulation program | |
| JP4542180B2 (en) | Image forming apparatus, program, and recording medium | |
| CN100394386C (en) | information processing device | |
| JP2004005505A (en) | Computer-readable program for causing a computer to perform a program generation process | |
| JP2004005700A (en) | Management device, network system, client system, and management method | |
| JP2001056776A (en) | Client/server system and image processing condition monitoring method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050210 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050301 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050502 |
|
| 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: 20050705 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050707 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090715 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090715 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100715 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110715 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120715 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120715 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130715 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |