JPS60199682A - Program-controllable typewriter - Google Patents

Program-controllable typewriter

Info

Publication number
JPS60199682A
JPS60199682A JP5653384A JP5653384A JPS60199682A JP S60199682 A JPS60199682 A JP S60199682A JP 5653384 A JP5653384 A JP 5653384A JP 5653384 A JP5653384 A JP 5653384A JP S60199682 A JPS60199682 A JP S60199682A
Authority
JP
Japan
Prior art keywords
program
margin
key
tab
position data
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
JP5653384A
Other languages
Japanese (ja)
Inventor
Yuji Kurokawa
裕司 黒川
Toshishige Okamoto
岡本 利茂
Kiyoshi Yoshida
清 吉田
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 JP5653384A priority Critical patent/JPS60199682A/en
Publication of JPS60199682A publication Critical patent/JPS60199682A/en
Pending 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
    • B41J21/00Column, tabular or like printing arrangements; Means for centralising short lines

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To overcome complicatedness in key operation at the times of setting margins and tabs, by a method wherein margin and tab position data are incorporated in a program, and a printing part is controlled on the basis of the incorporated margin and tab position data, when executing the program. CONSTITUTION:A program memory means 58 is provided for storing the data contained in a program used when setting a program controlling mode, and a memory-controlling means 62 is provided for storing into a data memory means 57 the margin and tab position data contained in a program at the time of setting the program controlling mode. When executing the program, a printing-controlling means 61 is controlled so as to print on a printing paper on the basis of the margin and tab position data stored into the data memory means 57 by the memory-controlling means 62. Accordingly, the complicatedness in operating various keys for setting margin and tab positions can be eliminated.

Description

【発明の詳細な説明】 技術分野 この発明はタイプモード設定時におけるキーボード上の
各キーの手動操作に伴ってデータ記憶手段に記憶された
マージン及びタブの位置データに基づいて印字用紙上に
文字などが印字されるように印字部を制御するようにし
たタイプライタに係り、特にプログラム制御可能なタイ
プライタに関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field This invention relates to printing characters on printing paper based on margin and tab position data stored in a data storage means as a result of manual operation of each key on a keyboard when setting a type mode. The present invention relates to a typewriter in which a printing section is controlled so as to print, and particularly to a typewriter that can be programmably controlled.

従来技術 従来のタイプライタにおいて、例えば左右のマージン位
置及びタブ位置を設定する際には、スペースキー又はバ
ックスペースキーの操作に基づいてキャリッジを所望の
位置まで移動させた後、マージンセラ1〜キー又はタブ
ゼットキーを操作して左右のマージン位置データ及びタ
ブの位置データをデータ記憶手段に記憶させ、その各位
置データに基づいて印字用紙上に文字などが印字される
ように印字部を制御するようにしたものがある。
Prior Art In a conventional typewriter, for example, when setting the left and right margin positions and tab positions, the carriage is moved to the desired position based on the operation of the space key or backspace key, and then the margin cellar 1 - key is pressed. Or, operate the tab set key to store left and right margin position data and tab position data in the data storage means, and control the printing unit so that characters, etc. are printed on the printing paper based on each position data. There is something I did.

ところが従来のタイプライタにおいては、マージン位置
及びタブ位置をセットするために各種のキーを操作する
必要があり、その゛操作が煩雑であるという問題点があ
る。
However, in conventional typewriters, it is necessary to operate various keys to set the margin position and tab position, and there is a problem in that the operations are complicated.

発明の目的 この発明は上記の事情に鑑みてなされたものであって、
その目的゛は、マージン及びタブの位置データをプログ
ラムに組入れることがηき、そのプログラムの実行に伴
い、組入れられたマージン及びタブの位置データに基づ
いて印字部を制御することができ、それによって、マー
ジン及びタブ設定時におけるキー操作の煩雑さを解消す
ることができるプログラム制御可能なタイプライタを提
供することにある。
Purpose of the invention This invention was made in view of the above circumstances, and
The purpose of this is to be able to incorporate margin and tab position data into a program, and as the program is executed, the printing unit can be controlled based on the incorporated margin and tab position data. An object of the present invention is to provide a program-controllable typewriter that can eliminate the complexity of key operations when setting margins and tabs.

発明の構成 上記の目的を達成するためにこの発明においては、プロ
グラム制御モード設定時に使用するプログラムのデータ
を記憶するためのプログラム記憶手段を設けるとともに
、プログラム制御モード設定時における前記プログラム
中のマージン及びタブの位置データを前記データ記憶手
段に記憶させるための記憶制御手段を設(プ、前記プロ
グラムの実行に伴って前記記憶制御手段によってデータ
記憶手段に記憶されたマージン及びタブの位置データに
基づいて印字用紙上に印字されるように前記印字制御手
段を制御するための制御手段を設けている。
Structure of the Invention In order to achieve the above-mentioned object, the present invention provides a program storage means for storing data of a program used when setting a program control mode, and also provides a program storage means for storing data of a program used when setting a program control mode. storage control means for storing tab position data in the data storage means; A control means is provided for controlling the printing control means so that printing is performed on the printing paper.

実施例 以下、この発明を具体化した一実施例を第1図〜第8図
に従って説明する。第1図に示すようにタイプライタの
本体ケース1の後側部にはプラテン2が支持され、その
プラテン2上において印字用紙3が第3図に示ず周知の
用紙送り装置4の作動に基づき順方向あるいは逆方向へ
移送されるようになっている。前記プラテン2の前方に
はそのプラテン2と平行に延びるガイドロッド5が配設
され、そのガイドロッド5にはキャリッジ6がプラテン
2に沿って左右に移動可能に支持されるとともに、ガイ
ドロッド5の回りで回動可能に支持されている。このキ
ャリッジ6上にはサーマルヘッド7が装着されている。
EXAMPLE An example embodying the present invention will be described below with reference to FIGS. 1 to 8. As shown in FIG. 1, a platen 2 is supported on the rear side of the main body case 1 of the typewriter, and printing paper 3 is placed on the platen 2 in an orderly manner based on the operation of a well-known paper feeding device 4 (not shown in FIG. 3). It is adapted to be transported in either direction or in the opposite direction. A guide rod 5 is disposed in front of the platen 2 and extends parallel to the platen 2. A carriage 6 is supported on the guide rod 5 so as to be movable left and right along the platen 2. It is rotatably supported around the A thermal head 7 is mounted on this carriage 6.

そして、第3図に示す周知の駆動装置8の作動に基づき
、キャリッジ6がカイトロッド5に沿って左右に移動さ
れるとともに回動され、そのキャリッジ6の回動に伴い
サーマルヘッド7が印字用紙3に押付けられるプリンl
−位置と、印字用紙3から離間する休止位置との間で移
動し得るようになっている。
Based on the operation of the well-known drive device 8 shown in FIG. 3, the carriage 6 is moved left and right along the kite rod 5 and rotated, and as the carriage 6 rotates, the thermal head 7 Pudding pressed against 3
- position and a rest position away from the printing paper 3.

前記本体ケース1の前部にはキーボード部9が設けられ
、そのキーボード部9には1行より短い24桁の文字を
表示し得る液晶製の表示部10が設けられている。さら
に、キーボード部9上にはこのタイプライタを操作する
ための各種キー、スイッチなどが配設されている。
A keyboard section 9 is provided at the front of the main body case 1, and the keyboard section 9 is provided with a liquid crystal display section 10 capable of displaying 24 digit characters shorter than one line. Furthermore, various keys, switches, etc. for operating this typewriter are arranged on the keyboard section 9.

すなわち、それらは、アルファベットの各文字を入力す
るためのアルファベットキー11.O〜9の数字を入力
するための数字キー12.バックスペースキー13.リ
ターンキー14.マージンセットキー15.ラインイン
デントキーを兼用するマージンリリースキー16.タブ
クリアキーを兼用するタブセットキー17.パラグラフ
インデントキーを兼用するタブレターキー18.ライン
タブキーを兼用するデシマルタブキー19であり、又シ
フトキー20.セカンドシフトキー21.シフトロック
キー22.コードキー23.リピートキー24.スペー
スキー25.前記印字用紙3を順方向へ移送するための
インデックスキー26゜印字用紙3を逆方向へ移送する
ためのリバースインデックスキー27である。
That is, they are alphabet keys 11 . for inputting each letter of the alphabet. Numerical keys 12 for entering numbers from O to 9. Backspace key 13. Return key 14. Margin set key 15. Margin release key that doubles as a line indent key 16. Tab set key that doubles as tab clear key 17. Tab letter key that doubles as a paragraph indent key 18. It is a decimal tab key 19 which also serves as a line tab key, and a shift key 20. Second shift key 21. Shift lock key 22. Code key 23. Repeat key 24. Space key 25. An index key 26 is used to transport the printing paper 3 in the forward direction, and a reverse index key 27 is used to transport the printing paper 3 in the reverse direction.

又、表示部10の右側においてキーボード部9上には後
述するプログラム制御モード設定時において表示部10
に表示中のプログラムの所定の行よりも1つ前の行のデ
ータを表示部10に表示するために操作される上スクロ
ールキー359表示部10に表示中の行よりも1つ後の
行のデータを表示させるために操作される下スクロール
キー36、表示部10上においてデータ入力位置を示す
カーソル10aを左右に移動さ氾るためのカーモル右移
動キー37.カーソル左移動キー38が設けられるとと
もに、インサートキー39.プリントキー40.イグジ
ットキー41.デリートキー42、コンティニューキー
43及びエスケープキー44が設けられている。
In addition, on the right side of the display section 10, on the keyboard section 9, there is a display section 10 on the keyboard section 9 when setting the program control mode, which will be described later.
The up scroll key 359 is operated to display on the display unit 10 the data on the line one line before the predetermined line of the program currently being displayed. A down scroll key 36 is operated to display data, and a cursor right movement key 37 is used to move the cursor 10a, which indicates the data input position, left and right on the display unit 10. A cursor left movement key 38 is provided, as well as an insert key 39 . Print key 40. Exit key 41. A delete key 42, a continue key 43, and an escape key 44 are provided.

前記表示部10の左側においてキーボード部9上には改
行操作時における印字用紙3の送り□□□を選択的に設
定するための三位置スライド式のラインスペースセレク
1〜スイッチ45及びタイプモード、ワードプロセッサ
モード及びプログラム制御モードのうちのいずれかを選
択するための三位置スライド式のモードセレクトスイッ
チ46がそれぞれ設けられている。
On the keyboard section 9 on the left side of the display section 10 are three-position sliding line space select switches 1 to 45 for selectively setting the feed of the printing paper 3 during line feed operations, a type mode, and a word processor. A three-position sliding mode select switch 46 is provided for selecting either mode or program control mode.

又、各数字キー12の下部上面にはプログラム制御モー
ド設定時において演算を行うためのSIN、CO8など
の関数表示文が付設されるとともに、各アルファベット
キー11の下部上面に(よ同じくプログラム制御モード
時において入力されるRUN、NEWなどのコマンド表
示文及びEND。
Further, on the upper surface of the lower part of each numerical key 12, function display sentences such as SIN and CO8 for performing calculations when setting the program control mode are attached, and on the upper surface of the lower part of each alphabet key 11 (also when the program control mode is set) Command display sentences such as RUN and NEW and END that are input at the time.

FOR,NEXTなどのステートメント表示文力(ある
いはステートメント表示文のみが付設された複数の専用
キー47が配設されている。
A plurality of dedicated keys 47 are provided with statement display capabilities such as FOR and NEXT (or only statement display text).

そして、モードセレクトスイッチ46によりタイプモー
ドが設定された時には、この実施例におけるタイプライ
タを通常のタイプライタとしてイ史用することができ、
ワードプロセッサモードh< 89定された時にはこの
タイプライタをワードプロセッサとして使用することが
でき、プログラム制御モードが設定された時にはこのタ
イプライタをプログラミング言語としてBASICを用
いたパーソナルコンピュータとして使用できるようにな
っている。
When the type mode is set by the mode select switch 46, the typewriter in this embodiment can be used as a normal typewriter.
When word processor mode h<89 is set, this typewriter can be used as a word processor, and when program control mode is set, this typewriter can be used as a personal computer using BASIC as the programming language. .

そして、プログラム制御モード設定時において、コード
キー23とともにアルファベットキー11゜数字キー1
2のうちのいずれかが操作された時、それらのキー11
.12が単独で操作された場合に入力されるコードデー
タとは異なるコードデータを入〕っできるようになって
いる。
When the program control mode is set, the code key 23, the alphabet key 11, the numerical key 1
2 is operated, those keys 11
.. It is possible to input code data different from the code data input when 12 is operated alone.

次に、この実施例にajけるタイプライタの制御回路を
第3図に従って説明する。同図において50は中央処理
装置(CPU)であり、このCPU50には前記用紙送
り装置4.駆動装置8及びザーマルヘッド7により構成
された印字部51が接続されるとともに、キーボード部
゛91表示部10゜リードオンリーメモリ(ROM)5
2及びランダムアクセスメモリ(RAM)53がそれぞ
れ接続されている。
Next, the control circuit of the typewriter according to this embodiment will be explained with reference to FIG. In the figure, 50 is a central processing unit (CPU), and this CPU 50 includes the paper feeding device 4. A printing section 51 composed of a drive device 8 and a thermal head 7 is connected, and a keyboard section 91, a display section 10, and a read-only memory (ROM) 5 are connected.
2 and random access memory (RAM) 53 are connected to each other.

前記ROM52の各メモリエリア54〜56にはモード
セレクトスイッチ46の操作によってそれぞれ選択され
るモードに対応してタイプライタの作動を制御するため
の3種類のプログラムがそれぞれ記憶されている。
Each of the memory areas 54 to 56 of the ROM 52 stores three types of programs for controlling the operation of the typewriter in accordance with the mode selected by operating the mode select switch 46.

前記RAM53にはマージン、タブ、デシマルタブ及び
作表タブの位置データを記憶可能なデータ記憶手段とし
てのメモリエリア57.プログラムのデータを記憶する
プログラム記憶手段としてのメモリエリア58.ワード
プロセッサモード設定時において入力される文字データ
などを記憶するためのメモリエリア59及びプログラム
制御モード設定時において演算された結果を記憶するた
めの変数エリア60などが設けられている。
The RAM 53 includes a memory area 57 as a data storage means capable of storing position data of margins, tabs, decimal tabs, and tabulation tabs. Memory area 58 as a program storage means for storing program data. A memory area 59 for storing character data input when the word processor mode is set and a variable area 60 for storing the results of calculations when the program control mode is set are provided.

前記CPU50は印字制御手段61.記憶制御手段62
及び制御手段63を含んでいる。そして、印字制御手段
61はタイプモード設定時においてRAM53のメモリ
エリア57に記憶されたマージン、タブ、デシマルタブ
及び作表タブの位置データに基づいて印字用紙3上に文
字や縦線などが印字されるように前記印字部51を制御
するようになっている。又、プログラム制御モード設定
時においてCPU50はプログラムのデータをRAM5
3のメモリエリア58に記憶させるとともに、記憶制御
手段62はそのプログラム中のマージン。
The CPU 50 includes a print control means 61. Memory control means 62
and control means 63. Then, the print control means 61 prints characters, vertical lines, etc. on the print paper 3 based on the position data of the margin, tab, decimal tab, and tabulation tab stored in the memory area 57 of the RAM 53 when setting the type mode. The printing section 51 is controlled in this manner. Also, when setting the program control mode, the CPU 50 stores program data in the RAM 5.
3, and the storage control means 62 stores the margin in the program.

タブ、デシマルタブ、作表タブの位置データを前記メモ
リエリア57に記憶させる。さらに、制御手段63はプ
ログラムの実行に伴い、メモリエリア57から読み出し
たマージン、タブ、デシマルタブ及び作表タブの位置デ
ータに基づき印字用紙3上において印字動作が行われる
ように前記印字制御手段61を制御するようになってい
る。
The position data of the tab, decimal tab, and table tab are stored in the memory area 57. Further, as the program is executed, the control means 63 controls the print control means 61 so that a printing operation is performed on the print paper 3 based on the position data of the margin, tab, decimal tab, and tabulation tab read from the memory area 57. It is meant to be controlled.

さて、第2図に示すモードセレクトスイッチ46の操作
に基づいてタイプモードを設定した状態でマージン位置
及びタブ位置を設定する場合には、まず、スペースキー
25あるいはバックスペースキー13を操作ザると、C
PU5°0により駆動装置8が作動され、その駆動装置
8の作動に基づきキャリッジ6がプラテン2に治って移
動される。
Now, when setting the margin position and tab position with the type mode set based on the operation of the mode select switch 46 shown in FIG. , C
The drive device 8 is actuated by the PU5°0, and the carriage 6 is moved to the platen 2 based on the operation of the drive device 8.

ぞして、スペースキー25あるいはバックスペースキー
13の操作を停止すればキャリッジ6を所望の桁位置に
配置することができる。その状態で、マージンセットキ
ー15のみを操作すれば左マージン位置を設定すること
ができ、その位置データがRAM53のメモリエリア5
7に記憶される。
Then, by stopping the operation of the space key 25 or backspace key 13, the carriage 6 can be placed at the desired digit position. In this state, the left margin position can be set by operating only the margin set key 15, and the position data is stored in the memory area 5 of the RAM 53.
7 is stored.

又、スペースキー25あるいはバックスペースキー13
の操作後にマージンセットキー15とコードキー23と
を同詩に操作リ−れば右マージン位置を設定することが
でき、その位置データが前記メモリエリア57に記憶さ
れる。このにうに設定された左右のマージン位置を解除
する場合には、各マージン位置までキャリッジ6を移動
させた後マージンリリースキー16を操作すれば、キャ
リッジ6をその左右のマージン位置より両側外方へ移動
させることができる。
Also, space key 25 or backspace key 13
After operating the margin set key 15 and the code key 23 in the same manner, the right margin position can be set, and the position data is stored in the memory area 57. To cancel the left and right margin positions set in this way, move the carriage 6 to each margin position and then operate the margin release key 16 to move the carriage 6 outward on both sides from the left and right margin positions. It can be moved.

タブ位置を設定する場合には、前記の場合と同様にスペ
ースキー25あるいはバックスペースキー13を操作し
てキャリッジ6を所望の位置まで移動させた後タブセッ
トキー17を操作すれば、そのタブ位置のデータが前記
メモリエリア57に記憶される。次にタブレターキー1
8を操作すればキャリッジ6が前記の操作によって設定
されたタブ位置まで移動される。そして、このタブ位置
は複数個設定することができる。設定されたタブ位置を
解除する場合には、キャリッジ6をそのタブ位置まで移
動してタブセラ1へキー17とともにコードキー23を
操作すればよい。
To set the tab position, operate the space key 25 or backspace key 13 to move the carriage 6 to the desired position, and then operate the tab set key 17 to set the tab position. data is stored in the memory area 57. Next, tablet letter key 1
8, the carriage 6 is moved to the tab position set by the above operation. A plurality of tab positions can be set. To cancel a set tab position, the carriage 6 is moved to the tab position and the code key 23 is operated together with the key 17 to the tab cella 1.

次にこの発明に関する処理を第4図〜第7図及び表1に
従って説明する。まず、タイプライタに電源を投入した
後第4図のステップS1においてモードセレクトスイッ
チ46を操作してプログラム制御モードを設定すると、
CPU50は表示部10に所定の初期設定画面を表示す
る。すなわち、RAM53のメモリエリア58に記憶す
るプログラムのファイルナンバーを選択指定するための
画面とファイル名を入力するための画面である。そして
、RAM53のメモリエリア58にプログラムをかき込
むためにそのプログラムのファイル名を入力したのち、
リターンキー14を操作すると、第2図に示すように表
示部10の先頭桁にカーソル10aが点灯される。
Next, processing related to the present invention will be explained with reference to FIGS. 4 to 7 and Table 1. First, after turning on the power to the typewriter, in step S1 of FIG. 4, operate the mode select switch 46 to set the program control mode.
The CPU 50 displays a predetermined initial setting screen on the display unit 10. That is, there is a screen for selecting and specifying the file number of the program to be stored in the memory area 58 of the RAM 53, and a screen for inputting the file name. Then, after inputting the file name of the program in order to write the program into the memory area 58 of the RAM 53,
When the return key 14 is operated, a cursor 10a is illuminated at the first digit of the display section 10, as shown in FIG.

表1 次に第4図のステップS2において各種のキー操作を行
い例えば表1に示すプログラムを入力する。このプログ
ラムはrlOJ、r20Jなどの行番号と[1NplJ
T”Il+(11TS−” :MJなどの実行文とから
なっている。そして、例えばNNPUTJというステー
1〜メントを入力する場合にはNJのアルファベラ1−
キー11とコードキー23どを同時に押し下げ操作ずれ
ばよく、そのステートメン1−の入力後においてステッ
プS3でCPU50の作動に基づき表示部10にその文
字が表示されるとともに、RAM53のメモリエリア5
8にコード化された状態で記憶される。そして、第4図
のステップS4に進みプログラムの入力操作が終了した
か否が判別され、その結果がYESになるとプロクラム
の入力が終了する。
Table 1 Next, in step S2 of FIG. 4, various key operations are performed to input the program shown in Table 1, for example. This program uses line numbers such as rlOJ, r20J, and [1NplJ
T"Il+(11TS-": Consists of executable statements such as MJ.For example, when inputting the statement NNPUTJ, Alphabella 1- of NJ is used.
All you have to do is press and hold the key 11 and the code key 23 at the same time. After inputting the statement 1-, the character is displayed on the display unit 10 based on the operation of the CPU 50 in step S3, and the character is displayed on the memory area 5 of the RAM 53.
It is stored coded as 8. Then, the process proceeds to step S4 in FIG. 4, where it is determined whether or not the program input operation has been completed.If the result is YES, the program input is completed.

表1に示すプログラムについて説明すると、10行及び
20行においては左マージン及びタブの値がそれぞれ変
数rMJ rTjとして設定されている。30行〜50
行の実行文は印字されるべき文字列であり、60行及び
70行は変数「T」。
To explain the program shown in Table 1, in lines 10 and 20, the values of the left margin and tab are set as variables rMJ rTj, respectively. 30 lines to 50
The executable statement on the line is the character string to be printed, and the 60th and 70th lines are the variable "T".

「〜1」にそれぞれ入力されるタブ及び左マージンの位
置データをRA M 53のメモリエリア57に記憶さ
せ、それに基づいてタブ及び左マージンを設定する実行
文である。90行は前記変数1M」。
This is an executable statement that stores the tab and left margin position data input in "~1" in the memory area 57 of the RAM 53, and sets the tab and left margin based on the data. Line 90 is the variable 1M.

「T」に代入される数値とともに[mgns=tabs
−Jというメツセージを印字するための実行文である。
Along with the numerical value assigned to “T”, [mgns=tabs
This is an executable statement to print the message -J.

100行は30行〜50行に示す各文字列をメモリエリ
ア57に記憶されたタブの位置データに基づいて順次印
字するための実行文であり、110行〜130行は30
行〜50行に示ず文字列をメモリエリア57に記憶され
た左マージンの位置データに基づいて印字するだめの実
行文である。
Line 100 is an executable statement for sequentially printing each character string shown in lines 30 to 50 based on the tab position data stored in the memory area 57, and lines 110 to 130 are executable statements for sequentially printing each character string shown in lines 30 to 50.
This is an executable statement to print the character string shown in lines 50 to 50 based on the left margin position data stored in the memory area 57.

このプログラムを実行するために、まずrRJのアルフ
ァベットキー11とともにコードキー23を操作した後
、リターンキー14を操作すると、第5図のステップS
5において、各実行文の妥当性の解析がCPU50によ
って行われ、ステップS6に進み、各実行文に誤りかあ
るか否かが判別される。その結果がYESであれば表示
部10に#いてrsYN丁AX ERRORJなトノエ
ラー表示が行われる。その結果がNOである場合にはス
テップS7に進み、マージン位置及びタブ位置を設定す
るためのデータの入力を促す表示が行われ、その表示に
従い数字キー12を操作してマージン位置及びタブ位置
をそれぞれ例えば「0」に設定りると、CPU50の作
動に基づきそのマージン位置データ及びタブ位置データ
がメモリエリア57に書き込まれる。その後、前記各位
置データに基づいて印字用紙3上に第6図に示す文字列
を印字するために、印字部51を制御する印字制御手段
61が制御手段63によって制御され、第6図に示すよ
うにプログラムに基づいて各文字列が「O」桁の左マー
ジン位置から順次印字さαる。
To execute this program, first operate the rRJ alphabet keys 11 and code key 23, then operate the return key 14, and step S in FIG.
In step S5, the validity of each executable sentence is analyzed by the CPU 50, and the process proceeds to step S6, where it is determined whether each executable sentence has an error. If the result is YES, a tonneau error message #rsYNAXERRORJ is displayed on the display unit 10. If the result is NO, the process advances to step S7, where a display prompting you to input data for setting the margin position and tab position is displayed, and according to the display, operate the numeric keys 12 to set the margin position and tab position. When each is set to "0", for example, the margin position data and tab position data are written to the memory area 57 based on the operation of the CPU 50. Thereafter, in order to print the character string shown in FIG. 6 on the printing paper 3 based on each position data, the printing control means 61 that controls the printing section 51 is controlled by the control means 63, and the character string shown in FIG. 6 is controlled by the control means 63. Based on the program, each character string is printed sequentially starting from the left margin position of the "O" digit.

このプロクラムに従い別のマージン及びタブ位置データ
に基づいて印字動作を行°う場合には、プロクラムの実
行に伴ってマージン位置データ及びタブ位置データの入
力が促されたときに数字キー及びリターンキー14を操
作してrloJ、r2OJの数値をそれぞれ入力すれば
、その各位置デ゛−タに基づき、第7図に示すように、
2行目おいて文字列が204ti目のタブ位置から順次
印字されるとともに3〜5行目において3種の文字列が
10桁目の左マージン位置から順次印字される。
When performing a printing operation based on separate margin and tab position data according to this program, when prompted to input margin position data and tab position data as the program is executed, press the numeric keys and return key 14. By operating the and inputting the numerical values of rloJ and r2OJ, based on the respective position data, as shown in Fig. 7,
In the second line, character strings are printed sequentially from the 204th tab position, and in the third to fifth lines, three types of character strings are sequentially printed from the left margin position of the 10th column.

上記のように、この実施例においては、プログラムの実
行時においてマージン位置データ及びタブ位置データを
入力するだけでその各位置データに基づいて自動的に印
字を行うことができる。
As described above, in this embodiment, printing can be automatically performed based on each position data simply by inputting margin position data and tab position data when executing the program.

表2 なお、前記のプログラムにおいては、メモリエリア57
に記憶されたマージン位置データ及びタブ位置データを
プログラムの実行時(「R」のアルファベットキー11
.コードキー23の同時操作後)において人力するよう
になっているが、表2に示すように、プログラム中に複
数のタブ位置データを数値化して設定し、そのプログラ
ムの実行時において文字データ等を入力するようにすれ
ば、第8図に示すように、各タブ位置に文字列を印字す
ることができ、従来例とは異なり、タブ位置を設定する
ためのキー操作を少なくすることができる。
Table 2 Note that in the above program, the memory area 57
The margin position data and tab position data stored in
.. (after simultaneous operation of the code key 23), but as shown in Table 2, multiple tab position data are digitized and set during the program, and character data etc. are set when the program is executed. If input is performed, a character string can be printed at each tab position as shown in FIG. 8, and unlike the conventional example, the number of key operations for setting the tab positions can be reduced.

発明の効果 以上詳述したようにこの発明は、マージン及びタブの位
置データをプログラムに組入れることができ、そのプロ
グラムの実行に伴い、組入れられたマージン及びタブの
位置データ゛に基づいて印字部を制御することができ、
それによって、マージン及びタブ設定時におけるキー操
作の煩雑さを解消することができるという効果がある。
Effects of the Invention As detailed above, in the present invention, margin and tab position data can be incorporated into a program, and as the program is executed, the printing unit can be controlled based on the incorporated margin and tab position data. can,
This has the effect of eliminating the complexity of key operations when setting margins and tabs.

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

第1図はこの発明を具体化したタイプライタの斜視図、
第2図はキーボード部を示ず平面図、第3図はタイプラ
イタのブロック図、第4図及び第5図はフローチャート
、第6図及び第7図はプログラムの実行結果を示す図、
第8図は別のプログラムの実行結果を示す図である。 図において3は印字用紙、9はキーボード部、11はア
ルファベットキー、12は数字キー、15はマージンセ
ラ1〜キー、17はタブセットキー、51は印字部、5
7はデータ記憶手段としてのメモリエリア、58はプロ
グラム記憶手段としてのメモリエリア、61は印字制御
手段、62は記憶制御手段、63は制御手段である。 特許出願人 ブラザー工業株式会社 代 理 人 弁理士 恩1)博宣
FIG. 1 is a perspective view of a typewriter embodying this invention;
FIG. 2 is a plan view without showing the keyboard part, FIG. 3 is a block diagram of the typewriter, FIGS. 4 and 5 are flowcharts, and FIGS. 6 and 7 are diagrams showing the results of program execution.
FIG. 8 is a diagram showing the execution results of another program. In the figure, 3 is printing paper, 9 is a keyboard section, 11 is an alphabet key, 12 is a numeric key, 15 is a margin celler 1~ key, 17 is a tab set key, 51 is a printing section, 5
7 is a memory area as a data storage means, 58 is a memory area as a program storage means, 61 is a print control means, 62 is a storage control means, and 63 is a control means. Patent applicant Brother Industries, Ltd. Representative Patent attorney On 1) Hironobu

Claims (1)

【特許請求の範囲】 1、文字、数字キー(11,12)、マージンセットキ
ー(15)及びタブセットキー(17)などを備えるキ
ーボード部(9)と、 印字用紙(3)上に文字などを印字するための印字部(
51)と、 前記マージンセットキー(15)及びタブセットキー(
17)の操作に伴って設定されたマージン及びタブの位
置データを記憶可能なデータ記憶手段(57)と、 タイプモード設定時における前記キーボード部(9)上
の各キーの手動操作に伴って前記データ記憶手段(57
)に記憶されたマージン及びタブの位置データに基づい
て前記印°字用紙(3)上に文字などが印字されるよう
に前記印字部(51)を制御するための印字制御手段(
61)とからなるタイプライタにおいて、 プログラム制御モード設定時に使用するプログラムのデ
ータを記憶するためのプログラム記憶手段(58)と、 プログラム制御モード設定時における前記プログラム中
のマージン及びタブの位置データを前記データ記憶手段
(57)に記憶させるための記憶制御手段(62)と、 前記プログラムの実行に伴って前記記憶制御手段(62
)によってデータ記憶手段(57)に記憶されたマージ
ン及びタブの位置データに基づいて印字用紙(3)上に
印字されるように前記印字制御手段(61)を制御する
ための制御手段(63)と を備えることを特徴とするプログラム制御可能なタイプ
ライタ。
[Claims] 1. A keyboard section (9) including character and number keys (11, 12), a margin set key (15), a tab set key (17), etc., and characters etc. on a printing paper (3). The printing section (
51), the margin set key (15) and the tab set key (
data storage means (57) capable of storing margin and tab position data set in accordance with the operation of step 17); Data storage means (57
) for controlling the printing section (51) so that characters, etc. are printed on the printing paper (3) based on the margin and tab position data stored in the printing paper (3);
61), a program storage means (58) for storing program data to be used when setting the program control mode; storage control means (62) for storing data in the data storage means (57);
) control means (63) for controlling the print control means (61) so as to print on the printing paper (3) based on the margin and tab position data stored in the data storage means (57) by the data storage means (57); A programmable typewriter characterized by comprising:
JP5653384A 1984-03-24 1984-03-24 Program-controllable typewriter Pending JPS60199682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5653384A JPS60199682A (en) 1984-03-24 1984-03-24 Program-controllable typewriter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5653384A JPS60199682A (en) 1984-03-24 1984-03-24 Program-controllable typewriter

Publications (1)

Publication Number Publication Date
JPS60199682A true JPS60199682A (en) 1985-10-09

Family

ID=13029729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5653384A Pending JPS60199682A (en) 1984-03-24 1984-03-24 Program-controllable typewriter

Country Status (1)

Country Link
JP (1) JPS60199682A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54155745A (en) * 1978-05-30 1979-12-08 Tokyo Electric Co Ltd Program unit of tablating accounting machine
JPS5781675A (en) * 1980-11-07 1982-05-21 Tokyo Electric Co Ltd Electronic tabulating computer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54155745A (en) * 1978-05-30 1979-12-08 Tokyo Electric Co Ltd Program unit of tablating accounting machine
JPS5781675A (en) * 1980-11-07 1982-05-21 Tokyo Electric Co Ltd Electronic tabulating computer

Similar Documents

Publication Publication Date Title
JPS60199682A (en) Program-controllable typewriter
JPH0227150B2 (en)
JPH053613B2 (en)
JPS60206687A (en) Program-controllable typewriter
JPS59188458A (en) Typewriter with text memory
JPS60201973A (en) Program-controllable typewriter
JPS61294533A (en) Japanese word processor
JPH0560628B2 (en)
JPS61122774A (en) Japanese input/output device
JP2509554B2 (en) Character processing method
JP2543501B2 (en) Word processor
JPS63293072A (en) Printer
JP2513480B2 (en) Document creation device
JPS61122776A (en) Input/output device
JPH01183770A (en) Character processor
JPS63183869A (en) Electronic typewriter
JPH0638256B2 (en) I / O device
JPS60207954A (en) Typewriter
JPS61231594A (en) Sentence editing apparatus
JPS6398766A (en) Document production processor
JPS6347884A (en) Graphic generating device
JPS60109874A (en) Typewriter
JPS59188454A (en) Electronic typewriter
JPH01311312A (en) Input device
JPH0431518B2 (en)