JPH10222375A - Printer and method for changing its control program - Google Patents

Printer and method for changing its control program

Info

Publication number
JPH10222375A
JPH10222375A JP9031404A JP3140497A JPH10222375A JP H10222375 A JPH10222375 A JP H10222375A JP 9031404 A JP9031404 A JP 9031404A JP 3140497 A JP3140497 A JP 3140497A JP H10222375 A JPH10222375 A JP H10222375A
Authority
JP
Japan
Prior art keywords
control program
printer
configuration information
received
consistency
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.)
Pending
Application number
JP9031404A
Other languages
Japanese (ja)
Inventor
Shigeo Takenaka
成夫 竹中
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP9031404A priority Critical patent/JPH10222375A/en
Publication of JPH10222375A publication Critical patent/JPH10222375A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printer by which the printer control program which is not suitable for a printer mainbody is prevented from being mounted on the printer and to provide a method for changing its control program. SOLUTION: The control program transmitted from a host computer 1 is received in a control program receiving part 3 and, after that, transmitted to a control program storing part 4. The control program storing part 4 compares configuration information stored in a printer configuration information storage part 6 with data corresponding to configuration information stored in the transmitted control program so as to execute reference so as to judge the consistency of the printer 2 with the control program. When it is judged that consistency does not exist between the printer 2 and the control program, the control program storing part 4 displays an error in a display part 7 without storing the control program in the control program storage part 5.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、制御プログラムに
より制御されるプリンタ及びその制御プログラム変更方
法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a printer controlled by a control program and a method of changing the control program.

【0002】[0002]

【従来の技術】従来、ホストコンピュータに接続されて
使用されるプリンタの制御方式として、プリンタにCP
U及びROMを搭載して、プリンタ自身がプログラム制
御をする方式が多く採用されている。このように構成す
るのは、複雑な処理をも可能とするためである。
2. Description of the Related Art Conventionally, as a control method of a printer connected to a host computer and used, a CP
A system in which a U and a ROM are mounted and the printer itself performs program control is employed in many cases. The reason for this configuration is to enable complicated processing.

【0003】また、磁気ディスク等を搭載するものもす
でに採用されているが、これはフォントデータ等の印刷
用データや印刷データ生成用のプログラムの記憶を主体
として利用されており、磁気ディスクにプリンタの制御
プログラムを置いたままで制御を実行することはプリン
タのリアルタイム制御には適していないので、通常、制
御プログラムはROMにおかれている。
[0003] Further, a magnetic disk or the like is already used, but this is mainly used for storing print data such as font data and a program for generating print data. Is not suitable for real-time control of the printer, and the control program is usually stored in the ROM.

【0004】このような場合、制御プログラムを記憶す
るROMとして、コスト面から、マスクROMが最も多
く用いられている。また、量的には少ないが、ワンタイ
ムROMやEPROM等も用いられている。ワンタイム
ROMやEPROMはマスクROMと比較してコスト高
であるが、手軽に書き込みをすることができるので採用
されている。
In such a case, a mask ROM is most often used as a ROM for storing a control program in terms of cost. In addition, a one-time ROM, an EPROM, or the like is used, though the quantity is small. One-time ROMs and EPROMs are more expensive than mask ROMs, but are employed because they can be written easily.

【0005】しかし、マスクROMやワンタイムROM
は、書き込んだ内容の変更をすることは不可能である。
また、EPROMは内容の消去及び再書き込みは可能で
あるが、消去及び再書き込みには、紫外線照射や動作電
圧とは異なるより高い電圧の電源が必要とされる。その
ような特別な機能をプリンタに搭載することは、コスト
面や実装面等の観点から大変に困難である。
However, mask ROMs and one-time ROMs
It is impossible to change the written contents.
EPROMs are capable of erasing and rewriting the contents, but erasing and rewriting require UV irradiation and a higher voltage power supply different from the operating voltage. It is very difficult to mount such special functions on a printer from the viewpoint of cost, mounting, and the like.

【0006】これらの事情から、これまでは、プリンタ
搭載のROMの内容を変更することは、実質的に不可能
であった。
Under these circumstances, it has been practically impossible to change the contents of the ROM mounted on the printer.

【0007】ところが、近年、フラッシュROMの登場
により、ROMをプリンタに搭載したまま、ROMの内
容を変更することが可能となっている。プリンタ搭載の
ROMの内容を変更することの利点としては、性能向上
及び機能向上が挙げられる。すなわち、よりよい制御方
式が開発された場合にはその制御プログラムを入れ換え
ることができ、性能の向上を図ることができる。また、
制御プログラムを変更することにより新しい機能を付加
することができる。
However, with the advent of flash ROMs in recent years, it is possible to change the contents of the ROM while the ROM is mounted on the printer. The advantages of changing the contents of the ROM mounted on the printer include improved performance and improved functions. That is, when a better control method is developed, the control program can be replaced, and the performance can be improved. Also,
New functions can be added by changing the control program.

【0008】昨今のプリンタの性能向上、機能向上のサ
イクルは著しく早くなってきており、従って、それらの
陳腐化も早くなっている。より高性能、高機能のプリン
タを望むのであれば、次々にプリンタを買い換える必要
があるが、それではコスト負担が大きすぎる。そこで、
プリンタ搭載のROMの内容を変更するだけで性能向上
や機能付加を行うことができれば、比較的低コストでプ
リンタの陳腐化を防ぐことができ、プリンタ購入者の投
資保護を行うことができる。
The cycle of performance improvement and function improvement of printers has been remarkably accelerated, and their obsolescence has also been accelerated. If you want a printer with higher performance and higher functionality, you need to replace the printer one after another, but that is too costly. Therefore,
If the performance can be improved or the functions can be added simply by changing the contents of the ROM mounted on the printer, the printer can be prevented from becoming obsolete at a relatively low cost, and the investment of the printer buyer can be protected.

【0009】これらの利点を活かすためには、プリンタ
搭載のROMの内容を入れ換える処理を簡単に行えるこ
とが必要である。上述したマスクROM、ワンタイムR
OM又はEPROM等の場合は、まずカバーを取り外
し、更に専用の工具を用いてROMを取り外して付け替
える作業が必要であり、その処理は簡単ではない。一
方、フラッシュROMの場合はROMをプリンタから取
り外す必要もなく、消去及び書き込みに特別な電源を必
要としない。
In order to take advantage of these advantages, it is necessary to easily perform the process of replacing the contents of the ROM mounted on the printer. The above-mentioned mask ROM, one-time R
In the case of OM or EPROM or the like, it is necessary to first remove the cover, then remove and replace the ROM using a special tool, and the process is not easy. On the other hand, in the case of a flash ROM, there is no need to remove the ROM from the printer, and no special power supply is required for erasing and writing.

【0010】ROMの内容の入れ換え(変更)は、プリ
ンタに接続されるホストコンピュータ等から新しい制御
プログラム等を送り込むことで行うことが出来る。ま
た、この処理のために、新しいプログラムが記憶されて
いるフロッピーディスクをプリンタメーカ等から配布・
供給することにより、プリンタユーザは簡単にプリンタ
のグレードアップを行うことができる。特に近年は、イ
ンターネットやパソコン通信等の発達により、ホストコ
ンピュータ自体がネットワークと接続し易くなり、新し
いプログラムの配布・供給も手軽に行えるようになって
きている。
The contents of the ROM can be exchanged (changed) by sending a new control program or the like from a host computer or the like connected to the printer. For this process, a floppy disk storing a new program is distributed from a printer manufacturer or the like.
By supplying, the printer user can easily upgrade the printer. In particular, in recent years, with the development of the Internet, personal computer communication, and the like, the host computer itself has been easily connected to a network, and the distribution and supply of a new program has become easy.

【0011】このようなROMの内容の入れ替えは、プ
リンタを対象にした場合に限られず、様々なコンピュー
タ周辺機器において行われ始めている。
Such replacement of the contents of the ROM is not limited to the case of a printer, and is beginning to be performed in various computer peripheral devices.

【0012】ROMの内容の入れ替え作業は、メーカ側
で行われる場合と、ユーザ側で行われる場合と、入れ替
え作業専門の第三者により行われる場合とが考えられる
が、メーカ側で行われる場合及び第三者により行われる
場合は、ユーザ側からの持ち込みの場合が殆どであるの
で、ユーザ側で作業が行われる場合と比較して、交換費
用は高くなる。
The replacement of the contents of the ROM may be performed by the manufacturer, performed by the user, or performed by a third party specializing in the replacement. In the case where the work is performed by a third party, the carry-in cost is higher than when the work is performed on the user side because the carry-in operation is mostly performed from the user side.

【0013】なお、プリンタの分野におけるフロッピー
ディスクやネットワーク経由でのプログラム配布・供給
は、ホストコンピュータ側で動作するプリンタドライバ
については、既にここ数年で行われていることである。
In the field of printers, distribution and supply of programs via a floppy disk or a network have been performed in recent years for printer drivers operating on the host computer.

【0014】[0014]

【発明が解決しようとする課題】しかしながら、上記従
来のプリンタでは、プリンタ制御プログラムをプリンタ
本体とは別に配布・供給し、プリンタメーカではなくプ
リンタユーザがそのプリンタ制御プログラムを交換する
ため、以下のような問題点があった。
However, in the above-mentioned conventional printer, the printer control program is distributed and supplied separately from the printer main body, and the printer user, not the printer maker, exchanges the printer control program. There were serious problems.

【0015】すなわち、プリンタドライバはプリンタ本
体を直接制御するのではなく、プリンタ本体の制御プロ
グラムに対してコマンドを発行することにより間接的に
制御するものであるため、仮にプリンタドライバとプリ
ンタ本体との不整合により十分な性能・機能を発揮でき
なかったとしても、制御プログラムによる保護によりプ
リンタ本体が故障に至るおそれは比較的少なかったが、
プリンタ制御プログラムがそのプリンタ本体に適してい
ない場合は、本来の性能・機能を発揮しないばかりでな
くプリンタ本体を故障させるおそれが大きいという問題
点があった。
That is, the printer driver does not directly control the printer main body, but indirectly controls the printer main body by issuing a command to a control program of the printer main body. Even if the performance and functions could not be demonstrated due to the mismatch, there was relatively little risk that the printer would break down due to protection by the control program.
If the printer control program is not suitable for the printer main body, there is a problem that not only the original performance and function are not exhibited but also the printer main body is likely to be broken.

【0016】本発明は、上記問題点を解決するためにな
されたもので、プリンタ本体に適さないプリンタ制御プ
ログラムがプリンタに搭載されることを防止することが
できるプリンタ及びその制御プログラム変更方法を提供
することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and provides a printer and a method of changing the control program, which can prevent a printer control program that is not suitable for the printer main body from being installed in the printer. The purpose is to do.

【0017】[0017]

【課題を解決するための手段】上記目的を達成するため
に、請求項1のプリンタは、制御プログラムにより制御
されるプリンタにおいて、前記制御プログラムを記憶す
る書き換え可能な記憶媒体と、前記プリンタの構成情報
を記憶する構成情報記憶手段と、ホスト装置から送られ
てくる制御プログラムを受信する受信手段と、前記構成
情報記憶手段により記憶されている構成情報に基づいて
前記受信手段により受信された制御プログラムと前記プ
リンタとの整合性の有無を判定する判定手段と、前記判
定手段による判定の結果に基づいて、前記受信手段によ
り受信された制御プログラムを前記記憶媒体に格納する
格納手段とを備えることを特徴とする。
According to a first aspect of the present invention, there is provided a printer controlled by a control program, comprising: a rewritable storage medium for storing the control program; Configuration information storage means for storing information, reception means for receiving a control program sent from a host device, and control program received by the reception means based on the configuration information stored by the configuration information storage means And a storage unit for storing the control program received by the receiving unit in the storage medium based on a result of the determination by the determination unit. Features.

【0018】請求項2のプリンタは、上記請求項1のプ
リンタにおいて、前記格納手段は、前記受信手段により
受信された制御プログラムと前記プリンタとの整合性が
ないと前記判定手段により判別された場合は、前記受信
手段により受信された制御プログラムを前記記憶媒体に
格納しないように構成されることを特徴とする。
A printer according to a second aspect of the present invention is the printer according to the first aspect, wherein the storage means determines that the control program received by the reception means is not compatible with the printer by the determination means. Is characterized in that the control program received by the receiving means is not stored in the storage medium.

【0019】請求項3のプリンタは、上記請求項1又は
2のプリンタにおいて、前記判定手段は、前記受信され
た制御プログラムに付加されている対応構成情報と前記
構成情報記憶手段に記憶されている構成情報とを比較
し、一致しない情報がある場合に前記整合性がないと判
定するように構成されることを特徴とする。
According to a third aspect of the present invention, in the printer according to the first or second aspect, the determination unit is stored in the configuration information storage unit and the corresponding configuration information added to the received control program. It is characterized in that it is configured to compare with configuration information and determine that there is no consistency if there is information that does not match.

【0020】請求項4のプリンタは、上記請求項1〜3
のいずれか1項に記載のプリンタにおいて、前記判定手
段により前記整合性がないと判定された場合に前記整合
性がないことを表示する表示手段を備えることを特徴と
する。
According to a fourth aspect of the present invention, there is provided the above-described printer.
The printer according to any one of the above, further comprising a display unit for displaying that there is no matching when the determining unit determines that there is no matching.

【0021】請求項5の制御プログラム変更方法は、制
御プログラムにより制御されるプリンタの制御プログラ
ム変更方法において、前記プリンタの構成情報を記憶し
ておき、ホスト装置から送られてくる制御プログラムを
受信し、前記記憶されている構成情報に基づいて前記受
信された制御プログラムと前記プリンタとの整合性の有
無を判定し、前記判定の結果に基づいて、前記受信され
た制御プログラムを書き換え可能な記憶媒体に格納する
ことを特徴とする。
According to a fifth aspect of the present invention, in the method for changing a control program of a printer controlled by a control program, the configuration information of the printer is stored and a control program sent from a host device is received. A storage medium capable of determining whether the received control program is compatible with the printer based on the stored configuration information and rewriting the received control program based on a result of the determination; Is stored.

【0022】請求項6の制御プログラム変更方法は、上
記請求項5に記載の制御プログラム変更方法において、
前記受信された制御プログラムと前記プリンタとの整合
性がないと判別された場合は、前記受信された制御プロ
グラムを前記記憶媒体に格納しないことを特徴とする。
According to a sixth aspect of the present invention, there is provided the control program changing method according to the fifth aspect.
If it is determined that the received control program is not compatible with the printer, the received control program is not stored in the storage medium.

【0023】請求項7の制御プログラム変更方法は、上
記請求項5又は6の制御プログラム変更方法において、
前記受信された制御プログラムに付加されている対応構
成情報と前記記憶されている構成情報とを比較し、一致
しない情報がある場合に前記整合性がないと判定するこ
とを特徴とする。
According to a seventh aspect of the present invention, there is provided the control program changing method according to the fifth or sixth aspect.
The stored configuration information is compared with the corresponding configuration information added to the received control program, and when there is information that does not match, it is determined that there is no consistency.

【0024】請求項8の制御プログラム変更方法は、上
記請求項5〜7のいずれかの制御プログラム変更方法に
おいて、前記整合性がないと判定された場合に前記整合
性がないことを表示することを特徴とする。
According to a eighth aspect of the present invention, in the control program changing method according to any one of the fifth to seventh aspects, when it is determined that there is no consistency, it is displayed that there is no consistency. It is characterized by.

【0025】[0025]

【発明の実施の形態】以下、本発明の実施の形態を、図
面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0026】図1は、本実施の形態にかかるプリンタの
特徴を最もよく表すブロック図である。
FIG. 1 is a block diagram that best illustrates the features of the printer according to the present embodiment.

【0027】同図において、プリンタ2は、外部に接続
されるホストコンピュータ1から送られてくる制御プロ
グラムを受信する受信手段としての制御プログラム受信
部3と、制御プログラム受信部3に接続されるとともに
該制御プログラム受信部3により受信された制御プログ
ラムを記憶媒体としての制御プログラム記憶部5に格納
する格納手段としての制御プログラム格納部4と、プリ
ンタの構成情報を記憶する構成情報記憶手段としてのプ
リンタ構成情報記憶部6と、プリンタ2の動作に関する
表示をする表示手段としての表示部7とから主に構成さ
れている。
In FIG. 1, a printer 2 is connected to a control program receiving unit 3 as a receiving means for receiving a control program sent from a host computer 1 connected to the outside. A control program storage unit 4 as storage means for storing the control program received by the control program reception unit 3 in a control program storage unit 5 as a storage medium, and a printer as configuration information storage means for storing configuration information of the printer It mainly comprises a configuration information storage unit 6 and a display unit 7 as a display unit for displaying the operation of the printer 2.

【0028】上記構成において、プリンタ2の制御プロ
グラムが改良され、性能や機能の向上が図られる場合、
ユーザは、まず最初に、フロッピーディスクやインター
ネット等のネットワークを経由して配布・供給された制
御プログラムを、ホストコンピュータ1の不図示の記憶
装置に記憶する。次に、ユーザは、ホストコンピュータ
1上にある制御プログラムを、ホストコンピュータ1の
プリンタポート等の通信回線を介してプリンタ2へ送信
する。
In the above configuration, when the control program of the printer 2 is improved to improve the performance and functions,
First, the user stores the control program distributed and supplied via a network such as a floppy disk or the Internet in a storage device (not shown) of the host computer 1. Next, the user sends the control program on the host computer 1 to the printer 2 via a communication line such as a printer port of the host computer 1.

【0029】プリンタ2側では、制御プログラム受信部
3において制御プログラムが受信される。制御プログラ
ム受信部3は、受信した制御プログラムを制御プログラ
ム格納部4へ送る。
On the printer 2 side, a control program is received by the control program receiving section 3. The control program receiving unit 3 sends the received control program to the control program storage unit 4.

【0030】制御プログラムが送られてくると、制御プ
ログラム格納部4は、プリンタ構成情報記憶部6に記憶
されている構成情報と送られてきた制御プログラム中に
含まれている構成情報に対応したデータとを比較参照
し、プリンタ2と送られてきた制御プログラムとの整合
性を判定する。この判定の結果、整合性があると判定さ
れた場合は、制御プログラム格納部4は、制御プログラ
ムを制御プログラム記憶部5に格納する。
When the control program is transmitted, the control program storage unit 4 stores the configuration information stored in the printer configuration information storage unit 6 and the configuration information included in the transmitted control program. By comparing and referring to the data, the consistency between the printer 2 and the sent control program is determined. As a result of this determination, when it is determined that there is consistency, the control program storage unit 4 stores the control program in the control program storage unit 5.

【0031】また、判定の結果、プリンタ2と制御プロ
グラムとの間に整合性がないと判定された場合は、制御
プログラム格納部4は、制御プログラム記憶部5への制
御プログラムの格納は行わず、エラー信号ERRを表示
部7へ出力する。表示部7は、エラー信号ERRを受信
すると、その信号に応じたエラー表示として、プリンタ
2と制御プログラムとの間に整合性がないことを示す表
示を行う。
If it is determined that there is no consistency between the printer 2 and the control program, the control program storage unit 4 does not store the control program in the control program storage unit 5. , And outputs an error signal ERR to the display unit 7. When receiving the error signal ERR, the display unit 7 performs a display indicating that there is no consistency between the printer 2 and the control program as an error display corresponding to the signal.

【0032】なお、上述した制御プログラム格納部4
は、具体的にはプログラムメモリとして使用する書き込
み可能なメモリである。また、上述したようなプリンタ
2と制御プログラムとの整合性判定は、不図示のメモリ
に格納されたプログラムを不図示のCPU等の制御手段
が実行することにより実現される。
The above-described control program storage unit 4
Is a writable memory specifically used as a program memory. Further, the determination of the consistency between the printer 2 and the control program as described above is realized by a control unit such as a CPU (not shown) executing a program stored in a memory (not shown).

【0033】図2は、ホストコンピュータ1からプリン
タ2へ送られる制御プログラムのデータフォーマットの
一例を示す概念図である。
FIG. 2 is a conceptual diagram showing an example of a data format of a control program sent from the host computer 1 to the printer 2.

【0034】同図において、送信される制御プログラム
11は、制御プログラム本体12と、制御プログラム本
体12の先頭に付加されるヘッダ13、14とから構成
される。ヘッダ13は通信用プロトコル情報である。通
信用プロトコル用情報13は、制御プログラム格納開始
命令、データ長、パリティ情報及び通信情報等、一般に
使用されている通信プロトコル用の情報を含んでいる。
ヘッダ14はプリンタ構成対応情報から構成されてい
る。プリンタ構成対応情報は、プリンタ2内のプリンタ
構成情報記憶部6に記憶されているプリンタ構成情報に
対応する情報である。
In FIG. 1, the transmitted control program 11 is composed of a control program main body 12 and headers 13 and 14 added to the head of the control program main body 12. The header 13 is communication protocol information. The communication protocol information 13 includes information for a generally used communication protocol, such as a control program storage start command, data length, parity information, and communication information.
The header 14 is composed of printer configuration correspondence information. The printer configuration correspondence information is information corresponding to the printer configuration information stored in the printer configuration information storage unit 6 in the printer 2.

【0035】制御プログラム格納部4は、制御プログラ
ム11を受け取ると、ヘッダ13の先頭に入っている制
御プログラム格納開始命令により動作を開始し、ヘッダ
13の処理の後、ヘッダ14の処理を行う。
When receiving the control program 11, the control program storage section 4 starts operation according to the control program storage start command at the beginning of the header 13, and after the processing of the header 13, performs the processing of the header 14.

【0036】ここで、制御プログラム格納部4は、プリ
ンタ構成情報記憶部6に記憶されているプリンタ構成情
報を参照して、プリンタ構成情報とヘッダ14のプリン
タ構成対応情報とを、逐一比較する。比較した結果、全
ての情報の対応がとれている場合は整合性があると判定
する。判定の際には、全ての情報が必ずしも一致した場
合にのみ整合性があると判定する必要はなく、情報の一
致の程度が所定の許容範囲内にあれば整合性があると判
定するように構成してもよい。整合性があると判定する
と、制御プログラム格納部4は、制御プログラム記憶部
5へ、ヘッダ14の次に送られてくる制御プログラム本
体12を格納する。
Here, the control program storage section 4 refers to the printer configuration information stored in the printer configuration information storage section 6 and compares the printer configuration information with the printer configuration correspondence information of the header 14 one by one. As a result of the comparison, if all the information is compatible, it is determined that there is consistency. In the determination, it is not necessary to determine that there is consistency only when all pieces of information match, and it is determined that there is consistency if the degree of matching of information is within a predetermined allowable range. You may comprise. When determining that there is consistency, the control program storage unit 4 stores the control program main body 12 sent after the header 14 in the control program storage unit 5.

【0037】一方、判定の結果、対応していない情報が
あり又は対応していない情報が許容範囲以上あり、整合
性がとれていないと判定した場合は、制御プログラム格
納部4は、その時点で制御プログラム格納動作の中止を
決定し、その決定後に送られてくる残りの制御プログラ
ムを破棄する。ヘッダ14の処理の間に制御プログラム
格納動作の中止は決定され、その時点で制御プログラム
は破棄されるので、制御プログラム記憶部5内の制御プ
ログラムは全く書き換えられず、制御プログラムは処理
を開始する前の状態のままである。
On the other hand, as a result of the determination, when it is determined that there is uncorresponding information or that the uncorresponding information is beyond the allowable range and the consistency is not ensured, the control program storage unit 4 stores the information at that time. The control program storage operation is determined to be stopped, and the remaining control programs sent after the determination are discarded. The suspension of the control program storage operation is determined during the processing of the header 14, and the control program is discarded at that time. Therefore, the control program in the control program storage unit 5 is not rewritten at all, and the control program starts processing. It remains as before.

【0038】以上説明したように、本実施の形態によれ
ば、制御プログラム11内の構成対応情報とプリンタ2
のプリンタ構成情報記憶部6に予め記憶されている構成
情報とを比較することにより、制御プログラムとプリン
タとの整合性を判定し、整合性がない場合は制御プログ
ラムを書き換えないように構成したので、プリンタに適
さない制御プログラムが搭載されることを防止すること
ができる。従って、プリンタ本来の性能・機能を発揮し
なかったり、故障させるおそれを生じるという不具合を
解消することができる。
As described above, according to the present embodiment, the configuration correspondence information in the control program 11 and the printer 2
By comparing the configuration information stored in advance in the printer configuration information storage unit 6 with the configuration information, the consistency between the control program and the printer is determined. If there is no consistency, the control program is not rewritten. In addition, it is possible to prevent a control program that is not suitable for the printer from being installed. Therefore, it is possible to solve the problem that the original performance / function of the printer is not exhibited or the printer may be broken.

【0039】また、プリンタ2と制御プログラムとの間
に整合性がないことを示す表示を行う表示部7を設ける
ことにより、制御プログラムとプリンタ本体との整合性
がないことをユーザ自身が視覚的に認識することができ
る。従って、ユーザはその不整合に対して迅速に対応す
ることができる。
By providing a display unit 7 for displaying that there is no consistency between the printer 2 and the control program, the user can visually confirm that there is no consistency between the control program and the printer main body. Can be recognized. Therefore, the user can quickly respond to the mismatch.

【0040】[0040]

【発明の効果】以上説明したように、請求項1のプリン
タ又は請求項5の制御プログラム変更方法によれば、プ
リンタの構成情報を記憶しておき、ホスト装置から送ら
れてくる制御プログラムを受信し、記憶されている構成
情報に基づいて受信された制御プログラムと当該プリン
タとの整合性の有無を判定し、判定の結果に基づいて、
受信された制御プログラムを書き換え可能な記憶媒体に
格納するようにしたので、プリンタ本体に適さないプリ
ンタ制御プログラムがプリンタに搭載されることを防止
することができるという効果が得られる。
As described above, according to the printer of the first aspect or the control program changing method of the fifth aspect, the configuration information of the printer is stored, and the control program transmitted from the host device is received. Then, the presence or absence of consistency between the received control program and the printer based on the stored configuration information is determined, and based on the result of the determination,
Since the received control program is stored in the rewritable storage medium, an effect is obtained that a printer control program that is not suitable for the printer main body can be prevented from being installed in the printer.

【0041】請求項2のプリンタ又は請求項6の制御プ
ログラム制御方法によれば、受信された制御プログラム
とプリンタとの整合性がないと判別された場合は、受信
された制御プログラムを記憶媒体に格納しないようにし
たので、受信された制御プログラムとプリンタとの間に
整合性がない場合は制御プログラムは変更されない。従
って、プリンタ本体に適さないプリンタ制御プログラム
がプリンタに搭載されることを防止することができると
いう効果が得られる。
According to the printer control method of the present invention, if it is determined that the received control program and the printer are not compatible, the received control program is stored in a storage medium. Since the data is not stored, if there is no consistency between the received control program and the printer, the control program is not changed. Therefore, it is possible to prevent a printer control program that is not suitable for the printer main body from being mounted on the printer.

【0042】請求項4のプリンタ又は請求項8の制御プ
ログラム変更方法によれば、整合性がないと判定された
場合に整合性がないことを表示するようにしたので、上
記効果に加えて、制御プログラムとプリンタ本体との整
合性がないことをユーザ自身が視覚的に認識することが
でき、その不整合に対して迅速に対応することができる
という効果が得られる。
According to the printer of the fourth aspect or the control program changing method of the eighth aspect, when it is determined that there is no consistency, the fact that there is no consistency is displayed. The user can visually recognize that there is no consistency between the control program and the printer main body, and an effect is obtained that the inconsistency can be promptly dealt with.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の一形態に係るプリンタの構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a printer according to an embodiment of the present invention.

【図2】制御プログラムのデータフォーマットの一例を
示す概念図である。
FIG. 2 is a conceptual diagram illustrating an example of a data format of a control program.

【符号の説明】[Explanation of symbols]

2 プリンタ 3 制御プログラム受信部 4 制御プログラム格納部 5 制御プログラム記憶部 6 プリンタ構成情報記憶部 7 表示部 2 Printer 3 Control program receiving unit 4 Control program storage unit 5 Control program storage unit 6 Printer configuration information storage unit 7 Display unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 制御プログラムにより制御されるプリン
タにおいて、 前記制御プログラムを記憶する書き換え可能な記憶媒体
と、 前記プリンタの構成情報を記憶する構成情報記憶手段
と、 ホスト装置から送られてくる制御プログラムを受信する
受信手段と、 前記構成情報記憶手段により記憶されている構成情報に
基づいて前記受信手段により受信された制御プログラム
と前記プリンタとの整合性の有無を判定する判定手段
と、 前記判定手段による判定の結果に基づいて、前記受信手
段により受信された制御プログラムを前記記憶媒体に格
納する格納手段とを備えることを特徴とするプリンタ。
1. A printer controlled by a control program, comprising: a rewritable storage medium for storing the control program; configuration information storage means for storing configuration information of the printer; and a control program sent from a host device. Receiving means for receiving the control program; determining means for determining whether the control program received by the receiving means is compatible with the printer based on the configuration information stored by the configuration information storing means; Storage means for storing the control program received by the receiving means in the storage medium based on the result of the determination by the printer.
【請求項2】 前記格納手段は、前記受信手段により受
信された制御プログラムと前記プリンタとの整合性がな
いと前記判定手段により判別された場合は、前記受信手
段により受信された制御プログラムを前記記憶媒体に格
納しないように構成されることを特徴とする請求項1に
記載のプリンタ。
2. The storage means, when it is determined by the determination means that the control program received by the reception means and the printer do not match, the control program received by the reception means is stored in the storage means. The printer according to claim 1, wherein the printer is configured not to be stored in a storage medium.
【請求項3】 前記判定手段は、前記受信された制御プ
ログラムに付加されている対応構成情報と前記構成情報
記憶手段に記憶されている構成情報とを比較し、一致し
ない情報がある場合に前記整合性がないと判定するよう
に構成されることを特徴とする請求項1又は2に記載の
プリンタ。
3. The method according to claim 1, wherein the determining unit compares the corresponding configuration information added to the received control program with configuration information stored in the configuration information storage unit. The printer according to claim 1, wherein the printer is configured to determine that there is no consistency.
【請求項4】 前記判定手段により前記整合性がないと
判定された場合に前記整合性がないことを表示する表示
手段を備えることを特徴とする請求項1〜3のいずれか
1項に記載のプリンタ。
4. The apparatus according to claim 1, further comprising: display means for displaying the inconsistency when said inconsistency is determined by said determination means. Printer.
【請求項5】 制御プログラムにより制御されるプリン
タの制御プログラム変更方法において、 前記プリンタの構成情報を記憶しておき、 ホスト装置から送られてくる制御プログラムを受信し、 前記記憶されている構成情報に基づいて前記受信された
制御プログラムと前記プリンタとの整合性の有無を判定
し、 前記判定の結果に基づいて、前記受信された制御プログ
ラムを書き換え可能な記憶媒体に格納することを特徴と
する制御プログラム変更方法。
5. A method for changing a control program of a printer controlled by a control program, comprising: storing configuration information of the printer; receiving a control program sent from a host device; And determining whether the received control program is compatible with the printer based on the control program, and storing the received control program in a rewritable storage medium based on a result of the determination. How to change the control program.
【請求項6】 前記受信された制御プログラムと前記プ
リンタとの整合性がないと判別された場合は、前記受信
された制御プログラムを前記記憶媒体に格納しないこと
を特徴とする請求項5に記載の制御プログラム変更方
法。
6. The storage medium according to claim 5, wherein when it is determined that the received control program is not compatible with the printer, the received control program is not stored in the storage medium. How to change the control program.
【請求項7】 前記受信された制御プログラムに付加さ
れている対応構成情報と前記記憶されている構成情報と
を比較し、一致しない情報がある場合に前記整合性がな
いと判定することを特徴とする請求項5又は6に記載の
制御プログラム変更方法。
7. The apparatus according to claim 7, wherein the corresponding configuration information added to the received control program is compared with the stored configuration information, and when there is information that does not match, it is determined that there is no consistency. 7. The control program changing method according to claim 5, wherein:
【請求項8】 前記整合性がないと判定された場合に前
記整合性がないことを表示することを特徴とする請求項
5〜7のいずれか1項に記載の制御プログラム変更方
法。
8. The control program changing method according to claim 5, wherein when it is determined that there is no consistency, the fact that there is no consistency is displayed.
JP9031404A 1997-01-31 1997-01-31 Printer and method for changing its control program Pending JPH10222375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9031404A JPH10222375A (en) 1997-01-31 1997-01-31 Printer and method for changing its control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9031404A JPH10222375A (en) 1997-01-31 1997-01-31 Printer and method for changing its control program

Publications (1)

Publication Number Publication Date
JPH10222375A true JPH10222375A (en) 1998-08-21

Family

ID=12330330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9031404A Pending JPH10222375A (en) 1997-01-31 1997-01-31 Printer and method for changing its control program

Country Status (1)

Country Link
JP (1) JPH10222375A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010272829A (en) * 2009-05-25 2010-12-02 Canon Inc Information processor, manufacturing apparatus and device manufacturing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010272829A (en) * 2009-05-25 2010-12-02 Canon Inc Information processor, manufacturing apparatus and device manufacturing method

Similar Documents

Publication Publication Date Title
EP0921458B1 (en) Information terminal device with power control means
US20020124073A1 (en) Combined weighing device and system using replaceable control program
JPH10222375A (en) Printer and method for changing its control program
JPH1011277A (en) Computer device with electrically rewritable nonvolatile memory and nonvolatile semiconductor memory
JPH09114614A (en) Printer
JP2845839B2 (en) Radio selective call receiver
JP2002157141A (en) Information processor, information processing method and storage medium
JP4239392B2 (en) Printing apparatus, printing system, and printing method
JP3572861B2 (en) Printing equipment
JP2812285B2 (en) Network interface card for printer
JPH08212079A (en) Image forming device
JP2821309B2 (en) Printing apparatus and method
JP2000148466A (en) Information processor, and control program updating method of information processor
JPH10283171A (en) Information processor and control method therefor
JPH07319684A (en) Information terminal equipment
JPH11296363A (en) Method for rewriting basic software of portable terminal
JP2713583B2 (en) Electronics
JP2004013463A (en) Memory rewriting system, memory rewriting method, information processing device, information processing system, and storage medium
JP2001014013A (en) Numerical controller
JP2001047694A (en) Printer and image processing device with the printer
JPH09247309A (en) Facsimile equipment
JPH03230989A (en) Printing operation controller
JP3504461B2 (en) Transmission apparatus and control method thereof
JP2012221441A (en) Software rewrite system of printer, printer, and software rewrite method of printer
JP2002007157A (en) Device for protecting control program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040420

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040817