JPH06149509A - Printer - Google Patents

Printer

Info

Publication number
JPH06149509A
JPH06149509A JP4326284A JP32628492A JPH06149509A JP H06149509 A JPH06149509 A JP H06149509A JP 4326284 A JP4326284 A JP 4326284A JP 32628492 A JP32628492 A JP 32628492A JP H06149509 A JPH06149509 A JP H06149509A
Authority
JP
Japan
Prior art keywords
host
emulation
emc
program
host device
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
JP4326284A
Other languages
Japanese (ja)
Inventor
Atsushi Kojima
淳 小嶋
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 JP4326284A priority Critical patent/JPH06149509A/en
Publication of JPH06149509A publication Critical patent/JPH06149509A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To enable plural emulations without increasing the number of slots at an emulation cartridge (EMC). CONSTITUTION:An instruction ROM 16 stores an emulation program EM (A) for a host equipment (A). Corresponding to an interrupt request caused by operating an operation panel 28, an MPU 10 down loads an EM (B) from the EMC mounted to a slot 30 to the free area of the instruction RAM 18 and stores a flag showing a host I/F for this area as a host I/F (3) in a system RAM 20. Similarly, the EMC storing an EM (C) and EM (D) are successively down loaded to the free areas of the instruction RAM 18 while designating the slots 30, and flags showing the host I/F for respective areas are stored in the system RAM 20 as host I/F (2) and host I/F (1).

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 that performs a printing operation in response to control information sent from a host device, and in particular, it analyzes print control information output from a plurality of types of host devices. The present invention relates to a multi-emulation printer having a function of executing a corresponding printing operation.

【0002】[0002]

【従来の技術】近年、ワードプロセッサやオフィスコン
ピュータ等のホスト機器に接続されるプリンタとして、
ページプリンタが普及してきている。このようなページ
プリンタ等の印字装置は、ホスト機器から出力された印
字制御情報を解析して、対応する印字動作を実行するも
のであるが、このような印字装置は、通常、複数種類の
上位機器に接続可能に構成されている。即ち、種々のホ
スト機器から種々の印字制御情報が出力されるため、印
字装置は、それらの情報に対応して動作できるような処
理プログラムを用意しなければならない。
2. Description of the Related Art In recent years, as printers connected to host devices such as word processors and office computers,
Page printers are becoming popular. A printing device such as a page printer analyzes print control information output from a host device and executes a corresponding printing operation. It is configured to be connectable to equipment. That is, since various printing control information is output from various host devices, the printing apparatus must prepare a processing program that can operate in accordance with the information.

【0003】このように、或る特定の印字装置に対して
出力される特定の印字情報を受けて、その特定の印字装
置が印字するのと同等の印字処理を行なうための処理プ
ログラムをエミュレーションプログラムと呼んでいる。
As described above, the emulation program is a processing program for receiving the specific print information output to a specific print device and performing the print processing equivalent to the printing by the specific print device. I am calling.

【0004】従来の印字装置では、種々のホスト機器に
対応するために、このエミュレーションプログラムを、
エミュレーションカートリッジ(EMC)のような方式
で供給する方法がとられている。つまり、EMCには、
ホスト機器から送られて来る印字制御情報に対応して動
作するための制御プログラムが記憶されている。
In a conventional printing device, this emulation program is used to support various host devices.
A method such as an emulation cartridge (EMC) is used. In other words, in EMC,
A control program for operating in response to the print control information sent from the host device is stored.

【0005】例えば、セントロニクスインターフェース
(セントロI/F)等、ホスト機器と接続される部分
(ホストI/F)が2箇所ある印字装置では、図5に示
すように、ホスト機器(A)100及び(B)102を
接続する場合、ホスト機器(A)100用のエミョレー
ションプログラムを当該印字装置のメインボード104
上に実装された内蔵制御ROM106に記憶していると
すれば、当該印字装置のスロット108にホスト機器
(B)102用のエミュレーションプログラムを記憶す
る制御ROM110が実装されたEMC112を装着す
る。そして、それぞれのホスト機器とエミュレーション
内容を一致させる操作を、不図示オペレーションパネル
により実施する。即ち、ホスト機器(A)100の接続
されたホストI/Fは内蔵制御ROM106(エミュレ
ーション(A))で制御し、ホスト機器(B)102の
接続されたホストI/FはEMC112内の制御ROM
110(エミュレーション(B))で制御させるように
所定の設定操作を行う。
For example, in a printer having two parts (host I / F) connected to the host device such as a Centronics interface (Centro I / F), as shown in FIG. 5, the host device (A) 100 and (B) When the 102 is connected, the emulation program for the host device (A) 100 is installed on the main board 104 of the printer.
If it is stored in the built-in control ROM 106 mounted above, the EMC 112 in which the control ROM 110 storing the emulation program for the host device (B) 102 is mounted is mounted in the slot 108 of the printing apparatus. Then, an operation for matching the emulation content with each host device is performed by an operation panel (not shown). That is, the host I / F connected to the host device (A) 100 is controlled by the built-in control ROM 106 (emulation (A)), and the host I / F connected to the host device (B) 102 is the control ROM in the EMC 112.
A predetermined setting operation is performed so as to control by 110 (emulation (B)).

【0006】[0006]

【発明が解決しようとする課題】通常、EMCのスロッ
トが1個であれば、内蔵の制御ROMによるエミュレー
ションを考慮しても、同時に接続可能なホストI/Fは
2個までである。しかし、ホスト機器の種類は非常に多
く、1台の印字装置に同時接続可能な機種が多ければ多
いほどユーザにとってはホスト機器毎に印字装置を用意
する必要が無くなり、設備投資を減少させることができ
る。
Normally, if there is one EMC slot, up to two host I / Fs can be connected at the same time even if the emulation by the built-in control ROM is taken into consideration. However, the types of host devices are very large, and the more models that can be simultaneously connected to one printer, the more it becomes unnecessary for the user to prepare a printer for each host device, which can reduce the capital investment. it can.

【0007】そこで、印字装置に、同時に接続可能なホ
ストI/Fの個数を増やし、またそれに応じて必要なエ
ミュレーションプログラムを用意することが考えられて
いる。
Therefore, it has been considered to increase the number of host I / Fs that can be simultaneously connected to the printer and prepare a necessary emulation program accordingly.

【0008】しかしながら、EMCのスロットを増やさ
ずに、内蔵の制御ROMによるエミュレートを予め複数
対応させておくことにより、エミュレート機種を増やす
方法を採用した場合、エミュレート機種が多いときに
は、多数の組み合わせが生じ、製造コストの増加にな
る。例えば、8種類のエミュレート機種が有り、内蔵と
して1乃至2種類のエミュレートを予め用意しておく場
合には、8+ 82 =8+(8×7)/(2×1)=3
6通りの機種を製造しなければならない。
However, when a method of increasing the number of emulation models by adopting a plurality of emulations by a built-in control ROM without increasing the number of slots of the EMC is adopted, a large number of emulation models are used. Combination occurs, which increases the manufacturing cost. For example, if there are 8 types of emulation models and 1 or 2 types of emulation are prepared in advance, 8 + 8 C 2 = 8 + (8 × 7) / (2 × 1) = 3
We have to manufacture 6 models.

【0009】また、内蔵制御ROMによりエミュレート
機種を増やすことはせずに、EMCスロットを増やすこ
とにより対応するとしても、それら複数のEMCスロッ
トを設けるため、実装が大きくなる、即ち印字装置の大
型化を招いてしまう。
Further, even if the number of EMC slots is increased without increasing the number of emulated models by the built-in control ROM, the plurality of EMC slots are provided, so that the mounting becomes large, that is, the large size of the printing apparatus. Will be changed.

【0010】本発明は、上記の点に鑑みてなされたもの
で、エミュレーションカートリッジのスロット数を増や
さずに、複数のエミュレーションを行うことが可能な印
字装置を提供することを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a printing apparatus capable of performing a plurality of emulations without increasing the number of slots of the emulation cartridge.

【0011】[0011]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明による印字装置は、複数種類のホスト機器
から送られてくる印字制御情報に対応して印字動作を行
うマルチエミュレーション印字装置であって、特に、前
記印字制御情報を解析するための解析プログラムを記憶
するメモリカートリッジを装着するスロットと、該スロ
ットに差し替えて装着された複数のメモリカートリッジ
から記憶された複数の解析プログラムを内部の解析プロ
グラム記憶手段にダウンロードするロード制御手段と、
前記解析プログラム記憶手段に記憶された複数の解析プ
ログラムを選択しながら、前記印字制御情報に対応する
印字処理動作を実行する処理手段とを備えることを特徴
としている。
In order to achieve the above object, a printer according to the present invention is a multi-emulation printer for performing a printing operation in response to print control information sent from a plurality of types of host devices. In particular, a slot in which a memory cartridge storing an analysis program for analyzing the print control information is mounted, and a plurality of analysis programs stored in a plurality of memory cartridges mounted in place of the slot are internally stored. Load control means for downloading to the analysis program storage means of
And a processing unit that executes a print processing operation corresponding to the print control information while selecting a plurality of analysis programs stored in the analysis program storage unit.

【0012】[0012]

【作用】即ち、本発明の印字装置によれば、ロード制御
手段によって、スロットに差し替えて装着された複数の
メモリカートリッジそれぞれから解析プログラムを内部
の解析プログラム記憶手段にダウンロードすることによ
り複数の解析プログラムを解析プログラム記憶手段に記
憶させ、処理手段が、この解析プログラム記憶手段に記
憶された複数の解析プログラムを選択しながら、複数種
類のホスト機器から送られてくる印字制御情報に対応す
る印字処理動作を実行するようにしているため、1個の
スロットを用意するだけで複数のエミュレーションを行
うことが可能となる。
That is, according to the printing apparatus of the present invention, the load control means downloads the analysis program from each of the plurality of memory cartridges mounted by replacing the slots to the internal analysis program storage means to thereby obtain the plurality of analysis programs. Is stored in the analysis program storage means, and the processing means selects a plurality of analysis programs stored in the analysis program storage means, and performs a print processing operation corresponding to the print control information sent from a plurality of types of host devices. Therefore, a plurality of emulations can be performed by preparing one slot.

【0013】[0013]

【実施例】以下、図面を参照して、本発明の一実施例を
説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0014】図1はその構成を示す図で、本実施例の印
字装置は、マイクロプロセッサ(MPU)10、DMA
C(ダイレクトメモリアクセスコントローラ)12、デ
コーダ14、命令ROM16、命令RAM18、システ
ムRAM20、CGROM22、ビデオデータ変換回路
24、I/O制御部26、オペレーションパネル28、
スロット30、アドレスバス32、データバス34より
構成されている。また、上記スロット30には、エミュ
レーションカートリッジ(EMC)が装着されたとき、
そのEMC内部のROM40と接続されるように構成さ
れている。
FIG. 1 is a diagram showing the configuration thereof. The printing apparatus according to the present embodiment includes a microprocessor (MPU) 10 and a DMA.
C (direct memory access controller) 12, decoder 14, instruction ROM 16, instruction RAM 18, system RAM 20, CGROM 22, video data conversion circuit 24, I / O control unit 26, operation panel 28,
It is composed of a slot 30, an address bus 32, and a data bus 34. When an emulation cartridge (EMC) is attached to the slot 30,
It is configured to be connected to the ROM 40 inside the EMC.

【0015】MPU10は、命令ROM16に記憶され
たシステム管理のプログラムに従って、当該印字装置内
の各部の制御を司る。この場合、MPU10は、バスコ
ントローラやアドレスラッチ等を含んでいるものであ
る。つまり、アドレスとリード/ライト信号を出力し、
データのリード/ライトを行なうことのできるMPUブ
ロックである。また、本実施例においては、このMPU
10のメモリ空間は64MBであるものとする。
The MPU 10 controls each part in the printing apparatus according to a system management program stored in the instruction ROM 16. In this case, the MPU 10 includes a bus controller, an address latch and the like. In other words, output address and read / write signal,
It is an MPU block that can read / write data. Further, in this embodiment, the MPU
It is assumed that the memory space of 10 is 64 MB.

【0016】DMAC12は、MPU10とは別系統で
メモリをアクセスするものである。このDMAC12の
内部には、カウンタが構成され、一度動作を開始する
と、指定されたカウント数だけ自動的にメモリをアクセ
スする。
The DMAC 12 accesses the memory in a system different from that of the MPU 10. A counter is formed inside the DMAC 12, and once the operation is started, the memory is automatically accessed by the designated count number.

【0017】デコーダ14は、アドレスバス32を介し
てMPU10もしくはDMAC12より供給されるアド
レス信号(A25〜A23)をデコードして、命令RO
M16,命令RAM18,システムRAM20,CGR
OM22,I/O制御部26,EMC_ROM40を選
択的にイネーブルする。このデコーダ14により、MP
U10から見たメモリマップは、図2に示すようにな
る。なお、デバイスが実装されているエリアは、同図中
にハッチングして示す部分である。
The decoder 14 decodes the address signal (A25 to A23) supplied from the MPU 10 or the DMAC 12 via the address bus 32, and outputs the instruction RO.
M16, instruction RAM 18, system RAM 20, CGR
The OM 22, the I / O control unit 26, and the EMC_ROM 40 are selectively enabled. With this decoder 14, MP
The memory map viewed from U10 is as shown in FIG. The area where the device is mounted is the hatched portion in the figure.

【0018】命令ROM16は、ホスト機器(A)用の
エミュレーションプログラムEM(A)を格納してい
る。
The instruction ROM 16 stores an emulation program EM (A) for the host device (A).

【0019】命令RAM18は、3種類のエミュレーシ
ョンプログラムを格納できる容量を持ち、エリア単位に
命令RAMエリア181 ,182 ,183 とする。
The instruction RAM 18 has a capacity capable of storing three types of emulation programs, and has instruction RAM areas 18 1 , 18 2 and 18 3 in area units.

【0020】システムRAM20は、ホスト機器からの
受信データの一時保管や画像データを作成するために用
いられるメモリである。該システムRAM20に作成さ
れた画像データは、上記DMAC12によりデータバス
34を介してビデオデータ変換回路24に送られる。
The system RAM 20 is a memory used for temporarily storing data received from the host device and creating image data. The image data created in the system RAM 20 is sent by the DMAC 12 to the video data conversion circuit 24 via the data bus 34.

【0021】CGROM22は、漢字等の文字データが
格納されており、このデータをシステムRAM20に展
開して、文字の画像データが形成される。
The CGROM 22 stores character data such as Chinese characters, and this data is expanded in the system RAM 20 to form image data of characters.

【0022】ビデオデータ変換回路24は、システムR
AM20からの画像データをビデオ信号に変換して、不
図示プリンタエンジンに転送し、印字用紙への印字を行
わせる。
The video data conversion circuit 24 is a system R.
The image data from the AM 20 is converted into a video signal and transferred to a printer engine (not shown) to print on a printing paper.

【0023】I/O制御部26は、ホストI/Fとして
のセントロI/Fを通しホスト機器からデータを受け取
る。ホストI/Fは4箇所あり、セントロI/F(1)
(ホストI/F(1)),セントロI/F(2)(ホス
トI/F(2)),セントロI/F(3)(ホストI/
F(3)),セントロI/F(4)(ホストI/F
(4))の順にそれぞれホスト機器(D)501 ,ホス
ト機器(C)502 ,ホスト機器(B)503 ,ホスト
機器(A)504 が接続されている。
The I / O control unit 26 receives data from the host device through the Centro I / F as the host I / F. There are four host I / Fs, and Centro I / F (1)
(Host I / F (1)), Centro I / F (2) (Host I / F (2)), Centro I / F (3) (Host I / F
F (3)), Centro I / F (4) (Host I / F
The host device (D) 50 1 , the host device (C) 50 2 , the host device (B) 50 3 , and the host device (A) 50 4 are connected in the order of (4)).

【0024】オペレーションパネル28は、各種設定操
作を行うためのキースイッチ部28Aと、設定状態表示
やエラー表示等のための液晶表示部(LCD)28Bを
有している。
The operation panel 28 has a key switch section 28A for performing various setting operations and a liquid crystal display section (LCD) 28B for displaying a setting state, an error display and the like.

【0025】スロット30は、EMCが装着されたとき
に、印字装置とEMCの信号ライン及びバスライン間を
接続するためのコネクタ部であって、ダウンロード中で
ない時、EMCの差し替え可能なようにGNDを除きハ
イインピーダンス状態となるよう、3ステートバッファ
30A,30Bと半導体スイッチ30Cを用いて構成さ
れている。
The slot 30 is a connector portion for connecting between the printer and the signal line and bus line of the EMC when the EMC is installed, and the GND is provided so that the EMC can be replaced when not downloading. Except for the above, the three-state buffers 30A and 30B and the semiconductor switch 30C are used so as to attain a high impedance state.

【0026】EMC_ROM40は、ホスト機器(B)
503 用のエミュレートプログラムEM(B),ホスト
機器(C)502 用のエミュレートプログラムEM
(C),ホスト機器(D)501 用のエミュレートプロ
グラムEM(D)の何れか一つを格納している。
The EMC_ROM 40 is a host device (B).
50 3 emulation program EM (B), host device (C) 50 2 emulation program EM
(C), and stores any one of the host device (D) 50 1 for the emulated program EM (D).

【0027】以下、このような構成における動作を説明
する。
The operation in such a configuration will be described below.

【0028】当該印字装置のシステム電源を0Nする
と、MPU10は先ず、アドレス0000000hに割
り当てられている命令ROM16のプログラムを実行す
る。
When the system power of the printing apparatus is turned to 0N, the MPU 10 first executes the program of the instruction ROM 16 assigned to the address 0000000h.

【0029】この命令ROM16には、ホスト機器
(A)504 用のエミョレーションプログラムEM
(A)が格納されているので、ユーザは、ホスト機器
(A)504 が接続されているホストI/F(4)を、
オペレーションパネル28のキースイッチ部28Aを操
作することで選択する。
The instruction ROM 16 includes an emulation program EM for the host device (A) 50 4 .
Since (A) is stored, the user selects the host I / F (4) to which the host device (A) 50 4 is connected,
Selection is made by operating the key switch section 28A of the operation panel 28.

【0030】即ち、このオペレーションパネル28は、
そのキースイッチ操作に応じたインタラプト要求を発生
する。MPU10は、オペレーションパネル28からの
インタラプト要求により、図3に示すような動作を行
う。
That is, the operation panel 28 is
An interrupt request corresponding to the key switch operation is generated. The MPU 10 operates as shown in FIG. 3 in response to an interrupt request from the operation panel 28.

【0031】先ず、オペレーションパネル28からのイ
ンタラプト要求が、ホストI/F番号とエミュレート内
容を一致させる要求であるかどうかを判定する(ステッ
プS1)。もしそうであれば、MPU10は、次のよう
な、命令ROM16内の、ホストI/Fとエミュレート
内容を選択するプログラムを実行する。
First, it is determined whether or not the interrupt request from the operation panel 28 is a request for matching the host I / F number and the emulation content (step S1). If so, the MPU 10 executes the following program in the instruction ROM 16 for selecting the host I / F and the emulated content.

【0032】即ち、図3中に参照番号28B1で示すよ
うに、オペレーションパネル28のLCD28Bに、ホ
ストI/F(1)〜ホストI/F(4)のエミュレート
状況を表示して(ステップS2)、キー入力待ちとなる
(ステップS3)。ユーザは、このLCD表示に従い、
ホスト機器(A)用エミュレーションプログラムEM
(A)がホストI/F(4)に対し実行される表示にな
るようにキースイッチ部28Aのキースイッチを押す。
MPU10は、設定終了の操作が行われるまで(ステッ
プS4)、押されたスイッチの順序を解析し、ホスト機
器(A)用エミュレーションプログラムEM(A)がホ
ストI/F(4)に対し実行されることを、図3中に参
照番号28B2で示すように、LCD表示部28に表示
する。また、ホスト機器(A)用エミュレーションプロ
グラムEM(A)のホストI/FがホストI/F(4)
であることを示すフラグをシステムRAM20に記憶す
る(ステップS5)。
That is, as indicated by reference numeral 28B1 in FIG. 3, the LCD 28B of the operation panel 28 displays the emulation status of the host I / F (1) to host I / F (4) (step S2). ), Waiting for key input (step S3). The user follows this LCD display
Emulation program EM for host device (A)
The key switch of the key switch unit 28A is pressed so that (A) becomes the display executed for the host I / F (4).
The MPU 10 analyzes the order of the pressed switches until the setting end operation is performed (step S4), and the emulation program EM (A) for the host device (A) is executed for the host I / F (4). This is displayed on the LCD display unit 28, as indicated by reference numeral 28B2 in FIG. The host I / F of the emulation program EM (A) for the host device (A) is the host I / F (4).
A flag indicating that is stored in the system RAM 20 (step S5).

【0033】以後、このホスト機器(A)用エミュレー
ションプログラムEM(A)プログラムに従い、MPU
10は、ホストI/F(4)、即ちホスト機器(A)5
4からのデータを受けとって、そのデータを解析し、
画像データを形成する。
Thereafter, according to the emulation program EM (A) program for the host device (A), the MPU
10 is a host I / F (4), that is, a host device (A) 5
And receives the data from 0 to 4, we analyze the data,
Form image data.

【0034】次に、マルチエミュレーションを行う場合
の準備動作を説明する。
Next, the preparatory operation for multi-emulation will be described.

【0035】ユーザは、先ず、ホスト機器(B)用エミ
ュレーションプログラムEM(B)を記憶するEMC_
ROM40を実装したEMCをスロット30に装着し、
オペレーションパネル28のキースイッチ部28Aを操
作する。このオペレーションパネル28の操作によるイ
ンタラプト要求により、MPU10は、図3のステップ
S1より、図4のフローチャートに示すような処理へ進
む。
First, the user uses the EMC_ which stores the emulation program EM (B) for the host device (B).
The EMC with the ROM 40 mounted is mounted in the slot 30,
The key switch section 28A of the operation panel 28 is operated. In response to the interrupt request by operating the operation panel 28, the MPU 10 proceeds from step S1 of FIG. 3 to the processing shown in the flowchart of FIG.

【0036】即ち、上記ステップS1によってホストI
/F番号とエミュレート内容を一致させるインタラプト
要求でない場合には、MPU10は、次に、オペレーシ
ョンパネル28からのインタラプト要求がダウンロード
要求であるのかどうかを判断する(ステップS6)。そ
うであれば、図4中に参照番号28B3で示すように、
オペレーションパネル28のLCD28Bに、ホストI
/F(1)〜ホストI/F(4)のエミュレート状況
と、ダウンロード指定箇所(図中、ハッチングして示
す)60を表示して(ステップS7)、キー入力待ちと
なる(ステップS8)。
That is, the host I
If it is not the interrupt request for matching the / F number and the emulated content, the MPU 10 next determines whether the interrupt request from the operation panel 28 is a download request (step S6). If so, as indicated by reference numeral 28B3 in FIG.
On the LCD 28B of the operation panel 28, the host I
/ F (1) to host I / F (4) emulation status and download designated portion (indicated by hatching in the figure) 60 are displayed (step S7), and key input wait (step S8). .

【0037】ここで、ユーザのオペレーションパネル2
8の操作によって、ダウンロード指定箇所60を変更す
る、例えばホストI/F(3)に対応させる要求が発生
すると(ステップS9)、図4中に参照番号28B4で
示すように、LCD表示部28にダウンロード指定箇所
60を変更表示し、また、命令RAM18におけるダウ
ンロード開始アドレスを変更する(ステップS10)。
Here, the operation panel 2 of the user
When the request for changing the designated download location 60, for example, corresponding to the host I / F (3) is generated by the operation 8 (step S9), the LCD display unit 28 is displayed as indicated by reference numeral 28B4 in FIG. The designated download location 60 is changed and displayed, and the download start address in the instruction RAM 18 is changed (step S10).

【0038】こうして、ダウンロード指定箇所60をホ
ストI/F(3)に対応させた後、オペレーションパネ
ル28のキースイッチ操作によりダウンロード要求が発
生すると(ステップS11)、ダウンロード処理を実行
する(ステップS12)。即ち、MPU10は、半導体
スイッチ30Cを閉じてスロット30に装着されたEM
Cへの電源をONにし、また3ステートバッファ30
A,30BをイネーブルにしてEMC_ROM40の出
力信号をイネーブルにする。EMC内のROM40は、
2000000h〜23FFFFFhにマッピングされ
るので、これを命令RAM18の空きエリア(181
182 ,183 )の内、エリア181 (0800000
h〜0BFFFFFh)にコピー、即ちダウンロードす
る。そして、このエリア181 用のホストI/Fを示す
フラグをホストI/F(3)として、システムRAM2
0に記憶する。ダウンロードが終了したならば、EMC
への出力信号をディスイネーブルにして、EMCへの電
源をOFFする。この時、オペレーションパネル28の
LCD28Bには、図4中に参照番号28B5で示すよ
うに、ホストI/F(3)に対応するエミュレーション
プログラムがEM(B)であることを示す表示がなされ
る。
In this way, when the designated download point 60 is made to correspond to the host I / F (3) and a download request is generated by operating the key switch of the operation panel 28 (step S11), the download process is executed (step S12). . That is, the MPU 10 closes the semiconductor switch 30C and mounts the EM in the slot 30.
Turn on the power to C, and use the 3-state buffer 30
A and 30B are enabled to enable the output signal of the EMC_ROM 40. ROM40 in EMC is
Since it is mapped to 2000000h to 23FFFFFh, this is mapped to the empty area (181, 18 1 of the instruction RAM 18).
Area 18 1 (0800000) of 18 2 and 18 3 )
h to 0BFFFFFh), that is, download. Then, the flag indicating the host I / F for the area 18 1 is set as the host I / F (3) and the system RAM 2
Store at 0. When the download is complete, EMC
The output signal to the EMC is disabled and the power to the EMC is turned off. At this time, the LCD 28B of the operation panel 28 displays a display indicating that the emulation program corresponding to the host I / F (3) is EM (B), as indicated by reference numeral 28B5 in FIG.

【0039】次に、ユーザは、スロット30に装着され
ているEMCをホスト機器(C)用エミュレーションプ
ログラムEM(C)を記憶しているものに差し替え、オ
ペレーションパネル28を操作し、以下前述と同様に、
ホスト機器(C)用エミュレーションプログラムEM
(C)を命令RAM18の空きエリア182 (0C00
000h〜0FFFFFFh)にダウンロードし、この
エリア182 用のホストI/Fを示すフラグをホストI
/F(2)として、システムRAM20に記憶する。
Next, the user replaces the EMC mounted in the slot 30 with the one storing the emulation program EM (C) for the host device (C), operates the operation panel 28, and so on. To
Emulation program EM for host device (C)
(C) is an empty area 18 2 (0C00
000h to 0FFFFFFh), and set a flag indicating the host I / F for this area 18 2 to the host I
/ F (2) is stored in the system RAM 20.

【0040】ホスト機器(D)用エミュレーションプロ
グラムEM(D)も同様に、命令RAM18の空きエリ
ア183 (1000000h〜13FFFFFh)にダ
ウンロードし、このエリア183 用のホストI/Fを示
すフラグをホストI/F(1)として、システムRAM
20に記憶する。
Similarly, the emulation program EM (D) for the host device (D) is also downloaded to the empty area 18 3 (1000000h to 13FFFFFh) of the instruction RAM 18, and the flag indicating the host I / F for this area 18 3 is set to the host. System RAM as I / F (1)
Store in 20.

【0041】以上により、命令ROM16エリアの内容
はホスト機器(A)用エミュレーションプログラムEM
(A)でホストI/F(4)からのデータを受信し、命
令RAMエリア181 の内容はホスト機器(B)用エミ
ュレーションプログラムEM(B)でホストI/F
(3)からのデータを受信し、命令RAMエリア182
の内容はホスト機器(C)用エミュレーションプログラ
ムEM(C)でホストI/F(2)からのデータを受信
し、命令RAMエリア183 の内容はホスト機器(D)
用エミュレーションプログラムEM(D)でホストI/
F(1)からのデータを受信するシステムになる。
As described above, the contents of the instruction ROM 16 area are the emulation program EM for the host device (A).
(A) receives data from the host I / F (4), and the contents of the instruction RAM area 18 1 are stored in the host I / F by the emulation program EM (B) for the host device (B).
The data from (3) is received, and the instruction RAM area 18 2
Is received by the emulation program EM (C) for the host device (C) from the host I / F (2), and the contents of the instruction RAM area 18 3 is the host device (D).
Host emulation program EM (D) for host I /
The system receives data from F (1).

【0042】今、ホストI/F(4)でデータが受信さ
れたならば、MPU10は、命令ROM16の内容に従
い、データを解析し、画像を作って印字動作を行う。こ
の最中に、ホストI/F(1)でデータが受信されたな
らば、MPU10は、命令ROM16での排紙命令を実
行し、排紙終了次第、命令RAMエリア183 のホスト
I/F(1)のデータをリードするプログラムの所へジ
ャンプし、以後、ホスト機器(B)用エミュレーション
プログラムEM(B)のプログラムを実行し、画像を作
って印字動作を行う。
When data is received by the host I / F (4), the MPU 10 analyzes the data according to the contents of the instruction ROM 16, creates an image, and performs a printing operation. During this time, if data is received by the host I / F (1), the MPU 10 executes the paper discharge command in the instruction ROM 16, and as soon as the paper discharge is completed, the host I / F in the instruction RAM area 18 3 The process jumps to the program for reading the data in (1), and then the program of the emulation program EM (B) for the host device (B) is executed to create an image and perform the printing operation.

【0043】以上のようにして、内蔵ROM(命令RO
M16)のエミュレーションプログラムを増やすことな
く、且つまたEMC用スロット30が1個のままで、複
数のエミュレーションプログラムをダウンロードして、
マルチエミュレーションを実行することが可能となる。
よって、EMC用スロット30は、1つで良いので、実
装が大きくならなくて済む。
As described above, the built-in ROM (command RO
M16) without increasing the emulation program, and with one EMC slot 30 remaining, download a plurality of emulation programs,
It becomes possible to execute multi-emulation.
Therefore, only one EMC slot 30 is needed, and the mounting does not need to be large.

【0044】また、1つのEMCスロット30で複数の
エミュレーションを行う場合、従来は、1つのEMCに
複数のエミュレーションプログラムを入れる必要があっ
たが、市場に出回っているエミュレーションの種類は多
数存在し、内蔵するエミュレーションプログラムの組み
合わせを限定せざるを得なかった。本実施例の印字装置
によれば、1種類をエミュレーションするEMCをエミ
ュレーションが必要になる数だけ用意すればよく、無駄
がなくなる。
Further, when performing a plurality of emulations with one EMC slot 30, conventionally, it was necessary to put a plurality of emulation programs in one EMC, but there are many types of emulations on the market. There was no choice but to limit the combinations of built-in emulation programs. According to the printing apparatus of the present embodiment, it suffices to prepare the number of EMCs for emulating one type as many as necessary for emulation, thus eliminating waste.

【0045】なお、本発明は、上記実施例に限定される
ものではなく、種々の変更変形が可能なことはもちろん
である。例えば、ホストI/FはセントロI/Fに限ら
ず、RS−232Cのようなシリアルインターフェース
であっても良い。
The present invention is not limited to the above-mentioned embodiment, and it goes without saying that various modifications can be made. For example, the host I / F is not limited to the Centro I / F but may be a serial interface such as RS-232C.

【0046】[0046]

【発明の効果】以上詳述したように、本発明によれば、
エミュレーションカートリッジのスロット数を増やさず
に、複数のエミュレーションを行うことが可能な印字装
置を提供することができる。
As described in detail above, according to the present invention,
It is possible to provide a printing apparatus capable of performing a plurality of emulations without increasing the number of slots of the emulation cartridge.

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

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

【図2】図1中のMPUから見たメモリマップである。FIG. 2 is a memory map viewed from the MPU in FIG.

【図3】実施例の動作を説明するための一連のフローチ
ャートの前半部分である。
FIG. 3 is the first half of a series of flowcharts for explaining the operation of the embodiment.

【図4】実施例の動作を説明するための一連のフローチ
ャートの後半部分である。
FIG. 4 is the latter half of a series of flowcharts for explaining the operation of the embodiment.

【図5】従来のダブルエミュレーション印字装置を示す
図である。
FIG. 5 is a diagram showing a conventional double emulation printing device.

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

10…MPU、12…ダイレクトメモリアクセスコント
ローラ(DMAC)、14…デコーダ、16…命令RO
M、18…命令RAM、20…システムRAM、22…
CGROM、24…ビデオデータ変換回路、26…I/
O制御部、28…オペレーションパネル、28A…キー
スイッチ部、28B…液晶表示部(LCD)、30…ス
ロット、32…アドレスバス、34…データバス、40
…エミュレーションカートリッジ(EMC)ROM、5
1 〜504 …ホスト機器。
10 ... MPU, 12 ... Direct memory access controller (DMAC), 14 ... Decoder, 16 ... Instruction RO
M, 18 ... Instruction RAM, 20 ... System RAM, 22 ...
CGROM, 24 ... Video data conversion circuit, 26 ... I /
O control unit, 28 ... Operation panel, 28A ... Key switch unit, 28B ... Liquid crystal display (LCD), 30 ... Slot, 32 ... Address bus, 34 ... Data bus, 40
... Emulation cartridge (EMC) ROM, 5
0 1 to 50 4 ... Host device.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数種類のホスト機器から送られてくる
印字制御情報に対応して印字動作を行うマルチエミュレ
ーション印字装置において、 前記印字制御情報を解析するための解析プログラムを記
憶するメモリカートリッジを装着するスロットと、 該スロットに差し替えて装着された複数のメモリカート
リッジから記憶された複数の解析プログラムを内部の解
析プログラム記憶手段にダウンロードするロード制御手
段と、 前記解析プログラム記憶手段に記憶された複数の解析プ
ログラムを選択しながら、前記印字制御情報に対応する
印字処理動作を実行する処理手段と、 を具備することを特徴とする印字装置。
1. A multi-emulation printer that performs a printing operation in response to print control information sent from a plurality of types of host devices, and is equipped with a memory cartridge that stores an analysis program for analyzing the print control information. Slot, a load control means for downloading a plurality of analysis programs stored from a plurality of memory cartridges mounted in place of the slots to an internal analysis program storage means, and a plurality of load control means stored in the analysis program storage means. A printing device comprising: a processing unit that executes a print processing operation corresponding to the print control information while selecting an analysis program.
JP4326284A 1992-11-12 1992-11-12 Printer Pending JPH06149509A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4326284A JPH06149509A (en) 1992-11-12 1992-11-12 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4326284A JPH06149509A (en) 1992-11-12 1992-11-12 Printer

Publications (1)

Publication Number Publication Date
JPH06149509A true JPH06149509A (en) 1994-05-27

Family

ID=18186051

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4326284A Pending JPH06149509A (en) 1992-11-12 1992-11-12 Printer

Country Status (1)

Country Link
JP (1) JPH06149509A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6263305B1 (en) 1997-07-31 2001-07-17 Nec Corporation Software development supporting system and ROM emulation apparatus

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03288926A (en) * 1990-04-05 1991-12-19 Canon Inc Image output device
JPH04318616A (en) * 1991-04-17 1992-11-10 Casio Electron Mfg Co Ltd Printer device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03288926A (en) * 1990-04-05 1991-12-19 Canon Inc Image output device
JPH04318616A (en) * 1991-04-17 1992-11-10 Casio Electron Mfg Co Ltd Printer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6263305B1 (en) 1997-07-31 2001-07-17 Nec Corporation Software development supporting system and ROM emulation apparatus

Similar Documents

Publication Publication Date Title
EP0055553B1 (en) Information processor with initial programme loading
JPS63216125A (en) Printer capable of emulating device type
JPH06149509A (en) Printer
JPH09114614A (en) Printer
US5565895A (en) Programmable controller with independent display
JPH07281986A (en) Extended board, information processor using the same and control method for peripheral device
JP2805642B2 (en) Printer device
JPH06149508A (en) Printer
JP2751088B2 (en) Printing device
JP3019335B2 (en) Program loading method
JPS6212528B2 (en)
JPH0637472Y2 (en) Small electronic calculator
JPS6093567A (en) Electronic computer
JPH056208A (en) Controller and control method therefor
JP2588166B2 (en) Pattern storage medium replacement control device
JP3399709B2 (en) Data extraction method in programmable controller and programmable controller
JPH03263265A (en) Vector processor
JPH01182072A (en) Printer device
JPH0612205A (en) Message display device
JPS59186048A (en) Microprogram control system
JPH05233319A (en) Register saving system
JPH068534A (en) Printer
JP2003186666A (en) Microcomputer and dma control circuit
JPH01271265A (en) Printer
JPH03161828A (en) Printer controller