JPH05286180A - Printer and method - Google Patents

Printer and method

Info

Publication number
JPH05286180A
JPH05286180A JP4088846A JP8884692A JPH05286180A JP H05286180 A JPH05286180 A JP H05286180A JP 4088846 A JP4088846 A JP 4088846A JP 8884692 A JP8884692 A JP 8884692A JP H05286180 A JPH05286180 A JP H05286180A
Authority
JP
Japan
Prior art keywords
bug
rom
program
stored
printing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4088846A
Other languages
Japanese (ja)
Other versions
JP2821309B2 (en
Inventor
Shigeru Ueda
茂 上田
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 JP4088846A priority Critical patent/JP2821309B2/en
Priority to EP92303514A priority patent/EP0510899B1/en
Priority to DE69231667T priority patent/DE69231667D1/en
Publication of JPH05286180A publication Critical patent/JPH05286180A/en
Priority to US08/246,562 priority patent/US5742742A/en
Application granted granted Critical
Publication of JP2821309B2 publication Critical patent/JP2821309B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To simplify maintenance work by deciding whether or not novel data in a detachable storage medium can be stored in a writable non-volatile storage means by a decision means and controlling a printer on the basis of novel data and the previously stored data when the data connot be stored. CONSTITUTION:When a bug is discovered in the task of a ROM 9, the power supply of a printer is turned OFF, a ROM card 12 for correcting the bug is inserted and the power supply is turned ON again. When the version number of a bug corrected program is checked and is older than the version number of a bug corrected program in the bug 12, it is erased, and the storable capacity of a bug corrected program in an EEP-ROM 10 is checked. When the storable capacity is smaller than the capacity of the bug corrected program in the ROM card 12, the start address of a task management table in the EEP-ROM 10 is rewritten to the start address of the ROM card 12, and the version number is rewritten.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、外部装置であるホスト
コンピューター等より、文章情報や図形情報等の被印刷
情報を入力して、レーザビーム方式等で印刷する印刷装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus for inputting print information such as text information and graphic information from a host computer, which is an external device, and printing by a laser beam method or the like.

【0002】[0002]

【従来の技術】従来、印刷装置全体を制御するための複
数のタスクからなる制御プログラムを予め内蔵し、この
制御プログラムに基づいて作動することにより被印刷情
報を印刷する印刷装置は公知である。
2. Description of the Related Art Conventionally, there is known a printing apparatus in which a control program including a plurality of tasks for controlling the entire printing apparatus is built in in advance and the printing target information is printed by operating based on the control program.

【0003】このような印刷装置においては、その使用
に際して前記制御プログラムの各タスクにバグが発見さ
れた場合、或は、前記制御プログラムをバージョンアッ
プ等する場合、サービスマンがそのユーザ先に出向き、
印刷装置を分解して、前記制御プログラムを格納したプ
ログラムROMの交換作業を必要としていた。
In such a printing apparatus, when a bug is found in each task of the control program during its use, or when the version of the control program is upgraded, a serviceman goes to the user's destination,
It has been necessary to disassemble the printing apparatus and replace the program ROM storing the control program.

【0004】この場合、前記プログラムROMがソケッ
トを使用していなく、直接、プリント基板に半田付けさ
れていたときは、プリント基板ごとユーザ先で交換しな
ければならない。
In this case, if the program ROM does not use a socket and is directly soldered to the printed circuit board, the user must replace the entire printed circuit board.

【0005】[0005]

【発明が解決しようとする課題】従って、上述した従来
の印刷装置では、その制御プログラムの各タスクにバグ
が生じたり、或は、その制御プログラムをバージョンア
ップ等する場合、印刷装置に着脱可能な記憶媒体である
ROMカード等を印刷装置に実装し、ROMカード内の
新たな制御プログラムを印刷装置内の不揮発性記憶媒体
であるROM等のメモリに格納していたが、印刷装置内
のROM等のメモリのプログラム格納領域の容量より着
脱可能なROMカード内の新たなプログラムの容量が多
い場合、ROMカード内の新たな制御プログラムを印刷
装置内のROM等のメモリに格納できず、例えば、バグ
修正、制御プログラムのバージョンアップ等ができない
という問題点があった。
Therefore, in the above-described conventional printing apparatus, when a bug occurs in each task of the control program or when the control program is upgraded, the printing apparatus can be attached to and detached from the printing apparatus. A ROM card or the like, which is a storage medium, is mounted in the printing apparatus, and a new control program in the ROM card is stored in a memory, such as a ROM, which is a non-volatile storage medium in the printing apparatus. If the capacity of the new program in the removable ROM card is larger than the capacity of the program storage area of the memory, the new control program in the ROM card cannot be stored in the memory such as ROM in the printing device. There was a problem that it was not possible to modify or upgrade the version of the control program.

【0006】本発明は、上記事情に鑑みてなされたもの
で、印刷装置内のROM等のメモリのプログラム格納領
域の容量より着脱可能なROMカード内の新たなプログ
ラムの容量が多い場合であっても、ROMカード内の新
たな制御プログラムを印刷装置内のROM等のメモリに
格納することなく、例えば、バグ修正、制御プログラム
のバージョンアップ等ができて、保守作業の簡略化とコ
ストダウンを図ることができる印刷装置を提供すること
を目的とする。
The present invention has been made in view of the above circumstances, and is a case where the capacity of a new program in the removable ROM card is larger than the capacity of the program storage area of the memory such as the ROM in the printing apparatus. Also, without storing the new control program in the ROM card in the memory such as the ROM in the printing device, for example, bugs can be corrected, the control program can be upgraded, and the maintenance work can be simplified and the cost can be reduced. An object of the present invention is to provide a printing device that can perform printing.

【0007】[0007]

【課題を解決するための手段】かかる課題を解決するた
めに、本発明印刷装置は、印刷装置に着脱可能な記憶媒
体内の新たなデータを格納する記憶手段と前記新たなデ
ータを前記印刷装置内の前記記憶手段に格納可能か否か
を判断する判断手段と前記判断手段で格納不可能と判断
された場合、前記着脱可能な記憶媒体内に格納されてい
る新たなデータと前記印刷装置内に予め格納されている
データに基づいて、前記印刷装置を制御する制御手段を
有する。
In order to solve the above-mentioned problems, the printing apparatus of the present invention has a storage unit for storing new data in a storage medium detachable from the printing apparatus and the new data for the printing apparatus. And a new data stored in the removable storage medium and the printing device in the printing device when the storage device is determined to be non-storable. And a control unit that controls the printing apparatus based on data stored in advance.

【0008】かかる課題を解決するために、本発明印刷
方法は、印刷装置に着脱可能な記憶媒体内の新たなデー
タを格納する記憶工程と、前記新たなデータを前記印刷
装置内に格納可能か否かを判断する判断工程と、前記判
断工程で格納不可能と判断された場合、前記着脱可能な
記憶媒体内に格納されている新たなデータと前記印刷装
置内に予め格納されているデータに基づいて、前記印刷
装置を制御する制御工程を有する。
In order to solve such a problem, the printing method of the present invention includes a storage step of storing new data in a storage medium detachable from the printing apparatus, and whether the new data can be stored in the printing apparatus. If it is determined that the data cannot be stored in the determination step, it is determined that the new data stored in the removable storage medium and the data stored in the printing device in advance are stored. Based on the above, there is a control step of controlling the printing device.

【0009】また、上記目的を達成する上で、上記記憶
手段を書き込み可能な不揮発性の記憶手段でそれぞれ構
成することが望ましい。
Further, in order to achieve the above object, it is desirable that each of the storage means is composed of a writable non-volatile storage means.

【0010】[0010]

【作用】本発明にかかる印刷装置においては、前記判断
手段で印刷装置に着脱可能な記憶媒体内の新たなデータ
を前記印刷装置内の書き込み可能な不揮発性の記憶手段
に格納可能か否かを判断し、前記判断手段で格納不可能
と判断された場合、前記着脱可能な記憶媒体内に格納さ
れている新たなデータと前記印刷装置内に予め格納され
ているデータに基づいて、前記印刷装置を制御手段が制
御する。
In the printing apparatus according to the present invention, it is determined whether or not new data in the storage medium detachable from the printing apparatus can be stored in the writable non-volatile storage unit in the printing apparatus by the determination means. If it is determined that the storage is impossible by the determination means, the printing device is based on new data stored in the removable storage medium and data stored in advance in the printing device. Is controlled by the control means.

【0011】本発明にかかる印刷方法においては、前記
判断工程で印刷装置に着脱可能な記憶媒体内の新たなデ
ータを前記印刷装置内の書き込み可能な不揮発性の記憶
媒体に格納可能か否かを判断し、前記判断工程で格納不
可能と判断された場合、前記着脱可能な記憶媒体内に格
納されている新たなデータと前記印刷装置内に予め格納
されているデータに基づいて、前記印刷装置を制御工程
が制御する。
In the printing method according to the present invention, it is determined whether or not new data in the storage medium removable from the printing apparatus can be stored in the writable non-volatile storage medium in the printing apparatus in the determining step. If it is determined that the data cannot be stored in the determination step, the printing device is based on new data stored in the removable storage medium and data stored in the printing device in advance. Is controlled by the control process.

【0012】これにより、印刷装置内のEEPROM等
のメモリのプログラム格納領域の容量より着脱可能な記
憶媒体であるROMカード内の新たなプログラムの容量
が多い場合であっても、ROMカード内の新たな制御プ
ログラムを印刷装置内のROM等のメモリに格納するこ
となく、例えば、バグ修正、制御プログラムのバージョ
ンアップ等ができて、保守作業の簡略化とコストダウン
を図ることができる。
As a result, even when the capacity of the new program in the ROM card, which is a removable storage medium, is larger than the capacity of the program storage area of the memory such as the EEPROM in the printing apparatus, the new capacity in the ROM card is increased. Without storing such a control program in a memory such as a ROM in the printer, for example, a bug can be corrected, the control program can be upgraded, and the maintenance work can be simplified and the cost can be reduced.

【0013】[0013]

【実施例】以下、この発明の印刷装置の実施例について
図面に基づき説明する。図1は本発明に係る印刷装置の
一実施例の構成を示すブロック図であり、同図中、1は
例えば、パーソナルコンピュータなどのホストコンピュ
ータで、被印刷情報としての文字コードからなる文章デ
ータを出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of a printing apparatus of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of a printing apparatus according to the present invention. In FIG. 1, reference numeral 1 denotes a host computer such as a personal computer, which stores text data consisting of character codes as print target information. Output.

【0014】この文章データは、ホストコンピュータイ
ンタフェース部(以下、ホストI/F部と略称する)2
に入力されるようになっている。このホストI/F部2
は、上記ホストコンピュータ1と通信すると共に、バス
3を通して中央処理装置(以下、CPUという)4とデ
ータの授受を行なうようになっている。
This text data is stored in the host computer interface section (hereinafter abbreviated as host I / F section) 2
It is supposed to be input to. This host I / F unit 2
Communicates with the host computer 1 and exchanges data with a central processing unit (hereinafter referred to as CPU) 4 through a bus 3.

【0015】また、ホストI/F2は、CPU4とバス
3を介して、読み出し及び書き込みが可能な記憶手段と
してのRAM(ランダム・アクセス・メモリ)5との間
でも、データの授受を行なうようになっている。
The host I / F 2 also exchanges data with the RAM 4 (random access memory) 5 as a readable and writable storage means via the CPU 4 and the bus 3. Is becoming

【0016】RAM5は、CPU4による制御を遂行す
る途中で発生する一時的な制御情報の書き込みと、読み
出しを行なうものである。
The RAM 5 is for writing and reading temporary control information that is generated during the control by the CPU 4.

【0017】即ち、CPU4は、RAM5内のページメ
モリ5(a)にホストI/F部2を通してホストコンピ
ュータ1から入力される文章データを文字コードとして
記憶させ、このRAM5内のビットマップメモリ5
(b)にドットパターン記憶手段としてのCGROM6
(キャラクタ・ジェネレータ・リード・オンリ・メモ
リ)の文字コードを書き込む。
That is, the CPU 4 causes the page memory 5 (a) in the RAM 5 to store the text data input from the host computer 1 through the host I / F unit 2 as a character code, and the bit map memory 5 in the RAM 5 is stored.
(B) CGROM 6 as a dot pattern storage means
Write the character code of (Character Generator Read Only Memory).

【0018】このCGROM6には、フォントがドット
パターンの形で格納されており、このCGROM6はバ
ス3に接続されている。このバス3には、プリンタイン
タフェース部(以下、プリンタI/Fと略称する)7が
接続されている。このプリンタI/F部7は、CGRO
M6に格納されているドットパターンをレーザービーム
方式等のプリンタ部(印字部)8へ送るようになってい
る。
Fonts are stored in the CGROM 6 in the form of dot patterns, and the CGROM 6 is connected to the bus 3. A printer interface unit (hereinafter abbreviated as printer I / F) 7 is connected to the bus 3. The printer I / F unit 7 is a CGRO
The dot pattern stored in M6 is sent to a printer unit (printing unit) 8 such as a laser beam system.

【0019】更に、バス3には、制御プログラム記憶手
段としてのプログラムROM9が接続されている。この
プログラムROM9には、CPU4により本装置全体を
制御する複数のタスクからなるマルチタスク方式の制御
プログラムが格納されている。そして、この制御プログ
ラムは、バス3を通してCPU4により読み出されるよ
うになっている。この制御プログラムは、本装置の工場
出荷時において、予め制御プログラムROM9に格納さ
れた状態で本装置に内蔵されている。
Further, a program ROM 9 as a control program storage means is connected to the bus 3. The program ROM 9 stores a multi-task system control program including a plurality of tasks for controlling the entire apparatus by the CPU 4. Then, the control program is read by the CPU 4 through the bus 3. This control program is stored in the control program ROM 9 in advance when the apparatus is shipped from the factory, and is incorporated in the apparatus.

【0020】この制御プログラムの各タスクを管理する
ためのタスク管理情報及び印刷装置内に送り込まれた前
記バグ修正済プログラムが、電気的に消去可能な記憶手
段としてのEEP ROM10に格納されるようになっ
ている。
The task management information for managing each task of the control program and the bug-corrected program sent into the printer are stored in the EEPROM 10 which is an electrically erasable storage means. Is becoming

【0021】このEEP ROM10に格納されるタス
ク管理情報としては、各タスクのスタートアドレスや機
能別に設定されたバージョンナンバー等である。このタ
スク管理情報は、本装置の工場出荷時において、予めE
EP ROM10に格納された状態で本装置に内蔵され
ている。
The task management information stored in the EEPROM 10 includes a start address of each task and a version number set for each function. This task management information is set in advance when the device is shipped from the factory.
It is built in the apparatus in a state of being stored in the EP ROM 10.

【0022】また、EEP ROM10には、印刷装置
内に送り込まれた前記バグ修正済プログラムを格納する
EEP ROM10内の格納領域の容量を管理するメモ
リ容量管理テーブルが格納されている。
The EEP ROM 10 also stores a memory capacity management table for managing the capacity of the storage area in the EEP ROM 10 for storing the bug-corrected program sent into the printer.

【0023】バス3には外部ROMインタフェース部
(以下、外部ROM I/F部と略称する)11が接続
されている。この外部ROM I/F部11には、この
発明の印刷装置の外部より実装可能なバグ修正用のRO
Mカード12が差し込まれる。
An external ROM interface section (hereinafter abbreviated as an external ROM I / F section) 11 is connected to the bus 3. The external ROM I / F unit 11 has an RO for bug correction which can be mounted from the outside of the printing apparatus of the present invention.
The M card 12 is inserted.

【0024】バグ修正用のROMカード12には、前記
バグ修正済プログラムを印刷装置に送り込み、それに応
じてタスク管理情報、メモリ容量管理テーブル等を修正
するためのバグ修正用プログラムが格納されている。そ
して、制御プログラムの各タスクにバグが生じたとき、
バグ修正用のROMカード12を外部ROM I/F部
11に差し込むことにより、バグ修正用プログラムによ
ってバグ修正済プログラムが印刷装置に送り込まれ、E
EP ROM10に格納されるようになっている。ま
た、バグ修正用プログラムによってEEP ROM10
に格納されたバグ修正済プログラムに対応するタスク管
理情報のスタートアドレスやバージョンナンバー等及び
メモリ容量管理テーブル等が修正されるようになってい
る。
The bug-correcting ROM card 12 stores a bug-correcting program for sending the above-mentioned bug-corrected program to the printing apparatus and correcting the task management information, memory capacity management table, etc. accordingly. .. And when a bug occurs in each task of the control program,
By inserting the bug-correcting ROM card 12 into the external ROM I / F unit 11, the bug-correcting program is sent to the printer by the bug-correcting program, and E
It is adapted to be stored in the EP ROM 10. In addition, the bug correction program allows the EEPROM 10
The start address, version number, etc. of the task management information corresponding to the bug-corrected program stored in, and the memory capacity management table etc. are modified.

【0025】なお、バグ修正用のROMカード12とは
別のROMカードとして、印刷装置内の制御プログラム
記憶手段としてのプログラムROM9に予め格納されて
いる制御プログラム以外の新たな制御プログラムを格納
したROMカードを外部ROM I/F部11に差し込
むことにより、このROMカードに格納されている新た
な制御プログラム(例えば、バージョンアップ用の制御
プログラム)を読み出すこともできるようになってい
る。
As a ROM card different from the bug correction ROM card 12, a ROM storing a new control program other than the control program previously stored in the program ROM 9 as the control program storage means in the printing apparatus. By inserting the card into the external ROM I / F unit 11, a new control program (for example, a control program for version upgrade) stored in this ROM card can be read.

【0026】また、バグ修正用のROMカード12とは
別のROMカードとして、CGROM6に格納されてい
るフォント以外のフォントを格納したROMカードを外
部ROM I/F部11に差し込むことにより、このR
OMカードに格納されているフォントを読み出すことも
できるようになっている。
As a ROM card different from the bug-correcting ROM card 12, a ROM card storing a font other than the font stored in the CGROM 6 is inserted into the external ROM I / F unit 11 so that the R
The fonts stored in the OM card can also be read.

【0027】なお、バス3には、操作パネル13が接続
されており、この操作パネル13には、各種の操作信号
を入力するための操作キー及び本装置の動作態様等を表
示するための表示手段(いずれも図示せず)等が配設さ
れている。
An operation panel 13 is connected to the bus 3, and the operation panel 13 has operation keys for inputting various operation signals and a display for displaying operation modes of the apparatus. Means (not shown) or the like are provided.

【0028】また、制御プログラムを構成する複数のタ
スクとしては、ホストコンピュータ1から文章データを
受け取るホストI/Fタスク、この受け取った文章デー
タの文字コードを解析してドットパターンに変換するド
ットパターン変換タスク、その変換されたドットパター
ンを印刷装置内のビットマップメモリ5(b)に展開す
るためのビットマップ展開タスク、このビットマップメ
モリ5(b)に展開されたドットパターンをプリンタ部
8の駆動部(エンジン部)に送り込むためのプリントタ
スク等である。
As the plurality of tasks constituting the control program, a host I / F task that receives text data from the host computer 1 and dot pattern conversion that analyzes the character code of the received text data and converts it into a dot pattern Task, bitmap development task for developing the converted dot pattern in the bitmap memory 5 (b) in the printing apparatus, driving the printer unit 8 with the dot pattern developed in the bitmap memory 5 (b) For example, a print task to be sent to the department (engine part).

【0029】次に、以上のように構成された本発明の印
刷装置の動作について、図1及び図2を用いて説明す
る。
Next, the operation of the printing apparatus of the present invention configured as described above will be described with reference to FIGS. 1 and 2.

【0030】まず、ホストコンピュータ1より送られて
来た文章データは、ホストI/F部2及びバス3を介し
てRAM5内のページメモリ5(a)に文字コードとし
てストアされる。
First, the text data sent from the host computer 1 is stored as a character code in the page memory 5 (a) in the RAM 5 via the host I / F unit 2 and the bus 3.

【0031】CPU4は、RAM5内のページメモリ5
(a)内の文字コードを参照解析して、CGROM6よ
り対応するドットパターンを読み出すと共に、RAM5
内にあるビットマップメモリ5(b)上に、このドット
パターンを展開する。
The CPU 4 uses the page memory 5 in the RAM 5
The character code in (a) is referenced and analyzed, the corresponding dot pattern is read from the CGROM 6, and the RAM 5
This dot pattern is developed on the bitmap memory 5 (b) inside.

【0032】このRAM5内のビットマップメモリ5
(a)上へのドットパターンの展開が終わると、CPU
4はバス3とプリンタI/F部7を通して、プリンタ部
8を起動し、プリンタI/F部7を介してRAM5内の
ビットマップメモリ5(b)のドットパターンをプリン
タ部8へ送り、印刷する。即ち、ホストコンピュータ1
から入力された文章データが印刷される。
Bit map memory 5 in this RAM 5
(A) When the development of the dot pattern on the top is completed, the CPU
4 activates the printer unit 8 via the bus 3 and the printer I / F unit 7, sends the dot pattern of the bitmap memory 5 (b) in the RAM 5 to the printer unit 8 via the printer I / F unit 7, and prints. To do. That is, the host computer 1
The text data input from is printed.

【0033】上記印刷装置全体の一連の動作を制御する
ための制御プログラムは、プログラムROM9内に格納
されている。そして、図2に示すように、各タスクA,
B,C,D,E,F,Gのタスク管理部ルーチンを中心
として、上述したプリントタスク、ホストI/Fタス
ク、ビットマップ展開タスク等の各タスクA〜Gが、い
わゆるマルチタスク形式で動く。
A control program for controlling a series of operations of the above printing apparatus is stored in the program ROM 9. Then, as shown in FIG.
Focusing on the task management routines of B, C, D, E, F, and G, the tasks A to G such as the print task, host I / F task, and bitmap expansion task described above operate in a so-called multitask format. ..

【0034】この図2において、各タスクA〜Gのスタ
ートアドレス(先頭アドレス)やバージョンナンバー
は、EEP ROM10内にストアされたタスク管理部
14のタスク管理テーブル15に格納されている。
In FIG. 2, the start addresses (head addresses) and version numbers of the tasks A to G are stored in the task management table 15 of the task management unit 14 stored in the EEPROM 10.

【0035】このタスク管理部14は、この情報を基に
必要に応じて各タスクA〜Gの処理がジャンプする。
The task management unit 14 jumps the processing of each task A to G based on this information as needed.

【0036】ここで、ユーザが本発明の印刷装置のCG
ROM6に内蔵されているフォント以外のフォントを使
用する場合には、必要なフォントを格納させたフォント
用のROMカードを外部ROM I/F部11に差し込
んで、このフォント用のROMカードから必要なフォン
トを外部ROM I/F部11で読み出して、CPU4
によりRAM5のビットマップメモリ5(b)に展開し
た後、プリンタI/F部7を通してプリンタ部8で印刷
する。なお、上記ROMカードは、フォント用に限られ
るものではない。
Here, the user selects the CG of the printing apparatus of the present invention.
When using a font other than the fonts contained in the ROM 6, insert a ROM card for the font storing the necessary font into the external ROM I / F section 11 and use the font card for this font. The font is read by the external ROM I / F unit 11, and the CPU 4
Then, the data is developed in the bitmap memory 5 (b) of the RAM 5 and then printed by the printer unit 8 through the printer I / F unit 7. The ROM card is not limited to fonts.

【0037】また、図2の各タスクA〜Gへの処理の実
行中に、例えば、タスクCにバグが発見された場合、サ
ービスマンは、このタスクCのバグを修正するために、
バグ修正用プログラムを格納したバグ修正用ROMカー
ド12を持参してユーザ先へ出向し、印刷装置の外部R
OM I/F部11のコネクタ(図示せず)に差し込
む。
In addition, for example, when a bug is found in the task C during the execution of the processing for each of the tasks A to G in FIG. 2, the serviceman fixes the bug in the task C by
Bring the bug-correcting ROM card 12 that stores the bug-correcting program to the user and transfer it to the external R of the printer.
Insert it into the connector (not shown) of the OM I / F unit 11.

【0038】このROMカード12は、印刷装置の外部
より、容易に差し込むことができるような構造になって
いる。
The ROM card 12 has a structure that can be easily inserted from the outside of the printing apparatus.

【0039】サービスマンは印刷装置の電源を切った
後、バグ修正用ROMカード12を上述のように外部R
OM I/F部11のコネクタに差し込んで、再び印刷
装置の電源をオンする。
After turning off the power of the printing apparatus, the service person sets the bug correction ROM card 12 to the external R as described above.
It is inserted into the connector of the OM I / F unit 11 and the power of the printing apparatus is turned on again.

【0040】以下、図5〜図7のフローチャートに従っ
て本実施例の動作を説明する。なお、フローチャートに
基づくプログラムは、プログラムROM9及びEEP
ROM10に格納され、CPU4が制御する。
The operation of this embodiment will be described below with reference to the flow charts of FIGS. Note that the program based on the flowchart is the program ROM 9 and EEP.
It is stored in the ROM 10 and controlled by the CPU 4.

【0041】図5に於て、印刷装置の電源をONすると
(501)、印刷装置のCPU4は、まず外部ROM
I/F11へアクセスし、ROM I/F11にROM
カード12が差し込まれているかをチェックする(50
2)。
In FIG. 5, when the power of the printing apparatus is turned on (501), the CPU 4 of the printing apparatus first determines the external ROM.
ROM to I / F11 by accessing I / F11
Check if the card 12 is inserted (50
2).

【0042】もし差し込まれていない場合は、通常の本
体制御プログラムへ移行する(505)が、差し込まれ
ている場合は、ROMカード12のタイプを読み出す
(503)。
If it is not inserted, the process shifts to a normal main body control program (505), but if it is inserted, the type of the ROM card 12 is read (503).

【0043】これは、ROMカード12内のROMのあ
る領域に、そのROMカード12のタイプ(プログラム
の入ったROMカードか、フォント等のデータの入った
ROMカードか)を示す情報が入っており、それを読み
出すわけである。その結果、上記ROMカード12が、
プログラムの入ったROMカードで無い場合は(50
4)、やはり通常の本体制御プログラムへ移行する(5
05)が、プログラムの入ったROMカードで有る場合
は(504)、更にそれが、本発明に関係する、バグ修
正用ROMカードで有るか否かを、チェックする(50
6)。もしバグ修正用ROMカードで無い場合は、その
ROMカードのプログラムに移行する(507)。バグ
修正用ROMカードで有る場合は、ROMカード内のバ
グ修正用プログラムを起動する(508)。上記バグ修
正用プログラムでは、まずROMカード12内のバグ修
正済プログラム名と、そのバージョンナンバーをチェッ
クする(509)。また、EEP ROM10内のメモ
リ容量テーブルに基づいて、EEP ROM10内の、
バグを修正したバグ修正済プログラムの格納領域のチェ
ックをする(601)。もし、バグを修正したバグ修正
済プログラムが、既にEEP ROM10内に格納され
ている場合は(602)、更にそのバグ修正済プログラ
ムのバージョンナンバーをチェックし(603)、それ
がROMカード内のバグ修正済プログラムのバージョン
ナンバーと同じであれば、バグ修正の必要が無いのでバ
グ修正用プログラムを終了する。もしそれがROMカー
ド12内のバグ修正済プログラムのバージョンナンバー
よりも古い場合は(603)、EEP ROM10内の
バグ修正済プログラムを消し(604)、EEP RO
M10内のメモリ容量テーブルに基づいてEEPROM
10内のバグ修正済プログラムの格納可能容量のチェッ
クに入る(605)。もし、バグ修正済プログラムが、
EEP ROM10内に格納されていない場合は、上記
手順を省いて、605に移行する。605に於て、メモ
リ容量管理テーブルに基づいてEEP ROM10内
の、バグ修正済プログラムの格納可能容量が、ROMカ
ード12内の、バグ修正済プログラムの容量よりも多い
か否かを判断し、多い場合は、EEP ROM10内に
格納可能であるので、格納作業を行ない(607)、更
にEEP ROM10内のバグ修正済プログラムのスタ
ートアドレスとバージョンナンバー及びメモリ容量管理
テーブルの内容を書き換えて(608)バグ修正作業終
了を操作パネル13に表示して終了する(701)。
This is because a region of the ROM in the ROM card 12 contains information indicating the type of the ROM card 12 (ROM card containing a program or ROM card containing data such as fonts). , Read it out. As a result, the ROM card 12
If the ROM card does not contain the program (50
4), and also shift to a normal main body control program (5
If 05) is a ROM card containing a program (504), it is further checked whether or not it is a bug correction ROM card related to the present invention (50).
6). If the ROM card is not a bug correction ROM card, the program of the ROM card is moved to (507). If it is a bug correction ROM card, the bug correction program in the ROM card is started (508). In the bug correction program, first, the bug-corrected program name in the ROM card 12 and its version number are checked (509). Further, based on the memory capacity table in the EEP ROM 10,
The storage area of the bug-corrected program in which the bug has been corrected is checked (601). If the bug-corrected program that has fixed the bug is already stored in the EEPROM 10 (602), the version number of the bug-corrected program is checked (603), and the version number in the ROM card is checked. If it is the same as the version number of the corrected program, it is not necessary to correct the bug and the bug correcting program is terminated. If it is older than the version number of the bug-corrected program in the ROM card 12 (603), the bug-corrected program in the EEP ROM 10 is erased (604), and EEP RO
EEPROM based on the memory capacity table in M10
Check the storage capacity of the bug-corrected program in 10 (605). If the bug fixed program is
If it is not stored in the EEP ROM 10, the above procedure is omitted and the process proceeds to 605. At 605, it is determined whether the storable capacity of the bug-corrected program in the EEPROM 10 is larger than the capacity of the bug-corrected program in the ROM card 12 based on the memory capacity management table. In this case, since the data can be stored in the EEP ROM 10, the storage work is performed (607), and the start address and version number of the bug-corrected program in the EEP ROM 10 and the contents of the memory capacity management table are rewritten (608). The end of the correction work is displayed on the operation panel 13 and the process ends (701).

【0044】605に於て、EEP ROM10内の、
バグ修正済プログラムの格納可能容量が、ROMカード
12内のバグ修正済プログラムの容量より少ない場合
は、バグ修正済プログラムをEEP ROM10内に格
納しないで、上記バグ修正用のROMカード12が差し
込まれた状態で、図1におけるEEP ROM10内の
タスク管理テーブルのスタートアドレスをROMカード
12内のバグ修正済プログラムのスタートアドレスに書
き換え、更にバージョンナンバーを書き換えて(60
6)バグ修正作業終了を操作パネル13に表示して終了
する(701)。
At 605, in the EEP ROM 10,
When the storable capacity of the bug-corrected program is smaller than the capacity of the bug-corrected program in the ROM card 12, the bug-corrected program is not stored in the EEP ROM 10 and the ROM card 12 for the bug-correction is inserted. In this state, the start address of the task management table in the EEPROM 10 in FIG. 1 is rewritten to the start address of the bug-corrected program in the ROM card 12, and the version number is rewritten (60
6) The end of the bug correction work is displayed on the operation panel 13 and the process ends (701).

【0045】このようにして、EEP ROM10に格
納されているタスク管理情報の各タスクのうちの、バグ
を修正したタスクのバグ修正済プログラムに対応するス
タートアドレスの書き換えが終了したならば、印刷装置
の電源をオフし、バグ修正用のROMカード12を抜い
た後、再び印刷装置の電源をオンにする。
In this way, when the rewriting of the start address corresponding to the bug-corrected program of the task in which the bug is corrected among the tasks in the task management information stored in the EEPROM 10 is completed, the printing apparatus is completed. Is turned off, the ROM card 12 for bug correction is removed, and then the printing apparatus is turned on again.

【0046】以上のようにして、バグ修正対象プログラ
ム(例えば、タスクC)のバグを修正したバグ修正済プ
ログラム(新たな制御プログラム)及び予め印刷装置内
に格納されているバグ修正対象外の制御プログラムに基
づいて印刷装置全体の制御が行なわれる。
As described above, a bug-corrected program (new control program) in which a bug of the bug-corrected program (for example, task C) is corrected and a non-bug-corrected control stored in the printing apparatus in advance. The entire printing apparatus is controlled based on the program.

【0047】なお、上記実施例においては、サービスマ
ンがバグ修正用のROMカード12を外部ROM I/
F部11に差し込んでバグの修正作業を行なったが、こ
れに限られるものではなく、ユーザに予めバグ修正用の
ROMカード12を渡しておき、必要に応じてユーザが
このバグ修正用のROMカード12を外部ROM I/
F部11に差し込んで、バグの修正作業を行なうように
してもよい。
In the above embodiment, the service person uses the ROM card 12 for bug correction as an external ROM I / O.
The bug was fixed by inserting it into the F section 11. However, the present invention is not limited to this, and the ROM card 12 for bug correction is handed to the user in advance, and the user can read the ROM for bug correction as necessary. Card 12 in external ROM I /
It may be inserted into the F section 11 to perform a bug correction work.

【0048】図3は本発明に係る印刷装置の他の実施例
の構成を示すブロック図である。この実施例では、上述
した図1の実施例におけるEEP ROM10の代わり
に、バックアップ用のバッテリ16付のSRAM〔St
atic Random Access Memory
<記憶手段>〕17を用いたものであり、このように構
成しても、上述した図1の実施例と同様に、バグを修正
したプログラムをSRAM17に書き換えることがで
き、しかも、SRAM17を用いた方がEEPROM1
0を用いた場合に比してメモリ容量を増すことができ
る。
FIG. 3 is a block diagram showing the configuration of another embodiment of the printing apparatus according to the present invention. In this embodiment, instead of the EEPROM 10 in the embodiment of FIG. 1 described above, an SRAM [St
atic Random Access Memory
<Memory Unit>] 17 is used, and even with this configuration, the program in which the bug is corrected can be rewritten into the SRAM 17 as in the embodiment of FIG. 1 described above, and the SRAM 17 is used. The person who had it was EEPROM1
The memory capacity can be increased as compared with the case where 0 is used.

【0049】なお、図3の実施例におけるその他の構成
は、上述した図1の実施例と同様であるから、図面の同
一部分には同一符号を付してその説明を省略する。
Since the other structure of the embodiment of FIG. 3 is the same as that of the embodiment of FIG. 1 described above, the same parts are designated by the same reference numerals and the description thereof will be omitted.

【0050】また、図4は本発明に係る印刷装置の更に
異なる実施例の構成を示すブロック図である。この実施
例において、上述した図1の実施例と同一部分について
は、図面に同一符号を付して、その重複説明を避け、図
1の実施例とは異なる部分を主体に述べる。
FIG. 4 is a block diagram showing the configuration of a further different embodiment of the printing apparatus according to the present invention. In this embodiment, the same parts as those of the embodiment of FIG. 1 described above are denoted by the same reference numerals in the drawings to avoid redundant description, and the parts different from the embodiment of FIG. 1 will be mainly described.

【0051】この図4を図1と比較しても明らかなよう
に、図4では書き込み用の電圧(12V)を発生する昇
圧回路18と、書き込み制御部19、EEP ROM1
0の代わりにフラッシュPROM20を用いたものであ
る。
As is apparent from a comparison of FIG. 4 with FIG. 1, in FIG. 4, a booster circuit 18 for generating a write voltage (12 V), a write controller 19, an EEPROM 1 are provided.
Instead of 0, a flash PROM 20 is used.

【0052】この実施例によれば、図1のEEP RO
M10よりも大容量で、且つ図3のSRAM17のよう
にバックアップ用のバッテリ16を必要としない。その
他の部分は図1と同様である。
According to this embodiment, the EEP RO of FIG.
It has a larger capacity than M10 and does not require a backup battery 16 unlike the SRAM 17 of FIG. Other parts are the same as in FIG.

【0053】更に、バグ修正手段として、バグ修正用の
ROMカードを用いたが、これに限られるものではな
く、ホストコンピュータ1から印刷装置にバグ修正用プ
ログラムを送り込んで、バグ修正を行なうようにしても
よい。
Further, although the ROM card for bug correction is used as the bug correction means, the present invention is not limited to this, and the bug correction program is sent from the host computer 1 to the printing device so that the bug can be corrected. May be.

【0054】[0054]

【発明の効果】以上のように、印刷装置内のEEP R
OM等のメモリのプログラム格納領域の容量より印刷装
置に着脱可能な記憶媒体であるROMカード内の新たな
プログラムの容量が多い場合であっても、ROMカード
内の新たな制御プログラムを印刷装置内のEEP RO
M等のメモリに格納することなく、例えば、バグ修正、
制御プログラムのバージョンアップ等ができて、保守作
業の簡略化とコストダウンを図ることができる。
As described above, the EEPR in the printing apparatus is
Even if the capacity of the new program in the ROM card, which is a storage medium that can be attached to and detached from the printing apparatus, is larger than the capacity of the program storage area of the memory such as the OM, the new control program in the ROM card is stored in the printing apparatus. EEP RO
For example, bug fix, without storing in memory such as M
The version of the control program can be upgraded, and maintenance work can be simplified and costs can be reduced.

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

【図1】本発明に係る印刷装置の一実施例の構成を示す
ブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a printing apparatus according to the present invention.

【図2】図1の印刷装置全体を制御する制御プログラム
における各タスクの動作を示すブロック図である。
FIG. 2 is a block diagram showing an operation of each task in a control program for controlling the entire printing apparatus of FIG.

【図3】本発明に係る印刷装置の他の実施例の構成を示
すブロック図である。
FIG. 3 is a block diagram showing the configuration of another embodiment of the printing apparatus according to the present invention.

【図4】本発明に係る印刷装置の更に異なる他の実施例
の構成を示すブロック図である。
FIG. 4 is a block diagram showing the configuration of still another embodiment of the printing apparatus according to the present invention.

【図5】図1の実施例の動作を示すフローチャートであ
る。
5 is a flowchart showing the operation of the embodiment of FIG.

【図6】図1の実施例の動作を示すフローチャートであ
る。
6 is a flowchart showing the operation of the embodiment of FIG.

【図7】図1の実施例の動作を示すフローチャートであ
る。
FIG. 7 is a flowchart showing the operation of the embodiment of FIG.

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

1 ホストコンピュータ 10 EEP ROM(記憶手段) 12 バグ修正用のROMカード 17 SRAM(記憶手段) 20 フラッシュPROM(記憶手段) DESCRIPTION OF SYMBOLS 1 Host computer 10 EEP ROM (storage means) 12 ROM card for bug correction 17 SRAM (storage means) 20 Flash PROM (storage means)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 印刷装置に着脱可能な記憶媒体内の新た
なデータを格納する記憶手段と、 前記新たなデータを前記印刷装置内の前記記憶手段に格
納可能か否かを判断する判断手段と、 前記判断手段で格納不可能と判断された場合、前記着脱
可能な記憶媒体内に格納されている新たなデータと前記
印刷装置内に予め格納されているデータに基づいて、前
記印刷装置を制御する制御手段とを具備することを特徴
とする印刷装置。
1. A storage unit for storing new data in a storage medium detachable from the printing apparatus, and a determination unit for determining whether or not the new data can be stored in the storage unit in the printing apparatus. If the determination unit determines that the printing device cannot be stored, the printing device is controlled based on new data stored in the removable storage medium and data stored in the printing device in advance. And a control unit for controlling the printing apparatus.
【請求項2】 印刷装置に着脱可能な記憶媒体内の新た
なデータを格納する記憶工程と、 前記新たなデータを前記印刷装置内に格納可能か否かを
判断する判断工程と、前記判断工程で格納不可能と判断
された場合、前記着脱可能な記憶媒体内に格納されてい
る新たなデータと前記印刷装置内に予め格納されている
データに基づいて、前記印刷装置を制御する制御工程と
を具備することを特徴とする印刷方法。
2. A storage step of storing new data in a storage medium detachable from the printing apparatus, a determination step of determining whether the new data can be stored in the printing apparatus, and the determination step. And a control step of controlling the printing device based on new data stored in the removable storage medium and data stored in advance in the printing device when it is determined that the printing device cannot be stored. A printing method comprising:
JP4088846A 1991-04-22 1992-04-09 Printing apparatus and method Expired - Fee Related JP2821309B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP4088846A JP2821309B2 (en) 1992-04-09 1992-04-09 Printing apparatus and method
EP92303514A EP0510899B1 (en) 1991-04-22 1992-04-21 Printer control program transfer method and printer capable of receiving a control program
DE69231667T DE69231667D1 (en) 1991-04-22 1992-04-21 Printer control program transmission method and printer suitable for receiving a control program
US08/246,562 US5742742A (en) 1991-04-22 1994-05-20 Printing system for determining if there is enough memory to store revised program and controlling the system using control program with the revised program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4088846A JP2821309B2 (en) 1992-04-09 1992-04-09 Printing apparatus and method

Publications (2)

Publication Number Publication Date
JPH05286180A true JPH05286180A (en) 1993-11-02
JP2821309B2 JP2821309B2 (en) 1998-11-05

Family

ID=13954343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4088846A Expired - Fee Related JP2821309B2 (en) 1991-04-22 1992-04-09 Printing apparatus and method

Country Status (1)

Country Link
JP (1) JP2821309B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100440963B1 (en) * 2001-12-26 2004-07-21 삼성전자주식회사 Method and apparatus for managing data processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100440963B1 (en) * 2001-12-26 2004-07-21 삼성전자주식회사 Method and apparatus for managing data processor

Also Published As

Publication number Publication date
JP2821309B2 (en) 1998-11-05

Similar Documents

Publication Publication Date Title
US5138696A (en) Printer provided with font memory card
EP0510899B1 (en) Printer control program transfer method and printer capable of receiving a control program
JPH09152859A (en) Printer
US5408589A (en) Print device capable of controlling initialization of a data storage device
JPH0245173A (en) Character generator and character generation
JP2821309B2 (en) Printing apparatus and method
JP2001344156A (en) Device with flash memory and data rewriting method
JPH04323070A (en) Printer
JP3001213B2 (en) Printer control device
JP3181776B2 (en) Image recording apparatus and control method thereof
JP2661742B2 (en) Character processor
JP4778647B2 (en) Laser marker
JPH0765591A (en) Information processing device
JPH08212079A (en) Image forming device
JPH08174922A (en) Electronic apparatus and controlling method therefor
JPH01112424A (en) Electronic equipment
JPH0926860A (en) Printer and data communication method therefor
JP2526873B2 (en) Character generator
JPH051491B2 (en)
JPH09146521A (en) Device and method for output control
JPH08282024A (en) Printing device
JPH0469261A (en) Printer
JPH04232077A (en) Printer
JPH06127042A (en) Printer and expanded memory device used therein
JP2571860Y2 (en) Printer device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees