JPH02201629A - Mode switching system for dual mode printer - Google Patents

Mode switching system for dual mode printer

Info

Publication number
JPH02201629A
JPH02201629A JP1021083A JP2108389A JPH02201629A JP H02201629 A JPH02201629 A JP H02201629A JP 1021083 A JP1021083 A JP 1021083A JP 2108389 A JP2108389 A JP 2108389A JP H02201629 A JPH02201629 A JP H02201629A
Authority
JP
Japan
Prior art keywords
printer
mode
switching
dual
esc
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
JP1021083A
Other languages
Japanese (ja)
Inventor
Toshimitsu Saito
敏満 斉藤
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1021083A priority Critical patent/JPH02201629A/en
Publication of JPH02201629A publication Critical patent/JPH02201629A/en
Pending legal-status Critical Current

Links

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は異るESCシーケンス体系を2種類以上もち
、そのESCシーケンス体系を切替えることのできるデ
ュアルモードプリンタに用いられるモード切替え方式に
関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) This invention provides a mode switching method used in a dual-mode printer that has two or more different ESC sequence systems and can switch between the ESC sequence systems. Regarding the method.

(従来の技術) 従来、プリンタのエスケープ(E S C)シーケンス
はメーカ毎にそれぞれ異なり、通常1機種のプリンタは
、ESCシーケンス体系は1種類のみ供給される。最近
、異なるESCシーケンス体系を2種類もつデュアルモ
ードプリンタが出現した。しかし、ESCシーケンス体
系の切替えは、DIPスイッチや、メモリスイッチによ
る設定後、再度電源を入れ直す必要がある。
(Prior Art) Conventionally, printer escape (ESC) sequences differ from manufacturer to manufacturer, and usually only one type of ESC sequence system is provided for one type of printer. Recently, dual mode printers have appeared that have two different ESC sequence systems. However, to switch the ESC sequence system, it is necessary to turn on the power again after setting with a DIP switch or a memory switch.

(発明か解決しようとする課題) マルチタスク環境下でデュアルモードプリンタを接続し
、それぞれ異なるESCSCグース体系をサポートする
タスクが複数動作し印刷する場合、従来、プリンタ本体
側のESCシーケンス体系切替え設定後に電源を入れ直
さなければならない為、同時に複数タスクが印刷できな
い等の問題があった。
(Problem to be solved by the invention) When a dual-mode printer is connected in a multitasking environment and multiple tasks supporting different ESCSC systems are running and printing, conventionally, after setting the ESC sequence system switching on the printer itself, There were problems such as not being able to print multiple tasks at the same time because the power had to be turned off and on again.

この発明は上記串情に鑑みてなされたものであり、異な
るESCシーケンス体系をサポートするタスクが複数動
作し同時に印刷する場合、プリンタ本体のESCシーケ
ンス体系か電源の入れ直しを必要とせず切替え可能なデ
ュアルモードプリンタのモード切替え方式を提供するこ
とを目的とする。
This invention was made in view of the above-mentioned circumstances, and when multiple tasks that support different ESC sequence systems operate and print simultaneously, the ESC sequence system of the printer itself or a dual system that can be switched without having to turn the power off and on again is used. The purpose of this invention is to provide a mode switching method for mode printers.

[発明の構成] (課題を解決するための手段と作用) 本発明は、接続インタフェースの異なる2以上のモード
で動作するデュアルモードプリンタにおいて、本体より
エスケープシーケンス切替えのためのコードが到来した
ことを認識してこれを記憶し、以降受信するエスケープ
ンーケンスやそれに続くコードを上記記憶したモードで
処理する手段と、次に切替えのためのコマンドを受/、
4 したらこれを記憶し、以降切替えの為のコマンドを
受信するまで上記記憶したコード体系にて処理する手段
とをプリンタ制御装置内に具備し、プリンタ制御装置は
本体より到来するエスケープシーケンス切替えのための
コマンドを認識することによりオンラインでコード体系
のり替えを行うことを特徴とするものである。
[Structure of the Invention] (Means and Effects for Solving the Problems) The present invention provides a dual-mode printer that operates in two or more modes with different connection interfaces, which detects when a code for switching an escape sequence has arrived from the main body. means for recognizing and storing this and processing subsequent escape sequences and subsequent codes in the stored mode; and receiving/receiving commands for switching;
4. The printer control device is equipped with a means for storing this code and processing it in the stored code system until receiving a command for switching from then on, and the printer control device uses the code system for switching the escape sequence that comes from the main unit. This system is characterized by the ability to change code systems online by recognizing the following commands.

このことにより、異なるESCシーケンス体系をサポー
トするタスクによる印刷が、プリンタ本体側のESCシ
ーケンス体系切替えの為の電源入れ直しをせすに行なえ
、オペレータの負担を軽減できるといった効果が得られ
る。
As a result, printing by a task that supports a different ESC sequence system can be performed without having to turn on the power to switch the ESC sequence system on the printer main body side, thereby reducing the burden on the operator.

(実施例) 以F1図面を使用して本発明実施例について詳細に説明
する。
(Example) Hereinafter, an example of the present invention will be described in detail using drawing F1.

第1−図は本発明の実施例を示すブロック図である。図
において、]−はホストコンピュータであり、システム
ハス3を介してプリンタ制御装置2に接続される。プリ
ンタ制御装置2はノくスインタフエース回路21とマイ
クロプロセ・ンサ22、RAM23、ROM24そして
プリンタアダプタ25により構成される。RAM23に
は印刷デ夕が格納され、ROM24には第2図にフロー
チャートで示される手順がプログラム形式にて記憶され
る。マイクロプロセッサ22かこの内容を読み出し実行
するものである。4はデュアルモードプリンタである。
FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, ] - is a host computer, which is connected to the printer control device 2 via the system bus 3 . The printer control device 2 is composed of a node interface circuit 21, a microprocessor 22, a RAM 23, a ROM 24, and a printer adapter 25. The print data is stored in the RAM 23, and the procedure shown in the flowchart of FIG. 2 is stored in the ROM 24 in the form of a program. The microprocessor 22 reads and executes this content. 4 is a dual mode printer.

第2図は本発明実施例の動作を示すフローチャトである
。図中、ステップ■はESCシーケンス体系切替えコー
ドをチエツクするステップであり、その切替えコードな
ら、ステップ■へ、それ以外ならステップ■へ分岐する
。ステップ■はESCシーケンス体系切替えを記憶する
するステップである。ステップ■はESCンーゲンス体
系をチエツクするステップであり、ステップ■て記憶さ
れている現在の体系をチエツクし、ステップ■■の処理
へ分岐する。ステップ■はESCシーケンスAの処理を
するステップであり、体系Aに従いESCSCグースの
処理をする。ステップ■はESCシーケンス体系体系処
理をするステップであり、体系Bに従いESCSCグー
スの処理をする。
FIG. 2 is a flowchart showing the operation of the embodiment of the present invention. In the figure, step (2) is a step for checking the ESC sequence system switching code, and if the switching code is found, the process branches to step (2), otherwise the process branches to step (2). Step (2) is a step for storing ESC sequence system switching. Step (2) is a step for checking the ESC detection system, and the current system stored in step (2) is checked, and the process branches to step (2). Step (2) is a step for processing the ESC sequence A, and the ESCSC goose is processed according to the system A. Step (2) is a step for processing the ESC sequence system, and processes the ESCSC goose according to system B.

以下、本発明実施例の動作について詳細に説明する。プ
リンタ本体プログラム(ホストコンピュータ1)が、E
SCシーケンスAへの切替えコードを発し、プリンタ制
御装置2がこれを受信したら、現在のESCシーケンス
体系をAとして記憶し、次から受信するESCシーケン
スや、それに続くコードは、ESCシーケンスAの処理
ルーチンで処理される。次にESCシーケンス体系体系
の切替えコードを受信したら現在のESCシーケンス体
系をBとして記憶し、以降は、ESCシーケンス体系体
系の切替えコードを受信するまで、ESCシーケンス体
系体系処理ルーチンで処理される。上記の処理はROM
24に格納されたファームウェアをマイクロプロセッサ
22が読みだし実行するものである。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail. The printer main body program (host computer 1)
When a switching code to SC sequence A is issued and the printer control device 2 receives it, it stores the current ESC sequence system as A, and the ESC sequence to be received next and the code following it are processed by the processing routine of ESC sequence A. will be processed. Next, when the ESC sequence system switching code is received, the current ESC sequence system is stored as B, and from then on, the ESC sequence system processing routine is performed until the ESC sequence system switching code is received. The above processing is done in ROM
The microprocessor 22 reads and executes the firmware stored in the microprocessor 24.

以上のようにして、ESCSCチース体系切替えコード
により、DIPスイッチやメモリスイ・ソチ笠を使用せ
ずオンラインでコード体系の切替えを行う。
As described above, the code system is switched online using the ESCSC cheese system switching code without using a DIP switch or a memory switch or a memory switch.

[発明の効果] 以上説明のように、異なるESCシーケンス体系をサポ
ートするタスクによる印刷が、プリンタ本体側のESC
シーケンス体系切替えの為の電源入れ直しを要せず、従
ってオペレータの負担が軽減される。
[Effects of the Invention] As explained above, printing using tasks that support different ESC sequence systems can be performed using the ESC on the printer main body side.
There is no need to turn on the power again to switch the sequence system, thus reducing the burden on the operator.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例を示すブロック図、第2図は本
発明実施例の動作を示すフローチャートである。 1・・・ホストコンピュータ、2・・・プリンタ制御装
置、4・・・デュアルモードプリンタ、22・・・マイ
クロプロセッサ、23・・・RAM、24・・・ROM
。 出願人代理人 弁理士 鈴江武彦
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flow chart showing the operation of the embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Host computer, 2... Printer control device, 4... Dual mode printer, 22... Microprocessor, 23... RAM, 24... ROM
. Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】[Claims] 接続インタフェースの異なる2以上のモードで動作する
デュアルモードプリンタにおいて、本体よりエスケープ
シーケンス切替えのためのコードが到来したことを認識
してこれを記憶し、以降受信するエスケープシーケンス
やそれに続くコードを上記記憶したモードで処理する手
段と、次に切替えのためのコマンドを受信したらこれを
記憶し、以降切替えの為のコマンドを受信するまで上記
記憶したコード体系にて処理する手段とをプリンタ制御
装置内に具備し、プリンタ制御装置は本体より到来する
エスケープシーケンス切替えのためのコマンドを認識す
ることによりオンラインでコード体系の切替えを行うこ
とを特徴とするデュアルモードプリンタのモード切替え
方式。
In a dual-mode printer that operates in two or more modes with different connection interfaces, the printer recognizes when a code for switching escape sequences has arrived from the main unit and stores it, and stores the escape sequences and subsequent codes that will be received thereafter. The printer control device includes means for processing in the selected mode, and means for storing the next command for switching when it is received, and processing using the stored code system until receiving the command for switching. A mode switching method for a dual mode printer, characterized in that the printer control device switches the code system online by recognizing a command for switching the escape sequence coming from the printer main body.
JP1021083A 1989-01-31 1989-01-31 Mode switching system for dual mode printer Pending JPH02201629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1021083A JPH02201629A (en) 1989-01-31 1989-01-31 Mode switching system for dual mode printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1021083A JPH02201629A (en) 1989-01-31 1989-01-31 Mode switching system for dual mode printer

Publications (1)

Publication Number Publication Date
JPH02201629A true JPH02201629A (en) 1990-08-09

Family

ID=12044990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1021083A Pending JPH02201629A (en) 1989-01-31 1989-01-31 Mode switching system for dual mode printer

Country Status (1)

Country Link
JP (1) JPH02201629A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0588822A (en) * 1991-09-25 1993-04-09 Mita Ind Co Ltd Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0588822A (en) * 1991-09-25 1993-04-09 Mita Ind Co Ltd Printer

Similar Documents

Publication Publication Date Title
JPS6392473A (en) Printer
HK1003848B (en) Programmable controller which allows for removal of the i/o modules during an on-line mode
US20180113439A1 (en) Numerical control system and numerical controller having display switching function
JPH04187462A (en) printing device
JP2529978B2 (en) Interface control system between main unit and communication control adapter
JPS5822409A (en) Sequence controller
JPS61194559A (en) Simultaneous use control unit for interactive processing
JP2591208B2 (en) IC card system
JPS61173363A (en) Input device control system
JPH0346018A (en) Printer device
JPH11184527A (en) Motor drive control device and control method therefor
JPH06234248A (en) Printer
JPH0651826A (en) Teaching device for robot
JP2527270B2 (en) Automatic reception cooperation processing method and automatic reception cooperation processing device
JPH01263064A (en) Printer device
JPH0540510A (en) Control device
JPH0537308Y2 (en)
JPH02260026A (en) Printing device
JPH05100884A (en) Switching system at the time of fault occurrence in duplex operation
JPH0229141A (en) Procedure switching processing system
JPS62226309A (en) Write system for rom cassette in programmable machine controller
JPH1185202A (en) Maintenance method for duplex system
JPH09231024A (en) Printer interface controller
JPH0370014A (en) Reset control system
JPH0564922U (en) Online terminal power controller