JPS60201431A - Program controllable typewriter - Google Patents
Program controllable typewriterInfo
- Publication number
- JPS60201431A JPS60201431A JP59058947A JP5894784A JPS60201431A JP S60201431 A JPS60201431 A JP S60201431A JP 59058947 A JP59058947 A JP 59058947A JP 5894784 A JP5894784 A JP 5894784A JP S60201431 A JPS60201431 A JP S60201431A
- Authority
- JP
- Japan
- Prior art keywords
- key
- program
- printing
- control means
- printing paper
- 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.)
- Granted
Links
Landscapes
- Document Processing Apparatus (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
技術分野
この発明はキーボード部の各キーの操作に伴って印字用
紙上に文字などが印字されるように用紙送り装置、駆動
装置及び印字ヘッドを制御するようにしたタイプライタ
に係り、特にプログラム制御可能なタイプライタに関す
るものである。[Detailed Description of the Invention] Technical Field The present invention relates to a typewriter in which a paper feeding device, a drive device, and a print head are controlled so that characters, etc. are printed on printing paper in accordance with the operation of each key on a keyboard section. In particular, the present invention relates to a programmable typewriter.
従来技術
一般に、作表を行う場合、BASICを使用するコンビ
ュータでグラフィックモードを設定して複雑な設泪作業
を行ったり、通常のタイプライタにおいて、キーの手動
操作に基づいて印字用紙の逆方向送りを行った後、アン
ダーラインを印字させたりする必要があり、その作業、
例えばキー操作が煩雑であった。2. Description of the Related Art Generally, when tabulating tabulations, a graphic mode is set on a computer using BASIC to perform complicated layout work, and on an ordinary typewriter, printing paper is fed in the reverse direction based on manual key operation. After doing this, it is necessary to print an underline, and that work,
For example, key operations were complicated.
発明の目的
この発明は上記の事情に鑑みてなされたものであって、
その目的は、印字用紙を順方向又は逆方向に送るための
情報をプ[1グラムに組入れることができ、そのプログ
ラムの実行に伴い、前記情報に基づいて印字部を制御す
ることができ、それによって容易に作表することができ
るプログラム制御可能なタイプライタを提イ1い1−る
ことにある。Purpose of the invention This invention was made in view of the above circumstances, and
Its purpose is to be able to incorporate information for feeding the printing paper in the forward or reverse direction into a program, and to control the printing section based on the information as the program is executed. An object of the present invention is to provide a programmable typewriter that can be easily tabulated by a program.
発明の構成
上記の目的を達成するためにこの発明においては、プロ
グラム制御モード設定時に使用されるプログラムのデー
タを記憶するための記憶手段と、プログラム制御モード
設定時における前記プログラムの実行に伴って前記印字
用紙上に文字などが印字されるよう前記印字制御手段を
制御するだめの第一の制御手段と、前記プロクラムの実
行に伴って前記印字用紙が順方向に送られるように前記
用紙送り装置を制御する第二の制御手段と、前記プログ
ラムの実行に伴って前記印字用紙が逆方向に送られるよ
うに前記用紙送り装置を制御する第実施例
以下、この発明を具体化した一実施例を第1図〜第6図
に従って説明する。第1図に示Jようにタイプライタの
本体ケース1の後側部には左右に延びるプラテン2が支
持され、そのプラテン2−トにおいて印字用紙3が第3
図に示す周知の用紙送り装置4の作動に基づき順方向あ
るいは逆方向へ移送されるようになっている。前記ブラ
゛−tン2の前方にはそのプラテン2と平行に延びるガ
イドロッド5が配設され、そのガイドロッド5にはキ1
7リツジ6がプラテン2に沿って左右に、すなわち用紙
移動方向と直交する方向に移動可能に支持されるととも
に、ガイドロッド5の回りで回動可能に支持されている
。このギヤリッジ6上にはサーマルヘッド7が装着され
ている。そして、第3図に示す周知の駆動装置8の作動
に基づき、キャリッジ6がガイドロッド5に沿って左右
に移動されるとともに回動され、そのキャリッジ6の回
動に伴いサーマルヘッド7が印字用紙3に押付けられる
プリント位置と、印字用紙から離間する休止位置との間
で移動し得るようになっている。Structure of the Invention In order to achieve the above object, the present invention includes a storage means for storing data of a program used when setting a program control mode, and a storage means for storing data of a program used when setting a program control mode; a first control means for controlling the printing control means so that characters or the like are printed on the printing paper; and a first control means for controlling the paper feeding device so that the printing paper is fed in a forward direction as the program is executed. Embodiment 1 In the following, an embodiment embodying the present invention will be described with reference to FIG. 1. 〜Explained according to FIG. As shown in FIG. 1, a platen 2 extending from side to side is supported on the rear side of the main body case 1 of the typewriter.
The paper is transported in the forward direction or in the reverse direction based on the operation of a well-known paper feeding device 4 shown in the figure. A guide rod 5 extending parallel to the platen 2 is disposed in front of the platen 2, and a key 1 is attached to the guide rod 5.
A seven-ridge 6 is supported so as to be movable left and right along the platen 2, that is, in a direction orthogonal to the paper moving direction, and is also supported so as to be rotatable around the guide rod 5. A thermal head 7 is mounted on this gear ridge 6. 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 guide rod 5 and rotated, and as the carriage 6 rotates, the thermal head 7 3, and a rest position where it is separated from the printing paper.
前記本体ケース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, On the keyboard section 9 are arranged second keys, switches, etc. for operating this typewriter.
ずなわち、それらは、アルファベットの各文字を入力す
るためのアルファベットキー11,0〜9の数字を入力
するだめの数字キー12.バックスペースキー13.リ
ターンキー14.マージン5−
セットキー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, and numeric keys 12 for inputting numbers 0 to 9. Backspace key 13. Return key 14. Margin 5- 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を左右に移動させるためのカーソ6−
ル右移動キー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 that is operated to display data, a cursor right movement key 37 that is used to move the cursor 10a that indicates the data input position on the display section 10 left and right. The cursor left movement key 38 is pressed, and the insert key 39. print key 40
.. Exit key 41. A delete key 42, a continuous key 43, and an escape key 44 are provided.
前記表示部10の左側においてキーボード部9上には改
行操作時における印字用紙3の送り量を選択的に設定す
るための三位置スライド式のラインスペースセレク1〜
スイッチ45及びタイプモード、ワードプロヒラ11モ
ード及びプログラム制御モードのうちのいずれかを選択
するための三位置スライド式のモードセレクトスイッチ
46がそれぞれ設()られている。On the keyboard section 9 on the left side of the display section 10 are three-position sliding line space selectors 1 to 1 for selectively setting the feeding amount of the printing paper 3 during a line feed operation.
A switch 45 and a three-position sliding mode select switch 46 for selecting one of the type mode, word program 11 mode, and program control mode are provided.
又、各数字キー12の下部ト面にはブ[1グラム制御モ
一ド設定時において演算を行うためのSIN、CO8な
どの関数表示文が付設されるとともに、各アルファベッ
トキー11の下部上面には同じく/[1グラム制御モ一
ド時において入力されるRUN、NEWなどのコマンド
表示文及びEND。In addition, on the bottom surface of each numerical key 12 there are function display statements such as SIN and CO8 for performing calculations when the 1-gram control mode is set, and on the bottom top surface of each alphabet key 11. Similarly, /[command display statements such as RUN and NEW, which are input in the 1-gram control mode, and END.
FOR,NEXTなどのステートメント表示文が付設さ
れている。さらに、アルファベラ1〜キー11とリター
ンキー14との間にはコマンド表示文あるいはステート
メント表示文のみが付設された複数の専用キー47が配
設されている。Statement display sentences such as FOR and NEXT are attached. Further, a plurality of dedicated keys 47 to which only command display sentences or statement display sentences are attached are arranged between the Alphabella 1 to keys 11 and the return key 14.
そして、モードセレクトスイッチ46によりタイプモー
ドが設定された時には、この実施例におけるタイプライ
タを通常のタイプライタとして使用することができ、ワ
ードプロセッサモードが設定された時にはこのタイプラ
イタをワードプロセッサとして使用することができ、プ
ログラム制御モードが設定された時にはこのタイプライ
タをプログラミング言語として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, and when the word processor mode is set, the typewriter can be used as a word processor. When the program control mode is set, the typewriter can be used as a personal computer using BASIC as the programming language.
そして、プログラム制御モード設定時において、コード
キー23とともにアルファベットキー11゜数字キー1
2のうちのいずれかが操作された時、それらのキー11
.1’2が単独で操作された場合に入力される]−ドデ
ータとは異なるコードデータを入力できるようになって
いる。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 1'2 is operated alone.
次に、この実施例におけるタイプライタの制御回路を第
3図に従って説明する。同図において50は中央処理装
置(CPU)であり、このCP tJ50には前記用紙
送り装置4.駆動装置8及びサーマルヘッド7により構
成された印字部51が接続されるとともに、キーボード
部92表示部10゜リードオンリーメモリ(ROM)5
2及びランダムアクセスメモリ(RAM)53がそれぞ
れ接続されている。Next, the typewriter control circuit in this embodiment will be explained with reference to FIG. In the figure, 50 is a central processing unit (CPU), and this CP tJ50 includes the paper feed device 4. A printing section 51 composed of a driving device 8 and a thermal head 7 is connected, and a keyboard section 92, 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.
前記ROM 52にはモードセレクトスイッチ46の操
作によってそれぞれ選択されるモードに対応してタイプ
ライタの作動を制御するための3種類のプログラムが記
憶されたメモリエリア54〜56が設けられている。The ROM 52 is provided with memory areas 54 to 56 in which three types of programs for controlling the operation of the typewriter are stored in accordance with the modes respectively selected by operating the mode select switch 46.
前記RAM53にはマージン、タブ、デシマルタブ及び
作表タブの位置データを記憶可能なデータ記憶手段とし
てのメモリエリア57.プログラムのデータを記憶する
プログラム記憶手段としてのメモリエリア58.ワード
プロセッサモード設定時において入力される文字データ
などを記憶す一〇−
るためのメモリエリア59及びブ[1グラム制御モ一ド
設定時において演算された結果を記憶するための変数エ
リア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 is provided for storing character data input when the word processor mode is set, and a variable area 60 is provided for storing the calculated results when the gram control mode is set. It is being
前記CP U 50は印字制御手段61.記憶制御手段
62及び第一の制御手段63を含んでいる。The CPU 50 includes a print control means 61. It includes a storage control means 62 and a first control means 63.
さらに前記印字制御手段61は第二の制御手段61a及
び第三の制御手段611)を含んでいる。そして、印字
制御手段61はタイプモード設定時においてRAM53
のメモリエリア57に記憶されたマージン、タブ、デシ
マルタブ及び作表タブの位置データに基づいて前記印字
部51を制御し、印字用紙3上に文字や縦線などを印字
できるようになっている。特に、第二の制御手段61a
は印字用紙3が順方向に送られるように前記用紙送り装
置4を制御し、第三の制御手段61bは印字用紙3が逆
方向に送られるように用紙送り装置4を制御する。又、
プログラム制御モード設定時においてCPU50はプロ
グラムのデータをRAM53のメモリエリア58に記憶
させるとともに、記憶制御手段62はそのプログラム中
のマージン。Further, the printing control means 61 includes a second control means 61a and a third control means 611). Then, the print control means 61 uses the RAM 53 when setting the type mode.
The printing section 51 is controlled based on the position data of margins, tabs, decimal tabs, and tabulation tabs stored in the memory area 57 of the printing paper 3, so that characters, vertical lines, etc. can be printed on the printing paper 3. In particular, the second control means 61a
controls the paper feeding device 4 so that the printing paper 3 is fed in the forward direction, and the third control means 61b controls the paper feeding device 4 so that the printing paper 3 is fed in the reverse direction. or,
When setting the program control mode, the CPU 50 stores the program data in the memory area 58 of the RAM 53, and the storage control means 62 stores the margin in the program.
10−
タブ、デシマルタブ、作表タブの位置データを前記メモ
リエリア58から読み出して前記メモリエリア57に記
憶させる。さらに、第一の制御手段63はプログラムの
実行に伴い、メしり「リア57から読出した各位置デー
タに基づ゛き印字用紙3上において印字動作が行われる
ように前記印字制御手段61を制御するようにイ↑つて
いる。10- Read the position data of the tab, decimal tab, and tabulation tab from the memory area 58 and store it in the memory area 57. Further, as the program is executed, the first control means 63 controls the print control means 61 so that a printing operation is performed on the printing paper 3 based on each position data read from the rear 57. It looks like it's going to happen.
さて、第2図に示J七−ド(′!レク(ヘスイッチ46
の操作に基づいてタイプモードを設定した状態でマージ
ン位置及び作表りI IC/、 fffiを設定する場
合には、まず、スペースキー25あるいはバラウスペー
ス4=−13を操作すると、CP l−J 50により
駆動装置8が作動され、その駆動装置8の作動に基づい
てキャリッジ6がプラテン2に治って移動される。そし
て、スペースニl= −25あるい(、Lバ・ンクスペ
ースキー13の操イ1を停止トすればキャリッジ6を所
望の桁位置に配置することができる。その状態で、マー
ジンセラ1〜キー15のみを操作ずれば′左マージン位
置を設定Jることができ、その位置データがRAM53
のメモリエリア57に記憶される。又、スペースキー2
5あるいはバックスペースキー13の操作後、マージン
セラ1〜キー15とコートキー23どを同時に操作に1
れば右マージン位置を設定りることができ、ぞの位置デ
ータが前記メ[す■リア57に記憶される。このように
設定された左右のマージン位置を解除づ−る場合には、
各マージン位置までキキ?リッジ6を移動さ「た後、マ
ージンリリースキー16を操作Jれば、キ髪・リッジ6
をぞの左右のマージン位置の両側外方へ移動させること
ができる。Now, as shown in Fig. 2, the switch 46
When setting the margin position and tabulation I IC/, fffi with the type mode set based on the operation of The drive device 8 is actuated by the drive device 50, and the carriage 6 is moved to the platen 2 based on the operation of the drive device 8. Then, if you stop operation 1 of the L bank space key 13, the carriage 6 can be placed at the desired digit position.In that state, the carriage 6 can be placed at the desired digit position. By operating only the key 15, the left margin position can be set, and the position data is stored in the RAM 53.
is stored in the memory area 57 of. Also, space key 2
5 or after operating the backspace key 13, press keys 1 to 15 and coat key 23 at the same time.
If so, the right margin position can be set, and the corresponding position data is stored in the memory 57. To cancel the left and right margin positions set in this way,
Kiki to each margin position? After moving the ridge 6, operate the margin release key 16 to move the ridge 6.
You can move it outward on both sides of the left and right margin positions.
所定位置に縦線を印字するために、作表タブ位置を設定
づる場合には前記の場合と同様にスペースキー25ある
いはバックスペースキー13を操作してキトリッジ6を
所望の位置まで移動させた後、」−ドキー23とともに
ラインタブキーを兼用するデシマルタブキー19を操作
づ−れば、作表タブ位置のデータが前記メモリエリア5
7に記憶される。次に、タブレターキー18を操作すれ
ば前記の操作ににって設定された作表タブ位置までギヤ
リッジ6を移動さけて4)−−マルヘッド7により縦線
を印字させることができる。なお、この作表タブ位置は
複数個設定することができる。設定された作表タブ位置
を解除する場合には、キャリッジ6をその作表タブ位置
まで移動してタブクリアキーを兼用づ−るタブセ・ント
ニに−17とともにコードキー23を操作すればよい。When setting the tabulation tab position in order to print vertical lines at a predetermined position, operate the space key 25 or backspace key 13 to move the kittredge 6 to the desired position, as in the case above. ,'' - By operating the decimal tab key 19 which also serves as a line tab key together with the do key 23, the data at the tabulation tab position is stored in the memory area 5.
7 is stored. Next, by operating the tab letter key 18, the gear ridge 6 is moved to the tabulation tab position set by the above operation, and the vertical line can be printed by the square head 7 (4). Note that a plurality of tabulation tab positions can be set. To cancel a set tabulation tab position, the carriage 6 is moved to the tabulation tab position, and the code key 23 is operated together with tab set key -17, which also serves as the tab clear key.
さらに、印字済みの文字の下側部にアンダーラインを印
字する場合には、前記スペースキー25あるいはバック
スペースキー13を操作してキャリッジ6を文字印字位
置まで移動させた後、アンダーライン印字用の所定のキ
ーを操作し、アンダーラインを印字したい範囲でサーマ
ルlベッド7を移動させれば、その1ノーマルヘツド7
によりアンダーラインが印字される。従って、タイプ七
−ド設定時において、前記縦線の印字及びアンダーライ
ンの印字を組み合わせて行えば作表することができる。Furthermore, when printing an underline on the lower side of a printed character, operate the space key 25 or backspace key 13 to move the carriage 6 to the character printing position, and then move the carriage 6 to the character printing position. If you operate the specified key and move the thermal l bed 7 within the range where you want to print the underline, that 1 normal head 7
An underline will be printed. Therefore, when setting the type 7 card, tabulation can be achieved by printing the vertical lines and underlines in combination.
次に、この発明に関する処理を第4図〜第6図及び表1
に従って説明する。まず、タイプライタに電源を投入し
た後、第4図のスデツブS1にお13−
いてモードセレクi〜スイッチ46を操作してプログラ
ム制御モードを設定すると、CPU50は表示部10に
所定の初期設定画面を表示する。すなわち、RAM53
のメモリエリア58に記憶するプ[1グラムのファイル
ナンバーを選択指定づるための画面と、ファイル名を入
力するだめの画面が順次表示され、その表示に基づいて
ファイルナンバー、ファイル名をそれぞれ入力した後、
リターンキー14を操作ずれば、第2図に示4−ように
表示部10の先頭桁にカーソル10aが点灯される。Next, the processing related to this invention is shown in FIGS. 4 to 6 and Table 1.
Explain according to the following. First, after turning on the power to the typewriter, go to step S1 in FIG. 4 and operate mode select i to switch 46 to set the program control mode. Display. That is, RAM53
A screen for selecting and specifying the file number of 1 gram to be stored in the memory area 58 of the program and a screen for inputting the file name are sequentially displayed, and based on the display, the file number and file name are input respectively. rear,
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.
以下余白
14−
表1
次に、第4図のステップS2において各種のキー操作を
行い、例えば表1に示すプログラムを入力する。このプ
ログラムはriot、r20Jなどの行番号とr IN
PLJT ”mgns=” ;Mlなどの実行文とから
なっている。そして、例えば[INPUTJというスデ
ートメントを入力する場合にはNjのアルファベットキ
ー11とコードキー23とを同時に押し下げ操作すれば
よく、そのスデートメントの入力後においてステップS
3でCPU50の作動に基づき、表示部10にその文字
が表示されるとともに、RAM53のメモリエリア58
にコード化された状態で記憶される。そして、第4図の
ステップS4に進みプログラムの入力操作を終了したか
否かが判別され、その結果がYESになるとプログラム
の入力が終了する。Margin 14 - 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 riot, r20J, and r IN
It consists of executable statements such as PLJT "mgns=";Ml. For example, when inputting the statement [INPUTJ, it is sufficient to press down the Nj alphabet key 11 and the code key 23 at the same time, and after inputting the statement, step S
3, the character is displayed on the display unit 10 based on the operation of the CPU 50, and the character is displayed in the memory area 58 of the RAM 53.
It is stored in a coded state. 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に示す作表用のプログラムについて説明すると、1
0行及び20行においては左マージン位置及びアンダー
ラインの印字回数値がそれぞれ変数rMJ、rcJとし
て設定されている。30行の実行文は変数rMJに代入
された左マージンの位「データをRAM53のメモリエ
リア57に記憶さけて左マージンを設定ザる実行文であ
る。50行は「nl(lns = ten(]th−J
というメツセージを印字するための実行文であり、55
行は印字用紙3を2分の1行ピッチずつ4回逆方向へ移
送するための実行文であり、60行へ・90行までは前
記メツセージの印字後においてそのメツセージの上側方
に一文字分のアンダーラインを連続させて横線を印字す
るための実行文である。110行〜140行の実行文は
前記メツレージの下側部分に一文字分のアンダーライン
を連続させて横線を印字するためのものであり、160
行の実行文はrM+IJ、rC十M+IJの各位置デー
タをRAM53のメモリエリア57に記憶させて作表タ
ブを設定するためのものである。又170行の実行文は
各横線の両端部間を縦線によって接続するために印字用
紙3を逆方向へ2分の1行ピッチずつ2回移送するため
のものであり、180行の実行文は前記rM+IJ、r
c+M+1Jの各位置に縦線を印字するための実行文で
ある。40行、17−
100行及び150行の実行文はIJ−マルヘッド7を
rMJのマージン位置まで移動及び1行分の改行を行う
ためのものである。なお、60行及び110行はアンダ
ーラインの印字に先立ち、1字分の空印字を行うための
実行文である。To explain the tabulation program shown in Table 1, 1
In lines 0 and 20, the left margin position and underline printing count values are set as variables rMJ and rcJ, respectively. The executable statement on line 30 is an executable statement that stores the data in the memory area 57 of the RAM 53 and sets the left margin at the left margin assigned to the variable rMJ. th-J
This is an executable statement to print the message, 55
line is an executable statement to move the printing paper 3 in the opposite direction four times at 1/2 line pitch, and to line 60 and up to line 90, after printing the message, one character is moved above the message. This is an executable statement to print a horizontal line with consecutive underlines. The executable statements in lines 110 to 140 are for printing a horizontal line with a continuous underline for one character in the lower part of the message, and 160
The executable statement on the line is for storing each position data of rM+IJ and rC10M+IJ in the memory area 57 of the RAM 53 and setting the tabulation tab. The 170-line executable statement is for transporting the printing paper 3 twice in the opposite direction at 1/2 line pitch in order to connect the ends of each horizontal line with a vertical line. is the above rM+IJ, r
This is an executable statement for printing vertical lines at each position of c+M+1J. The execution statements on lines 40, 17-100, and 150 are for moving the IJ-mar head 7 to the rMJ margin position and performing a line feed for one line. Note that lines 60 and 110 are executable statements for blank printing one character before printing an underline.
このプログラムを実行するためにまずrRJのアルファ
ベットキー11とともにコードキー23を操作した後リ
ターンキー14を操作すると、第5図のステップS5に
おいて各実行文の妥当性の解析がCPU50によって行
われ、ステップS6に進み、各実行文に誤りがあるか否
かが判別される。その結果がYESであれば表示部10
においてrsYNTAX ERRORJなどのエラー表
示が行われる。前記結果がNoである場合はステップS
7に進みマージン位置rMJ及びアンダーラインの印字
回数rCJを設定するためのデータの入力を促す表示が
行われ、その表示に従い数字キー12を操作して前記各
変数rMJ及び「C」にそれぞれ例えば、rob、r2
0Jと入力すると、各データがメモリエリア57に溜込
まれる。To execute this program, first operate the rRJ alphabet key 11 and code key 23, and then operate the return key 14. In step S5 of FIG. 5, the validity of each executable statement is analyzed by the CPU 50, and step Proceeding to S6, it is determined whether each executable statement contains an error. If the result is YES, the display unit 10
An error message such as rsYNTAX ERRORJ is displayed. If the result is No, step S
Proceeding to step 7, a display prompting you to input data for setting the margin position rMJ and the number of underline prints rCJ is displayed, and according to the display, operate the numeric keys 12 to set each of the variables rMJ and "C" as, for example, rob, r2
When 0J is input, each data is stored in the memory area 57.
−18=
その後、前記各データに基づいて印字用紙3上に前記メ
ツレージ及び作表線を印字するために、印字部51を制
御する印字制御手段61が第一の制御手段63によって
制御され、かつ第二、第三の制御手段61a 、61b
によって用紙送り装置4が制御される。-18= Thereafter, the printing control means 61 that controls the printing section 51 is controlled by the first control means 63 in order to print the mesureage and tabulation line on the printing paper 3 based on the respective data, and Second and third control means 61a, 61b
The paper feed device 4 is controlled by.
すなわち、表1に示すプログラムの40行の命令文に基
づき、RAM53のメモリエリア57に記憶された左マ
ージン位置までキャリッジ6が移動された後、50行の
実行文に基づき[mgns= Olength= 20
Jというメツレージが印字されて改行動作が行われる
どともにキャリッジ6が再び左マージン位置に配置され
る。次に、55行の実行文に基づき、第三の制御手段6
1bにより用紙送り装置4が制御されて印字用紙3が2
行分逆送りされる。ついで60行〜90行の実行文に基
づき、印字部51が制御されて、前記メツセージのF側
方に21桁分のアンダーラインが連続して印字される。That is, after the carriage 6 is moved to the left margin position stored in the memory area 57 of the RAM 53 based on the command statement on line 40 of the program shown in Table 1, [mgns=Olength=20
The message "J" is printed, a new movement operation is performed, and the carriage 6 is again placed at the left margin position. Next, based on the executable statement on line 55, the third control means 6
1b controls the paper feeding device 4 and the printing paper 3 is
The line is sent backwards. Next, the printing unit 51 is controlled based on the executable sentences in lines 60 to 90, and an underline of 21 digits is continuously printed on the F side of the message.
次に、100行の実行文に基づき、改行動作が行われる
とともに、キャリッジ6が左マージン位置まで移動され
、110行〜140行の実行文に基づぎ、印字部51が
制御されて、前記メツセージの下側方に21桁分のアン
ダーラインが連続して印字される。そして、150行の
実行文に基つき、改行動作が行われるとともに、キャリ
ッジ6が左マージン位置まで移動され、160行の実行
文に基づき、作表タブ位置が前記メモリエリア57に記
憶されて作表タブが設定される。Next, based on the executable statement on line 100, a line feed operation is performed, and the carriage 6 is moved to the left margin position, and the printing unit 51 is controlled based on the executable statement on lines 110 to 140, and the above-mentioned An underline of 21 digits is printed continuously at the bottom of the message. Then, based on the executable statement on line 150, a line feed operation is performed, and the carriage 6 is moved to the left margin position, and based on the executable statement on line 160, the tabulation tab position is stored in the memory area 57, and the tabulation tab position is Table tab is set.
次に、170行の実行文に基づき、1行分の印字用紙3
の逆送りが行われた後、前記メモリエリア57に記憶さ
れた作表タブ位置データに基づいて縦線が印字され、第
6図に示すように、前記メツセージが作表線によって囲
まれる。Next, based on the 170-line execution statement, one line of printing paper 3
After the reverse feed is performed, vertical lines are printed based on the tabulation tab position data stored in the memory area 57, and the message is surrounded by the tabulation lines as shown in FIG.
このプログラムに従い別のマージン及びアンダーライン
印字回数のデータに基づいて印字動作を行う場合には、
プログラムの実行に伴ってマージン位置データ及びアン
ダーライン印字回数データの入力が促された時に、数字
キー12及びリターンキー14をそれぞれ操作してr9
J、r20Jの数値をそれぞれ入力すれば、その各デー
タに基づぎ、第6図に示り−ように、文字及び作表線が
それぞれ順次自動的に印字される。When performing printing operations based on data on different margins and number of underline prints according to this program,
When prompted to input margin position data and underline printing count data as the program executes, press the numeric keys 12 and return key 14, respectively, and press r9.
When the numerical values of J and r20J are inputted, characters and tabulation lines are automatically printed in sequence based on the respective data as shown in FIG.
1配のように、この実施例においては、プログラムの実
行時においてマージン位置データ及びアンダーライン印
字回数データを入力するだけで、その各データに基づい
て自動的に作表印字を行うことができる。従って、作表
タブ位置の設定を行うために煩雑なキー操作を行う必要
がない。In this embodiment, just by inputting the margin position data and the number of underline printing data when the program is executed, tabulation printing can be automatically performed based on each data. Therefore, there is no need to perform complicated key operations to set the tabulation tab position.
発明の効果
以上詳述したようにこの発明は印字用紙を順方向又は逆
方向に送るための情報をプログラムに組入れることがで
き、そのプログラムの実行に伴い、前記情報に基づいて
印字部を制御することができ、それによって例えば作表
を容易に行うことができるという優れた効果を奏する。Effects of the Invention As detailed above, in the present invention, information for feeding printing paper in the forward or reverse direction can be incorporated into a program, and as the program is executed, the printing section is controlled based on the information. This has the excellent effect of making tabulation easier, for example.
第1図はこの発明を具体化したタイプライタの斜視図、
第2図はキーボード部を示す平面図、第3図はタイプラ
イタのブロック図、第4図及び第5図はフローチャート
、第6図はプログラムの実21−
行結果を示す図である。
図において3は印字用紙、4は用紙送り装置、6はキャ
リッジ、7はサーマルヘッド、8は駆動装置、9はキー
ボード部、58は記憶手段と(〕てのメモリエリア、6
1は印字制御手段、61aは第二の制御手段、61bは
第三の制御手段、63は第一の制御手段である。
特 許 出 願 人 ブラリ゛−工業株式会社代 理
人 弁理士 恩EB 博宣
22−FIG. 1 is a perspective view of a typewriter embodying this invention;
FIG. 2 is a plan view showing the keyboard section, FIG. 3 is a block diagram of the typewriter, FIGS. 4 and 5 are flowcharts, and FIG. 6 is a diagram showing the result of the 21st line of the program. In the figure, 3 is a printing paper, 4 is a paper feeding device, 6 is a carriage, 7 is a thermal head, 8 is a drive device, 9 is a keyboard section, 58 is a storage means (all memory areas, 6
1 is a print control means, 61a is a second control means, 61b is a third control means, and 63 is a first control means. Patent applicant Agent: Library Industry Co., Ltd.
Person Patent Attorney On EB Hironori 22-
Claims (1)
部(9)と、 印字用紙(3)を送るための用紙送り装置(4)と、 前記印字用紙(3)の移動方向と直交する方向にキャリ
ッジ(6〉を駆動するための駆動装置(8)と、 前記キャリッジ(6)[に載置された印字ヘッド(7)
と、 タイプモード設定時にお(プる前記キーボード部(9)
の各キーの操作に伴って印字用紙(3) −トに文字な
どが印字されるように前記用組送り装置(4)、駆動装
置(8)及び印字ヘッド(ア)を制御するための印字制
御手段(61)とから構成されたタイプライタにおいて
、プログラム制御モード設定時に使用されるプログラム
のデ′−夕を記憶するための記憶手段(58)と、 プログラム制御モード設定時にa34プる前記プログラ
ムの実行に伴って前記印字用紙(3)上に文字などが印
字されるよう前記印字制御手段(61)を制御するため
の第一の制御手段(63)と、前記プログラムの実行に
伴って前記印字用紙(3)が順方向に送られるように前
記用紙送り装置(4)を制御する第二の制御手段(61
a)と、前記プログラムの実行に伴−)で前記印字用紙
が逆方向に送られるように前記用紙送り装置(4)を制
御づる第三の制御手段(61h)どを(釉えることを特
徴とするプログラム制御可能<rタイプライタ。[Claims] 1. A keyboard section (9) comprising character/numeric keys (11, 12>), a paper feed device (4) for feeding the printing paper (3), and movement of the printing paper (3). a drive device (8) for driving a carriage (6) in a direction perpendicular to the direction; and a print head (7) mounted on the carriage (6).
And, when setting the type mode, press the keyboard section (9).
A printing unit for controlling the group feeding device (4), drive device (8), and print head (A) so that characters, etc. are printed on the printing paper (3)-G with the operation of each key. A typewriter comprising a control means (61), a storage means (58) for storing data of the program used when setting the program control mode, and the program to be read on the A34 when setting the program control mode. a first control means (63) for controlling the print control means (61) so that characters etc. are printed on the printing paper (3) as the program is executed; a second control means (61) that controls the paper feeding device (4) so that the printing paper (3) is fed in the forward direction;
a) and a third control means (61h) for controlling the paper feeding device (4) so that the printing paper is fed in the opposite direction as the program is executed. Program control possible<r typewriter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59058947A JPS60201431A (en) | 1984-03-26 | 1984-03-26 | Program controllable typewriter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59058947A JPS60201431A (en) | 1984-03-26 | 1984-03-26 | Program controllable typewriter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60201431A true JPS60201431A (en) | 1985-10-11 |
| JPH053613B2 JPH053613B2 (en) | 1993-01-18 |
Family
ID=13099018
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59058947A Granted JPS60201431A (en) | 1984-03-26 | 1984-03-26 | Program controllable typewriter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60201431A (en) |
-
1984
- 1984-03-26 JP JP59058947A patent/JPS60201431A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPH053613B2 (en) | 1993-01-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0009536B1 (en) | Data entry apparatus with dual-mode tabbing function selectable from keyboard | |
| JPS60201431A (en) | Program controllable typewriter | |
| JPH0227150B2 (en) | ||
| US4564304A (en) | Typewriter with resetting function for margin position and tab position | |
| JPH046032B2 (en) | ||
| JPS60199682A (en) | programmable typewriter | |
| JPH0560628B2 (en) | ||
| JPS60201973A (en) | Program-controllable typewriter | |
| JPS63293072A (en) | Printer | |
| JPS60206687A (en) | Program-controllable typewriter | |
| JPH0679309B2 (en) | Word processor | |
| JPS61294533A (en) | Japanese word processor | |
| JPS60207954A (en) | Typewriter | |
| JP2543501B2 (en) | Word processor | |
| JPS60207927A (en) | Typewriter to be controlled by program | |
| JPH0638256B2 (en) | Input/Output Devices | |
| JPS60205771A (en) | electronic typewriter | |
| JPS6342290B2 (en) | ||
| JPH0583389B2 (en) | ||
| JPH0431518B2 (en) | ||
| EZAMUDDIN | A NEW APPROACH IN TYPING THE PRINTING FORM VIA COMPUTER | |
| JPS6347884A (en) | Graphic generating device | |
| JPH01311312A (en) | input device | |
| JPS60160435A (en) | Electronic typewriter | |
| JPS62266590A (en) | Ruled line input device |