JPH07281846A - Printing device - Google Patents

Printing device

Info

Publication number
JPH07281846A
JPH07281846A JP6075643A JP7564394A JPH07281846A JP H07281846 A JPH07281846 A JP H07281846A JP 6075643 A JP6075643 A JP 6075643A JP 7564394 A JP7564394 A JP 7564394A JP H07281846 A JPH07281846 A JP H07281846A
Authority
JP
Japan
Prior art keywords
instruction
module
jump
built
emc
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
JP6075643A
Other languages
Japanese (ja)
Inventor
Kunio Fukuda
国雄 福田
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.)
Casio Computer Co Ltd
Casio Electronics Manufacturing Co Ltd
Original Assignee
Casio Computer Co Ltd
Casio Electronics Manufacturing Co Ltd
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 Casio Computer Co Ltd, Casio Electronics Manufacturing Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP6075643A priority Critical patent/JPH07281846A/en
Publication of JPH07281846A publication Critical patent/JPH07281846A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent unreasonable printing operation even if the version of a program incorporated in a device main body does not match the version of a program in the control ROM of an EMC. CONSTITUTION:When the power source is turned on, versions 300 and 400 for jump table generation which are set as objects of comparison by a module 1 are compared with each other, and an instruction 303 for jumping to the internal module having the new version is copied to an instruction RAM as an instruction 200 for jumping to the module 1. To execute an EMC control RAM module 1 execution instruction 500, a jump to an instruction 410 for jumping to the jump table module 1 in the instruction RAM in the EMC control ROM is made first. Then, a jump to an instruction 200 for jumping to the module in the instruction RAM is made by the said instruction, and a jump from this instruction to a module 1 501 in the internal control RAM is made to execute the instruction.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えばホストコンピュ
ータ等の上位装置に接続され、この上位装置から送られ
てくる印字情報に従った印字動作を行なう印字装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer which is connected to a host device such as a host computer and performs a printing operation in accordance with print information sent from the host device.

【0002】[0002]

【従来の技術】印字装置は、ホストコンピュータ等の上
位装置に接続され、この上位装置からの印字情報に従っ
て印字処理を行う従動機器である。この印字装置に多種
多様の上位装置を接続可能にし、汎用性を持たせるため
に、印字装置の基本動作制御プログラムは、内蔵のシス
テムROM内に記憶させ、また、接続される上位装置の
転送してくる種々の情報に対応するためのプログラム
は、当該印字装置に着脱交換自在に構成された所謂エミ
ュレーションカートリッジ(EMC)内のROMに記憶
させておくようにして、接続された上位装置に応じてこ
のEMCを交換して、対応する印字動作を行わせるよう
に構成されている。
2. Description of the Related Art A printing device is a driven device which is connected to a host device such as a host computer and performs a printing process in accordance with print information from the host device. In order to connect a wide variety of higher-level devices to this printing device and to provide versatility, the basic operation control program of the printing device is stored in the built-in system ROM, and the transfer of the higher-level device to be connected is performed. Programs for handling various incoming information are stored in a ROM in a so-called emulation cartridge (EMC) that is detachably and replaceably attached to the printing apparatus, and is stored according to the connected higher-level apparatus. This EMC is replaced and the corresponding printing operation is performed.

【0003】また、内蔵ROMの中には、エミュレーシ
ョン機種が変更されても全機種に対して共通に利用され
る基本制御プログラム(BOS)しか備えず、上位装置
に対応する制御プログラムはEMCの装着に頼るものも
あるが、予め接続を前提とされる上位機種1機種に対応
するエミュレーション上位ファームウェア(APL)は
内蔵しており、基本機種以外に接続される場合に限って
EMCの装着に頼るよう構成されたものがある。
Further, the built-in ROM has only a basic control program (BOS) commonly used for all models even if the emulation model is changed, and the control program corresponding to the higher-level device is equipped with the EMC. There is a built-in emulation upper firmware (APL) corresponding to one upper model that is supposed to be connected in advance, and you should rely on the installation of EMC only when connecting to other than the basic model. There is one configured.

【0004】[0004]

【発明が解決しようとする課題】ところで、従来の印字
装置に於いては、内蔵ROMとEMCに同一のエミュレ
ーションプログラムが存在していても、固定的にどちら
か一方(ハードウェアのジャンバー等設定による又は必
ずEMC側)が優先されるようになっている。
By the way, in the conventional printer, even if the same emulation program exists in the built-in ROM and the EMC, either one of them is fixed (depending on the setting of the hardware jumper or the like). Or, the EMC side is always prioritized.

【0005】一般に、内蔵ROMは、ROMチップの交
換や基板の交換を行わない限りバージョンアップができ
ないので簡単にバージョン変更は行われない。これに対
して、EMCは、印字装置本体とセットにして販売され
るとは限らないため、EMCは独自にバージョンアップ
が行える。そのため、印字装置にはバージョンアップし
たEMCが装着される可能性が大きい。従って、ユーザ
が後からEMCを印字装置本体とは別に購入し、その印
字装置に装着して用いた場合には、印字装置内蔵ROM
のBOSと装着されたEMCのROMのバージョンとが
一致しないことがある。このような内蔵ROMのBOS
とEMCのROMのバージョンが不一致になると、誤動
作、誤印字が発生してしまう。
Generally, the built-in ROM cannot be upgraded unless the ROM chip or the substrate is replaced, so that the version cannot be easily changed. On the other hand, the EMC is not always sold as a set with the main body of the printing apparatus, so that the EMC can be independently upgraded. Therefore, there is a high possibility that the upgraded EMC is mounted on the printing apparatus. Therefore, when the user later purchases the EMC separately from the main body of the printing apparatus and mounts it on the printing apparatus and uses it, the ROM with the built-in printing apparatus is used.
BOS and the version of the ROM of the installed EMC may not match. BOS of such built-in ROM
If the ROM versions of EMC and EMC do not match, malfunction and printing may occur.

【0006】また、内蔵ROMにAPLを備える機種の
場合には、この内蔵APLに対するプログラムがバージ
ョンアップしてEMCとして新しく用意されても、基本
エミュレーション機種に対しては固定的に内蔵ROMの
APLで動作してしまい、外付けEMCで動作させるこ
とができなかった。
Also, in the case of a model having an APL in the built-in ROM, even if the program for this built-in APL is upgraded and newly prepared as an EMC, the APL of the built-in ROM is fixed for the basic emulation model. It worked and could not be operated by the external EMC.

【0007】本発明は、上記の点に鑑みてなされたもの
で、装置本体内蔵の制御プログラムROMと外付け制御
プログラムROMのバージョンが不一致であっても不都
合な印字動作が行われないような印字装置を提供するこ
とを目的とする。
The present invention has been made in view of the above points, and prints such that an inconvenient printing operation is not performed even if the versions of the control program ROM built in the apparatus main body and the external control program ROM do not match. The purpose is to provide a device.

【0008】また、本発明は、内蔵制御プログラムに対
してバージョンアップされた時に、外付けカートリッジ
によりバージョンアップROMを提供し動作させること
ができる印字装置を提供することを目的とする。
It is another object of the present invention to provide a printer capable of providing and operating a version-up ROM with an external cartridge when the version of the built-in control program is upgraded.

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明による印字装置は、上位装置から転送され
る印字情報を、当該装置に内蔵されたメモリと外付けさ
れたメモリとに記憶された制御プログラムに従って解析
し、印字動作制御を実行する処理装置を備えた印字装置
であって、特に、上記内蔵されたメモリ及び外付けメモ
リに記憶される制御プログラムにそれぞれバージョン情
報を備えると共に、各メモリに記憶された上記バージョ
ン情報を比較認識して、印字動作の実行/禁止を制御す
る制御手段を備えることを特徴とする。
In order to achieve the above object, a printer according to the present invention stores print information transferred from a host device in a memory built in the device and an external memory. A printing apparatus including a processing device that analyzes and executes printing operation control according to a stored control program, and in particular, includes version information in each of the control programs stored in the built-in memory and the external memory. , And comparing and recognizing the version information stored in each memory, and controlling the execution / inhibition of the printing operation.

【0010】また、上記バージョン情報を比較認識し、
適合するメモリに記憶されたプログラムを選択して上記
処理装置に実行させる選択手段をさらに備えるようにし
ても良い。
In addition, the above version information is compared and recognized,
You may further provide the selecting means which selects the program memorize | stored in the suitable memory and makes the said processing device execute it.

【0011】[0011]

【作用】即ち、本発明の印字装置によれば、内蔵された
メモリ及び外付けメモリに記憶される制御プログラムに
それぞれバージョン情報を備えるようにし、制御手段に
より、各メモリに記憶されたこのバージョン情報を比較
認識して、印字動作の実行/禁止を制御する。
That is, according to the printing apparatus of the present invention, the control program stored in the built-in memory and the external memory is provided with version information, and the control means stores the version information stored in each memory. Is compared and recognized to control execution / prohibition of the printing operation.

【0012】また、選択手段は、上記バージョン情報を
比較認識し、適合するメモリに記憶されたプログラムを
選択して、それに従った印字動作制御を処理装置に実行
させる。
Further, the selecting means compares and recognizes the version information, selects a program stored in a suitable memory, and causes the processing device to execute the print operation control according to the selected program.

【0013】[0013]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1はその構成を示す図で、参照番号10は上
位機器としてのホストコンピュータであり、20は印字
装置である。この印字装置20は、インターフェース
(I/F)コントローラ30と、印字部40、及びこれ
らI/Fコントローラ30と印字部40との間を接続す
るプリンタI/F50とで構成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration thereof. Reference numeral 10 is a host computer as a higher-level device, and 20 is a printer. The printing device 20 includes an interface (I / F) controller 30, a printing unit 40, and a printer I / F 50 that connects the I / F controller 30 and the printing unit 40.

【0014】I/Fコントローラ30は、ホストI/F
(セントロデータ受信部)31,MPU32,内蔵制御
ROM33,命令RAM34,受信バッファ35,イメ
ージデータ発生部36,イメージメモリ37で構成さ
れ、EMC制御ROM60が着脱自在となっている。
The I / F controller 30 is a host I / F
(Centro data receiving section) 31, MPU 32, built-in control ROM 33, instruction RAM 34, receiving buffer 35, image data generating section 36, image memory 37, and EMC control ROM 60 is removable.

【0015】ホストインターフェース31は、例えば8
ビットパラレルインターフェース(セントロニクス準
拠)とシリアルインターフェース(RS−232C準
拠)によって構成され、同一規格のインターフェースを
持つホストコンピュータ10とのデータの送受信を行な
う。
The host interface 31 is, for example, 8
It is composed of a bit parallel interface (Centronics compliant) and a serial interface (RS-232C compliant) and transmits / receives data to / from a host computer 10 having an interface of the same standard.

【0016】MPU32は、内蔵制御ROM33やEM
C制御ROM60に記憶されたコマンド解析やシステム
管理のプログラムに従って、I/Fコントローラ30内
の各部の制御を司る。この場合、MPU32は、バスコ
ントローラやアドレスラッチ等を含んでいるものであ
る。
The MPU 32 has a built-in control ROM 33 and EM.
The control of each unit in the I / F controller 30 is controlled according to the command analysis and system management programs stored in the C control ROM 60. In this case, the MPU 32 includes a bus controller, an address latch and the like.

【0017】また、命令RAM34は、MPU32のワ
ークエリアとして使用されると共に、命令エリアとして
使用される。即ち、この命令RAM34には、図2に示
すように、実際に動作するモジュールへのジャンプ命令
200,201,202,…を示すジャンプテーブルが
固定番地、例えば6000000H以降に、後述するよ
うにして配置形成される。但し、本発明はこの番地に限
定されるものではない。
The instruction RAM 34 is used as a work area for the MPU 32 and also as an instruction area. That is, as shown in FIG. 2, in the instruction RAM 34, a jump table indicating jump instructions 200, 201, 202, ... To modules actually operating is arranged at a fixed address, for example, 6000000H or later as described later. It is formed. However, the present invention is not limited to this address.

【0018】受信バッファ35は、ホストI/F31で
受信されたホストコンピュータ10からの印字情報をM
PU32にて解析したコマンドや文字コードに相当する
中間コードデータを一時的に記憶する。
The reception buffer 35 receives the print information from the host computer 10 received by the host I / F 31 as M.
The intermediate code data corresponding to the command or character code analyzed by the PU 32 is temporarily stored.

【0019】イメージデータ発生部36は、文字コード
に対応する文字パターン(イメージデータ)が記憶され
たCGROMや、ユーザのデザインによる文字パターン
(外字)が記憶されるCGRAMで構成されている。
The image data generator 36 is composed of a CGROM in which a character pattern (image data) corresponding to a character code is stored and a CGRAM in which a character pattern (external character) designed by the user is stored.

【0020】イメージメモリ37は、1頁分のイメージ
を展開するためのビットマップメモリであり、印字可能
な最大の印字用紙(例えば、B4サイズ)分の記憶容量
を持っている。
The image memory 37 is a bit map memory for developing an image for one page and has a storage capacity for the maximum printable printing paper (for example, B4 size).

【0021】一方、PRインターフェース50は、I/
Fコントローラ30からイメージメモリ37に展開され
たイメージデータをビデオ信号に変換して印字部40に
送信し、また印字部40からその印字部40の状態監視
するためのステータス信号をI/Fコントローラ30に
送信する。
On the other hand, the PR interface 50 is
The image data expanded in the image memory 37 from the F controller 30 is converted into a video signal and transmitted to the printing unit 40, and the I / F controller 30 outputs a status signal for monitoring the state of the printing unit 40 from the printing unit 40. Send to.

【0022】また、印字部40は、図示しないプリンタ
コントローラ、及びプリンタコントローラによって制御
される印字ヘッド,各種センサ,及び感光体ドラム等の
種々の負荷を具備している。この印字部40について
は、本発明の要旨とは直接関係しないため、詳細な説明
は省略する。
The printing unit 40 also includes a printer controller (not shown), a print head controlled by the printer controller, various sensors, and various loads such as a photosensitive drum. Since the printing section 40 is not directly related to the gist of the present invention, detailed description thereof will be omitted.

【0023】図3は、内蔵制御ROM33とEMC制御
ROM60に於けるジャンプテーブルの構成例を示す図
である。同図に示すように、内蔵制御ROM33及びE
MC制御ROM60内に同様の構成(ROM内相対固定
番地)にて、バージョンデータ(ジャンプテーブル作成
用データ300,400、BOS用バージョンデータ3
01,401、APL用バージョンデータ302,40
2)と、そのROM内の各々所有のモジュールへのジャ
ンプする命令(モジュール1へジャンプする命令30
3,403、モジュール2へジャンプする命令304,
404、モジュール3へジャンプする命令305,40
5、…)、及び命令RAM34上のジャンプテーブルへ
ジャンプする命令(ジャンプテーブルモジュール1へジ
ャンプする命令310,410、ジャンプテーブルモジ
ュール2へジャンプする命令311,411、ジャンプ
テーブルモジュール3へジャンプする命令312,41
2、…)をプログラム上に保持している(但し、同図に
於いてアドレスは仮のものであり、本発明はこれに限定
されない。また、α,β,γは固定値である。)。
FIG. 3 is a diagram showing a configuration example of a jump table in the built-in control ROM 33 and the EMC control ROM 60. As shown in the figure, the built-in control ROM 33 and E
With the same configuration (relative fixed address in ROM) in the MC control ROM 60, version data (jump table creation data 300, 400, BOS version data 3
01,401, APL version data 302,40
2) and an instruction to jump to each owning module in the ROM (instruction 30 to jump to module 1)
3, 403, instruction 304 to jump to module 2,
404, instructions 305, 40 to jump to module 3
5 ..., and instructions to jump to the jump table on the instruction RAM 34 (instructions 310 and 410 to jump to the jump table module 1, instructions 311 and 411 to jump to the jump table module 2, and instructions 312 to jump to the jump table module 3). , 41
2, ...) are held in the program (however, the addresses in the figure are temporary and the present invention is not limited to this. In addition, α, β, γ are fixed values.) .

【0024】次に、このような構成に於ける動作を説明
する。図4は、当該印字装置30のパワーON時にMP
U32により実行される命令RAM34へのジャンプテ
ーブルの作成処理の動作フローチャートである。
Next, the operation in such a structure will be described. FIG. 4 shows the MP when the power of the printing device 30 is turned on.
It is an operation | movement flowchart of the preparation process of the jump table to the instruction RAM34 performed by U32.

【0025】まず、バージョンチェックに使用すべきも
の即ち比較対象がジャンプテーブル作成用データ、BO
S用バージョンデータ、APL用バージョンデータのい
ずれであるか判断する(ステップS1)。これは、各モ
ジュール毎にいずれを比較対象とするか決められてお
り、それに従う。
First, what should be used for the version check, that is, the comparison target is jump table creation data, BO
It is determined whether it is the S version data or the APL version data (step S1). It is decided for each module which one is to be compared, and it follows that.

【0026】即ち、モジュールnについての比較対象と
してジャンプテーブル作成用データが設定されている場
合には、次に、内蔵制御ROM33のジャンプテーブル
作成用データ300とEMC制御ROM60のジャンプ
テーブル作成用データ400とを比較し、どちらかがよ
り新しいバージョンであるかを判断する(ステップS
2)。内蔵制御ROM33の方が新しい場合には、当該
内蔵モジュールnへジャンプする命令を選択し(ステッ
プS3)、その内容を命令RAM34上のn番目へコピ
ーする(ステップS4)。逆に、EMC制御ROM60
の方が新しい場合には、当該EMCモジュールnへジャ
ンプする命令を選択し(ステップS5)、その内容を命
令RAM34上のn番目へコピーする(ステップS
6)。
That is, when the jump table creating data is set as the comparison target for the module n, next, the jump table creating data 300 of the built-in control ROM 33 and the jump table creating data 400 of the EMC control ROM 60 are set. To determine which is the newer version (step S
2). If the built-in control ROM 33 is newer, an instruction to jump to the built-in module n is selected (step S3), and its contents are copied to the nth instruction RAM 34 (step S4). Conversely, the EMC control ROM 60
Is newer, the instruction to jump to the EMC module n is selected (step S5), and its contents are copied to the n-th instruction RAM 34 (step S).
6).

【0027】また、BOS用バージョンデータが設定さ
れている場合には、内蔵制御ROM33のBOS用バー
ジョンデータ301とEMC制御ROM60のBOS用
バージョンデータ401とを比較し、どちらかがより新
しいバージョンであるかを判断する(ステップS7)。
内蔵制御ROM33の方が新しい場合には、内蔵モジュ
ールnへジャンプする命令を選択し(ステップS8)、
その内容を命令RAM34上のn番目へコピーする(ス
テップS9)。逆に、EMC制御ROM60の方が新し
い場合には、EMCモジュールnへジャンプする命令を
選択し(ステップS10)、その内容を命令RAM34
上のn番目へコピーする(ステップS11)。
When the BOS version data is set, the BOS version data 301 of the built-in control ROM 33 and the BOS version data 401 of the EMC control ROM 60 are compared, and either one is the newer version. It is determined (step S7).
If the built-in control ROM 33 is newer, an instruction to jump to the built-in module n is selected (step S8),
The contents are copied to the n-th instruction RAM 34 (step S9). On the contrary, if the EMC control ROM 60 is newer, an instruction to jump to the EMC module n is selected (step S10), and the contents are stored in the instruction RAM 34.
Copy to the nth position above (step S11).

【0028】そして、APL用バージョンデータが比較
対象であれば、内蔵制御ROM33のAPL用バージョ
ンデータ302とEMC制御ROM60のAPL用バー
ジョンデータ402とを比較し、どちらかがより新しい
バージョンであるかを判断する(ステップS12)。内
蔵制御ROM33の方が新しい場合には、内蔵モジュー
ルnへジャンプする命令を選択し(ステップS13)、
その内容を命令RAM34上のn番目へコピーする(ス
テップS14)。逆に、EMC制御ROM60の方が新
しい場合には、EMCモジュールnへジャンプする命令
を選択し(ステップS15)、その内容を命令RAM3
4上のn番目へコピーする(ステップS16)。
If the APL version data is to be compared, the APL version data 302 of the built-in control ROM 33 and the APL version data 402 of the EMC control ROM 60 are compared to determine which is the newer version. It is determined (step S12). If the built-in control ROM 33 is newer, an instruction to jump to the built-in module n is selected (step S13),
The content is copied to the n-th instruction RAM 34 (step S14). On the contrary, if the EMC control ROM 60 is newer, an instruction to jump to the EMC module n is selected (step S15), and the contents are stored in the instruction RAM 3
4 is copied to the nth position (step S16).

【0029】図5は、このようにして作成されたジャン
プテーブルとその移行例を示す図であり、内蔵モジュー
ル1がEMCモジュール1よりも新しい場合である。即
ち、パワーON時に、例えばモジュール1がジャンプテ
ーブル作成用バージョンを比較対象とするならば300
と400を比較し、有効な方(この場合は、内蔵モジュ
ール1へジャンプする命令303)を命令RAM34へ
コピーしてモジュール1へジャンプする命令200とし
たものである。また、同様に、他モジュールについても
命令RAM34上にジャンプする命令をコピーしてこの
ジャンプテーブルが完成されている。
FIG. 5 is a diagram showing a jump table created in this way and a transition example thereof, in which the built-in module 1 is newer than the EMC module 1. That is, when the power is turned on, if the module 1 compares the jump table creating version with 300,
And 400 are compared, and the valid one (in this case, the instruction 303 for jumping to the built-in module 1) is copied to the instruction RAM 34 and used as the instruction 200 for jumping to the module 1. Similarly, for other modules, the jump table is completed by copying the jump instruction to the instruction RAM 34.

【0030】そして、EMC制御ROM60内にてモジ
ュール1を実行しようとした場合(モジュール1実行命
令500)、まずEMC制御ROM60内の命令RAM
上ジャンプテーブルモジュール1へジャンプする命令4
10へジャンプする。次に、この命令により、命令RA
M34上のモジュール1へジャンプする命令200へジ
ャンプし、この命令200から内蔵制御ROM33のモ
ジュール1 501へジャンプし、実行される。
When the module 1 is to be executed in the EMC control ROM 60 (module 1 execution instruction 500), first, the instruction RAM in the EMC control ROM 60.
Instruction 4 to jump to the upper jump table module 1
Jump to 10. Next, this instruction causes the instruction RA
The instruction 200 for jumping to the module 1 on the M34 is jumped to, and from this instruction 200, the jump is made to the module 1501 of the built-in control ROM 33, and the instruction is executed.

【0031】また、図6の(A)に示すように、内蔵制
御ROM33内にてモジュール1を実行しようとした場
合(モジュール1実行命令502)、まず内蔵制御RO
M33内の命令RAM上ジャンプテーブルモジュール1
へジャンプする命令310へジャンプする。次に、この
命令により、命令RAM34上のモジュール1へジャン
プする命令200へジャンプし、この命令200から内
蔵制御ROM33のモジュール1 501へジャンプ
し、実行される。
As shown in FIG. 6A, when the module 1 is to be executed in the built-in control ROM 33 (module 1 execution instruction 502), the built-in control RO is first executed.
Jump table module 1 on the instruction RAM in M33
Jump to instruction Jump to 310. Next, this instruction causes a jump to the instruction 200 that jumps to the module 1 on the instruction RAM 34, and from this instruction 200 to the module 1501 of the built-in control ROM 33 to be executed.

【0032】逆に、EMCモジュール1が内蔵モジュー
ル1よりも新しい場合には、図6の(B)に示すよう
に、パワーON時に、EMCモジュール1へジャンプす
る命令403を命令RAM34へコピーしてモジュール
1へジャンプする命令200とされる。
On the contrary, when the EMC module 1 is newer than the built-in module 1, as shown in FIG. 6B, the instruction 403 for jumping to the EMC module 1 is copied to the instruction RAM 34 when the power is turned on. The instruction 200 is to jump to module 1.

【0033】そして、EMC制御ROM60内にてモジ
ュール1を実行しようとした場合(モジュール1実行命
令500)、まずEMC制御ROM60内の命令RAM
上ジャンプテーブルモジュール1へジャンプする命令4
10へジャンプする。次に、この命令により、命令RA
M34上のモジュール1へジャンプする命令200へジ
ャンプし、この命令200からEMC制御ROM60の
モジュール1 503へジャンプし、実行される。
When the module 1 is to be executed in the EMC control ROM 60 (module 1 execution instruction 500), first, the instruction RAM in the EMC control ROM 60.
Instruction 4 to jump to the upper jump table module 1
Jump to 10. Next, this instruction causes the instruction RA
The instruction 200 for jumping to the module 1 on the M34 is jumped to, and from this instruction 200, jumping to the module 1 503 of the EMC control ROM 60 is executed.

【0034】また、内蔵制御ROM33内にてモジュー
ル1を実行しようとした場合(モジュール1実行命令5
02)、まず内蔵制御ROM33内の命令RAM上ジャ
ンプテーブルモジュール1へジャンプする命令310へ
ジャンプする。次に、この命令により、命令RAM34
上のモジュール1へジャンプする命令200へジャンプ
し、この命令200からEMC制御ROM60のモジュ
ール1 503へジャンプし、実行される。
When the module 1 is executed in the built-in control ROM 33 (module 1 execution instruction 5
02), first jump to the instruction 310 that jumps to the jump table module 1 on the instruction RAM in the built-in control ROM 33. Next, this instruction causes the instruction RAM 34
It jumps to the instruction 200 which jumps to the module 1 above, and from this instruction 200 jumps to the module 1 503 of the EMC control ROM 60 and is executed.

【0035】このように、基本ファームウェア(BO
S)及びエミュレーション上位ファームウェア(AP
L)共に固有のバージョンをプログラム中に持たせ、別
々にバージョンアップした際等に、バージョンチェック
を行い、互換性の判断を行う。そして、新規コマンド追
加によるEMC側だけをバージョンアップした場合、B
OSのバージョンが未対応ならばNop等の処理が行
え、誤動作等を防げる。また、印字装置内蔵制御ROM
にAPLが搭載されているような場合、内蔵制御ROM
のAPLとEMC制御ROMのAPLが同一で別バージ
ョンのような場合に、BOS及び内蔵制御ROMのAP
L、EMC制御ROMのAPLのバージョンをチェック
することにより、最適の環境下で動作できる。
In this way, the basic firmware (BO
S) and emulation upper firmware (AP
L) Both have a unique version in the program, and when the versions are separately upgraded, the version is checked and the compatibility is determined. Then, when only the EMC side is upgraded by adding a new command, B
If the OS version is not compatible, processing such as Nop can be performed to prevent malfunctions. Also, the control ROM with built-in printing
Built-in control ROM when APL is installed in
If the APL of the same and the APL of the EMC control ROM are the same and different versions are used, the AP of the BOS and the built-in control ROM
By checking the APL version of the L and EMC control ROMs, it is possible to operate under the optimum environment.

【0036】なお、本発明の上記実施態様によれば以下
のごとき構成が得られる。 (1) 上位装置から転送される印字情報を、当該装置
に内蔵されたメモリと外付けされたメモリとに記憶され
た制御プログラムに従って解析し、印字動作制御を実行
する処理装置を備えた印字装置に於いて、上記内蔵され
たメモリ及び外付けメモリに記憶される制御プログラム
にそれぞれバージョン情報を備えると共に、各メモリに
記憶された上記バージョン情報を比較認識して、印字動
作の実行/禁止を制御する制御手段を具備することを特
徴とする印字装置。
According to the above embodiment of the present invention, the following constitution can be obtained. (1) A printing apparatus including a processing device that analyzes print information transferred from a higher-level device according to a control program stored in a memory built in the device and an external memory and executes print operation control In this case, the control programs stored in the built-in memory and the external memory are each provided with version information, and the version information stored in each memory is compared and recognized to control execution / prohibition of the printing operation. A printing device comprising:

【0037】(2) 上記バージョン情報を比較認識
し、適合するメモリに記憶されたプログラムを選択して
上記処理装置に実行させる選択手段をさらに具備するこ
とを特徴とする(1)に記載の印字装置。
(2) The printing according to (1), further comprising selection means for comparing and recognizing the version information, selecting a program stored in a suitable memory and causing the processing device to execute the program. apparatus.

【0038】(3) 上記選択手段は、上記各メモリに
記憶された上記バージョン情報を比較し、新しい方を上
記適合するメモリとして認識する認識手段を含むことを
特徴とする(2)に記載の印字装置。
(3) The selection means includes a recognition means for comparing the version information stored in the memories and recognizing the newer one as the compatible memory. Printing device.

【0039】(4) 上記選択手段は、上記各メモリに
記憶された上記バージョン情報を比較し、新しい方のメ
モリに記憶されたプログラムへのジャンプテーブルを作
成するテーブル作成手段を含み、上記処理装置はこのジ
ャンプテーブルを参照して該当するメモリのプログラム
へジャンプして実行する手段を含むことを特徴とする
(2)に記載の印字装置。
(4) The selecting means includes table creating means for comparing the version information stored in the memories and creating a jump table to the program stored in the newer memory, and the processing device. Includes a means for referencing the jump table to jump to a program in a corresponding memory and executing the program, (2).

【0040】(5) 上位装置から転送される印字情報
を、当該装置に内蔵されたメモリと外付けされたメモリ
とに記憶された制御プログラムに従って解析し、印字動
作制御を実行する処理装置を備えた印字装置に於いて、
上記内蔵されたメモリ及び外付けメモリに記憶される制
御プログラムにそれぞれバージョン情報を用意するステ
ップと、各メモリに記憶された上記バージョン情報を比
較認識して、印字動作の実行/禁止を制御するステップ
とを具備することを特徴とする印字装置の制御方法。
(5) The printer is provided with a processor for analyzing print information transferred from the host device according to a control program stored in a memory built in the device and an external memory, and executing print operation control. In the printing device,
A step of preparing version information in each of the control programs stored in the built-in memory and the external memory, and a step of comparing and recognizing the version information stored in each memory to control execution / prohibition of the printing operation. A method for controlling a printing apparatus, comprising:

【0041】(6) 上記バージョン情報を比較認識
し、適合するメモリに記憶されたプログラムを選択して
上記処理装置に実行させるステップをさらに具備するこ
とを特徴とする(5)に記載の印字装置の制御方法。
(6) The printer according to (5), further comprising a step of comparing and recognizing the version information, selecting a program stored in a suitable memory and causing the processing device to execute the program. Control method.

【0042】(7) 上記プログラムを選択して実行さ
せるステップは、上記各メモリに記憶された上記バージ
ョン情報を比較し、新しい方を上記適合するメモリとし
て認識するステップを含むことを特徴とする(6)に記
載の印字装置の制御方法。
(7) The step of selecting and executing the program includes a step of comparing the version information stored in the memories and recognizing the newer one as the compatible memory ( 6) A method for controlling a printing device according to 6).

【0043】(8) 上記プログラムを選択して実行さ
せるステップは、上記各メモリに記憶された上記バージ
ョン情報を比較し、新しい方のメモリに記憶されたプロ
グラムへのジャンプテーブルを作成するステップを含
み、上記処理装置はこのジャンプテーブルを参照して該
当するメモリのプログラムへジャンプして実行すること
を特徴とする(6)に記載の印字装置の制御方法。
(8) The step of selecting and executing the program includes a step of comparing the version information stored in each memory and creating a jump table to the program stored in the newer memory. The method for controlling a printing apparatus according to (6), wherein the processing apparatus refers to the jump table and jumps to and executes a program in a corresponding memory.

【0044】[0044]

【発明の効果】以上詳述したように、本発明によれば、
装置本体内蔵の制御プログラムROMと外付け制御プロ
グラムROMのバージョンが不一致であっても不都合な
印字動作が行われないような印字装置を提供することが
できる。
As described in detail above, according to the present invention,
It is possible to provide a printing apparatus in which an inconvenient printing operation is not performed even if the versions of the control program ROM incorporated in the apparatus main body and the external control program ROM do not match.

【0045】また、本発明によれば、内蔵制御プログラ
ムに対してバージョンアップされた時に、外付けカート
リッジによりバージョンアップROMを提供し動作させ
ることができる印字装置を提供することができる。
Further, according to the present invention, it is possible to provide a printing apparatus capable of providing and operating the version-up ROM by the external cartridge when the version of the built-in control program is upgraded.

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

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

【図2】命令RAMに於けるジャンプテーブルの構成例
を示す図である。
FIG. 2 is a diagram showing a configuration example of a jump table in an instruction RAM.

【図3】(A)及び(B)は内蔵制御ROM及びEMC
制御ROMに於けるジャンプテーブルの構成例を示す図
である。
3A and 3B are a built-in control ROM and an EMC.
It is a figure which shows the structural example of the jump table in control ROM.

【図4】命令RAMに於けるジャンプテーブルの作成動
作のフローチャートである。
FIG. 4 is a flowchart of a jump table creating operation in an instruction RAM.

【図5】ジャンプテーブル構成例と移行例を示す図であ
る。
FIG. 5 is a diagram showing a jump table configuration example and a migration example.

【図6】(A)及び(B)はそれぞれ別のジャンプテー
ブル構成例と移行例を示す図である。
6A and 6B are diagrams showing another jump table configuration example and a transition example, respectively.

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

10…ホストコンピュータ、20…印字装置、30…I
/Fコントローラ、31…ホストI/F、32…MP
U、33…内蔵制御ROM、34…命令RAM、35…
受信バッファ、36…イメージデータ発生部、37…イ
メージメモリ、40…印字部、50…プリンタI/F、
60…EMC制御ROM、300,400…ジャンプテ
ーブル作成用データ、301,401…BOS用バージ
ョンデータ、302,402…APL用バージョンデー
タ、303,304…モジュール1へジャンプする命
令、304,404…モジュール2へジャンプする命
令、305,405…モジュール3へジャンプする命
令、310,410…ジャンプテーブルモジュール1へ
ジャンプする命令、311,411…ジャンプテーブル
モジュール2へジャンプする命令、312,412…ジ
ャンプテーブルモジュール3へジャンプする命令、50
0,502…モジュール1実行命令、501,503…
モジュール1。
10 ... Host computer, 20 ... Printing device, 30 ... I
/ F controller, 31 ... Host I / F, 32 ... MP
U, 33 ... Built-in control ROM, 34 ... Instruction RAM, 35 ...
Reception buffer, 36 ... Image data generating section, 37 ... Image memory, 40 ... Printing section, 50 ... Printer I / F,
60 ... EMC control ROM, 300, 400 ... Jump table creation data, 301, 401 ... BOS version data, 302, 402 ... APL version data, 303, 304 ... Instruction to jump to module 1, 304, 404 ... Module 2 instructions, 305, 405 ... module 3 instructions, 310, 410 ... jump table module 1 instructions, 311, 411 ... jump table module 2 instructions, 312, 412 ... jump table modules Instruction to jump to 3, 50
0,502 ... Module 1 execution instruction, 501,503 ...
Module 1.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 上位装置から転送される印字情報を、当
該装置に内蔵されたメモリと外付けされたメモリとに記
憶された制御プログラムに従って解析し、印字動作制御
を実行する処理装置を備えた印字装置に於いて、 前記内蔵されたメモリ及び外付けメモリに記憶される制
御プログラムにそれぞれバージョン情報を備えると共
に、 各メモリに記憶された前記バージョン情報を比較認識し
て、印字動作の実行/禁止を制御する制御手段を具備す
ることを特徴とする印字装置。
1. A processing device for analyzing print information transferred from a higher-level device according to a control program stored in a memory built in the device and an external memory, and executing print operation control. In the printer, the control program stored in the built-in memory and the external memory is provided with version information, respectively, and the version information stored in each memory is compared and recognized to execute / inhibit the printing operation. A printing apparatus comprising a control unit for controlling the printing apparatus.
【請求項2】 前記バージョン情報を比較認識し、適合
するメモリに記憶されたプログラムを選択して前記処理
装置に実行させる選択手段をさらに具備することを特徴
とする請求項1に記載の印字装置。
2. The printing apparatus according to claim 1, further comprising a selection unit that compares and recognizes the version information, selects a program stored in a compatible memory and causes the processing apparatus to execute the program. .
JP6075643A 1994-04-14 1994-04-14 Printing device Pending JPH07281846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6075643A JPH07281846A (en) 1994-04-14 1994-04-14 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6075643A JPH07281846A (en) 1994-04-14 1994-04-14 Printing device

Publications (1)

Publication Number Publication Date
JPH07281846A true JPH07281846A (en) 1995-10-27

Family

ID=13582145

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6075643A Pending JPH07281846A (en) 1994-04-14 1994-04-14 Printing device

Country Status (1)

Country Link
JP (1) JPH07281846A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312991A (en) * 2017-02-17 2019-10-08 日立汽车系统株式会社 Information processing unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110312991A (en) * 2017-02-17 2019-10-08 日立汽车系统株式会社 Information processing unit

Similar Documents

Publication Publication Date Title
EP0716371B1 (en) Device having automatic OS selecting function
JP2002175258A (en) Printer system
JPH07281846A (en) Printing device
JP3159875B2 (en) Printing method and apparatus, and printing system
JPH0635634A (en) Printer
JP3261233B2 (en) Printing apparatus and processing method
JPH10283129A (en) Printing controller, installation method for printing control program and storage medium
JP3209911B2 (en) Print control device and data processing method of print control device
JPH08185295A (en) Printer and its control method
JP2003195984A (en) Device initializing method in control system, control system, program for executing device initializing method by computer and recording medium stored with this program
JPH09254485A (en) Image forming apparatus
JP2959548B2 (en) Data processing system, data processing apparatus and method, and information storage medium
JP2002259085A (en) Printer system
JPH0926860A (en) Printer and data communication method therefor
KR100243125B1 (en) Image information printing order processing method of computer
JPH08123639A (en) Information processing system and printer used for the same
JP3392095B2 (en) Information processing apparatus, information processing method, and print system
JP3359165B2 (en) Printer control device and printer control method
JP3043525B2 (en) Printing apparatus and print control method
JPH08156371A (en) Image output device, host computer and network housing both of them
JP3123004B2 (en) Printing device
JP2826604B2 (en) Printer device
JPH02178725A (en) Printing controller
JPH08292851A (en) Printer device
JPH1199730A (en) Printer and its control method