JPH0155112B2 - - Google Patents

Info

Publication number
JPH0155112B2
JPH0155112B2 JP58118770A JP11877083A JPH0155112B2 JP H0155112 B2 JPH0155112 B2 JP H0155112B2 JP 58118770 A JP58118770 A JP 58118770A JP 11877083 A JP11877083 A JP 11877083A JP H0155112 B2 JPH0155112 B2 JP H0155112B2
Authority
JP
Japan
Prior art keywords
data
mode
key
display device
input
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.)
Expired
Application number
JP58118770A
Other languages
Japanese (ja)
Other versions
JPS5926280A (en
Inventor
Hideo Ueno
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP58118770A priority Critical patent/JPS5926280A/en
Publication of JPS5926280A publication Critical patent/JPS5926280A/en
Publication of JPH0155112B2 publication Critical patent/JPH0155112B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/44Typewriters or selective printing mechanisms having dual functions or combined with, or coupled to, apparatus performing other functions
    • B41J3/46Printing mechanisms combined with apparatus providing a visual indication

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Printers Characterized By Their Purpose (AREA)

Description

【発明の詳細な説明】 〔技術分野〕 この発明はキーボードより入力されたデータを
表示装置に順次表示させる第1のモードと、その
第1のモードにより表示されたデータを表示装置
からシフトアウトされたデータ順に印字する第2
のモードと、キーボードより入力されたデータを
表示すると同時に、印字する第3のモードとを切
換え可能な電子タイプライタに関し、特に、上記
3モード間でモード切換えをした場合に、キーボ
ードより既に入力されたデータの処理に関するも
のである。
[Detailed Description of the Invention] [Technical Field] The present invention provides a first mode in which data input from a keyboard is sequentially displayed on a display device, and a mode in which data displayed in the first mode is shifted out from the display device. The second part prints the data in the order of
Regarding an electronic typewriter that can switch between this mode and a third mode in which data entered from the keyboard is displayed and printed at the same time, in particular, when switching between the three modes mentioned above, data that has already been entered from the keyboard is displayed. This relates to the processing of data.

〔発明の目的〕[Purpose of the invention]

上記のように表示装置のみを動作させる第1の
モードを有するタイプライタにあつては、その第
1のモードにてキーボードより順次データを入力
し、それらのデータのうち最終の所定箇所のみ印
字したい場合がある。例えば、計算機能を備えた
電子タイプライタにおいては演算式の印字は不必
要であり、演算結果のみを印字したい場合があ
る。このようなとき、まず、第1のモードに設定
して演算式を入力し、イコールキーの操作等によ
り演算結果のみを表示装置上に表示する。次いで
第2のモードあるいは第3のモードに切換えてそ
の演算結果のみを印字用紙上に印字するものであ
るが、その演算結果のデータ数が電子タイプライ
タの現在の印字行の現在の印字ヘツドの位置とラ
イトマージンとの間に印字可能な文字数よりも多
いことが考えられる。演算結果を同一行中に印字
したい場合には印字可能な文字数と印字したいデ
ータ数とを計数・比較しなければならない。
For typewriters that have a first mode in which only the display device operates as described above, in the first mode, data is input sequentially from the keyboard, and only the final predetermined part of the data is printed. There are cases. For example, in an electronic typewriter equipped with a calculation function, it is unnecessary to print out the calculation formula, and it may be desired to print only the calculation result. In such a case, first, the first mode is set, an arithmetic expression is input, and only the arithmetic result is displayed on the display device by operating the equal key or the like. Next, the mode is switched to the second mode or the third mode, and only the result of the calculation is printed on the printing paper, but if the number of data of the calculation result exceeds the number of data in the current print head of the current print line of the electronic typewriter. It is possible that there are more characters than can be printed between the position and the light margin. If you want to print the calculation results on the same line, you must count and compare the number of characters that can be printed and the number of data that you want to print.

本発明の目的は上記の欠点を未然に防止するた
めになされたものであり、使い勝手の良い電子タ
イプライタを提供しようとするものである。
SUMMARY OF THE INVENTION An object of the present invention is to prevent the above-mentioned drawbacks, and to provide an electronic typewriter that is easy to use.

〔発明の構成〕[Structure of the invention]

以下、実施例に従つて本発明を説明する。 The present invention will be described below with reference to Examples.

第1図は本発明に係る電子タイプライタの概略
を示す斜視図であり、 図中キーボード1にはアルフアベツトに対応す
る多数の文字キー2と、キーボード1の上段に横
一列に配置され、夫々の数字に対応する多数の数
字キー3と、文字、数字等の印字と独立して後述
するキヤリツジ32を印字行に沿つて歩進制御す
るスペースバー4と、文字、数字等の印字と独立
してキヤリツジ32を印字行に沿つて後退制御す
るバツクスペースキー5と、前記キヤリツジ32
をレフトマージン位置に復帰制御すると共に、後
述するプラテン30に装着された印字用紙をその
印字行と直行する方向へ紙送り制御する改行キー
6と、多数の文字キー2、並びに数字キー3等に
対応する大文字、若しくは小文字を選択制御する
シフトキー7と、文字キー2、並びに数字キー3
に対応して配列された、例えば“¨”(ウムラル
ト)、“^”(アクサンシリコンフレツクス)等の
特殊記号を選択制御するセカンドシフトキー8
と、印字行の左右幅を夫々設定するレフトマージ
ンキー9、並びにライトマージンキー10と、前
記レフトマージンキー9、ライトマージンキー1
0により夫々設定された左右のマージン位置を一
印字行に亘つて解除するマージンリリースキー1
1と、前記レフトマージンキー9、ライトマージ
ンキー10によつて設定された印字行内における
任意のタブ位置を設定するタブセツトキー12
と、そのタブセツトキー12により設定されたタ
ブ位置を解除するタブクリヤキー13と、前記タ
ブセツトキー12により設定されたタブ位置へキ
ヤリツジを移動制御するタブキー14と、印字用
紙をその印字行と直行する方向へ所定ピツチ毎に
紙送りする紙送りキー15と、同様に印字用紙を
その印字行と直行する方向へ紙戻しする紙戻しキ
ー16と、押下された前記文字キー2、数字キー
3、スペースバー4、バツクスペースキー5、改
行キー6、紙送りキー15、並びに紙戻しキー1
6に基づいて夫々の動作を連続制御するリピート
キー17と、文字キー2、数字キー3、後述する
演算キー19等の操作により入力された文字、数
字、演算記号等を、またキー入力された数値デー
タを演算キー19により指定された演算式に従つ
て演算処理し、その演算結果を夫々表示すると共
に、表示された文字、数字、演算記号、並びに演
算結果を編集処理する第1のモードと、上記動作
の外に表示された文字、数字、演算記号、並びに
演算結果等を印字用紙上に印字する第2のモード
と、入力された文字、数字記号を表示すると同時
に、印字用紙上に印字する第3のモードを選択す
るモード切換スイツチ18と、該モード切換スイ
ツチ18により第1のモード、若しくは第2のモ
ードが選択された際、数字キー3により入力され
た数値データの四則演算式を夫々選択するために
キーボード1の右上方の一箇所に集中して配置さ
れた演算キー19と、上記演算キー19により選
択された演算式に従つて演算処理を実行するため
の前記四則演算キー19に隣接して配置されたイ
コールキー20と、文字キー2、数字キー3、演
算キー19、並びにイコールキー20により入力
された文字、数字、演算記号、並びに演算結果等
を夫々5×8のドツトマトリツクスで表示する所
定桁数からなる液晶表示装置21と、該表示装置
21上に表示された文字、数字、演算記号,演算
結果等を全て消去するクリヤキー22と、第1、
若しくは第2のモードが選択された際、表示装置
21上に表示されたカーソル21aを所望の桁位
置へ移動させると共に、移動された桁位置におけ
る文字等を点滅させ、訂正可能状態にするカーソ
ルキー23・24と、前記カーソルキー23・2
4により移動されたカーソル21aに対応する桁
位置の文字等を削除する削除キー25と、同様に
カーソルキー23・24により移動されたカーソ
ル21aに対応する桁位置より上位桁に表示され
た文字を上位桁側へシフトし、カーソル21aに
対応する桁位置に対し文字等を追加する挿入キー
26と、印字行間隔を決定するピツチ選択スイツ
チ27とが配列されている。
FIG. 1 is a perspective view showing an outline of an electronic typewriter according to the present invention. In the figure, a keyboard 1 has a large number of character keys 2 corresponding to alphanumeric characters, and a number of character keys 2 arranged horizontally in the upper row of the keyboard 1. A large number of numeric keys 3 corresponding to numbers, a space bar 4 that controls the advancement of a carriage 32 (to be described later) along a printing line independently of the printing of letters, numbers, etc. a backspace key 5 for controlling the carriage 32 backward along the print line;
A line feed key 6, which controls the return of the printer to the left margin position, and controls paper feeding of the print paper mounted on the platen 30, which will be described later, in a direction perpendicular to the print line, a large number of character keys 2, number keys 3, etc. Shift key 7 for selecting and controlling the corresponding uppercase or lowercase letter, character key 2, and number key 3
A second shift key 8 for selecting and controlling special symbols such as "¨" (umralt) and "^" (accent silicone flex) arranged corresponding to
, a left margin key 9 and a right margin key 10 for setting the left and right widths of the print line, respectively, and the left margin key 9 and the right margin key 1.
Margin release key 1 to release the left and right margin positions set respectively by 0 for one print line
1, and a tab set key 12 for setting an arbitrary tab position within the print line set by the left margin key 9 and right margin key 10.
, a tab clear key 13 for canceling the tab position set by the tab set key 12, a tab key 14 for controlling the movement of the carriage to the tab position set by the tab set key 12, and a tab key 14 for controlling the movement of the carriage to the tab position set by the tab set key 12; A paper feed key 15 that feeds the paper every time, a paper return key 16 that similarly returns the printing paper in the direction perpendicular to the print line, and the pressed letter key 2, number key 3, space bar 4, back button. Space key 5, line feed key 6, paper feed key 15, and paper return key 1
The repeat key 17 continuously controls each operation based on 6, the character keys 2, the numeric keys 3, the arithmetic keys 19 to be described later, etc. A first mode in which numerical data is arithmetic-processed according to an arithmetic formula specified by the arithmetic keys 19, the arithmetic results are displayed, and the displayed characters, numbers, arithmetic symbols, and arithmetic results are edited. , a second mode in which characters, numbers, calculation symbols, and calculation results displayed outside of the above operations are printed on the printing paper; and a second mode in which characters, numbers, and symbols that are input are displayed and printed on the printing paper at the same time. When the first mode or the second mode is selected by the mode changeover switch 18, the four arithmetic expressions of the numerical data input using the numeric keys 3 are selected. Arithmetic keys 19 are concentrated in one place on the upper right of the keyboard 1 for selection, and the four arithmetic operation keys 19 are used to execute arithmetic processing according to the arithmetic expression selected by the arithmetic keys 19. The equal key 20, which is placed adjacent to A liquid crystal display device 21 consisting of a predetermined number of digits displayed in a matrix, a clear key 22 for erasing all characters, numbers, operation symbols, operation results, etc. displayed on the display device 21;
Alternatively, when the second mode is selected, a cursor key that moves the cursor 21a displayed on the display device 21 to a desired digit position and blinks the characters, etc. at the moved digit position to enable correction. 23 and 24, and the cursor keys 23 and 2
The delete key 25 deletes characters, etc. at the digit position corresponding to the cursor 21a moved by the cursor keys 23 and 24. An insert key 26 for shifting to the upper digit side and adding a character or the like to the digit position corresponding to the cursor 21a, and a pitch selection switch 27 for determining the print line spacing are arranged.

尚、図中7aは大文字の選択動作を保持するシ
フトロツクキーであり、該シフトロツクキー7a
が押下された際、発光ダイオード28を発光さ
せ、大文字及びシフト側文字が選択状態にあるこ
とを表示する。
In addition, 7a in the figure is a shift lock key that holds the selection operation of uppercase letters, and the shift lock key 7a
When pressed, the light emitting diode 28 emits light to indicate that the uppercase letter and the shift side letter are in the selected state.

また改行キー6、紙送りキー15、若しくは紙
戻しキー16が夫々継続して押下された際、改行
動作、紙送り動作、若しくは紙戻し動作を継続し
て実行するセルフリピート機能を備えている。
It also has a self-repeat function that continuously executes the line feed, paper feed, or paper return operation when the line feed key 6, paper feed key 15, or paper return key 16 is continuously pressed.

さらに図中29は表示装置21における夫々の
液晶に印加される電圧を可変し、液晶の配列状態
を変更させて輝度調節を行なう輝度設定ダイヤル
である。
Furthermore, reference numeral 29 in the figure is a brightness setting dial that adjusts the brightness by varying the voltage applied to each liquid crystal in the display device 21 and changing the arrangement state of the liquid crystals.

プラテン30は本体フレーム(図示せず)に回
転可能に軸支され、熱により発色可能な発色層を
締着してなる印字用紙としての感熱紙31を装着
するものであり、紙送り用ステツプモータ(図示
せず)の回転駆動に従つて前記感熱紙31をその
印字行と直行する方向へ紙送り、並びに紙戻しす
る。
The platen 30 is rotatably supported by a main body frame (not shown), and is equipped with thermal paper 31 as printing paper, which is made by fastening a coloring layer that can be colored by heat, and is equipped with a step motor for paper feeding. (not shown), the thermal paper 31 is fed and returned in a direction perpendicular to the print line.

キヤリツジ32は印字行に沿つて本体フレーム
に固着されたガイドロツド33、並びにリンク機
構に連結され揺動可能なロツド(いずれも図示せ
ず)に対し往復移動可能に取付けられている。
The carriage 32 is attached so as to be able to reciprocate along the printing line to a guide rod 33 fixed to the main body frame and to a swingable rod (none of which is shown) connected to a link mechanism.

サーマルヘツド34は前記キヤリツジ32上に
装着され、印字動作時において前記感熱紙31に
当接され、印字行と直行する方向へ多数配列され
た発熱層を選択的に発熱させ、感熱紙31上に文
字、数字等を例えば5×8ドツトマトリツクス形
式で印字するものである。
The thermal head 34 is mounted on the carriage 32 and comes into contact with the thermal paper 31 during the printing operation, selectively generating heat from a large number of heat generating layers arranged in a direction perpendicular to the print line, and printing on the thermal paper 31. Characters, numbers, etc. are printed in, for example, a 5×8 dot matrix format.

尚、図中35は本体ケースに取付けられた電源
スイツチであり、該電源スイツチ35がONされ
ると、電子タイプライタはプラテン30後方に収
納された電池により電池駆動される。
In the figure, reference numeral 35 denotes a power switch attached to the main body case, and when the power switch 35 is turned on, the electronic typewriter is powered by a battery housed behind the platen 30.

第2図は電子タイプライタの電子ブロツク図、
第3図はバツフアメモリ、並びに表示装置を示す
説明図、 第4図は電子タイプライタの基本動作を示すフ
ローチヤートであり、 先ず、電源スイツチ35がONされるとキヤリ
ツジ32をホームポジシヨンへ復帰させると共
に、表示装置21等を消去させてイニシヤライズ
した後(ブロツク40)、マイクロコンピユータよ
りなる制御回路36はモード切替スイツチ17に
より設定された第1乃至第3のモードに対応する
フラグをセツトすると共に、セツトされたフラグ
に基づいてリード・オンリ・メモリ(以下、
ROMとする)37内のプログラムメモリ37a
に書込まれた夫々のモードに対応するプログラム
を指定する(ブロツク41)。
Figure 2 is an electronic block diagram of an electronic typewriter.
FIG. 3 is an explanatory diagram showing the buffer memory and display device, and FIG. 4 is a flowchart showing the basic operation of the electronic typewriter. First, when the power switch 35 is turned on, the carriage 32 is returned to the home position. At the same time, after erasing and initializing the display device 21, etc. (block 40), the control circuit 36 consisting of a microcomputer sets flags corresponding to the first to third modes set by the mode changeover switch 17, and Read-only memory (hereinafter referred to as
Program memory 37a in ROM) 37
A program corresponding to each mode written in is specified (block 41).

そして制御回路36はキーボード1上に配列さ
れたキーが押下されたか否かを判断し、キー入力
されていない場合、前述したモード検索を継続す
る(ブロツク42)。
The control circuit 36 then determines whether a key arranged on the keyboard 1 has been pressed or not, and if no key input has been made, the mode search described above continues (block 42).

一方、キー入力された場合、制御回路36は
夫々のキーに対応してキーボード1から入力され
たコードデータを表示装置21と等しい桁数の記
憶位置を有するランダム・アクセス・メモリ等の
バツフアメモリ36aに順次書込むと共に、書込
まれたコードデータに基づいて夫々の文字、数字
等のパターンデータが書込まれてなるROM37
内のパターンメモリ37bから押下されたキーに
対応するパターンデータをアクセスして表示制御
回路38に出力する。
On the other hand, when a key is input, the control circuit 36 inputs the code data input from the keyboard 1 corresponding to each key to a buffer memory 36a such as a random access memory having the same number of digits as the display device 21. A ROM 37 in which pattern data such as letters and numbers are written in sequence and based on the written code data.
The pattern data corresponding to the pressed key is accessed from the pattern memory 37b inside and output to the display control circuit 38.

また、制御回路36は第2のモードが選択され
た際、前記バツフアメモリ36aからシフトアウ
トしたコードデータに基づいてパターンメモリ3
7bから押下されたキーに対応するパターンデー
タを、また第3のデータが選択された際、バツフ
アメモリ36aに書込まれたコードデータに基づ
いてパターンメモリ37bからパターンデータを
夫々アクセスして印字制御回路39に出力する。
Further, when the second mode is selected, the control circuit 36 controls the pattern memory 36 based on the code data shifted out from the buffer memory 36a.
The print control circuit accesses the pattern data corresponding to the key pressed from 7b and the pattern data from the pattern memory 37b based on the code data written in the buffer memory 36a when the third data is selected. Output to 39.

表示制御回路38は入力されたパターンデータ
を前記表示装置21と等しい桁数の記憶位置を有
するバツフアメモリ38aに桁位置をシフトしな
がら順次書込むと共に、該バツフアメモリ38a
に書込まれたパターンデータを走査して夫々の記
憶位置に書込まれたパターンデータを該記憶位置
に対応する表示装置21の桁位置に出力し、該パ
ターンデータに基づいて文字、数字等を5×8の
ドツトマトリツクス形式で液晶表示させる。
The display control circuit 38 sequentially writes the input pattern data into a buffer memory 38a having storage positions with the same number of digits as the display device 21 while shifting the digit positions.
The pattern data written in each memory location is scanned and the pattern data written in each memory location is output to the digit position of the display device 21 corresponding to the memory location, and characters, numbers, etc. are displayed based on the pattern data. It is displayed on a liquid crystal display in a 5 x 8 dot matrix format.

印字制御回路39は制御回路36から入力され
るパターンデータに基づいてキヤリツジ32を印
字行に沿つて歩進させると共に、サーマルヘツド
の発熱層を選択的に発熱させ、印字用紙31に文
字、数字等を5×8のドツトマトリクス形式で印
字させる(ブロツク43)。
The print control circuit 39 advances the carriage 32 along the print line based on the pattern data input from the control circuit 36, selectively causes the heating layer of the thermal head to generate heat, and prints letters, numbers, etc. on the print paper 31. is printed in a 5×8 dot matrix format (block 43).

尚、第2図破線で示すブロツクMC内の上記制
御回路36、並びにROM37は1チツプのマイ
クロコンピユータにより構成されている。
The control circuit 36 and ROM 37 in the block MC shown by the broken line in FIG. 2 are constituted by a one-chip microcomputer.

次に第5図乃至第11図に従つて各モードの動
作を説明する。
Next, the operation in each mode will be explained according to FIGS. 5 to 11.

先ずモード切換スイツチ18により第1のモー
ドが選択されると、該第1のモードに対応するフ
ラグをセツトすると共に、該フラグに基づいてプ
ログラムメモリ37aにおいて第1のモードに対
応するプログラムがストアされた先頭アドレスを
アクセスし、順次該プログラムに従つて後述する
第1のモード処理を実行する。
First, when the first mode is selected by the mode changeover switch 18, a flag corresponding to the first mode is set, and a program corresponding to the first mode is stored in the program memory 37a based on the flag. The first mode processing, which will be described later, is executed sequentially according to the program.

キー入力された場合、該キーに対応するコード
データが文字キー2、数字キー3、スペースバー
4、演算キー19等に対応する表示データである
か、或いはバツクスペースキー5、改行キー6、
タブキー14、イコールキー20等に対応するフ
アンクシヨンデータであるかを判定し、上記フア
ンクシヨンデータ以外の場合、入力可能状態であ
るかを判定する。
When a key is input, the code data corresponding to the key is display data corresponding to character key 2, number key 3, space bar 4, calculation key 19, etc., or backspace key 5, line feed key 6,
It is determined whether the function data corresponds to the tab key 14, the equal key 20, etc., and if the function data is other than the above-mentioned function data, it is determined whether the input is possible.

入力可能状態にある場合、バツフアメモリ36
aに書込まれたコードデータに基づいてアクセス
されたパターンデータを前記バツフアメモリ38
aに書込むと共に、入力されたパターンデータに
基づいて押下された文字キー2、数字キー3、ス
ペースバー4、演算キー19に対応する文字、記
号等を5×8ドツトマトリクス形式で液晶表示す
る。
When input is possible, the buffer memory 36
The pattern data accessed based on the code data written in the buffer memory 38
At the same time, the characters, symbols, etc. corresponding to the letter key 2, number key 3, space bar 4, and calculation key 19 pressed based on the input pattern data are displayed on the liquid crystal in a 5×8 dot matrix format. .

上記表示後、データカウンタからカウントアツ
プし、入力データ数を計数すると共に、入力され
たデータ数がバツフアメモリ36aの桁数をオー
バーしているか否かを判定し、入力データ数がそ
の桁数をオーバーしている場合、該バツフアメモ
リ36aからシフトアウトしたコードデータをレ
ジスタ36bに印字データとして記憶した後、該
レジスタ36bに記憶されたコードデータが数値
データであるか否かを判定する。
After the above display, the data counter counts up the number of input data, determines whether the number of input data exceeds the number of digits in the buffer memory 36a, and determines whether the number of input data exceeds the number of digits. If so, the code data shifted out from the buffer memory 36a is stored in the register 36b as print data, and then it is determined whether the code data stored in the register 36b is numerical data.

上記コードデータが数値データの場合、該数値
データを第1、若しくは第2の計算レジスタ(図
示せず)に書込んだ後、スタートに移り、第5図
に示すフローチヤートに従つて順次入力されるコ
ードデータに基づいてキー入力された文字等を表
示処理する。
If the above code data is numeric data, after writing the numeric data into the first or second calculation register (not shown), move to the start and input the data sequentially according to the flowchart shown in Figure 5. Displays and processes key-input characters based on code data.

前述したコードデータの判定において、該コー
ドデータがカーソル21aを左側へシフトさせる
カーソルキー23に対応するフアンクシヨンデー
タである場合、第6図に示すように表示装置21
上においてカーソル21aを点滅させて訂正モー
ドに切換えると共に、カーソル21aを1桁分、
左側((上位桁側)へ移動させる。
In the code data determination described above, if the code data is function data corresponding to the cursor key 23 that shifts the cursor 21a to the left, the display device 21 as shown in FIG.
Switch the cursor 21a to the correction mode by blinking the cursor 21a at the top, and move the cursor 21a one digit,
Move to the left ((upper digit side).

そして該カーソルキー23の次に押下されたキ
ーに対応するコードデータをカーソル21aによ
り指定されたバツフアメモリ36aの桁位置に書
込むと共に、該コードデータに基づいてパターン
メモリ37bからアクセスされたパターンデータ
をバツフアメモリ38aの桁位置に書込む。
Then, the code data corresponding to the key pressed next to the cursor key 23 is written to the digit position of the buffer memory 36a designated by the cursor 21a, and the pattern data accessed from the pattern memory 37b is written based on the code data. Write to the digit position of the buffer memory 38a.

上記動作後、前記カーソル21aが表示装置2
1の0桁目に位置するかを判定し、該カーソル2
1aが0桁目に位置する場合、訂正モードを解除
すると共に、カーソル21aにより指定された桁
位置に表示された文字等を訂正入力されたパター
ンデータに基づいて表示替えする。
After the above operation, the cursor 21a moves to the display device 2.
It is determined whether the cursor 2 is located at the 0th digit of
When 1a is located at the 0th digit, the correction mode is canceled and the display of the characters etc. displayed at the digit position specified by the cursor 21a is changed based on the corrected and inputted pattern data.

上記カーソル21aの桁位置の判定において、
該カーソルが0桁以外に位置する場合、カーソル
21aを右側へシフトし、カーソル21aにより
指定された桁位置において表示された文字等を訂
正入力されたパターンデータに基づいて表示替え
し、表示装置21に表示された文字等を順次訂正
する。
In determining the digit position of the cursor 21a,
When the cursor is located at a digit other than 0, the cursor 21a is shifted to the right, the characters displayed at the digit position specified by the cursor 21a are changed based on the corrected input pattern data, and the display device 21 Correct the characters displayed on the screen in sequence.

また、カーソルキー24が押下されると、カー
ソル21aと点滅させると共に、訂正モードに切
換えた後、表示装置21上のカーソル21aが0
桁目に位置するかを判定し、該カーソル21aが
0桁目に位置する場合、訂正モードを解除する。
Further, when the cursor key 24 is pressed, the cursor 21a blinks, and after switching to the correction mode, the cursor 21a on the display device 21 changes to 0.
It is determined whether the cursor 21a is located at the 0th digit, and if the cursor 21a is located at the 0th digit, the correction mode is canceled.

上記判定においてカーソル21aが0桁以外に
位置する場合、カーソル21aを下位桁側へシフ
トし、前述した動作に従つて訂正入力されたコー
ドデータに基づいて表示装置21に表示された文
字等を表示替えする。
If the cursor 21a is located at a digit other than 0 in the above judgment, the cursor 21a is shifted to the lower digit side, and the characters etc. displayed on the display device 21 are displayed based on the code data corrected and input according to the operation described above. Change.

上記動作と同様に訂正モードにあるとき、削除
キー25が押下されると、カーソル21aにより
指定されたバツフアメモリ36a,38aにおけ
る桁位置のコードデータ及びパターンデータを消
去すると共に、バツフアメモリ36a,38aに
おいて前記カーソル21a位置より上位桁側に書
込まれたコードデータ及びパターンデータを下位
桁側へシフトした後、前述した動作に従つてカー
ソル21aがバツフアメモリ38aにおける0桁
に位置するか否かを判定し、該カーソル21aが
0桁に位置する場合、訂正モードを解除し、また
0桁以外に位置する場合、カーソル21aを下位
桁側へシフトしてスタートへ移る。
Similarly to the above operation, when the delete key 25 is pressed in the correction mode, the code data and pattern data at the digit position in the buffer memories 36a, 38a specified by the cursor 21a are deleted, and the data in the buffer memories 36a, 38a are deleted. After shifting the code data and pattern data written to the upper digits from the cursor 21a position to the lower digits, it is determined whether the cursor 21a is located at the 0 digit in the buffer memory 38a according to the above-described operation, When the cursor 21a is located at the 0 digit, the correction mode is canceled, and when the cursor 21a is located at a digit other than 0, the cursor 21a is shifted to the lower digit and the process moves to the start.

上記動作と同様に訂正モードにあるとき、挿入
キー26が押下されると、バツフアメモリ36
a,38aにおけるカーソル21a位置より上位
桁側に書込まれたコードデータ及びパターンデー
タを上位桁側へ1桁シフトすると共に、該カーソ
ル21aを上位桁側へシフトしてカーソル21a
により指定されたバツフアメモリ36a,38a
における桁位置にスペースに対応するコードデー
タ及びパターンデータを書込み、前述した動作に
従つてデータカウンタ数をカウントアツプした
後、スペースに対応するコードデータ及びパター
ンデータを訂正モードに従つて挿入キー26に引
き続き押下されたキーに対応するコードデータ及
びパターンデータに書替え、文字等の挿入処理を
実行する。
Similarly to the above operation, when the insert key 26 is pressed in the correction mode, the buffer memory 36
The code data and pattern data written on the upper digit side than the cursor 21a position in a, 38a are shifted by one digit to the upper digit side, and the cursor 21a is shifted to the upper digit side.
Buffer memories 36a, 38a specified by
After writing the code data and pattern data corresponding to the space in the digit position and counting up the data counter number according to the operation described above, write the code data and pattern data corresponding to the space to the insert key 26 according to the correction mode. Subsequently, code data and pattern data corresponding to the pressed key are rewritten, and characters, etc. are inserted.

キー入力されたコードデータがイコールキー2
0に対応するフアンクシヨンデータの場合、第1
の計算レジスタに書込まれた数値データと次に入
力され、第2の計算レジスタに書込まれた数値デ
ータとを演算キー19により指定された演算式に
従つて演算した後、第1の計算レジスタの内容を
第1の演算結果に書替える。
The code data entered by the key is equal to key 2
In the case of function data corresponding to 0, the first
After calculating the numerical data written in the calculation register and the numerical data input next and written in the second calculation register according to the calculation formula specified by the calculation key 19, the first calculation is performed. Rewrite the contents of the register with the first operation result.

そして更に入力される数値データに従つて第2
の計算レジスタの内容を書替えると共に、第1の
計算レジスタに書込まれた第1の演算結果と、第
2の計算レジスタに書込まれた数値データを演算
キー19により指定された演算式に従つて演算し
た後、第1の計算レジスタの内容を上記第2の演
算結果に書替えて順次演算する。
Then, according to the further input numerical data, the second
In addition to rewriting the contents of the calculation register, the first calculation result written in the first calculation register and the numerical data written in the second calculation register are converted into the calculation formula specified by the calculation key 19. Therefore, after the calculation, the contents of the first calculation register are rewritten to the second calculation result and the calculations are performed sequentially.

そして数値データの後にイコールキー20が押
下されると、バツフアメモリ36aに書込まれた
コードデータを全てシフトアウトし、該コードデ
ータに基づいて上記と同様な演算を実行した後、
その演算結果を第3の計算レジスタに書込んだ
後、イコール記号、並びに第3の計算レジスタに
書込まれた演算結果をバツフアメモリ38aに書
込み、イコール記号、演算結果を表示装置21上
に表示した後、スタートへ送る。
When the equal key 20 is pressed after the numerical data, all the code data written in the buffer memory 36a is shifted out, and the same calculation as above is executed based on the code data.
After writing the calculation result to the third calculation register, the equal sign and the calculation result written to the third calculation register were written to the buffer memory 38a, and the equal sign and the calculation result were displayed on the display device 21. After that, send it to the start.

上記演算処理において、例えば“No.20ABC
$50000×60PCS”の演算式のように、上記数値
データ“20”が第1の計算レジスタに一旦書込ま
れた後、文字データ、スペースデータに引き続い
て数値データ“50000”が入力されると、制御回
路36は数値データ“20”を演算式に無関係な数
値データと判断し、第1の計算レジスタの内容を
数値データ“50000”に書替えて演算式50000×60
に基づいて演算処理を実行する。
In the above calculation process, for example, “No.20ABC
As in the calculation formula "$50000 x 60PCS", after the above numerical data "20" is once written to the first calculation register, when the numerical data "50000" is input following character data and space data. , the control circuit 36 determines that the numerical data “20” is numerical data unrelated to the arithmetic expression, rewrites the contents of the first calculation register to the numerical data “50000”, and uses the arithmetic expression 50000×60.
Perform arithmetic processing based on .

尚、第1のモードにおいてバツクスペースキー
5、改行キー6、若しくはタブキー14がキー入
力されると、第8図、並びに第9図に示すように
アラーム処理を実行する。
In the first mode, when the backspace key 5, line feed key 6, or tab key 14 is input, alarm processing is executed as shown in FIGS. 8 and 9.

次にモード切換スイツチ18により第2のモー
ドが選択されると、該第2のモードに対応するフ
ラグをセツトすると共に、該フラグに基づいてプ
ログラムメモリ37aにおいて第2のモードに対
応するプログラムがストアされた先頭アドレスを
アクセスし、順次該プログラムに従つて後述する
第2のモード処理を実行する。
Next, when the second mode is selected by the mode changeover switch 18, a flag corresponding to the second mode is set, and a program corresponding to the second mode is stored in the program memory 37a based on the flag. The first address is accessed, and second mode processing, which will be described later, is executed sequentially according to the program.

そしてキー入力されると、第5図に示すフロー
チヤートに従つてキー入力されたコードデータ及
びパターンデータをバツフアメモリ36a,38
aに書込むと共に、該パターンデータに対応する
文字等を表示装置21上に順次表示した後、デー
タカウンタがライトマージンに対応するか否かを
判定し、両者が一致する場合アラーム処理を実行
する。
When the key is input, the key input code data and pattern data are transferred to the buffer memories 36a and 38 according to the flowchart shown in FIG.
a, and after sequentially displaying characters etc. corresponding to the pattern data on the display device 21, it is determined whether the data counter corresponds to the write margin, and if both match, alarm processing is executed. .

反対に両者が一致しない場合、データカウンタ
をカウントアツプした後、キー入力に従つてバツ
フアメモリ36aからシフトアウトしたコードデ
ータに基づいてパターンメモリ37bからアクセ
スされたパターンデータを印字制御回路39に出
力してサーマルヘツド34における発熱層を選択
的に発熱させ、感熱紙31上に文字、数字、演算
記号等を印字する。
On the other hand, if the two do not match, after counting up the data counter, the pattern data accessed from the pattern memory 37b is output to the print control circuit 39 based on the code data shifted out from the buffer memory 36a in accordance with the key input. The heat generating layer in the thermal head 34 is selectively heated to print letters, numbers, arithmetic symbols, etc. on the thermal paper 31.

第2のモードにおいて訂正モードに切換わり、
削除キー25がキー入力されると、前述した第1
のモードと同様にカーソル21aにより指定され
たバツフアメモリ36a,38aにおける桁位置
に書込まれたコードデータ及びパターンデータを
消去した後、第6図に示すフローチヤートに従つ
てバツフアメモリ36a,38aにおけるカーソ
ル21aより左側に書込まれたコードデータ及び
パターンデータを下位桁へシフトし、該シフトに
伴つてデータカウンタの計数値をカウントダウン
してデータカウンタの計算処理を実行して、スタ
ートへ移る。
Switching to correction mode in the second mode,
When the delete key 25 is pressed, the first
After erasing the code data and pattern data written in the digit position in the buffer memories 36a, 38a designated by the cursor 21a, as in the mode shown in FIG. The code data and pattern data written on the left side are shifted to the lower digits, and along with this shift, the count value of the data counter is counted down to execute calculation processing of the data counter, and the process moves to the start.

また上記訂正モードにおいて挿入キー26がキ
ー入力されると、前述した第1のモードと同様に
バツフアメモリ36a,38aにおけるカーソル
21aより左側に書込まれたコードデータ及びパ
ターンデータ、並びにカーソル21aを一桁分上
位桁側へシフトするに従つてデータカウンタの計
算値をカウントアツプしてデータカウンタの計数
処理を実行し、スタートへ移る。
Further, when the insert key 26 is inputted in the correction mode, the code data and pattern data written to the left of the cursor 21a in the buffer memories 36a and 38a, and the cursor 21a are moved by one digit, as in the first mode described above. As the data is shifted to the upper digits, the calculated value of the data counter is counted up, the counting process of the data counter is executed, and the process moves to the start.

尚、訂正モードにあるとき、前述した第1のモ
ードにおける動作と同様にカーソルキー23,2
4に引き続いてキー入力されたコードデータ及び
パターンデータに基づいてバツフアメモリ36
a,38aの内容を書替える。
Note that when in the correction mode, the cursor keys 23 and 2 are pressed in the same manner as in the first mode described above.
4, the buffer memory 36
Rewrite the contents of a and 38a.

また第2のモードにおいて演算式の入力後、イ
コールキー20がキー入力されると、前述した第
1のモードと同様にキー入力された数値データを
演算キー19により指定された演算式に従つて演
算処理した後、第7図に示すフローチヤートに従
つて演算処理を実行すると共に、データカウンタ
数とバツフアメモリ36aに書込まれたデータ数
を加算し、データカウンタの計算処理を実行して
スタートへ移る。
Further, in the second mode, when the equal key 20 is pressed after inputting an arithmetic expression, the key-input numerical data is processed according to the arithmetic expression specified by the arithmetic key 19, as in the first mode described above. After the arithmetic processing, the arithmetic processing is executed according to the flowchart shown in FIG. 7, and the number of data counters and the number of data written in the buffer memory 36a are added, the calculation processing of the data counter is executed, and the process proceeds to the start. Move.

第2のモードにおいてバツクスペースキー5が
押下されると、第8図に示すようにデータカウン
タの計数値に基づいてキヤリツジ32がレフトマ
ージン位置に移動しいるかを判定し、レフトマー
ジン以外にキヤリツジ32が位置する場合、該キ
ヤリツジ32を印字行に沿つて1桁分後退移動さ
せた後、データカウンタをカウントダウンすると
共に、データカウンタの計算処理を実行し、スタ
ートへ移る。
When the backspace key 5 is pressed in the second mode, it is determined whether the carriage 32 has moved to the left margin position based on the count value of the data counter as shown in FIG. is located, the carriage 32 is moved backward by one digit along the print line, the data counter is counted down, the data counter calculation process is executed, and the process moves to the start.

第2のモードにおいて改行キー6、若しくはタ
ブキー14が押下されると、第9図に示すように
押下されたキーが改行キー6か、若しくはタブキ
ー14かを判定する。
When the line feed key 6 or the tab key 14 is pressed in the second mode, it is determined whether the pressed key is the line feed key 6 or the tab key 14, as shown in FIG.

上記判定において改行キー6が押下された場合
バツフアメモリ36a,38aに書込まれたコー
ドデータ及びパターンデータを全てシフトアウト
して表示装置21上に表示された文字等を全て消
去すると共に、シフトアウトされたコードデータ
に対応するパターンデータを印字制御回路39に
出力して文字等を印字した後、キヤリツジ32を
レフトマージンキー9により設定されたレフトマ
ージ位置に復帰させると共に、プラテン30を回
転駆動し、行ピツチ選択スイツチ27により設定
された行ピツチにより感熱紙31を紙送りし、デ
ータカウンタをレフトマージンにセツトして計算
処理を実行し、スタートへ移る。
If the line feed key 6 is pressed in the above judgment, all the code data and pattern data written in the buffer memories 36a and 38a are shifted out, all characters etc. displayed on the display device 21 are erased, and the data is shifted out. After outputting pattern data corresponding to the code data to the print control circuit 39 and printing characters, etc., the carriage 32 is returned to the left merge position set by the left margin key 9, and the platen 30 is rotationally driven to print the rows. The thermal paper 31 is fed according to the line pitch set by the pitch selection switch 27, the data counter is set to the left margin, calculation processing is executed, and the process moves to the start.

またタブキー14が押下された場合、バツフア
メモリ36a,38aに書込まれたコードデータ
及びパターンデータをタブ位置に対応してシフト
し、表示装置21上に表示された文字等を表示替
えすると共に、シフトアウトされたコードデータ
に対応するパターンデータを印字制御回路39に
出力して文字等を印字した後、タブセツトキー1
2により設定されたタブ位置へキヤリツジ32を
移動し、データカウンタをタブ位置にセツトして
計算処理を実行し、スタートへ移る。
Further, when the tab key 14 is pressed, the code data and pattern data written in the buffer memories 36a and 38a are shifted in accordance with the tab position, the characters etc. displayed on the display device 21 are changed, and the shift After outputting the pattern data corresponding to the output code data to the print control circuit 39 and printing characters, etc., press the tab set key 1.
The carriage 32 is moved to the tab position set in step 2, the data counter is set at the tab position, calculation processing is executed, and the process moves to the start.

次にモード切換スイツチ18により第3のモー
ドが選択されると、第3のモードに対応するフラ
グをセツトすると共に、該フラグに基づいてプロ
グラムメモリ37aにおいて第3のモードに対応
するプログラムがストアされた先頭アドレスをア
クセスし、順次該プログラムに従つて後述する第
2のモード処理を実行する。
Next, when the third mode is selected by the mode changeover switch 18, a flag corresponding to the third mode is set, and a program corresponding to the third mode is stored in the program memory 37a based on the flag. The first address is accessed, and second mode processing, which will be described later, is executed sequentially according to the program.

そしてキー入力されると、第5図に示すフロー
チヤートに従つて制御回路36は前述した第2の
モードにおける動作と同様にデータカウンタをカ
ウントアツプした後、バツフアメモリ36aに書
込まれたコードデータに基づいてパターンメモリ
37bからアクセスされたパターンデータを表示
制御回路38、並びに印字制御回路39に夫々出
力し、該パターンデータに基づいて表示装置21
上に文字等を表示すると共に、感熱紙31上に文
字等を印字する。
When a key is input, the control circuit 36 counts up the data counter in the same manner as the operation in the second mode described above, and then converts the code data written in the buffer memory 36a into the code data written in the buffer memory 36a. The pattern data accessed from the pattern memory 37b based on the pattern data is output to the display control circuit 38 and the print control circuit 39, respectively, and the display device 21 is output based on the pattern data.
Characters, etc. are displayed on the thermal paper 31, and characters, etc. are printed on the thermal paper 31.

第3のモードにおいてカーソルキー23,2
4、削除キー25、挿入キー26、並びにイコー
ルキー20がキー入力されると、第6図、第7図
に示すように編集処理、並びに演算処理が禁止さ
れ、アラーム処理を実行する。
In the third mode, cursor keys 23, 2
4. When the delete key 25, insert key 26, and equal key 20 are input, editing processing and arithmetic processing are prohibited as shown in FIGS. 6 and 7, and alarm processing is executed.

第3のモードにおいてバツクスペースキー5が
キー入力されると、第8図に示すように第2のモ
ードにおける動作と同様にデータカウンタを計算
処理した後、バツフアメモリ36a,38aに書
込まれたコードデータ及びパターンデータを一桁
分、下位桁側へシフトすると共に、表示装置21
を表示替えしてスタートへ移る。
When the backspace key 5 is pressed in the third mode, as shown in FIG. The data and pattern data are shifted by one digit to the lower digit side, and the display device 21
Change the display and move to the start.

第3のモードにおいて改行キー6、若しくはタ
ブキー14がキー入力されると、第9図に示す第
2のモードにおける動作と同様にバツフアメモリ
36a,38aに書込まれたパターンデータを消
去すると共に、表示装置21を表示替えした後、
改行動作、若しくはタブ動作を実行すると共に、
データカウンタの計算処理を実行してスタートへ
移る。
When the line feed key 6 or the tab key 14 is input in the third mode, the pattern data written in the buffer memories 36a and 38a is erased and displayed in the same way as the operation in the second mode shown in FIG. After changing the display of the device 21,
In addition to executing a newing action or a tab action,
Executes data counter calculation processing and moves to start.

尚、前述したデータカウンタの計算処理は、第
10図に示すようにライトマージンに対応するコ
ードデータ数と、データカウンタによりカウント
されたコードデータ数に基づいて、オーバーフロ
ーしているか否かを判定し、該判定において、デ
ータカウンタ数がライトマージンからオーバーフ
ローしている場合、ライトマージンからオーバー
フローするコードデータに基づいて表示装置21
上において文字等を点滅表示させ、点滅表示され
た文字等がオーバーフロー状態にあることを知ら
せる。
In addition, in the calculation process of the data counter described above, as shown in FIG. 10, it is determined whether or not there is an overflow based on the number of code data corresponding to the write margin and the number of code data counted by the data counter. , in this determination, if the data counter number overflows the write margin, the display device 21
The characters etc. are displayed blinking at the top to notify that the blinking characters etc. are in an overflow state.

反対に、上記判定において入力されたコードデ
ータがライトマージンからオーバーフローしてい
ない場合、上記オーバーフロー動作を解除する。
On the other hand, if the input code data does not overflow from the write margin in the above determination, the overflow operation is canceled.

次に第11図に従つてモード切換スイツチ18
の切換えに伴なう諸動作を説明する。
Next, according to FIG.
The various operations associated with switching will be explained.

モード切換スイツチ18を第3のモードから第
2のモードに切換えると、制御回路36は第2の
モードに対応するフラグをセツトした後、バツフ
アメモリ36a,38aに書込まれたコードデータ及
びパターンデータを全て消去すると共に、表示装
置21に表示された文字等を表示替えし、スター
トへ移る。
When the mode changeover switch 18 is switched from the third mode to the second mode, the control circuit 36 sets a flag corresponding to the second mode, and then transfers the code data and pattern data written in the buffer memories 36a and 38a. At the same time as erasing everything, the display of characters etc. displayed on the display device 21 is changed, and the process moves to the start.

モード切換スイツチ18を第2のモードから第
1のモードへ切換えると、制御回路36は第1のモ
ードに対応するフラグをセツトした後、バツフア
メモリ36aに書込まれたコードデータ数がライ
トマージンからオーバーフローしているか否かを
判定し、オーバーフローの場合、バツフアメモリ
36aに書込まれたオーバーフロー以外のコード
データに基づいてパターンメモリ37bからパタ
ーンデータをアクセスし、該パターンデータに基
づいて印字動作を実行した後、データカウンタを
ライトマージンにセツトすると共に、オーバーフ
ローしたコードデータをバツフアメモリ36aに
書込み、オーバーフローしたコードデータに対応
する文字等の点滅表示を解除した後、該コードデ
ータに基づいて表示装置21に表示された文字等
を表示替えしてスタートへ移る。
When the mode changeover switch 18 is switched from the second mode to the first mode, the control circuit 36 sets a flag corresponding to the first mode, and then the number of code data written in the buffer memory 36a overflows from the write margin. If there is an overflow, the pattern data is accessed from the pattern memory 37b based on the code data other than the overflow written in the buffer memory 36a, and the printing operation is executed based on the pattern data. , sets the data counter to the write margin, writes the overflowed code data to the buffer memory 36a, cancels the blinking display of characters, etc. corresponding to the overflowed code data, and then displays the data on the display device 21 based on the code data. Change the displayed characters, etc. and move to the start.

反対に上記判定においてコードデータ数がライ
トマージンからオーバーフローしていない場合、
バツフアメモリ36aに書込まれたコードデータ
に対応する文字等を印字した後、バツフアメモリ
36aに書込まれたコードデータを全て消去して
スタートへ移る。
On the other hand, if the number of code data does not overflow from the write margin in the above judgment,
After printing characters etc. corresponding to the code data written in the buffer memory 36a, all the code data written in the buffer memory 36a is erased and the process moves to the start.

モード切換スイツチ18を第1のモードから第
2のモードに切換えると、制御回路36は第2の
モードに対応するフラグをセツトした後、バツフ
アメモリ36aに書込まれたコードデータがライ
トマージンからオーバーフローしているか否かを
判定し、オーバーフローしている場合、ライトマ
ージンからオーバーフローしている文字等を点滅
表示した後、改行キー6がキー入力されたか否か
を判定する。
When the mode changeover switch 18 is switched from the first mode to the second mode, the control circuit 36 sets a flag corresponding to the second mode, and then prevents the code data written in the buffer memory 36a from overflowing the write margin. If there is an overflow, the characters and the like overflowing from the right margin are displayed blinking, and then it is determined whether the line feed key 6 has been input.

該判定において改行キー6がキー入力された場
合、ライトマージンからオーバーフローしていな
い文字等を印字した後、改行動作を実行すると共
に、オーバーフローした文字等を表示装置21上
に表示した後、バツフアメモリ36aに書込まれ
たコードデータ数とレフトマージン位置とを加算
すると共に、データカウンタに入力してデータカ
ウンタの計算処理を実行し、スタートへ移る。
If the line feed key 6 is pressed in this determination, after printing characters that do not overflow from the light margin, a line feed operation is executed, and after displaying the overflowing characters on the display device 21, the buffer memory 36a The number of code data written in the left margin position is added to the left margin position, the data is input to the data counter, calculation processing of the data counter is executed, and the process moves to the start.

上記判定においてオーバーフローしていない場
合、バツフアメモリ36aに書込まれたコードデ
ータに基づいて印字動作を実行した後、表示装置
21上に表示された文字等を全て消去し、スター
トへ移る。
If there is no overflow in the above judgment, after executing the printing operation based on the code data written in the buffer memory 36a, all the characters etc. displayed on the display device 21 are erased, and the process moves to the start.

また上記判定において改行キー6以外のキーが
キー入力された場合、アラーム処理を実行した
後、再び改行キー6が押下されたか否かを判定
し、前述した動作に従つて処理する。
Further, if a key other than the line feed key 6 is input in the above judgment, after executing the alarm process, it is judged again whether or not the line feed key 6 has been pressed, and the processing is performed according to the operation described above.

モード切換スイツチ18を第1のモードから第
3のモードに切換えると、制御回路36は第3の
モードに対応するフラグをセツトした後、バツフ
アメモリ36aに書込まれたコードデータがライ
トマージンからオーバーフローしているか否かを
判定し、オーバーフローしている場合、オーバー
フローした文字等を点滅表示した後、改行キー6
がキー入力されたか否かを判定する。
When the mode changeover switch 18 is switched from the first mode to the third mode, the control circuit 36 sets a flag corresponding to the third mode, and then prevents the code data written in the buffer memory 36a from overflowing the write margin. If there is an overflow, display the overflowed characters blinking, and then press the line feed key 6.
Determine whether or not a key has been input.

改行キー6がキー入力された場合、オーバーフ
ローしていない文字等を印字して改行動作を実行
した後、オーバーフローしたコードデータをバツ
フアメモリ36aに書込むと共に、該コードデー
タに基づいて印字動作を実行し、バツフアメモリ
36aに書込まれたコードデータ数とレフトマー
ジン位置とを加算すると共に、データカウンタに
入力してデータカウンタの計算処理を実行し、ス
タートへ移る。
When the line feed key 6 is pressed, after printing characters that have not overflowed and executing the line feed operation, the overflowed code data is written to the buffer memory 36a, and the printing operation is executed based on the code data. , adds the number of code data written in the buffer memory 36a and the left margin position, inputs the data to the data counter, executes the calculation process of the data counter, and moves to the start.

上記判定においてオーバーフローしていない場
合、前述した動作と同様にバツフアメモリ36a
に書込まれたコードデータに基づいて印字動作を
実行した後、表示装置21上に表示された文字等
を全て消去し、スタートへ移る。
If there is no overflow in the above judgment, the buffer memory 36a
After executing the printing operation based on the code data written in, all the characters etc. displayed on the display device 21 are erased and the process moves to the start.

また上記判定において改行キー6以外のキーが
キー入力された場合、前述した動作と同様にアラ
ーム処理を実行した後、再び改行キー6が押下さ
れたか否かを判定し、前述した動作に従つて処理
する。
In addition, if a key other than the line feed key 6 is pressed in the above judgment, after executing the alarm process in the same way as the operation described above, it is determined whether or not the line feed key 6 has been pressed again, and according to the operation described above. Process.

モード切換スイツチ18を第3のモードから第
1のモードに切換えると、制御回路36は第1の
モードに対応するフラグをセツトした後、バツフ
アメモリ36aに書込まれたコードデータを全て
消去すると共に、表示装置21上に表示された文
字等を消去したスタートへ移る。
When the mode changeover switch 18 is switched from the third mode to the first mode, the control circuit 36 sets a flag corresponding to the first mode, and then erases all code data written in the buffer memory 36a. The process moves to the start after erasing the characters displayed on the display device 21.

更にモード切換スイツチ18を第3のモードか
ら第2のモードに切換えると、制御回路36は第
2のモードに対応するフラグをセツトした後、前
述した動作と同様にバツフアメモリ36aに書込
まれたコードデータを全て消去すると共に、表示
装置21上に表示された文字等を消去してスター
トへ移る。
Further, when the mode selector switch 18 is switched from the third mode to the second mode, the control circuit 36 sets a flag corresponding to the second mode, and then transfers the code written in the buffer memory 36a in the same manner as described above. All data is erased, as well as characters displayed on the display device 21, and the process moves to the start.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、多数の文字キ
ー、数字キー、改行キーを含むフアンクシヨンキ
ー等が配列され、操作されたキーに対応するコー
ドを出力するキーボードと、そのキーボードによ
り入力されるコードデータに基づいて夫々のデー
タを表示装置、若しくは印字装置へ出力する制御
装置と、入力されたデータに基づいて操作された
キーに対応する文字、数字等を表示する表示装置
と、入力されたデータに基づいて操作されたキー
に対応する文字、数字等を印字する印字装置とを
備えてなる電子タイプライタにあつて、前記制御
装置は前記キーボードより入力されたデータを前
記表示装置に順次表示させる第1のモードと、そ
の第1のモードにより表示されたデータを表示装
置からシフトアウトされたデータ順に印字用紙上
に印字する第2のモードと、キーボードより入力
されたデータを表示すると同時に、印字用紙上に
印字する第3のモードとを切換え可能に有すると
ともに、表示されるべきコードデータが入力され
るたびにカウントアツプされ、前記改行キーの操
作によりリセツトされるデータカウンタと、ライ
トマージン位置を記憶するライトマージン記憶手
段と、前記第1のモードから第2のモードあるい
は第3のモードに切換えたとき、データカウンタ
の内容とライトマージン記憶手段の内容とを比較
し、ライトマージンからオーバーフローしている
データを表示装置上で点滅表示させる手段とを備
え、第1のモードから第2のモードあるいは第3
のモードに切換えたとき、同一印字行中に印字で
きないデータを点滅表示させることにより操作者
にデータの入力状態が一目で理解できるようにし
たものであり、操作性の良い優れた新規な電子タ
イプライタを提供するものである。
As explained above, the present invention provides a keyboard in which a large number of character keys, numeric keys, function keys including line feed keys, etc. are arranged, and outputs a code corresponding to the operated key, and a code inputted by the keyboard. A control device that outputs each data to a display device or a printing device based on the data, a display device that displays characters, numbers, etc. that correspond to keys operated based on the input data, and the input data. In the electronic typewriter, the control device sequentially displays data input from the keyboard on the display device. A first mode, a second mode in which data displayed in the first mode is printed on printing paper in the order of data shifted out from the display device, and a second mode in which data input from the keyboard is displayed and simultaneously printed. It has a third mode for printing on paper, and also has a data counter that counts up each time code data to be displayed is input and is reset by operating the line feed key, and a write margin position. When the first mode is switched from the first mode to the second mode or the third mode, the contents of the data counter are compared with the contents of the write margin storage means, and an overflow from the write margin is detected. means for blinking and displaying data on the display device, and switching from the first mode to the second mode or the third mode.
When switching to mode, the data that cannot be printed is displayed blinking in the same print line, allowing the operator to understand the data input status at a glance.This is a new electronic type with excellent operability. It provides a writer.

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

第1図は本発明に係る電子タイプライタの概略
を示す斜視図、第2図は電子タイプライタの電子
ブロツク図、第3図はバツフアメモリを示す説明
図、第4図は電子タイプライタの基本動作を示す
フローチヤート、第5図乃至第11図は電子タイ
プライタの各モードにおける機能を説明するため
のフローチヤートである。 図中1はキーボード、2は文字キー、3は数字
キー、19は演算キー、20はイコールキー、2
1は表示装置、30はプラテン、32はキヤリツ
ジ、34はサーマルヘツド、36は制御回路であ
る。
Fig. 1 is a perspective view schematically showing an electronic typewriter according to the present invention, Fig. 2 is an electronic block diagram of the electronic typewriter, Fig. 3 is an explanatory diagram showing a buffer memory, and Fig. 4 is a basic operation of the electronic typewriter. 5 to 11 are flowcharts for explaining the functions of the electronic typewriter in each mode. In the figure, 1 is the keyboard, 2 is the letter key, 3 is the number key, 19 is the calculation key, 20 is the equal key, 2
1 is a display device, 30 is a platen, 32 is a carriage, 34 is a thermal head, and 36 is a control circuit.

Claims (1)

【特許請求の範囲】 1 多数の文字キー、数字キー、改行キーを含む
フアンクシヨンキー等が配列され、操作されたキ
ーに対応するコードを出力するキーボードと、 そのキーボードにより入力されるコードデータ
に基いて夫々のデータを表示装置、若しくは印字
装置へ出力する制御装置と、 入力されたデータに基いて操作されたキーに対
応する文字、数字等を表示する表示装置と、 入力されたデータに基いて操作されたキーに対
応する文字、数字等を印字する印字装置とを備え
てなる電子タイプライタにあつて、 前記制御装置は前記キーボードより入力された
データを前記表示装置に順次表示させる第1のモ
ードと、その第1のモードにより表示されたデー
タを表示装置からシフトアウトされたデータ順に
印字用紙上に印字する第2のモードと、キーボー
ドより入力されたデータを表示すると同時に、印
字用紙上に印字する第3のモードとを切換え可能
に有するとともに、 表示されるべきコードデータが入力されるたび
にカウントアツプされ、前記改行キーの操作によ
りリセツトされるデータカウンタと、 ライトマージン位置を記憶するライトマージン
記憶手段と、 前記第1のモードから第2のモードあるいは第
3のモードに切換えたとき、データカウンタの内
容とライトマージン記憶手段の内容とを比較し、
ライトマージンからオーバーフローしているデー
タを表示装置上で点滅表示させる手段とを備えて
なることを特徴とする電子タイプライタ。
[Claims] 1. A keyboard in which a large number of character keys, numeric keys, function keys including line feed keys, etc. are arranged and outputs a code corresponding to the operated key, and code data inputted by the keyboard. a control device that outputs each data to a display device or a printing device based on the input data; a display device that displays characters, numbers, etc. that correspond to keys operated based on the input data; and a printing device that prints characters, numbers, etc. corresponding to the keys operated by the keyboard, the control device includes a first control device that sequentially displays data input from the keyboard on the display device. a second mode in which the data displayed in the first mode is printed on the printing paper in the order of the data shifted out from the display device, and a second mode in which the data input from the keyboard is displayed on the printing paper at the same time. It has a data counter which is incremented each time code data to be displayed is input and is reset by the operation of the line feed key, and a write margin position. a write margin storage means, when switching from the first mode to the second mode or the third mode, compares the contents of the data counter with the contents of the write margin storage means;
An electronic typewriter characterized by comprising means for blinking and displaying data overflowing from a write margin on a display device.
JP58118770A 1983-06-30 1983-06-30 electronic typewriter Granted JPS5926280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58118770A JPS5926280A (en) 1983-06-30 1983-06-30 electronic typewriter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58118770A JPS5926280A (en) 1983-06-30 1983-06-30 electronic typewriter

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP57055580A Division JPS58171980A (en) 1982-04-02 1982-04-02 electronic typewriter

Publications (2)

Publication Number Publication Date
JPS5926280A JPS5926280A (en) 1984-02-10
JPH0155112B2 true JPH0155112B2 (en) 1989-11-22

Family

ID=14744634

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58118770A Granted JPS5926280A (en) 1983-06-30 1983-06-30 electronic typewriter

Country Status (1)

Country Link
JP (1) JPS5926280A (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4742481A (en) * 1984-04-13 1988-05-03 Brother Kogyo Kabushiki Kaisha Electronic dictionary having means for linking two or more different groups of vocabulary entries in a closed loop
US4775251A (en) * 1984-10-08 1988-10-04 Brother Kogyo Kabushiki Kaisha Electronic typewriter including spelling dictionary
JPS6195472A (en) * 1984-10-16 1986-05-14 Brother Ind Ltd electronic typewriter
JPS61214051A (en) * 1985-03-20 1986-09-22 Brother Ind Ltd electronic dictionary
JPS61217863A (en) * 1985-03-23 1986-09-27 Brother Ind Ltd electronic dictionary
JPS6359660A (en) * 1986-08-29 1988-03-15 Brother Ind Ltd information processing equipment
US4915546A (en) * 1986-08-29 1990-04-10 Brother Kogyo Kabushiki Kaisha Data input and processing apparatus having spelling-check function and means for dealing with misspelled word
CA2058337C (en) * 1991-01-16 1998-06-23 Leo Walsh Column carbon treatment of polysaccharides

Also Published As

Publication number Publication date
JPS5926280A (en) 1984-02-10

Similar Documents

Publication Publication Date Title
EP0267801B1 (en) Electronic typewriter with word correction function
JPH0510234B2 (en)
JPH0155112B2 (en)
US4548520A (en) Electronic typewriter
JPS6258915B2 (en)
US4564304A (en) Typewriter with resetting function for margin position and tab position
JPH06110891A (en) Document creation device
JPH01287724A (en) Input/output device
JP3719473B2 (en) Tape printer
JPS62220361A (en) Printing device with memory function
JPH05334296A (en) Document processor
JPS58171980A (en) electronic typewriter
JP2560297B2 (en) Output device
JPS58171981A (en) Electronic typewriter
JP2854300B2 (en) Character processor
JPH0461777B2 (en)
JPS62160259A (en) typewriter display device
JPS59188476A (en) Electronic typewriter with display device
JPH0472707B2 (en)
JPH03256777A (en) document creation device
JPH06149802A (en) Word processor
JPH05307626A (en) Bar code printer
JPH01234282A (en) Printer
JP2004299180A (en) Input device and tape printer
JPH0367515B2 (en)