JPS6349469A - Electronic typewriter - Google Patents

Electronic typewriter

Info

Publication number
JPS6349469A
JPS6349469A JP61192580A JP19258086A JPS6349469A JP S6349469 A JPS6349469 A JP S6349469A JP 61192580 A JP61192580 A JP 61192580A JP 19258086 A JP19258086 A JP 19258086A JP S6349469 A JPS6349469 A JP S6349469A
Authority
JP
Japan
Prior art keywords
tab
key
data
calculation
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61192580A
Other languages
Japanese (ja)
Inventor
Shigeru Matsuyama
茂 松山
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 JP61192580A priority Critical patent/JPS6349469A/en
Publication of JPS6349469A publication Critical patent/JPS6349469A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To facilitate a table-forming operation, by providing a controlling means for printing input calculation data and calculation result data in response to tab-setting and carriage return commands. CONSTITUTION:A keyboard KB is provided alphanumeric keys alphaN for inputting alphabets A-Z, numerals 0-9, a space and a period, a return key RET, a decimal tab key DTAB, a tab-setting key TAB, a change-over switch SW for change-over between a typing mode and a calculation mode, and arithmetic instruction keys FK. A controlling unit CPU comprises a clock pulse generating circuit, a delay circuit and a gate circuit. A display device DIS displays inputted characters based on a control by display control signals from the controlling unit CPU. A printer PRT prints characters or numerals corresponding to key inputs KBS generated by typing on the keyboard KB, on a printing paper based on a control by printing control signals CPRT from the controlling unit CPU.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、演算機能を有する電子タイプライタの演算結
果データおよび入力演算データの印字に関する電子タイ
プライタの改良に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an improvement of an electronic typewriter having arithmetic functions regarding printing of calculation result data and input calculation data.

〔従来の技術〕[Conventional technology]

従来の演算機能を備えた電子タイプライタにおいて、演
算を行ない、それを印字させようとすると、演算過程の
すべてを印字してしまっていた。すなわち、入力データ
も演算シンボルもそして演算結果データもすべて連続的
に印字していた。
In conventional electronic typewriters equipped with arithmetic functions, when an attempt was made to perform arithmetic operations and print them out, the entire arithmetic process was printed out. That is, input data, calculation symbols, and calculation result data were all printed continuously.

〔発明が解決しようとしている問題点〕入力演算データ
および演算結果データを指定した場所に数値データを印
字して、テーブルを作る場合などは、従来の電子タイプ
ライタでは不都合であった。
[Problems to be Solved by the Invention] Conventional electronic typewriters are inconvenient when creating a table by printing numerical data in designated locations of input calculation data and calculation result data.

〔問題点を解決するための手段(及び作FFfi) )
本発明は、文字、数字を入力する為の第1の入力手段と
のタブ、キャリッジリターンを入力する為の第2の入力
手段と、タイプライタモードと計算モードとを切り換え
る指示を入力する為の第3の入力手段と、前記第3の入
力手段のタイプライタモードの指示に応答し、前記第2
の入力手段の前記タブ、キヤリツジリターンの指示に応
答し、タブ動作、キャリッジリターン動作を行ない、前
記第3の入力手段の計算モードの指示に応答して、前記
第2の入力手段の前記タブ、キャリッジリターンの指示
に応答して、入力演算データ、演算結果データを印字さ
せる制御手段とを設け、計算モード指定が行なわれると
、数値キーを押下しても、又、演算指令キーを押下して
も印字されず、デシマルタブキー又は、キャリッジリタ
ーンキーを押下した時、表示されている数値データを印
字するように制御している。
[Means to solve problems (and creation FFfi)]
The present invention includes a tab with a first input means for inputting letters and numbers, a second input means for inputting a carriage return, and a tab for inputting an instruction to switch between typewriter mode and calculation mode. a third input means; and in response to an instruction of the typewriter mode of the third input means, the second
The tab of the input means performs a tab operation and carriage return operation in response to a carriage return instruction, and the tab of the second input means performs a tab operation and a carriage return operation in response to a calculation mode instruction of the third input means. , a control means for printing input calculation data and calculation result data in response to a carriage return instruction, and when the calculation mode is specified, it will not work even if the numeric key is pressed or the calculation command key is pressed. However, when the decimal tab key or carriage return key is pressed, the displayed numerical data is controlled to be printed.

(実施例) 以下、図面を参照して本発明の詳細な説明する。(Example) Hereinafter, the present invention will be described in detail with reference to the drawings.

第1図は本発明電子タイプライタの構成例を示す。FIG. 1 shows an example of the configuration of an electronic typewriter according to the present invention.

ここで、KBはキーボードであり、アルファベットのA
〜Z1数字のO〜9、および、スペース、ピリオドを入
力するアルファニューメリックキーαNと、リターンキ
ーRET、デシマルタブキーDTAB。
Here, KB is the keyboard and the alphabet A
~Z1 Alphanumeric key αN for inputting numbers O to 9, spaces, and periods, return key RET, and decimal tab key DTAB.

タブセットキーTAB、そして、タイプモードと計算モ
ードとの切換スイッチSW1および演算命令キーFKを
配設しである。
A tab set key TAB, a type mode/calculation mode changeover switch SW1, and an operation command key FK are provided.

一方、CPUは、マイクロプロセッサ等からなる制御ユ
ニットであり、クロックパルス発生回路、遅延回路、ゲ
ート回路を有する制御回路の形態に構成しである。
On the other hand, the CPU is a control unit consisting of a microprocessor or the like, and is configured in the form of a control circuit having a clock pulse generation circuit, a delay circuit, and a gate circuit.

また、DISは例えば、ドツトマトリクス型の液晶表示
器などからなる表示装置であり、制御ユニツ1−CPU
からの表示制御信号CDl5の制御に基づいて入力キャ
ラクタを表示する。
Further, the DIS is a display device consisting of, for example, a dot matrix type liquid crystal display, and the control unit 1-CPU
The input character is displayed based on the control of the display control signal CDl5 from.

また、PRTは印字装置であり、キーボードKBからタ
イプインしたキー人力KBSにそれぞれ対応する文字や
数字を制御ユニツ1−CPUからの印字制御信号CPR
Tの制御に基づいて印字紙上に印字する。
In addition, PRT is a printing device, and print control signals CPR from the control unit 1-CPU print characters and numbers corresponding to the keys manually typed in from the keyboard KB.
Printing is performed on the printing paper based on the control of T.

さらに、ROMは、読出し専用記憶装置(リードオンリ
メモリ)であり、制御ユニットCPUが印字装置PRT
や表示装置DIS等の各構成装置に制御信号を供給する
際に、その制御信号を供給するための第3図に示すよう
な制御手順を制御ユニットCPUに順次に知らせるに必
要なマイクロ命令群をあらかじめ記憶させである。
Furthermore, the ROM is a read-only storage device (read-only memory), and the control unit CPU is connected to the printing device PRT.
When supplying control signals to each component device such as the display device DIS, etc., the micro-instruction group required to sequentially notify the control unit CPU of the control procedure shown in FIG. 3 for supplying the control signals is provided. Memorize it in advance.

また、RAMはランダムアクセス可能の記憶装置(ラン
ダムアクセスメモリ)であり、各構成装置の動作状態や
、入力キャラクタデータを記憶する。
Further, the RAM is a randomly accessible storage device (random access memory), and stores the operating status of each component device and input character data.

また、BUSはパスラインであり、制御ユニットCPU
と両記憶装置ROMおよびRAM間でメモリアドレスや
データを転送する。
In addition, BUS is a pass line, and the control unit CPU
and transfers memory addresses and data between the two storage devices ROM and RAM.

第2図は第1図のキーボードKBのキー操作により入力
して記憶装置RAM内に記憶させた制御データの内容の
一例を示す。
FIG. 2 shows an example of the contents of control data inputted by key operations on the keyboard KB shown in FIG. 1 and stored in the storage device RAM.

次に第2図のキー操作手順および第3図のフローチャー
トを参照して、第1図の本発明電子タイプライタの動作
例を説明する。第2図のキー操作手順lに従って、まず
キーボードKB上のパワースイッチ(不図示)を押して
パワーオン(電源投入)すると、制御ユニットCPUは
第3図示のフローチャートにおけるステップSlにおい
て、記憶装置RAMの記憶領域の全体をクリアし、印字
装置PRTの印字ヘッドの位置を記憶する記憶装置RA
 M内のメモリ領域のヘッドポインタに“1”を記憶さ
せた後に、次の判定ステップS2において、TYPモー
ドであるからステップS3に進んで表示メモリDISP
をクリアする。そしてステップS5.S6において表示
メモリDISP内のデータを表示装置DISに表示しな
がらキーが押下されるのを待機する制御ループを実行す
る。
Next, an example of the operation of the electronic typewriter of the present invention shown in FIG. 1 will be explained with reference to the key operation procedure shown in FIG. 2 and the flow chart shown in FIG. When the power switch (not shown) on the keyboard KB is first pressed to turn on the power according to the key operation procedure l shown in FIG. A storage device RA that clears the entire area and stores the position of the print head of the printing device PRT.
After "1" is stored in the head pointer of the memory area in M, in the next judgment step S2, since the TYP mode is entered, the process proceeds to step S3 and the display memory DISP is
Clear. And step S5. In S6, a control loop is executed in which the data in the display memory DISP is displayed on the display device DIS while waiting for a key to be pressed.

次に、第2図のキー操作手順2において、キーボードK
 Bのスペースキーからのキー人力信号K B Sが入
力されると、制御ユニットCPUは、第3図のフローチ
ャートにおける判定ステップS7でキー信号KBSがキ
ャラクタの押下による信号であると判断し、ステップS
8に進んで、モード切換スイッチS〜■を判定し、TY
Pモードであるので、ステップS9へ進み、ここでスペ
ースを印字し、ヘッドポインタの値を+1だけ加算する
Next, in key operation procedure 2 in FIG.
When the key human power signal KBS from the space key of B is input, the control unit CPU determines in determination step S7 in the flowchart of FIG.
Proceed to step 8, determine the mode selector switch S~■, and select TY.
Since it is the P mode, the process advances to step S9, where a space is printed and the value of the head pointer is incremented by +1.

次に、第2図のキー操作手順3において、キーボードK
 Bのスペースキー(5回押下)のキー信号が順次入力
されると上述の操作手順2におけると同様の制御処理を
制御ユニットCPUは実行して、ヘッドポインタの内容
は第2図示のように“7“となる。
Next, in key operation procedure 3 in FIG.
When the key signals of the space key B (pressed 5 times) are input in sequence, the control unit CPU executes the same control process as in the above-mentioned operation procedure 2, and the contents of the head pointer change as shown in the second figure. 7".

次に、手順4において、[キーを押下 すると、第3図のフローチャートにおいて、ステップS
7.S 14.S 15を経て、S16に移行し、ここ
で、ヘッドポインタのデータ″7“を、ヘッドポインタ
のデータ“O″が示すタブメモリTBIに格納し、タブ
ポインタを+1加算する。
Next, in step 4, when the [key is pressed, step S
7. S14. After S15, the process moves to S16, where head pointer data "7" is stored in the tab memory TBI indicated by head pointer data "O", and the tab pointer is incremented by +1.

次に、手順5、手順6においてスペースキー(6回操作
)[可ヨ廼頚なるキー操作を実行すると、手順2,3.
4におけると同様の制御処理を制御ユニットは実行して
、ヘッドポインタ及びタブメモリ、そしてタブポインタ
の内容は、第2図示のようになる。
Next, in steps 5 and 6, if you press the space key (operate 6 times) [may be pressed], steps 2, 3.
The control unit executes the same control processing as in step 4, and the contents of the head pointer, tab memory, and tab pointer become as shown in the second diagram.

次に、手順7において回酊2を押下すると、第3図示の
フローチャートにおいてステップS7.S14゜S15
.S17.S18と移行し、ステップS18でDISP
には印字すべきデータがないので、何も印字せずにキャ
リッジリターン、及びラインフィードを実行した後、ヘ
ッドポインタに“1”を格納し、タブポインタをクリア
する。
Next, in step 7, if you press the button 2, you will see step S7 in the flowchart shown in the third figure. S14゜S15
.. S17. Step S18 and DISP
Since there is no data to be printed, a carriage return and line feed are executed without printing anything, and then "1" is stored in the head pointer and the tab pointer is cleared.

次に、手順8において、モード切換スイッチをCALモ
ードに切換え、国キーを押下すると、第3図のフローチ
ャートにおいてステップS7.S8.SIOと移行し、
ここで国キーが押下されたのでステップSllへ移行し
、ファンクションキーの後でないのでステップ513へ
移行し、ここで、レジスタR1のデータを左シフトして
入力数値“1”を最下位桁へ格納する。そしてステップ
2に戻るが、ここてCALモードにセットされているの
で、ステップS4へ進み、レジスタR1のデータ“1”
をDISPに転送し、ステップS5.S6で第2図手順
15に示すような表示を行なってキーの押下を待機する
Next, in step 8, when the mode selector switch is switched to CAL mode and the country key is pressed, step S7. S8. Migrate to SIO,
Here, since the country key was pressed, the process moves to step Sll, and since it is not after the function key, the process moves to step 513, where the data in register R1 is shifted to the left and the input value "1" is stored in the lowest digit. do. Then, the process returns to step 2, but since the CAL mode has been set, the process proceeds to step S4, where the data in register R1 is set to "1".
is transferred to DISP, and step S5. In S6, a display as shown in step 15 of FIG. 2 is made and a key press is awaited.

次に、手順9において、キー回凋が順次押下されると、
手順8と同様の制御を行ない、第2図手順9に示される
ような表示を行なう。そして、レジスタR1には“12
3.”が記憶される。
Next, in step 9, when the keys are pressed in sequence,
The same control as in step 8 is performed, and a display as shown in step 9 in FIG. 2 is performed. Then, “12” is stored in register R1.
3. ” is memorized.

次に、手順10において、:o−ra’mキーを押下さ
れると、第3図のフローチャートにおいて、ステップS
7.S14.S15.S17.S19と移行し、ステッ
プSI9において、タブポインタを+1加算し、DIS
Pに格納された数値データを、タブポインタの値“ビが
示すタブTBIに格納されたタブ情報データが“7”で
あるので、データ“I23.”の小数点が第7桁目に印
字されるように位置合わせしてデータ“123.”を印
字する。
Next, in step 10, when the :o-ra'm key is pressed, step S
7. S14. S15. S17. In step SI9, +1 is added to the tab pointer, and DIS
Since the tab information data stored in the tab TBI indicated by the tab pointer value "B" is "7", the numerical data stored in P is changed to data "I23. ” so that the decimal point is printed in the 7th digit, and the data “123.” is printed. ” is printed.

次に、手順11にて、凶キーを押下すると、第3図のフ
ローチャートにおいて、ステップS7.S14を経てS
20に移行し、ここで、オペレータメモリにデータがあ
るかどうか判定して、オペレータメモリがないので、ス
テップS22へ移行し、レジスタR1のデータ“123
.”をレジスタR2に転送し、押下されたファンクショ
ンキー因に対応したファンクションコード例えば“4”
をオペレータメモリOPに格納する。
Next, in step 11, when the key is pressed, step S7. S after S14
The process moves to step S20, where it is determined whether there is data in the operator memory. Since there is no operator memory, the process moves to step S22, and the data "123" in the register R1 is stored.
.. " is transferred to register R2, and the function code corresponding to the pressed function key, for example "4" is transferred.
is stored in the operator memory OP.

次に、手順12、手順13でそれぞれ5、mと押下する
と、手順8,9.10と同様の制御を行ない、第2図、
手順12.13に図示したような印字を行なう。
Next, if you press 5 and m in steps 12 and 13, respectively, the same control as in steps 8 and 9.10 will be performed, and as shown in FIG.
Print as shown in step 12.13.

続いて、手順14において日キーを押下すると、第3図
示のフローチャートにおいて、ステップS7゜S14を
経て、ステップS20において、オペレーク・メモリO
Pにファンクションコード“4″が格納すれているので
、ステップS21へ移行し、レジスタR1のデータ“5
”とレジスタR2のデータ″123.”との間で乗算を
実行し、結果“615.”を、レジスタR1に格納する
。そして、ステップS22に進みレジスタR1のデータ
“615.”をレジスタR2に格納し、押下されたファ
ンクションキー口に対応したファンクションコード“0
″をオペレータメモリOPに格納する。
Subsequently, when the date key is pressed in step 14, in the flowchart shown in the third figure, the operating memory O is
Since function code "4" is stored in P, the process moves to step S21 and the data "5" in register R1 is stored.
” and the data in register R2”123. ” and the result is “615. " is stored in the register R1. Then, the process advances to step S22, and the data "615." in the register R1 is stored. " is stored in register R2, and the function code "0" corresponding to the pressed function key is stored.
'' is stored in the operator memory OP.

続いて、手順15にて、回三了下匪キーを押下すると、
手順10と同様の制御を行ない、第2図手順15に図示
されるような印字が行なわれる。
Next, in step 15, press the 3rd round lower key.
The same control as step 10 is carried out, and printing as shown in step 15 in FIG. 2 is performed.

続いて、手順16にてRETURNキーを押下すると、
第3図のフローチャートにおいてステップS7゜S14
.S15,517,518と移行し、ステップS18に
おいてDISPに印字すべきデータがないので、キャリ
ッジリターン及びラインフィードを実行し、ヘッドポイ
ンタに“1”、タブポインタに“0”をそれぞれ格納す
る。
Next, press the RETURN key in step 16.
In the flowchart of FIG. 3, steps S7 to S14
.. The process moves to steps S15, 517, and 518, and in step S18, since there is no data to be printed in the DISP, a carriage return and a line feed are executed, and "1" is stored in the head pointer and "0" is stored in the tab pointer.

(効果) 以上の説明から明らかなように、本発明によれば、電子
タイプライタの計算モードにおいても、デシマルタブキ
ーを用いて、所望の位置に小数点を合わせて、入力演算
データおよび演算結果データのみを、すなわち、オペレ
ーターシンボルを伴なわないで印字することができるの
で、作製を行なう場合などに効果的である。
(Effects) As is clear from the above description, according to the present invention, even in the calculation mode of an electronic typewriter, the decimal tab key can be used to align the decimal point to the desired position, and only input calculation data and calculation result data can be read. In other words, it is possible to print without an operator symbol, which is effective when manufacturing.

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

第1図は本発明の概略構成の一例を示すブロック図、 第2図はそのキー操作の手順の一例を示す線図、第3図
は同じ(そのキー操作による制御動作の例を示すフロー
チャートである。 KB・・・・・・・・・・・・・・・・・・・・・・キ
ーボード、αN・・・・・・・・・・・・・・・・・・
・・・・アルファーニューメリックキー、RETURN
・・・・・・・・リターンキー、D−TAB・・・・・
・・・・・・デシマルタブ、TABSet・・・・・・
・・・・タブセットキー、F K・・・・・・・・・・
・・・・・・・・・・・・ファンクションキー、SW・
・・・・・・・・・・・・・・・・・・・・・・・・・
・モード切換スイッチ。
Fig. 1 is a block diagram showing an example of the schematic configuration of the present invention, Fig. 2 is a line diagram showing an example of the procedure of the key operation, and Fig. 3 is the same (a flowchart showing an example of the control operation by the key operation). Yes. KB・・・・・・・・・・・・・・・・・・Keyboard, αN・・・・・・・・・・・・・・・・・・
...Alpha numeric key, RETURN
・・・・・・Return key, D-TAB・・・・
・・・・・・Decimal tab, TABSet・・・・・・
...Tab set key, FK...
・・・・・・・・・・・・Function key, SW・
・・・・・・・・・・・・・・・・・・・・・・・・
・Mode changeover switch.

Claims (1)

【特許請求の範囲】 文字、数字を入力する為の第1の入力手段と、タブ、キ
ャリッジリターンを入力する為の第2の入力手段と、 タイプライタモードと計算モードとを切り換える指示を
入力する為の第3の入力手段と、 前記第3の入力手段のタイプライタモードの指示に応答
し、前記第2の入力手段の前記タブ、キャリッジリター
ンの指示に応答し、タブ動作、キャリッジリターン動作
を行ない、前記第3の入力手段の計算モードの指示に応
答して、前記第2の入力手段の前記タブ、キャリッジリ
ターンの指示に応答して、入力演算データ、演算結果デ
ータを印字させる制御手段とを有する電子タイプライタ
[Claims] A first input means for inputting letters and numbers, a second input means for inputting tabs and carriage returns, and inputting an instruction to switch between typewriter mode and calculation mode. a third input means for performing a tab operation and a carriage return operation in response to a typewriter mode instruction from the third input means and in response to an instruction for the tab and carriage return from the second input means; control means for printing input calculation data and calculation result data in response to a calculation mode instruction from the third input means and in response to an instruction for the tab and carriage return from the second input means; An electronic typewriter with a
JP61192580A 1986-08-18 1986-08-18 Electronic typewriter Pending JPS6349469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61192580A JPS6349469A (en) 1986-08-18 1986-08-18 Electronic typewriter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61192580A JPS6349469A (en) 1986-08-18 1986-08-18 Electronic typewriter

Publications (1)

Publication Number Publication Date
JPS6349469A true JPS6349469A (en) 1988-03-02

Family

ID=16293645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61192580A Pending JPS6349469A (en) 1986-08-18 1986-08-18 Electronic typewriter

Country Status (1)

Country Link
JP (1) JPS6349469A (en)

Similar Documents

Publication Publication Date Title
JPS59188475A (en) Electronic typewriter
JPS6213807Y2 (en)
US4865474A (en) Character imputting electronic equipment which sets input mode based on tab position
JPS6349469A (en) Electronic typewriter
JPS62104785A (en) Document processing apparatus
JPH05246111A (en) Printing device
JPS62255175A (en) Standardized format printer
JPS62286780A (en) Format data setting apparatus
JP2564470B2 (en) Document processing device
JPS61294533A (en) Japanese word processor
JP2523441Y2 (en) Input device
JPS61268472A (en) Electronic appliance
JPS59154530A (en) Keyboard
JPS60254223A (en) Electronic device
JP3054179B2 (en) Label printer
JPS59188476A (en) Electronic typewriter with display device
JPH0562076B2 (en)
JPS61235178A (en) Electronic equipment
JPS61235175A (en) Electronic equipment
JPH05204901A (en) Layout display controller for document processor
JPS6141005B2 (en)
JPS6127262A (en) Printing apparatus
JPH0515550B2 (en)
JPS61268469A (en) Electronic appliance
JPH06236358A (en) Word processor