JPS59135582A - Idle feed control system of printer for sentence processor - Google Patents

Idle feed control system of printer for sentence processor

Info

Publication number
JPS59135582A
JPS59135582A JP58009180A JP918083A JPS59135582A JP S59135582 A JPS59135582 A JP S59135582A JP 58009180 A JP58009180 A JP 58009180A JP 918083 A JP918083 A JP 918083A JP S59135582 A JPS59135582 A JP S59135582A
Authority
JP
Japan
Prior art keywords
text
line
cursor
counter
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
JP58009180A
Other languages
Japanese (ja)
Other versions
JPS6322332B2 (en
Inventor
Hiroki Maruido
博樹 丸井戸
Keiyu 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

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00—Arrangements 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)

Abstract

PURPOSE:To confirm the layout of documents by means of a printer by shifting a carriage to the corresponding position on the surface of the document paper in response to the shift of a cursor of a display device for input position of sentence. CONSTITUTION:An idle feed mode is set with operation of an idle feed key 18. The line is raised (dropped on a display screen) if a flag F1 is set, and the pitch amount corresponding to a line counter 43 of a line pitch memory 41 is read out. Then a platen motor 85 is revolved forward by an amount equivalent to said pitch amount to move up the paper. While the line is dropped if a flag F2 is set, a platen motor 85 is revolved reversely by an amount equivalent to a pitch amount of the line pitch memory 41 to move down to the paper. Then a carriage motor 84 is revolved in the direction where the coincidence is obtained between a printer carriage counter PCARC73 and a carriage counter CARR-C45. Thus the carriage is moved. Thus the cursor position on a display screen is coincident with the carriage of the printer. This ensures the confirmation of a document layout.

Description

【発明の詳細な説明】 く技術分野〉 本発明は文章処理装置に有効なプリンタの制御方式を提
供するものである〇 〈従来技術〉 一般に文章処理装置例えばワードプロセッサでは人力し
た文章を確認したり又は文章レイアウトを表示させるた
めに大きな表示画面を有するCRT表示装置を備えるも
の、又は1行分或は2,3行程度の小型の表示装置と文
章レイアウトを専用に表示するレイアウト表示装置とを
備えるものがあったO これらのいずれにおいても、文章レイアウトを表示装置
で表示させる関係上、表示装置上での位置と実際の文書
作成書面上での位置とのずれがどうしでもあり、それら
の対応関係がとりにくいものであった。
[Detailed Description of the Invention] Technical Field> The present invention provides a printer control method that is effective for text processing devices. <Prior Art> In general, text processing devices such as word processors are used to check manually-written sentences or A device equipped with a CRT display device having a large display screen for displaying the text layout, or a device equipped with a small display device for one line or two or three lines and a layout display device exclusively for displaying the text layout. O In all of these cases, due to the nature of displaying the text layout on a display device, there is always a discrepancy between the position on the display device and the actual position on the document preparation document, and the correspondence relationship between them is unavoidable. It was difficult to take.

また、上記前者のものでは大きな表示装置を必要として
装置が大型化しまた後者のものでは2種類の表示装置を
別個に必要として高価になるという問題があった。
Further, the former method requires a large display device, resulting in an increase in the 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 produced by using the printer included in the text processing device and making the carriage of the printer fly, without depending on the display device. It was created by

また、プリンタを利用して文章レイアウトを確認させる
ようにすることで、入力文章を確認するための表示装置
に自由度をもたせることができ、つまり1行分或は2,
3行分程度の小型の表示装置でも構成できると共に特別
な文章レイアヴ1ト表示装置をも必要としない文章処理
装置を提供できるように成したものである。
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.
The present invention is designed to provide a text processing device that can be configured with a small display device for about three lines and does not require a special text layout display device.

従って、本発明ではプリンタにより文章レイアウトが確
認できるように、プリンタのキャリッジを空送り制御さ
せるものであり、特に文章人力位置を示す表示装置のカ
ーソルの移動に伴なってキャリッジを文書紙面上の対応
する位置に移動できるようになしたものである。
Therefore, in the present invention, the carriage of the printer is controlled to be moved in a blank manner so that the document layout can be confirmed by the printer. In particular, as the cursor on the display device indicating the position of the document is moved, the carriage is moved to correspond to the document surface. It is designed so that it can be moved to any desired 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 FIG. 1, a keyboard device 1 generates characters, symbol codes, related codes, and control codes corresponding to operated keys and supplies them to the CPU 2.

このキーボード装置1には、文章入力するための文字キ
ーlOと、編集制御キーIIが設けられ、この制御キー
11には入力した文章データをプリンタで記録すること
を指示する印字指示キー12と、入力した文章データの
うち部分的に編集する際この領域を指示するキー13(
本例では文章データの一部分を記録するのに利用される
1)と、表示装置上に入力位置として表示されるカーソ
ルマークを移動させるところの左移動キー(p、)+4
及び右移動キー(ell>)15更に文章上位行へ移動
するキー(&)]6及び文章上位行へ移動するキー(?
 )]7と、こ囃らの移動キーの操作時および文字入力
時にプリンタのキャリッジを記録せずに移動させること
を指示するところのオルタネイト構成となっている空送
り指示キー18とが設けられている。
This keyboard device 1 is provided with a character key 1O for inputting text and an edit control key II, and this control key 11 includes a print instruction key 12 for instructing to record input text data on a printer. Key 13 (
In this example, 1) is used to record a portion of text data, and the left movement key (p, ) + 4 is used to move the cursor mark displayed as the input position on the display device.
and right movement key (ell>) 15 key to move further to the upper line of the text (&)] 6 and key to move to the upper line of the text (?
)] 7, and a jump feed instruction key 18 having an alternate configuration for instructing to move the printer's carriage without recording when operating the movement key or inputting characters. There is.

前記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 a character input key, edits this text data according to a predetermined document format, and stores it in internal memory (text buffer). This text data is stored and printed as necessary using a printer to create a desired document. In addition, the ROM 3 stores programs for editing functions of the present invention, which will be described later.

4は上記CPU2によってアクセスされるRAMであり
、以下のように構成している。
4 is a RAM accessed by the CPU 2, and is configured as follows.

40は上記文字入カキ−より入力された文字コードでな
る文章データを記憶する文章バッファであり、入力され
た文字コードを入力位置を示すアドレスポインタ(図示
せず)に従って対応位置に記憶するようにして可変長で
入力順に記憶される。
Reference numeral 40 denotes a text buffer for storing text data consisting of the character code inputted from the character input key, and the inputted character code is stored in a corresponding position according to an address pointer (not shown) indicating the input position. The data 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.

4Iは行ピツチメモリであり、各行ごとに行間ピンチ量
(次の行までの距離)が記憶されている。
4I is a line pitch memory in which the amount of line pinch (distance to the next line) is stored for each line.

このピッチ量はフォーマットの変更ごとにピッチ量が設
定されるピッチバッファ42のデータが文章の改行ごと
に転送されて記憶する。
This pitch amount is stored by transferring the data of the 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 the line pinch memory in accordance with this counter value when reading data from the line pinch memory.

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

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

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

5は表示装置6の表示制御部であり、表示画面に対応し
た記憶エリアを有し、表示される文字の・−ドデータを
記憶する表示バ・フ・56、表示画面上の入力位置を示
すカーソルマークを表示するためのカーソルカウンタC
C51と、表示バッファ50に記憶する文字コードより
対応の文字パターンを発生する文字パターン発生器CG
52とを有している。
Reference numeral 5 denotes a display control section of the display device 6, which has a storage area corresponding to the display screen, and a display buffer 56 that stores the code data of displayed characters, and a cursor that indicates the input position on the display screen. Cursor counter C for displaying marks
C51 and a character pattern generator CG that generates a corresponding character pattern from the character code stored in the display buffer 50.
52.

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; character codes are read out from the display buffer 50 in synchronization with scanning; The CG 52 develops the characters into a pattern and displays the characters.

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

このプリンタ8において、81は例えば24X24の記
録素子を有する記録ヘッドであり、キャリッジモータ8
4によりプラテン82に沿って左右方向に移動される(
正転時はキャリッジ右移動)。
In this printer 8, 81 is a recording head having, for example, 24×24 recording elements, and a carriage motor 8
4 in the left-right direction along the platen 82 (
When rotating forward, the carriage moves to the right).

プラテン82は記録媒体83を搬送し、プラテンモータ
85によって正逆方向に回転される(正転時は記録媒体
83を上昇させる)。
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のプリンタキャリ
ッジカウンタ(PCARC)78をカウントさせる。
86 is a sensor that detects the amount of movement of the recording head;
This sensor signal causes a printer carriage counter (PARC) 78 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 section and this sensor 87 corresponds to the bottom margin of the document.

プリンタ制御部7において、70は記録ヘッド81の駆
動回路であり、文字コードを記憶するプリントバッファ
72のデータよりパターン発生器CG7]にて文字パタ
ーンに展開されて文字が記録される。74は上記モータ
84,86の駆動回路である。
In the printer control unit 7, 70 is a drive circuit for a recording head 81, and data in a print buffer 72 that stores character codes is developed into a character pattern by a pattern generator CG7, and characters are recorded. 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.

■ 文章人力゛作成しようとする文書に従って文字入カ
キ−IOより文字入力すると、 表示装置のカーソル位置−入力され、 更に文章バッファに記憶される。
■ Writing Manual: When characters are input using the character input key IO according to the document to be created, the characters are input at the cursor position on the display device and are further stored in the text buffer.

■ カーソル移動 上記のように文章入力した後、訂正
等の編集のためにカーソル位置14〜17t[作すると
、カーソルマーク が目的位置に移動すると共に文章バッ ファ40の入力位置を更新する。
(1) Cursor movement After inputting a text as described above, when the cursor is placed at 14-17t for editing such as correction, the cursor mark moves to the target position and the input position of the text buffer 40 is updated.

■ 印字:印字キーを操作、すると、−文章バソファ4
0に記憶する文章データの先頭より 順に読出してプリンタ8にて記録する。
■ Printing: Operate the print key, then - text bath sofa 4
The text data stored in 0 is sequentially read out 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 subsequent operation (■■) above.

■ 領域指定二上記カーソルキーによって領域術゛定す
べきエリアの先頭に移動させてこのキー13を操作する
と、この位置が 記憶されると共に再びカーソル移動を 行なってカーソルをエリアの後端まで 移動させ、再度このキーI3を操作す るとこの位置が保持される。そして、 この操作につづいて印字キー12を操 作すると、先頭の指定位置まで、キャ リッジを空送りした後、当該指定位置 から後端の指定位置までの文章データ が記録される。
■ Area specification 2 If you use the cursor keys above to move to the beginning of the area to be specified and operate this key 13, this position will be memorized and the cursor will be moved again to move the cursor to the rear end of the area. , when this key I3 is operated again, this position is held. 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, specific effects of each of the above operations will be explained according to the flowcharts shown in FIGS. 2 to 8.

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

これらの判定においてともに否定されると、ステップ1
05に進行して人力された文字コードに対応する送りピ
ッチ量をCARR−C45に加算する(なお入力位置が
行先頭にあればCARR−Cはリセットされている)。
If both of these determinations are negative, step 1
05, the feed pitch amount corresponding to the manually entered character code is added to CARR-C45 (if the input position is at the beginning of the line, CARR-C has been reset).

更に、カーソルカウンタCC51を次の入力位置に更新
すると共に文章バッファ40の入力位置を次の入力位置
に更新する(ステップ106.107 )。
Furthermore, 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).

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

又、文字入カキ−10より改行キーあるいは入力位置が
行末に達するとステップ103,104よりジャッジさ
れてステップ12’0に進行し、キャリッジカウンタC
ARR−C45をリセットすると共にカーソルカウンタ
CC5]を次の行の先頭位置に設定する。−更に、行ピ
ツチメモリ4Iの行カウンタ43のカウント値に対応す
る位置に予め行間のピッチ量を記憶するピッチバッファ
42のデータを記憶する。なお、このピッチ量は図示し
ていないが、フォーマットの変更設定するごとにそのピ
ッチ量がピッチバッファ42に記憶されている。更に、
F147をセットする(ステップ120〜123)。
Also, when the line feed key or the input position reaches the end of the line using the character input key 10, it is judged from steps 103 and 104 and the process proceeds to step 12'0, where the carriage counter C is
ARR-C45 is reset and cursor counter CC5] is set to the beginning position of the next line. -Furthermore, data of a pitch buffer 42 that stores the amount of pitch between rows in advance is stored in a position corresponding to the count value of the row counter 43 of the row pitch memory 4I. Although this pitch amount is not shown, the pitch amount is stored in the pitch buffer 42 each time the format is changed. Furthermore,
Set F147 (steps 120-123).

このF147がセットすると、ステップ110よりIl
lへ進行して行カウンタ43をカウントアツプすると共
に前記F11Jセットして入力動作を完了する。
When this F147 is set, Il
1, the line counter 43 is counted up, and F11J is set to complete the input operation.

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

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

これはこのキーを操作すると、文章バッファ40の入力
位置が先頭位置にあるか否か判定され、先頭にあれば以
降動作されない。又カーソルカウンタCC5]が行頭に
あるか判定され、もし否定されるとステップ253に進
行してカーソルカウンタCC51を1文字前の文字位置
に設定する。
When this key is operated, it is determined whether the input position of the text buffer 40 is at the beginning position, and if it is at the beginning position, no further operation is performed. It is also determined whether the cursor counter CC5] is at the beginning of the line, and if negative, the process proceeds to step 253, where the cursor counter CC51 is set to the previous character position.

更に表示バッファ50のカーソルカウンタCC51に対
応するデータを読出し、その文字のピンチ量をキャリッ
ジカウンタCARR−Cより減算する(ステップ255
)。更に空送りモードであるか否か判定され、このモー
ドでなければF248をリセットして完了する(ステッ
プ256,258)。
Furthermore, the data corresponding to the cursor counter CC51 of the display buffer 50 is read out, and the pinch amount of the character is subtracted from the carriage counter CARR-C (step 255).
). Furthermore, it is determined whether or not it is in the idle feed mode, and if it is not in this mode, F248 is reset and the process is completed (steps 256, 258).

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

又、カーソルカウンタCC5]が行頭に位置している時
にこのキーを操作すると、ステップ252より260に
進行してカーソルカウンタCC51を表示バッファ5の
前行先頭位置に設定すると共にキャリッジカウンタCA
RR7C45をリセットする(ステップ260,261
)。
If this key is operated when the cursor counter CC5 is located at the beginning of the line, the process advances from step 252 to step 260, where the cursor counter CC51 is set to the beginning position of the previous line in the display buffer 5, and the carriage counter CA is
Reset RR7C45 (steps 260, 261
).

更にカーソルカウンタCC51の位置に対応するデータ
が改行データであるか否か判定され、否定されるとカー
ソルカウンタCC5]の対応する表示バッファ50の文
字データを読出し、その文字のピッチ量をキャリッジカ
ウンタCARR−C45に加算してカーソルカウンタC
C51を次の文字位置に更新する。
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 CC5 is read out, and the pitch amount of the character is stored in the carriage counter CARR. - Add to C45 and cursor counter C
Update C51 to the next character position.

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

ここで改行データが読出されるかあるいはカーソルカウ
ンタCC51が行末に達するとステップ266に進行す
る。この時カーソルカウンタCC51は前行の行の最後
に戻されたことになり、ステップ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 proceeds to step 266. At this time, the cursor counter CC51 is 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 (the text buffer 40 is stored in a variable length). (This corresponds to the position of the cursor counter CC51 and indicates the corresponding position of the text buffer).Furthermore, the line counter 43 is counted down (indicating the changed line position) and F2 is set (steps 266 to 268). ).

この動作により、表示画面のカーソル位置は前行の文章
床に配置されることになる。
This operation causes the cursor position on the display screen to be placed on the text floor of the previous line.

次に右カーソルキー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 the result is negative, the operation does not occur. In other words, if there is no data to the right after the cursor position, pressing this key will not be executed.

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

つづいて文章バッファの入力位置を次の位置に更新する
と共にステップ207,209を経て完了する。このよ
うに、この右カーソルキーを操作すると、表示装置のカ
ーソル位置が次の文字位置に移動して文章バッファの入
力位置が、次の入力位置に移行する0又キャリッジカウ
ンタCARR−C4,5が文字に応じたピッチ量分増加
される0また上記動作において、カーソル位置が改行デ
ータ位置又は行末位置に配置されている時に、この右カ
ーソルキー15を操作すると、以下のように、次の行の
先頭位置に移動する。
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 way, when the right cursor key is operated, the cursor position on the display device moves to the next character position, and the input position in the text buffer moves to the next input position. In the above operation, when the cursor position is placed at the line feed data position or the line end position, if you operate this right cursor key 15, the pitch will be increased by the pitch amount corresponding to the character. Move to the first position.

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

このFlがセットすると以降動作するステ・ノブ209
より210へ進行して行カウンタ43をカウントアツプ
して次の行位置を示すと共にFlをリセットする(ステ
ップ210,211)。
Ste knob 209 that operates after this Fl is set
The process then proceeds to step 210, where the row counter 43 is counted up to indicate the next row position and Fl is reset (steps 210, 211).

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

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

つづいて、ステップ353より355が繰返し実行され
て5CC44が現カーソル位置の行の先頭に達するまで
、カウンタSCCを′I字分づつダウンすると共に文章
バッファの入力位置をダウンする。カウンタ5CC44
が行頭に達すると(ステップ353)、文章バッファの
入力位置も対応の位置を示すことになり、ステップ36
0へ進行する。
Subsequently, steps 353 to 355 are repeatedly executed, and the counter SCC is decremented by 'I characters and the input position of the text buffer is decremented until 5CC44 reaches the beginning of the line at the current cursor position. Counter 5CC44
When reaches the beginning of the line (step 353), the input position of the text buffer also indicates the corresponding position, and step 36
Proceed to 0.

このステップ360で5CC44を前行の先頭位置に設
定する(移動されるカーソル位置の行の先頭)。
In this step 360, 5CC44 is set at the beginning position of the previous line (the beginning of the line where the cursor is to be 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, 1 from the cursor line
It is determined that the next line is the first line of the sentence (that is, there is no text data in the line above the beginning of the sentence), and steps 375 to 378 are executed, and the operations in reverse of steps 353 to 355 are performed. , the input position of the text buffer is returned to its original position, and the operation is completed, resulting in the operation of this key not being executed.

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

次に表示バッファ50の5CC44に対応する位置のデ
ータが改行データであるか否か判定し、もし否定されれ
ばこの位置のデータを読取り、文字、 のピッチ量をC
ARR−C45に加算して更にSCC44を1文字分ア
ップして5CCj4とC:C51が一致するか判断する
。ここで否定されると上記動作を繰返す(ステップ36
4〜367)。
Next, it is determined whether the data at the position corresponding to 5CC44 of the display buffer 50 is line feed data, and if it is negative, the data at this position is read and the pitch amount of the character is set to C.
Add it to ARR-C45 and further increase SCC44 by one character to determine whether 5CCj4 and C:C51 match. If denied here, the above operation is repeated (step 36
4-367).

カウンタ5CC44とカーソルカウンタCC51が一致
するとステップ367から371に進行し、また一致す
る前に改行データが読出されると、ステップ364から
370へ進み5CC44の位置データをCC5]に記憶
してカーソル位置を前行の改行位置に移動させる。これ
は表示画面の現カーソル位置の1行上の位置に移動させ
る指示であるがデータがないため前行の改行位置に移動
させるための処理である。
When the counter 5CC44 and the cursor counter CC51 match, the process proceeds from step 367 to 371. If the line feed data is read before they match, the process proceeds from step 364 to 370, where the position data of 5CC44 is stored in CC5] and the cursor position is changed. Move to the line break position of the previous line. 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
で現カーソル行の先頭位置の入力位置を示すものより、
文章バッファ・4゜が可変長であるため、前行の行末に
戻されたことになる。更にステップ372によりカウン
タ5cc44を表示バッファの行、末位置に設定する。
By this operation, the pitch amount from the beginning of the line at the position to which the cursor has been moved is determined by the carriage counter CARR-C45. Furthermore, by moving the input position of the text buffer down by one character in step 371, the above step 355
From the one that indicates the input position of the first position of the current cursor line,
Since the text buffer 4° has a variable length, it will return to the end of the previous line. Further, in step 372, the counter 5cc44 is set to the end position 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,374Jこよりカウンタ5
CC44をダウンして表示バッファの行末よりデータが
ある位置まで戻される。これによって文章バッファの現
入力位置と、カウンタ5CC44とが対応させられ、5
CC−CCとなるまでカラ;り5CC44と文章バッフ
ァの入力位置をダウンする(ステップ380〜382)
。このステップ380の条件が満足されると、移動した
カーソル位置と文。
Next, Ste, Tsubu 373, 374J counter 5
The CC 44 is moved down and data is returned from the end of the line in the display buffer to the position where the data is located. As a result, the current input position of the text buffer and the counter 5CC44 are made to correspond to each other.
Move down the input position of 5CC44 and text buffer until it becomes CC-CC (steps 380 to 382)
. When the condition of this step 380 is satisfied, the moved cursor position and sentence.

章バッファの入力位置が対応されたことになる。This means that the input position of the chapter buffer is now corresponded.

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

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

次にカーソルダウンキー(G)+6を操作すると、第5
図のステップ300以降が実行される。この動作は上記
カーソルアップキー17の逆の動作を行うことになり、
カーソルカウンタCC51の位置データをカウンタ5C
C44に記憶すると共にCC5]の位置データを1行分
アップする(ステップ301゜302)。
Next, operate the cursor down key (G) + 6, and the fifth
Step 300 and subsequent steps in the figure are executed. This operation is the opposite operation of the cursor up key 17,
The position data of cursor counter CC51 is transferred to counter 5C.
The position data of CC5] is stored in C44 and updated by one line (steps 301 and 302).

更に表示バッファ50のカウンタSC,C44の位置の
データが改行データであるかあるいは5CC44が行末
にあるか判定を行い、両条件が満足されるまでカウンタ
5CC44と、文章バッファ40の入力位置をアップす
る(ステップ303〜306)。
Furthermore, it is determined whether the data at the positions of the counters SC and C44 in the display buffer 50 is line feed data or whether 5CC44 is at the end of the line, and the input position of the counter 5CC44 and the text buffer 40 is increased until both conditions are satisfied. (Steps 303-306).

前記両条件が満足すると、すなわち現カーソル位置の行
の文章末までカウンタ5CC44を移動させると、ステ
ップ310に進行する。ここでカウンタ5CC44を次
の行の先頭位置に設定する。更にステップ311で表示
バッファのカウンタ5CC44の位置にデータが有るか
否か判定され1.ここで否定されれば現カーソル行が文
章の床付であると判断してステップ330より333を
実行し、上記ステップ303より306の逆の動作を行
なって文章バッファ40の入力位置を元の位置へ戻して
この動作を完了させる。結果的にはこのキーの動作を実
行させない。
When both of the above conditions are satisfied, that is, when the counter 5CC44 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 5CC44 is set to the starting position of the next line. Furthermore, in step 311, it is determined whether or not there is data at the position of the counter 5CC44 in the display buffer.1. If the result is negative, it is determined that the current cursor line is at the bottom of the text, and steps 330 to 333 are executed, and steps 303 to 306 are performed in reverse to change the input position of the text buffer 40 to the original position. Return to 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, then the carriage counter CARR-C45 is reset (step 312).

更に文章バッファ40の入力位置をアップすると共に表
示バッファ50のカウンタ5CC44の位置のデータが
改行データであるかまたは5cc=ccであるか判定し
、ここでともに否定される七カウンタ5CC44の位置
の文字データのピンチ量をキャリッジカウンタCARR
−C45に加算すると共にカウンタ5CC44をアップ
する(ステップ313〜317)。
Further, the input position of the text buffer 40 is increased, and it is determined whether the data at the position of the counter 5CC44 of the display buffer 50 is line feed data or 5cc=cc, and the character at the position of the 7 counter 5CC44 is negated here. Carriage counter CARR indicates pinch amount of data.
-C45 and also increments the counter 5CC44 (steps 313 to 317).

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

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

■ 印字制御の場合 印字キー12を操作すると第7図ステップ400以降が
実行される。
(2) In the case of print control When the print key 12 is operated, steps 400 and subsequent steps in FIG. 7 are executed.

空送りモードでなければ、ステップ430に進行してセ
ンサー86によりキャリッジ(記録ヘッド)81が左マ
ージンに位置しているか検知し、左マージン位置になけ
ればキャリッジを復帰動作させる。すなわちキャリッジ
モータ84を逆転駆動して左マージンまで戻す(ステッ
プ430 、431 )。
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, and if it is not at the left margin, the carriage is operated to return. That is, the carriage motor 84 is driven in reverse to return to the left margin (steps 430, 431).

更に、ステップ431にて後述の領域指定されているか
判定され、否定されればステップ433に進行して文章
バッファ40の文章頁の先頭位置データをポインタAP
149−]に設定する。更に記録制御部7のプリンタキ
ャリッジカウンタPCARC”73をリセットする(ス
テップ434)。
Furthermore, in step 431, it is determined whether an area, which will be described later, has been specified, and if negative, the process proceeds to step 433, where the start position data of the text page in the text buffer 40 is pointed to by the pointer AP.
149-]. Furthermore, the printer carriage counter PCARC'' 73 of the recording control section 7 is reset (step 434).

続くステップ435において、文章バッファ40のAP
Iに対応する位置のデータを読出し、改行データである
か否か判定され、改行データ以外であればこの文字デー
タを記録制御部7のプリントバッファPBF72に記憶
して更にCG7]にて対応のパターンを読出し、記録回
路70に供給して記録ヘッド2Iでこのパターンを記録
する(ステップ436,437)。
In the following step 435, the AP of the text buffer 40
The data at the position corresponding to I 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 PBF72 of the recording control unit 7, and the corresponding pattern is further read out in CG7]. is read out and supplied to the recording circuit 70, and this pattern is recorded by the recording head 2I (steps 436, 437).

つづいて、プリントキャリッジカウンタPCARC73
が予め定めた桁長m(表示画面の桁長と対応する)と一
致するか比較され、一致しなければ全記録した文字のピ
ッチ量をキャリッジカウンタCARR−C45に加算し
てポインタAPIを次の文字位!データにアンプする(
ステップ439 、442)。
Next, print carriage counter PCARC73
is compared with a predetermined digit length m (corresponding to the digit length of the display screen), and if they do not match, the pitch amount of all recorded characters is added to the carriage counter CARR-C45 and the pointer API is moved to the next one. Character rank! Amplify data (
Steps 439, 442).

つづいてステップ406に進行してプリンタキャリッジ
カウンタPCARC73とキャリッジカウンタCARR
−C45とが一致するか比較され、一致しなければステ
ップ407へ進行して、p CARC>CARRCの大
小が比較される。今は、CARR−C45の方が大きい
ためステップ410へ進行してキャリッジモータ84を
正転させ、更にセンサー86にて移動量を観測してプリ
ンタキャ、−+J−ツジーカウンタPCARC73をカ
ウントアツプする。このようにしてPCARC73とC
ARR−C45が一致するまで回転され、キャリッジが
右方向に移動し、一致すると停止する(ステップ406
.407;410.4]1)。
Next, the process proceeds to step 406, where the printer carriage counter PCARC73 and the carriage counter CARR are input.
-C45, and if they do not match, the process proceeds to step 407, where the magnitude of pCARC>CARRC is compared. Since CARR-C45 is now larger, the process advances to step 410 to rotate the carriage motor 84 in the forward direction, and further observes the amount of movement with the sensor 86 and increments the printer carrier -+J-Tzi counter PCARC73. In this way, PARC73 and C
The ARR-C45 is rotated until they match, the carriage moves to the right, and stops when they match (step 406
.. 407;410.4]1).

従ってキャリッジ81は次の文字の印字位置で停止する
。再びステップ435以降が繰返される。
Therefore, the carriage 81 stops at the printing position of the next character. Step 435 and subsequent steps are repeated again.

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

更にキャリッジモータ84を逆転させてキャリッジを左
マージン位置まで復帰させCARRC45゜PCARc
78をリセットする(ステップ450〜453)。
Furthermore, the carriage motor 84 is reversed to return the carriage to the left margin position, and CARRC45°PCARc
78 (steps 450-453).

更に、用紙センサー87で用紙エンドが検知されて判定
され、ここで否定されると行カウンタ43をカウントア
ツプして、再び上記動作が繰返され、1行分の印字が完
了される。
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図のステップI 09 、2
08 、257 、323 、387で実行される。具
体的には第7図の印字制御におけるステップ400以降
が動作される。
■ Regarding the jump feed mode, for example, before operating ■ and ■ above, press the jump feed key 18.
If is operated, the jump feed mode is set. That is,
At the end of the operations (2) and (2) above, printing control for blank feed is performed. This corresponds to steps I09 and 2 in FIGS. 2 to 6.
08, 257, 323, and 387. Specifically, steps 400 and subsequent steps in the print control shown in FIG. 7 are operated.

これは、ステップ401より402に進行してFlがセ
ットされているか、すなわちFlがセットされていると
行上昇(表示面では下降)される状態を示し、そのため
、ステップ403で行ピツチメモリ41の行カウンタ4
3に対応するピッチ量が読出され、プラテンモータ85
をそのピソチ量分正転して用紙を上昇させる。
This indicates that the process advances from step 401 to step 402 and Fl is set, or that if Fl is set, the row is raised (lowered on the display screen). counter 4
The pitch amount corresponding to 3 is read out, and the platen motor 85
The paper is raised by rotating forward by that amount.

又、F2がセットされていれば、すなわち行下降(表示
面では上昇)される状態。を意味し、この時打ピンチメ
モリのピッチ量分プラテンモータ85を逆転して用紙を
下降させる(ステップ405)。
Also, if F2 is set, that is, the line is lowered (raised on the display screen). At this time, the platen motor 85 is reversely rotated by the pitch amount of the pinch memory to lower the paper (step 405).

なお、Fl、F2ともにセットしていることはない。Note that both Fl and F2 are never set.

更に、ステップ407以降が動作され、プリンタキャリ
ッジカウンタPCARC73とキャリッジカウンタCA
RR−C45が一致する方向にキャリッジモータ84が
回転され、キャリッジが移動する(ステップ406〜4
11)。
Further, steps 407 and subsequent steps are performed, and printer carriage counter PARC73 and carriage counter CA
The carriage motor 84 is rotated in the direction in which the RR-C45 matches, and the carriage moves (steps 406 to 4).
11).

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

■ 領域指定の印字 この機能は予め文章入力して記憶する文章の1部分のみ
を印字することができるものであり、例えばある定形印
刷物の特定位置に文章編集した1部分の文章を印字する
ことができるものである。
■ Area-specific printing This function allows you to print only a part of a text that has been entered in advance and memorized.For example, it is possible to print a part of a text that has been edited in a specific position on a certain fixed-size printed matter. It is possible.

文章データを表示している表示装置上で上記カーソル移
動によっ〜で印字しようとする部分の文章の先頭位置ま
でカーソルを移動し、ここで領域指定キー13を操作す
ると、第8図のステップ500が実行される。
By moving the cursor on the display device displaying the text data, move the cursor to the beginning position of the text to be printed using ~, and operate the area designation key 13 at this point to proceed to step 500 in FIG. is executed.

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

続くステップ501で2回目の領域指定か否か判定され
、もし1回目であればステップ502へ進行して文章バ
ッファ40の入力位置データをポ′インタAP149−
1に記憶する。更にキャリッジカウンタCA、RR−C
45のデータをキャリッジバッファCARBF46に記
憶する(ステップ502,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 pointed to by the pointer AP149-.
Store in 1. Furthermore, carriage counters CA and RR-C
45 is stored in the carriage buffer CARBF46 (steps 502 and 503).

再び上記カーソル移動にて、文章部分の最後の位置にカ
ーソルを移動し、ここでこの領域指定のキー13を再び
操作する。すると、ステップ501にて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, in step 501, it is determined that it is the second time, so the process proceeds to step 504, and the input position data of the text buffer is stored in the pointer AP 249-2.

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

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

つまり、キャリッジ81をキャリッジカウンタCARR
−C45のピソナ量分移動させて、部分文章の先頭位置
まで空送りする。
In other words, the carriage 81 is set to the carriage counter CARR.
- Move by the pisona amount of C45 and skip forward to the beginning position of the partial sentence.

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

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

なお、上記の実施例では表示装置6として2〜4行分程
度の表示装置を示したが1行分表示できる表示装置で充
分であり、また通常のCRT表示装置を用いることがで
きる。好ましくは1行分表示できる表示装置か2〜4行
分程度表示できる表示装置を用いることであり、それは
装置を小型化できるからである。
In the above embodiment, the display device 6 is a display device for about 2 to 4 lines, but a display device capable of displaying one line is sufficient, and a normal CRT display device can 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.

〈効 呆〉 以上のように本発明にあっては、文章を入力するための
文章入力部と、前記入力部から入力された文章情報を記
憶する文章メモリと、前記文章情報全編集制御する編集
制御部と、前記文章情報を表示する表示装置と、前記文
章メモリの文章情報を文書作成のため印字するプリンタ
とを備える文章処理装置において、 前記プリンタのキャリッジを空送り指示するための空送
り指示手段と、前記表示装置で表示され、文章の入力位
置を表わすカーソルの位置を移動指示する移動指示手段
と、上記入力された文章情報の各文字ピッチデータ、行
間ピッチデータ等の文章フォーマットに関するデータを
記憶する手段を備え、前記空送り指示を与えてカーソル
の位置を移動させることにより、文章フォーマットに関
するデータに基づいてプリンタのヘッドを前記カーソル
位置に対応した当該プリンタにセットされた書面上の位
置へ記録することなく移動させるようにしたものである
から、文章レイアウトが表示装置によらず、当該文章処
理装置が備えるプリンタを利用し、該プリンタのキャリ
ッジを空送り操作させて実際の文書作成書面上で確認で
きて便利である。
<Effect> 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 unit for controlling all editing of the text information. In a text processing device comprising a control unit, a display device that displays the text information, and a printer that prints the text information in the text memory for document creation, the text processing device includes: a blank feed instruction for instructing the carriage of the printer to skip feed; means, a movement instruction means for instructing to move the position of a cursor displayed on the display device and representing the input position of the text, and data regarding the text format such as each character pitch data and line spacing data of the input text information. The printer head is provided with a storage means, and the head of the printer is moved to a position on the document set in the printer corresponding to the position of the cursor based on the data regarding the text format by giving the jump instruction and moving the position of the cursor. Since the text layout is designed to be moved without being recorded, the text layout does not depend on the display device, but rather uses the printer of the text processing device, and performs the idle feed operation of the carriage of the printer to create the actual document. It is convenient to check.

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

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

第1図は本発明に係る文章処理装置の構成を示すブロッ
ク構成図、−第2図乃至第8図は同装置の動作を示すフ
ローチャートである。 l:キーボード装置、2 : CPU13 : ROM
。 4:RAM、5:表示制御部、6:表示装置、7:プリ
ンタ制御部、8:プリンタ、12:印字指示キー、14
〜17 カーソル移動指示キー、18゛空送り指示キー
、40:文章バッファ、41:行ピツチメモリ、45:
キャリッジカウンタ、51:カーソルカウンタ。 代理人 弁理士 福 士 愛 彦(他2名)第2 図 第8図 第3陳j 第4図
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. l: Keyboard device, 2: CPU13: ROM
. 4: RAM, 5: Display control unit, 6: Display device, 7: Printer control unit, 8: Printer, 12: Print instruction key, 14
~17 Cursor movement instruction key, 18゛Jump feed instruction key, 40: Text buffer, 41: Line pitch memory, 45:
Carriage counter, 51: Cursor counter. Agent Patent attorney Aihiko Fuku (2 others) Figure 2 Figure 8 Figure 3 Figure 4

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, 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. , by giving the above-mentioned jump feed instruction and moving the cursor position, the head of the printer is moved based on the data regarding the text format to a position on the document written in the printer that corresponds to the cursor position without recording. What is claimed is: 1. A printer jump control method in a document processing device, characterized in that:
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 true JPS59135582A (en) 1984-08-03
JPS6322332B2 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)

Cited By (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
JPH01184181A (en) * 1988-01-18 1989-07-21 Fujitsu Ltd Word processor equipped with printer

Citations (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

Patent Citations (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

Cited By (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
JPH01184181A (en) * 1988-01-18 1989-07-21 Fujitsu Ltd Word processor equipped with printer

Also Published As

Publication number Publication date
JPS6322332B2 (en) 1988-05-11

Similar Documents

Publication Publication Date Title
JPS6118033A (en) print processing device
JPS59135540A (en) Printer control system for sentence processor
JPS628833B2 (en)
JPS5843034A (en) Sentence edit processor
JPS6322332B2 (en)
TW200532566A (en) System, method, and program for generating barcode data
JPS62152771A (en) Printing position designating system
JP2721339B2 (en) Document processing device
JP2834882B2 (en) Document creation device
JPH089245B2 (en) Character processor
JPH0261757A (en) Documentat preparing device
JPS62131322A (en) word processor
JPH0749851A (en) Document shaping device
JPH0115391B2 (en)
JPH01176573A (en) Document preparation and editing apparatus
JPH05131708A (en) Method of creating print format of printing device in text processing device
JPS61279924A (en) Word processor
JPS6411985B2 (en)
JPH05342202A (en) Document processor
JPH01130264A (en) Document processor
JPH0511947A (en) Print position setting device
JPH0696066A (en) Document preparing device having area function and area position changing method
JPH0760372B2 (en) Character processor
JPH04282755A (en) Word processor
JPH0384659A (en) Document editing device