JPH01145152A - Printer - Google Patents
PrinterInfo
- Publication number
- JPH01145152A JPH01145152A JP62304191A JP30419187A JPH01145152A JP H01145152 A JPH01145152 A JP H01145152A JP 62304191 A JP62304191 A JP 62304191A JP 30419187 A JP30419187 A JP 30419187A JP H01145152 A JPH01145152 A JP H01145152A
- Authority
- JP
- Japan
- Prior art keywords
- emulation
- command
- host
- data
- mode
- 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
Links
- 230000004044 response Effects 0.000 claims description 2
- 239000000872 buffer Substances 0.000 description 14
- 238000000034 method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 240000008564 Boehmeria nivea Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Dot-Matrix Printers And Others (AREA)
- Fax Reproducing Arrangements (AREA)
Abstract
Description
【発明の詳細な説明】
肢先光災
この発明は、複数のエミュレーションモードを有するプ
リンタに関する。DETAILED DESCRIPTION OF THE INVENTION This invention relates to a printer having multiple emulation modes.
灸米皮権
一般に、レーザプリンタ等のプリンタにおいて、ドツト
プリンタ、デイジ−ホイールプリンタあるいはその他の
ページプリンタ等の複数のエミレーションモードを有す
るものがある。Generally, some printers, such as laser printers, have multiple emulation modes, such as dot printers, daisy-wheel printers, or other page printers.
このようなプリンタにおいては、プリンタ本体にDIP
スイッチを設けて所要のエミレーションモードを選択す
るようにしている。In such printers, there is a DIP in the printer body.
A switch is provided to select the desired emulation mode.
しかしながら、このようにDIPスイッチにてモー、ド
を選択するのでは、モードを変更する際に一々スイッチ
を操作しなければならないし、またモード変更時には変
更前のモードのデータ処理の終了を確認しなければなら
ない等操作性が悪いという問題がある。However, when selecting a mode or mode using a DIP switch like this, it is necessary to operate the switch one by one when changing the mode, and when changing the mode, it is necessary to confirm that the data processing of the mode before the change is completed. There is a problem of poor operability, such as having to
且−煎
この発明は上記の点に鑑みてなされたものであり、操作
性を向上することを目的とする。This invention has been made in view of the above points, and an object thereof is to improve operability.
皇−双
この発明は上記の目的を達成するため、ホストからのコ
マンドによってエミレーションモードを設定する機能を
備えたものである。In order to achieve the above object, this invention is provided with a function of setting the emulation mode by a command from the host.
以下、この発明の一実施例に基づいて具体的に説明する
。Hereinafter, a detailed explanation will be given based on one embodiment of the present invention.
第1図はこの発明を実施したレーザプリンタを示すブロ
ック図である。FIG. 1 is a block diagram showing a laser printer embodying the present invention.
プリンタコントローラ1は、中央処理袋!、 ROM、
RAM及びIlo等からなるマイクロコンピュータ(C
PU)11と、ホストインターフエ−ス(I/F)12
と、フォントROM14と。Printer controller 1 is a central processing bag! , ROM,
A microcomputer (C
PU) 11 and host interface (I/F) 12
And font ROM14.
プログラムROM15と、RAMIE3と、エミュレー
ションエリア17と、エンジンインタフェース(I/F
)18と、ビデオバッファ19と、補助記憶装置20と
からなり、このプリンタコントローラ1にはホスト2.
フロントパネル3及びプリンタエンジン4が接続される
。Program ROM 15, RAMIE 3, emulation area 17, engine interface (I/F
) 18, a video buffer 19, and an auxiliary storage device 20, and this printer controller 1 has a host 2.
A front panel 3 and a printer engine 4 are connected.
CPUI 1は、このプリンタコントローラ1全体の統
括制御を司る処理装置であり、汎用の16ビツト又は3
2ビツトのマイクロコンピュータを使用する。このCP
UIIの内部ROMにはホスト2からのエミレーション
モードを指定するエミレーション選択コマンドを受領す
るプログラムを格納している。The CPU 1 is a processing device that controls the entire printer controller 1, and is a general-purpose 16-bit or 3-bit processor.
A 2-bit microcomputer is used. This CP
The internal ROM of the UII stores a program that receives an emulation selection command from the host 2 that specifies an emulation mode.
ホストインタフェース12は、オフィスコンピュータ、
パーソナルコンピュータ、ワードプロセッサ、画像編集
処理装置等のホスト2との間でデータを送受するための
インタフェースであり、ホスト2に合わせて各種のパラ
レルインタフェースあるいはシリアルインタフェースを
選択する。The host interface 12 is an office computer,
This is an interface for transmitting and receiving data with a host 2 such as a personal computer, word processor, image editing processing device, etc., and various parallel interfaces or serial interfaces are selected depending on the host 2.
フォントROM14は、プリンタとして必要最小限のフ
ォントデータを格納している。プログラムROM15は
、プリンタコントローラ1を動作させるためのCPUI
Iの各種処理プログラムを格納し、ホスト2から受領し
たエミレーション選択コマンドで指定されたエミレーシ
ョンモードを設定するプログラムもここに格納している
。The font ROM 14 stores the minimum amount of font data necessary for the printer. The program ROM 15 is a CPU for operating the printer controller 1.
Various processing programs of I are stored here, and a program for setting the emulation mode specified by the emulation selection command received from the host 2 is also stored here.
RAM1 Bは、大容量のランダムアクセスメモリであ
り、主として、インプットバッファ、ページバッファ、
フォントファイル、システムメモリとして使用する。な
お、各バッファ及びファイルはシステムメモリとして使
用する領域以外のRAM領域を必要な量だけ事前に確保
して使用する。RAM1B is a large capacity random access memory, and is mainly used for input buffers, page buffers,
Font file, used as system memory. Note that for each buffer and file, a necessary amount of RAM area other than the area used as system memory is secured in advance and used.
なお、各バッファ及びファイルについて詳述すると、イ
ンプットバッファは、ホスト2からホストインタフェー
ス12を通じて受領したデータを一時的に保持するため
のバッファであり、そのデータをプリントソフトウェア
により順次取出して。To explain each buffer and file 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 retrieved by the print software.
そのデータが実際に記憶されているソースアドレスとビ
デオバッファ1日のどこにビデオデータを作るかを指定
するディスティネーションアドレス及びサイズ情報等を
付加してページバッファにページデータを生成する。Page data is generated in the page buffer by adding a source address where the data is actually stored, a destination address specifying where in the video buffer day the video data is to be created, size information, etc.
このページデータとフォントファイルのフォントデータ
とフォントROM14のフォントデータ(ソースデータ
)を用いてビデオバッファ19上にビデオデータを生成
する。Video data is generated on the video buffer 19 using this page data, font data of the font file, and font data (source data) of the font ROM 14.
フォントファイルには、ホスト2からのフォントデータ
がホストインタフェース12を通じてダウンロードされ
、あるいは補助記憶装置20として装着されたフォント
カートリッジからのフォントデータがロードされる。Font data from the host 2 is downloaded through the host interface 12, or font data from a font cartridge installed as an auxiliary storage device 20 is loaded into the font file.
なお、RAM I Eiには、ホスト2がらのダウンロ
ードフォントデータ及びフォントカートリッジからのロ
ードフォントデータを管理するために、フォントデータ
を格納したフォントファイルのアドレス、フォントの大
きさ、フォントのネーム等のフォント管理情報も格納す
る。In addition, in order to manage the download font data from the host 2 and the load font data from the font cartridge, the RAM I Ei stores font information such as the address of the font file that stores the font data, the font size, and the font name. Also stores management information.
エミレーションエリア17は、エミレーションモードを
実行するときにエミレーションプログラム及びそのワー
クエリア(エミレーションワークエリア)を移入するエ
リアである。The emulation area 17 is an area into which an emulation program and its work area (emulation work area) are imported when executing the emulation mode.
エンジンI/F18は、プリンタエンジン4との間で必
要な制御データ等の送受を司るインタフェースである。The engine I/F 18 is an interface that controls the transmission and reception of necessary control data and the like with the printer engine 4.
゛
ビデオバッファ1日は、上述したように作成されたビデ
オデータを格納してプリンタエンジン4に読出される。The video buffer 1 stores the video data created as described above and is read out by the printer engine 4.
補助記憶装置20は、ICカード、フォントカートリッ
ジ、ダウンロードファイル等である。エミレーションモ
ードを実行するエミレーションプログラムは、この補助
記憶装置20又はプログラムROM15上に格納する。The auxiliary storage device 20 is an IC card, a font cartridge, a download file, or the like. An emulation program for executing the emulation mode is stored on this auxiliary storage device 20 or program ROM 15.
次に、このように構成したこの実施例の作用について第
2図以降をも参照して説明する。Next, the operation of this embodiment configured as described above will be explained with reference to FIG. 2 and subsequent figures.
まず、エミレーションモードの処理について第2図を参
照して説明すると、複数のエミレーションモードである
例えばエミレーション1〜エミレーシヨンnを実行する
各エミレーションプログラムは、前述したように補助記
憶装置20又はプロダラムROM15に格納しているが
、ここではプログラム実行時にはエミレーションエリア
17にエミレーションプログラム及びそのワークエリア
を移すようにしているので、ホスト2からエミレーショ
ン選択コマンドを受領したときには、当該コマンド以前
に受領しているデータを処理し終った後に、当該コマン
ドで示されるエミレーションを実行するエミレーション
プログラム及びそのエミレーションワークエリアをエミ
レーションエリア17に移して処理を実行する。First, the emulation mode processing will be explained with reference to FIG. 2. Each emulation program that executes a plurality of emulation modes, for example, emulation 1 to emulation The emulation program and its work area are stored in the program ROM 15, but when the program is executed, the emulation program and its work area are moved to the emulation area 17, so when an emulation selection command is received from the host 2, the emulation selection command is stored in the emulation area 17. After processing the received data, the emulation program that executes the emulation indicated by the command and its emulation work area are moved to the emulation area 17 and the processing is executed.
次に、プリンタコントローラ1のデータ処理は。Next, the data processing of the printer controller 1 is as follows.
第3図に示すように、ホスト2からデータを受信したと
きには、まず受信後直ちに実行を要するコマンドを認識
して実行し、次いで通常のコマンドを認識して実行した
後、ページバッファを作成してビットイメージをプリン
タエンジン4に送出し、用紙の排紙処理に移行する。As shown in Figure 3, when data is received from the host 2, it first recognizes and executes commands that need to be executed immediately after reception, then recognizes and executes normal commands, and then creates a page buffer. The bit image is sent to the printer engine 4, and the process moves to paper ejection processing.
したがって、最初の処理で受信後直ちに実行を要するコ
マンドとしてのエミュレーション選択コマンドを識認で
きるので、ソフト的に通常のコマンドを認識して実行の
終了を確認した後直ちにエミュレーションモードの変更
を実行することができる。Therefore, in the first process, the emulation selection command can be recognized as a command that needs to be executed immediately after receiving it, so the software can recognize the normal command and change the emulation mode immediately after confirming the completion of execution. Can be done.
また、時間的なずれを考慮する必要がないので、ホスト
2側はファイルを連続的に送出できる。Furthermore, since there is no need to consider time lag, the host 2 side can send out files continuously.
これに対して、スイッチでエミレーションモードを選択
する場合には、コマンドによる処理の終了を確認しなけ
ればならないが、ビットイメージのプリンタエンジンへ
の送出の完了を確認するためには、通常は排紙処理の実
行を確認しなければ分らないので時間がかかる。On the other hand, when selecting emulation mode with a switch, it is necessary to confirm the completion of processing by the command, but in order to confirm the completion of sending the bit image to the printer engine, it is usually necessary to It takes time to know unless you check the execution of paper processing.
つまり、第4図に示すようにホスト2側はファイルの送
出に先立ってエミレーション選択コマンドを送出し、そ
の後ファイルを送出する。That is, as shown in FIG. 4, the host 2 side sends an emulation selection command before sending the file, and then sends the file.
一方、プリンタコントローラ1は第5図に示すように、
インプットバッファにホスト2からの受信データが有れ
ばその受信データを読み出してコマンドかデータかを判
別する。On the other hand, the printer controller 1, as shown in FIG.
If there is received data from the host 2 in the input buffer, the received data is read out to determine whether it is a command or data.
そして、受信データがコマンドであれば、そのコマンド
がエミュレーション選択コマンドか否かを判別し、エミ
レーション選択コマンドであれば、そのエミュレーショ
ン選択コマンドで指定されたエミレーションモードに設
定し、エミレーション選択コマンドでなければその他の
コマンド処理をし、また受信データがデータであれば、
そのデータをプリントアウトするためのデータ処理をす
る。If the received data is a command, it is determined whether the command is an emulation selection command, and if it is an emulation selection command, the emulation mode specified by the emulation selection command is set, and the emulation selection command is If not, perform other command processing, and if the received data is data,
Process the data to print it out.
このように、このプリンタはホスト2からのエミレーシ
ョン選択コマンドを認識したときには、このエミレーシ
ョン選択コマンド以前に受信したデータについては変更
前のエミレーションモードで全て処理(印字)した後、
エミレーション選択コマンドで指定されたエミレーショ
ンモード以後の受信したデータを処理(印字)する。In this way, when this printer recognizes the emulation selection command from the host 2, it processes (prints) all data received before the emulation selection command in the emulation mode before the change, and then
Processes (prints) data received after the emulation mode specified by the emulation selection command.
例えば、エミレーション1でファイル1を印字し、エミ
レーション2でファイル2を印字する場合、ホスト2は
第6図に示すように、エミレーション1を指定するエミ
レーション選択コマンドを送出した後ファイル1のデー
タを送出し1次いでエミレーション2を指定するエミレ
ーション選択コマンドを送出した後ファイル2のデータ
を送出する。For example, when emulation 1 prints file 1 and emulation 2 prints file 2, host 2 sends an emulation selection command that specifies emulation 1 and then prints file 1 as shown in FIG. The emulation selection command specifying emulation 2 is transmitted, and then the data of file 2 is transmitted.
それによって、このプリンタは第7図に示すように、エ
ミレーション1に設定した後受信したファイル1のデー
タを全てプリントアウトし、次いでエミレーション2に
設定した後受信したファイル2のデータを全てプリント
アウトする。As a result, as shown in Figure 7, this printer prints out all data of file 1 received after setting emulation 1, and then prints out all data of file 2 received after setting emulation 2. Go out.
このように、このプリンタにおいては、ホスト側からの
コマンドに応じてエミュレーションモードを設定する機
能を備えたので、エミレーションモードを変更する際に
一々スイッチを操作したり。In this way, this printer has the ability to set the emulation mode in response to commands from the host, so you can change the emulation mode by operating a switch one by one.
モード変更時には変更前のモードのデータ処理の終了を
確認したりする必要がなくなって操作性が向上する。When changing the mode, there is no need to confirm the completion of data processing in the previous mode, improving operability.
羞−呆
以上説明したように、この発明によれば、プリンタを直
接操作しないでもエミレーションモードを選択できるの
で操作性が向上し、またホスト側はデータを連続的に送
出できるので印字に要する時間を短縮できる。Embarrassment As explained above, according to this invention, the emulation mode can be selected without directly operating the printer, which improves operability, and the host side can send data continuously, reducing the time required for printing. can be shortened.
第1図はこの発明を実施したレーザプリンタのブロック
図、
第2図は同じくそのエミレーションモートノ処理の実行
方法の説明に供する説明図。
第3図は同じくプリンタのデータ受信時の処理を示すフ
ロー図。
第4図及び第5図は同じくホスト側及びプリンタ側の処
理を示すフロー図。
第6図及び第7図は同じくホスト側及びプリンタ側の処
理の具体例を示すフロー図である。
1・・プリンタコントローラ 2・・・ホスト4・・・
プリンタエンジン
11・・・マイクロコンピュータ(CPU)16・・・
RAM 17・・・エミレーションエリア1日・
・・ビデオバッファ 20・・・補助記憶装置第5
図 第4図
第6図 第7図FIG. 1 is a block diagram of a laser printer embodying the present invention, and FIG. 2 is an explanatory diagram illustrating a method of executing emulation mode processing. FIG. 3 is a flowchart showing the processing when data is received by the printer. FIGS. 4 and 5 are flowcharts showing processing on the host side and the printer side. FIGS. 6 and 7 are flowcharts showing specific examples of processing on the host side and the printer side. 1...Printer controller 2...Host 4...
Printer engine 11...Microcomputer (CPU) 16...
RAM 17...Emulation area 1 day/
...Video buffer 20...Auxiliary storage device 5th
Figure 4 Figure 6 Figure 7
Claims (1)
おいて、ホストからのコマンドに応じて前記エミュレー
ションモードを設定するモード設定手段を備えたことを
特徴とするプリンタ。1. A printer having a plurality of emulation modes, comprising mode setting means for setting the emulation mode in response to a command from a host.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62304191A JP2780974B2 (en) | 1987-11-30 | 1987-11-30 | Printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62304191A JP2780974B2 (en) | 1987-11-30 | 1987-11-30 | Printer |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP09188043A Division JP3129679B2 (en) | 1997-07-14 | 1997-07-14 | Printer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01145152A true JPH01145152A (en) | 1989-06-07 |
JP2780974B2 JP2780974B2 (en) | 1998-07-30 |
Family
ID=17930121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62304191A Expired - Lifetime JP2780974B2 (en) | 1987-11-30 | 1987-11-30 | Printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2780974B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01314177A (en) * | 1988-06-13 | 1989-12-19 | Mita Ind Co Ltd | Printing apparatus |
JPH04113865A (en) * | 1990-09-05 | 1992-04-15 | Canon Inc | Printer |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5957337A (en) * | 1982-06-04 | 1984-04-02 | コンピユ−タ−ズ・インタ−ナシヨナル・インコ−ポレ−テツド | Universal computer printer interface |
JPS62120542A (en) * | 1985-11-20 | 1987-06-01 | Nec Corp | Information processor |
JPS63216125A (en) * | 1987-03-04 | 1988-09-08 | Fuji Xerox Co Ltd | Printer capable of emulating device type |
-
1987
- 1987-11-30 JP JP62304191A patent/JP2780974B2/en not_active Expired - Lifetime
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5957337A (en) * | 1982-06-04 | 1984-04-02 | コンピユ−タ−ズ・インタ−ナシヨナル・インコ−ポレ−テツド | Universal computer printer interface |
JPS62120542A (en) * | 1985-11-20 | 1987-06-01 | Nec Corp | Information processor |
JPS63216125A (en) * | 1987-03-04 | 1988-09-08 | Fuji Xerox Co Ltd | Printer capable of emulating device type |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01314177A (en) * | 1988-06-13 | 1989-12-19 | Mita Ind Co Ltd | Printing apparatus |
JPH04113865A (en) * | 1990-09-05 | 1992-04-15 | Canon Inc | Printer |
Also Published As
Publication number | Publication date |
---|---|
JP2780974B2 (en) | 1998-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0716371B1 (en) | Device having automatic OS selecting function | |
US8085425B2 (en) | Information processing apparatus | |
RU96111952A (en) | METHOD FOR PRINTER MANAGEMENT WITH CURRENT MONITORING FUNCTION AND DEVICE FOR ITS IMPLEMENTATION (OPTIONS) | |
US5671341A (en) | Image processing apparatus and method therefor | |
JP2615137B2 (en) | Printing device | |
US5748861A (en) | Image processing apparatus and method therefor | |
US5931586A (en) | Apparatus capable of combining inputs from two different printer languages | |
JPH01145152A (en) | Printer | |
US5630030A (en) | Output method and apparatus for a recording device | |
JP3129679B2 (en) | Printer | |
JPS6159920B2 (en) | ||
KR100346186B1 (en) | Apparatus and method for reprinting the printed documents in pc | |
JP4400097B2 (en) | Printing apparatus, printing control method, program, and recording medium | |
JP3284457B2 (en) | Printer | |
JP2685773B2 (en) | Printing device and printing control method | |
JP3012344B2 (en) | Printing equipment | |
JP3027849B2 (en) | Printing device | |
KR100532095B1 (en) | Method for managing font in printer | |
JP2907697B2 (en) | Printer control device | |
KR20010075999A (en) | Method for reprint and system thereof | |
JPH04294417A (en) | Information processor and its control method | |
KR100341802B1 (en) | Printing page number display method of printer | |
JPH08123639A (en) | Information processing system and printer used for the same | |
JPH096556A (en) | Printing data transfer system | |
KR100565792B1 (en) | Font data recording method for print |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
EXPY | Cancellation because of completion of term | ||
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080515 Year of fee payment: 10 |