JPS6318231B2 - - Google Patents

Info

Publication number
JPS6318231B2
JPS6318231B2 JP54057389A JP5738979A JPS6318231B2 JP S6318231 B2 JPS6318231 B2 JP S6318231B2 JP 54057389 A JP54057389 A JP 54057389A JP 5738979 A JP5738979 A JP 5738979A JP S6318231 B2 JPS6318231 B2 JP S6318231B2
Authority
JP
Japan
Prior art keywords
line
remaining
memory
length
page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP54057389A
Other languages
Japanese (ja)
Other versions
JPS55150064A (en
Inventor
Satoyuki Yano
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP5738979A priority Critical patent/JPS55150064A/en
Publication of JPS55150064A publication Critical patent/JPS55150064A/en
Publication of JPS6318231B2 publication Critical patent/JPS6318231B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)
  • Handling Of Sheets (AREA)

Description

【発明の詳細な説明】 本発明は和文の編集、印字、表示、電送等の処
理を行う文字処理装置に関し、更に詳述すると、
指示用紙に印字する場合の残り紙長さ、残り行数
等の編集に必要な情報を表示する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character processing device that performs processing such as editing, printing, displaying, and electronic transmission of Japanese text.
The present invention relates to a device that displays information necessary for editing, such as the length of remaining paper and the number of remaining lines when printing on instruction paper.

キー入力装置、CRT表示装置、印字装置及び
情報処理回路部から構成された和文編集装置(和
文ワードプロセツサ)において、入力装置と表示
装置との対話形式で文章の編集を行なう場合、例
えばA4サイズに印書しようとして編集していな
がら、CRT画面にはA4サイズの全文章を表示で
きないなど、表示容量と印字仕様の対応がとれな
いことが多い。
In a Japanese text editing device (Japanese word processor) that consists of a key input device, a CRT display device, a printing device, and an information processing circuit, when editing text in an interactive format between the input device and the display device, for example, A4 size There are many cases where display capacity and printing specifications do not match, such as when trying to print on a CRT screen and editing it, but not being able to display the entire A4 size text on the CRT screen.

従つて、オペレータがキー操作により言葉を入
力しメモリに和文章を記憶させてゆく際に、例え
ばいま何頁目の何行目を入力しているか、また例
えば、メモリに書込まれた和文章をA4サイズの
用紙に印字すれば何頁になり、B5サイズの用紙
に印字すれば何頁になるかなどの判断のできない
欠点があつた。
Therefore, when an operator inputs words using key operations and stores a Japanese sentence in memory, it is possible to check, for example, which page and line he is inputting, and also the information about the Japanese sentence written in memory. There was a drawback that it was not possible to determine how many pages would be printed on A4 size paper and how many pages would be printed on B5 size paper.

本発明は上記欠点を解消するために為されたも
のであつて、指定された印字用紙サイズに対して
現在編集中の位置がどれだけの印字行数を残して
いるかを常に計算してその値を表示装置上に表示
する文字処理装置の提供を目的としている。
The present invention has been made in order to eliminate the above-mentioned drawbacks, and it constantly calculates the number of print lines left at the currently editing position for the specified print paper size and calculates the value. The purpose of this invention is to provide a character processing device that displays on a display device.

次に、本発明の原理を説明する。用紙サイズに
対応した紙長さをミリ単位で表現し、これを固定
記憶領域に保存し、また、この用紙サイズに対し
て使用可能な実効長さ、即ち、印字装置へ装着し
た場合のデツドマージンを除いた長さ及び、オペ
レータが指定可能な紙送りピツチ情報を半固定
RAM領域に記憶する。一方、残り紙長さと残り
行数を、共に可変RAM領域に記憶し、次のよう
な演算によりその内容を更新する。
Next, the principle of the present invention will be explained. It expresses the paper length corresponding to the paper size in millimeters, stores this in a fixed storage area, and also calculates the usable effective length for this paper size, that is, the dead margin when installed in a printing device. Semi-fixed length and paper feed pitch information that can be specified by the operator
Store in RAM area. On the other hand, the remaining paper length and the number of remaining lines are both stored in a variable RAM area, and their contents are updated by the following calculation.

(残り紙長さ)=(実効紙長さ)−Σ(紙送りピツ
チ) (残り行数)=残り紙長さ/紙送りピツチ…余り切り捨
て 上式で計算された残り行数データを表示バツフ
アに転送しCRT等の表示装置に表示する。
(Remaining paper length) = (Effective paper length) - Σ (Paper feed pitch) (Remaining number of lines) = Remaining paper length / Paper feed pitch...Truncate the remainder. Display the remaining line number data calculated using the above formula. and display it on a display device such as a CRT.

次に、本発明を実施例の図面にもとづいて説明
する。
Next, the present invention will be explained based on drawings of embodiments.

第1図に本発明実施例の回路ブロツク図を示
す。文字入力キーボードの入力信号はメモリに記
憶されると同時にCRT表示装置上に表示される。
FIG. 1 shows a circuit block diagram of an embodiment of the present invention. The input signals from the character input keyboard are stored in memory and displayed on the CRT display at the same time.

CRT表示装置上の文字のうちの特定のものを
表示するカーソルを移動させるカーソル移動キー
として、カーソルダウンキー1、カーソル右移動
キー2、カーソル左移動キー3、及びカーソルア
ツプキー4が設けられる。カーソルダウンキー1
を押すとカーソルダウン信号が出力し、カーソル
右移動キー2を押すとカーソルライト信号が出力
し、カーソル左移動キー3を押すとカーソルレフ
ト信号が出力し、カーソルアツプキー4を押すと
カーソルアツプ信号が出力する。また、カーソル
は、カーソル右移動キー2又はカーソル左移動キ
ー3を1回押すごとに1文字づつ右又は左に移動
し、カーソルダウンキー1又はカーソルアツプキ
ー4を1回押すごとに1行づつ下又は上へ移動す
る。行字数カウンタ5は1行の字数を計数するア
ツプダウンカウンタであり、カーソルライト信号
によりカウントアツプし、カーソルレフト信号に
よりカウントダウンする。またカウンタ5の容量
は記録紙サイズに応じて変化することができ、カ
ウンタ容量を超えるとキヤリー信号Cを出力して
改行を指示し、また反対に、カウンタ容量以上に
カウントダウンするとボロー信号Vを出力し行が
戻ることを指示する。ORゲート6はカーソルダ
ウン信号又は字数カウンタ5のキヤリー信号Cを
行カウンタ8のカウントアツプ入力及び加算器9
の制御端子に供給し、ORゲート7はカーソルア
ツプ信号又は字数カウンタ5のボロー信号Vを行
カウンタ8のカウントダウン入力及び減算器10
の制御端子に供給している。行カウンタ8は記録
紙の行数を計数するアツプダウンカウンタであつ
て、カーソルダウン信号S1が到来するごとにカ
ウントアツプされて行数が増大し、カーソルアツ
プ信号S4が到来するごとにカウントダウンされ
て行数が減少する。また、カーソルライト信号S
2又はカーソルレフト信号S3により字数カウン
タ5が順次カウントされ、1行の字数を超えると
キヤリー信号Cが出力されて行カウンタ8を1行
分カウントアツプし、1行の字数以上に戻される
とボロー信号Vが出力されて行カウンタ8を1行
分カウントダウンする。
A cursor down key 1, a cursor right movement key 2, a cursor left movement key 3, and a cursor up key 4 are provided as cursor movement keys for moving a cursor to display a specific character among the characters on the CRT display device. cursor down key 1
When you press cursor right movement key 2, a cursor right signal is output. When you press cursor left movement key 3, a cursor left signal is output. When you press cursor up key 4, a cursor up signal is output. outputs. Also, the cursor moves one character to the right or left each time you press the cursor right movement key 2 or cursor left movement key 3, and one line each time you press the cursor down key 1 or cursor up key 4. Move down or up. The line number counter 5 is an up-down counter that counts the number of characters in one line, and counts up by a cursor write signal and counts down by a cursor left signal. In addition, the capacity of the counter 5 can change depending on the recording paper size, and when the counter capacity is exceeded, a carry signal C is output to instruct a line feed, and conversely, when the countdown exceeds the counter capacity, a borrow signal V is output. Indicates that the line will return. The OR gate 6 inputs the cursor down signal or the carry signal C of the character counter 5 to the count up input of the row counter 8 and the adder 9.
The OR gate 7 supplies the cursor up signal or the borrow signal V of the character number counter 5 to the countdown input of the row counter 8 and the subtracter 10.
is supplied to the control terminal. The line counter 8 is an up-down counter that counts the number of lines on the recording paper, and counts up and increases the number of lines every time the cursor down signal S1 arrives, and counts down every time the cursor up signal S4 arrives. The number of lines decreases. In addition, the cursor write signal S
2 or cursor left signal S3, the character counter 5 is counted sequentially, and when the number of characters in one line is exceeded, a carry signal C is output and the line counter 8 is counted up by one line, and when it returns to the number of characters in one line or more, a borrow is issued. The signal V is output and the row counter 8 is counted down by one row.

行ピツチメモリ11は行間スペースと行長を記
憶しており、ΣLPレジスタ13は記録紙の使用
した長さを記憶している。加算器9はこのΣLP
レジスタ13の内容と行ピツチメモリ11の内容
の加算を行い、ORゲート12を経てΣLPレジス
タ13に記憶する。減算器10はORゲート7の
出力時にΣLPレジスタ13の内容から行ピツチ
メモリ11の内容を減じ、ORゲート12を経て
ΣLPレジスタ13に記憶する。すなわち、行を
戻した場合に使用した長さから戻した行数を減じ
た長さを記憶する。用紙サイズメモリ22は使用
される用紙に応じて任意に設定され、その用紙長
さを記憶している。デツドスペースメモリ21は
記録用紙の上端又は下端に必要な余白部分長さを
記憶している。実効長メモリ20は記録紙内の記
録可能な実効長さを記憶するメモリであつて、用
紙サイズメモリ22の内容から、デツドスペース
メモリ21の内容を減算器23で減じたものが記
憶されている。残り長さメモリ15は記録可能な
残りの長さを記憶するメモリであつて、実効長メ
モリ20の内容からΣLPレジスタ13の内容を
減じた値が入力される。除算器16は、残り長さ
メモリ15の内容を行ピツチメモリ11の内容で
除算し記録可能な残り長さの行数を算出し、これ
を残り行数メモリ17に入力する。残り行数メモ
リ17の出力PGは表示バツフア18を経て表示
装置19に表示される。この残り行数の表示装置
19として、文書内容を表示するCRT表示装置
の一部分を利用して表示することができる。
The line pitch memory 11 stores the line spacing and line length, and the ΣLP register 13 stores the used length of recording paper. Adder 9 uses this ΣLP
The contents of the register 13 and the contents of the row pitch memory 11 are added and stored in the ΣLP register 13 via the OR gate 12. The subtracter 10 subtracts the contents of the row pitch memory 11 from the contents of the ΣLP register 13 at the time of output from the OR gate 7, and stores the result in the ΣLP register 13 via the OR gate 12. That is, the length obtained by subtracting the number of returned rows from the length used when returning rows is stored. The paper size memory 22 is arbitrarily set according to the paper used, and stores the length of the paper. The dead space memory 21 stores the length of the margin required at the top or bottom end of the recording paper. The effective length memory 20 is a memory for storing the recordable effective length of the recording paper, and stores the result obtained by subtracting the content of the dead space memory 21 from the content of the paper size memory 22 using the subtracter 23. There is. The remaining length memory 15 is a memory for storing the remaining recordable length, and a value obtained by subtracting the contents of the ΣLP register 13 from the contents of the effective length memory 20 is input. The divider 16 divides the contents of the remaining length memory 15 by the contents of the line pitch memory 11 to calculate the number of lines of recordable remaining length, and inputs this into the remaining line number memory 17. The output PG of the remaining line number memory 17 is displayed on the display device 19 via the display buffer 18. As the display device 19 for displaying the remaining number of lines, a part of the CRT display device that displays the document contents can be used to display the remaining number of lines.

本発明によれば、上述したように、記録用紙サ
イズとそのデツドスペース、並びに行ピツチが定
まれば、文字情報を入力する毎に、或いはすでに
入力された文字情報を記憶する大容量メモリの読
み出しにより、常に、記録用紙の記録行数残を表
示することができ、オペレーターはその表示によ
り文章の編集を行うことができる。
According to the present invention, as described above, once the recording paper size, its dead space, and line pitch are determined, each time character information is input, or by reading out the large capacity memory that stores the character information that has already been input. , the remaining number of recording lines on the recording paper can be displayed at all times, and the operator can edit the text based on the display.

次に、指定用紙サイズが定まつた場合でも、文
字の大きさ或いは行間スペースによつて行ピツチ
が変る場合があり、このような場合に対する本発
明の実施例を説明する。
Next, even when the designated paper size is fixed, the line pitch may change depending on the character size or line spacing. An embodiment of the present invention for such a case will be described below.

このような場合の残り行数は、 残り長さ=実効紙長さ−(ΣLP1+……+ΣLPN) 残り行数=残り長さ/現編集行での行ピツチ により算出される。ただし、LP1,2,…Nはそれぞ
れ異る行ピツチである。すなわち、記録用紙の実
効長さからすでに決定された各行のピツチの合計
を減ずると用紙の残り長さが求まり、その残り長
さを現在実効している行ピツチで除算すると残り
行数が求まる。
In such a case, the number of remaining lines is calculated as follows: Remaining length = effective paper length - (ΣLP 1 +...+ΣLP N ) Remaining number of lines = remaining length / line pitch at the current editing line. However, LP 1, 2, . . . N have different line pitches. That is, the remaining length of the paper can be found by subtracting the already determined sum of the pitches of each line from the effective length of the recording paper, and the number of remaining lines can be found by dividing the remaining length by the currently effective line pitch.

このように行ピツチが変る場合、表示が記録用
紙の上から下へ順方向に進んでいるときであれば
その都度行ピツチメモリ11の内容を設定するこ
とにより正確な残り行数を求めることができる
が、再編集の場合のように、表示が既に編集を終
えた行へ逆方向に戻る場合は、前のピツチに変え
なければならず、そのために前のピツチでの残り
行数を表示する必要がある。この場合は、 新しい残り長さ=移動前の残り長さ+戻した分の
長さ 残り行数=新しい残り長さ/戻された位置での行ピツ
チ量 により算出することができる。
When the line pitch changes in this way, if the display is progressing forward from the top to the bottom of the recording paper, the accurate number of remaining lines can be determined by setting the contents of the line pitch memory 11 each time. However, when the display goes back to the line that has already been edited, as in the case of re-editing, it is necessary to change to the previous pitch, and therefore it is necessary to display the number of remaining lines at the previous pitch. There is. In this case, the new remaining length = the remaining length before the movement + the length of the returned part, and the number of remaining lines = new remaining length / the line pitch amount at the returned position.

第2図にこのような実施例の回路ブロツク図を
示す。文字位置移動回路部30は、第1図に示し
たカーソル上下左右移動信号発生回路1,2,
3,4、行字数カウンタ5及びORゲート6,7
を含んでいる。行カウンタ8は第1図のものと同
じである。残り行制御回路部31は残り行数を算
出するもので、第1図に示した加算器9、減算器
10、除算器14、ΣLPレジスタ13、残り長
さメモリ15、残り行数メモリ17及び表示バツ
フア18を含んでおり、得られた残り行数データ
は表示装置19により表示される。4個の行ピツ
チメモリ33,34,35,36にいずれも第1
図に示した行ピツチメモリ11と同様のものであ
つて互に異る行ピツチ数を記憶しており、行ピツ
チ指示制御回路部32によつてその一つが選択さ
れ、ORゲート37を介して残に制御回路部31
に供給され、指示された行ピツチに基く使用長さ
及び残り行数が算出される。行ピツチ指示制御回
路部32では、キーボード上のフアンクシヨンキ
ー或いはプログラム等により行ピツチの指示が行
われ、行ピツチの変更指示があれば変更後の行ピ
ツチの種類を信号線321に出力し、変更前の行
ピツチの種類を信号線322に出力する。行ピツ
チの種類のデータとしては、例えば2進コード
(00、01、10、11)により行ピツチメモリP1
P2,P3,P4のいずれかを指定する。行ピツチ変
更メモリ39は行数記憶部39aと行ピツチの種
類記憶部36bから成り、両者は互に関連してお
り、行数によつて特定位置を読み出すときはそれ
に対応する行ピツチの種類記憶部の内容も同時に
読み出される。従つて、行ピツチが変更するごと
にその前後の行の行数及び行ピツチの種類がそれ
ぞれ記憶される。一致検出回路38は、行カウン
タ8と行数記憶部39aとの一致比較を行い、一
致すると信号線381に出力し、対応する行ピツ
チ種類を記憶部39bから出力させる。カーソル
移動により既に編集の終えた行数へ戻ると、行カ
ウンタ8がカウントダウンされ、行カウンタと編
集時に予め記憶している行数の一致検出を行い、
一致が検出されるとその行がピツチ変更されてい
たと判断され、行ピツチ種類を信号線323に出
力し、対応する行ピツチ種類メモリ33〜36の
一つを選択する。行ピツチメモリのいずれかが選
択され、ORゲート37を介して残り行制御回路
31に供給し、いま選択された行ピツチによつて
残り行数が算出され表示される。
FIG. 2 shows a circuit block diagram of such an embodiment. The character position movement circuit section 30 includes the cursor up/down/left/right movement signal generation circuits 1, 2, and 2 shown in FIG.
3, 4, line number counter 5 and OR gates 6, 7
Contains. The row counter 8 is the same as in FIG. The remaining row control circuit section 31 calculates the number of remaining rows, and includes the adder 9, subtracter 10, divider 14, ΣLP register 13, remaining length memory 15, remaining row number memory 17, and the remaining row number memory 17 shown in FIG. It includes a display buffer 18, and the obtained remaining line number data is displayed on a display device 19. The four row pitch memories 33, 34, 35, and 36 all have the first
It is similar to the row pitch memory 11 shown in the figure, and stores different numbers of row pitches, one of which is selected by the row pitch instruction control circuit section 32, and the remaining row pitches are selected via the OR gate 37. control circuit section 31
The used length and the number of remaining lines are calculated based on the specified line pitch. In the line pitch instruction control circuit section 32, the line pitch is instructed by a function key on the keyboard or a program, and if there is an instruction to change the line pitch, it outputs the changed line pitch type to the signal line 321, The type of row pitch before change is output to the signal line 322. The line pitch type data includes, for example, the line pitch memory P 1 ,
Specify either P 2 , P 3 , or P 4 . The line pitch change memory 39 consists of a line number storage section 39a and a line pitch type storage section 36b, both of which are related to each other.When reading a specific position based on the number of lines, the line pitch change memory 39 stores the corresponding line pitch type. The contents of the section are also read out at the same time. Therefore, each time the line pitch changes, the number of lines before and after the change and the type of line pitch are stored. The match detection circuit 38 compares the row counter 8 with the row number storage section 39a, and if they match, outputs it to the signal line 381 and causes the storage section 39b to output the corresponding row pitch type. When the cursor moves back to the number of lines that have already been edited, the line counter 8 counts down, and a match between the line counter and the number of lines stored in advance at the time of editing is detected.
When a match is detected, it is determined that the pitch of that row has been changed, and the row pitch type is output to the signal line 323, and one of the corresponding row pitch type memories 33 to 36 is selected. One of the row pitch memories is selected and supplied to the remaining row control circuit 31 via the OR gate 37, and the number of remaining rows is calculated and displayed based on the currently selected row pitch.

次に、カーソルの移動により印字用紙の頁が変
る場合があり、この場合の残り行数は当然ながら
変つた頁の残り行数を表示しなければならない。
このような場合を考慮した実施例について以下説
明する。
Next, there are cases where the page of the printing paper changes due to movement of the cursor, and in this case, the number of remaining lines on the changed page must of course be displayed.
An embodiment that takes such a case into consideration will be described below.

頁が変わる原因として次のものがある。 The following are reasons why the page changes.

改頁指示があつた場合 残り行数がマイナスになる場合、即ち、実効
用紙長さを超えた場合 実効用紙長さを超えて戻された場合、即ち、
この場合は頁数がくり上る。
When a page break instruction is given When the number of remaining lines becomes negative, i.e., exceeds the effective paper length When returned beyond the effective paper length, i.e.
In this case, the number of pages will increase.

上記の場合において残り行を表示する際、次の
頁に進んだ場合は新たに実効用紙長さが残り行と
なるが、前頁に戻る場合は前頁の余白部の先頭に
戻るのが自然である。従つて、前頁に戻る場合は
用紙下端の余白部先頭に戻すものとし、余白部の
ない場合は最下位行に戻すものとする。
In the above case, when displaying the remaining lines, if you proceed to the next page, the new effective paper length will be the remaining lines, but if you return to the previous page, it will naturally return to the beginning of the margin of the previous page. It is. Therefore, when returning to the previous page, the page should be returned to the beginning of the margin at the bottom edge of the paper, and if there is no margin, it should be returned to the bottom line.

第3図にこのような実施例の回路ブロツク図を
示す。図において前述した第1図、第2図と同一
の回路については同じ番号を付し、その説明を省
略する。
FIG. 3 shows a circuit block diagram of such an embodiment. In the figures, circuits that are the same as those in FIGS. 1 and 2 described above are designated by the same numbers, and their explanations will be omitted.

実効紙長さ制御回路部40は実効紙長さを求め
て記憶するもので、第1図の用紙サイズメモリ2
2、デツドスペースメモリ21、減算器23、及
び実効紙長さメモリ20を含んでいる。頁メモリ
41は、改頁の指示があるごとに改頁前の頁の編
集を終えた行数を記憶する記憶部41bと、改頁
前の頁の使用長さ又は残り長さを記憶する記憶部
41aとから成り、使用長さと行数とは一対一に
対応して各頁単位で記憶されている。カウントア
ツプ回路50は、頁メモリ41を頁単位でカウン
トアツプし、カウントダウン回路51は頁単位で
カウントダウンする。零検出回路42は残り行数
メモリ17の内容が零であるときこれを検出して
出力を発する。なお図において、49,52は遅
延回路、43,44,45,47,48はAND
ゲート、46,53はORゲートである。
The effective paper length control circuit section 40 determines and stores the effective paper length, and is similar to the paper size memory 2 in FIG.
2, a dead space memory 21, a subtractor 23, and an effective paper length memory 20. The page memory 41 includes a storage section 41b that stores the number of lines that have been edited on the page before the page break each time a page break is instructed, and a memory that stores the used length or remaining length of the page before the page break. The length used and the number of lines are stored in a one-to-one correspondence for each page. The count up circuit 50 counts up the page memory 41 page by page, and the count down circuit 51 counts down the page memory 41 page by page. The zero detection circuit 42 detects when the content of the remaining row number memory 17 is zero and issues an output. In the figure, 49 and 52 are delay circuits, and 43, 44, 45, 47, and 48 are AND
Gates 46 and 53 are OR gates.

いま、或る頁を編集している際にフアンクシヨ
ンキー或いはプログラム等によつて次の頁への変
更が指示されると、改頁信号が出力され、ORゲ
ート46の出力により次の頁へ移頁することが指
示される。また、残り行数メモリ17の内容が零
であつて零検出回路42が検出出力を発している
とき文字位置移動回路部30から行カウントアツ
プ信号が出力されるとANDゲート45が開き、
ORゲート46を経て次の頁へ移動することが指
示される。ORゲート46からの改頁信号はAND
ゲート43,44および遅延回路49に供給され
る。ANDゲート43の出力は、使用された頁の
使用長さΣLPのデータをΣLPレジスタ13から
頁メモリ41の当該アドレスの使用長さ記憶部4
1aに記憶する。また、ANDゲート44の出力
は、使用された頁の使用行数を行カウンタ8から
頁メモリ41の当該アドレスの行数記憶部41b
に記憶する。続いて、遅延回路49の出力により
カウントアツプ回路50を制御し頁メモリ41を
次頁に指示する。このようにして、次の頁への変
更指示に基づき順次使用した頁の使用長さ(又は
残り長さ)および行数を当該頁のアドレスに記憶
する。編集の際に前頁へ戻る場合は、記録紙の最
初の行から計数している行カウンタ8が実効長さ
を超えて戻すときボローが出力される。このボロ
ー信号によりカウントダウン回路51が駆動さ
れ、頁メモリ41は前頁に戻される。また、ボロ
ー信号は遅延回路52によつて遅延されたのち、
ANDゲート47,48を開き、頁メモリ41の
行数記憶部41bから前頁の最終行数データが読
出されて行数カウンタ8にプリセツトされ、さら
に、使用長さ記憶部41bから前頁で使用された
使用長さデータが読出され、ORゲート53を経
てΣLPレジスタ13に転送される。
If a function key or program is used to instruct a change to the next page while editing a certain page, a page break signal is output, and the output of the OR gate 46 prompts the user to proceed to the next page. You are instructed to change the page. Further, when the content of the remaining line number memory 17 is zero and the zero detection circuit 42 is outputting a detection output, when a line count up signal is output from the character position movement circuit section 30, the AND gate 45 opens.
An instruction is given to move to the next page via the OR gate 46. The page break signal from OR gate 46 is AND
The signal is supplied to gates 43 and 44 and a delay circuit 49. The output of the AND gate 43 is the data of the used length ΣLP of the used page from the ΣLP register 13 to the used length storage unit 4 of the corresponding address of the page memory 41.
1a. Furthermore, the output of the AND gate 44 indicates the number of used lines of the used page from the line counter 8 to the line number storage section 41b at the corresponding address of the page memory 41.
to be memorized. Subsequently, the count up circuit 50 is controlled by the output of the delay circuit 49 to instruct the page memory 41 to the next page. In this way, the used length (or remaining length) and number of lines of successively used pages are stored in the address of the page based on the instruction to change to the next page. When returning to the previous page during editing, a borrow is output when the line counter 8 counting from the first line of the recording sheet exceeds the effective length. The countdown circuit 51 is driven by this borrow signal, and the page memory 41 is returned to the previous page. Further, after the borrow signal is delayed by the delay circuit 52,
The AND gates 47 and 48 are opened, and the last line number data of the previous page is read from the line number storage section 41b of the page memory 41 and preset in the line number counter 8, and further, the data used in the previous page is read from the used length storage section 41b. The used length data is read out and transferred to the ΣLP register 13 via the OR gate 53.

ΣLPレジスタ13の記憶データは、減算器1
4に供給されて、ここで実効紙長さ制御回路部4
0の実効長さデータから使用長さデータを減算し
た差、すなわち残り長さデータを、残り長さレジ
スタ15に転送し、さらに、除算器16により残
り長さデータを行ピツチデータで除算して残り行
数を算出し、これを残り行数メモリ17に記憶
し、表示バツフア18を経て表示装置19に表示
される。従つて、前頁に戻つた場合は余白部の先
頭に戻され、余白部がないときは残り長さが零で
あつて前頁の最下位行に戻る。なお、本発明にお
ける行カウンタ8にプリセツト機能を付加して、
1頁の行数が定められている場合に報知信号等を
出力させることもできる。
The data stored in the ΣLP register 13 is stored in the subtracter 1.
4, where the effective paper length control circuit section 4
The difference obtained by subtracting the used length data from the effective length data of 0, that is, the remaining length data, is transferred to the remaining length register 15, and then the remaining length data is divided by the row pitch data by the divider 16 to obtain the remaining length data. The number of lines is calculated, stored in the remaining line number memory 17, and displayed on the display device 19 via the display buffer 18. Therefore, when returning to the previous page, the line is returned to the beginning of the blank area, and when there is no blank area, the remaining length is zero and the line returns to the bottom line of the previous page. Note that by adding a preset function to the line counter 8 in the present invention,
It is also possible to output a notification signal etc. when the number of lines on one page is determined.

本発明によれば、記録用紙の残り行数又は残り
長さを表示し、また、一頁内において各行のピツ
チが異なる場合は変更されるピツチ単位で残り行
数又は残り長さを表示し、さらに、既に編集の終
えた頁に戻つて再編集する場合は残り余白の先頭
行に戻つて残り行数を表示することができるの
で、オペレータはそれらの表示を参考にして能率
的に文章の編集作業を行うことができる。
According to the present invention, the remaining number of lines or remaining length of the recording paper is displayed, and if the pitch of each line within one page is different, the remaining line number or remaining length is displayed in units of pitch to be changed, Furthermore, when returning to a page that has already been edited and re-editing it, the operator can return to the first line of the remaining margin and display the number of remaining lines, so the operator can refer to these displays and edit text efficiently. Able to perform work.

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

第1図、第2図及び第3図はいずれも本発明の
実施例を示す回路ブロツク図である。 8…行カウンタ、11,33,34,35,3
6…行ピツチメモリ、13…総使用長ΣLPレジ
スタ、14…減算器、15…残り長さメモリ、1
6…除算器、17…残り行数メモリ、19…表示
装置、20…用紙の実効長さメモリ。
1, 2, and 3 are all circuit block diagrams showing embodiments of the present invention. 8...Line counter, 11, 33, 34, 35, 3
6...Line pitch memory, 13...Total used length ΣLP register, 14...Subtractor, 15...Remaining length memory, 1
6... Divider, 17... Remaining line number memory, 19... Display device, 20... Paper effective length memory.

Claims (1)

【特許請求の範囲】 1 文字入力装置からの入力信号をCRT装置等
により表示しながらメモリに文章を記録していく
装置において、 A4、B5等の指定された用紙の大きさを記憶す
る用紙サイズメモリと、指定されたデツドスペー
スを記憶するデツドスペースメモリと、上記指定
された用紙の大きさと上記指定されたデツドスペ
ースから算出される実効長さを記憶する実効長メ
モリと、指定された行ピツチを記憶する行ピツチ
メモリと、入力された文章の行の検出に応じ上記
指定された行ピツチに基づき入力された文章によ
る総使用長さを算出する算出手段と、上記実効長
メモリの内容から入力された文章による総使用長
さを差し引いた残り長さデータを算出する減算手
段と、上記残り長さデータを上記指定された行ピ
ツチで除算して文字入力位置を可視表示するカー
ソル位置から数えた残り行数を算出する除算手段
と、上記残り行数データを表示する装置とを有す
る文字処理装置。
[Claims] 1. A paper size that stores a specified paper size such as A4 or B5 in a device that records text in a memory while displaying an input signal from a character input device using a CRT device or the like. A dead space memory that stores the specified dead space, an effective length memory that stores the effective length calculated from the specified paper size and the specified dead space, and a specified line pitch. A line pitch memory to be stored, a calculation means for calculating the total length used by the input text based on the line pitch specified above according to the detection of the line of the input text, and a calculation means for calculating the total length used by the input text based on the line pitch specified above, and the input text from the contents of the effective length memory. A subtraction means for calculating the remaining length data after subtracting the total length used by the text, and a remaining line counted from the cursor position that visually displays the character input position by dividing the remaining length data by the specified line pitch. A character processing device comprising a division means for calculating a number and a device for displaying the remaining line number data.
JP5738979A 1979-05-10 1979-05-10 Character processor Granted JPS55150064A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5738979A JPS55150064A (en) 1979-05-10 1979-05-10 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5738979A JPS55150064A (en) 1979-05-10 1979-05-10 Character processor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP58163602A Division JPS5971537A (en) 1983-09-05 1983-09-05 Character processor

Publications (2)

Publication Number Publication Date
JPS55150064A JPS55150064A (en) 1980-11-21
JPS6318231B2 true JPS6318231B2 (en) 1988-04-18

Family

ID=13054252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5738979A Granted JPS55150064A (en) 1979-05-10 1979-05-10 Character processor

Country Status (1)

Country Link
JP (1) JPS55150064A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59127788A (en) * 1983-01-07 1984-07-23 Ricoh Co Ltd Printer
JPS60109892A (en) * 1983-11-18 1985-06-15 Brother Ind Ltd Electronic typewriter
JPS60110030A (en) * 1983-11-19 1985-06-15 Canon Inc Character processor
JPS647358U (en) * 1987-06-30 1989-01-17
JP2686339B2 (en) * 1990-03-19 1997-12-08 富士通株式会社 Printing control device

Also Published As

Publication number Publication date
JPS55150064A (en) 1980-11-21

Similar Documents

Publication Publication Date Title
US4491933A (en) Word processor
EP0094494B1 (en) Column layout reference area display management
US3786429A (en) Electronic text display system which simulates a typewriter
GB1296175A (en)
GB1296174A (en)
GB1296176A (en)
US4031996A (en) Tab repositioning system
JPH034947B2 (en)
JPS6318231B2 (en)
JPH0261059B2 (en)
JPS5938629B2 (en) line spacing controller
JPH0619773B2 (en) Document processor
US4897804A (en) Data processing device with screen seperated into line format area and data display area
JPH069045B2 (en) Word processor
JPH0246977B2 (en)
JPS5939074B2 (en) tab control device
US4935729A (en) Apparatus for controlling the storage and display of information on a display device
EP0273764B1 (en) Text processing system
JPH0113113B2 (en)
JPH0733105B2 (en) Ruled line printing method
JPS6139677B2 (en)
US5396589A (en) Character input apparatus for determining the total number of characters which may be written in a predetermined space
JP3157956B2 (en) Document processing device with list display function of format setting
JP2599433Y2 (en) Memory protection device for each memory board in a multiprocessor system
JP2680308B2 (en) Information processing device