JPH10114127A - Printer - Google Patents

Printer

Info

Publication number
JPH10114127A
JPH10114127A JP9188043A JP18804397A JPH10114127A JP H10114127 A JPH10114127 A JP H10114127A JP 9188043 A JP9188043 A JP 9188043A JP 18804397 A JP18804397 A JP 18804397A JP H10114127 A JPH10114127 A JP H10114127A
Authority
JP
Japan
Prior art keywords
emulation
data
host
printer
command
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
JP9188043A
Other languages
Japanese (ja)
Other versions
JP3129679B2 (en
Inventor
Hirofumi Nishiwaki
浩文 西脇
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP09188043A priority Critical patent/JP3129679B2/en
Publication of JPH10114127A publication Critical patent/JPH10114127A/en
Application granted granted Critical
Publication of JP3129679B2 publication Critical patent/JP3129679B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve an operability in the changing of an emulation mode in a printer capable of operating the data received from a host computer by a plurality of emulation programs. SOLUTION: A plurality of emulation programs are stored in a memory means 15 or 20. When an emulation selection command is received from a host 2 by receiving means 11, 12, one of the stored emulation programs is selected in response to the emulation selection command to be moved to an emulation area 17. An operation means such as a CPU 111 operates (prints) only the received data from the host 2 by the selected emulation program after the emulation selection command is received.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、複数のエミュレーシ
ョンモードを有するプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer having a plurality of emulation modes.

【0002】[0002]

【従来の技術】一般に、レーザプリンタ等のプリンタに
おいて、ドットプリンタ,デイジーホイールプリンタあ
るいはその他のページプリンタ等の複数のエミュレーシ
ョンモードを有するものがある。
2. Description of the Related Art In general, some printers such as laser printers have a plurality of emulation modes such as a dot printer, a daisy-wheel printer and other page printers.

【0003】このようなプリンタにおいては、プリンタ
本体にDIPスイッチを設けて所要のエミュレーション
モードを選択するようにしている。
In such a printer, a required emulation mode is selected by providing a DIP switch on the printer body.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うにDIPスイッチによってモードを選択するのでは、
モードを変更する際に一々スイッチを操作しなければな
らないし、またモード変更時には変更前のモードのデー
タ処理の終了を確認しなければならない等操作性が悪い
という問題がある。この発明は上記の点に鑑みてなされ
たものであり、操作性を向上することを目的とする。
However, when the mode is selected by the DIP switch as described above,
When the mode is changed, the switch must be operated one by one, and when the mode is changed, the end of the data processing of the mode before the change must be confirmed. The present invention has been made in view of the above points, and has as its object to improve operability.

【0005】[0005]

【課題を解決するための手段】この発明は上記の目的を
達成するため、ホストからのコマンドによってエミュレ
ーションモードを設定する機能を備えたものである。
In order to achieve the above object, the present invention has a function of setting an emulation mode by a command from a host.

【0006】[0006]

【発明の実施の形態】以下、この発明の実施形態を図面
に基づいて具体的に説明する。図1はこの発明を実施し
たレーザプリンタを示すブロック図である。プリンタコ
ントローラ1は、中央処理装置,ROM,RAM及びI
/O等からなるマイクロコンピュータ(CPU)11
と、ホストインタフェース(I/F)12と、フォント
ROM14と、プログラムROM15と、RAM16
と、エミュレーションエリア17と、エンジンインタフ
ェース(I/F)18と、ビデオバッファ19と、補助
記憶装置20とからなり、このプリンタコントローラ1
にはホスト2,フロントパネル3及びプリンタエンジン
4が接続される。
Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram showing a laser printer embodying the present invention. The printer controller 1 includes a central processing unit, a ROM, a RAM,
Microcomputer (CPU) 11 composed of / O etc.
, A host interface (I / F) 12, a font ROM 14, a program ROM 15, and a RAM 16
, An emulation area 17, an engine interface (I / F) 18, a video buffer 19, and an auxiliary storage device 20.
Is connected to the host 2, the front panel 3, and the printer engine 4.

【0007】CPU11は、このプリンタコントローラ
1全体の統括制御を司る処理装置であり、汎用の16ビ
ット又は32ビットのマイクロコンピュータを使用す
る。このCPU11の内部ROMにはホスト2からのエ
ミュレーションモードを指定するエミュレーション選択
コマンドを受領するプログラムを格納している。
[0007] The CPU 11 is a processing device that performs overall control of the printer controller 1, and uses a general-purpose 16-bit or 32-bit microcomputer. The internal ROM of the CPU 11 stores a program for receiving an emulation selection command from the host 2 for specifying an emulation mode.

【0008】ホストインタフェース12は、オフィスコ
ンピュータ,パーソナルコンピュータ,ワードプロセッ
サ,画像編集処理装置等のホスト2との間でデータを送
受するためのインタフェースであり、ホスト2に合わせ
て各種のパラレルインタフェースあるいはシリアルイン
タフェースを選択する。
A host interface 12 is an interface for transmitting and receiving data to and from a host 2 such as an office computer, a personal computer, a word processor, and an image editing processing device. Select

【0009】フォントROM14は、プリンタとして必
要最小限のフォントデータを格納している。プログラム
ROM15は、プリンタコントローラ1を動作させるた
めのCPU11の各種処理プログラムを格納し、ホスト
2から受領したエミレーション選択コマンドで指定され
たエミュレーションモードを設定するプログラムもここ
に格納している。
The font ROM 14 stores the minimum necessary font data for a printer. The program ROM 15 stores various processing programs of the CPU 11 for operating the printer controller 1, and also stores therein a program for setting an emulation mode specified by an emulation selection command received from the host 2.

【0010】RAM16は、大容量のランダムアクセス
メモリであり、主として、インプットバッファ,ページ
バッファ,フォントファイル,およびシステムメモリと
して使用する。なお、各バッファ及びファイルはシステ
ムメモリとして使用する領域以外のRAM領域を必要な
量だけ事前に確保して使用する。
The RAM 16 is a large-capacity random access memory, and is mainly used as an input buffer, a page buffer, a font file, and a system memory. It is to be noted that a necessary amount of a RAM area other than an area used as a system memory is reserved and used for each buffer and file in advance.

【0011】なお、各バッファ及びファイルについて詳
述すると、インプットバッファは、ホスト2からホスト
インタフェース12を通じて受領したデータを一時的に
保持するためのバッファであり、そのデータをプリント
ソフトウェアにより順次取出して、そのデータが実際に
記憶されているソースアドレスとビデオバッファ19の
どこにビデオデータを作るかを指定するデイスティネー
ションアドレス及びサイズ情報等を付加してページバッ
ファにページデータを生成する。
The buffers and files will be described in detail. The input buffer is a buffer for temporarily holding data received from the host 2 through the host interface 12, and the data is sequentially taken out by the print software. The page data is generated in the page buffer by adding a source address where the data is actually stored, a destination address designating where in the video buffer 19 the video data is created, size information, and the like.

【0012】このページデータとフォントファイルのフ
ォントデータとフォントROM14のフォントデータ
(ソースデータ)を用いてビデオバッファ19上にビデ
オデータを生成する。
Video data is generated on the video buffer 19 using the page data, the font data of the font file, and the font data (source data) in the font ROM 14.

【0013】フォントファイルには、ホスト2からのフ
ォントデータがホストインタフェース12を通じてダウ
ンロードされ、あるいは補助記憶装置20として装着さ
れたフォントカートリッジからのフォントデータがロー
ドされる。
In the font file, font data from the host 2 is downloaded through the host interface 12, or font data from a font cartridge mounted as the auxiliary storage device 20 is loaded.

【0014】なお、RAM16には、ホスト2からのダ
ウンロードフォントデータ及びフォントカートリッジか
らのロードフォントデータを管理するために、フォント
データを格納したフォントファイルのアドレス,フォン
トの大きさ,フォントのネーム等のフォント管理情報も
格納する。
In the RAM 16, in order to manage the downloaded font data from the host 2 and the loaded font data from the font cartridge, the address of the font file storing the font data, the font size, the font name, and the like are stored. Also stores font management information.

【0015】エミュレーションエリア17は、エミュレ
ーションモードを実行するときにエミュレーションプロ
グラム及びそのワークエリア(エミュレーションワーク
エリア)を移入するエリアである。
The emulation area 17 is an area into which the emulation program and its work area (emulation work area) are transferred when the emulation mode is executed.

【0016】エンジンI/F18は、プリンタエンジン
4との間で必要な制御データ等の送受を司るインタフェ
ースである。ビデオバッファ19は、上述したように作
成されたビデオデータを格納してプリンタエンジン4に
読出される。
The engine I / F 18 is an interface for transmitting and receiving necessary control data and the like to and from the printer engine 4. The video buffer 19 stores the video data created as described above and is read out by the printer engine 4.

【0017】補助記憶装置20は、ICカード,フォン
トカートリッジ,ダウンロードファイル等である。エミ
レーションモードを実行するエミュレーションプログラ
ムは、この補助記憶装置20又はプログラムROM15
上に格納する。次に、このように構成したこの実施例の
作用について図2以降をも参照して説明する。
The auxiliary storage device 20 is an IC card, a font cartridge, a download file, and the like. An emulation program for executing the emulation mode is stored in the auxiliary storage device 20 or the program ROM 15.
Store above. Next, the operation of this embodiment thus configured will be described with reference to FIGS.

【0018】まず、エミュレーションモードの処理につ
いて図2を参照して説明すると、複数のエミュレーショ
ンモードである例えばエミュレーション1〜エミュレー
ションnを実行する各エミュレーションプログラムは、
前述したように補助記憶装置20又はプログラムROM
15に格納しているが、ここではプログラム実行時に
は、エミュレーションエリア17にエミュレーションプ
ログラム及びそのワークエリアを移すようにしているの
で、ホスト2からエミュレーション選択コマンドを受領
したときには、当該コマンド以前に受領しているデータ
を処理し終った後に、当該コマンドで示されるエミュレ
ーションを実行するエミュレーションプログラム及びそ
のエミュレーションワークエリアをエミュレーションエ
リア17に移して処理を実行する。
First, the processing in the emulation mode will be described with reference to FIG. 2. Each emulation program for executing a plurality of emulation modes, for example, emulation 1 to emulation n,
As described above, the auxiliary storage device 20 or the program ROM
15, the emulation program and its work area are moved to the emulation area 17 when the program is executed. Therefore, when the emulation selection command is received from the host 2, the emulation selection command is received before the command. After processing the stored data, the emulation program for executing the emulation indicated by the command and the emulation work area are moved to the emulation area 17 to execute the processing.

【0019】次に、プリンタコントローラ1のデータ処
理は、図3に示すように、ホスト2からデータを受信し
たときには、まず受信後直ちに実行を要するコマンドを
認識して実行し、次いで通常のコマンドを認識して実行
した後、ページバッファを作成してビットイメージをプ
リンタエンジン4に送出し、用紙の排紙処理に移行す
る。
Next, as shown in FIG. 3, when data is received from the host 2, the data processing of the printer controller 1 first recognizes and executes a command that needs to be executed immediately after the reception, and then executes a normal command. After the recognition and execution, a page buffer is created, the bit image is sent to the printer engine 4, and the process proceeds to the sheet discharging process.

【0020】したがって、最初の処理で受信後直ちに実
行を要するコマンドとしてのエミュレーション選択コマ
ンドを識認できるので、ソフト的に通常のコマンドを認
識して実行の終了を確認した後、直ちにエミュレーショ
ンモードの変更を実行することができる。
Therefore, the emulation selection command as a command that needs to be executed immediately after reception in the first processing can be recognized, so that the emulation mode is changed immediately after recognizing a normal command by software and confirming the end of execution. Can be performed.

【0021】また、時間的なずれを考慮する必要がない
ので、ホスト2側はファイルを連続的に送出できる。こ
れに対して、スイッチでエミュレーションモードを選択
する場合には、コマンドによる処理の終了を確認しなけ
ればならないが、ビットイメージのプリンタエンジンへ
の送出の完了を確認するためには、通常は排紙処理の実
行を確認しなければ分らないので時間がかかる。
Since there is no need to consider a time lag, the host 2 can continuously send files. On the other hand, when the emulation mode is selected by the switch, the end of the processing by the command must be confirmed. However, in order to confirm the completion of the transmission of the bit image to the It takes time because you have to confirm the execution of the process.

【0022】つまり、図4に示すようにホスト2側はフ
ァイルの送出に先立ってエミュレーション選択コマンド
を送出し、その後ファイルを送出する。一方、プリンタ
コントローラ1は図5に示すように、インプットバッフ
ァにホスト2からの受信データが有ればその受信データ
を読み出してコマンドかデータかを判別する。
That is, as shown in FIG. 4, the host 2 sends an emulation selection command before sending a file, and then sends the file. On the other hand, as shown in FIG. 5, if there is received data from the host 2 in the input buffer, the printer controller 1 reads the received data and determines whether it is a command or data.

【0023】そして、受信データがコマンドであれば、
そのコマンドがエミュレーション選択コマンドか否かを
判別し、エミュレーション選択コマンドであれば、その
エミュレーション選択コマンドで指定されたエミュレー
ションモードに設定し、エミュレーション選択コマンド
でなければその他のコマンド処理をし、また受信データ
がデータであれば、そのデータをプリントアウトするた
めのデータ処理をする。
If the received data is a command,
It is determined whether the command is an emulation selection command. If the command is an emulation selection command, the emulation mode specified by the emulation selection command is set. If the command is not an emulation selection command, other command processing is performed. Is data, data processing for printing out the data is performed.

【0024】このように、このプリンタはホスト2から
のエミュレーション選択コマンドを認識したときには、
このエミュレーション選択コマンド以前に受信したデー
タについては変更前のエミュレーションモードで全て処
理(印字)した後、エミュレーション選択コマンドで指
定されたエミュレーションモード以後に受信したデータ
を処理(印字)する。
Thus, when the printer recognizes the emulation selection command from the host 2,
After processing (printing) all the data received before this emulation selection command in the emulation mode before the change, the data received after the emulation mode specified by the emulation selection command is processed (printing).

【0025】例えば、エミュレーション1でファイル1
を印字し、エミュレーション2でファイル2を印字する
場合、ホスト2は図6に示すように、エミュレーション
1を指定するエミュレーション選択コマンドを送出した
後ファイル1のデータを送出し、次いでエミュレーショ
ン2を指定するエミュレーション選択コマンドを送出し
た後ファイル2のデータを送出する。
For example, in emulation 1, file 1
When printing a file 2 by emulation 2, the host 2 sends an emulation selection command specifying the emulation 1, sends the data of the file 1, and then specifies the emulation 2, as shown in FIG. After transmitting the emulation selection command, the data of file 2 is transmitted.

【0026】それによって、このプリンタは図7に示す
ように、エミュレーション1に設定した後受信したファ
イル1のデータを全てプリントアウトし、次いでエミュ
レーション2に設定した後受信したファイル2のデータ
を全てプリントアウトする。
As a result, as shown in FIG. 7, the printer prints out all the data of the file 1 received after setting the emulation 1 and then prints all the data of the file 2 received after setting the emulation 2. Out.

【0027】このように、このプリンタにおいては、ホ
スト側からのコマンドに応じてエミユレーションモード
を設定する機能を備えたので、エミュレーションモード
を変更する際に一々スイッチを操作したり、モード変更
時には変更前のモードのデータ処理の終了を確認したり
する必要がなくなって操作性が向上する。
As described above, this printer is provided with a function of setting the emulation mode in response to a command from the host side. Therefore, when changing the emulation mode, one switch must be operated. There is no need to confirm the end of the data processing in the mode before the change, and the operability is improved.

【0028】[0028]

【発明の効果】以上説明したように、この発明によれ
ば、プリンタを直接操作しないでもエミュレーションモ
ードを選択できるので操作性が向上し、またホスト側は
データを連続的に送出できるので印字に要する時間を短
縮できる。
As described above, according to the present invention, the emulation mode can be selected without directly operating the printer, so that the operability is improved, and the host can continuously transmit data, so that printing is necessary. You can save time.

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

【図1】この発明を実施したレーザプリンタのブロック
図である。
FIG. 1 is a block diagram of a laser printer embodying the present invention.

【図2】同じくそのエミュレーションモードの処理の実
行方法の説明に供する説明図である。
FIG. 2 is an explanatory diagram for explaining a method of executing the processing in the emulation mode.

【図3】同じくプリンタのデータ受信時の処理を示すフ
ロー図である。
FIG. 3 is a flowchart showing a process when the printer receives data.

【図4】同じくホスト側の処理を示すフロー図である。FIG. 4 is a flowchart showing processing on the host side.

【図5】同じくプリンタ側の処理を示すフロー図であ
る。
FIG. 5 is a flowchart showing a process on the printer side.

【図6】同じくホスト側の処理の具体例を示すフロー図
である。
FIG. 6 is a flowchart showing a specific example of processing on the host side.

【図7】同じくプリンタ側の処理の具体例を示すフロー
図である。
FIG. 7 is a flowchart showing a specific example of processing on the printer side.

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

1:プリンタコントローラ 2:ホスト 4:プリンタエンジン 11:マイクロコンピュータ(CPU) 16:RAM 17:エミュレーションエリア 19:ビデオバッファ 20:補助記憶装置 1: Printer controller 2: Host 4: Printer engine 11: Microcomputer (CPU) 16: RAM 17: Emulation area 19: Video buffer 20: Auxiliary storage device

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成9年7月14日[Submission date] July 14, 1997

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】全文[Correction target item name] Full text

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【書類名】 明細書[Document Name] Statement

【発明の名称】 プリンタ[Title of the Invention] Printer

【特許請求の範囲】[Claims]

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

【0001】[0001]

【産業上の利用分野】この発明は、ホストに接続され、
該ホストからの受信データを複数のエミュレーションプ
ログラムで処理可能なプリンタに関する。なお、各エミ
ュレーションプログラムによる処理モードをエミュレー
ションモードという。
BACKGROUND OF THE INVENTION This invention is connected to a host,
Receive data from the host by multiple emulation programs
It relates to a printer that can be processed by a program . In addition, each Emi
Emulation of the processing mode by the simulation program
This mode is called an application mode.

【0002】[0002]

【従来の技術】一般に、レーザプリンタ等のプリンタに
おいて、ホストからの受信データを、ドットプリンタ,
デイジーホイールプリンタあるいはその他のページプ
リンタ等に対応する複数のエミュレーションプログラム
によるエミュレーションモードで処理(印字)可能な
のがある。
2. Description of the Related Art Generally, in a printer such as a laser printer, data received from a host is transmitted to a dot printer,
A plurality of emulation programs corresponding to the daisy wheel printer or other page printer or the like,
Is processed (printed) also <br/>'s possible in emulation mode by.

【0003】このようなプリンタにおいては、プリンタ
本体にDIPスイッチを設けて所要のエミュレーション
モードを選択するようにしている。
In such a printer, a required emulation mode is selected by providing a DIP switch on the printer body.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うにDIPスイッチによってエミュレーションモードを
選択するのでは、エミュレーションモードを変更する際
に一々スイッチを操作しなければならないし、またエミ
ュレーションモード変更時には変更前のエミュレーシ
ョンモードによるデータ処理の終了を確認しなければな
らない等操作性が悪いという問題があった。この発明
は上記の点に鑑みてなされたものであり、ホストからの
受信データを複数のエミレーションモードで処理可能な
プリンタの操作性を向上させることを目的とする。
However [0007], of selecting an emulation mode by this way DIP switch, you do not have to operate the switch each time when changing the emulation mode and Emi
When changing the emulation mode , the emulation before the change
However , there is a problem that the operability is poor , for example, it is necessary to confirm the end of the data processing in the operation mode . The present invention has been made in view of the above points, and has been developed by a host.
Receive data can be processed in multiple emulation modes
Aims to make improve the operability of the printer.

【0005】[0005]

【課題を解決するための手段】この発明は上記の目的を
達成するため、ホストに接続され、ホストからの受信デ
ータを複数のエミュレーションプログラムで処理可能な
プリンタであつて、複数のエミュレーションプログラム
を記憶する記憶手段と、ホストから送出されるエミュレ
ーション選択コマンドを受信する受信手段と、この受信
手段によつて受信したエミュレーション選択コマンドに
応じて、上記記憶手段に記憶されている複数のエミュレ
ーションプログラムの中から一つのエミュレーションプ
ログラムを選択し、エミュレーション選択コマンドを受
信した後のホストからの受信データのみを、その選択し
たエミュレーションプログラムによって処理する処理手
段とを備えたプリンタを提供するものである。
In order to achieve the above object, the present invention is connected to a host and receives data from the host.
Data can be processed by multiple emulation programs
Printer and multiple emulation programs
Storage means for storing the
Receiving means for receiving an option selection command;
To the emulation selection command received by the
Accordingly, a plurality of emulations stored in the storage means may be used.
One emulation program from the
Program, and receive an emulation selection command.
Only the data received from the host after transmission is selected.
Processing by the emulation program
SUMMARY OF THE INVENTION It is an object to provide a printer including a step .

【0006】[0006]

【発明の実施の形態】以下、この発明の実施形態を図面
に基づいて具体的に説明する。図1はこの発明を実施し
たレーザプリンタを示すブロック図である。プリンタコ
ントローラ1は、中央処理装置,ROM,RAM及びI
/O等からなるマイクロコンピュータ(CPU)11
と、ホストインタフェース(I/F)12と、フォント
ROM14と、プログラムROM15と、RAM16
と、エミュレーションエリア17と、エンジンインタフ
ェース(I/F)18と、ビデオバッファ19と、補助
記憶装置20とからなり、このプリンタコントローラ1
にはホスト2,フロントパネル3及びプリンタエンジン
4が接続される。
Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram showing a laser printer embodying the present invention. The printer controller 1 includes a central processing unit, a ROM, a RAM,
Microcomputer (CPU) 11 composed of / O etc.
, A host interface (I / F) 12, a font ROM 14, a program ROM 15, and a RAM 16
, An emulation area 17, an engine interface (I / F) 18, a video buffer 19, and an auxiliary storage device 20.
Is connected to the host 2, the front panel 3, and the printer engine 4.

【0007】CPU11は、このプリンタコントローラ
1全体の統括制御を司る処理装置であり、汎用の16ビ
ット又は32ビットのマイクロコンピュータを使用す
る。このCPU11の内部ROMにはホスト2からのエ
ミュレーションモードを指定するエミュレーション選択
コマンドを受領するプログラムを格納している。
[0007] The CPU 11 is a processing device that performs overall control of the printer controller 1, and uses a general-purpose 16-bit or 32-bit microcomputer. The internal ROM of the CPU 11 stores a program for receiving an emulation selection command from the host 2 for specifying an emulation mode.

【0008】ホストインタフェース12は、オフィスコ
ンピュータ,パーソナルコンピュータ,ワードプロセッ
サ,画像編集処理装置等のホスト2との間でデータを送
受するためのインタフェースであり、ホスト2に合わせ
て各種のパラレルインタフェースあるいはシリアルイン
タフェースを選択する。
A host interface 12 is an interface for transmitting and receiving data to and from a host 2 such as an office computer, a personal computer, a word processor, and an image editing processing device. Select

【0009】フォントROM14は、プリンタとして必
要最小限のフォントデータを格納している。プログラム
ROM15は、プリンタコントローラ1を動作させるた
めのCPU11の各種処理プログラムを格納し、ホスト
2から受領したエミレーション選択コマンドに応じて選
択される複数のエミュレーションプログラムもここに格
納している。
The font ROM 14 stores the minimum necessary font data for a printer. The program ROM 15 stores various processing programs of the CPU 11 for operating the printer controller 1, and selects according to an emulation selection command received from the host 2.
A plurality of emulation programs to be selected are also stored here.

【0010】RAM16は、大容量のランダムアクセス
メモリであり、主として、インプットバッファ,ページ
バッファ,フォントファイル,およびシステムメモリと
して使用する。なお、各バッファ及びファイルはシステ
ムメモリとして使用する領域以外のRAM領域を必要な
量だけ事前に確保して使用する。
The RAM 16 is a large-capacity random access memory, and is mainly used as an input buffer, a page buffer, a font file, and a system memory. It is to be noted that a necessary amount of a RAM area other than an area used as a system memory is reserved and used for each buffer and file in advance.

【0011】なお、各バッファ及びファイルについて詳
述すると、インプットバッファは、ホスト2からホスト
インタフェース12を通じて受領したデータを一時的に
保持するためのバッファであり、そのデータをプリント
ソフトウェアにより順次取出して、そのデータが実際に
記憶されているソースアドレスとビデオバッファ19の
どこにビデオデータを作るかを指定するデイスティネー
ションアドレス及びサイズ情報等を付加してページバッ
ファにページデータを生成する。
The buffers and files will be described in detail. The input buffer is a buffer for temporarily holding data received from the host 2 through the host interface 12, and the data is sequentially taken out by the print software. The page data is generated in the page buffer by adding a source address where the data is actually stored, a destination address designating where in the video buffer 19 the video data is created, size information, and the like.

【0012】このページデータとフォントファイルのフ
ォントデータとフォントROM14のフォントデータ
(ソースデータ)を用いてビデオバッファ19上にビデ
オデータを生成する。
Video data is generated on the video buffer 19 using the page data, the font data of the font file, and the font data (source data) in the font ROM 14.

【0013】フォントファイルには、ホスト2からのフ
ォントデータがホストインタフェース12を通じてダウ
ンロードされ、あるいは補助記憶装置20として装着さ
れたフォントカートリッジからのフォントデータがロー
ドされる。
In the font file, font data from the host 2 is downloaded through the host interface 12, or font data from a font cartridge mounted as the auxiliary storage device 20 is loaded.

【0014】なお、RAM16には、ホスト2からのダ
ウンロードフォントデータ及びフォントカートリッジか
らのロードフォントデータを管理するために、フォント
データを格納したフォントファイルのアドレス,フォン
トの大きさ,フォントのネーム等のフォント管理情報も
格納する。
In the RAM 16, in order to manage the downloaded font data from the host 2 and the loaded font data from the font cartridge, the address of the font file storing the font data, the font size, the font name, and the like are stored. Also stores font management information.

【0015】エミュレーションエリア17は、エミュレ
ーションモードを実行するときにエミレーションプログ
ラム及びそのワークエリア(エミュレーションワークエ
リア)を移入するエリアである。
The emulation area 17 is an area into which the emulation program and its work area (emulation work area) are transferred when the emulation mode is executed.

【0016】エンジンI/F18は、プリンタエンジン
4との間で必要な制御データ等の送受を司るインタフェ
ースである。ビデオバッファ19は、上述したように作
成されたビデオデータを格納してプリンタエンジン4に
読出される。
The engine I / F 18 is an interface for transmitting and receiving necessary control data and the like to and from the printer engine 4. The video buffer 19 stores the video data created as described above and is read out by the printer engine 4.

【0017】補助記憶装置20は、ICカード,フォン
トカートリッジ,ダウンロードファイル等である。エミ
ュレーションモードを実行するエミュレーションプログ
ラムは、この補助記憶装置20又はプログラムROM1
5上に格納される。次に、このように構成したこの実施
例の作用について図2以降をも参照して説明する。
The auxiliary storage device 20 is an IC card, a font cartridge, a download file, and the like. An emulation program for executing the emulation mode is stored in the auxiliary storage device 20 or the program ROM 1.
5 is stored on. Next, the operation of this embodiment thus configured will be described with reference to FIGS.

【0018】まず、エミュレーションモードの処理につ
いて図2を参照して説明すると、複数のエミュレーショ
ンモードである例えばエミュレーション1〜エミュレー
ションnを実行する各エミュレーションプログラムは、
前述したように補助記憶装置20又はプログラムROM
15に格納しているが、ここではプログラム実行時に
は、エミュレーションエリア17にエミュレーションプ
ログラム及びそのワークエリアを移すようにしているの
で、ホスト2からエミュレーション選択コマンドを受信
したときには、当該コマンドを受信する以前にホスト2
から受信しているデータを処理し終った後に、当該コマ
ンドで示されるエミュレーションを実行するエミュレー
ションプログラム及びそのエミュレーションワークエリ
アをエミュレーションエリア17に移して、当該コマン
を受信した後にホスト2から受信したデータの処理を
実行する。
First, the processing in the emulation mode will be described with reference to FIG. 2. Each emulation program for executing a plurality of emulation modes, for example, emulation 1 to emulation n,
As described above, the auxiliary storage device 20 or the program ROM
While stored in 15, wherein the program execution, since as transfer the emulation program and a work area in the emulation area 17, when receiving <br/> emulation selection commands from the host 2, the command Host 2 before receiving
After finished processing the data being received from and transferred emulation program and its emulation work area to execute the emulation indicated by the command to emulation area 17, the data received from the host 2 after receiving the command Execute the process.

【0019】次に、プリンタコントローラ1のデータ処
理は、図3に示すように、ホスト2からデータを受信し
たときには、まず受信後直ちに実行を要するコマンドを
認識して実行し、次いで通常のコマンドを認識して実行
した後、ページバッファを作成してビットイメージをプ
リンタエンジン4に送出し、用紙の排紙処理に移行す
る。
Next, as shown in FIG. 3, when data is received from the host 2, the data processing of the printer controller 1 first recognizes and executes a command that needs to be executed immediately after the reception, and then executes a normal command. After the recognition and execution, a page buffer is created, the bit image is sent to the printer engine 4, and the process proceeds to the sheet discharging process.

【0020】したがって、最初の処理で受信後直ちに実
行を要するコマンドとしてのエミュレーション選択コマ
ンドを識認できるので、ソフト的に通常のコマンドを認
識して実行の終了を確認した後、直ちにエミュレーショ
ンモードの変更を実行することができる。
Therefore, the emulation selection command as a command that needs to be executed immediately after reception in the first processing can be recognized, so that the emulation mode is changed immediately after recognizing a normal command by software and confirming the end of execution. Can be performed.

【0021】また、時間的なずれを考慮する必要がない
ので、ホスト2側はファイルを連続的に送出できる。こ
れに対して、スイッチでエミュレーションモードを選択
する場合には、コマンドによる処理の終了を確認しなけ
ればならないが、ビットイメージのプリンタエンジンへ
の送出の完了を確認するためには、通常は排紙処理の実
行を確認しなければ分らないので時間がかかる。
Since there is no need to consider a time lag, the host 2 can continuously send files. On the other hand, when the emulation mode is selected by the switch, the end of the processing by the command must be confirmed. However, in order to confirm the completion of the transmission of the bit image to the It takes time because you have to confirm the execution of the process.

【0022】つまり、図4に示すようにホスト2側はフ
ァイルの送出に先立ってエミュレーション選択コマンド
を送出し、その後ファイルを送出する。一方、プリンタ
コントローラ1は図5に示すように、インプットバッフ
ァにホスト2からの受信データが有ればその受信データ
を読み出してコマンドかデータかを判別する。
That is, as shown in FIG. 4, the host 2 sends an emulation selection command before sending a file, and then sends the file. On the other hand, as shown in FIG. 5, if there is received data from the host 2 in the input buffer, the printer controller 1 reads the received data and determines whether it is a command or data.

【0023】そして、受信データがコマンドであれば、
そのコマンドがエミュレーション選択コマンドか否かを
判別し、エミュレーション選択コマンドであれば、その
エミュレーション選択コマンドに応じて、補助記憶装置
20又はプログラムROM15に格納されている複数の
エミュレーションプログラムの中から、一つのエミュレ
ーションプログラムを選択してエミュレーションエリア
17に移し、指定されたエミュレーションモードに設定
する。エミュレーション選択コマンドでなければその他
のコマンド処理をし、また受信データがデータであれ
ば、そのデータをプリントアウトするためのデータ処理
をする。
If the received data is a command,
It is determined whether or not the command is an emulation selection command. If the command is an emulation selection command , an auxiliary storage device is determined in accordance with the emulation selection command.
20 or a plurality of programs stored in the program ROM 15.
One emulation program from emulation programs
Select the emulation area
Move to step 17 and set to the specified emulation mode
I do. If it is not an emulation selection command, other command processing is performed. If the received data is data, data processing for printing out the data is performed.

【0024】このように、このプリンタはホスト2から
のエミュレーション選択コマンドを認識したときには、
このエミュレーション選択コマンド以前に受信したデー
タについては変更前のエミュレーションモードで全て処
理(印字)した後、エミュレーション選択コマンド受信
以後に受信したデータのみをそのコマンドで指定された
エミュレーションモードで処理(印字)する。
Thus, when the printer recognizes the emulation selection command from the host 2,
All the data received before this emulation selection command is processed (printed) in the emulation mode before the change, and then the emulation selection command is received.
Only the data received after that specified by the command
Process (print) in emulation mode .

【0025】例えば、エミュレーション1でファイル1
を印字し、エミュレーション2でファイル2を印字する
場合、ホスト2は図6に示すように、エミュレーション
1を指定するエミュレーション選択コマンドを送出した
後ファイル1のデータを送出し、次いでエミュレーショ
ン2を指定するエミュレーション選択コマンドを送出し
た後ファイル2のデータを送出する。
For example, in emulation 1, file 1
When printing a file 2 by emulation 2, the host 2 sends an emulation selection command specifying the emulation 1, sends the data of the file 1, and then specifies the emulation 2, as shown in FIG. After transmitting the emulation selection command, the data of file 2 is transmitted.

【0026】それによって、このプリンタは図7に示す
ように、エミュレーション1を指定するエミュレーショ
ン選択コマンドを受信し、そのコマンドに応じたエミュ
レーションプログラムを選択してエミュレーション1に
設定した後、受信したファイル1のデータを全てプリン
トアウトし、次いでエミュレーション2を指定するエミ
ュレーション選択コマンドを受信し、そのコマンドに応
じたエミュレーションプログラムを選択してエミュレー
ション2に設定した後、受信したファイル2のデータを
全てプリントアウトする。
As a result, as shown in FIG. 7, the printer emulates an emulation 1
Receive an application selection command, and
After selecting the emulation program and setting it to emulation 1, all the data of the received file 1 is printed out, and then the emulation
Receive a selection command, and respond to that command.
After the selected emulation program is selected and set to emulation 2, all the data of the received file 2 is printed out.

【0027】このように、このプリンタにおいては、ホ
スト側からのエミュレーション選択コマンドに応じて
数のエミュレーションプログラムの中の一つを選択して
エミユレーションモードを設定し、そのエミュレーショ
ン選択コマンドを受信した後のホストからの受信データ
のみをその選択したエミュレーションプログラムによっ
て処理するする機能を備えたので、エミュレーションモ
ードを変更する際に一々スイッチを操作したり、エミュ
レーションモード変更時変更前のモードのデータ処理
の終了を確認したりする必要がなくなって操作性が向上
する。
As described above, in this printer, multiple operations are performed in response to an emulation selection command from the host.
Select one of the emulation programs and set the emulation mode
Received data from the host after receiving the
Only depending on the emulation program of your choice.
Since having the function of processing Te, one by one to manipulate the switch when you change the emulation mode, emulation
Need to or confirm the completion of the data processing of the previous mode change gone operability can be improved at the time of configuration mode change.

【0028】[0028]

【発明の効果】以上説明したように、この発明によれ
ば、プリンタを直接操作しないでもエミュレーションモ
ードを変更できるので操作性が向上し、またホスト側は
データを連続的に送出できるので印字に要する時間を短
縮できる。
As described above, according to the present invention, the emulation mode can be changed without directly operating the printer, so that the operability is improved, and the host can continuously send data, so that it is necessary for printing. You can save time.

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

【図1】この発明を実施したレーザプリンタのブロック
図である。
FIG. 1 is a block diagram of a laser printer embodying the present invention.

【図2】同じくそのエミュレーションモードの処理の実
行方法の説明に供する説明図である。
FIG. 2 is an explanatory diagram for explaining a method of executing the processing in the emulation mode.

【図3】同じくプリンタのデータ受信時の処理を示すフ
ロー図である。
FIG. 3 is a flowchart showing a process when the printer receives data.

【図4】同じくホスト側の処理を示すフロー図である。FIG. 4 is a flowchart showing processing on the host side.

【図5】同じくプリンタ側の処理を示すフロー図であ
る。
FIG. 5 is a flowchart showing a process on the printer side.

【図6】同じくホスト側の処理の具体例を示すフロー図
である。
FIG. 6 is a flowchart showing a specific example of processing on the host side.

【図7】同じくプリンタ側の処理の具体例を示すフロー
図である。
FIG. 7 is a flowchart showing a specific example of processing on the printer side.

【符号の説明】 1:プリンタコントローラ 2:ホスト 4:プリンタエンジン 11:マイクロコンピュータ(CPU)15:プログラムROM 16:RAM 17:エミュレーションエリア 19:ビデオバッファ 20:補助記憶装置[Description of Signs] 1: Printer controller 2: Host 4: Printer engine 11: Microcomputer (CPU) 15: Program ROM 16: RAM 17: Emulation area 19: Video buffer 20: Auxiliary storage device

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のエミュレーションモードを有する
プリンタにおいて、ホストからのコマンドに応じて前記
エミュレーションモードを設定するモード設定手段を備
えたことを特徴とするプリンタ。
1. A printer having a plurality of emulation modes, comprising a mode setting means for setting the emulation mode in response to a command from a host.
JP09188043A 1997-07-14 1997-07-14 Printer Expired - Lifetime JP3129679B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09188043A JP3129679B2 (en) 1997-07-14 1997-07-14 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09188043A JP3129679B2 (en) 1997-07-14 1997-07-14 Printer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP62304191A Division JP2780974B2 (en) 1987-11-30 1987-11-30 Printer

Publications (2)

Publication Number Publication Date
JPH10114127A true JPH10114127A (en) 1998-05-06
JP3129679B2 JP3129679B2 (en) 2001-01-31

Family

ID=16216691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09188043A Expired - Lifetime JP3129679B2 (en) 1997-07-14 1997-07-14 Printer

Country Status (1)

Country Link
JP (1) JP3129679B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100365560C (en) * 2003-12-17 2008-01-30 三星电子株式会社 Image forming device and a method of selecting emulation automatically thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0641550U (en) * 1992-11-20 1994-06-03 株式会社イナックス Kitchen cabinets
JPH07100024A (en) * 1993-09-30 1995-04-18 Inax Corp Suspension rack or kitchen

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100365560C (en) * 2003-12-17 2008-01-30 三星电子株式会社 Image forming device and a method of selecting emulation automatically thereof

Also Published As

Publication number Publication date
JP3129679B2 (en) 2001-01-31

Similar Documents

Publication Publication Date Title
US5671341A (en) Image processing apparatus and method therefor
JP2615137B2 (en) Printing device
US6061142A (en) Method and apparatus for directly printing out image files for printer
US5748861A (en) Image processing apparatus and method therefor
EP0571145B1 (en) Apparatus for printer command languages translation
JP3129679B2 (en) Printer
JP3159875B2 (en) Printing method and apparatus, and printing system
JP2780974B2 (en) Printer
JP2776894B2 (en) Printer controller and print control method
JPH043219A (en) Printer
JP2999516B2 (en) Character output control method and device for terminal device
US5905853A (en) Image printing apparatus and method having changeable capacity storage means
JP2737983B2 (en) Printing device and display device for displaying status of printing device
JP3125997B2 (en) Print information output device and print system
JP4400097B2 (en) Printing apparatus, printing control method, program, and recording medium
JP2685773B2 (en) Printing device and printing control method
KR100193804B1 (en) How to Support Printer Emulation Using Computer
KR100532095B1 (en) Method for managing font in printer
JP2922676B2 (en) Image forming device
JP3004440B2 (en) Printing method and apparatus
JPH096556A (en) Printing data transfer system
JPH06161688A (en) Printer
JPH111048A (en) Printing control method and printing apparatus
JPH04294417A (en) Information processor and its control method
JPH01258968A (en) Printer control device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071117

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081117

Year of fee payment: 8

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081117

Year of fee payment: 8