JP4068705B2 - Device control apparatus and method - Google Patents

Device control apparatus and method Download PDF

Info

Publication number
JP4068705B2
JP4068705B2 JP01111998A JP1111998A JP4068705B2 JP 4068705 B2 JP4068705 B2 JP 4068705B2 JP 01111998 A JP01111998 A JP 01111998A JP 1111998 A JP1111998 A JP 1111998A JP 4068705 B2 JP4068705 B2 JP 4068705B2
Authority
JP
Japan
Prior art keywords
command
content
change
control
predetermined
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
Application number
JP01111998A
Other languages
Japanese (ja)
Other versions
JPH11212773A (en
Inventor
潔 向山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP01111998A priority Critical patent/JP4068705B2/en
Publication of JPH11212773A publication Critical patent/JPH11212773A/en
Application granted granted Critical
Publication of JP4068705B2 publication Critical patent/JP4068705B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

【0001】
【発明の技術分野】
本発明は、コンピュータ周辺機器を制御するための装置及び方法に関する。
【0002】
【従来の技術】
ホストコンピュータにプリンタやスキャナなどの周辺機器を接続した一般的なコンピュータシステムでは、個々の周辺機器特有のデバイスドライバやデバイスモニタなどと呼ばれるプログラムがホストコンピュータに搭載され、これらのプログラムを実行することによりホストコンピュータはそれぞれの周辺機器を制御したりその状態をモニタしたりすることができる(以下、本明細書では、この種のプログラムを「デバイスドライバ」と総称し、それを実行するコンピュータ又はそれと同等の機能を発揮するハードウェアを「デバイス制御装置」とよぶ)。
【0003】
ところで、近年の通信ネットワークの発達により、ホストコンピュータ上で作動するソフトウェアの改版は、通信回線を通じてのファイル転送により非常に容易に行えるようになった。デバイスドライバもその例外ではなく、よって、初期版のデバイスドライバを改良したりバグを修正したりした後期版のデバイスドライバは、周辺機器メーカ側のサーバから例えばインターネットなどを通じてユーザへと配布されている。
【0004】
【発明が解決しようとする課題】
一方、同じソフトウェアであっても、周辺機器に搭載されたROM内のファームウェアについては、これを上記のような簡単な方法で書き換えることができない。そのため、改良されたファームウェアが開発されても、これを簡易にユーザに提供することができない。特に、そのファームウェアにバグがあったような場合、殆どそうしたバグはプリンタの機能にとり本質的でない(例えば、特別なモードにおける些細な不具合)にも拘わらず、それを修正するためにROM交換という面倒をユーザに強いなければならない。
【0005】
従って、本発明の目的は、周辺機器のファームウェアを、ROM交換より簡易な次善の方法で、実質的に改良又は修正できるようにすることにある。
【0006】
【課題を解決するための手段】
本発明に従うデバイス制御装置は、機器に対する制御コマンドを作成する際、その機器が所定の注意バージョンの部品をもつ場合、所定の制御コマンドの内容を、その機器が他バージョンの部品を持つ場合とは異なる内容に変更する機能をもつ。例えば、その機器が、バグの発見されたファームウェアを含んだ注意バージョンのROMを搭載していた場合、ROM内の当該ファームウェアと代替性のある別のファームウェアを使用するよう制御コマンドを書き換えてやることで、実質的にそのバグを解消することができる。或いは、機器の交換部品を新しいバージョンのものに変更した場合に、その機器のファームウェアを若干改変した方が良好な結果が得られるというような場合、制御コマンドのパラメータ又はデータを変更することにより、実質的にファームウェアを改変したと同等な効果が得られることもある。このような場合に、本発明は機器のROMを変更することなく、デバイス制御装置側のデバイスドライバの変更で対応することができる。
【0007】
デバイス制御装置は、望ましくは、機器に対して、その機器が持つ部品のバージョンを問い合わせる機能を更に有することができる。これにより、対象機器のROMなどのバージョンを自動的に調べて、それが注意バージョンであるならばコマンド変更を行ない、注意バージョンでなければ通常にコマンドを作成するという自動処理を行うことができる。
【0008】
本発明のデバイス制御装置としてコンピュータを動作させるためのデバイスドライバは、ディスク型ストレージや半導体メモリなどの各種媒体を通じてコンピュータにインストールすることができるが、最も効果的な方法は、通信ネットワークを通じてコンピュータにロードする方法である。
【0009】
【発明の実施の形態】
図1は、本発明の一実施形態の全体構成を示す。
【0010】
ホストコンピュータ1にプリンタ3が接続されている。ホストコンピュータ1はプリンタドライバ5を有し、このプリンタドライバ5はプリンタ3と双方向通信を行うことができる。プリンタ3は、用紙上へイメージを実際に印刷するための印刷エンジン9、用紙を印刷エンジン9へ送るための給紙機構11、及びプリンタドライバ7から送られてくる印刷コマンドを解釈して印刷イメージを生成しそして印刷エンジン9及び給紙機構11を駆動するコントローラ7を有している。コントローラ9は、マイクロコンピュータであって、それを動作させるためのファームウェアが書き込まれているROM13を有している。ROM13内のファームウェアには、コントローラ7が行う各種の処理、例えば、コマンド解釈、イメージレンダリング、ハーフトーニング、給紙制御、エラー処理、ステータス管理等のための多くのプログラムが含まれるが、図1では、給紙制御用の3種類のプログラム、すなわち、ノーマル給紙プログラム15A、封筒給紙プログラム15B及び葉書給紙プログラム15Cだけが例示的に示されている。
【0011】
プリンタドライバ5は、GUI部21とコマンド生成部23を有する。GUI部21は、ユーザにGUIを提供してGUI上でのユーザの設定に従ってカラー/モノクロ、用紙サイズ、用紙種類、解像度、印刷頁などの印刷条件を決定する。コマンド生成部23は、アプリケーションからOSを通じて渡される印刷対象の文書データを、GUI部21の決定した印刷条件の下でプリンタ3に印刷させるための印刷コマンドを生成して、この印刷コマンドをプリンタ3へ送るようOSへ渡す。
【0012】
印刷コマンドを生成する際、コマンド生成部23は、プリンタ3に対しROM13のバージョン(ファームウェアのバーション)や各種部品などのバージョンを問い合わせ、そのバージョンが所定のものである場合、特定の印刷コマンドの内容を別の内容に変更する機能を有している。このコマンド変更機能は、プリンタROM13内のファームウェアの実質的な改良又はバグの修正の目的で用いることができる。例えば、特定バージョン「01.00」のROM13内の葉書給紙プログラム15Cにバグが発見されたが、代わりに封筒給紙プログラム15Bを使うと葉書給紙も問題無く行えることが分かったとする。この場合、その後の新しいプリンタドライバ5に、バージョン「01.00」のROM13を持つプリンタ3に対しては、印刷条件の用紙種類が葉書であっても、葉書給紙でなく封筒給紙を要求するコマンドを作成するようなコマンド変更機能を持たせることにより、実質的にバグを解消することができる。或いは、ある時期以降に発売される新しい特別の印刷用紙を使用した場合、既存のバージョンのROM13内のプログラムに従うインクドットゲインを若干変更した方が画質が良くなることが分かったとする。その場合、新しいプリンタドライバ5では、GUI部21にその新しい印刷用紙を設定できるようにすると共に、印刷条件の用紙種類がその新しい用紙であるときは、既存のバージョンのプリンタ3に対しては、ドットゲインをその用紙に合ったものに変更するよう、印刷コマンドのパラメータ又は画像データを変更する機能を持たせることができる。或いは、ある時期以降に発売される新しいバージョンのインクを使用した場合、既存のバージョンのROM13内の色変換テーブルを若干変更した方が画質が良くなることが分かったとする。その場合、新しいプリンタドライバ5では、その新しいバージョンのインクカートリッジを搭載した既存バージョンのプリンタ3に対しては、色変換テーブルをその用紙に合ったものに変更したと同様な結果が得られるよう、印刷コマンドのパラメータ又は画像データを変更する機能を持たせることができる。
【0013】
図2は、印刷を行うときのプリンタドライバ5とプリンタ3(コントローラ7)の処理流れを示す。
【0014】
プリンタドライバ5はまずプリンタ3に対してROM13やその他の部品(例えば上述したインクカートリッジなど)のバージョンを問い合わせる(ステップS1)。プリンタ3からバージョンの回答が来ると(S8)と、プリンタドライバ5は、そのバージョン情報を記憶する(S2)。次に、プリンタドライバ5は、ユーザのGUI上での設定に従って(特に設定が無ければデフォルト設定の)印刷条件を決定する(S3)。その後、ユーザから印刷実行指令が入ると、プリンタドライバ5はコマンド生成処理に入る。まず、プリンタ3から取得したバージョン情報の中に所定の注意バージョンが含まれていないか否かチェックする。例えば、上述した葉書給紙のバグの例では、ROM13のバージョン「01.00」が注意バージョンである。また、上述した新しい印刷用紙の例では、その印刷用紙の発売時点での既存のROMバージョンは全て注意バージョンである。また、上述した新しいインクカートリッジの例では、その新しいカートリッジの発売時点での既存の全てのROMバージョンの各々とその新しいカートリッジのバージョンとの組み合わせが注意バージョンである。
【0015】
このような注意バージョンがバージョン情報内に無ければ、プリンタドライバ5は、決定された印刷条件にそのまま従って通常に印刷コマンドを作成して(S5)、それをプリンタ3へ送る(S7)。一方、バージョン情報内に注意バージョンが含まれていた場合には、その注意バージョンに対応したコマンド変更機能を用いて、所定のコマンドの内容を所定の代替内容に変更する(S6)。例えば、上述した例では、ROM13のバージョン「01.00」であった場合、葉書給紙のコマンドを封筒給紙のコマンドに変更したり、ROMバージョンが新しい印刷用紙の発売時点での既存バージョンであった場合、ドットゲインを変更するように、関連するコマンドのパラメータ又は画像データを変更したり、或いは、ROMバージョンが新しいインクカートリッジ発売時点での既存バージョンで且つカートリッジのバージョンがその新しいバージョンである場合、色変換テーブルを実質的に変更するように、関連するコマンドのパラメータ又は画像データを変更したりする。このコマンド変更の方法には、幾通りもの方法が採用できる。例えば、通常の印刷コマンド作成アルゴリズムでコマンドを作成した上でそれを変更してもよいし、或いは、葉書給紙のバグの場合のように印刷条件を読み替えれば済むものでは、印刷条件を読み替えた上で通常の印刷コマンド作成アルゴリズムを実行してもよいし、或いは、通常の印刷コマンド作成アルゴリズムからは独立した別の変更コマンド作成アルゴリスムを実行してもよい。こうして、変更された印刷コマンドを作成した後、これをプリンタ3へ送る(S7)。
【0016】
プリンタ3は、プリンタドライバ5からの印刷コマンドを解釈して印刷を実行する(S9)。変更された印刷コマンドの場合、それに従ってプリンタ3が動作するので、例えば、葉書印刷の時でもバグのある葉書給紙プログラム15Cに代えて封筒給紙プログラム15Bを用いたり、新しい用紙にはドットゲインを若干変更したり、というようにプリンタ3が動作するので所望の印刷結果が得られる。
【0017】
図3は、上述の実施形態の変形例を示す。
【0018】
この変形例は、プリンタ3側に例えばファームウェアのバグなどの原因で特定のエラーが頻発する場合に、プリンタドライバ5がそれの事実を学習してエラーを解消する方向に印刷コマンドを自動変更するようにしたものである。すなわち、プリンタドライバ5は、更にプリンタモニタ部27とコマンド変更表25を有している。コマンド変更表25には、図4に例示するように、前述した注意バージョンと、それに対応するコマンドの変更内容とが記載されており、これをコマンド生成部23が参照することにより、上述したコマンド変更機能を発揮できるようになっている。プリンタモニタ部17は、例えば常駐型のプログラムであって、プリンタ3の状態を随時にモニタすることが、その一つの機能としてプリンタ3のエラー監視機能を有している。そして、プリンタモニタ部17は、エラー監視機能によってプリンタ3の印刷中に発生したエラーを検出する度に、プリンタ3のバージョン情報に対応させて各エラー内容毎の発生回数をカウントし、発生回数(又は発生頻度)が所定のしきい値を超えた場合には、そのエラーを解消する方向へ印刷コマンドを変更するようなコマンド変更内容をコマンド変更表25に書き加える(又は、書き換える)表更新機能を有している。
【0019】
図5は、プリンタモニタ部27とプリンタ3(コントローラ7)の印刷実行時(図2のステップS9)のエラー監視に関わる処理流れを示す。
【0020】
プリンタ3は、エラーが発生すると(S11)、そのエラー内容をプリンタドライバ5に通知し(S12)、そして所定のエラー処理(例えば印刷停止など)に入る(S13)。プリンタドライバ5のプリンタモニタ部27は、プリンタ3からエラー通知を受けると、そのエラー内容に対応するエラーメッセージをユーザに提示し(S14)、また、プリンタ3のバージョン情報とそのエラー内容とに対応したエラー回数のカウンタを1だけ増加させる(S15)。その後、プリンタモニタ部27は、そのエラー回数又は頻度が所定の閾値以上になったかチェックし(S16)、閾値以上になった場合は、そのエラー回数カウンタに対応するバージョン情報と、そのエラーを解消するための印刷コマンドの変更内容とを、コマンド変更表25に登録する(S17)。例えば、ROMバージョン「01.00」のプリンタ3で葉書給紙のエラー回数が閾値以上になったならば、図4に示すように、注意バージョンとしてのROMバージョン「01.00」と、葉書給紙を封筒給紙に変更する旨の変更内容とを変更表25に登録する。以後、ROMバージョン「01.00」のプリンタ3に対しては、葉書印刷時には封筒給紙のコマンドWがおこなれるので、問題無く給紙できるようになる。
【0021】
本発明は上記実施形態以外の様々な形態でも実施することができる。例えば、プリンタだけでなく、イメージスキャナやディスクドライブなど様々な周辺機器にも本発明は適用できる。
【図面の簡単な説明】
【図1】本発明の一実施形態の全体構成を示すブロック図。
【図2】印刷を行うときのプリンタドライバ5とプリンタ3(コントローラ7)の処理流れを示すフローチャート。
【図3】図1の実施形態の変形例を示すブロック図。
【図4】コマンド変更表を例示する図。
【図5】プリンタモニタ部27とプリンタ3(コントローラ7)の印刷実行時(図2のステップS9)のエラー監視に関わる処理流れを示すフローチャート。
【符号の説明】
1 ホストコンピュータ
3 プリンタ
5 プリンタドライバ
7 コントローラ
13 ROM
15 ファームウェア
21 コマンド生成部
23 GIU部
25 コマンド変更表
27 プリンタモニタ部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an apparatus and method for controlling computer peripherals.
[0002]
[Prior art]
In a general computer system in which peripheral devices such as printers and scanners are connected to a host computer, a program called a device driver or device monitor specific to each peripheral device is installed in the host computer, and these programs are executed by executing these programs. The host computer can control each peripheral device and monitor its state (hereinafter, in this specification, this type of program is generically referred to as a “device driver” and is equivalent to a computer that executes the device or an equivalent computer) Hardware that demonstrates these functions is called a “device controller”).
[0003]
By the way, with the development of communication networks in recent years, software revisions that operate on a host computer can be performed very easily by transferring files through communication lines. The device driver is no exception. Therefore, the late version of the device driver, which improved the initial version of the device driver and corrected the bug, is distributed to the users from the peripheral manufacturer's server, for example, via the Internet. .
[0004]
[Problems to be solved by the invention]
On the other hand, even in the same software, the firmware in the ROM mounted on the peripheral device cannot be rewritten by the above simple method. Therefore, even if improved firmware is developed, it cannot be easily provided to the user. In particular, if there is a bug in the firmware, it is almost troublesome to replace the ROM to correct it even though it is not essential to the function of the printer (for example, a minor bug in a special mode). Must be forced on the user.
[0005]
Accordingly, it is an object of the present invention to allow peripheral firmware to be substantially improved or modified in a suboptimal manner that is simpler than ROM replacement.
[0006]
[Means for Solving the Problems]
When the device control apparatus according to the present invention creates a control command for a device, if the device has a part with a predetermined attention version, the content of the predetermined control command is different from the case where the device has a part with another version. Has the function to change to different contents. For example, if the device is equipped with a cautionary version ROM that contains firmware with a bug found, the control command may be rewritten to use another firmware that can replace the firmware in the ROM. The bug can be substantially eliminated. Or, if the replacement part of the device is changed to a new version, if it is better to slightly modify the firmware of the device, better results can be obtained by changing the parameter or data of the control command, In some cases, the same effect as when the firmware is substantially modified may be obtained. In such a case, the present invention can cope with the change of the device driver on the device control apparatus side without changing the ROM of the device.
[0007]
Preferably, the device control apparatus can further have a function of inquiring of the version of a part of the device. As a result, it is possible to automatically check the version of the target device such as ROM, change the command if it is a caution version, and normally create a command if it is not a caution version.
[0008]
The device driver for operating the computer as the device control apparatus of the present invention can be installed in the computer through various media such as disk storage and semiconductor memory. The most effective method is to load the computer through the communication network. It is a method to do.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows the overall configuration of an embodiment of the present invention.
[0010]
A printer 3 is connected to the host computer 1. The host computer 1 has a printer driver 5, and the printer driver 5 can perform bidirectional communication with the printer 3. The printer 3 interprets a print command sent from a print engine 9 for actually printing an image on paper, a paper feed mechanism 11 for sending paper to the print engine 9, and a printer driver 7. And a controller 7 for driving the print engine 9 and the paper feed mechanism 11. The controller 9 is a microcomputer and has a ROM 13 in which firmware for operating the microcomputer 9 is written. The firmware in the ROM 13 includes many programs for various processes performed by the controller 7, for example, command interpretation, image rendering, halftoning, paper feed control, error processing, status management, etc. Only three types of paper feed control programs, ie, a normal paper feed program 15A, an envelope paper feed program 15B, and a postcard paper feed program 15C are shown as examples.
[0011]
The printer driver 5 includes a GUI unit 21 and a command generation unit 23. The GUI unit 21 provides a GUI to the user and determines printing conditions such as color / monochrome, paper size, paper type, resolution, and print page according to the user settings on the GUI. The command generation unit 23 generates a print command for causing the printer 3 to print the document data to be printed passed from the application through the OS under the printing conditions determined by the GUI unit 21. To the OS to send to.
[0012]
When generating a print command, the command generation unit 23 inquires of the printer 3 about the version (firmware version) of the ROM 13 and various parts, and if the version is a predetermined one, It has a function to change the content to another content. This command change function can be used for the purpose of substantial improvement of firmware in the printer ROM 13 or bug correction. For example, it is assumed that a bug is found in the postcard feeding program 15C in the ROM 13 of the specific version “01.00”, but it has been found that if the envelope feeding program 15B is used instead, the postcard feeding can be performed without any problem. In this case, the new printer driver 5 is requested to supply envelopes instead of postcards to the printer 3 having the ROM 13 of the version “01.00” even if the paper type of the printing condition is postcards. By providing a command change function that creates a command to be executed, bugs can be substantially solved. Alternatively, when using a new special printing paper released after a certain period, it is found that the image quality is improved by slightly changing the ink dot gain according to the program in the existing version of the ROM 13. In that case, the new printer driver 5 can set the new printing paper in the GUI unit 21 and, when the paper type of the printing condition is the new paper, It is possible to provide a function of changing the parameters of the print command or the image data so as to change the dot gain to a value suitable for the paper. Alternatively, it is assumed that when a new version of ink released after a certain period is used, the image quality is improved by slightly changing the color conversion table in the existing version of the ROM 13. In this case, the new printer driver 5 can obtain the same result as that obtained by changing the color conversion table to the one suitable for the paper for the existing version of the printer 3 equipped with the new version of the ink cartridge. It is possible to provide a function for changing parameters of the print command or image data.
[0013]
FIG. 2 shows a processing flow of the printer driver 5 and the printer 3 (controller 7) when performing printing.
[0014]
First, the printer driver 5 inquires of the printer 3 about the versions of the ROM 13 and other components (for example, the ink cartridge described above) (step S1). When the version answer is received from the printer 3 (S8), the printer driver 5 stores the version information (S2). Next, the printer driver 5 determines printing conditions according to the setting on the GUI of the user (the default setting if there is no setting) (S3). Thereafter, when a print execution command is input from the user, the printer driver 5 enters a command generation process. First, it is checked whether or not a predetermined attention version is included in the version information acquired from the printer 3. For example, in the example of the postcard feeding bug described above, the version “01.00” of the ROM 13 is the caution version. In the example of the new printing paper described above, all existing ROM versions at the time of release of the printing paper are caution versions. In the example of the new ink cartridge described above, the combination of each of all existing ROM versions at the time of release of the new cartridge and the version of the new cartridge is the attention version.
[0015]
If there is no such attention version in the version information, the printer driver 5 normally creates a print command according to the determined printing condition as it is (S5), and sends it to the printer 3 (S7). On the other hand, if the caution version is included in the version information, the content of the predetermined command is changed to the predetermined alternative content using the command change function corresponding to the caution version (S6). For example, in the above-described example, if the ROM 13 version is “01.00”, the postcard feeding command is changed to an envelope feeding command, or the ROM version is an existing version at the time of release of new printing paper. If there is, change the parameter or image data of the related command to change the dot gain, or the ROM version is an existing version at the time of new ink cartridge release and the cartridge version is the new version In this case, the parameter of the related command or the image data is changed so as to substantially change the color conversion table. Various methods can be used for changing the command. For example, you can create a command using the normal print command creation algorithm and change it, or if you only need to read the print conditions as in the case of a postcard feed bug, replace the print conditions. Then, a normal print command creation algorithm may be executed, or another change command creation algorithm independent of the normal print command creation algorithm may be executed. Thus, after the changed print command is created, it is sent to the printer 3 (S7).
[0016]
The printer 3 interprets the print command from the printer driver 5 and executes printing (S9). In the case of the changed print command, the printer 3 operates accordingly. For example, the envelope feed program 15B is used instead of the postcard feed program 15C having a bug even at the time of postcard printing. Since the printer 3 operates in such a manner as to change slightly, a desired print result can be obtained.
[0017]
FIG. 3 shows a modification of the above-described embodiment.
[0018]
In this modification, when a specific error frequently occurs on the printer 3 side due to, for example, a firmware bug, the printer driver 5 learns the fact and automatically changes the print command so as to eliminate the error. It is a thing. That is, the printer driver 5 further includes a printer monitor unit 27 and a command change table 25. As illustrated in FIG. 4, the command change table 25 describes the above-described attention version and the change contents of the corresponding command. The command generation unit 23 refers to this to change the above-described command. The change function can be demonstrated. The printer monitor unit 17 is a resident program, for example, and has an error monitoring function of the printer 3 as one function of monitoring the status of the printer 3 as needed. The printer monitor unit 17 counts the number of occurrences for each error content corresponding to the version information of the printer 3 every time an error that occurs during printing by the printer 3 is detected by the error monitoring function. (Or occurrence frequency) exceeds a predetermined threshold value, a table update function for adding (or rewriting) command change contents to change the print command in a direction to eliminate the error have.
[0019]
FIG. 5 shows a processing flow relating to error monitoring when the printer monitor unit 27 and the printer 3 (controller 7) execute printing (step S9 in FIG. 2).
[0020]
When an error occurs (S11), the printer 3 notifies the printer driver 5 of the error content (S12), and enters predetermined error processing (for example, printing stop) (S13). Upon receiving an error notification from the printer 3, the printer monitor unit 27 of the printer driver 5 presents an error message corresponding to the error content to the user (S14), and corresponds to the version information of the printer 3 and the error content. The error counter is incremented by 1 (S15). Thereafter, the printer monitor unit 27 checks whether or not the error count or frequency exceeds a predetermined threshold (S16). If the error count or frequency exceeds the threshold, the version information corresponding to the error counter and the error are eliminated. The change contents of the print command to be registered are registered in the command change table 25 (S17). For example, if the number of postcard feeding errors in the printer 3 with ROM version “01.00” exceeds the threshold, as shown in FIG. 4, the ROM version “01.00” as the caution version is displayed. The change contents for changing the paper to envelope feeding are registered in the change table 25. Thereafter, for the printer 3 with the ROM version “01.00”, the envelope feeding command W can be performed during postcard printing, so that feeding can be performed without any problem.
[0021]
The present invention can be implemented in various forms other than the above embodiment. For example, the present invention can be applied not only to a printer but also to various peripheral devices such as an image scanner and a disk drive.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention.
FIG. 2 is a flowchart illustrating a processing flow of the printer driver 5 and the printer 3 (controller 7) when performing printing.
FIG. 3 is a block diagram showing a modification of the embodiment of FIG.
FIG. 4 is a diagram illustrating a command change table.
FIG. 5 is a flowchart showing a processing flow related to error monitoring when printing is performed by the printer monitor unit 27 and the printer 3 (controller 7) (step S9 in FIG. 2).
[Explanation of symbols]
1 Host computer 3 Printer 5 Printer driver 7 Controller 13 ROM
15 Firmware 21 Command generation unit 23 GIU unit 25 Command change table 27 Printer monitor unit

Claims (8)

制御コマンドにより機器を制御するデバイス制御装置であって、
前記機器に対する前記制御コマンドを生成するコマンド生成部と、
前記機器のエラーを監視するモニタ部と、
前記機器のファームウェアのバージョン情報と前記機器のエラーを解消するための前記制御コマンドの変更内容とが対応して登録されたコマンド変更表と
を備え、
前記モニタ部は、前記機器のエラーの発生頻度に基づき、前記バージョン情報に対応させて前記エラーを解消するための所定の制御コマンドの内容を所定の代替内容に変更するようなコマンド変更内容を前記コマンド変更表に登録し
前記コマンド生成部は前記所定の制御コマンドを生成する場合、前記コマンド変更表を参照して前記所定の制御コマンドの内容を前記所定の代替内容に変更する
ことを特徴とするデバイス制御装置。
A device control device for controlling a device by a control command,
A command generator for generating the control command for the device;
A monitor unit for monitoring an error of the device;
A command change table in which the version information of the firmware of the device and the change contents of the control command for resolving the error of the device are registered correspondingly;
Based on the frequency of error occurrence of the device, the monitor unit changes the content of a command to change the content of a predetermined control command for eliminating the error corresponding to the version information to a predetermined alternative content. Register in the command change table ,
When the command generation unit generates the predetermined control command, the command control unit changes the content of the predetermined control command to the predetermined alternative content with reference to the command change table. apparatus.
前記モニタ部は、前記機器のエラーの回数をカウントするカウンタを備え、前記カウンタが閾値を超えた場合、前記コマンド変更表に前記コマンド変更内容を登録することを特徴とする請求項1記載のデバイス制御装置。2. The device according to claim 1, wherein the monitor unit includes a counter that counts the number of errors of the device, and registers the command change content in the command change table when the counter exceeds a threshold value. Control device. 機器に対する制御コマンドを生成するコマンド生成部と、
前記機器のエラーを監視するモニタ部と、
前記機器のファームウェアのバージョン情報と前記機器のエラーを解消するための前記制御コマンドの変更内容との変更内容とが対応して登録されたコマンド変更表を生成する手段と、
を備え、
前記モニタ部は、前記機器のエラーの発生頻度に基づき、前記バージョン情報に対応させて前記エラーを解消するための所定の制御コマンドの内容を所定の代替内容に変更するようなコマンド変更内容を前記コマンド変更表に登録し
前記コマンド生成部は前記所定の制御コマンドを生成する場合、前記コマンド変更表を参照して前記所定の制御コマンドの内容を前記所定の代替内容に変更する
ことを特徴とするデバイス制御装置としてコンピュータを機能させるためのプログラムを記録した、コンピュータ読み取り可能な記録媒体。
A command generator for generating a control command for the device;
A monitor unit for monitoring an error of the device;
Means for generating a command change table in which the version information of the firmware of the device and the change content of the change content of the control command for eliminating the error of the device are registered correspondingly;
With
Based on the frequency of error occurrence of the device, the monitor unit changes the content of a command to change the content of a predetermined control command for eliminating the error corresponding to the version information to a predetermined alternative content. Register in the command change table ,
When the command generation unit generates the predetermined control command, the command control unit changes the content of the predetermined control command to the predetermined alternative content with reference to the command change table. A computer-readable recording medium on which a program for causing a computer to function as an apparatus is recorded.
前記モニタ部は、前記機器のエラーの回数をカウントするカウンタを備え、前記カウンタが閾値を超えた場合、前記コマンド変更表に前記コマンド変更内容を登録することを特徴とするデバイス制御装置としてコンピュータを機能させるためのプログラムを記録した、コンピュータ読み取り可能な請求項3記載の記録媒体。The monitor unit includes a counter that counts the number of errors of the device, and registers the command change contents in the command change table when the counter exceeds a threshold value. The recording medium according to claim 3, wherein a program for functioning is recorded and is readable by a computer. 制御コマンドにより機器を制御するデバイス制御方法であって、
コマンド生成手段が前記機器に対する前記制御コマンドを生成するステップと、
モニタ手段が前記機器のエラーを監視するステップと、
前記機器のファームウェアのバージョン情報に対応させて前記エラーを解消するための制御コマンドを登録したコマンド変更表を生成するステップと、
前記コマンド生成手段は前記コマンド変更表を参照して前記制御コマンドを生成するステップと
前記機器のエラーの発生頻度に基づき、前記バージョン情報に対応させて前記エラーを解消するための所定の制御コマンドの内容を所定の代替内容に変更するようなコマンド変更内容を前記コマンド変更表に登録するステップと
前記所定の制御コマンドを生成する場合、前記コマンド変更表を参照して前記所定の制御コマンドの内容を前記所定の代替内容に変更するステップと
を有するデバイス制御方法。
A device control method for controlling a device by a control command,
Command generating means for generating the control command for the device;
Monitoring means for monitoring the device for errors;
Generating a command change table in which a control command for resolving the error corresponding to the version information of the firmware of the device is registered;
The command generating means generates the control command with reference to the command change table;
Based on the frequency of occurrence of errors in the device, register command change contents in the command change table so as to change the contents of a predetermined control command corresponding to the version information to predetermined alternative contents. And steps to
A device control method , comprising: when generating the predetermined control command, changing the content of the predetermined control command to the predetermined alternative content with reference to the command change table .
前記モニタ手段が前記機器のエラーの回数をカウントするステップと、
カウンタが閾値を超えた場合、前記コマンド変更表に前記コマンド変更内容を登録するステップ
を有する請求項5記載のデバイス制御方法。
The monitoring means counting the number of errors of the device;
The device control method according to claim 5, further comprising a step of registering the command change content in the command change table when a counter exceeds a threshold value.
制御コマンドにより制御される機器と、前記機器を制御するデバイス制御装置とを備えたデバイス制御システムであって、
前記機器に対する前記制御コマンドを生成するコマンド生成部と、
前記機器のエラーを監視するモニタ部と、
前記機器のファームウェアのバージョン情報と前記機器のエラーを解消するための前記制御コマンドの変更内容とが対応して登録されたコマンド変更表と
を有し、
前記モニタ部は、前記機器のエラーの発生頻度に基づき、前記バージョン情報に対応させて前記エラーを解消するための所定の制御コマンドの内容を所定の代替内容に変更するようなコマンド変更内容を前記コマンド変更表に登録し
前記コマンド生成部は前記所定の制御コマンドを生成する場合、前記コマンド変更表を参照して前記所定の制御コマンドの内容を前記所定の代替内容に変更する
ことを特徴とするデバイス制御システム。
A device control system comprising a device controlled by a control command and a device control device that controls the device,
A command generator for generating the control command for the device;
A monitor unit for monitoring an error of the device;
A command change table in which the version information of the firmware of the device and the change contents of the control command for resolving the error of the device are registered correspondingly;
Based on the frequency of error occurrence of the device, the monitor unit changes the content of a command to change the content of a predetermined control command for eliminating the error corresponding to the version information to a predetermined alternative content. Register in the command change table ,
When the command generation unit generates the predetermined control command, the command control unit changes the content of the predetermined control command to the predetermined alternative content with reference to the command change table. system.
前記モニタ部は、前記機器のエラーの回数をカウントするカウンタを備え、前記カウンタが閾値を超えた場合、前記コマンド変更表に前記コマンド変更内容を登録することを特徴とする請求項7記載のデバイス制御システム。The device according to claim 7, wherein the monitor unit includes a counter that counts the number of errors of the device, and registers the command change content in the command change table when the counter exceeds a threshold value. Control system.
JP01111998A 1998-01-23 1998-01-23 Device control apparatus and method Expired - Fee Related JP4068705B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01111998A JP4068705B2 (en) 1998-01-23 1998-01-23 Device control apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01111998A JP4068705B2 (en) 1998-01-23 1998-01-23 Device control apparatus and method

Publications (2)

Publication Number Publication Date
JPH11212773A JPH11212773A (en) 1999-08-06
JP4068705B2 true JP4068705B2 (en) 2008-03-26

Family

ID=11769133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01111998A Expired - Fee Related JP4068705B2 (en) 1998-01-23 1998-01-23 Device control apparatus and method

Country Status (1)

Country Link
JP (1) JP4068705B2 (en)

Also Published As

Publication number Publication date
JPH11212773A (en) 1999-08-06

Similar Documents

Publication Publication Date Title
JP4486014B2 (en) Image forming apparatus and image forming apparatus setting method
US20070206210A1 (en) Image forming apparatus, information processing apparatus, printing system, and image forming method
JP2008040899A (en) Printing controller, program, and method
US20020116480A1 (en) Data transfer process apparatus, device, status notifying method, storage medium storing program for status notification, and program for status notification
US8400666B2 (en) Information processing apparatus and information processing method
US20060176498A1 (en) Print processing system and print processing program
JP3638228B2 (en) Image output system
US20050157325A1 (en) Apparatus having error self-diagnostics of a printing system and a method thereof
JP4068705B2 (en) Device control apparatus and method
JP3494277B2 (en) Device control apparatus and method
JP6256417B2 (en) PRINT CONTROL DEVICE, PROGRAM, AND PRINT SYSTEM
JP5197346B2 (en) Printing apparatus and control method and program therefor
JP3618045B2 (en) Medium storing printer driver program and printer system
JP7187334B2 (en) PRINTING APPARATUS, PRINTING APPARATUS CONTROL METHOD, CONTROL SYSTEM, AND PROGRAM
US20090059311A1 (en) Printer calibration
JP4140956B2 (en) Print information processing apparatus, print system, print information processing method, print program, and storage medium storing print program
JP3985135B2 (en) Device initialization method in control system, control system, program for causing computer to execute device initialization method, and recording medium recording this program
JPH1044564A (en) Image processing equipment
JP4395815B2 (en) Method and apparatus for initializing a printer or copier
KR20190079822A (en) Image forming apparatus having an automatic storing function and printing method thereof
JP3821189B2 (en) Image forming apparatus
US20040252334A1 (en) Communication control device and method for image forming system
JP2001232908A (en) Printer, print system, method for informing setting situation of printer, and storage medium
JP7490989B2 (en) Information processing device and program
JPH10329382A (en) Information-processing apparatus, printing system, printing apparatus, and method for controlling them

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040810

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041013

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041210

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20041210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050516

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050711

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20050714

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050805

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110118

Year of fee payment: 3

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

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120118

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees