JPS61246830A - Electronic typewriter - Google Patents

Electronic typewriter

Info

Publication number
JPS61246830A
JPS61246830A JP60087514A JP8751485A JPS61246830A JP S61246830 A JPS61246830 A JP S61246830A JP 60087514 A JP60087514 A JP 60087514A JP 8751485 A JP8751485 A JP 8751485A JP S61246830 A JPS61246830 A JP S61246830A
Authority
JP
Japan
Prior art keywords
adapter
data
serial
electronic typewriter
centro
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
JP60087514A
Other languages
Japanese (ja)
Inventor
Naohisa Suzuki
尚久 鈴木
Takahiro Tsukamoto
塚本 隆博
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60087514A priority Critical patent/JPS61246830A/en
Publication of JPS61246830A publication Critical patent/JPS61246830A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain the connection and control of communication adaptors having different specifications by providing a means recognizing which of an RS adaptor and a centro adaptor is connected and selecting a suitable communication procedure by the output of the said means. CONSTITUTION:The interphase logic circuit 12 of an electronic typewriter 20 is connected by a connector 7 to any external I/F circuit 19 of a serial adaptor (RS adaptor) outputting the serial data of the RSC 232C specifications or outputting parallel reception data in the serial data of an RS 252C specifications (centro adaptor). Since the RS adaptor gives an output while using a MODEM 2 as logical 1 and a MODEM 1 as logical 0 and the centro adaptor outputs while using the MODEMs 1, 2 as logical 0, the interface logic circuit 12 detects it and informs it to an MPU 8. The MPU 8 discriminates it and selects a suitable communication procedure.

Description

【発明の詳細な説明】 E産業上の利用分野J 本発明は電子タイプライタに関し、特に受信専用機能を
有する電子タイプライタ(以下、RO@能付重付電子タ
イプライタう)において、異なる仕様の通信アダプタと
の間の接続及び制御を改善した電子タイプライタに関す
るものである。
Detailed Description of the Invention E Industrial Field of Application J The present invention relates to an electronic typewriter, particularly an electronic typewriter with a reception-only function (hereinafter referred to as RO@functional electronic typewriter), which has different specifications. The present invention relates to an electronic typewriter with improved connection and control with a communication adapter.

〔開示の概要」 本明細書及び図面は、特にRO機能付電子タイプライタ
において、シリアル受信データをシリアルデータで出力
するシリアルアダプタ又はパラレル受信データをシリア
ルデータで出力するパラレルアダプタを接続する接続手
段と、該接続手段を介して前記シリアルデータを受信す
るシリアルデータ受信手段と、前記シリアルアダプタ及
び前記パラレルアダプタを識別する識別手段を備えるこ
とにより、何れのアダプタを接続しても共通のシリアル
データ受信手段でデータ受信可能な電子タイプライタの
技術を開示するものである。
[Summary of the Disclosure] This specification and drawings specifically describe a connection means for connecting a serial adapter that outputs serial reception data as serial data or a parallel adapter that outputs parallel reception data as serial data, especially in an electronic typewriter with an RO function. , a serial data receiving means for receiving the serial data via the connecting means, and an identification means for identifying the serial adapter and the parallel adapter, so that the serial data receiving means is common regardless of which adapter is connected. The present invention discloses technology for an electronic typewriter that can receive data.

「従来の技術」 電子タイプライタは近年プリンタ部の高速化が進み、ま
た印字品位が通常のシリアルプリンタに較べてすぐれて
いるため、電子タイプライタをパーソナルコンピュータ
(パソコン)等の専用プリンタとして使用する用途が増
えている。この様な受信専用の通信機能を有する電子タ
イプライタをRoll能何電子タイプライタと呼ぶが、
パソコンとプリンタを結ぶインタフェースとしてはシリ
アルインタフェースのEIA−RS232Cと、パラレ
ルインタフェースのセントロニクス(セントロニクス社
仕様のプリンタインタフェース)等が標準的に用いられ
ており、電子タイプライタ本体にこの様なRS232C
あるいはセントロニクス標準インタフェースを搭載して
いるものも増えている。ところが、本体に両方のインタ
フェースを内蔵するとプログラムの容量が増え、かつコ
スト的に高価なものになるため、従来例としてはR52
32Cのインタフェースを本体標準装備とし、その外部
にR5232C−セントロニクス変換のための特別アダ
プタを付加することによってセントロニクスとしても機
能可能なプリンタが存在する。しかしながら、RS23
2Cインタフエースはもともと通信回線用のインタフェ
ースであるから、伝送データのフロー制御に関してはD
TR、DSR、RTS 、CTS等のハードウェア信号
線によるものと規定され、X o n / X OF 
Fコードにするデータフロー制御の他に、データリンク
の伝送用プロトコールとしてB I 5YNC。
``Prior art'' Electronic typewriters have become faster in printer parts in recent years, and the print quality is superior to that of regular serial printers, so electronic typewriters are used as dedicated printers for personal computers (PCs), etc. Its uses are increasing. An electronic typewriter with such a reception-only communication function is called a Roll Noh electronic typewriter.
The serial interface EIA-RS232C and the parallel interface Centronics (Printer interface specified by Centronics) are standard interfaces used to connect a computer and a printer.
In addition, an increasing number of devices are equipped with the Centronics standard interface. However, if both interfaces were built into the main unit, the program capacity would increase and the cost would be high, so the conventional example is R52.
There are printers that can function as Centronics by having a 32C interface as standard equipment on the main body and adding a special adapter for R5232C-Centronics conversion externally. However, RS23
Since the 2C interface is originally an interface for communication lines, D
It is specified that it is based on hardware signal lines such as TR, DSR, RTS, CTS, etc.
In addition to data flow control using F code, B I 5YNC is used as a data link transmission protocol.

HDLC等の様々な通信手順が存在する。従って、従来
例の様に本体にR5232Cインンターフエースを持ち
、外部にR5232C−セントロニクスの変換アダプタ
を付加するような場合には、本体独自では変換アダプタ
が付加されたことを認識できないため、データのフロー
制御や伝送データの受信手順についても、使用者がその
度毎に設定しなくてはならないという問題が有った。
There are various communication procedures such as HDLC. Therefore, when the main body has an R5232C interface and an R5232C-Centronics conversion adapter is added externally, as in the conventional case, the main body itself cannot recognize that the conversion adapter has been added, so the data There was also a problem in that the user had to set the flow control and transmission data reception procedure each time.

また、特に電池駆動とする電子タイプライタ等ではロジ
ックレベルからR5232Cレベルへの変換に電力を消
費し易く、更にセントロニクスのアダプタを付加する場
合は、本体でのシリアルロジックレベル−RS232C
レベルへの変換のみならず、外部RS232C−セント
ロニクス変換アクブタ中でのR5232C−シリアルロ
ジックレベル変換にも電力供給が必要になり、無用な2
重レベル変換のために電力ロスは極めて大きいものであ
った。
In addition, especially in battery-powered electronic typewriters, it is easy to consume power to convert from logic level to R5232C level, and when adding a Centronics adapter, it is necessary to convert the serial logic level to RS232C level on the main unit.
Power supply is required not only for level conversion but also for R5232C to serial logic level conversion in the external RS232C to Centronics conversion actuator, resulting in unnecessary 2
Power loss was extremely large due to heavy level conversion.

[発明が解決しようとする問題点J 異なるアダプタを介してデータ受信するに際し、フロー
制御や受信手順について使用者がその度毎に設定しなく
てはならない不利益を解決せんとするものである。
[Problem J to be Solved by the Invention This invention aims to solve the disadvantage that a user must configure flow control and reception procedures each time when receiving data via different adapters.

また同時に、無用な2重レベル変換をしていたため電力
ロスが極めて大きいという不利益を解決せんとするもの
である。
At the same time, the present invention aims to solve the disadvantage of extremely large power loss due to unnecessary double level conversion.

〔問題点を解決するための手段J この問題を解決する一手段として、例えばWS1図に示
す実施例のRO機能付電子タイプライタ(本体)1は、
シリアル受信データをR5232C仕様のシリアルデー
タで出力するシリアルアダプタ(外部I/F回路19の
1態様であり以後。
[Means for solving the problem J As a means for solving this problem, for example, an electronic typewriter (main body) 1 with an RO function according to an embodiment shown in Fig. WS1,
A serial adapter that outputs serial reception data as R5232C specification serial data (one form of the external I/F circuit 19, hereinafter referred to).

RSアダプタという)又はパラレル受信データをRS2
32C仕様のシリアルデータで出力するパラレルアダプ
タ(外部I/F回路19の別の1態様であり以後、セン
トロアダプタという)を接続するコネクタ7と、該コネ
クタ7を介して、前記   。
RS adapter) or parallel reception data to RS2
A connector 7 to which a parallel adapter (another form of the external I/F circuit 19, hereinafter referred to as a centro adapter) is connected, which outputs serial data of the 32C specification, and the above-mentioned through the connector 7.

B5232C仕様のシリアルデータを受信するRSイン
タフェースロジック回路12.!−,MODE1及びM
ODE2のラインを介して前記RSアダプタ及び前記セ
ントロアダプタを識別する識別手段81をマイクロプロ
セッサ(MPU)8の機能としてに備える。
RS interface logic circuit 12 that receives serial data of B5232C specifications. ! −, MODE1 and M
An identification means 81 for identifying the RS adapter and the centro adapter via the ODE 2 line is provided as a function of the microprocessor (MPU) 8.

「作用」 かかる第1図の構成において、本体20とRSアダプタ
間又は本体20とセントアダプタ間の信号はR5232
Cに必要なロジック信号、即ち、TxD/  、RxD
/  、DTR/  、DSR/ 、RTS/ 、CT
S/等と、RSアダプタが接続されているか又はセント
ロアダプタが接続されているかを知るためのMODE信
号1.2から成り、本体20はこのMODE信号1.2
を判断して目動的にいずれかのアダプタに適合する通信
手順を選択し、かつこの構成において、いずれの場合で
もローコストで電力消費の少ないデータ受信を行なう。
"Operation" In the configuration shown in FIG.
Logic signals required for C, i.e. TxD/, RxD
/ , DTR/ , DSR/ , RTS/ , CT
S/, etc., and a MODE signal 1.2 for knowing whether an RS adapter or a Centro adapter is connected, and the main body 20 uses this MODE signal 1.2.
A communication procedure suitable for one of the adapters is selected based on the judgment, and in any case, data reception is performed at low cost and with low power consumption.

〔実施例」 以下、添付図面に従って本発明の実施例を詳細に説明す
る。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第2図は実施例のRO機能付電子タイプライタの外観斜
視図である0図示の電子タイプライタにおいては、キー
ボード1に配列したキーを操作する。またはシリアルボ
ートコネクタ7を介して文字コードを受信すると、キャ
リッジ2に搭載した活字ホイール、即ちディジホイール
5に配列した活字を裏側から印字ハンマ6により印字用
インクリボンを介して打撃し、プラテン3上の印字用紙
4に印字が行なわれる。
FIG. 2 is an external perspective view of the electronic typewriter with RO function according to the embodiment. In the electronic typewriter shown in FIG. 2, keys arranged on the keyboard 1 are operated. Alternatively, when a character code is received via the serial boat connector 7, the characters arranged on the type wheel mounted on the carriage 2, that is, the digiwheel 5, are struck from the back side by a printing hammer 6 via a printing ink ribbon, and then placed on the platen 3. Printing is performed on the printing paper 4 of .

第1図は第2図のRO機能付電子タイプライタのブロッ
ク構成図である0図示の構成においてはマイクロプロセ
ッサ(MPU)8と、第7図のプログラムを格納したリ
ードオンリメモリ(ROM)9と、受信データ等を一時
的に蓄えるランダムアクセスメモリ(RAM)10と、
プリンタインタフェースロジック回路11と、RSイン
タフェースロジック回路12と、キーボード14との間
を共通のデータバス15により接続し、更にアドレスバ
ス16及びR/Wライン17を使用してマイクロインス
トラクションの実行やデータ授受ができるように構成さ
れている。かかる構成により、ROM9もしくはRAM
にプログラムしであるマイクロインストラクションに従
い、MPUl3は逐次演算制御及びコード制御を行なう
、キーボード14はキーが押下されて割り込み信号IN
Tが送出されると、MPU8に対して上述のプログラム
された割り込み処理を要求すると同時に。
FIG. 1 is a block diagram of the electronic typewriter with RO function shown in FIG. 2. In the configuration shown in FIG. , a random access memory (RAM) 10 for temporarily storing received data, etc.;
A common data bus 15 connects the printer interface logic circuit 11, RS interface logic circuit 12, and keyboard 14, and further uses the address bus 16 and R/W line 17 to execute microinstructions and exchange data. It is configured so that it can be done. With this configuration, ROM9 or RAM
According to the microinstructions programmed in the MPU 13, the MPU 13 performs sequential calculation control and code control.
When T is sent, the above-mentioned programmed interrupt processing is requested to the MPU 8 at the same time.

データバス15上に割り込み、処理に必要なマイクロコ
ード化したキー情報を出力する。プリンタインタフェー
スロジック11はデータバス15を介してコード化した
各種印字装置に関する駆動情報を受け取ってラッチし、
プリンタ駆動制御回路13に受け渡す、プリンタ駆動制
御回路13においては、受け取った駆動信号を各種プリ
ンタ駆動装置18を駆動し得るレベルにまで増幅する。
It interrupts the data bus 15 and outputs microcoded key information necessary for processing. Printer interface logic 11 receives and latches coded drive information regarding various printing devices via data bus 15;
The printer drive control circuit 13 , which delivers the signal to the printer drive control circuit 13 , amplifies the received drive signal to a level capable of driving various printer drive devices 18 .

次に、RSインタフェースロジック回路12はデータバ
ス15を介し設電されるデータ長、奇偶パリティ、スト
ップビット数等のデータ仕様及びボーレート仕様に従っ
て調歩同期式にて動作し。
Next, the RS interface logic circuit 12 operates in an asynchronous manner according to the data specifications such as data length, odd-even parity, number of stop bits, etc. and baud rate specifications set via the data bus 15.

送信部ではデータがパラレル−シリアル変換されてTx
D/となり、同時にDTR/ 、RTS/等の制御信号
と合わせて外部アダプタへ送出され。
In the transmitting section, the data is converted from parallel to serial and sent to Tx.
D/, and is simultaneously sent to the external adapter along with control signals such as DTR/ and RTS/.

逆に受信部は同様にRxD/なるデータをシリアル−パ
ラレル変換し、DSR/、CTS/、MODEI、2等
の入力信号もマイクロコード化してデータバス15を介
しMPU8に送出する。
Conversely, the receiving section similarly performs serial-parallel conversion on the data RxD/, converts input signals such as DSR/, CTS/, MODEI, 2, etc. into microcodes and sends them to the MPU 8 via the data bus 15.

第3図は実施例の電子タイプライタ20をRS232C
回線立2で専用プリンタとして使用する場合の電子タイ
プライタ20とRSアダプタ21のシステム構成図であ
る。また第4図は上記電子タイプライタ20をセントロ
ニクス縁立3で専用プリンタとして使用する場合の電子
タイプライタ20とセントロアダプタ22のシステム構
成図である。また信号線TxD/ 、RxD/ 、DT
R/ 、DS R/ 、RTS/ 、CTS/ 、MO
DEL、MODE2等から成る接続縁立1は本体−RS
アダプタ及び本体−セントロアダプタ間で共通である。
FIG. 3 shows the electronic typewriter 20 of the embodiment using RS232C.
FIG. 2 is a system configuration diagram of an electronic typewriter 20 and an RS adapter 21 when used as a dedicated printer on a line 2. FIG. 4 is a system configuration diagram of the electronic typewriter 20 and the Centro adapter 22 when the electronic typewriter 20 is used as a dedicated printer in the Centronics Entachi 3. Also, signal lines TxD/, RxD/, DT
R/, DS R/, RTS/, CTS/, MO
Connection frame 1 consisting of DEL, MODE 2, etc. is the main body-RS
This is common between the adapter and main body-centro adapter.

!!85図はRSアダプタ21の内部回路構成図であり
、第4図1x上のTxD/、RxD/なるデータ及びD
TR/、DSR/、RTS/、CTS/の各信号をロジ
ックレベル(例えばOV、5V) かI”+RS232
Cレベル(=l=10V) にレベル変換するドライバ
及びレシーバ回路素子と、外部アダプタが装着されてい
ることを示すMODE1信号は°゛LLパレベル次に外
部アダプタとしてRS/セントロのどちら示装着されて
いるかを示すMODE2なる信号は“H”レベルがライ
ンfLl上に送出されている。
! ! FIG. 85 is an internal circuit configuration diagram of the RS adapter 21, and the data and D of TxD/ and RxD/ on FIG.
TR/, DSR/, RTS/, CTS/ signals at logic level (e.g. OV, 5V) or I”+RS232
The driver and receiver circuit element that converts the level to C level (=l=10V) and the MODE1 signal indicating that an external adapter is installed are LL level and then RS/Centro as an external adapter. A signal MODE2 indicating whether the vehicle is present is sent on line fLl at an "H" level.

第6図はセントロアダプタ22の内部回路構成図であり
、該アダプタ専用のマイクロプロセッサ(MPU)23
と、RAM24と、固定アダプタプログラムを内蔵した
ROM25と、ライン9.1をインタフェースするRS
インタフェースロジック28と、ラインfL3をインタ
フェースするセントロインタフェースロジック29が共
通のデータバス27により接続され、アドレスバス26
及びR/Wライン30を参照して、マイクロインストラ
クションやデータを相互に授受し得るように構成されて
いる。かかる構成により、ROM25もしくはRAM2
4にプログラムされたマイクロインストラクションに従
い、MPU23は逐次演算制御及びマイクロコード制御
を行なう、RSインタフェースロジック28は本体20
のRSインタフェースロジック回路12と同様なパラレ
ル−シリアル変換を行ない、初めからボーレート12゜
O、データ仕様としてデータ長8ビツト、偶数パリティ
、1ストツプビツトに固定されている。セントロインタ
フェースロジック29はセントロニクス仕様のラインi
aからのデータをデータストローブ信号(DATA 5
TROBE/)によりラッチし、データバス27を介し
てMPU23に送出すると共に、逆にBUSY 、AC
KNLG/ 、S LCT信号等をセントロライン見3
側に送出する。 MODEI及びMODE2は共に″L
ルベルが見1に送出され、これが接続されているときは
外部インタフェースが接続されており、かつセントロア
ダプタであることを示している。
FIG. 6 is an internal circuit configuration diagram of the Centro adapter 22, which includes a microprocessor (MPU) 23 dedicated to the adapter.
, RAM 24, ROM 25 containing the fixed adapter program, and RS that interfaces line 9.1.
The interface logic 28 and the centro interface logic 29 that interfaces the line fL3 are connected by a common data bus 27, and the address bus 26
and R/W line 30, and are configured to be able to exchange microinstructions and data with each other. With this configuration, ROM25 or RAM2
4, the MPU 23 performs sequential calculation control and microcode control, and the RS interface logic 28 controls the main body 20.
It performs parallel-to-serial conversion similar to the RS interface logic circuit 12, and is fixed from the beginning at a baud rate of 12 DEG and data specifications of 8 bits, even parity, and 1 stop bit. Centronic interface logic 29 is Centronics specification line i
The data from a is sent to the data strobe signal (DATA 5
TROBE/) and sends it to the MPU 23 via the data bus 27.
KNLG/, S LCT signal, etc. on the centro line 3
Send it to the side. MODEI and MODE2 are both "L"
The label is sent to 1, and when it is connected, it indicates that the external interface is connected and that it is a centro adapter.

第7図は本体20の制御手順を示すフローチャートであ
る。まず、ステップ531ではMODElがL′”レベ
ルか否かを判別し、′L”レベルの時は外部アダプタが
装着されていることを示しステップS32へ移る。また
MODEIが++ H++レベルならば外部アダプタは
装着されていないのでステップ539の通常のタイブチ
イタモードになってキーボードの入力に従って印字する
。ステップS32ではMODE2が″H″レベル又は″
′Lルベルかによって、それぞれステップS40又は3
3へ移るが、MODE2が°°H″レベルのときは外部
アダプタがRSアダプタであること、また″′L°゛レ
ベルならば外部アダプタかセントロアダプタであること
を示している。従って、ステップ540〜544はRS
アダプタが装着された場合の制御フローを示し、またス
テップ533−338はセントロアダプタが装着された
場合の制御フローである。
FIG. 7 is a flowchart showing the control procedure of the main body 20. First, in step 531, it is determined whether MODEL is at the L''' level. If it is at the 'L' level, it indicates that the external adapter is attached, and the process moves to step S32. If MODEI is at the ++H++ level, the external adapter is not installed, so the printer enters the normal print mode in step 539 and prints according to the input from the keyboard. In step S32, MODE2 is set to "H" level or
'L level, step S40 or 3, respectively.
Moving on to 3, when MODE2 is at the °°H" level, it indicates that the external adapter is an RS adapter, and when it is at the "'L°" level, it indicates that it is an external adapter or a centro adapter. Therefore, steps 540-544
The control flow when the adapter is attached is shown, and steps 533-338 are the control flow when the Centro adapter is attached.

RSアダプタ21の装着時は、ステップ540ではRS
インタフェースロロジック路12のデータ仕様、及びボ
ーレート等をキーボード14からの入力によって設定し
、RS232Cを介して結がるホスト機とデータ仕様及
びボーレートを合わせる。もし既知であれば自動的に設
定される0次にステップ541へ移ってデータのフロー
制御をRTS/ 、CTS/で行なうモードに設定し、
ステップ342へ移ってDTR/をL″にすることによ
ってホスト機に電子タイプラインタ側がレディ状態にあ
ることを知らせ、ステップS43ではホスト側がレディ
状態であるかどうかをDSR/により調べ、レディであ
ればステップS44にてデータの受信を開始する。
When the RS adapter 21 is installed, in step 540, the RS
The data specifications, baud rate, etc. of the interface logic path 12 are set by inputting from the keyboard 14, and the data specifications and baud rate are matched with those of the host machine connected via RS232C. If known, it will be automatically set to 0. Next, proceed to step 541 and set the data flow control mode to RTS/, CTS/.
Proceeding to step 342, DTR/ is set to L'' to notify the host machine that the electronic type printer side is in the ready state, and in step S43, it is checked by DSR/ whether the host side is in the ready state, and if it is ready. For example, data reception is started in step S44.

次にセントロアダプタ22の装着時には、ステップS3
3ではRSインタフェースロロジック路12のデータ仕
様及びボーレート等が、予めセントロアダプタ22側で
設定されているシリアルインタフェースのデータ仕様4
即ちデータ長8ビツト、偶数パリティ、lストップビッ
トに自動設定されると共に、ステップS34では120
0ボーレートに、ステップS35ではデータのフロー制
御としてXon/XoFyに自動設定される。ステップ
S36ではR5232C用のDTR/をセントロアダプ
タ22へのレディ信号として用いており、“L”レベル
で本体のレディ状態を送り、ステップS37で4tRS
232C7)DSR/eセントロアダプタ側のレディ信
号として用いており、“L ”レベルでアダプタ側はレ
ディ状態を送り1本体、アダプタともに準備が完了し、
ステップ538ではセントロ−シリアル変換されたシリ
アルデータの受信を開始する。
Next, when installing the centro adapter 22, step S3
3, the data specifications, baud rate, etc. of the RS interface logic path 12 are the data specifications 4 of the serial interface that have been set in advance on the centro adapter 22 side.
That is, the data length is automatically set to 8 bits, even parity, and 1 stop bit, and in step S34, 120 bits are set.
The baud rate is automatically set to 0 baud rate, and in step S35, Xon/XoFy is automatically set as data flow control. In step S36, DTR/ for R5232C is used as a ready signal to the centro adapter 22, and the ready state of the main body is sent at "L" level, and in step S37, 4tRS
232C7) It is used as a ready signal on the DSR/e Centro adapter side, and when it is “L” level, the adapter side sends a ready status, and both the main unit and the adapter are ready.
At step 538, reception of centro-serial converted serial data is started.

このようにして、RO機能付電子タイプライタと2つの
外部インタフェース、即ち、電子タイプライタ−RSア
ダプタ、電子タイプライタ−セントロアダプタの間の信
号のやり取りを、該RS232Cのロジックレベルの信
号で代用し、かつ。
In this way, the signal exchange between the electronic typewriter with RO function and the two external interfaces, namely the electronic typewriter-RS adapter and the electronic typewriter-Centro adapter, can be replaced with the logic level signal of the RS232C. ,and.

セントロアダプタが付いたことを認識する信号を別に持
つことによって、RS232Cロジツクレベルのシリア
ルデータにおけるデータ仕様やボーレート、データのフ
ロー制御について自動設定され、使用者はセントロニク
スの変換アダプタであることを意識せずにセントロニク
ス仕様で動作させることが可能となった。
By having a separate signal that recognizes that a Centronics adapter is attached, data specifications, baud rate, and data flow control for serial data at the RS232C logic level are automatically set, without the user being aware that it is a Centronics conversion adapter. It became possible to operate with Centronics specifications.

尚、実施例では電源を本体20から取った場合について
説明したが、外部アダプタ21又は22目体に電源を持
っても良いことは自明である。また、RSアダプタとセ
ントロアダプタの識別信号を1本の信号としたが個々の
識別信号を2本持っても良い。また、セントロアダプタ
装着時のデータ仕様及びボーレートの目動設定後はシー
ケンスをRSアダプタのそれと同じにしても効果に変り
がないことは自明である。
In the embodiment, the case where the power source is taken from the main body 20 has been described, but it is obvious that the power source may be provided in the external adapter 21 or 22 body. Further, although the identification signals for the RS adapter and the Centro adapter are one signal, two individual identification signals may be provided. Furthermore, it is obvious that after setting the data specifications and baud rate fluctuations when the Centro adapter is attached, the effect will not change even if the sequence is the same as that of the RS adapter.

[発明の効果J 以上説明した如く本発明によれば、特にRO付電子タイ
プライタにおいて、いずれの受信仕様でデータ受信する
場合にも無駄な2重レベル変換を排除でき、かつ安価で
消費電力の少ない受信を実現すると共に、アダプタ識別
信号によってシリアルデータ交信時のデータ仕様やボー
レート、データフロー制御仕様が自動設定されるから、
使用者にセントロアダプタが接続中であることを意識さ
せないセントロニクス仕様の電子タイプライタが実現可
能となった。
[Effect of the Invention J As explained above, according to the present invention, unnecessary double level conversion can be eliminated when receiving data with any reception specification, especially in electronic typewriters with RO, and it is inexpensive and consumes less power. In addition to realizing less reception, data specifications, baud rate, and data flow control specifications during serial data communication are automatically set using the adapter identification signal.
It has become possible to realize an electronic typewriter with Centronics specifications that does not make the user aware that the Centronics adapter is connected.

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

第1図は実施例の電子タイプライタのブロック構成図、 第2@は電子タイプライタの外観斜視図。 !$3図はRS232Cインタフエース接続の場合のシ
ステム構成図。 第4図はセントロニクスインタフェース接続の場合のシ
ステム構成図。 第5図はRSアダプタの回路図、 !$6図はセントロアダプタのブロック構成図、 WS7図は電子タイプライタの制御フローチャートであ
る。 図中、1・・・キーボード、2・・・キャリッジ、3・
・・プラテン、4・・・印字用紙、5・・・ディジホイ
ール、6・・・ハンマ、7・・・コネクタ、8・・・マ
イクロプロセッサ(MPU)、9・・・リードオンリメ
モリ(ROM)、10・・・ランダムアクセスメモリ(
RAM)、11・・・プリンタインタフェースロジック
回路、12・・・RSインタフェースロジック回路、1
3・・・プリンタ駆動制御回路、14・・・キーボード
。 15・・・データバス、16・・・アドレスバス、17
・・・R/Wライン、18・・・プリンタ駆動装置、1
9・・・外部I/F回路、20・・・電子タイプライタ
、21・・・RSアダプタ、22・・・セントロアダプ
タである。 特許出願人    キャノン株式会社 第3図 2゜ 第4図
FIG. 1 is a block diagram of an electronic typewriter according to an embodiment, and FIG. 2 is an external perspective view of the electronic typewriter. ! Figure $3 is a system configuration diagram for RS232C interface connection. FIG. 4 is a system configuration diagram in the case of Centronics interface connection. Figure 5 is the circuit diagram of the RS adapter. Figure $6 is a block diagram of the Centro adapter, and Figure WS7 is a control flowchart of the electronic typewriter. In the figure, 1...keyboard, 2...carriage, 3...
...Platen, 4...Print paper, 5...Digiwheel, 6...Hammer, 7...Connector, 8...Microprocessor (MPU), 9...Read only memory (ROM) , 10...Random access memory (
RAM), 11... Printer interface logic circuit, 12... RS interface logic circuit, 1
3... Printer drive control circuit, 14... Keyboard. 15...Data bus, 16...Address bus, 17
...R/W line, 18...Printer drive device, 1
9... External I/F circuit, 20... Electronic typewriter, 21... RS adapter, 22... Centro adapter. Patent applicant Canon Co., Ltd. Figure 3 2゜Figure 4

Claims (6)

【特許請求の範囲】[Claims] (1)シリアル受信データをシリアルデータで出力する
シリアルアダプタ又はパラレル受信データをシリアルデ
ータで出力するパラレルアダプタを接続する接続手段と
、該接続手段を介して前記シリアルデータを受信するシ
リアルデータ受信手段と、前記シリアルアダプタ及び前
記パラレルアダプタを識別する識別手段を備えることを
特徴とする電子タイプライタ。
(1) A connection means for connecting a serial adapter that outputs serial reception data as serial data or a parallel adapter that outputs parallel reception data as serial data, and a serial data reception means that receives the serial data via the connection means. , an electronic typewriter comprising identification means for identifying the serial adapter and the parallel adapter.
(2)シリアルアダプタはEIA−RS232C仕様に
従つてシリアルデータを受信することを特徴とする特許
請求の範囲第1項記載の電子タイプライタ。
(2) The electronic typewriter according to claim 1, wherein the serial adapter receives serial data in accordance with the EIA-RS232C specification.
(3)パラレルアダプタはセントロニクス仕様に従つて
パラレルデータを受信することを特徴とする特許請求の
範囲第1項記載の電子タイプライタ。
(3) The electronic typewriter of claim 1, wherein the parallel adapter receives parallel data according to Centronics specifications.
(4)シリアルデータ受信手段はEIA−RS232C
仕様に従つてシリアルデータを受信することを特徴とす
る特許請求の範囲第1項乃至第3項のいずれかに記載の
電子タイプライタ。
(4) Serial data receiving means is EIA-RS232C
An electronic typewriter according to any one of claims 1 to 3, characterized in that it receives serial data according to specifications.
(5)識別手段は接続手段を介してアダプタ識別コード
を受け取ることを特徴とする特許請求の範囲第1項乃至
第4項のいずれかに記載の電子タイプライタ。
(5) An electronic typewriter according to any one of claims 1 to 4, characterized in that the identification means receives the adapter identification code via the connection means.
(6)シリアルデータ受信手段はアダプタ識別コードに
従つてEIA−RS232Cの受信仕様を定めることを
特徴とする特許請求の範囲第5項記載の電子タイプライ
タ。
(6) The electronic typewriter according to claim 5, wherein the serial data receiving means determines the EIA-RS232C reception specifications according to the adapter identification code.
JP60087514A 1985-04-25 1985-04-25 Electronic typewriter Pending JPS61246830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60087514A JPS61246830A (en) 1985-04-25 1985-04-25 Electronic typewriter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60087514A JPS61246830A (en) 1985-04-25 1985-04-25 Electronic typewriter

Publications (1)

Publication Number Publication Date
JPS61246830A true JPS61246830A (en) 1986-11-04

Family

ID=13917094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60087514A Pending JPS61246830A (en) 1985-04-25 1985-04-25 Electronic typewriter

Country Status (1)

Country Link
JP (1) JPS61246830A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63113624A (en) * 1986-10-30 1988-05-18 Tokyo Electric Co Ltd Printer interface for electronic scale

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63113624A (en) * 1986-10-30 1988-05-18 Tokyo Electric Co Ltd Printer interface for electronic scale

Similar Documents

Publication Publication Date Title
EP2482196A2 (en) Image processing apparatus, printing apparatus and controlling method in image processing apparatus
US5949445A (en) Printing apparatus and method
US7130065B2 (en) Printing apparatus, method of controlling same, information processor connected thereto, system and storage medium
US20070008369A1 (en) Printer and print control apparatus and method thereof, and printer driver
JP3083001B2 (en) Image communication device
JPS61246830A (en) Electronic typewriter
JP4227428B2 (en) Information processing apparatus and method for controlling the apparatus
US5889930A (en) Output method and apparatus
CN110936741A (en) Single-chip SOC (system on chip) of thermal printer
US7113290B2 (en) Controlling printer reception of print data from multiple interfaces using a busy state
JP3962591B2 (en) Ink jet printer and control method of ink jet printer
JP3027060B2 (en) Data input / output method and apparatus, and printing apparatus
JPS63113625A (en) Printer
JP4484270B2 (en) Printer and printer control method
JPH0895721A (en) Printer system
JPS59200338A (en) Printer
JP3003791B2 (en) Color printing equipment
JP2716552B2 (en) Printer connection method
JPH01214464A (en) Electronic typewriter
JPH03146383A (en) Recorder
JP2750420B2 (en) Peripheral device expansion device for computer and its driver
JP2004209946A (en) Method for cleaning head of inkjet recording apparatus
JPS62251826A (en) Recording device
JP2003140868A (en) Interface device in label printer
JPS62130862A (en) Controlling system for printer