JPS6322333B2 - - Google Patents
Info
- Publication number
- JPS6322333B2 JPS6322333B2 JP58010186A JP1018683A JPS6322333B2 JP S6322333 B2 JPS6322333 B2 JP S6322333B2 JP 58010186 A JP58010186 A JP 58010186A JP 1018683 A JP1018683 A JP 1018683A JP S6322333 B2 JPS6322333 B2 JP S6322333B2
- Authority
- JP
- Japan
- Prior art keywords
- text
- counter
- line
- data
- cursor
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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)
- Editing Of Facsimile Originals (AREA)
- Record Information Processing For Printing (AREA)
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】
<技術分野>
本発明は文章処理装置に有効なプリンタの制御
方式を提供するものである。DETAILED DESCRIPTION OF THE INVENTION <Technical Field> The present invention provides a printer control method that is effective for document processing devices.
<従来技術>
一般に文章処理装置例えばワードプロセツサに
おいて、入力されている文章情報のうち特定の部
分を指定して(領域指定)、その特定の部分のみ
プリンタにて記録させることができるようになつ
ていた。<Prior art> In general, in a text processing device such as a word processor, it has become possible to specify a specific part of input text information (area specification) and have a printer print only that specific part. was.
この場合、領域の指示をして印字を実行させる
ものであるが、この時にプリンタの動作は前記領
域の開始位置を印字位置の初めからその領域の終
了位置まで単に記録動作するだけであつた。 In this case, an area is specified and printing is executed, but the printer's operation at this time is simply to record the start position of the area from the beginning of the print position to the end position of the area.
即ち、入力されている文章情報の途中の部分を
領域指定させて印字を行わせると、記録紙の先頭
よりその領域指定された部分の記録がなされるだ
けであつた。 That is, when printing is performed by specifying a region in the middle of input text information, only the specified region is recorded from the beginning of the recording paper.
このため、文章情報の途中の部分を領域指定
し、この領域指定した部分に対応する記録紙上の
位置へ、それを記録させることができなかつた。 For this reason, it has been impossible to specify an area in the middle of text information and record it at a position on the recording paper corresponding to the specified area.
このような記録を行わせようとすると、オペレ
ータは手操作で記録用紙の位置合せをして複雑か
つ厄介な手間をかけて初めてできるというのが実
情であつた。 In reality, when attempting to perform such recording, the operator has to manually align the recording sheets, which is complicated and troublesome.
<目的>
本発明は上記の点に鑑み、文章情報の途中の部
分を領域指定した場合、この領域指定した部分に
対応する記録紙上の位置へ、その指定部分をその
まま記録できるように成したものである。<Purpose> In view of the above points, the present invention is designed to enable, when a region is specified in the middle of text information, that designated portion to be recorded as is at a position on the recording paper corresponding to the designated region. It is.
従つて、予め印刷された用紙の任意の位置にこ
の文章処理装置で任意の文章を挿入することがで
きまた予め編集して記憶する文章の不必要な部分
を空送りして必要な部分的文章を、前記編集した
文章フオーマツト形態を破壊することなく、定型
の記録紙に挿入することができるようにしたもの
である。 Therefore, any text can be inserted into any position on pre-printed paper using this text processing device, and unnecessary parts of the text that have been edited and stored in advance can be skipped to create the necessary partial text. can be inserted into standard recording paper without destroying the edited text format.
<実施例>
第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はCRT表示装置6の表示制御部であり、表
示画面に対応した記憶エリアを有し、表示される
文字のコードデータを記憶する表示バツフア50
と、表示画面上の入力位置を示すカーソルマーク
を表示するためのカーソルカウンタCC51と、
表示バツフア50に記憶する文字コードより対応
の文字パターンを発生する文字パターン発生器
CG52とを有している。 Reference numeral 5 denotes a display control unit of the CRT display device 6, and a display buffer 50 has a storage area corresponding to the display screen and stores code data of characters to be displayed.
and a cursor counter CC51 for displaying a cursor mark indicating the input position on the display screen.
A character pattern generator that generates a corresponding character pattern from the character code stored in the display buffer 50
It has CG52.
CRT表示装置6はラスタ走査に同期して表示
バツフア50より文字コードが読出され、前記
CG52にてパターンに展開されて文字が表示さ
れる。 In the CRT display device 6, character codes are read out from the display buffer 50 in synchronization with raster scanning.
The CG52 develops it 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は例えば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 forward 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)。更に空送りモードであ
るか否か判定され、このモードでなければF24
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 starting position of the specified partial text, and the specified text is subsequently recorded.
なお、上記の実施例では領域指定するために領
域指定キーで行わせたが、ライトペンを用いて表
示画面上で行わせることもできる。また表示装置
6としてCRT表示装置を示したが、1行分表示
するもの或は2〜4行分表示できる表示装置を用
いることができることは勿論である。 In the above embodiment, the area specification key is used to specify the area, but it can also be performed on the display screen using a light pen. Further, although a CRT display device is shown as the display device 6, it is of course possible to use a display device that can display one line or two to four lines.
<効果>
本発明にあつては、文章を入力するための文章
入力部と、前記入力部から入力された文章情報を
記憶する文章メモリと、前記文章情報を編集制御
する編集制御部と、前記文章情報を表示する表示
装置と、前記文章メモリの文章情報を文書作成の
ため印字するプリンタとを備える文章処理装置に
おいて、
上記文章メモリに保持された文章情報のうち、
記録したい部分の領域を指示入力する指示手段
と、前記文章情報をプリンタで記録することを指
示する印字指示手段と、上記入力された文章情報
の各文字ピツチデータ、行間ピツチデータ等の文
章フオーマツトに関するデータを記憶する手段、
を備え、上記文章情報の記録したい部分の領域を
領域指示手段を操作して領域設定させ、然る後印
字指示手段による印字動作に応答して文章フオー
マツト関する上記データに基づいて文章情報の領
域設定されていない部分に対応する位置について
文章情報の記録をせずにプリンタのキヤリツジを
空送りさせると共に前記領域設定された部分のみ
対応位置で記録動作させるものであり、これによ
つて予め印刷された用紙の任意の位置にこの文章
処理装置で所定の文章を挿入することができまた
予め編集して記憶する文章の不必要な部分を空送
りして必要な部分的文章を、前記編集した文章フ
オーマツト形態を破壊することなく、定型の記録
紙(印刷紙)に挿入することができるという特徴
を有するものである。<Effects> The present invention includes 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 In a text processing device that includes a display device that displays text information and a printer that prints the text information in the text memory for document creation, the text information stored in the text memory includes:
An instructing means for instructing and inputting an area of the part to be recorded, a printing instructing means for instructing to record the text information on a printer, and data regarding the text format such as each character pitch data and line spacing data of the input text information. means of remembering,
The area of the part where the text information is to be recorded is set by operating the area designation means, and then the area of the text information is set based on the data regarding the text format in response to the printing operation by the print designation means. In this system, the carriage of the printer is moved without recording the text information at the position corresponding to the area that has not been set, and the recording operation is performed only at the corresponding position for the area where the area has been set. A predetermined sentence can be inserted at any position on a sheet of paper using this text processing device, and unnecessary parts of the text that have been edited and stored in advance can be skipped and necessary partial sentences can be converted into the edited text format. It has the characteristic that it can be inserted into standard recording paper (printing paper) without destroying its form.
第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)
力部から入力された文章情報を記憶する文章メモ
リと、前記文章情報を編集制御する編集制御部
と、前記文章情報を表示する表示装置と、前記文
章メモリの文章情報を文書作成のため印字するプ
リンタとを備える文章処理装置において、 上記文章メモリに保持された文章情報のうち、
記録したい部分の領域を指示入力する指示手段
と、 前記文章情報をプリンタで記録することを指示
する印字指示手段と、 上記入力された文章情報の各文字ピツチデー
タ、行間ピツチデータ等の文章フオーマツトに関
するデータを記憶する手段、 を備え、上記文章情報の記録したい部分の領域
を前記領域指示手段を操作して領域設定させ、然
る後印字指示手段による印字動作に応答して文章
フオーマツト関する上記データに基づいて文章情
報の領域設定されていない部分に対応する位置に
ついて文章情報の記録をせずにプリンタのキヤリ
ツジを空送りさせると共に前記領域設定された部
分のみ対応位置で記録動作させることを特徴とす
る文章処理装置のプリンタ制御方式。[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. In a text processing device that includes a display device that displays text information and a printer that prints text information in the text memory for document creation, the text information stored in the text memory includes:
An instructing means for instructing and inputting an area of a part to be recorded, a printing instructing means for instructing to record the text information on a printer, and data regarding text format such as each character pitch data and line spacing data of the input text information. storing means, operating the area specifying means to set an area where the text information is desired to be recorded, and then, in response to a printing operation by the print instruction means, based on the data regarding the text format; Text processing characterized in that a carriage of a printer is fed blankly without recording text information at a position corresponding to a part for which a text information area is not set, and a recording operation is performed only for the part for which the text information area is set at a corresponding position. Device printer control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58010186A JPS59135540A (en) | 1983-01-24 | 1983-01-24 | Printer control system for sentence processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58010186A JPS59135540A (en) | 1983-01-24 | 1983-01-24 | Printer control system for sentence processor |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS59135540A JPS59135540A (en) | 1984-08-03 |
JPS6322333B2 true JPS6322333B2 (en) | 1988-05-11 |
Family
ID=11743249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58010186A Granted JPS59135540A (en) | 1983-01-24 | 1983-01-24 | Printer control system for sentence processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59135540A (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61281328A (en) * | 1985-05-13 | 1986-12-11 | Sanyo Electric Co Ltd | Printing condition setting system |
JPS61286925A (en) * | 1985-06-14 | 1986-12-17 | Toshiba Corp | Document forming device |
JPH0751379B2 (en) * | 1986-04-18 | 1995-06-05 | 日本電気株式会社 | Print control device |
JP2882793B2 (en) * | 1987-10-28 | 1999-04-12 | 株式会社日立製作所 | Document editing device |
JP2746592B2 (en) * | 1988-01-30 | 1998-05-06 | キヤノン株式会社 | Document processing apparatus and method |
FR2627604B1 (en) * | 1988-02-22 | 1991-09-13 | Cga Hbs | DEVICE FOR PRINTING SELECTED PARTS OF A PERSONAL INFORMATION TERMINAL USING A PRINTER |
JP2806647B2 (en) * | 1991-05-20 | 1998-09-30 | シャープ株式会社 | Print processing device |
JPH04373066A (en) * | 1991-06-21 | 1992-12-25 | Sharp Corp | Document processor |
JP2537088Y2 (en) * | 1992-08-21 | 1997-05-28 | 富士ゼロックス株式会社 | Control device for hand-driven copier |
-
1983
- 1983-01-24 JP JP58010186A patent/JPS59135540A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS59135540A (en) | 1984-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6322333B2 (en) | ||
JPS6118033A (en) | Print processor | |
JP4735653B2 (en) | Print data creation apparatus and print data creation program | |
US4573812A (en) | Intercharacter space processing apparatus for printers | |
JPS6322332B2 (en) | ||
JPH07319868A (en) | Document editing processor | |
JPH0522932B2 (en) | ||
JP3421138B2 (en) | Print data creation device | |
JP2746592B2 (en) | Document processing apparatus and method | |
US6747756B1 (en) | Color printing apparatus | |
JP5907386B2 (en) | Printing apparatus, printing method and program by printing apparatus | |
JP3087447B2 (en) | Printing device | |
JPH06103430B2 (en) | Character processor | |
JP2604355B2 (en) | Document processing device | |
JPH0115391B2 (en) | ||
JPH0369313B2 (en) | ||
JPH089245B2 (en) | Character processor | |
TW200532566A (en) | System, method, and program for generating barcode data | |
JP3900647B2 (en) | Document processing device | |
JPH0749851A (en) | Document shaping device | |
JPS62152771A (en) | Print position specification method | |
JP2606126B2 (en) | Tape recorder | |
JPH05131708A (en) | Forming method of printing format of printing device in text processing device | |
JPH05324641A (en) | Tape printer | |
JPH0115392B2 (en) |