JPH0520787B2 - - Google Patents

Info

Publication number
JPH0520787B2
JPH0520787B2 JP56008616A JP861681A JPH0520787B2 JP H0520787 B2 JPH0520787 B2 JP H0520787B2 JP 56008616 A JP56008616 A JP 56008616A JP 861681 A JP861681 A JP 861681A JP H0520787 B2 JPH0520787 B2 JP H0520787B2
Authority
JP
Japan
Prior art keywords
cursor
line
character
key
mark
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 - Lifetime
Application number
JP56008616A
Other languages
Japanese (ja)
Other versions
JPS57123439A (en
Inventor
Kazunobu Sugitani
Katsumi Masaki
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 JP56008616A priority Critical patent/JPS57123439A/en
Publication of JPS57123439A publication Critical patent/JPS57123439A/en
Publication of JPH0520787B2 publication Critical patent/JPH0520787B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 [技術分野] 本発明は文章を処理する文字処理装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a character processing device that processes sentences.

[従来技術] 従来、キーボードから文字等を入力し、入力さ
れた文字により文章を作成し、その文章の編集を
行うことのできる文字処理装置があつた。
[Prior Art] Conventionally, there have been character processing devices that can input characters, etc. from a keyboard, create sentences using the input characters, and edit the sentences.

前述の文字処理装置にあつて作成した文字列を
例えば、プリンタに出力する際の行ピツチは、文
章全体について、あらかじめ一括して決定してお
くものであつた。又、他の文字処理装置にあつて
は各行ごとに行ピツチを変更するには、変更を行
おうとする行の前にフオーマツト文を挿入し、行
ピツチ情報をフオーマツト文に記載することによ
つて以下に続く各行の行ピツチを決定するもので
あつた。従つて、従来の装置において各行ごとに
行ピツチを変更しようとするならば、フオーマツ
ト文をそのたびに挿入しなければならず、又フオ
ーマツト文を挿入することになるならば、全体レ
イアウトを概観するにあたつて不都合をきたすこ
とになる。
For example, when outputting a character string created by the above-mentioned character processing device to a printer, the line pitch is determined in advance for the entire text. Also, in other character processing devices, to change the line pitch for each line, insert a format statement before the line you want to change, and write the line pitch information in the format statement. This was to determine the line pitch for each line that follows. Therefore, in conventional devices, if you want to change the line pitch for each line, you have to insert a format statement each time, and if you insert a format statement, you have to review the entire layout. This will cause inconvenience.

[目的] 本発明の目的は、上述の点に鑑み改良した文字
処理装置を提供することを目的としている。
[Objective] An object of the present invention is to provide a character processing device that is improved in view of the above-mentioned points.

本発明の目的は、マージンマーク位置で設定し
たフオーマツトを、カーソルが位置する行以降の
複数行に対して設定することができ、フオーマツ
ト設定マークを前記マージンマークに代えて表示
することで、見易く、後からの変更も容易なフオ
ーマツト設定を行える文字処理装置を提供でき
る。
An object of the present invention is to enable the format set at the margin mark position to be set for multiple lines after the line where the cursor is located, and to display format setting marks in place of the margin marks for easy viewing. It is possible to provide a character processing device that can perform format settings that can be easily changed later.

[実施例] 本発明の他の目的は以下図面を参照して行なわ
れる実施例の説明より明らかとなるであろう。
[Embodiments] Other objects of the present invention will become clear from the following description of embodiments with reference to the drawings.

次に本発明による実施例を述べる前に本実施例
で用いられる用語の説明をまず行なう。
Next, before describing embodiments according to the present invention, terms used in the embodiments will first be explained.

1 左マージンコードLMM CRT上に‘△’のマークで表示される。キ
ーボードから入力可能な最左端を表示する。
1 Left margin code LMM Displayed as a '△' mark on the CRT. Displays the leftmost possible input from the keyboard.

2 右マージンコードRMM CRT上に‘△’のマークで表示される。キ
ーボードから入力可能な最右端を表示する。
2 Right margin code RMM Displayed as a '△' mark on the CRT. Displays the rightmost input possible from the keyboard.

次に本発明による1実施例の概要を説明する。 Next, an outline of one embodiment according to the present invention will be explained.

実施例に示す装置はキーボード、処理部、表示
装置及びプリンタから成る。
The device shown in the embodiment includes a keyboard, a processing section, a display device, and a printer.

すべての操作はキーボード上にある文字キーあ
るいはフアンクシヨンキーにより実行する。
All operations are performed using letter keys or function keys on the keyboard.

まずイニシヤライズキーによりすべての状態を
初期化し、本実施例の各機能が実行可能な状態と
なる。
First, all states are initialized by the initialize key, and each function of this embodiment becomes executable.

イニシヤライズキーを押すことにより、表示装
置上には、左右マージンマークLMM,RMMが
表示され、他はすべてクリアされる。カーソル
CMは、最上行の第2コラム目に位置し、キーボ
ードからの文字等の入力が可能となる。キーボー
ドから入力された文字等は、表示装置上でカーソ
ルCMが表示されている位置に入力される。カー
ソルCMはキーボードからの文字等の入力に従つ
て、1つずつ歩進する。カーソルCMはカーソル
キーにより1つずつ歩進させることができる。入
力が終了した文字列はプリントキーを押下するこ
とによりプリンタに出力させることができる。以
上説明した入出力制御は公知の技術で容易に実現
することができる。
By pressing the initialize key, left and right margin marks LMM and RMM are displayed on the display device, and all others are cleared. cursor
CM is located in the second column of the top row, and allows input of characters, etc. from the keyboard. Characters and the like entered from the keyboard are entered at the position where the cursor CM is displayed on the display device. The cursor CM advances one by one in accordance with the input of characters, etc. from the keyboard. The cursor CM can be advanced one by one using the cursor keys. The inputted character string can be output to the printer by pressing the print key. The input/output control described above can be easily realized using known techniques.

以下本発明における機能についてその操作方法
を述べる。
The operating methods for the functions of the present invention will be described below.

まず行挿入の方法について述べる。カーソル
CMを左マージンマークLMMに持つて行き、そ
こで挿入キーを押下する事によつて、カーソルの
ある行の直前にスペースだけからなる行を1行作
り出す事が出来る。
First, we will explain how to insert a row. cursor
By moving the CM to the left margin mark LMM and pressing the insert key there, you can create a line consisting of only spaces immediately before the line where the cursor is located.

この様子を第3図a,bを用い説明する。第3
図aの様に既に複数個の文字A,B,C,DEF,
GHIが入力されていたとする。カーソルキーを
用いてカーソルCMを2行目の左マージンマーク
LMMへ移動した上で挿入キーを押下すると1行
目と2行目の間に新たに空白の行が1行現われて
それ以下の行は下へ各々1行ずつ繰り下つて第3
図bの様になる。
This situation will be explained using FIGS. 3a and 3b. Third
As shown in figure a, there are already multiple characters A, B, C, DEF,
Assume that GHI is input. Use the cursor keys to move the cursor CM to the left margin mark of the second line
When you move to LMM and press the insert key, a new blank line will appear between the first and second lines, and the following lines will be moved down one line each to the third line.
It will look like Figure b.

次に行削除の方法について述べる。カーソル
CMを削除したい行の左マージンマークLMMへ
持つて行き、そこで削除キーを押下する事によつ
て、カーソルのある行を削除する事が出来る。
Next, we will discuss how to delete lines. cursor
The line where the cursor is located can be deleted by moving the CM to the left margin mark LMM of the line you want to delete and pressing the delete key there.

この様子を第4図a,bを用いて説明する。第
4図aに示した如く、今2行目を削除したい場
合、カーソルCMを2行目の左マージンマーク
LMMへカーソルキーを用いて移動させる。その
上で削除キーを押下する事によつて2行目は消
え、以下に続く行が各々1行繰り上つて第4図b
の様になる。
This situation will be explained using FIGS. 4a and 4b. As shown in Figure 4a, if you want to delete the second line now, move the cursor CM to the left margin mark of the second line.
Move to LMM using the cursor keys. Then, by pressing the delete key, the second line disappears, and each of the following lines moves up one line, as shown in Figure 4b.
It will look like this.

次に行ピツチ変更の方法を第5図a,b,cを
用いて説明する。今、表示画面に於ける2行目か
ら4行目迄の行ピツチを5mmと設定したい場合、
2行目の左マージンマークLMMへカーソルCM
を移動させる(第5図a)。そこで数字の5を入
力すると左マージンマークLMMの中に5が表示
され第5図bの様になる。さらに4行目以降の行
ピツチを後述するプリンターの標準フイードナン
バーに相当する標準行ピツチに戻す為に4行目の
左マージンマークLMMにカーソルCMを持つて
行き文字のSを入力する。これで2行目から4行
目だけが行ピツチ5mmになり、他の行の行ピツチ
は前記標準行ピツチの値を取る事になる。
Next, a method of changing the line pitch will be explained using FIGS. 5a, b, and c. Now, if you want to set the line pitch from the second line to the fourth line on the display screen to 5 mm,
Cursor CM to left margin mark LMM on second line
(Figure 5a). If you enter the number 5, 5 will be displayed in the left margin mark LMM, as shown in Figure 5b. Furthermore, in order to return the line pitch from the fourth line to the standard line pitch corresponding to the standard feed number of the printer, which will be described later, move the cursor CM to the left margin mark LMM of the fourth line and input the letter S. Now, only the second to fourth lines will have a line pitch of 5 mm, and the line pitches of the other lines will take the value of the standard line pitch.

次に互に隣り合う上下の行を隙間なく印刷する
際の指定の方法を第6図a,b,cを用いて説明
する。第6図aの1〜4行目には特殊なパターン
⊥ ⊥ 等が既に入力されているが、
これらを印刷する際全ての記号を連結する為には
文字ピツチの調整はもちろん必要であるが、ここ
では触れない。上下の行を連結させて印刷させる
為の操作方法は、まず1行目の左マージンマーク
LMMにカーソルCMを持つて行く(第6図a)。
その上で文字のL(Lは隙間なく印字することを
指示)を入力するとカーソルCM上の左マージン
マークLMM中にLの文字が表示され第6図bの
様になる。これで1行目以降最終行まで上下隙間
無く文字パターンが連結されて印刷される事にな
る。しかしながら4行目以降前記標準行ピツチに
戻したい場合は4行目の左マージンマークLMM
にカーソルCMを持つて行き文字Sを入力する。
すると第6図cの如く4行目の左マージンマーク
LMMの中にSが表示され、4行目以降は前記標
準行ピツチになる。
Next, a method of specifying when printing adjacent upper and lower lines without gaps will be explained using FIGS. 6a, b, and c. Special patterns such as ⊥ ⊥ have already been input in lines 1 to 4 of Figure 6a, but
When printing these, it is of course necessary to adjust the character pitch in order to connect all the symbols, but this will not be discussed here. To print the upper and lower lines concatenated, first press the left margin mark on the first line.
Move the cursor CM to the LMM (Figure 6a).
If you then input the letter L (L indicates to print without any gaps), the letter L will be displayed in the left margin mark LMM above the cursor CM, as shown in Figure 6b. With this, the character pattern will be printed in a connected manner from the first line to the last line without any vertical gaps. However, if you want to return to the standard line pitch from the 4th line onwards, use the left margin mark LMM for the 4th line.
Move the cursor to CM and enter the letter S.
Then, as shown in Figure 6c, the left margin mark of the 4th line
S is displayed in the LMM, and the fourth and subsequent lines have the standard line pitch.

次に文章の先頭を表示させる方法を述べる。入
力された文字列に於てまず画面先頭キーHPKを
1回操作する事によりカーソルCMは画面先頭に
移動する。さらにその上でもう1度画面先頭キー
HPKを操作すると、画面には文章の先頭から表
示される訳である。即ちカーソルCMが画面先頭
に予めあれば、画面先頭キーHPKを1回操作す
るだけで文章先頭から表示する事が出来る。
Next, we will explain how to display the beginning of a sentence. The cursor CM moves to the top of the screen by first operating the screen top key HPK once in the input character string. Then press the top key on the screen again.
When you operate HPK, the text is displayed on the screen from the beginning. That is, if the cursor CM is placed at the top of the screen in advance, it is possible to display the text from the beginning just by operating the screen top key HPK once.

以上入力編集を行つた文書は、プリントキーを
押すことによりプリンタに出力される。
The document that has been input and edited above is output to the printer by pressing the print key.

第1図は、本発明による文字処理装置の一実施
例を示すブロツク図である。以下各構成要素を説
明する。KBは文章入力用キーCIK(例えばJIS鍵
盤に配列されているキー群)及び本装置にそなわ
る種々機能を実現するためのフアクシヨンキー群
より成るキーボードである。
FIG. 1 is a block diagram showing an embodiment of a character processing device according to the present invention. Each component will be explained below. The KB is a keyboard consisting of text input keys CIK (for example, a group of keys arranged on a JIS keyboard) and a group of function keys for realizing various functions of this device.

上記フアンクシヨンキー群は第2図に示した如
く、下記のフアンクシヨンキー即ち、文字もしく
は行の挿入、削除を指示する為の挿入キーIK、
削除キーDK、CRT上のカーソルを移動する為の
カーソルキーCK、仕事の開始を指示するイニシ
ヤライズキーINK、及びプリントを指示するプ
リントキーPKから成る。さらにカーソルキーCK
の中にはカーソルCMを画面の先頭に移動させる
為の画面先頭キーHPKが含まれている。
As shown in Figure 2, the above function keys include the following function keys: the insert key IK for instructing the insertion or deletion of characters or lines;
It consists of a delete key DK, a cursor key CK for moving the cursor on the CRT, an initialize key INK for instructing to start work, and a print key PK for instructing printing. Further cursor key CK
Contains the screen top key HPK to move the cursor CM to the top of the screen.

キーボードKBはエンコーダ機能を有し、後述
する処理部CPUにより打鍵されたキーの情報が
読み取られる。
The keyboard KB has an encoder function, and the information of the pressed keys is read by the processing unit CPU, which will be described later.

CRはカーソルレジスタである。後述する処理
部CPUにより、カーソルレジスタCRの内容を読
み、書きすることができる。後述するCRTコン
トローラCRTCはここに蓄えられたアドレスに対
応する表示装置CRT上の位置にカーソルを表示
する機能を有する。カーソルレジスタCRに蓄え
られる情報は1〜40までのシリアルナンバーと
し、CRTコントローラCRTCは、このシリアル
ナンバーを行数、桁ナンバーに変更し、表示する
ことになる。
CR is the cursor register. The processing unit CPU, which will be described later, can read and write the contents of the cursor register CR. The CRT controller CRTC, which will be described later, has a function of displaying a cursor at a position on the display device CRT corresponding to the address stored here. The information stored in the cursor register CR is a serial number from 1 to 40, and the CRT controller CRTC changes this serial number to the number of lines and digits and displays them.

DBuFはデータバツフアで、キーボードKBよ
り入力された文章情報を蓄えるためのメモリであ
り、後述するCRTコントローラCRTCによつて
ここに蓄えられた情報が表示装置CRT上に表示
される。表示装置CRT用のリフレツシユメモリ
として使用される。CPUにより自由に読み書き
できるものとする。
DBuF is a data buffer, which is a memory for storing text information input from the keyboard KB, and the information stored here is displayed on the display device CRT by the CRT controller CRTC, which will be described later. Used as refresh memory for CRT display devices. It can be read and written freely by the CPU.

データバツフアDBuFは8×10W(W;Word)
(1W;1文字)の容量を有し、そのうち8×5W
のみが表示装置CRT上に表示されるものとする。
Data buffer DBuF is 8×10W (W; Word)
(1W; 1 character), of which 8 x 5W
Only the following shall be displayed on the display device CRT.

文字等の表示は横8文字、縦5行の表示とし、
データバツフアDBuFの内容80ワードのうち連続
した40ワードの内容と順に対応づけられている。
さらにデータバツフアDBuFには1から順に80ま
で番号を付け、最初のデータはDBuF(1)、次のを
DBuF(2)とし、一般にN番目のデータをDBuF(N)
と表現する。DRはデータバツフアDBuFの何番
目からをCRT上に表示するかを指示するデイス
プレーレジスタであり、今、1例として20番目の
データ、即ちDBuF(20)から以下40ワードを表示す
る際にはDRの値を20にすれば良い事になる。
CRTコントローラCRTCはここに蓄えられた値
に対応するデータバツフアDBuFの内容から連続
した40ワードの内容をCRT上に表示する。
The display of characters, etc. is 8 characters horizontally and 5 lines vertically.
They are correlated in order with the contents of 40 consecutive words out of the 80 words of the data buffer DBuF.
Furthermore, the data buffers DBuF are numbered sequentially from 1 to 80, with the first data being DBuF(1) and the next data being numbered sequentially from 1 to 80.
DBuF(2), and generally the Nth data is DBuF(N)
Expressed as. DR is a display register that instructs from which position in the data buffer DBuF to display on the CRT.As an example, when displaying the following 40 words from the 20th data, that is, DBuF(20), the DR It would be a good idea to set the value to 20.
The CRT controller CRTC displays the contents of 40 consecutive words on the CRT from the contents of the data buffer DBuF corresponding to the values stored here.

CRTCはCRTコントローラでデータバツフア
DBuFに蓄えられた情報に従つて文字等を表示装
置CRTに表示し、カーソルレジスタCRに蓄えら
れた情報に従つて表示装置CRT上にカーソルを
表示するコントロールを行う。
CRTC is a data buffer using a CRT controller.
Control is performed to display characters, etc. on the display device CRT according to the information stored in the DBuF, and to display a cursor on the display device CRT according to the information stored in the cursor register CR.

第15図を用いCRTコントローラCRTCをさ
らに詳細に説明する。第15図は、デイスプレイ
レジスタDRに蓄えられた値をバイアス値とし
て、データバツフアDBuF内の情報を順に表示装
置CRTに40文字分表示する方法を説明するブロ
ツク図である。(但しカーソルの表示方法につい
ては公知であるので省略する) 表示装置CRTからのタイミング信号Hを入力
することによつて表示装置CRT上に表示すべき
キヤラクタナンバーD(本実施例においては0〜
39までの値)と表示すべき文字のロウナンバーF
を出力しかつ表示のための各種タイミング信号
(不図示)を出力するコントローラCONT、コン
トローラから出力されたキヤラクタナンバーD
と、デイスプレイレジスタDRからの出力信号A
との加算を行う加算回路ADDR、及びキヤラク
タジエネレータCGから出力されたパラレルのパ
ターン情報Eをシリアル信号Gに変換するシフト
レジスタSRから成る。
The CRT controller CRTC will be explained in more detail using FIG. 15. FIG. 15 is a block diagram illustrating a method of sequentially displaying 40 characters of information in the data buffer DBuF on a display device CRT using the value stored in the display register DR as a bias value. (However, since the method of displaying the cursor is well known, it will be omitted.) By inputting the timing signal H from the display device CRT, the character number D to be displayed on the display device CRT (in this example, 0 to
Value up to 39) and row number F of the character to be displayed
A controller CONT outputs various timing signals (not shown) for display, and a character number D output from the controller.
and output signal A from display register DR.
It consists of an adder circuit ADDR that performs addition with , and a shift register SR that converts parallel pattern information E output from character generator CG into a serial signal G.

デイスプレイナンバーAは、表示装置CRTに
表示すべき文字のデータバツフア内の先頭アドレ
スを示すものであり、その値とキヤラクタナンバ
ーDとの和である加算回路ADDRの出力信号B
は、その時点における表示装置CRTに表示すべ
き文字のデータバツフア内アドレスを示すことに
なる。出力信号Bをアドレスとしてアクセスされ
た結果出力されたデータバツフアDBuFの出力信
号Cは、その時点で表示装置CRTに表示すべき
文字のコード信号となる。キヤラクタジエネレー
タCGは、コード信号CとコントローラCONTか
らのローナンバFを入力信号とし、該当文字の該
当ローナンバーの文字パターン信号E(パラレル
情報)を出力する。文字パターン情報Eはシフト
レジスタSRを介し、シリアル信号Gに変換され
表示装置CRTに出力され、該当文字の表示が行
なわれることになる。
The display number A indicates the first address in the data buffer of the character to be displayed on the display device CRT, and the output signal B of the adder circuit ADDR is the sum of that value and the character number D.
indicates the address within the data buffer of the character to be displayed on the display device CRT at that time. The output signal C of the data buffer DBuF, which is output as a result of accessing the output signal B as an address, becomes the code signal of the character to be displayed on the display device CRT at that time. The character generator CG receives the code signal C and the low number F from the controller CONT as input signals, and outputs a character pattern signal E (parallel information) of the corresponding low number of the corresponding character. The character pattern information E is converted into a serial signal G via the shift register SR and output to the display device CRT, so that the corresponding character is displayed.

文字等の表示にあたつては、後述するキヤラク
タジエネレータCGを参照し、文字コードを文字
パターンに変更することを行う。
When displaying characters, etc., character codes are changed into character patterns with reference to a character generator CG, which will be described later.

CRTは表示装置であり、CRTコントローラ
CRTCにより文字とカーソルを表示できる。
CRT is a display device, CRT controller
Characters and cursor can be displayed by CRTC.

CGはキヤラクタジエネレータであり、表示装
置CRTへの文字表示やプリンタPRTへの文字出
力のために使用される。CRTコントローラ
CRTC、及び後述するプリンタコントローラ
PRTCにより用いられる。
CG is a character generator and is used to display characters on a display device CRT and output characters to a printer PRT. CRT controller
CRTC and printer controller (described later)
Used by PRTC.

PRTCはプリンタコントローラであり、後述す
る処理部CPUからの文字コード情報をキヤラク
タジエネレータCGを参照することによりパター
ンに直し、該パターンをプリンタPRTに出力す
る。
PRTC is a printer controller, converts character code information from a processing unit CPU (described later) into a pattern by referring to a character generator CG, and outputs the pattern to the printer PRT.

但し左マージンマークLMM、右マージンマー
クRMMはプリントされない。
However, the left margin mark LMM and right margin mark RMM are not printed.

プリンターコントローラPRTCは、罫線コード
を罫線パターンに変換し出力する。
The printer controller PRTC converts the ruled line code into a ruled line pattern and outputs it.

PRTはプリンタで第7図aに示す如く、サー
マルヘツド101、キヤリツジ102、キヤリツ
ジ駆動ベルト103、キヤリツジガイド104、
印刷用紙105、プラテン106、印刷用紙ガイ
ド108、等から構成されているプリンタメカ部
及びこれらをコントロールする公知の不図示のコ
ントロール部より成る。サーマルヘツド101は
9×1ドツトのサーマルエレメントより成る。印
刷にあたつては、第7図bのごとく、9×7ドツ
トマトリツクスの文字パターンの印刷を可能とす
る。
PRT is a printer which includes a thermal head 101, a carriage 102, a carriage drive belt 103, a carriage guide 104, as shown in FIG. 7a.
It consists of a printer mechanical section including a printing paper 105, a platen 106, a printing paper guide 108, etc., and a known control section (not shown) that controls these. The thermal head 101 consists of a 9×1 dot thermal element. In printing, it is possible to print a 9×7 dot matrix character pattern as shown in FIG. 7b.

プリンターをフイードする際にマイクロプロセ
ツサCPUから送られる信号はラインフイード情
報1回の送信で1mmだけフイードされる様に設定
してある。この設定はプリンターの機構部からの
制限によるものである。
The signal sent from the microprocessor CPU when feeding the printer is set so that the signal is fed by 1 mm per transmission of line feed information. This setting is due to restrictions imposed by the mechanical part of the printer.

PHSはプリンターのヘツド検出装置であり、
前記キヤリツジ102の中に設定されている。そ
の詳細を第8図a,b,cを用いて説明する。第
8図aに於て201はヘツドを支える支持板であ
る。202はヘツドとの接点で、電源につつてあ
る。203もヘツドとの接点で後述する検出回路
と結ばれている。204もヘツドとの接点で、ア
ースされている。205は検出回路で、アドレス
デコーダー、バスドライバーが内蔵されている。
AB,DB,CBは後述するアドレスバス、データ
バス、コントロールバスの各バスである。206
は縦3mm文字のヘツドであり、208はヘツド支
持板との接点である。207は縦4mm文字のヘツ
ドであり、209はヘツド支持板との接点であ
る。210はネジで211はネジ穴である。第8
図bに示した10ポイントのヘツドを201のヘツ
ド支持板にセツトすると接点203と接点204
が導通し、接点203はアースされる。
PHS is a printer head detection device,
It is set in the carriage 102. The details will be explained using FIGS. 8a, b, and c. In FIG. 8a, 201 is a support plate that supports the head. 202 is a contact point with the head, which is connected to the power supply. 203 is also connected to a detection circuit, which will be described later, through a contact point with the head. 204 is also a contact point with the head and is grounded. 205 is a detection circuit which includes an address decoder and a bus driver.
AB, DB, and CB are address buses, data buses, and control buses, which will be described later. 206
is a head with vertical 3 mm characters, and 208 is a contact point with the head support plate. 207 is a head with vertical 4 mm letters, and 209 is a contact point with the head support plate. 210 is a screw and 211 is a screw hole. 8th
When the 10-point head shown in Figure b is set on the head support plate 201, the contacts 203 and 204
conducts, and the contact 203 is grounded.

又、第8図cに示した12ポイントのヘツドを2
01のヘツド支持板にセツトすると接点202と
接点203が導通し、接点203が電源につられ
る事になる。即ち、ヘツドを切り替える事により
接点203の電位が変化する為、検出回路205
に与えられる信号も変化する。これによつていず
れのヘツドがセツトされたかが、後述するCUP
で知る事が出来る。
Also, the 12-point head shown in Figure 8c is
When set on the head support plate 01, the contacts 202 and 203 are electrically connected, and the contact 203 is connected to the power source. That is, since the potential of the contact 203 changes by switching the head, the detection circuit 205
The signal given to the will also change. As a result, which head has been set is determined by CUP, which will be described later.
You can find out by

CPUはマイクロプロセツサであり、演算、論
理判断等を行う。後述するバスAB,CB,DBを
コントロールする。
The CPU is a microprocessor that performs calculations, logical judgments, etc. Controls buses AB, CB, and DB, which will be described later.

ABはアドレスバスで、制御対象を指示する信
号を転送する。
AB is an address bus that transfers signals indicating the control target.

CBはコントロールバスで、各種制御対象に制
御信号を印加するものである。
CB is a control bus that applies control signals to various control targets.

DBはデータバスで、各種データを転送する。 DB is a data bus that transfers various data.

ROMは制御メモリで、第9図以降に示す制御
手順やプリンターの標準フイードナンバーSN等
を記憶している。
The ROM is a control memory that stores the control procedures shown in FIG. 9 and subsequent figures, the printer's standard feed number SN, etc.

RAMはランダムアクセスメモリで、各種デー
タの例えば挿入モードフラグINFG、データナン
バーDN、フイードナンバーFN等の一時記憶に
用いられる。挿入モードフラグINFGは電源投入
時、自動的に0にクリアされ、その後挿入キーが
押下されると1の値を持たせ、挿入モードになつ
て、文字を入力すると現カーソル位置に文字が挿
入される事になる。再び挿入キーを押下すると挿
入モードフラグINFGは0にクリアされ、この後
は文字を入力しても現カーソルの文字にオーバー
ライトされるだけになる。
The RAM is a random access memory and is used for temporary storage of various data such as the insertion mode flag INFG, data number DN, feed number FN, etc. The insert mode flag INFG is automatically cleared to 0 when the power is turned on, and when the insert key is pressed after that, it has a value of 1, and when the insert mode is entered and a character is input, the character is inserted at the current cursor position. It will happen. When you press the insert key again, the insert mode flag INFG is cleared to 0, and from now on, even if you enter a character, it will only overwrite the character at the current cursor.

次に本実施例の動作説明を行う。 Next, the operation of this embodiment will be explained.

本実施例は、電源投入時に自動的に挿入フラグ
INFGが0にクリアされ、キーボード処理が動作
する様構成されている。
In this example, the insertion flag is automatically set when the power is turned on.
INFG is cleared to 0 and keyboard processing is configured to operate.

以下各処理につき具体的に第8図以降のフロー
チヤートを参照し、説明を行う。
Each process will be specifically explained below with reference to the flowcharts from FIG. 8 onwards.

まずキーボードKB上のキーが操作されると以
下の順序に従つて操作キーが判別され、それぞれ
のキーに対する処理が行なわれ、しかる後キー待
ちの状態となる。
First, when a key on the keyboard KB is operated, the operated key is determined according to the following order, processing is performed for each key, and then the system enters a key wait state.

ステツプKB1でキーボードKBから入力があつ
たかを判別する。入力がなければ、キー待ちにも
どり、入力があればステツプKB2に移りキーボ
ードKBからのデータを取り込む。
In step KB1, determine whether there is an input from the keyboard KB. If there is no input, the process returns to waiting for a key, and if there is input, the program moves to step KB2 and takes in the data from the keyboard KB.

ステツプKB3で、取り込んだデータがカーソ
ルキーCKか否かを判別する。YESであればステ
ツプKB4のカーソル移動処理を行ない、NOであ
れば次のステツプKB5へ進む。
In step KB3, it is determined whether the captured data is the cursor key CK. If YES, perform the cursor movement processing in step KB4, and if NO, proceed to the next step KB5.

ステツプKB4では入力されたカーソルキーCK
に従いCRT画面上のカーソルCMの移動を行う。
かかる処理が終了すれば、キー待ちに戻る。
In step KB4, the input cursor key CK
Move the cursor CM on the CRT screen according to the instructions.
When this process is completed, the process returns to waiting for a key.

ステツプKB5では文字キーCIKが操作されたか
否かを判別し、YESであれば、ステツプKB6に
移りカーソルCMの位置に入力された文字を表示
する。かかる処理を終えるとキー入力待ちへ戻
る。ステツプKB5でNOであれば、ステツプKB7
へ進み挿入キーIKが操作されたか否か判別し、
YESの時ステツプKB8へ移り挿入処理を行つた
後キー待ちへ行く。NOであれば、次のステツプ
KB9へ移り、削除キーDKが操作されたか否か判
別する。YESの時ステツプKB10へ移り削除処理
を行つた後キー待ちへ行く。又NOの時次のステ
ツプKB11へ移り、プリントキーPKが操作され
たか否か判別する。YESであれば、ステツプ
KB12へ移り、作成された文章を印刷する。かか
る処理が終わるとキー待ちへ行く。NOであれ
ば、ステツプKB15へ移る。
In step KB5, it is determined whether or not the character key CIK has been operated. If YES, the process moves to step KB6 and displays the character input at the position of the cursor CM. When this process is completed, the process returns to waiting for key input. If step KB5 is NO, step KB7
Go to and determine whether the insert key IK was operated,
If YES, proceed to step KB8, perform insertion processing, and then proceed to wait for a key. If NO, next step
Moving to KB9, it is determined whether or not the deletion key DK has been operated. If YES, the program moves to step KB10, performs deletion processing, and then waits for a key. If the answer is NO, the process moves to the next step KB11, and it is determined whether or not the print key PK has been operated. If YES, step
Move to KB12 and print the created text. When this process is completed, the process goes to wait for a key. If NO, move to step KB15.

次に上記のステツプKB4,KB6,KB8,
KB10,KB12の詳細について説明する。
Next step KB4, KB6, KB8,
The details of KB10 and KB12 will be explained.

まずステツプKB4の処理であるが、第10図
のフローチヤートを参照し説明する。(カーソル
キー入力の処理である。) ステツプ4.1 画面先頭キーHPKか? ステツプ4.2 現カーソル位置は画面先頭か? ステツプ4.3 カーソル移動 ステツプ4.4 文章の先頭から画面に表示する。
即ちデイスプレーレジスタDRの値を1にす
る。
First, the process of step KB4 will be explained with reference to the flowchart of FIG. (This is cursor key input processing.) Step 4.1 Is the first key on the screen HPK? Step 4.2 Is the current cursor position at the top of the screen? Step 4.3 Move the cursor Step 4.4 Display the text on the screen from the beginning.
That is, the value of the display register DR is set to 1.

ステツプ4.5 カーソルCMを画面先頭に表示す
る。即ちカーソルレジスタCRの値を1にす
る。
Step 4.5 Display the cursor commercial at the top of the screen. That is, the value of the cursor register CR is set to 1.

次にステツプKB6の処理を第11図を参照し
説明する。(文字キー入力の処理である。) ステツプ6.1 現カーソルの位置は左マージンマ
ークLMMにあるか? ステツプ6.2 入力された文字キーコードは0,
1,2,3,4,5,6,7,8,9,S,
Lのいずれかであるか? ステツプ6.3 入力された文字キーコードに対応
した新たな文字コードをデータバツフア
DBuF(CR)に格納する。1例として今1と
いう数字が入力された場合画面には 1 と表
示する。その為に 1 という文字コードをデ
ータバツフアDBuF(CR)に格納すると良い
事になる。ここで1という文字コードから
1 という文字コードへの変換は数学的な処
理で簡単に求める事が出来る。
Next, the processing of step KB6 will be explained with reference to FIG. (This is character key input processing.) Step 6.1 Is the current cursor position at the left margin mark LMM? Step 6.2 The input character key code is 0,
1, 2, 3, 4, 5, 6, 7, 8, 9, S,
Is it either L? Step 6.3 Save the new character code corresponding to the input character key code to the data buffer.
Store in DBuF (CR). For example, if the number 1 is entered now, 1 will be displayed on the screen. For this reason, it is a good idea to store the character code 1 in the data buffer DBuF (CR). Here, from the character code 1
Conversion to the character code 1 can be easily obtained using mathematical processing.

ステツプ6.4 挿入フラグINFGが0か? ステツプ6.5 入力された文字コードをデータバ
ツフアDBuF(CR)へ格納する。
Step 6.4 Is the insertion flag INFG 0? Step 6.5 Store the input character code to the data buffer DBuF (CR).

ステツプ6.6 現カーソル位置に、入力された文
字が挿入される。即ち現カーソル位置に相当
するデータバツフアDBuFの内容を、それ以
降最後のデータに至るまで1ワードずつ後へ
ずらす。但し左マージンコードと右マージン
コードの位置はずれない。これにより文字ワ
ードの入る最後のデータバツフアDBuF(79)
の内容は削滅する事になる。
Step 6.6 The input character is inserted at the current cursor position. That is, the contents of the data buffer DBuF corresponding to the current cursor position are shifted backward one word at a time until the last data is reached. However, the positions of the left margin code and right margin code will not change. This will cause the last data buffer DBuF (79) to contain a character word.
The contents will be deleted.

次に挿入処理ステツプKB8を第12図を参照
して説明する。
Next, insert processing step KB8 will be explained with reference to FIG.

ステツプ8.1 現カーソルは左マージンマーク
LMMの位置にあるか? ステツプ8.2 現カーソル位置以降のデータバツ
フアDBuFの内容全てを、各々8ワードずつ
後方のデータバツフアDBuFに移し、現カー
ソル位置に対応するデータバツフアーDBuF
(CR)からの8ワードには左マージンマーク
コード、スペースコード6ワード、右マージ
ンマークコードを、この順に格納する。以上
の手順によつて現カーソル行には左マージン
マークLMMと右マージンマークRMMだけ
から成る1行が挿入され、それ以降の行は1
行ずつ下方へずれる様に表示される事にな
る。又この操作によつてデータバツフアー
DBuFからはみ出るデータは自動的に削減す
る事になる。
Step 8.1 Current cursor is left margin mark
Is it in the LMM position? Step 8.2 Move all the contents of the data buffer DBuF after the current cursor position to the subsequent data buffer DBuF by 8 words each, and move the data buffer DBuF corresponding to the current cursor position.
In the 8 words starting from (CR), a left margin mark code, 6 words of a space code, and a right margin mark code are stored in this order. By the above procedure, one line consisting of only the left margin mark LMM and right margin mark RMM will be inserted into the current cursor line, and subsequent lines will be inserted into the current cursor line.
It will be displayed so that it is shifted downward line by line. This operation also creates a data buffer.
Data that protrudes from DBuF will be automatically reduced.

ステツプ8.3 挿入フラグINFGは0か? ステツプ8.4 挿入フラグINFGに1をセツトす
る。
Step 8.3 Is the insertion flag INFG 0? Step 8.4 Set the insertion flag INFG to 1.

ステツプ8.5 挿入フラグINFGを0にクリヤす
る。
Step 8.5 Clear the insertion flag INFG to 0.

次に削除キー入力の処理ステツプKB10につい
て第13図を参照して説明する。
Next, the deletion key input processing step KB10 will be explained with reference to FIG.

ステツプ10.1 現カーソルは左マージンマーク
LMMの位置にあるか? ステツプ10.2 現カーソルのある行を1行削除す
る。即ち上記行の次の行の先頭に於けるデー
タバツフアDBuF(CR+8)以降に連らなる
内容を各々8ワード前方へずらす訳である。
従つてDBuF(CR+8)をDBuF(CR)へ移
し、次にDBuF(CR+9)をDBuF(CR+1)
へ移すという操作を最後のデータDBuF(80)
まで行う。又最後に入つているデータDBuF
(72)からデータバツフアDBuF(80)までの
8ワードの内容にはスペースコードを入れ
る。
Step 10.1 Current cursor is left margin mark
Is it in the LMM position? Step 10.2 Delete the line where the current cursor is located. In other words, the contents subsequent to the data buffer DBuF (CR+8) at the beginning of the line following the above line are each shifted forward by 8 words.
Therefore, DBuF(CR+8) is transferred to DBuF(CR), then DBuF(CR+9) is transferred to DBuF(CR+1).
The operation of moving the last data to DBuF (80)
I will do it until Also, the last data DBuF
A space code is inserted into the contents of the 8 words from (72) to data buffer DBuF (80).

ステツプ10.3 現カーソルのある文字を1文字削
除し、それ以降に連らなる文字を、右マージ
ンマークRMM、左マージンマークLMMが
入つたデータバツフアDBuFはそのままにし
てそれ以外の内容は全て1ワード前へずら
す。文字ワードが入つていた最後のデータバ
ツフアーにはスペースコードを代りに入れ
る。
Step 10.3 Delete the character where the current cursor is located, leave the data buffer DBuF containing the right margin mark RMM and left margin mark LMM as is, and move all other contents one word back. shift. The last data buffer that contained a character word is replaced with a space code.

プリント処理のステツプKB12を第14図aを
参照して説明する。
Step KB12 of the print process will be explained with reference to FIG. 14a.

ステツプ12.1 テータナンバーDNに1をセツト
する。
Step 12.1 Set data number DN to 1.

ステツプ12.2 データナンバーDNに相当するデ
ータバツフDBuF(DN)の内容がスペースコ
ードか? ステツプ12.3 データバツフアDBuF(DN)に連
続する8ワード、即ち1行分を印刷する。
Step 12.2 Is the content of the data buffer DBuF (DN) corresponding to the data number DN a space code? Step 12.3 Print 8 consecutive words, ie, 1 line, in the data buffer DBuF (DN).

ステツプ12.4 データバツフアDBuF(DN)はL
のコードか? ステツプ12.5 プリンターのキヤリツジにセツト
されているヘツドの種類を検出器205の出
力により判別し、そのヘツドに対応する文字
の縦サイズをフイードナンバーFNにセツト
する。
Step 12.4 Data buffer DBuF (DN) is L
Is it the code? Step 12.5 The type of head set in the printer carriage is determined from the output of the detector 205, and the vertical size of the character corresponding to that head is set to the feed number FN.

ステツプ12.6 データバツフアDBuF(CN)はS
のコードか? ステツプ12.7 標準フイードナンバーSNをフイ
ードナンバーFNにセツトする。
Step 12.6 Data buffer DBuF (CN) is
Is it the code? Step 12.7 Set standard feed number SN to feed number FN.

ステツプ12.6 データバツフアDBuF(DN)は
0 , 1 , 2 , 3 , 4 , 5 , 6 ,
7 , 8 , 9 コードのうちのずれかで
あるか? ステツプ12.9 特殊文字コード 0 , 1 ,……
9 に表示されている数字の値をフイード
ナンバーFNにセツトする。
Step 12.6 Data buffer DBuF (DN)
0, 1, 2, 3, 4, 5, 6,
Is it one of the 7, 8, or 9 codes? Step 12.9 Special character code 0, 1,...
9 Set the value of the number displayed in the feed number FN.

ステツプ12.10 フイードナンバーFNの回数だけ
プリンターをフイードする。プリンターの1
回のフイード量は1mmであるからFNmmフイ
ードする事になる。さらにデータナンバー
DNに8を加えて次の行の先頭文字に相当す
る番号をセツトする。かかる処理を終えた後
再びステツプ12.2へ戻る。
Step 12.10 Feed the printer as many times as feed number FN. printer 1
Since the feed amount per cycle is 1mm, it will be FNmm feed. Further data number
Add 8 to the DN to set the number corresponding to the first character of the next line. After completing this process, return to step 12.2 again.

上述したステツプ12.5に於てさらに第14図b
を参照して詳細に説明する。
In step 12.5 described above, further Figure 14b
This will be explained in detail with reference to .

ステツプ12.5.1 プリンターのキヤリツジにセツ
トされているヘツドの文字の縦サイズが3mm
か? ステツプ12.5.2 フイードナンバーFNに3をセ
ツトする。
Step 12.5.1 The vertical size of the text on the head set in the printer cartridge is 3 mm.
mosquito? Step 12.5.2 Set feed number FN to 3.

ステツプ12.5.3 フイードナンバーFNに4をセ
ツトする。
Step 12.5.3 Set feed number FN to 4.

上述の如き制御が操作キー毎に行なわれる。 Control as described above is performed for each operation key.

例えば行挿入の場合、カーソルCMをカーソル
キーCKを操作し、第9図の制御手順に従つてカ
ーソルキーCKの操作を判別し、第10図に示す
カーソルキー処理をマイクロプロセツサCPUは
選択し、前述の如くしてカーソルマークCMを移
動させる。かかる移動はカーソルマークCMが第
3図aに示す如く左マージンコードLMMに移動
する迄行なわれる。
For example, in the case of inserting a row, the microprocessor CPU operates the cursor CM using the cursor key CK, determines the operation of the cursor key CK according to the control procedure shown in Figure 9, and selects the cursor key processing shown in Figure 10. , move the cursor mark CM as described above. This movement is continued until the cursor mark CM moves to the left margin code LMM as shown in FIG. 3a.

カーソルキーCKを用いてカーソルCMを2行
目の左マージンマークLMMへ移動した上で挿入
キーIKが押下されると、第9図のキーボード処
理を経た後第12図に示す挿入処理に移り、左マ
ージンマークLMMの位置を確認した後、1行挿
入処理を開始する。1行目と2行目との間に新た
な空白を作り、それ以後の各行を各々1行ずつ繰
り下つて第3図bのようになる。
When the insert key IK is pressed after moving the cursor CM to the left margin mark LMM on the second line using the cursor key CK, the process moves to the insert process shown in Fig. 12 after passing through the keyboard processing shown in Fig. 9. After confirming the position of the left margin mark LMM, start the one-line insertion process. Create a new blank space between the first and second lines, and move each subsequent line down one line at a time, resulting in the result shown in Figure 3b.

次に行削除の場合、第4図aのようにカーソル
キーCKを操作し、カーソル処理によりカーソル
マークCMを左マージンマークLMMに移動させ
る。次に削除キーDKが押下されると、第13図
に示す制御手順が制御メモリROMから読み出さ
れ、第2行目を削除し、第3行目以降を1行繰り
上げる制御を行なわせる。
Next, in the case of line deletion, the cursor key CK is operated as shown in FIG. 4a, and the cursor mark CM is moved to the left margin mark LMM by cursor processing. Next, when the delete key DK is pressed, the control procedure shown in FIG. 13 is read from the control memory ROM, and the second line is deleted and the third and subsequent lines are incremented by one line.

上述の挿入・削除に於いてカーソルが左マージ
ンマークLMM上にないとき、カーソルが指示す
る文字位置を開けるか、削除する制御を行なう。
When the cursor is not on the left margin mark LMM during the above insertion/deletion, the character position indicated by the cursor is opened or deleted.

次に行ピツチ変更の処理を説明する。今第5図
aの第2行目“DEF”から第4行目“JKL”迄
の行ピツチを5mmと設定したい場合、2行目の左
マージンマークLMMへカーソルCMを移動させ
る(第5図a)。そこで文字キーCIKを操作し、
第11図に示す如き制御手順を制御メモリROM
より導出し、文字キーCIKにより“5”を入力さ
せる。入力後の表示が第5図bに示される。さら
に4行目以降の行ピツチを後述するプリンターの
標準フイードナンバーに相当する標準行ピツチに
戻す為に4行目の左マージンマークLMMにカー
ソルCMを持つて行き文字のSを入力する。これ
で2行目から4行目だけが行ピツチ5mmになり、
他の行の行ピツチは前記標標準行ピツチの値を取
る事になる。
Next, the process of changing the line pitch will be explained. If you want to set the line pitch from the second line "DEF" to the fourth line "JKL" in Figure 5 a to 5 mm, move the cursor CM to the left margin mark LMM of the second line (Figure 5 a). Then operate the character key CIK,
The control procedure as shown in Fig. 11 is stored in the control memory ROM.
, and input "5" using the character key CIK. The display after input is shown in Figure 5b. Furthermore, in order to return the line pitch from the fourth line to the standard line pitch corresponding to the standard feed number of the printer, which will be described later, move the cursor CM to the left margin mark LMM of the fourth line and input the letter S. Now only the 2nd to 4th lines have a line pitch of 5mm,
The line pitches of other lines will take the value of the standard line pitch.

上述の行ピツチによる印刷制御は第14図a,
bに示す制御手順によつて行なわれる。
Printing control using the line pitch described above is shown in FIG. 14a,
This is performed by the control procedure shown in b.

次に互に隣り合う上下の行を隙間なく印刷する
際の指定の方法を第6図a,b,cを用いて説明
する。第6図aの1〜4行目に特殊なパターン
⊥ ⊥ 等が既に入力されているが、こ
れらを印刷する際全ての記号を連結する為には文
字ピツチの調整はもちろん必要であるが、ここで
は触れない。上下の行を連結させて印刷させる為
の操作方法は、カーソルキーCKを操作し、まず
1行目の左マージンマークLMMにカーソルCM
を持つて行く。
Next, a method of specifying when printing adjacent upper and lower lines without gaps will be explained using FIGS. 6a, b, and c. Special patterns such as ⊥ ⊥ have already been entered in the 1st to 4th lines of Figure 6a, but when printing these, it is of course necessary to adjust the character pitch in order to connect all the symbols. I won't touch on it here. To print the upper and lower lines concatenated, press the cursor key CK and move the cursor CM to the left margin mark LMM of the first line.
Go with it.

次に文字キーCIKを操作し、文字のLを入力す
るとカーソルCM上の左マージンマークLMM中
にLの文字が表示され第6図bの様になる。これ
で1行目以降最終行まで上下隙間無く文字パター
ンが連結されて印刷される指示が入力されたこと
になる。かかる指示は第14図の処理に於いて判
断され行間を開けず印刷される。しかしながら4
行目以降前記標準行ピツチに戻したい場合は、4
行目の左マージンマークLMMにカーソルCMを
持つて行き文字Sを入力する。すると第6図cの
如く4行目の左マージンマークLMMの中にSが
表示され、かかる文字が第14図の処理で判断さ
れ、4行目以降は前記標準行ピツチになる。
Next, when the character key CIK is operated and the character L is input, the character L is displayed in the left margin mark LMM above the cursor CM, as shown in Figure 6b. This means that an instruction has been input to print the character pattern in a concatenated manner without any vertical gaps from the first line to the last line. Such an instruction is determined in the process shown in FIG. 14 and printed without spacing between lines. However, 4
If you want to return to the standard line pitch after the line, press 4.
Move the cursor CM to the left margin mark LMM of the row and input the letter S. Then, as shown in FIG. 6c, S is displayed in the left margin mark LMM on the fourth line, and this character is determined by the process shown in FIG. 14, and the fourth and subsequent lines are set to the standard line pitch.

次に文章の先頭を表示させる方法を述べる。入
力された文字列に於てまずカーソルが文章先頭に
ない場合、画面先頭キーHPKを1回操作する事
によりカーソル処理に移り、カーソルCMは画面
先頭に移動する。さらにその上でもう1度画面先
頭キーHPKを操作するとカーソル処理により画
面には文章の先頭から表示される訳である。
Next, we will explain how to display the beginning of a sentence. If the cursor is not at the beginning of the text in the input character string, by operating the screen top key HPK once, the process moves to cursor processing and the cursor CM moves to the top of the screen. Furthermore, if you operate the screen start key HPK again, the text will be displayed on the screen from the beginning due to cursor processing.

またカーソルCMが画面先頭に予めあれば、画
面先頭キーHPKを1回操作するだけで文章先頭
から表示する事が出来る。
Furthermore, if the cursor CM is placed at the top of the screen in advance, it is possible to display the text from the beginning just by operating the screen top key HPK once.

[発明の効果] 以上詳述したように、本発明により、マージン
マーク位置で設定したフオーマツトを、カーソル
が位置する行以降の複数行に対して設定すること
ができ、フオーマツト設定マークを前記マージン
マークに代えて表示することで、見易く、後から
の変更も容易なフオーマツト設定を行える文字処
理装置を提供することが可能となる。
[Effects of the Invention] As detailed above, according to the present invention, the format set at the margin mark position can be set for multiple lines after the line where the cursor is located, and the format setting mark can be set at the margin mark. By displaying the text instead of , it is possible to provide a character processing device that can perform format settings that are easy to see and can be easily changed later.

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

第1図は本発明による1実施例を示すブロツク
図。第2図は第1図に示すキーボードKBの詳細
図、第3図a,bは行挿入を説明する図。第4図
a,bは行削除を説明する図。第5図a,b,c
は行ピツチの指定を説明する図。第6図a,b,
cは文字サイズに合わせた行ピツチの指定を説明
する図。第7図aは第1図に於けるプリンター
PRTの詳細図。第7図bは上記プリンターによ
つて印刷される文字のドツト構成の一例を示す
図。第8図aは上記プリンターに於けるキヤリツ
ジの詳細図。第8図b,cはヘツドの詳細図。第
9図はキー処理を示す制御手順を示す図。第10
図はカーソルキー処理を示す図。第11図は文字
キー処理を示す図。第12図は挿入キー処理を示
す図。第13図は削除キー処理を示す図。第14
図a,bはプリント処理を示す図。第15図は第
1図に於けるCRTコントローラCRTC付近の詳
細図。 RAM…メモリ、DR…デイスプレイレジスタ、
CR…カーソルレジスタ。
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a detailed view of the keyboard KB shown in FIG. 1, and FIGS. 3a and 3b are diagrams for explaining line insertion. FIGS. 4a and 4b are diagrams illustrating line deletion. Figure 5 a, b, c
is a diagram explaining the specification of line pitch. Figure 6 a, b,
c is a diagram illustrating the specification of line pitch according to character size. Figure 7a is the printer in Figure 1.
Detailed diagram of PRT. FIG. 7b is a diagram showing an example of the dot structure of characters printed by the printer. FIG. 8a is a detailed view of the carriage in the printer. Figures 8b and 8c are detailed views of the head. FIG. 9 is a diagram showing a control procedure showing key processing. 10th
The figure shows cursor key processing. FIG. 11 is a diagram showing character key processing. FIG. 12 is a diagram showing insert key processing. FIG. 13 is a diagram showing deletion key processing. 14th
Figures a and b are diagrams showing print processing. FIG. 15 is a detailed view of the vicinity of the CRT controller CRTC in FIG. 1. RAM...memory, DR...display register,
CR...Cursor register.

Claims (1)

【特許請求の範囲】 1 文章データを記憶する記憶手段と、 前記記憶手段に記憶された文章データと、当該
文章データの各行に対応したマージンマークを表
示する表示手段と、 前記表示手段に表示されたマージンマークのう
ちの所望の行のマージンマークをカーソルにより
指示することで、前記文章データのうちの所望の
行を指示する指示手段と、 該指示手段により指示された行以降の行のフオ
ーマツトが設定されていない文章データに対し
て、同一のフオーマツトを一括して設定するフオ
ーマツト設定手段と、 該フオーマツト設定手段によつて設定されたフ
オーマツトを表わすフオーマツト設定マークを、
前記カーソルにより指示された所望の行のマージ
ンマークに代えて表示する表示制御手段とを有す
ることを特徴とする文字処理装置。
[Scope of Claims] 1. Storage means for storing text data; Display means for displaying the text data stored in the storage means and margin marks corresponding to each line of the text data; an instruction means for specifying a desired line of the text data by specifying a margin mark of a desired line among the margin marks set by the instruction means; and a format of the lines after the line specified by the instruction means. A format setting means for collectively setting the same format for text data that has not been set, and a format setting mark representing the format set by the format setting means,
A character processing device comprising display control means for displaying a margin mark in place of a margin mark of a desired line indicated by the cursor.
JP56008616A 1981-01-23 1981-01-23 Character processor Granted JPS57123439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56008616A JPS57123439A (en) 1981-01-23 1981-01-23 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56008616A JPS57123439A (en) 1981-01-23 1981-01-23 Character processor

Publications (2)

Publication Number Publication Date
JPS57123439A JPS57123439A (en) 1982-07-31
JPH0520787B2 true JPH0520787B2 (en) 1993-03-22

Family

ID=11697876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56008616A Granted JPS57123439A (en) 1981-01-23 1981-01-23 Character processor

Country Status (1)

Country Link
JP (1) JPS57123439A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5814290A (en) * 1981-07-20 1983-01-27 Fujitsu Ltd Japanese language input device settable for print line pitch

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5099229A (en) * 1973-12-28 1975-08-06
JPS52102063A (en) * 1976-02-23 1977-08-26 Kubota Ltd Apparatus for preventing zero point movement in scale
JPS5388535A (en) * 1977-01-14 1978-08-04 Ricoh Co Ltd Word processor
JPS5426626A (en) * 1977-07-31 1979-02-28 Ricoh Co Ltd Display system
JPS55124843A (en) * 1979-03-19 1980-09-26 Toshiba Corp Display control system in word processor
JPS55133206A (en) * 1979-04-04 1980-10-16 Chiba Fastener Kk Method and apparatus for producing fabric fastener of hook element

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5099229A (en) * 1973-12-28 1975-08-06
JPS52102063A (en) * 1976-02-23 1977-08-26 Kubota Ltd Apparatus for preventing zero point movement in scale
JPS5388535A (en) * 1977-01-14 1978-08-04 Ricoh Co Ltd Word processor
JPS5426626A (en) * 1977-07-31 1979-02-28 Ricoh Co Ltd Display system
JPS55124843A (en) * 1979-03-19 1980-09-26 Toshiba Corp Display control system in word processor
JPS55133206A (en) * 1979-04-04 1980-10-16 Chiba Fastener Kk Method and apparatus for producing fabric fastener of hook element

Also Published As

Publication number Publication date
JPS57123439A (en) 1982-07-31

Similar Documents

Publication Publication Date Title
US4789855A (en) Device for editing document in colors
DK144576B (en) DEVICE FOR EDITING AND REPRESENTING TEXT INFORMATION
EP0009536B1 (en) Data entry apparatus with dual-mode tabbing function selectable from keyboard
US4931987A (en) Word processor for locating beginning position of text element and displaying corresponding formatting data and formatting mark separately
EP0686508B1 (en) Tape printer
GB2192744A (en) A word processor with attribute functions
US4607966A (en) Electronic typewriter equipped with text memory which saves format data while deleting a line
JPH0520787B2 (en)
JPH0532782B2 (en)
JPH0210981B2 (en)
JPH0424746B2 (en)
JPH026097B2 (en)
JP2573174B2 (en) Document creation device
JP2991339B2 (en) Document processing device
JP2607044B2 (en) Document creation device and display output control method in document creation device
JP2953680B2 (en) Recording device
JPS61122776A (en) Input/output device
JPS59135582A (en) Idle feed control system of printer for sentence processor
JPS6315287A (en) Pattern generator
JPS59201129A (en) Document producer
JPS63125979A (en) Document processor
JPS62107367A (en) Document generating device with line modification setting function
JPS62105663A (en) Document forming apparatus with print starting position setting function
JPS6411985B2 (en)
JPH0623975B2 (en) Document creation device