JPS58195946A - Word processor - Google Patents

Word processor

Info

Publication number
JPS58195946A
JPS58195946A JP57079715A JP7971582A JPS58195946A JP S58195946 A JPS58195946 A JP S58195946A JP 57079715 A JP57079715 A JP 57079715A JP 7971582 A JP7971582 A JP 7971582A JP S58195946 A JPS58195946 A JP S58195946A
Authority
JP
Japan
Prior art keywords
line
text
prescribed
printer
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP57079715A
Other languages
Japanese (ja)
Inventor
Toshiharu Tanaka
田中 利晴
Kazuhiko Shiono
塩野 一彦
Kimio Nagasawa
長沢 喜美男
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.)
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd, Sanyo Denki Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP57079715A priority Critical patent/JPS58195946A/en
Publication of JPS58195946A publication Critical patent/JPS58195946A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers

Abstract

PURPOSE:To improve the operability, by constituting so that a line feed code is not inserted except the time of outputting to a printer, and a blank area of the line end is always set to a writable state. CONSTITUTION:When a prescribed line read-out signal is sent to a line read- out part 13 from a CPU 11, the line read-out part 13 obtains area information in a text buffer corresponding to its prescribed line from a line control part 12, reads out contents of the text buffer and sends them to a CPU 11. When it is decided by a blank deciding part 14 that the line end of the prescribed line is a blank area, the CPU 11 sends the prescribed line to a line feed code write part 15, in which a line feed code is written in the blank area of the line end of the prescribed line, and when its writing ends, said prescribed line is returned to the CPU 11. Subsequently, the prescribed line is sent out to a printer and its line is printed by the printer.

Description

【発明の詳細な説明】 本発明はワードプσセツf4=関する。[Detailed description of the invention] The present invention relates to the wordpress σ set f4=.

@1図は典型的なワードプロセッサの構成を示すブロッ
ク囚であり、 (ill’入力装置としてのキーボード
、(2:は該キーポーVからの入力信号礁二基づいてワ
ード10セツチ全体の制御Y司る制御部、(31は処理
される文章が格納されるテキストバッファ、(4)は上
記制御部(2)からの信号6;基づいて上記テキストバ
ッファ131内の文章YIi!Ii面上に表示する0R
T1151は上記制御部(21からの信号a:基づいて
上記テキストバッフ1(3I内の文章を紙面上(:印字
するプリンタである。
@Figure 1 is a block diagram showing the configuration of a typical word processor. (31 is a text buffer in which the text to be processed is stored; (4) is the signal 6 from the control unit (2); based on the signal 6, the text YIi in the text buffer 131 is displayed on the Ii surface;
T1151 is a printer that prints the text in the text buffer 1 (3I) on paper based on the signal a from the control unit (21).

通常上記ブシック(5;では−行毎に印字する機構とな
っている。従って上記ワードプロセッサでは断るプリン
タ151の改行動作W行わせるためC二制御コードの一
つとして改行コードを有している。また断るコードは第
2図(二示す如(O1l″r画面(4&)上では改行マ
ーク(6)として表示されている。
Normally, the above-mentioned busic (5;) has a mechanism that prints every line. Therefore, in order to cause the printer 151 to perform the line feed operation W, which is rejected by the word processor, it has a line feed code as one of the C2 control codes. The refusal code is displayed as a line feed mark (6) on the screen (4&) as shown in Figure 2 (2).

尚図(二おいて171はoRljit(4m)上−;お
ける沓込み可能饋域奮規定するマーi7ンであり、斯る
マージン間の幅により一行C;おける文字数が規定され
る。また、斯る領域の行末C二文字がつまって。
In addition, 171 in Figure 2 is the margin i7 that defines the area that can be inserted into oRljit (4m), and the number of characters in one line C; is defined by the width between such margins. The two C characters at the end of the line in the area are jammed.

いる時−は上記改行コーrがなくともプ1yり(5)に
おいて改行がなされることは当然である。
When -, it is natural that a line break will occur in step (5) even without the above line feed call r.

ところが上記改行マークが表示されていると斯る改行マ
ーク(6)以降は書込み不可領域となるという問題があ
った。従って182図において改行マーク16)以降に
文ゲ付は加えようとする場合には上記改行マーク乞抹消
し、然る後所望の文を付は加えると共(−再び斯る文の
後に改行マークχ書込むという大変わずられしい操作が
必要であった。
However, when the above-mentioned line break mark is displayed, there is a problem in that the area after the line break mark (6) becomes a non-writable area. Therefore, in Figure 182, if you want to add a sentence after the line break mark 16), delete the above line break mark, and then add the desired sentence (- again, add the line break mark after such a sentence. The extremely troublesome operation of writing χ was required.

本発明は斯る点に鑑みてなされたもので、以下図に基づ
いて本発明ン説明する。
The present invention has been made in view of these points, and will be explained below based on the drawings.

4IJ5図は本発明による実施例ブードプロセッサにお
ける刊一部(2)ン示すブロック回路図である。
4IJ5 is a block circuit diagram showing part (2) of a boot processor according to an embodiment of the present invention.

図において、unハ制am(21cおいてWicワ−ド
プロセクサ全体の制御Y司るOPU、113は上記テキ
ストバッファ+311:I@給された文章の行単位の軒 情報ンvt理する行管理Fあり、断る情報としては上紀
文草の各f1のテキストバッファf31での格納位置、
各行に潜込み可能な文字数及び文章中の行数等がある。
In the figure, the un control unit (21c) is the OPU that controls the entire WIC word processor, 113 is the text buffer + 311: I @ the line management F that handles the line information of the supplied text, The information to decline is the storage location of each f1 of Joki Bunso in text buffer f31,
There are the number of characters that can be inserted into each line, the number of lines in a sentence, etc.

01はOPU+Jυからの信号に基づいてテキストバッ
フアd3内の文章中の所定性を読出す行続出部であり、
Nする続出し行の指゛定は0PU1111からなされ、
斯る行指定信号に基づいて行管理部(17J行の内容を
上記バッファ(31より読出T、a場は該行読出部a組
二より読出された一行の行末は余白領域であるか否かr
判定しその結果χOP U[l14.送る余白判定部で
あり、該判定部はCP UGIIから信号が入力された
時上記処理ン実行する* (tJは改行マーク挿入部で
あり、該挿入部では上記行続出部から読出された行の行
末に改行コード?書込む。
01 is a line output unit that reads out the predetermined nature of the text in the text buffer d3 based on the signal from OPU+Jυ;
The designation of the continuation line to be N is made from 0PU1111,
Based on such a line designation signal, the line management unit (reads out the contents of line 17J from the buffer (31) T, field a indicates whether the end of the line read from the line reading unit a group 2 is a blank area or not. r
The result is χOP U[l14. This is a margin judgment unit to send, and this judgment unit executes the above processing when a signal is input from the CP UGII. Write a line feed code at the end of the line.

弔4因はt紀第5図回路の動作を説明するためのフロー
チャートであり、以下斯るフローチャート1:基づいて
動作音説明する。
The fourth cause is a flowchart for explaining the operation of the circuit shown in Figure 5 of the tth century, and the operation sounds will be explained below based on the flowchart 1.

まず、81ステツプではキーボードtl+より印字信号
がCtPUollに送られる。0PU(111では斯る
信号が入力された時以下&:説明する82〜a5ステッ
プン実行させてテキストバッファ+31内の文章を行単
位で順次プyンタ(51に送出する。
First, in step 81, a print signal is sent from the keyboard tl+ to CtPUoll. 0PU (111) When such a signal is input, the following steps 82 to a5 are executed and the sentences in the text buffer +31 are sequentially sent to the printer (51) line by line.

82ステツプではテキストバッファ(31内の文章の一
行を続出す、断る処理はまずopo(1υより行読出部
i引二所定行続出し信号が送られる0次いで斯る信号1
;より行読出部G引;おいて斯る所定性に対応したテキ
ストバッファ(3)内の領域情報を行管理部aりより得
、この情報(−基づいてテキストバッファ(31の内容
(所定性>1に一続出しOP U(11C−送る。
In step 82, the process of continuing to continue one line of the text in the text buffer (31) is performed by first sending a predetermined line continuation signal from the line reading section i to the opo (1υ).
From the line reading unit G, the area information in the text buffer (3) corresponding to the predetermined property is obtained from the line management unit a, and based on this information (-, the contents of the text buffer (31) > 1 consecutive output OP U (11C-send.

この処理が終了すると0PU(lυは15ステツプを実
行する。
When this process is completed, 0PU(lυ) executes 15 steps.

83ステツプでは0PU(l引−送られた上記所定性の
行末が余白領域であるか否かt判定する。斯る判定はま
ずOPυaυより上記所定性を余白判定部a引二送り判
定1行わせる。その結果はopvanに送られる。この
結果、所定性の行末が余白領域でないと判定されるとO
PU(1mはs5ステップY実行し、また所定性の行末
が余白領域であると判定されると0PU(19は84ス
テップi実行する。
In step 83, it is determined whether the end of the line of the above-mentioned predetermined property sent by 0PU (1) is a margin area.Such a judgment is made by first performing the above-mentioned predetermined property from OPυaυ in the margin judgment section a2-advance judgment 1. .The result is sent to opvan.As a result, if it is determined that the specified line end is not a blank area, O
PU (1m executes s5 steps Y, and when it is determined that the predetermined line end is a margin area, 0PU (19 executes 84 steps i).

84ステツプでは上記所定性の行末1;改行コードが書
込まれ゛る。斯る処理は0PU(Inから上記所定行Y
改行コード畜込部a9に送り、次いで上記改行コード畔
込部(19(=おいて上記所定性の行末の余白領域C二
数行コードが書込まれ、斯る書込みが終了すると上記所
定性は0PU(IDC;戻される。
At step 84, the predetermined line end 1; line feed code is written. Such processing is performed from 0PU (In to the above predetermined line Y
The code is sent to the line feed code storage section a9, and then, at the line feed code storage section (19 (=), two or more line codes are written in the margin area C at the end of the line of the above-mentioned predetermined property. When such writing is completed, the above-mentioned predetermined property is 0PU (IDC; returned.

上記処理が終了するとopv(11Bは85ステツプを
実行する。
When the above processing is completed, opv (11B executes 85 steps).

@5ステップではopva引:fIA在読出されている
上記所定行tプリンタ(5)に送出し、斯る行lプリン
タ(5)により印字させる。斯る処理が終了するとop
tyanはa6xテyプt’w行する。
In step @5, the predetermined line from which the opva reference:fIA has been read out is sent to the t printer (5), and the line 1 is printed by the printer (5). When such processing is completed, OP
tyan is a6x type t'w line.

86ステツプでは上記所定性が文章中の最終行であるか
否かが判定される。斯る判定はCPUanから現在処理
している行つまり所定性め文章中における順位が行管理
組a4=送られ、行管理部(11:おいて、上記馳位と
予め格納されている上記文章の行数とを比較することC
二より行われ、その結果はCPUanに送られる。01
’U(111で紘斯る結果に基づいて次書二実行するス
テップが選択される。つまり上記所定性が最終行である
とプログラムは終了し、そうでない場合櫨:は8Rステ
ッ、プを再び実行する。
In step 86, it is determined whether the predetermined condition is the last line in the sentence. In this determination, the line currently being processed, that is, the rank in the given text, is sent from the CPU an to the line management group a4=, and the line management unit (11: Comparing with the number of rowsC
2, and the results are sent to CPUan. 01
'U (At 111, the next step to be executed is selected based on the result. In other words, if the above predetermined property is the last line, the program ends; otherwise, the step 8R is executed again. Execute.

次に上記フローチャートの流れv01?画Fii(41
)上で45図の如く表示される3行からなる文章の処理
(二おいてより員体的に説明する。尚図中Qυは説明を
簡単(:するための余白マークであり実際にはこのよう
な表示は行われない、また図中第2図と同一部所には同
一番号が付されている。
Next is the flow v01 of the above flowchart? Picture Fii (41
) The processing of a sentence consisting of three lines displayed as shown in Figure 45 (2) will be explained in more detail. In the figure, Qυ is a margin mark to simplify the explanation (:, and in reality, this No such display is made, and the same parts in the figure as in FIG. 2 are given the same numbers.

81ステツプにおいて印字信号が入力されるとまず第1
行がプリンタ+51 (:出力されるようg:0PU(
1υは動作する。斯る動作は第1行の行末が余白領域で
あるので82.85.84.85ステップン実行し、第
6図Aに示すよう6;上記行末に改行マーク・23Y:
畳込みプリンタ(5)に出力する。その後86ステツプ
が実行される。第1行は最終行でないのでプログラムは
82ステップC:戻る。
When a print signal is input in step 81, the first
The line should be output to the printer +51 (:g:0PU(
1υ works. Since the end of the first line is a blank area, this operation is executed in 82.85.84.85 steps, and as shown in FIG.
Output to the convolution printer (5). After that, 86 steps are executed. Since the first line is not the last line, the program returns to Step 82.

B2ステップでは次−二42行を読み出す、斯る第2行
の行末は余白領域であるのでil!S、84.85ステ
ツプを実行して第6図BC:示す如く第2行の行末(二
数行マーク@Yll込みプリンタに出力する。その後第
2行は最終行でないので86ステツプから再び82ステ
ツプに戻る。
In step B2, the next -242nd line is read out.The end of the second line is a blank area, so il! S, 84. Execute 85 steps and output to the printer as shown in Figure 6 BC: The end of the second line (includes two-many line mark @Yll).Then, since the second line is not the last line, repeat steps 82 from 86. Return to

に B2ステップでは%$5行を続出す、斯る県3行の行末
は余白領域でないのでプログラムは85.85ステップ
i実行し第3行をそのままプリンタ(50−出力する。
In step B2, the %$5 line is continued. Since the end of the prefecture 3 line is not a margin area, the program executes 85.85 step i and outputs the third line as it is to the printer (50-).

また第3行は最終行であるので86ステツプでプログラ
ムは終了する。
Also, since the third line is the final line, the program ends in 86 steps.

従って本実施例ではテキストバッファ(31内の文章’
282.83.84、I5.86ステツプからなるルー
プもしくは82、tx5.85.86ステツプからなる
ループを実行することにより行毎にプリンタ15)1m
出力する。
Therefore, in this embodiment, the text buffer (text in 31)
Printer 15) 1m row by row by executing a loop consisting of 282.83.84, I5.86 steps or a loop consisting of 82, tx5.85.86 steps.
Output.

尚本実施例では451!i3の第2行のようC二行末か
ら2つ以上の余白領域が連続して与圧するとき(:も改
行マーク+23は1161m Iに示す如(行末C:書
込まれたが、?s6図a6:示す如く、上記連続する金
白領域の左端(−改行マークを書込むようeニジてもよ
い。
In this example, 451! When two or more margin areas from the end of the C2 line are pressurized consecutively, as in the second line of i3 (: also line feed mark +23 is 1161m). : As shown, the left end of the continuous gold-white area (-) may be changed to write a new line mark.

以上の説明から明らかな如く本発明のワードプロセッサ
ではプリンタへの出力時°以外は改行コードが挿入され
ないので、行末の余白領域は常C:書込み可能状態とな
り、従って大fnk作性が良くなる。
As is clear from the above description, in the word processor of the present invention, a line feed code is not inserted except when outputting to a printer, so the margin area at the end of a line is always in the C: writable state, thus improving the productivity of large fnks.

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

第1因は典型的なワードプσセツfpt示すブロック回
路図、第2図は従来のワードプロセッサの処理を説明す
るための図、#IJ5図は本発明の一実施例ワードプロ
セッサの制御部Y示すブロック回路図、第4図は本実施
例ワードプロセッサの動作χ説明するフローチャート、
第5e!3は本実施例ワードプロセッサにおけるORT
画向上での表示状態ン示す図、$6図A−Cはプリンタ
への出力時の状態ン示す図である。 (11・・・キーボード、(21・・・制御部、(3ト
・・テキストバッファ、(4)・・・CRT、(51・
・・プリンタ、!141・・・余白判定部、u9・・・
改行マーク−述部。 −2・
The first factor is a block circuit diagram showing a typical word processor σsetfpt, FIG. 2 is a diagram for explaining the processing of a conventional word processor, and FIG. 4 is a flowchart explaining the operation of the word processor of this embodiment,
5th e! 3 is the ORT in the word processor of this embodiment
FIGS. 6A to 6C are diagrams showing the display state when the image is improved, and FIGS. 6A to 6C are diagrams showing the state when outputting to the printer. (11...Keyboard, (21...Control unit, (3)...Text buffer, (4)...CRT, (51...
...Printer! 141...margin determination section, u9...
Newline mark - predicate. -2・

Claims (1)

【特許請求の範囲】[Claims] (1) キーボード等の入力装置、該入力装置からの入
力信号に尾づいて全体の制御を司る制御部、処理される
文章が格納ξれたテキストバッファ、上記制御部6二愚
づいて上記テキストバッファ内の上記文章1褒示するO
RT及びプリンタからなるワードプロヤツf(;おいて
、上記制御部は上記テキストバッツァ内文章ン1行毎に
続出すけ続出部、販続出部で続出された一行C;おいて
少なくとも斯る行末は何も入力されていない余白領域で
あるか否かY判定する余白判定部、上記プリンタへの表
示(=際して上記行末(−改行マークvIl込む改行マ
ーク膏込部)i’ @ (71せることt特徴とするワ
ードプロセ1fゆ
(1) An input device such as a keyboard, a control unit that controls the entire system according to input signals from the input device, a text buffer in which the text to be processed is stored, and the control unit 62 that controls the text. Reward the above sentence 1 in the buffer O
In the word processor f (; in which the control unit is configured to print out the text in the text batsa one after another for each line, and in the one line C continued in the sales part), at least the end of such a line is a margin area in which nothing has been inputted, and the margin judgment section Y determines whether or not it is a blank space area in which nothing has been input. A word processor with features
JP57079715A 1982-05-11 1982-05-11 Word processor Pending JPS58195946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57079715A JPS58195946A (en) 1982-05-11 1982-05-11 Word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57079715A JPS58195946A (en) 1982-05-11 1982-05-11 Word processor

Publications (1)

Publication Number Publication Date
JPS58195946A true JPS58195946A (en) 1983-11-15

Family

ID=13697896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57079715A Pending JPS58195946A (en) 1982-05-11 1982-05-11 Word processor

Country Status (1)

Country Link
JP (1) JPS58195946A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60109877A (en) * 1983-11-18 1985-06-15 Brother Ind Ltd Electronic typewriter with text memory
JPS6288052A (en) * 1985-10-14 1987-04-22 Canon Inc Document processor

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4834629A (en) * 1971-09-07 1973-05-21

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4834629A (en) * 1971-09-07 1973-05-21

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60109877A (en) * 1983-11-18 1985-06-15 Brother Ind Ltd Electronic typewriter with text memory
JPS6288052A (en) * 1985-10-14 1987-04-22 Canon Inc Document processor

Similar Documents

Publication Publication Date Title
US5878198A (en) Information processing apparatus and method and memory medium storing information processing program
JPS59152485A (en) Electronic font management
JPS631618B2 (en)
JPS6342799B2 (en)
JPS58195946A (en) Word processor
US5333253A (en) Apparatus for writing a document under two-document display condition
GB2217491A (en) Output apparatus
JP2974346B2 (en) Kanji processing device
GB2189913A (en) Word processor
JPS5856138A (en) Formating of a plurality of text columns
GB2229561A (en) Printing ruled lines
JPS62229464A (en) Document processor
JPS60110033A (en) Display printer
JPS61224070A (en) Internal character calling method for word processor
JPS5931752B2 (en) printing device
JPS59186028A (en) Layout display unit
JPH058454A (en) Bar code printer
JPS6051128B2 (en) Search data input method
JPS59123046A (en) Display system of document processor
JPH04205052A (en) Document preparing device
JPH10181139A (en) Printing control apparatus
JPH01229666A (en) Printer
JPH0357506B2 (en)
JPS61179752A (en) Pattern converting apparatus
JPH05165824A (en) Information processor