JPS6322332B2 - - Google Patents

Info

Publication number
JPS6322332B2
JPS6322332B2 JP58009180A JP918083A JPS6322332B2 JP S6322332 B2 JPS6322332 B2 JP S6322332B2 JP 58009180 A JP58009180 A JP 58009180A JP 918083 A JP918083 A JP 918083A JP S6322332 B2 JPS6322332 B2 JP S6322332B2
Authority
JP
Japan
Prior art keywords
text
cursor
counter
line
data
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
JP58009180A
Other languages
Japanese (ja)
Other versions
JPS59135582A (en
Inventor
Hiroki Maruido
Keiju Yasuda
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 JP58009180A priority Critical patent/JPS59135582A/en
Publication of JPS59135582A publication Critical patent/JPS59135582A/en
Publication of JPS6322332B2 publication Critical patent/JPS6322332B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Record Information Processing For Printing (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 <技術分野> 本発明は文章処理装置に有効なプリンタの制御
方式を提供するものである。
DETAILED DESCRIPTION OF THE INVENTION <Technical Field> The present invention provides a printer control method that is effective for document processing devices.

<従来技術> 一般に文章処理装置例えばワードプロセツサで
は入力した文章を確認したり又は文章レイアウト
を表示させるために大きな表示画面を有する
CRT表示装置を備えるもの、又は1行分或は2,
3行程度の小型の表示装置と文章レイアウトを専
用に表示するレイアウト表示装置とを備えるもの
があつた。
<Prior Art> Generally, text processing devices such as word processors have a large display screen for checking input text or displaying the text layout.
equipped with a CRT display device, or one line or two,
Some were equipped with a small display device of about 3 lines and a layout display device that exclusively displayed the text layout.

これらのいずれにおいても、文章レイアウトを
表示装置で表示させる関係上、表示装置上での位
置と実際の文書作成書面上での位置とのずれがど
うしてもあり、それらの対応関係がとりにくいも
のであつた。
In any of these cases, because the text layout is displayed on a display device, there is inevitably a discrepancy between the position on the display device and the position on the actual document, making it difficult to establish a correspondence relationship between them. Ta.

また、上記前者のものでは大きな表示装置を必
要として装置が大型化しまた後者のものでは2種
類の表示装置を別個に必要として高価になるとい
う問題があつた。
Further, the former method requires a large display device, resulting in an increased size of the device, and the latter method requires two separate display devices, resulting in an increase in cost.

<目的> それ故、本発明では文章レイアウトが表示装置
によらず、当該文章処理装置が備えるプリンタを
利用し、該プリンタのキヤリツジを空送り操作さ
せて実際の文書作成書面上で確認できるように成
したものである。
<Purpose> Therefore, in the present invention, the text layout can be checked on the actual document by using the printer included in the text processing device and by running the printer's carriage in a free feed operation, without depending on the display device. It was completed.

また、プリンタを利用して文章レイアウトを確
認させるようにすることで、入力文章を確認する
ための表示装置に自由度をもたせることができ、
つまり1行分或は2,3行分程度の小型の表示装
置でも構成できると共に特別な文章レイアウト表
示装置をも必要としない文章処理装置を提供でき
るように成したものである。
In addition, by using a printer to check the text layout, it is possible to have more flexibility in the display device used to check the input text.
In other words, it is possible to provide a text processing device that can be configured with a display device as small as one line or two or three lines, and does not require a special text layout display device.

従つて、本発明ではプリンタにより文章レイア
ウトが確認できるように、プリンタのキヤリツジ
を空送り制御させるものであり、特に文章入力位
置を示す表示装置のカーソルの移動に伴なつてキ
ヤリツジを文書紙面上の対応する位置に移動でき
るようになしたものである。
Therefore, in the present invention, the printer's carriage is controlled to be moved in a blank manner so that the text layout can be confirmed by the printer, and in particular, the carriage is moved so that it moves on the document surface as the cursor on the display device indicating the text input position moves. It is designed so that it can be moved to the corresponding position.

<実施例> 第1図は本発明装置を具備した文章処理装置
(ワードプロセツサ)の構成を示すものである。
<Embodiment> FIG. 1 shows the configuration of a text processing device (word processor) equipped with the device of the present invention.

第1図において、1はキーボード装置であつて
操作したキーに対応する文字,シンボルコードお
よび関連するコードと、制御コードを発生して
CPU2に供給する。
In Figure 1, 1 is a keyboard device that generates characters, symbol codes, related codes, and control codes corresponding to the operated keys.
Supply to CPU2.

このキーボード装置1には、文章入力するため
の文字キー10と、編集制御キー11が設けら
れ、この制御キー11には入力した文章データを
プリンタで記録することを指示する印字指示キー
12と、入力した文章データのうち部分的に編集
する際この領域を指示するキー13(本例では文
章データの一部分を記録するのに利用される)
と、表示装置上に入力位置として表示されるカー
ソルマークを移動させるところの左移動キー
()14及び右移動キー()15更に文章下
位行へ移動するキー()16及び文章上位行へ
移動するキー()17と、これらの移動キーの
操作時および文字入力時にプリンタのキヤリツジ
を記録せずに移動させることを指示するところの
オルタネイト構成となつている空送り指示キー1
8とが設けられている。
This keyboard device 1 is provided with a character key 10 for inputting text, and an editing control key 11, and the control key 11 includes a print instruction key 12 for instructing that the input text data be recorded on a printer. Key 13 to specify this area when editing a part of the input text data (in this example, it is used to record a part of the text data)
and a left movement key () 14 and a right movement key () 15 for moving the cursor mark displayed as an input position on the display device, and a key () 16 for moving further to a lower line of text, and a key () 16 for moving to an upper line of text. key ( ) 17, and a jump feed instruction key 1, which has an alternate configuration and instructs the printer to move the printer's carriage without recording when operating these movement keys or inputting characters.
8 is provided.

前記CPU2は、予め固定的に編集プログラム
を記憶するROM3によつて制御される。この編
集プログラムは、一般にワードプロセツサとして
知られているものであり、基本的には文字入力キ
ーより文章入力してこの文章データを予め決めた
文書フオーマツトに従つて編集を行なつて内部メ
モリ(文章バツフア)に記憶し、必要に応じてこ
の文章データをプリンタで印字して所望の文書作
成するものである。この他にROM3には後述す
る本発明の編集機能のプログラムを記憶してい
る。
The CPU 2 is controlled by a ROM 3 that stores an editing program in a fixed manner in advance. This editing program is generally known as a word processor, and basically inputs text using character input keys, edits this text data according to a predetermined document format, and stores it in the internal memory ( This text data is stored in a text buffer (text buffer) and printed as necessary using a printer to create a desired document. In addition, the ROM 3 stores a program for the editing function of the present invention, which will be described later.

4は上記CPU2によつてアクセスされるRAM
であり、以下のように構成している。
4 is RAM accessed by the above CPU2
It is structured as follows.

40は上記文字入力キーより入力された文字コ
ードでなる文章データを記憶する文章バツフアで
あり、入力された文字コードを入力位置を示すア
ドレスポインタ(図示せず)に従つて対応位置に
記憶するようにして可変長で入力順に記憶され
る。
Reference numeral 40 denotes a text buffer for storing text data consisting of a character code input from the character input key, and stores the input character code at a corresponding position according to an address pointer (not shown) indicating the input position. It is stored in variable length in the order of input.

この文章データを表示装置およびプリンタに出
力する場合に行単位に編集されすなわち、改行デ
ータが読出されると出力装置の行が改められて出
力され、又改行データが読出されずに行末まで達
すると自動的に行が改められるように編集され
る。
When outputting this text data to a display device or printer, it is edited line by line, that is, when line feed data is read, the line on the output device is changed and output, and if the line feed data reaches the end of the line without being read. Edited so that lines are automatically changed.

41は行ピツチメモリであり、各行ごとに行間
ピツチ量(次の行までの距離)が記憶されてい
る。このピツチ量はフオーマツトの変更ごとにピ
ツチ量が設定されるピツチバツフア42のデータ
が文章の改行ごとに転送されて記憶する。
A line pitch memory 41 stores the line pitch amount (distance to the next line) for each line. This pitch amount is stored by transferring data from a pitch buffer 42, in which the pitch amount is set each time the format is changed, to each new line of the text.

43は行カウンタであり、文章データの改行ご
とにカウントするカウンタであつて、上記行ピツ
チメモリのデータを読出す際にこのカウンタ値に
応じて読出す。
Reference numeral 43 denotes a line counter, which counts each line break in text data, and reads out data in accordance with this counter value when reading data from the line pitch memory.

44は表示制御部5に設けているカーソルカウ
ンタのデータを編集制御時に記憶するカウンタ
SCCである。
44 is a counter that stores the data of the cursor counter provided in the display control unit 5 during editing control.
It is SCC.

45は文章データの各文字ごとにキヤリツジの
移動量を更新するキヤリツジカウンタCARR―
Cであり、またCARBf46はこのカウンタデー
タを一時的に記憶するバツフアである。この場
合、文字には大文字と小文字(大文字の1/2ピツ
チ幅)とがあり、これを識別するために文字コー
ドに1ビツト付加されており、このビツトによつ
てカウント量が変わる。
45 is a carriage counter CARR which updates the amount of carriage movement for each character of text data.
C, and CARBf46 is a buffer that temporarily stores this counter data. In this case, there are uppercase letters and lowercase letters (1/2 pitch width of uppercase letters), and one bit is added to the character code to identify them, and the count amount changes depending on this bit.

47は記録媒体を正方向(文書の下位行方向)
に移動することを表わすフラツグF1であり、ま
た48は上記反対方向に移動することを表わすフ
ラツグF2である。
47 is the recording medium in the forward direction (lower row direction of the document)
A flag F 1 indicates movement in the opposite direction, and 48 indicates a flag F 2 indicating movement in the opposite direction.

5は表示装置6の表示制御部であり、表示画面
に対応した記憶エリアを有し、表示される文字の
コードデータを記憶する表示バツフア50と、表
示画面上の入力位置を示すカーソルマークを表示
するためのカーソルカウンタCC51と、表示バ
ツフア50に記憶する文字コードより対応の文字
パターンを発生する文字パターン発生器CG52
とを有している。
Reference numeral 5 denotes a display control unit of the display device 6, which has a storage area corresponding to the display screen, and displays a display buffer 50 for storing code data of displayed characters and a cursor mark indicating the input position on the display screen. a cursor counter CC51 for generating the characters; and a character pattern generator CG52 for generating a corresponding character pattern from the character code stored in the display buffer 50.
It has

6は1行分又は2〜4行分程度表示できる表示
装置実施例では2〜4行分程度の表示ができる表
示装置であつて走査に同期して表示バツフア50
より文字コードが読出され、前記CG52にてパ
ターンに展開されて文字が表示される。
Reference numeral 6 denotes a display device capable of displaying one line or two to four lines.In the embodiment, a display device capable of displaying two to four lines is provided, and a display buffer 50 is provided in synchronization with scanning.
The character code is read out, developed into a pattern by the CG 52, and the character is displayed.

7は例えばサーマルプリンタの如きドツトプリ
ンタ8を制御するプリンタ制御部である。
Reference numeral 7 denotes a printer control unit that controls a dot printer 8 such as a thermal printer.

このプリンタ8において、81は例えば24×24
の記録素子を有する記録ヘツドであり、キヤリツ
ジモータ84によりプラテン82に沿つて左右方
向に移動される(正転時はキヤリツジ右移動)。
プラテン82は記録媒体83を搬送し、プラテン
モータ85によつて正逆方向に回転される(正転
時は記録媒体83を上昇させる)。
In this printer 8, 81 is, for example, 24×24
It is a recording head having recording elements, and is moved in the left-right direction along the platen 82 by a carriage motor 84 (the carriage moves to the right during normal rotation).
The platen 82 conveys a recording medium 83 and is rotated in forward and reverse directions by a platen motor 85 (when rotating forward, the recording medium 83 is raised).

86は記録ヘツドの移動量を検知するセンサー
であり、このセンサー信号はプリンタ制御部7の
プリンタキヤリツジカウンタPCARC73をカウ
ントさせる。
A sensor 86 detects the amount of movement of the recording head, and this sensor signal causes the printer carriage counter PCARC73 of the printer control section 7 to count.

87は記録媒体83の後端を検知する用紙セン
サーであり、記録ヘツド部とこのセンサー87間
は文書の下余白に相当する。
A paper sensor 87 detects the trailing edge of the recording medium 83, and the space between the recording head and this sensor 87 corresponds to the bottom margin of the document.

プリンタ制御部7において、70は記録ヘツド
81の駆動回路であり、文字コードを記憶するプ
リントバツフア72のデータよりパターン発生器
CG71にて文字パターンに展開されて文字が記
録される。74は上記モータ84,86の駆動回
路である。
In the printer control unit 7, 70 is a drive circuit for the recording head 81, which generates a pattern generator based on data from a print buffer 72 that stores character codes.
The CG71 develops the characters into a character pattern and records the characters. 74 is a drive circuit for the motors 84 and 86.

次にこの装置の操作について説明するが、主な
操作の概要を以下に述べる。
Next, the operation of this device will be explained, and an outline of the main operations will be described below.

文章入力:作成しようとする文書に従つて文
字入力キー10より文字入力すると、表示装置
のカーソル位置に入力され、更に文章バツフア
に記憶される。
Text input: When characters are entered using the character input key 10 in accordance with the document to be created, they are entered at the cursor position on the display device and are further stored in the text buffer.

カーソル移動:上記のように文章入力した
後、訂正等の編集のためにカーソルキー14〜
17を操作すると、カーソルマークが日的位置
に移動すると共に文章バツフア40の入力位置
を更新する。
Cursor movement: After entering the text as shown above, use the cursor keys 14 to 14 for editing such as corrections.
17, the cursor mark moves to the date position and the input position of the text buffer 40 is updated.

印字:印字キーを操作すると、文章バツフア
40に記憶する文章データの先頭より順に読出
してプリンタ8にて記録する。
Printing: When the print key is operated, text data stored in the text buffer 40 is sequentially read from the beginning and recorded by the printer 8.

空送り:このキーを操作すると、以降上記
の操作ごとにプリンタのキヤリツジをカーソ
ル位置と対応する位置に記録せずに移動する。
Skip feed: When this key is operated, the printer's carriage will be moved to the position corresponding to the cursor position without recording for each of the above operations thereafter.

領域指定:上記カーソルキーによつて領域指
定すべきエリアの先頭に移動させてこのキー1
3を操作すると、この位置が記憶されると共に
再びカーソル移動を行なつてカーソルをエリア
の後端まで移動させ、再度このキー13を操作
するとこの位置が保持される。そして、この操
作につづいて印字キー12を操作すると、先頭
の指定位置まで、キヤリツジを空送りした後、
当該指定位置から後端の指定位置までの文章デ
ータが記録される。
Area specification: Use the cursor keys above to move to the beginning of the area to be specified and press this key 1.
When key 13 is operated, this position is memorized and the cursor is moved again to the rear end of the area, and when this key 13 is operated again, this position is held. Then, when the print key 12 is operated following this operation, the carriage is moved to the specified position at the beginning, and then
The text data from the specified position to the specified position at the rear end is recorded.

次に第2図〜第8図のフローチヤートに従つて
上記各操作の具体的作用を説明する。
Next, the specific effects of each of the above operations will be explained according to the flowcharts shown in FIGS. 2 to 8.

文章入力の場合 これは第2図のステツプ100以降が実行さ
れ、文字入力キーより入力された文字コードは文
章バツフア40の入力位置に記憶すると共に表示
バツフア50のカーソルカウンタCC51に対応
する位置に記憶する(ステツプ101,102)。
更に、入力したデータが改行データかおよびカー
ソルカウンタCC51が行末にあるか判定される
(ステツプ103,104)。
In the case of text input, steps 100 and subsequent steps in FIG. (Steps 101 and 102).
Further, it is determined whether the input data is line feed data and whether the cursor counter CC51 is at the end of the line (steps 103 and 104).

これらの判定においてともに否定されると、ス
テツプ105に進行して入力された文字コードに
対応する送りピツチ量をCARR―C45に加算
する(なお入力位置が行先頭にあればCARR―
Cはリセツトされている)。更に、カーソルカウ
ンタCC51を次の入力位置に更新すると共に文
章バツフア40の入力位置を次の入力位置に更新
する(ステツプ106,107)。
If both of these determinations are negative, the process proceeds to step 105, where the feed pitch amount corresponding to the input character code is added to CARR-C45 (if the input position is at the beginning of the line, CARR-C45 is added).
C has been reset). Further, the cursor counter CC51 is updated to the next input position, and the input position of the text buffer 40 is updated to the next input position (steps 106 and 107).

更に、上記空送りモードに設定されているか否
か判定され、設定されていなければステツプ11
0へ進行して初期的にはF147がリセツトして
おり、最初の入力動作が完了する。文字入力され
るごとに上記動作が繰返される。
Furthermore, it is determined whether or not the above-mentioned jump feed mode is set, and if it is not set, step 11 is performed.
0, F 1 47 is initially reset, and the first input operation is completed. The above operation is repeated every time a character is input.

又、文字入力キー10より改行キーあるいは入
力位置が行末に達するとステツプ103,104
よりジヤツジされてステツプ120に進行し、キ
ヤリツジカウンタCARR―C45をリセツトす
ると共にカーソルカウンタCC51を次の行の先
頭位置に設定する。更に、行ピツチメモリ41の
行カウンタ43のカウント値に対応する位置に予
め行間のピツチ量を記憶するピツチバツフア42
のデータを記憶する。なお、このピツチ量は図示
していないが、フオーマツトの変更設定するごと
にそのピツチ量がピツチバツフア42に記憶され
ている。更に、F447をセツトする(ステツプ
120〜123)。
Also, when the line feed key is pressed using the character input key 10 or the input position reaches the end of the line, steps 103 and 104 are executed.
Then, the process advances to step 120, where the carriage counter CARR-C45 is reset and the cursor counter CC51 is set to the beginning position of the next line. Further, a pitch buffer 42 stores the amount of pitch between lines in advance at a position corresponding to the count value of the line counter 43 of the line pitch memory 41.
The data is stored. Although this pitch amount is not shown, the pitch amount is stored in the pitch buffer 42 each time the format is changed. Furthermore, F 4 47 is set (steps 120 to 123).

このF147がセツトすると、ステツプ110
より111へ進行して行カウンタ43をカウント
アツプすると共に前記F1リセツトして入力動作
を完了する。
When this F 1 47 is set, step 110
The program then proceeds to step 111, counts up the row counter 43, and resets F1 to complete the input operation.

以上の動作によつて、文章データが文章バツフ
ア40に記憶される。
Through the above operations, the text data is stored in the text buffer 40.

カーソル移動 カーソル移動指示において、先ず左カーソルキ
ー14を操作すると、第4図ステツプ250以降
が動作される。
Cursor movement When the left cursor key 14 is operated to instruct cursor movement, steps 250 and subsequent steps in FIG. 4 are operated.

これはこのキーを操作すると、文章バツフア4
0の入力位置が先頭位置にあるか否か判定され、
先頭にあれば以降動作されない。又カーソルカウ
ンタCC51が行頭にあるか判定され、もし否定
されるとステツプ253に進行してカーソルカウ
ンタCC51を1文字前の文字位置に設定する。
This means that when you operate this key, the text buffer 4
It is determined whether the input position of 0 is at the beginning position,
If it is at the beginning, it will not be operated thereafter. It is also determined whether the cursor counter CC51 is at the beginning of the line, and if negative, the process proceeds to step 253 and the cursor counter CC51 is set to the previous character position.

更に表示バツフア50のカーソルカウンタCC
51に対応するデータを読出し、その文字のピツ
チ量をキヤリツジカウンタCARR―Cより減算
する(ステツプ255)。更に空送りモードであ
るか否か判定され、このモードでなければF2
8をリセツトして完了する(ステツプ256,2
58)。
Further display buffer 50 cursor counter CC
51 is read out, and the pitch amount of that character is subtracted from the carriage counter CARR-C (step 255). Furthermore, it is determined whether or not it is in the jump feed mode, and if it is not in this mode, F 2 4
8 and complete (step 256, 2
58).

従つて、このキーの操作により入力位置が一つ
の前の位置に戻されることになる。
Therefore, the input position is returned to the previous position by operating this key.

又、カーソルカウンタCC51が行頭に位置し
ている時にこのキーを操作すると、ステツプ25
2より260に進行してカーソルカウンタCC5
1を表示バツフア5の前行先頭位置に設定すると
共にキヤリツジカウンタCARR―C45をリセ
ツトする(ステツプ260,261)。
Also, if you operate this key when the cursor counter CC51 is located at the beginning of the line, step 25 will be executed.
Progress from 2 to 260 and cursor counter CC5
1 is set at the top position of the previous line of the display buffer 5, and the carriage counter CARR-C45 is reset (steps 260, 261).

更にカーソルカウンタCC51の位置に対応す
るデータが改行データであるか否か判定され、否
定されるとカーソルカウンタCC51の対応する
表示バツフア50の文字データを読出し、その文
字のピツチ量をキヤリツジカウンタCARR―C
45に加算してカーソルカウンタCC51を次の
文字位置に更新する。
Furthermore, it is determined whether or not the data corresponding to the position of the cursor counter CC51 is line feed data, and if it is negative, the character data of the display buffer 50 corresponding to the cursor counter CC51 is read out, and the pitch amount of the character is stored in the carriage counter CARR. -C
45 and updates the cursor counter CC51 to the next character position.

更にカーソルカウンタCC51が行末にあるか
否か判定され、否定されれば上記ステツプ262
〜265が繰返される。
Furthermore, it is determined whether the cursor counter CC51 is at the end of the line, and if it is negative, the step 262 described above is executed.
~265 are repeated.

ここで改行データが読出されるかあるいはカー
ソルカウンタCC51が行末に達するとステツプ
266に進行する。この時カーソルカウンタCC
51は前行の行の最後に戻されたことになり、ス
テツプ266にて文章バツフア40の入力位置を
1つの前の位置に戻され(文章バツフア40は可
変長で記憶されているので、上記カーソルカウン
タCC51位置と対応した文章バツフアの位置を
示すことになる)、更に行カウンタ43をカウン
トダウンする(変化した行位置を示す)と共に
F2をセツトする(ステツプ266〜268)。
When the line feed data is read out or the cursor counter CC51 reaches the end of the line, the process advances to step 266. At this time, the cursor counter CC
51 has been returned to the end of the previous line, and in step 266 the input position of the text buffer 40 is returned to the previous position (since the text buffer 40 is stored in a variable length, the above (indicates the position of the text buffer corresponding to the position of the cursor counter CC51), further counts down the line counter 43 (indicates the changed line position), and
Set F2 (steps 266-268).

この動作により、表示画面のカーソル位置は前
行の文章末に配置されることになる。
This operation places the cursor on the display screen at the end of the previous line of text.

次に右カーソルキー15を操作すると、第3図
のステツプ200以降が実行される。
Next, when the right cursor key 15 is operated, steps 200 and subsequent steps in FIG. 3 are executed.

これはステツプ201において、先ずカーソル
カウンタCC51に対応する表示バツフア50に
データが有るか否か判定され、ここで否定される
と動作しない。すなわちカーソル位置以降右側に
データがなければこのキーを操作しても実行され
ない。
In step 201, it is first determined whether there is data in the display buffer 50 corresponding to the cursor counter CC51, and if this is negative, the operation does not occur. In other words, if there is no data to the right after the cursor position, the operation will not be executed even if this key is operated.

更に、表示バツフア50のカーソルカウンタ
CC51に対応する位置のデータが改行データで
あるかおよびカーソルカウンタCC51が行末に
あるか判定され、ここでともに否定されるとステ
ツプ204に進行してカーソルカウンタCC51
の位置の文字のピツチ量がキヤリツジカウンタ
CARR―C45に加算され、更にカーソルカウ
ンタCC51を次の位置に更新する(ステツプ2
04〜205)。
Furthermore, the cursor counter of the display buffer 50
It is determined whether the data at the position corresponding to CC51 is line feed data and whether the cursor counter CC51 is at the end of the line. If both are negative, the process proceeds to step 204 and the cursor counter CC51 is
The pitch of the character at the position is the carriage counter.
It is added to CARR-C45, and the cursor counter CC51 is updated to the next position (step 2).
04-205).

つづいて文章バツフアの入力位置を次の位置に
更新すると共にステツプ207,209を経て完
了する。このように、この右カーソルキーを操作
すると、表示装置のカーソル位置が次の文字位置
に移動して文章バツフアの入力位置が、次の入力
位置に移行する。又キヤリツジカウンタCARR
―C45が文字に応じたピツチ量分増加される。
Subsequently, the input position of the text buffer is updated to the next position, and the process is completed through steps 207 and 209. In this manner, when the right cursor key is operated, the cursor position on the display device moves to the next character position, and the input position of the text buffer moves to the next input position. Carriage counter CARR
-C45 is increased by the pitch amount according to the character.

また上記動作において、カーソル位置が改行デ
ータ位置又は行末位置に配置されている時に、こ
の右カーソルキー15を操作すると、以下のよう
に、次の行の先頭位置に移動する。
Further, in the above operation, when the cursor position is placed at the line feed data position or the line end position, if the right cursor key 15 is operated, the cursor moves to the beginning position of the next line as shown below.

すなわちステツプ202,203より220へ
進行してキヤリツジカウンタCARR―C45を
リセツトすると共にカーソルカウンタCC51を
次の行の先頭位置に設定し、F147をセツトす
る(ステツプ220〜222)。
That is, the program advances from steps 202 and 203 to 220, resets the carriage counter CARR-C45, sets the cursor counter CC51 to the beginning position of the next line, and sets F1 47 (steps 220-222).

このF1がセツトすると以降動作するステツプ
209より210へ進行して行カウンタ43をカ
ウントアツプして次の行位置を示すと共にF1
リセツトする(ステツプ210,211)。
Once F1 is set, the process proceeds from step 209 to step 210, where the row counter 43 is counted up to indicate the next row position and F1 is reset (steps 210, 211).

次にカーソルアツプキー()17を操作する
と、第6図のステツプ350以降が動作される。
Next, when the cursor up key ( ) 17 is operated, steps 350 and subsequent steps in FIG. 6 are operated.

これは先ず、カーソルカウンタCC51の現位
置データをカウンタSCC44に記憶すると共にカ
ーソルカウンタCC51の位置データを1行分ダ
ウンする(ステツプ351,352)。従つてカ
ウンタSCC44には前記現カーソル位置が記憶さ
れ、CC51は移動される1行ダウンした位置
(表示画面では1行上の同列位置)が記憶される。
First, the current position data of the cursor counter CC51 is stored in the counter SCC44, and the position data of the cursor counter CC51 is decreased by one line (steps 351, 352). Therefore, the counter SCC44 stores the current cursor position, and CC51 stores the position one row down to be moved (the same column position one row higher on the display screen).

つづいて、ステツプ353より355が繰返し
実行されてSCC44が現カーソル位置の行の先頭
に達するまで、カウンタSCCを1字分づつダウン
すると共に文章バツフアの入力位置をダウンす
る。カウンタSCC44が行頭に達すると(ステツ
プ353)、文章バツフアの入力位置も対応の位
置を示すことになり、ステツプ360へ進行す
る。このステツプ360でSCC44を前行の先頭
位置に設定する(移動されるカーソル位置の行の
先頭)。
Subsequently, steps 353 to 355 are repeatedly executed, and the counter SCC is decremented one character at a time, and the input position of the text buffer is decremented until the SCC 44 reaches the beginning of the line at the current cursor position. When the counter SCC 44 reaches the beginning of the line (step 353), the input position of the text buffer also indicates the corresponding position, and the process advances to step 360. In this step 360, the SCC 44 is set to the beginning position of the previous line (the beginning of the line where the cursor is being moved).

つづくステツプ361でこの先頭位置にデータ
があるか否か判定され、もし否定されると当該カ
ーソル行より1つ後の行は文章の先頭の行である
と判断して(つまり文章の先頭より上の行には文
章データがないから)ステツプ375より378
を実行し、上記ステツプ353より355の逆の
動作を行い、文章バツフアの入力位置を元の位置
に戻して動作完了し、結果的にはこのキーの動作
が実行されなかつたことになる。
In the following step 361, it is determined whether or not there is data at this first position, and if it is negative, it is determined that the line after the cursor line is the first line of the sentence (that is, it is above the beginning of the sentence). (because there is no text data in the line) Steps 375 to 378
is executed, and the operations in steps 353 to 355 are performed in reverse, and the input position of the text buffer is returned to its original position to complete the operation, and as a result, the operation of this key is not executed.

他方、前記ステツプ361でデータ有りと判定
すると、ステツプ362に進行してキヤリツジカ
ウンタCARR―C45をリセツトすると共に行
カウンタ43をカウントダウンしてカーソル移動
すべく行を示すことになる(ステツプ362,3
63)。
On the other hand, if it is determined in step 361 that there is data, the process proceeds to step 362, where the carriage counter CARR-C45 is reset and the line counter 43 is counted down to indicate the line to which the cursor should be moved (steps 362 and 3).
63).

次に表示バツフア50のSCC44に対応するる
位置のデータが改行データであるる否か判定し、
もし否定されればこの位置のデータを読取り、文
字のピツチ量をCARR―C45に加算して更に
SCC44を1文字分アツプしてSCC44とCC5
1が一致するか判断する。ここで否定されると上
記動作を繰返す(ステツプ364〜367)。
Next, it is determined whether the data at the position corresponding to the SCC 44 of the display buffer 50 is line feed data,
If it is negative, read the data at this position, add the character pitch amount to CARR-C45, and then
SCC44 and CC5 by uploading one character of SCC44
Determine if 1 matches. If the answer is negative, the above operations are repeated (steps 364-367).

カウンタSCC44とカーソルカウンタCC51
が一致するとステツプ367から371に進行
し、また一致する前に改行データが読出される
と、ステツプ364から370へ進みSCC44の
位置データをCC51に記憶してカーソル位置を
前行の改行位置に移動させる。これは表示画面の
現カーソル位置の1行上の位置に移動させる指示
であるがデータがないため前行の改行位置に移動
させるための処理である。
Counter SCC44 and cursor counter CC51
If they match, the process advances from step 367 to 371, and if the line feed data is read before they match, the process proceeds from step 364 to 370, stores the position data of SCC 44 in CC 51, and moves the cursor position to the line feed position of the previous line. let This is an instruction to move the cursor to a position one line above the current cursor position on the display screen, but since there is no data, this process is to move the cursor to the line break position of the previous line.

この動作によつてカーソル移動された位置の行
頭からのピツチ量がキヤリツジカウンタCARR
―C45に求められる。更にステツプ371で文
章バツフアの入力位置を1文字分ダウンすること
により、上記ステツプ355で現カーソル行の先
頭位置の入力位置を示すものより、文章バツフア
40が可変長であるため、前行の行末に戻された
ことになる。更にステツプ372によりカウンタ
SCC44を表示バツフアの行末位置に設定する。
すなわち移動されるカーソル位置の行の行末位置
を示すことになる。
The amount of pitch from the beginning of the line at the position where the cursor was moved by this operation is the carriage counter CARR.
- Required for C45. Furthermore, by moving the input position of the text buffer down by one character in step 371, the text buffer 40 has a variable length, so that it is lower than the input position of the beginning of the current cursor line in step 355. It means that it was returned to . Furthermore, in step 372, the counter
Set SCC44 at the end of the line of the display buffer.
In other words, it indicates the end position of the line to which the cursor is being moved.

つづいてステツプ373,374によりカウン
タSCC44をダウンして表示バツフアの行末より
データがある位置まで戻される。これによつて文
章バツフアの現入力位置と、カウンタSCC44と
が対応させられ、SCC=CCとなるまでカウンタ
SCC44と文章バツフアの入力位置をダウンする
(ステツプ380〜382)。このステツプ380
の条件が満足されると、移動したカーソル位置と
文章バツフアの入力位置が対応されたことにな
る。
Subsequently, in steps 373 and 374, the counter SCC 44 is decremented and returned to the position where the data is located from the end of the line in the display buffer. As a result, the current input position of the text buffer and the counter SCC44 are made to correspond, and the counter continues until SCC=CC.
The input positions of the SCC 44 and text buffer are lowered (steps 380 to 382). This step 380
When the following conditions are satisfied, the moved cursor position corresponds to the input position of the text buffer.

つづいてF248をセツトして空送りモードで
なければステツプ388でF2リセツトして動作
完了する。
Next, F2 48 is set, and if it is not in the idle feed mode, F2 is reset at step 388, and the operation is completed.

以上の動作によつて、カーソル位置が1行上に
アツプすると共に送りピツチ量がキヤリツジカウ
ンタCARR―C45に求められ、文章バツフア
の入力位置が対応する位置に設定される。
Through the above operations, the cursor position is moved up one line, the feed pitch amount is determined by the carriage counter CARR-C45, and the input position of the text buffer is set to the corresponding position.

次にカーソルダウンキー()16を操作する
と、第5図のステツプ300以降が実行される。
この動作は上記カーソルアツプキー17の逆の動
作を行うことになり、カーソルカウンタCC51
の位置データをカウンタSCC44に記憶すると共
にCC51の位置データを1行分アツプする(ス
テツプ301,302)。
Next, when the cursor down key ( ) 16 is operated, steps 300 and subsequent steps in FIG. 5 are executed.
This operation is the opposite operation of the cursor up key 17, and the cursor counter CC51
The position data of CC 51 is stored in the counter SCC 44, and the position data of CC 51 is uploaded for one line (steps 301 and 302).

更に表示バツフア50のカウンタSCC44の位
置のデータが改行データであるかあるいはSCC4
4が行末にあるか判定を行い、両条件が満足され
るまでカウンタSCC44と、文章バツフア40の
入力位置をアツプする(ステツプ303〜30
6)。
Furthermore, whether the data at the position of counter SCC44 of display buffer 50 is line feed data or SCC4
4 is at the end of the line, and increases the input position of the counter SCC 44 and the text buffer 40 until both conditions are satisfied (steps 303 to 30).
6).

前記両条件が満足すると、すなわち現カーソル
位置の行の文章末までカウンタSCC44を移動さ
せると、ステツプ310に進行する。ここでカウ
ンタSCC44を次の行の先頭位置に設定する。更
にステツプ311で表示バツフアのカウンタSCC
44の位置にデータが有るか否か判定され、ここ
で否定されれば現カーソル行が文章の末行である
と判断してステツプ330より333を実行し、
上記ステツプ303より306の逆の動作を行な
つて文章バツフア40の入力位置を元の位置へ戻
してこの動作を完了させる。結果的にはこのキー
の動作を実行させない。
When both of the above conditions are satisfied, that is, when the counter SCC 44 is moved to the end of the sentence on the line at the current cursor position, the process proceeds to step 310. Here, the counter SCC 44 is set to the starting position of the next line. Furthermore, in step 311, the buffer counter SCC is displayed.
It is determined whether there is data at position 44, and if the result is negative, it is determined that the current cursor line is the last line of the text, and steps 330 to 333 are executed.
The operations in steps 303 to 306 described above are performed in reverse to return the input position of the text buffer 40 to its original position and complete this operation. As a result, the operation of this key will not be executed.

他方、上記ステツプ311でデータ有りと判定
すると、キヤリツジカウンタCARR―C45を
リセツトする(ステツプ312)。
On the other hand, if it is determined in step 311 that there is data, the carriage counter CARR-C45 is reset (step 312).

更に文章バツフア40の入力位置をアツプする
と共に表示バツフア50のカウンタSCC44の位
置のデータが改行データであるかまたはSCC=
CCであるか判定し、ここでともに否定されると
カウンタSCC44の位置の文字データのピツチ量
をキヤリツジカウンタCARR―C45に加算す
ると共にカウンタSCC44をアツプする(ステツ
プ313〜317)。
Furthermore, it uploads the input position of the text buffer 40 and checks whether the data at the position of the counter SCC 44 of the display buffer 50 is line feed data or SCC=
It is determined whether it is CC, and if both are negative, the pitch amount of the character data at the position of counter SCC44 is added to carriage counter CARR-C45, and counter SCC44 is incremented (steps 313 to 317).

続いてステツプ314で改行データが検知され
ると、カウンタSCC44の位置データをカーソル
カウンタCC51に記憶し、ステツプ321に進
行する。この動作により次の行が移動されるカー
ソル位置にデータがなければ改行位置にカーソル
移動されると共にキヤリツジカウンタCARR―
C45にカーソル位置までのピツチ量が求めら
れ、文章バツフアの入力位置を対応する位置に設
定される。
Subsequently, when line feed data is detected in step 314, the position data of counter SCC44 is stored in cursor counter CC51, and the process proceeds to step 321. If there is no data at the cursor position where the next line will be moved by this operation, the cursor will be moved to the line feed position and the carriage counter CARR -
The pitch amount up to the cursor position is determined at C45, and the input position of the text buffer is set to the corresponding position.

更に、F1をセツトし、空送りモードでなけれ
ばF1をリセツトして行カウンタをカウントアツ
プさせて動作完了する(ステツプ321,32
2,324,325)。
Furthermore, F1 is set, and if it is not in the idle feed mode, F1 is reset and the row counter is counted up to complete the operation (steps 321 and 32).
2,324,325).

印字制御の場合 印字キー12を操作すると第7図ステツプ40
0以降が実行される。
In the case of print control, when the print key 12 is operated, step 40 in Fig. 7 is executed.
0 and subsequent steps are executed.

空送りモードでなければ、ステツプ430に進
行してセンサー86によりキヤリツジ(記録ヘツ
ド)81が左マージンに位置しているか検知し、
左マージン位置になければキヤリツジを復帰動作
させる。すなわちキヤリツジモータ84を逆転駆
動して左マージンまで戻す(ステツプ430,4
31)。
If it is not the idle feed mode, the process proceeds to step 430, where the sensor 86 detects whether the carriage (recording head) 81 is located at the left margin;
If it is not at the left margin position, return the carriage. That is, the carriage motor 84 is driven in reverse to return it to the left margin (steps 430 and 4).
31).

更に、ステツプ431にて後述の領域指定され
ているか判定され、否定されればステツプ433
に進行して文章バツフア40の文章頁の先頭位置
データをポインタAP149―1に設定する。更に
記録制御部7のプリンタキヤリツジカウンタ
PCARC73をリセツトする(ステツプ434)。
Furthermore, in step 431, it is determined whether an area has been specified, which will be described later.If negative, step 433 is performed.
Then, the start position data of the text page of the text buffer 40 is set in the pointer AP 1 49-1. Furthermore, the printer carriage counter of the recording control section 7
PCARC 73 is reset (step 434).

続くステツプ435において、文章バツフア4
0のAP1に対応する位置のデータを読出し、改行
データであるか否か判定され、改行データ以外で
あればこの文字データを記録制御部7のプリント
バツフアPBF72に記憶して更にCG71にて対
応のパターンを読出し、記録回路70に供給して
記録ヘツド21でこのパターンを記録する(ステ
ツプ436,437)。
In the following step 435, the text buffer 4
The data at the position corresponding to AP 1 of 0 is read out, and it is determined whether or not it is line feed data. If it is not line feed data, this character data is stored in the print buffer PBF 72 of the recording control unit 7 and further processed in the CG 71. The corresponding pattern is read and supplied to the recording circuit 70, and the recording head 21 records this pattern (steps 436, 437).

つづいて、プリントキヤリツジカウンタ
PCARC73が予め定めた行長m(表示画面の行
長と対応する)と一致するか比較され、一致しな
ければ今記録した文字のピツチ量をキヤリツジカ
ウンタCARR―C45に加算してポインタAP1
次の文字位置データにアツプする(ステツプ43
9,442)。
Next, print cartridge counter
It is compared whether the PCARC73 matches a predetermined line length m (corresponding to the line length of the display screen), and if it does not match, the pitch amount of the character just recorded is added to the carriage counter CARR-C45 and the pointer AP 1 is to the next character position data (step 43)
9,442).

つづいてステツプ406に進行してプリンタキ
ヤリツジカウンタPCARC73とキヤリツジカウ
ンタCARR―C45とが一致するか比較され、
一致しなければステツプ407へ進行して
PCARC>CARRCの大小が比較される。今は、
CARR―C45の方が大きいためステツプ41
0へ進行してキヤリツジモータ84を正転させ、
更にセンサー86にて移動量を観測してプリンタ
キヤリツジカウンタPCARC73をカウントアツ
プする。このようにしてPCARC73とCARR―
C45が一致するまで回転され、キヤリツジが右
方向に移動し、一致すると停止する(ステツプ4
06,407,410,411)。従つてキヤリ
ツジ81は次の文字の印字位置で停止する。再び
ステツプ435以降が繰返される。
Next, the process proceeds to step 406, where the printer cartridge counter PCARC73 and the cartridge counter CARR-C45 are compared to see if they match.
If they do not match, proceed to step 407.
The size of PCARC>CARRC is compared. now,
CARR-C45 is larger, so step 41
0 and rotates the carriage motor 84 in the forward direction.
Furthermore, the amount of movement is observed by the sensor 86, and the printer carriage counter PCARC73 is counted up. In this way, PCARC73 and CARR-
C45 is rotated until they match, the carriage moves to the right, and stops when they match (step 4).
06,407,410,411). Therefore, the carriage 81 stops at the printing position of the next character. Step 435 and subsequent steps are repeated again.

このように印字して、改行データの検知又は
PCARC=mになると、ステツプ450に進行し
て行カウンタ43に対応するところの予め記憶行
ピツチメモリ41のピツチ量が読出される。そし
てこのピツチ量分プラテンモータ85を正転(用
紙が上昇する)させる。
Print like this to detect line feed data or
When PCARC=m, the process proceeds to step 450 where the pitch amount corresponding to the row counter 43 is read out from the stored row pitch memory 41 in advance. Then, the platen motor 85 is rotated forward (the paper is raised) by this pitch amount.

更にキヤリツジモータ84を逆転させてキヤリ
ツジを左マージン位置まで複帰させてCARRC4
5,PCARC73をリセツトする(ステツプ45
0〜453)。更に、用紙センサー87で用紙エ
ンドが検知されて判定され、ここで否定されると
行カウンタ43をカウントアツプして、再び上記
動作が繰返され、1行分の印字が完了される。
Furthermore, the carriage motor 84 is reversed to return the carriage to the left margin position, and the CARRC4
5. Reset PCARC73 (step 45)
0-453). Furthermore, the paper end is detected and determined by the paper sensor 87, and if the result is negative, the line counter 43 is counted up, and the above operation is repeated again, completing printing for one line.

以上の動作を繰返して用紙センサー87が終端
を検知すると1頁の印字が完了する。又本例では
示していないが、文章が用紙1頁以内に有る場合
は頁終了データの検知で印字終了する。
By repeating the above operations, when the paper sensor 87 detects the end, printing of one page is completed. Although not shown in this example, if the text is within one page of paper, printing ends upon detection of page end data.

空送りモードについて 例えば、上記の,の操作に先立つて空送り
キー18が操作されておれば空送りモードが設定
される。即ち、上記,の動作の最後に、空送
りの印字制御が行なわれる。これは第2図〜第6
図のステツプ109,208,257,323,
387で実行される。具体的には第7図の印字制
御におけるステツプ400以降が動作される。
About the Jump Feed Mode For example, if the jump feed key 18 is operated prior to the above-mentioned operation, the jump feed mode is set. That is, at the end of the above-mentioned operation, the printing control of the blank feed is performed. This is from Figures 2 to 6.
Steps 109, 208, 257, 323,
387. Specifically, steps 400 and subsequent steps in the print control shown in FIG. 7 are operated.

これは、ステツプ401より402に進行して
F1がセツトされているか、すなわちF1がセツト
されていると行上昇(表示面では下降)される状
態を示し、そのため、ステツプ403で行ピツチ
メモリ41の行カウンタ43に対応するピツチ量
が読出され、プラテンモータ85をそのピツチ量
分正転して用紙を上昇させる。
This progresses from step 401 to step 402.
If F 1 is set, it indicates that the line is raised (or lowered on the display surface). Therefore, in step 403, the pitch amount corresponding to the row counter 43 of the row pitch memory 41 is read out . Then, the platen motor 85 is rotated forward by the pitch amount to raise the paper.

又、F2がセツトされていれば、すなわち行下
降(表示面では上昇)される状態を意味し、この
時行ピツチメモリのピツチ量分プラテンモータ8
5を逆転して用紙を下降させる(ステツプ40
5)。なお、F1,F2ともにセツトしていることは
ない。
Also, if F2 is set, it means that the row is lowered (raised on the display screen), and at this time the platen motor 8 is activated by the pitch amount in the row pitch memory.
5 and lower the paper (step 40).
5). Note that both F 1 and F 2 are never set.

更に、ステツプ407以降が動作され、プリン
タキヤリツジカウンタPCARC73とキヤリツジ
カウンタCARR―C45が一致する方向にキヤ
リツジモータ84が回転され、キヤリツジが移動
する(ステツプ406〜411)。
Furthermore, the steps after step 407 are operated, and the carriage motor 84 is rotated in the direction in which the printer carriage counter PCARC73 and the carriage counter CARR-C45 match, and the carriage is moved (steps 406 to 411).

これは、先に説明したようにカーソル移動又は
入力するごとにキヤリツジカウンタCARR―C
45が文字ピツチ量に応じて更新されているた
め、表示面上のカーソル位置とプリンタのキヤリ
ツジとが一致することになる。このため文書のレ
イアウトがプリンタのキヤリツジの移動によつて
表わされることになる。
As explained above, each time the cursor is moved or input, the carriage counter CARR-C is
45 is updated according to the character pitch amount, so the cursor position on the display screen and the printer carriage match. Therefore, the layout of the document is represented by the movement of the printer's carriage.

領域指定の印字 この機能は予め文章入力して記憶する文章の1
部分のみを印字することができるものであり、例
えばある定形印刷物の特定位置に文章編集した1
部分の文章を印字することができるものである。
Printing of specified area This function is one of the sentences that are entered in advance and memorized.
It is possible to print only a part, for example, text edited in a specific position of a certain fixed form printed matter.
It is possible to print out a portion of the text.

文章データを表示している表示装置上で上記カ
ーソル移動によつて印字しようとする部分の文章
の先頭位置までカーソルを移動し、ここで領域指
定キー13を操作すると、第8図のステツプ50
0が実行される。
When the cursor is moved to the beginning of the text to be printed on the display device displaying the text data and the area designation key 13 is operated, step 50 in FIG.
0 is executed.

この時、キヤリツジカウンタCARR―C45
には、上記カーソル位置に応じたピツチ量が求め
られて記憶され、文章バツフアの入力位置も対応
する位置に更新されている。
At this time, carry counter CARR-C45
, the pitch amount corresponding to the cursor position is determined and stored, and the input position of the text buffer is also updated to the corresponding position.

続くステツプ501で2回目の領域指定か否か
判定され、もし1回目であればステツプ502へ
進行して文章バツフア40の入力位置データをポ
インタAP149―1に記憶する。更にキヤリツジ
カウンタCARR―C45のデータをキヤリツジ
バツフアCARBF46に記憶する(ステツプ50
2,503)。
In the following step 501, it is determined whether or not this is the second area specification, and if it is the first, the process proceeds to step 502 and the input position data of the text buffer 40 is stored in the pointer AP 1 49-1. Furthermore, the data of the carriage counter CARR-C45 is stored in the carriage buffer CARBF46 (step 50).
2,503).

再び上記カーソル移動にて、文章部分の最後の
位置にカーソルを移動し、ここでこの領域指定の
キー13を再び操作する。すると、ステツプ50
1にて2回目であることを判定するので、ステツ
プ504に進行して文章バツフアの入力位置デー
タをポインタAP249―2に記憶する。
The cursor is again moved to the last position of the text portion, and the key 13 for specifying this area is operated again. Then step 50
Since it is determined in step 1 that it is the second time, the process proceeds to step 504 and the input position data of the text buffer is stored in the pointer AP 2 49-2.

この動作につづいて印字キー12を操作する
と、第7図のステツプ400が実行され、今は空
送りモードでないのでステツプ430へ進行す
る。
Following this operation, when the print key 12 is operated, step 400 in FIG. 7 is executed, and since it is not currently in the idle feed mode, the process advances to step 430.

これは上記同様キヤリツジ81を左マージンま
で復帰させステツプ432へ進行する。このステ
ツプ432で先に記憶するキヤリツジバツフア
CARBF46のデータをキヤリツジカウンタ
CARR―C45に転送して先の説明のステツプ
406以降が動作される。
This returns the carriage 81 to the left margin as described above and proceeds to step 432. The carrier buffer to be stored first in this step 432
CARBF46 data to carriage counter
The data is transferred to the CARR-C 45 and the steps from step 406 described above are performed.

つまり、キヤリツジ81をキヤリツジカウンタ
CARR―C45のピツチ量分移動させて、部分
文章の先頭位置まで空送りする。
In other words, the carriage 81 is converted into a carriage counter.
Move by the pitch amount of CARR-C45 and skip forward to the beginning position of the partial sentence.

前記空送りの後、ステツプ435より実行して
ステツプ441のAP1=AP2になるまで文章バツ
フア40のデータが記録される。
After the above-mentioned blank feed, data in the text buffer 40 is recorded from step 435 until AP 1 =AP 2 at step 441.

従つて、この領域指定印字では領域指定した部
分文章の先頭位置まで、行先頭より空送りされ、
引続き指定した文章が記録されることになる。
Therefore, in this area specified printing, the line is skipped from the beginning of the line to the beginning of the specified partial text,
The specified text will continue to be recorded.

なお、上記の実施例では表示装置6として2〜
4行分程度の表示装置を示したが1行分表示でき
る表示装置で充分であり、また通常のCRT表示
装置を用いることができる。好ましくは1行分表
示できる表示装置か2〜4行分程度表示できる表
示装置を用いることであり、それは装置を小型化
できるからである。
In the above embodiment, the display device 6 includes 2 to 2.
Although a display device capable of displaying about four lines is shown, a display device capable of displaying one line is sufficient, and a normal CRT display device can also be used. Preferably, a display device capable of displaying one line or a display device capable of displaying two to four lines is preferably used, since the device can be made smaller.

<効果> 以上のように本発明にあつては、文章を入力す
るための文章入力部と、前記入力部から入力され
た文章情報を記憶する文章メモリと、前記文章情
報を編集制御する編集制御部と、前記文章情報を
表示する表示装置と、前記文章メモリの文章情報
を文書作成のため印字するプリンタとを備える文
章処理装置において、 前記プリンタのキヤリツジを空送り指示するた
めの空送り指示手段と、前記表示装置で表示さ
れ、文章の入力位置を表わすカーソルの位置を移
動指示する移動指示手段と、上記入力された文章
情報の各文字ピツチデータ,行間ピツチデータ等
の文章フオーマツトに関するデータを記憶する手
段を備え、前記空送り指示を与えてカーソルの位
置を移動させることにより、文章フオーマツトに
関するデータに基づいてプリンタのヘツドを前記
カーソル位置に対応した当該プリンタにセツトさ
れた書面上の位置へ記録することなく移動させる
ようにしたものであるから、文章レイアウトが表
示装置によらず、当該文章処理装置が備えるプリ
ンタを利用し、該プリンタのキヤリツジを空送り
操作させて実際の文書作成書面上で確認できて便
利である。
<Effects> As described above, the present invention includes a text input unit for inputting text, a text memory for storing text information input from the input unit, and an editing control for editing and controlling the text information. a text processing apparatus comprising: a display unit that displays the text information; and a printer that prints the text information in the text memory for document creation; a movement instructing means for instructing to move the position of a cursor displayed on the display device and representing the input position of the text; and a means for storing data related to the text format such as each character pitch data and line spacing data of the input text information. and record the head of the printer at a position on the document set in the printer corresponding to the cursor position based on the data regarding the text format by giving the jump instruction and moving the cursor position. Since the document layout is designed to be moved without any movement, the document layout can be checked on the actual document by using the printer of the document processing device and running the printer's carriage in a free feed operation, regardless of the display device. It's convenient.

また、プリンタを利用して文章レイアウトを確
認できるために、入力文章を確認するための表示
装置に自由度をもたせることができ、つまり1行
分或は2〜4行分程度の小型の表示装置で構成で
きる上に特別な文章レイアウト表示用の表示装置
も必要としないという特徴を有する。
In addition, since the text layout can be checked using a printer, it is possible to have more flexibility in the display device used to check the input text.In other words, a small display device that can hold one line or two to four lines It has the feature that it can be configured with

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

第1図は本発明に係る文章処理装置の構成を示
すブロツク構成図、第2図乃至第8図は同装置の
動作を示すフローチヤートである。 1:キーボード装置、2:CPU、3:ROM、
4:RAM、5:表示制御部、6:表示装置、
7:プリンタ制御部、8:プリンタ、12:印字
指示キー、14〜17:カーソル移動指示キー、
18:空送り指示キー、40:文章バツフア、4
1:行ピツチメモリ、45:キヤリツジカウン
タ、51:カーソルカウンタ。
FIG. 1 is a block diagram showing the structure of a text processing device according to the present invention, and FIGS. 2 to 8 are flowcharts showing the operation of the device. 1: Keyboard device, 2: CPU, 3: ROM,
4: RAM, 5: Display control unit, 6: Display device,
7: Printer control unit, 8: Printer, 12: Print instruction key, 14 to 17: Cursor movement instruction key,
18: Skip feed instruction key, 40: Sentence buffer, 4
1: Line pitch memory, 45: Carriage counter, 51: Cursor counter.

Claims (1)

【特許請求の範囲】 1 文章を入力するための文章入力部と、前記入
力部から入力された文章情報を記憶する文章メモ
リと、前記文章情報を編集制御する編集制御部
と、前記文章情報を表示する表示装置と、前記文
章メモリの文章情報を文書作成のため印字するプ
リンタとを備える文章処理装置において、 前記プリンタのキヤリツジを空送り指示するた
めの空送り指示手段と、 前記表示装置で表示され、文章の入力位置を表
わすカーソルの位置を移動指示する移動指示手段
と、 上記入力された文章情報の各文字ピツチデー
タ,行間ピツチデータ等の文章フオーマツトに関
するデータを記憶する手段、 を備え、前記空送り指示を与えてカーソルの位
置を移動させることにより、文章フオーマツトに
関するデータに基づいてプリンタのヘツドを前記
カーソル位置に対応した当該プリンタにセツトさ
れた書面上の位置へ記録することなく移動させる
ことを特徴とする文章処理装置におけるプリンタ
の空送り制御方式。
[Claims] 1. A text input unit for inputting text, a text memory for storing text information input from the input unit, an editing control unit for editing and controlling the text information, and an editing control unit for editing and controlling the text information. A text processing device comprising a display device for displaying text information, and a printer for printing text information in the text memory for document creation, further comprising: a blank feed instruction means for instructing a carriage of the printer to skip feed; a movement instructing means for instructing the position of a cursor representing an input position of a sentence; and a means for storing data related to a sentence format such as each character pitch data and line spacing data of the inputted sentence information; The present invention is characterized in that by giving an instruction and moving the cursor position, the head of the printer is moved to a position on the document set in the printer corresponding to the cursor position based on data regarding the document format without recording. A printer jump control method for text processing devices.
JP58009180A 1983-01-21 1983-01-21 Idle feed control system of printer for sentence processor Granted JPS59135582A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58009180A JPS59135582A (en) 1983-01-21 1983-01-21 Idle feed control system of printer for sentence processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58009180A JPS59135582A (en) 1983-01-21 1983-01-21 Idle feed control system of printer for sentence processor

Publications (2)

Publication Number Publication Date
JPS59135582A JPS59135582A (en) 1984-08-03
JPS6322332B2 true JPS6322332B2 (en) 1988-05-11

Family

ID=11713354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58009180A Granted JPS59135582A (en) 1983-01-21 1983-01-21 Idle feed control system of printer for sentence processor

Country Status (1)

Country Link
JP (1) JPS59135582A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6169483A (en) * 1984-09-14 1986-04-10 Citizen Watch Co Ltd Serial printer with indication of mode switching
JPS61175048A (en) * 1985-01-31 1986-08-06 Toshiba Corp Printing control system
JP2953692B2 (en) * 1988-01-18 1999-09-27 富士通株式会社 Printing control device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53129541A (en) * 1977-04-19 1978-11-11 Ricoh Co Ltd Display system of word processor

Also Published As

Publication number Publication date
JPS59135582A (en) 1984-08-03

Similar Documents

Publication Publication Date Title
JPS6322333B2 (en)
JPS6118033A (en) print processing device
JPS6322332B2 (en)
US4573812A (en) Intercharacter space processing apparatus for printers
JP4735653B2 (en) Print data creation apparatus and print data creation program
JPH0522932B2 (en)
JPS612587A (en) Method of controlling position of recording in typewriter for automatically drawing underline to text section or similar machine
JP3087447B2 (en) Printing device
JP5907386B2 (en) Printing apparatus, printing method and program by printing apparatus
JPH06103430B2 (en) Character processor
JP2746592B2 (en) Document processing apparatus and method
JP2560650B2 (en) Tape printer
TW200532566A (en) System, method, and program for generating barcode data
JP2606126B2 (en) Tape recorder
JP2604355B2 (en) Document processing device
JP3063544B2 (en) Tape printer
JPH0749851A (en) Document shaping device
JPS61279924A (en) Word processor
JP3900647B2 (en) Document processing device
JP2592840B2 (en) Character processor
JPS6134991B2 (en)
JPH0115391B2 (en)
JP2573174B2 (en) Document creation device
JPH05131708A (en) Method of creating print format of printing device in text processing device
JPS62152771A (en) Printing position designating system