JPS59146333A - Sentence processing device - Google Patents

Sentence processing device

Info

Publication number
JPS59146333A
JPS59146333A JP58021805A JP2180583A JPS59146333A JP S59146333 A JPS59146333 A JP S59146333A JP 58021805 A JP58021805 A JP 58021805A JP 2180583 A JP2180583 A JP 2180583A JP S59146333 A JPS59146333 A JP S59146333A
Authority
JP
Japan
Prior art keywords
data
text
display device
line
printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58021805A
Other languages
Japanese (ja)
Other versions
JPH0474741B2 (en
Inventor
Shigeo Tatsugami
重夫 龍神
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 JP58021805A priority Critical patent/JPS59146333A/en
Publication of JPS59146333A publication Critical patent/JPS59146333A/en
Publication of JPH0474741B2 publication Critical patent/JPH0474741B2/ja
Granted 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 make it possible to vary intervals of lines of a displayed sentence by converting an inter-line width of inter-line data to the number of dots and shifting scanning lines of a CRT display device by this number of dots. CONSTITUTION:In dot printer printing, dot columns of characters correspond to scanning line of the CRT display device in 1:1. A character code corresponding to an operated key on a keyboard 1 is given to a CPU2. The CPU2 controls a display controller 5 and a printer controller 7 in accordance with an editing program in an ROM3. An RAM4 is provided with a sentence buffer 41, where sentence data attained by editing input characters from the keyboard 1 by the CPU2 is stored, and an area 42 where inter-line data expressed with the number of dots converted by the CPU2 is stored. Sentence data is printed by a printer 8. The printer 8 is controlled by the controller 7, and the controller 7 is controlled by the CPU2. The CPU2 controls the display controller 5, and the controller 5 controls the CRT display device 6.

Description

【発明の詳細な説明】 発明の分野 この発明はいわゆるワードプロセッサ等の文章処理装置
に関し、特にCR1表示装置を備えた、文章の作成1編
集等を行なう文章処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a text processing device such as a so-called word processor, and more particularly to a text processing device that is equipped with a CR1 display device and that performs writing, editing, etc. of text.

発明の背景 文章処理装置によって文章の作成を行なう場合、まずキ
ーボードの文字キーにより文字を入力し、入力された文
字を所定の形式の文章に編集し、順次文章バッファに記
憶させる。そして記憶された文章をプリンタによって印
字する。この印字の際、文章の行間の送り量、すなわち
印字される文章の行と行との間隔(距離)を設定する。
BACKGROUND OF THE INVENTION When a text is created using a text processing device, characters are first input using character keys on a keyboard, the input characters are edited into a text in a predetermined format, and the text is sequentially stored in a text buffer. The memorized text is then printed by a printer. During this printing, the amount of feed between lines of text, that is, the interval (distance) between lines of text to be printed, is set.

プリンタでは、上記設定された送り量に従って紙送り制
御がなされ、設定された行間隔で印字がされる。
In the printer, paper feed is controlled according to the set feed amount, and printing is performed at the set line spacing.

ところで、C□RT表示装置を備えた文章処理装−:。By the way, a text processing device equipped with a C□RT display device:.

′)@@・、′−1″9己′)J″′>・1文71成5
・4..1乍腎 、、、。
′) @@・, ′-1″9self′) J″′>・1 sentence 71 5
・4. .. 1 kidney...

11 章暢集をする場合、CRT表示装置上に表示される文章
を目でTiI認tなが□竜m M 、 5’集が行なえ
るという利点があるー。ひかし、99℃ら、、従来装置
の場。
11 When doing a chapter collection, there is an advantage that you can visually recognize the sentences displayed on the CRT display device. Hikashi, 99℃ et al., the place of conventional equipment.

合、CRT表示装置、・しおける・文章□の行間と、プ
リンタによって印字される文章の行間とが必ずしも □
一致していなか、つた、。というのは、、、、、、C、
R、、、T表4示装置の文章表示は、たとえ、c;、’
:コードリフレッシュ方式と呼ばれ、CRTの1行うス
クが固定となるため、その行間が常に−・定であり変え
られなか=たが、ブ+’ンダによっ□て印字され′る文
章の行間は、文章の行間の送り量″゛によって可変的に
でiでい庭からである。よって、実際にプリンタによっ
て印字される文章の行間をCRT画面上で認識し難く、
印字文章の仕上がり具合が認識できないため、特に文章
の編集作桑が仕難いという欠点があった。
In some cases, the line spacing of the CRT display device, the text □, and the line spacing of the text printed by the printer are not necessarily the same □
Naka, ivy, that doesn't match. That is,,,,C,
R, , T Table 4 The text displayed on the display device is, for example, c;,'
:This is called the code refresh method, and since the number of screens on a CRT is fixed, the line spacing is always constant and cannot be changed, but the line spacing of sentences printed by printers is This is because it can be varied depending on the amount of feed between the lines of the text. Therefore, it is difficult to recognize the line spacing of the text actually printed by the printer on the CRT screen.
This method had the disadvantage that it was particularly difficult to edit the text because the finish of the printed text could not be recognized.

発明の目的 それゆえに、この発明の目的は、CRT表示装置により
表示される文章の行間隔を可変可能にし□ で、改すン
タによって実際に印字される文章の行!’If!缶興じ
行間隔でCRT表示装置が文章表示を□で門る呈うにし
た、文章処理装置を提供すること□ である。
OBJECTS OF THE INVENTION Therefore, an object of the present invention is to make it possible to vary the line spacing of text displayed by a CRT display device, and to change the line spacing of text actually printed by a printer. 'If! To provide a text processing device in which a CRT display device starts displaying text with squares at regular line intervals.

発明の構成 この発明は、簡単に言えば、キーボード装置によら文章
の行間の幅を指定する行間デ□−Is入力された。とき
、その行間データの指定する行間幅をドツトプリンタの
ドツト数に換算、し・、その換畔]ノたドツト数分だけ
CRT表示装置の走査線をずらせることによって、該表
示装置上に表示される文章データの行間が□可変表示さ
れるようにした、文章処理装置である。  ′    
   □この発明の上述の目的と特徴は、図面を参照し
て行なう以下の一実施例の説明から一層明らかとなろう
DESCRIPTION OF THE INVENTION To put it simply, in this invention, the line spacing designation □-Is, which specifies the width between the lines of a sentence, is input using a keyboard device. At this time, the line spacing specified by the line spacing data is converted into the number of dots on the dot printer, and the scanning line of the CRT display device is shifted by the number of dots. This is a text processing device that allows the line spacing of text data to be displayed to be variable. ′
□The above-mentioned objects and features of the present invention will become clearer from the following description of an embodiment with reference to the drawings.

実施例の説明 第1図は行間データを説明するための図である。Description of examples FIG. 1 is a diagram for explaining line spacing data.

図示のように、文章の第1行目と次の第2行目との距″
1、すなわち行間幅と文章の幅との和を改行量として、
たとえば7〜8mmと設定する。この設定己だ改行量を
′Mするドツトプリンタの□ドッ□ト配列G註換’sv
’*基と、′8th卦7′1′のように□なる。す□な
わち、第2図は第1品:c6 ’ M”行″−τドッ□
ト配置列に換算□したときのドツト数を求める′tめめ
説明図“である′。
As shown in the diagram, the distance between the first line and the second line of the sentence is
1, that is, the sum of the line spacing and the sentence width as the line break amount,
For example, it is set to 7 to 8 mm. This setting is for the dot printer's □ dot □ G annotation 'sv
With '* base, it becomes □ like '8th trigram 7'1'. In other words, Figure 2 shows the 1st item: c6 'M''line'' - τ dot □
This is an explanatory diagram for calculating the number of dots when converted into a dot arrangement column.

m2図を参照して、1女字のパターンは、24×2イ□
で構成されるものと□すると、上:)ポ引’m”行間A
は乍ット′d′1□−が□らドツトd2−ユ9ま“でメ
省離′で表わされる。このとき、文字バター:ンの□高
さBは、ドツトプリンタに固有の値である。したがって
、11行と第2行との行間[Gλ、 □ △−:”’B (’ = C)’  ”    □
によつ□て―出さ杭る′。
Referring to the m2 diagram, the pattern for 1 female character is 24 x 2 i □
If it is composed of □, then the top:) POBI'm'' line spacing A
is represented by dot 'd' 1 □- from □ to dot d2 - u 9 in ``.At this time, the □ height B of the character butter: is a value specific to the dot printer. .Therefore, the line spacing between line 11 and line 2 [Gλ, □ △-: "'B (' = C)'" □
Yotsu□te--take it out'.

ところt1C′RT表糸装饋を備えた□文章処理装置の
場合、□□C’RT表示装置上に表示される文字は一□
般にドツトプリンタが“1女字の:バター多を′114
′成する縦の1ツト数、た1とえば2’4t?’□多ト
の□場′査゛、そめ縦のドツト数と同じ数め1□711
:″査1によう1で1文′字が1表わされ、ドツトプリ
ンタ□によ□すEi]*される□文字の各ドツト列がC
RT表示装置の各走査線に1対1に対応した構成となっ
ている。
However, in the case of a □ text processing device equipped with t1C'RT front thread feeding, the characters displayed on the □□C'RT display device are one □
In general, dot printers print ``1 female character: butter 多を'114.
'The number of vertical points to be formed, for example, 2'4t? '□Multiple dots□' search゛゛The same number as the number of vertical dots 1□711
:1 character is represented by 1 as shown in 1, and each dot string of the character is represented by the dot printer □.
The configuration has a one-to-one correspondence with each scanning line of the RT display device.

したがって、上記算出された行間幅のCをドツトプリン
タのドツト数に換拝し、そのドタト数分の走査線数をC
RT表示画面上でブランクにすることによって、ドツト
プリンタによって印字される文章とCRT表示装置上に
表わされる文章との行間幅を相対的に一致させることが
で、きる。′ □行間幅Cをプリンタのドツト数に換算
するには、次のようにすればよい。すなわち、行間幅C
のドツト数をnとすると、 n E= (A−8) + (E’−D )、’、  
n=(A−B−D/E)+1  ’但し′E:ドットビ
ツチ(一定) D二ドツト径  (一定) となる。
Therefore, the line spacing width C calculated above is replaced by the number of dots of the dot printer, and the number of scanning lines corresponding to the number of dots is C.
This can be done by blanking the RT display screen so that the line spacing between the text printed by the dot printer and the text displayed on the CRT display device can be relatively matched. ' □To convert the line spacing C to the number of dots on the printer, do the following. In other words, the line spacing C
If the number of dots in is n, then n E= (A-8) + (E'-D),',
n=(A-B-D/E)+1 'However' E: dot bit (constant) D2 dot diameter (constant).

この発明は、上記前えを基礎になされたもので、その具
体的な11歳および動作について政事に説明する。
This invention is based on the foregoing, and its specific details and operation will be explained below.

第3図はこの発明の一実施例の構成概略図である。図を
参照して、この実胞例の文章処理装置は、外観的にはキ
ーボード装置1.CR7表示装置6およびプリンタ8等
を含む。キーボード装置1には、たとえば文字入カキ−
および編集制御キーが1希えられ、該(9bえられたキ
ーを操作することにより、その操作したキーに対応する
文字コードまたは関連のコード信号および制御コードが
CPU2に与えられる。CPU2は、予め定められた編
集プログラムが記憶されたROM3に従って、表示制御
装置5やプリンタ制御装置7等の制御動作を行なうa4
はRΔN4であり、少なくともキーボードHv?11の
文字入カキ−より入力され、CPU2によって編集され
た文章データを記憶する文章バラノア41と、キーボー
ド装置1から入力され、CPIJ2によってyuyされ
たドツト数で表わされる行間データを各行ごとに記憶す
るエリア42とを含む。文章データはプリンタ8によっ
て印字される。このプリンタ8の制御をするのがプリン
タ制御装置7である。また、プリンタ制御部N7はCP
U2によって制御されている。さらに、CPU2は表示
制御Il装N5の制御をする。表示制御装置5はCR7
表示装置6の制御部であり、その詳細な構成ブロック図
を第4図に示す。
FIG. 3 is a schematic diagram of an embodiment of the present invention. Referring to the figure, the text processing device of this example has a keyboard device 1. It includes a CR7 display device 6, a printer 8, etc. The keyboard device 1 includes, for example, character input keys.
and edit control key are set by 1, and by operating the key obtained (9b), the character code corresponding to the operated key or the related code signal and control code are given to the CPU 2. A4 that controls the display control device 5, printer control device 7, etc. according to the ROM3 in which a predetermined editing program is stored.
is RΔN4, and at least the keyboard Hv? A text baranoa 41 stores text data input from the 11 character input keys and edited by the CPU 2, and stores line spacing data expressed by the number of dots input from the keyboard device 1 and yuyed by the CPIJ 2 for each line. area 42. The text data is printed by the printer 8. A printer control device 7 controls this printer 8. In addition, the printer control unit N7 is
Controlled by U2. Further, the CPU 2 controls the display control unit N5. The display control device 5 is CR7
This is a control section of the display device 6, and a detailed configuration block diagram thereof is shown in FIG.

第4図を参照して、キャラクタメモリ(CM>101は
、CR7表示装置6の表示画面°と1対1で対応した記
憶エリアおよび行間データを各行単位に記憶するエリア
とを有する。表示画面に1対1で対応した記憶エリアに
は、たとえば文字コードからなる表示データが記憶され
る。キャラクタメモリ101はマルチプレクサ(MPX
)104を介して、書込みアドレスレジスタ(CMWA
DR)105と、読出しアドレスレジスタ(CMRAD
R)106とからのアドレスデータによってアドレス制
御される。このとき、マルチプレクサ104は、CRT
コントローラ100がら供給されるR/W信号によって
、書込み/続出し伍アドレスの切換えを行なう。
Referring to FIG. 4, the character memory (CM>101 has a storage area in one-to-one correspondence with the display screen of the CR7 display device 6 and an area for storing line spacing data for each line. Display data consisting of character codes, for example, is stored in storage areas that correspond one-to-one.Character memory 101 is connected to a multiplexer (MPX
) 104, the write address register (CMWA
DR) 105 and read address register (CMRAD).
The address is controlled by address data from R) 106. At this time, the multiplexer 104
An R/W signal supplied from the controller 100 switches the write/continue output address.

書込みアドレスレジスタ105は、CPU2(第3図)
からCRTコントローラ10oに供給されるアドレス情
報によって設定される。また、続出しjノドレスレジス
タ106によってアドレスされ、読出された文字コード
は、キャラクタジェネレータアドレス変換回路(OCA
)108に供給され、同じく読出された行間データは、
Aバッファ107に記憶される。
The write address register 105 is the CPU 2 (FIG. 3).
The address information is set by address information supplied from the CRT controller 10o to the CRT controller 10o. Further, the character code addressed and read by the successive j address register 106 is sent to the character generator address conversion circuit (OCA).
) 108 and also read out, the line spacing data is
It is stored in the A buffer 107.

102は、キャラクタジェネレータ(CG)であり、上
述のキャラクタジェネレータアドレス変換回路108か
らのアドレスデータと、CRTコン1〜ローラ100か
らのアドレスデータとがキャラクタジェネレータアドレ
ス回路(CGADR)109に供給される。そして、キ
ャラクタメモリ101より読出された文字コードに対応
するパターンが読出されて、ジノ]・レジスタ等で構成
される字間設定回路(SR)113に記憶される。この
字間設定回路113では、たとえば、キャラクタジェネ
レータ102より読出される3バイト〈24ドツト)の
1つの列のパターンデータが記憶された後に、4ビツト
の字間スペースデータが記憶されることによって、28
ビツトのパターンデータが作成され、イメージメモリ(
IM)103に書込まれる。
102 is a character generator (CG), and address data from the above-mentioned character generator address conversion circuit 108 and address data from the CRT controller 1 to roller 100 are supplied to a character generator address circuit (CGADR) 109. Then, a pattern corresponding to the character code read out from the character memory 101 is read out and stored in a character spacing setting circuit (SR) 113 comprising a Gino register or the like. In this character spacing setting circuit 113, for example, after one column of pattern data of 3 bytes (24 dots) read out from the character generator 102 is stored, 4 bits of character spacing data are stored, so that 28
The bit pattern data is created and the image memory (
IM) 103.

イメージメモリ103では、CR丁63のラスタ走査に
同期して、アドレスが設定される読出し71−’レスレ
ジスタ(JMRADR)110.!:、パターンデータ
を書込む際に設定される書込みアドレスレジスタ(IM
WADR)111とが、マルチプレクサ(MPX)11
2を介してアドレス設定される。マルチプレクサ112
は、CRTコントローラ100からのR/W信月によっ
て切換えられる。続出しアドレスレジスタ110によっ
て読出されたデータは、パラレル/シリアル(P/S〉
変換回路114を介して、CR7表示装置6のビデオ回
路61に供給される。CR7表示装置6の備える62は
偏向回路であり、CRTコントローラ100から供給さ
れる水平同期信号(H8YNC)と垂直同期信@ (V
SYNC)とによって、CRT63をラスタ走査する。
In the image memory 103, in synchronization with the raster scanning of the CR page 63, a read 71-' address register (JMRADR) 110. ! :, write address register (IM
WADR) 111 and multiplexer (MPX) 11
The address is set via 2. Multiplexer 112
is switched by the R/W signal from the CRT controller 100. The data read by the successive address register 110 is parallel/serial (P/S)
The signal is supplied to the video circuit 61 of the CR7 display device 6 via the conversion circuit 114. Reference numeral 62 in the CR7 display device 6 is a deflection circuit, which receives a horizontal synchronizing signal (H8YNC) supplied from the CRT controller 100 and a vertical synchronizing signal @ (V
SYNC) to raster scan the CRT 63.

以上説明した第3図および第4図に示す構成のこの発明
の一実施例の動作について、次に、第5図のフロー図を
参照して説明する。
The operation of the embodiment of the present invention having the configuration shown in FIGS. 3 and 4 described above will now be described with reference to the flowchart shown in FIG. 5.

この一実施例の動作は、「表示制御動作Jと「イメージ
データ展間制御動作」とに分けて考えることができる。
The operation of this embodiment can be divided into "display control operation J" and "image data display space control operation".

表示$す押動作とは、文章処理装置のキーボード装置1
(@3図)から文章入力または編集IIItII入力が
あったとき、その入力データを所定の・文章形式に編集
してキャラクタメモリ101(14図)に記憶するまで
の制御動作である。
The display $ press operation refers to the keyboard device 1 of the text processing device.
(@Figure 3) When there is a text input or edit IIItII input, this is a control operation that edits the input data into a predetermined text format and stores it in the character memory 101 (Figure 14).

この動作は、第5図(△)のフロー図に従ってなされる
。すなわち、第5図(A>を参照して、ステップS1に
おいて、文章データが入力されるたびに、その文章デー
タが成る行の先頭の文字データを含む文章データである
か否かが判断さる。
This operation is performed according to the flowchart shown in FIG. 5 (Δ). That is, referring to FIG. 5 (A>), in step S1, each time text data is input, it is determined whether the text data includes character data at the beginning of a line.

そして、その文章データが行の先頭データを含む場合、
ステップS2に進み、行間データ記憶エリア42(第4
図)に記憶する行送り!l(第2図のAで示す伍)を読
出す。そして、ステップS3において、既に説明した算
出方法によって行間幅C(第2図)をドツト数に換算し
た行間ドツト数を算出する。この算出した行間ドツト数
のデータを表示制御装置5(第3図)に転送する。この
とき、表示制御装置5では、マルチプレクサ104によ
って書込みアドレスレジスタ105を選択させるととも
に、キャラクタメモリ101に書込み指令を出して、上
述の行間ドツト数のデータをキャラクタメモリ101の
対応するエリアに記憶させる(ステップ84)。さらに
、文字データを、キャラクタメモリ101のアドレスデ
ータとともに転送し、キャラクタメモリ101に文字デ
ータを記憶させる(ステップS5)。
Then, if the text data includes data at the beginning of the line,
Proceeding to step S2, the line spacing data storage area 42 (fourth
Line spacing to be memorized in figure)! 1 (indicated by A in FIG. 2) is read out. Then, in step S3, the number of line spacing dots is calculated by converting the line spacing width C (FIG. 2) into the number of dots using the calculation method described above. The calculated data on the number of inter-line dots is transferred to the display control device 5 (FIG. 3). At this time, the display control device 5 causes the multiplexer 104 to select the write address register 105, issues a write command to the character memory 101, and stores the data of the number of line spacing dots in the corresponding area of the character memory 101 ( Step 84). Further, the character data is transferred together with the address data of the character memory 101, and the character data is stored in the character memory 101 (step S5).

このようにして、キャラクタメモリ101に所定の文章
形式で記憶された文章データは、次に説明するイメージ
データ展間制御動作を経て、CR1表示装置6(第3図
)に表示される。
The text data stored in the character memory 101 in a predetermined text format in this manner is displayed on the CR1 display device 6 (FIG. 3) through an image data display control operation, which will be described next.

次に、イメージデータ展間制御動作を、第5図(B)に
示づ゛フロー図を参照して説明する。
Next, the image data storage control operation will be explained with reference to the flowchart shown in FIG. 5(B).

イメージデータ展開制御動作がスタートすると、ステッ
プ310において、キャラクタメモリ101の読出しお
よびイメージメモリ103の書込み指令が、CRTコン
トローラ100(第4図)力1ら出力される。したがっ
て、各マルチプレクサ1O4および112によって、そ
れぞれ読出しアドレスレジスタ(CMRADR> 10
6と書込みアドレスレジスタ(CMWADR)111と
が選択される。さらにこのとき、読出しアドレスレジス
タ106と書込みアドレスレジスタ111とがイニシャ
ライズされる。そして、イメージメモリ103に記憶さ
れるべき行間データが続出されて、へバッフ1107に
記憶されろくステップ511)ステップ812では、キ
ャラクタメモリ101より文字データが読出され、該デ
ータはキャラクタジェネレータアドレス変換回路(OC
A>108に転送され、さらに、キャラクタジェネレー
タアドレスデータに’lされて、キャラクタジェネレー
タアドレス回路(CGADR)109に供給される(ス
テップ513)。キャラクタジェネレータ102は、キ
ャラクタジェネレータアドレス回路109から、たとえ
ば、3バイトでなる対応の1ラインのパターンテ′−夕
を読出して、字間設定回路(SR)113に記憶する。
When the image data development control operation starts, in step 310, a command to read the character memory 101 and write to the image memory 103 is outputted from the CRT controller 100 (FIG. 4). Therefore, each multiplexer 1O4 and 112 selects a read address register (CMRADR>10
6 and write address register (CMWADR) 111 are selected. Furthermore, at this time, read address register 106 and write address register 111 are initialized. Then, the line spacing data to be stored in the image memory 103 is successively stored in the buffer 1107.In step 511) and step 812, character data is read out from the character memory 101, and the data is transferred to the character generator address conversion circuit ( O.C.
A>108, and further converted into character generator address data and supplied to the character generator address circuit (CGADR) 109 (step 513). The character generator 102 reads a corresponding one-line pattern template of, for example, 3 bytes from the character generator address circuit 109 and stores it in the character spacing setting circuit (SR) 113.

さらに、キャラクタジェネレータ102は、4ビツトの
スペースドツトを挿入して、28ビツトの1ラインパタ
ーンデータな作成する(ステップS ’+ 5 >。
Furthermore, the character generator 102 inserts a 4-bit space dot to create 28-bit 1-line pattern data (step S'+5>).

続いて、ステップ816では、字間設定回路ゴ13のデ
ータを、イメージメモリ103の書込みアドレスレジス
タ111で示す位置に書込み、イメージメモリ103に
1ラインくたとえば、28ドツト×40字)の舊込みが
完了づるまで、書込みアドレスレジスタ111の列アド
レスを歩進スるとともに(ステップS17.ステップ8
18)、読出しアドレスレジスタ106の列アドレスを
歩進して、上記動作を繰返す(ステップ819)。
Next, in step 816, the data of the character spacing setting circuit 13 is written to the position indicated by the write address register 111 of the image memory 103, and one line is written in the image memory 103, for example, 28 dots x 40 characters). The column address of the write address register 111 is incremented until the write is completed (Step S17. Step 8).
18) The column address of the read address register 106 is incremented and the above operation is repeated (step 819).

ステップ817において、1ライン分のデータ書込みが
完了すると、ステップS30に移る。ステップ$30で
は、イメージメモリ103の24ラインすべての書込み
が終了か否かを判断して、まだの場合は、書込みアドレ
スレジスタ111の行アドレスを歩進する(ステップ5
31)とともに、再び書込みアドレスレジスタ111の
列アドレスおよび読出しアドレスレジスタ106の列ア
ドレスをリセットして先頭に戻しくステップ532)、
上記動作を繰返す。
In step 817, when data writing for one line is completed, the process moves to step S30. In step $30, it is determined whether writing of all 24 lines of the image memory 103 has been completed, and if not, the row address of the write address register 111 is incremented (step 5).
31) and a step 532) of resetting the column address of the write address register 111 and the column address of the read address register 106 to return to the beginning;
Repeat the above operation.

ステップS30において、たとえば、24X28×40
字の1行分のイメージデータ展開を終えるど、次のステ
ーツブS 401こ進行する。ステップ840では、へ
バッファ107の行間データを読出し・、このデータ分
の冴込みアドレスレジスタ11′1を歩進4る(ステッ
プ541)、、、しt;がって、イメージメモリ103
には、このデータ分の自込みラインがスキップされ、初
期にはすべてリセットされCいるの−(・、イメージデ
ータとしてはスペースドラl= r 0.1が記憶され
ることになる(ステップ542)。それゆえ、ステップ
は843に進み、読出しアドレスレジスタ106の行ア
ドレスを歩進させ、次の行の読出づ位置を指定1.、さ
らに、読出しアドレスレジスタ106.!込みアドレス
レジスタ111をリセットして(ステップ$44)、丙
び上記動作を繰返す。
In step S30, for example, 24×28×40
Once the image data for one line of characters has been developed, the process proceeds to the next state S401. In step 840, the inter-line data of the buffer 107 is read out, and the fill address register 11'1 for this data is incremented by 4 (step 541).
In this case, the self-contained line for this data is skipped, and all are reset in the initial stage. Space driver l=r 0.1 is stored as image data (step 542). Therefore, the step advances to 843, increments the row address of the read address register 106, specifies the reading position of the next row, and then resets the read address register 106.!Include address register 111. (Step $44), and repeat the above operation.

ステップ84.2において、行間データの歩進を行なっ
た際、書込みアドレスレジスタ111の表示数とCRT
の表示ライン数nから24を減じたアドレスとが比較さ
れる。、イして、このとさ、(書込みアドレスレジスタ
)>(n−24)であるならば、すなわち、残りライン
数が、1行分の表示容量を有しないと判断した場合は、
イメージデータの展開を終了して動作を終わる。
In step 84.2, when the line spacing data is incremented, the display number of the write address register 111 and the CRT
The address obtained by subtracting 24 from the number of display lines n is compared. , and then, if (write address register)>(n-24), that is, if it is determined that the remaining number of lines does not have the display capacity for one line,
Expanding the image data ends and the operation ends.

以上のようにして1罫間されたイメージメモリ103の
データは、その後、CRr63のラスタ走査に同期して
、読出し?ドIノスレジスタ110を制Vすることによ
って、順次対応ラーrンのイメージデータが、パラレル
/シリアル変換回路114に供給され、ビデオ回路61
に順次供給されて、CRT63に表示される。
The data in the image memory 103 that has been divided into one line as described above is then read out in synchronization with the raster scanning of the CRr 63. By controlling the output voltage register 110, the image data of the corresponding RAN is sequentially supplied to the parallel/serial conversion circuit 114, and the video circuit 61
are sequentially supplied to the CRT 63 and displayed on the CRT 63.

以上のような動作により、CRT表示装置6−Fに表示
される文章は、文章椙集に応じて行間幅を任意の幅にし
て表示できる。
By the above-described operation, the text displayed on the CRT display device 6-F can be displayed with an arbitrary line spacing depending on the text collection.

発明の効果 以上のように、この発明は、行間データの指定する行間
幅をドツトプリンタのドツト数に換算し、その換算した
ドツト数分だけCRT表示装置の走査枠をずらUるよう
にしたので、該表示装置上に表示される文章データの行
間が可変可能になる。
Effects of the Invention As described above, in this invention, the line spacing specified by the line spacing data is converted into the number of dots of the dot printer, and the scanning frame of the CRT display device is shifted by the converted number of dots. The line spacing of text data displayed on the display device can be varied.

それゆえ、この発明の文章処理装置によって文章を作成
する場合、操作者はCRT表示装置上で入ツノ状態を確
認しながら文章の作成処理ができる。
Therefore, when creating a text using the text processing device of the present invention, the operator can create the text while checking the input horn state on the CRT display device.

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

第1図tit行間アータの意味を説明するための説明図
である。 第2図iよ第1図の行間データをドツト配列に換算した
ときのドツト数を求めるための説明図である。 第3図この発明の一実旋例の購成概略図である。 第4図は第3図に示す表示制御装置の詳細なブロック図
である。 第5図は第3図および第4図の構成の動作を説明するフ
ロー図である。 図において、1はキーボード装置、2はcpu。 4はRAM、41は文章バッファ、42は行間データ記
憶領域、51.L表示制御]装置、6はCRT表示装置
を示す。 205
FIG. 1 is an explanatory diagram for explaining the meaning of tit line spacing arta. FIG. 2i is an explanatory diagram for determining the number of dots when the line spacing data of FIG. 1 is converted into a dot array. FIG. 3 is a schematic diagram of the purchase of an example of this invention. FIG. 4 is a detailed block diagram of the display control device shown in FIG. 3. FIG. 5 is a flow diagram illustrating the operation of the configurations of FIGS. 3 and 4. In the figure, 1 is a keyboard device, and 2 is a CPU. 4 is a RAM, 41 is a text buffer, 42 is a line spacing data storage area, 51. L display control] device, 6 indicates a CRT display device. 205

Claims (1)

【特許請求の範囲】 処理Jべき入力データを入力するためのキーボード装置
、 入力されたi゛−夕を所定の形式の文章データに編集す
る手段、 前記編集された文章データを記憶する手段、前記編集さ
れた文章f−夕を表示するためのCR1表示装置、およ
び 前記編集された文章データを印字するドツトプリンタを
含む文章処理装置において、 前記キーボード装置により文章の行間の幅を指定する行
間データが入力されたとき、その行間データの指定する
行間幅を前記ドラ1〜プリンタのドツト数に換算する手
段、 前科換算手段の換算したドツト数分だけ前記CR1表示
装置の走査線をずらせることによって、前記表示装置上
に表示される文章データの行間が可変表示されるよう前
記CR丁表示装置を制御する手段、 前記換算手段の換算したドラ1〜数分だけ行間をあけて
印字するように前記プリンタを制御する手段をさらに含
む、文章処理装置。
[Scope of Claims] A keyboard device for inputting input data to be processed, means for editing the input data into text data in a predetermined format, means for storing the edited text data, In a text processing device including a CR1 display device for displaying the edited text data and a dot printer for printing the edited text data, line spacing data specifying the width between lines of the text is input using the keyboard device. means for converting the line spacing specified by the line spacing data into the number of dots of the driver 1 to printer; and shifting the scanning line of the CR1 display device by the number of dots converted by the criminal record conversion means means for controlling the CR page display device so that the line spacing of the text data displayed on the display device is variable; A text processing device further comprising means for controlling.
JP58021805A 1983-02-10 1983-02-10 Sentence processing device Granted JPS59146333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58021805A JPS59146333A (en) 1983-02-10 1983-02-10 Sentence processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58021805A JPS59146333A (en) 1983-02-10 1983-02-10 Sentence processing device

Publications (2)

Publication Number Publication Date
JPS59146333A true JPS59146333A (en) 1984-08-22
JPH0474741B2 JPH0474741B2 (en) 1992-11-27

Family

ID=12065263

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58021805A Granted JPS59146333A (en) 1983-02-10 1983-02-10 Sentence processing device

Country Status (1)

Country Link
JP (1) JPS59146333A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02272673A (en) * 1989-03-02 1990-11-07 Oce Nederland Bv Desktop documentation system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57211640A (en) * 1981-06-16 1982-12-25 Ibm Hybrid pitch display
JPS581230A (en) * 1981-05-29 1983-01-06 インタ−ナシヨナル・ビジネス・マシ−ンズ・コ−ポレ−シヨン Word processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS581230A (en) * 1981-05-29 1983-01-06 インタ−ナシヨナル・ビジネス・マシ−ンズ・コ−ポレ−シヨン Word processor
JPS57211640A (en) * 1981-06-16 1982-12-25 Ibm Hybrid pitch display

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02272673A (en) * 1989-03-02 1990-11-07 Oce Nederland Bv Desktop documentation system

Also Published As

Publication number Publication date
JPH0474741B2 (en) 1992-11-27

Similar Documents

Publication Publication Date Title
US4715006A (en) Image forming apparatus
US5327342A (en) Method and apparatus for generating personalized handwriting
JPH05298289A (en) Word processor
KR100260700B1 (en) Image generating system and method
JPH05246078A (en) Raster image serial printer
US4451899A (en) Display apparatus for simultaneous display of character information having different character pitches
JPH0547853B2 (en)
JPS59146333A (en) Sentence processing device
JPS599753A (en) Editing device of document provided with picture
JPH01165443A (en) Printer
JPH0235345B2 (en)
JPH0583384B2 (en)
JPS5890692A (en) Display controller for character information processor
JPS6356576B2 (en)
JPH08153092A (en) Document processor
JPS637963A (en) Printing apparatus
JPS62211720A (en) Printing system
JPH0747320B2 (en) Character processor
JPH1199709A (en) Printer and control method therefor
JPH04205346A (en) Printer device
JPS648850B2 (en)
JPH0825717A (en) Printer
JPH0736641A (en) Document editing device
JPS62182832A (en) Document printing device
JPH02265769A (en) Recorder