JP3053137B2 - Document processing device - Google Patents

Document processing device

Info

Publication number
JP3053137B2
JP3053137B2 JP1850792A JP1850792A JP3053137B2 JP 3053137 B2 JP3053137 B2 JP 3053137B2 JP 1850792 A JP1850792 A JP 1850792A JP 1850792 A JP1850792 A JP 1850792A JP 3053137 B2 JP3053137 B2 JP 3053137B2
Authority
JP
Japan
Prior art keywords
data
display
setting
document
key
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 - Fee Related
Application number
JP1850792A
Other languages
Japanese (ja)
Other versions
JPH05185662A (en
Inventor
里美 中間
千年 伊藤
美菜子 石田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP1850792A priority Critical patent/JP3053137B2/en
Publication of JPH05185662A publication Critical patent/JPH05185662A/en
Application granted granted Critical
Publication of JP3053137B2 publication Critical patent/JP3053137B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、文書処理装置に関し、
特に文書の任意の部分に対して印字フォーマットを設定
する範囲の設定及びその範囲の解除に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus,
In particular, it relates to setting of a range for setting a print format for an arbitrary portion of a document and cancellation of the range.

【0002】[0002]

【従来の技術】従来、例えば、ディスプレイやドット印
字方式による印字機構を備えたワードプロセッサなどに
おいては、その制御装置内にテキストメモリを設け、キ
ーボードなどから入力した複数の文書のデータをこのテ
キストメモリに記憶できるようになっている。ところ
で、文書データの入力中に、文書の任意の部分に対して
アンダーラインやボールドなどの文字修飾や書体や文字
サイズなどを含む印字フォーマットを設定できるよう
に、これら印字フォーマットのデータの為のメモリが別
途制御装置内に設けられている。
2. Description of the Related Art Conventionally, for example, in a word processor having a display or a printing mechanism of a dot printing system, a text memory is provided in a control device thereof, and data of a plurality of documents input from a keyboard or the like is stored in the text memory. It can be memorized. By the way, during the input of document data, the memory for these print format data can be set for any part of the document, such as character modification such as underlining and bold, and font format and character size. Are separately provided in the control device.

【0003】即ち、例えば、文書データ「ABCDE
F」のうち文字列「ABC」にアンダーラインを施す場
合には、先ず文字「A」にカーソルを移動させてアンダ
ーラインモードを設定し、次にカーソル移動キー或いは
アンダーラインキーを操作してカーソルを文字「C」に
移動させ、アンダーラインモードを解除する。その結
果、各文字「A」、「B」、「C」のコードデータに対
して、アンダーラインを指示する文字修飾データが夫々
付随して設けられ、これらの文字例「ABC」はこの文
字修飾データに基いてアンダーライン付きでディスプレ
イに表示され、印字される。
That is, for example, the document data "ABCDE"
To underline the character string "ABC" in "F", first move the cursor to the character "A" to set the underline mode, and then operate the cursor movement key or the underline key to move the cursor. Is moved to the character "C" to release the underline mode. As a result, the character data "A", "B", and "C" are each provided with character modification data indicating an underline, and these character examples "ABC" It is displayed on the display with an underline based on the data and printed.

【0004】ところで、この文字修飾データとしては、
1バイト或いは2バイトからなり、アンダーラインやボ
ールドなどを含む種々の文字修飾の各々は、所定のビッ
トに割当てられており、文字修飾を設定したときには、
その対応するビットに「1」のフラグデータが設定され
る。一方、前記アンダーラインを解除するときには、前
記同様にアンダーライン解除モードを設定し、カーソル
移動キー或いはアンダーラインキーを操作する。その結
果、アンダーラインを解除された各文字コードに付随す
る文字修飾データの対応するビットに「0」のフラグデ
ータが設定され、これら各文字はアンダーラインを伴わ
ずに表示され、印字される。
[0004] By the way, as the character modification data,
Each of various character modifications including 1 byte or 2 bytes, including underline and bold, is assigned to a predetermined bit, and when character modification is set,
Flag data of “1” is set in the corresponding bit. On the other hand, when releasing the underline, the underline release mode is set in the same manner as described above, and the cursor movement key or the underline key is operated. As a result, flag data of "0" is set in the corresponding bit of the character modification data associated with each underlined character code, and these characters are displayed and printed without underlining.

【0005】[0005]

【発明が解決しようとする課題】上述したように、従来
のワードプロセッサなどにおいては、入力した文書の任
意の部分に文字修飾などの印字フォーマットを自由に設
定することが可能であるが、この文書の部分に設定した
印字フォーマットを解除する場合には、印字フォーマッ
トを設定したときと略同様に、カーソル移動キーなどを
操作してその印字フォーマットを設定した各文字につい
て解除操作しなければならず、印字フォーマットの解除
の為の操作が煩雑になること、印字フォーマットを設定
する印字フォーマットデータを格納する為に、大容量の
メモリを必要とすること、などの問題がある。
As described above, in a conventional word processor or the like, it is possible to freely set a print format such as character modification to an arbitrary portion of an input document. When canceling the print format set for a part, you must operate the cursor movement keys etc. to release each character for which the print format has been set, almost in the same way as when setting the print format. There are problems that the operation for canceling the format becomes complicated and that a large-capacity memory is required to store the print format data for setting the print format.

【0006】本発明の目的は、文書の任意の部分に印字
フォーマットを設定する設定範囲の解除操作を簡単化で
きるような文書処理装置を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a document processing apparatus capable of simplifying a setting range releasing operation for setting a print format in an arbitrary portion of a document.

【0007】[0007]

【課題を解決するための手段】本発明に係る文書処理装
置は、文字や記号及び種々の指令を入力する為の入力手
段と、複数の文字や記号をディスプレイに表示する表示
手段と、ドット列により印字する印字ヘッドを含む印字
手段とを備えた文書処理装置において、入力手段から入
力された複数の文字や記号からなる文書のデータを記憶
するテキストメモリと、テキストメモリに記憶された文
書の任意の部分に対して印字フォーマット設定用の範囲
指定する為に、入力手段を介して文書データ中に入力設
定され、範囲開始を指示する開始データ及び範囲終了
を指示する終了データと、前記文書データを表示手段の
ディスプレイに表示させるとともに、前記開始データと
終了データに夫々対応する設定開始マークと設定終了マ
ークを表示手段のディスプレイに表示させる表示制御手
段と、前記入力手段に設けられ且つ文字や記号の消去を
指示する消去用キーと、前記消去用キーを介して設定開
始マークと設定終了マークの一方が消去されたときに他
方のマークを消去するとともに開始データと終了データ
を消去するデータ消去手段とを備えたものである。
A document processing apparatus according to the present invention comprises: input means for inputting characters and symbols and various commands; display means for displaying a plurality of characters and symbols on a display; A document processing device comprising a printing unit including a printing head for printing by a computer, a text memory for storing data of a document including a plurality of characters and symbols input from an input unit, and an optional document stored in the text memory. to specify the range of relative partial for print format setting, via the input means are entered set in the document data, and end data for instructing the start data and scope finished instructing range start, the document data The display means of
While displaying on the display, the start data and
The setting start mark and setting end mark corresponding to the end data, respectively.
Display control means for displaying the mark on the display of the display means.
And a step provided in the input means and erasing characters and symbols.
The key to be instructed and the setting to be opened via the key
When one of the start mark and setting end mark is deleted,
Data and start and end data
And a data erasing means for erasing data.

【0008】[0008]

【作用】本発明に係る文書処理装置においては、入力手
段から入力された複数の文字や記号からなる文書のデー
タはテキストメモリに記憶される。一方、このテキスト
メモリに記憶された文書の任意の部分に対して印字フォ
ーマットを適用する範囲を指定する為に、その設定範囲
の範囲開始を指示する開始データとその設定範囲の範囲
終了を指示する終了データとが、入力手段を介して文書
データ中に入力設定される。表示制御手段は、文書デー
タをディスプレイに表示させ、且つ開始データと終了デ
ータに夫々対応する設定開始マークと設定終了マークを
ディスプレイに表示させる。入力手段には、文字や記号
の消去を指示する消去用キーが設けられており、データ
消去手段は、消去用キーを介して設定開始マークと設定
終了マークの一方が消去されたときに他方のマークを消
去するとともに開始データと終了データを消去する
In the document processing apparatus according to the present invention, document data consisting of a plurality of characters and symbols input from the input means is stored in the text memory. On the other hand, in order to specify a range in which the print format is applied to an arbitrary portion of the document stored in the text memory, start data indicating the start of the set range and end of the set range are specified. The end data is input and set in the document data via the input means. The display control means is configured to output the document data.
Data on the display, and start and end data.
Setting start mark and setting end mark corresponding to
Display on the display. Input means include letters and symbols
There is an erase key to instruct the
The erasing means sets the setting start mark and setting via the erasing key.
When one of the end marks is erased, the other is erased
And delete the start data and end data .

【0009】このように、開始データと終了データとを
用いて、文書の任意の部分に対して印字フォーマットを
設定する範囲を指定するとともに、開始データと終了デ
ータに夫々対応する設定開始マークと設定終了マークが
ディスプレイに表示され、消去用キーを介して設定開始
マークと設定終了マークの一方を消去したときには他方
のマークがディスプレイから消去され且つ開始データと
終了データがテキストメモリから消去される。従って、
印字フォーマットのデータを文書部分の各文字について
設定する必要がなく、印字フォーマットのデータの為の
記憶容量を大幅に低減させることができる。そして、一
旦設定した印字フォーマットの設定とその設定範囲を簡
単な操作で解除することができる。
As described above, the range for setting the print format for an arbitrary part of the document is designated using the start data and the end data, and the start data and the end data are specified.
The setting start mark and setting end mark corresponding to the
Appears on the display and starts setting via the erase key
When one of the mark and the setting end mark is deleted, the other
Mark is removed from the display and the start data
The end data is deleted from the text memory. Therefore,
There is no need to set print format data for each character in the document portion, and the storage capacity for print format data can be significantly reduced. And one
The print format setting and the setting range
It can be released with a simple operation.

【0010】[0010]

【発明の効果】本発明に係る文書処理装置によれば、
〔作用〕の項で説明したように、テキストメモリと、開
始データ及び終了データと、消去用キーと、表示制御手
段と、データ消去手段とを設け、開始データと終了デー
タとを用いて、文書の任意の部分に対して印字フォーマ
ットを設定する範囲を指定できるので、この印字フォー
マットのデータを文書部分の各文字について設定する必
要がなく、印字フォーマットのデータの為の記憶容量を
大幅に低減させることができる。 そして、開始データと
終了データに夫々対応する設定開始マークと設定終了マ
ークをディスプレイに表示でき、消去用キーを介して設
定開始マークと設定終了マークの一方を消去したときに
は他方のマークが消去され且つ開始データと終了データ
も消去されるので、印字フォーマットの設定とその設定
範囲を解除する解除操作が大幅に簡単化する。
According to the document processing apparatus of the present invention,
As described in the paragraph of [Action], the text memory, the start data and the end data, the erase key, and the display control
And stage, and a data erasing means is provided, using the start data and end data, it is possible to specify the range for setting the print format to any portion of a document, the print Four
Matte data must be set for each character in the document part.
No need for storage capacity for print format data
It can be greatly reduced. And start data and
The setting start mark and setting end mark corresponding to the end data, respectively.
Can be displayed on the display and set via the erase key.
When one of the setting start mark and setting end mark is deleted
Since the other mark is erased and the start data and end data are also erased, the print format setting and its setting
The release operation for releasing the range is greatly simplified.

【0011】[0011]

【実施例】以下、本発明の実施例について図面に基いて
説明する。本実施例は、アルファベット文字や記号など
の多数のキャラクタを印字用テープに印字可能な英語専
用のテープ印字装置に本発明を適用した場合のものであ
る。図に示すように、テープ印字装置1の本体フレー
ム2の前部にはキーボード3が配設され、キーボード3
の後方で本体フレーム2内には印字機構PMが配設さ
れ、またキーボード3の後方には文字や記号を表示可能
な液晶ディスプレイ22が設けられている。キーボード
3には、アルファベットや数字や記号を入力する為の文
字キー、スペースキー、リターンキー、文書を作成する
文書作成キー、文書作成を終了する終了キー、カーソル
Kを右方或いは左方に移動させるカーソル移動キー、カ
ーソル表示位置の1桁左側の文字や記号を消去するバッ
クスペースキー、書体を選択する書体キー、アンダーラ
イン修飾を施す為のアンダーラインキー、ボールド修飾
を施す為のボールドキー、白抜きの修飾を施す為の白抜
きキー、影文字の修飾を施す為の影文字キー、各種の文
字修飾範囲を設定する設定キー、印字を指令する印字キ
ー、種々の設定・指令等を取消す取消しキー、電源をO
N・OFFする為の電源キーなどが設けられている。
尚、バックスペースキーが消去用キーに相当するもので
ある。
Embodiments of the present invention will be described below with reference to the drawings. In the present embodiment, the present invention is applied to a tape printer exclusively for English which can print a large number of characters such as alphabetic characters and symbols on a printing tape. As shown in FIG. 1 , a keyboard 3 is provided at a front portion of a main body frame 2 of the tape printer 1.
A printing mechanism PM is provided in the main body frame 2 behind the keyboard 3, and a liquid crystal display 22 capable of displaying characters and symbols is provided behind the keyboard 3. On the keyboard 3, a character key for inputting alphabets, numbers and symbols, a space key, a return key, a document creation key for creating a document, an end key for ending the document creation, and a cursor K are moved right or left. Cursor key to delete, backspace key to delete characters and symbols one digit left of cursor display position, typeface key to select typeface, underline key to apply underline modifier, bold key to apply bold modifier, White key for applying white decoration, shadow key for applying shadow character modification, setting key for setting various character modification ranges, print key for instructing printing, and canceling various settings / commands Cancel key, power off
A power key and the like for N / OFF are provided.
Note that the backspace key is equivalent to the erase key.
is there.

【0012】次に、図に基いて印字機構PMについて
簡単に説明すると、印字機構PMに着脱自在に矩形状の
テープ収納カセットCSが装着されており、このテープ
収納カセットCSには、透明なフィルムからなる幅約2
4mmの印字用テープ5が巻装されたテープスプール6
と、インクリボン7が巻装されたリボン供給スプール8
と、このインクリボン7を巻取る巻取りスプール9と、
印字用テープ5と同一幅を有する両面テープ10が剥離
紙を外側にして巻装された供給スプール11と、これら
印字用テープ5と両面テープ10とを接合させる接合ロ
ーラ12とが回転自在に設けられている。印字用テープ
5とインクリボン7とが重なる位置には、サーマルヘッ
ド13が立設され、これら印字用テープ5とインクリボ
ン7とをサーマルヘッド13に押圧するプラテンローラ
14と、印字用テープ5と両面テープ10とを接合ロー
ラ12に押圧する送りローラ15とは支持体16に回転
可能に枢支されている。このサーマルヘッド13には、
128個の発熱素子からなる発熱素子群が上下方向に列
設されている。
Next, the printing mechanism PM will be briefly described with reference to FIG. 2. A rectangular tape storage cassette CS is detachably mounted on the printing mechanism PM. Approximate width 2 consisting of film
Tape spool 6 on which 4 mm printing tape 5 is wound
And a ribbon supply spool 8 around which the ink ribbon 7 is wound.
A winding spool 9 for winding the ink ribbon 7;
A supply spool 11 in which a double-sided tape 10 having the same width as the printing tape 5 is wound with the release paper outside, and a joining roller 12 for joining the printing tape 5 and the double-sided tape 10 are rotatably provided. Have been. At a position where the printing tape 5 and the ink ribbon 7 overlap with each other, a thermal head 13 is erected, and a platen roller 14 for pressing the printing tape 5 and the ink ribbon 7 against the thermal head 13; A feed roller 15 for pressing the double-sided tape 10 against the joining roller 12 is rotatably supported by a support 16. This thermal head 13 includes
A heating element group including 128 heating elements is vertically arranged in rows.

【0013】従って、テープ送りモータ24(図
照)の所定回転方向への駆動により接合ローラ12と巻
取りスプール9とが所定回転方向に夫々同期して駆動さ
れながら発熱素子群に通電されたとき、印字用テープ5
上には複数のドット列により文字やバーコードが印字さ
れ、しかも印字用テープ5は両面テープ10を接合した
状態でテープ送り方向Aにテープ送りされる。尚、印字
機構PMの詳細については、特開平2─106555号
公報を参照。
Accordingly, by driving the tape feed motor 24 (see FIG. 3 ) in a predetermined rotation direction, the joining roller 12 and the take-up spool 9 are energized to the heating element group while being driven synchronously in the predetermined rotation direction. When printing tape 5
Characters and bar codes are printed on the upper side by a plurality of dot rows, and the printing tape 5 is fed in the tape feeding direction A with the double-sided tape 10 joined. For details of the printing mechanism PM, see JP-A-2-106555.

【0014】次に、テープ印字装置1の制御系は、図
のブロック図に示すように構成されている。キーボード
3と、液晶ディスプレイ(LCD)22に表示データを
出力する為の表示用RAMを有するディスプレイコント
ローラ(LCDC)23と、サーマルヘッド13を駆動
する為の駆動回路25と、テープ送りモータ24を駆動
する為の駆動回路26と、警告用ブザー20の為の駆動
回路21とは制御装置Cの入出力インターフェース27
に夫々接続されている。制御装置Cは、CPU29と、
このCPU29にデータバスなどのバス28を介して接
続された入出力インターフェース27、CGROM3
0、ROM31・32及びRAM40とから構成されて
いる。
[0014] Next, the control system of the tape printer 1, FIG. 3
Is configured as shown in the block diagram of FIG. Driving a keyboard 3, a display controller (LCDC) 23 having a display RAM for outputting display data to a liquid crystal display (LCD) 22, a drive circuit 25 for driving the thermal head 13, and a tape feed motor 24 And a drive circuit 21 for the warning buzzer 20 are provided with an input / output interface 27 of the control device C.
Connected to each other. The control device C includes a CPU 29,
An input / output interface 27 and a CGROM 3 connected to the CPU 29 via a bus 28 such as a data bus.
0, ROMs 31 and 32, and a RAM 40.

【0015】CGROM(パターンデータメモリ)30
には、多数のキャラクタの各々に関して、表示の為のド
ットパターンデータがコードデータに対応させて格納さ
れている。ROM(アウトラインデータメモリ)31に
は、キャラクタを印字する為に多数のキャラクタの各々
に関して、キャラクタの輪郭線を規定する輪郭線データ
(アウトラインデータ)が書体(ゴシック系書体、明朝
系書体など)毎に分類されコードデータに対応させて格
納されている。
CGROM (pattern data memory) 30
Stores dot pattern data for display corresponding to the code data for each of a large number of characters. In a ROM (outline data memory) 31, outline data (outline data) for defining the outline of the character for each of a large number of characters in order to print the character is a typeface (Gothic typeface, Mincho typeface, etc.). Each code is classified and stored in association with the code data.

【0016】ROM32には、キーボード3から入力さ
れた文字や数字や記号などのキャラクタのコードデータ
に対応させてディスプレイコントローラ23を制御する
表示駆動制御プログラム、テキストメモリ41の各コー
ドデータに対応するアウトラインデータからドットデー
タに変換処理して印字バッファ45に展開するイメージ
展開処理制御プログラム、印字バッファ4のデータを
順次読出してサーマルヘッド13やテープ送りモータ2
4を駆動する印字駆動制御プログラム、本願特有の後述
のテープ印字制御の制御プログラムなどが格納されてい
る。尚、前記イメージ展開処理制御プログラムには、キ
ャラクタにボールドやアンダーラインや白抜きなどの文
字修飾処理制御の為の各種のサブルーチンが含まれてい
る。
The ROM 32 includes a display drive control program for controlling the display controller 23 in accordance with character code data such as characters, numbers and symbols input from the keyboard 3, and outlines corresponding to each code data in the text memory 41. image development processing control program to expand the data in the print buffer 45 by conversion to dot data, a print buffer 4 3 of the thermal head 13 data Te sequentially reads and tape feed motor 2
4, a print drive control program for driving the printer 4, a control program for tape print control described later, which is unique to the present application, and the like. It should be noted that the image development processing control program includes various subroutines for controlling character modification processing such as bold, underline, and white outline for a character.

【0017】RAM40のラインバッファ41には、キ
ーボード3から入力された複数の文字や記号のコードデ
ータからなる文書データが一時的に格納される。テキス
トメモリ42には、ラインバッファ41からの文書デー
タが格納される。印字バッファ43には、イメージ展開
された文字や記号の印字データが格納される。
The line buffer 41 of the RAM 40 temporarily stores document data including code data of a plurality of characters and symbols input from the keyboard 3. The text data from the line buffer 41 is stored in the text memory 42. The print buffer 43 stores print data of characters and symbols developed into images.

【0018】次に、テープ印字装置1の制御装置Cで行
なわれるテープ印字制御のルーチンについて、図〜図
のフローチャートに基いて説明する。この制御におい
ては、アンダーライン、ボールド、白抜きなど、文書の
任意の部分に対して種々の文字修飾が可能であるが、こ
れらを設定する為の設定制御は何れにおいても同様なの
で、特にアンダーラインを設定する場合について説明す
るものとする。尚、図中符号Si(i=10、11、1
2・・・・)は各ステップである。電源キー操作により
電源が投入されるとこの制御が開始され、先ず各メモリ
41〜43をクリアするなどの初期設定が実行され(S
10)、文書データを作成する為に文書作成キーが操作
されたときには(S11・S12:Yes)、その後の
文字キー等の操作により入力された複数のコードデータ
からなる文書データをラインバッファ41に格納すると
ともに、そのコードデータをディスプレイ22に表示す
る一方、終了キーの操作によりラインバッファ41の文
書データをテキストメモリ42に格納する文書作成処理
が実行され(S13)、S11に戻る。例えば、図
示すように文字列「ABCDEFHIJ」が入力された
ときには、ラインバッファ41とテキストメモリ42と
にこれら文字列のコードデータが順次格納され、図
示すようにこれら文字列がディスプレイ22に表示され
る。
Next, the routine of the tape print control performed by the controller C of the tape printer 1, FIG. 4 to FIG.
6 will be described. In this control, various character modifications can be made to any part of the document such as underline, bold, and white, but the setting control for setting these is the same in any case. Is set. In the figure, reference symbol Si (i = 10, 11, 1
2) are the respective steps. When the power is turned on by operating the power key, this control is started, and initial settings such as clearing the memories 41 to 43 are first performed (S
10) When the document creation key is operated to create document data (S11 / S12: Yes), the document data consisting of a plurality of code data input by the subsequent operation of the character key or the like is stored in the line buffer 41. While storing the code data, the code data is displayed on the display 22, and a document creation process for storing the document data in the line buffer 41 in the text memory 42 is performed by operating the end key (S13), and the process returns to S11. For example, when the character string "ABCDEFHIJ" is inputted as shown in FIG. 7 is stored encoded data in these strings sequentially and the line buffer 41 and text memory 42, the display of these strings, as shown in FIG. 8 22 is displayed.

【0019】次に、カーソル右移動キー又はカーソル左
移動キーが操作されたときには(S11:Yes、S1
2:No、S14:Yes)、カーソル表示位置とカー
ソル移動キーの種類に基いてカーソルKが移動可能なと
きには(S15:Yes)、カーソル表示位置がカーソ
ル移動キーの種類に基いて1桁右側或いは1桁左側に移
動され(S16)、S11に戻る。しかし、カーソル表
示位置が文字列の先頭のときにカーソル左移動キーが操
作されたとき、或いはカーソル表示位置が文字列の末尾
のときにカーソル右移動キーが操作されたときには(S
15:No)、警告の為にブザー20が鳴動される(S
17)。次に、文字列にアンダーライン修飾を施す為に
アンダーラインキーが操作されたときには(S11:Y
es、S12・S14:No、S18:Yes)、アン
ダーライン設定処理制御(図参照)が実行される(S
19)。
Next, when the cursor right movement key or the cursor left movement key is operated (S11: Yes, S1
2: No, S14: Yes), when the cursor K can be moved based on the cursor display position and the type of the cursor movement key (S15: Yes), the cursor display position is shifted one digit to the right based on the type of the cursor movement key. It is moved one digit to the left (S16) and the process returns to S11. However, when the cursor left movement key is operated when the cursor display position is at the beginning of the character string, or when the cursor right movement key is operated when the cursor display position is at the end of the character string (S
15: No), the buzzer 20 sounds for warning (S)
17). Next, when the underline key is operated to apply underline modification to the character string (S11: Y
es, S12 / S14: No, S18: Yes), underline setting processing control (see FIG. 5 ) is executed (S
19).

【0020】この制御が開始されたときに、アンダーラ
インの設定が可能か否かつまりカーソル表示位置に文字
コードがあるか否かが判定され、文字コードがあるとき
には(S30:Yes)、先ずカーソル表示位置の文字
が反転表示される。例えば、図に示すように、カーソ
ル移動キーの操作で文字「D」上にカーソルKを移動し
てアンダーラインキーが操作されたときには、この文字
「D」が反転表示される。次に、カーソル移動キーが操
作されたときに(S32・S33:Yes)、カーソル
Kの移動が可能なときには(S34:Yes)、カーソ
ル表示位置がカーソル移動キーの種類に基いて1桁右側
或いは1桁左側に移動され、移動先の文字が通常表示な
らば(S35:Yes)、その文字が反転表示され(S
36)、S32に戻る。即ち、これら文字列の反転表示
によりアンダーライン修飾を施す範囲が指定される。例
えば、図1に示すようにカーソル右移動キーを2回操
作したときには、文字「DEF」が反転表示される。
尚、カーソル移動キーが操作され(S32・33:Ye
s)、且つカーソルKの移動可能なときに(S34:Y
es)、移動先の文字が反転表示されていたならば(S
35:No)、その文字の反転表示が中止されて通常に
表示され(S37)、S32へ戻る。また、カーソル移
動キーが操作されたときに(S32・S33:Ye
s)、カーソルKの移動が不可能なときには(S34:
No)、ブザー12が鳴動され(S38)、S32へ戻
る。
When this control is started, it is determined whether or not an underline can be set, that is, whether or not there is a character code at the cursor display position. If there is a character code (S30: Yes), the cursor is first set. The character at the display position is highlighted. For example, as shown in FIG. 9 , when the cursor K is moved over the character "D" by operating the cursor movement key and the underline key is operated, the character "D" is highlighted. Next, when the cursor movement key is operated (S32 / S33: Yes), when the cursor K can be moved (S34: Yes), the cursor display position is shifted by one digit to the right based on the type of the cursor movement key. If the character is moved to the left by one digit and the character at the destination is normally displayed (S35: Yes), the character is highlighted (S35).
36), and return to S32. That is, the range in which the underline modification is performed is designated by the reverse display of these character strings. For example, when the cursor right move key has been operated twice, as shown in FIG. 1 0, letter "DEF" is highlighted.
The cursor movement key is operated (S32 / 33: Ye
s) and when the cursor K can be moved (S34: Y
es), if the destination character is highlighted (S
35: No), the reverse display of the character is stopped, the character is displayed normally (S37), and the process returns to S32. When the cursor movement key is operated (S32 / S33: Ye
s), when the movement of the cursor K is impossible (S34:
No), the buzzer 12 is sounded (S38), and the process returns to S32.

【0021】次に、設定キーが操作されたときには(S
32:Yes、S33:No、S39:Yes)、ライ
ンバッファ41の文書データにおいて、このアンダーラ
イン設定範囲の先頭位置にアンダーラインを設定する為
の設定データSDが格納され(S41)、更にこの設定
データSDを含むアンダーライン設定範囲の先頭に開始
コードSCが挿入格納されるとともに、この設定範囲の
末尾に終了コードECが挿入格納され、ラインバッファ
41の文書データがテキストメモリ42に格納される
(S42)。
Next, when the setting key is operated (S
32: Yes, S33: No, S39: Yes), in the document data of the line buffer 41, setting data SD for setting an underline at the start position of the underline setting range is stored (S41), and furthermore, this setting is performed. The start code SC is inserted and stored at the beginning of the underline setting range including the data SD, and the end code EC is inserted and stored at the end of this setting range, and the document data of the line buffer 41 is stored in the text memory 42 ( S42).

【0022】ここで、この設定データSDについて説明
すると、この設定データSDは、例えば1バイトからな
り、ビット「0」〜ビット「7」の各々に対応させて、
アンダーラインの為の設定フラグ、ボールドの為の設定
フラグ、イタリック書体の為の設定フラグ・・・・など
が夫々特定のビットに割当てられており、設定されたと
きには「1」のフラグデータが格納されるようになって
いる。例えば、図1に示すように、文字列「DEF」
をアンダーライン設定範囲として、その設定範囲の先頭
位置にアンダーライン設定を含む設定データSDが格納
されるとともに、その設定範囲の先頭に開始コードSC
が挿入格納され、またこの設定範囲の末尾に終了コード
ECが挿入格納される。
Here, the setting data SD will be described. The setting data SD is composed of, for example, one byte, and corresponds to each of bits "0" to "7".
A setting flag for underlining, a setting flag for bold, a setting flag for italic font, etc. are assigned to specific bits, respectively, and when set, flag data of "1" is stored. It is supposed to be. For example, as shown in FIG. 1 1, the character string "DEF"
Is set as the underline setting range, the setting data SD including the underline setting is stored at the head position of the setting range, and the start code SC is set at the head of the setting range.
Is inserted and stored, and an end code EC is inserted and stored at the end of the set range.

【0023】次に、これら設定範囲を指示する文字列の
反転表示が中止され(S43)、ラインバッファ41の
文書データがディスプレイ22に表示され(S44)、
この制御を終了してリターンする。例えば、図1に示
すように、文字列「ABCDEFHIJ」が表示される
とともに、アンダーライン設定範囲の先頭に設定開始マ
ークSMが表示されるとともに、その範囲の末尾に設定
終了マークEMが表示される。尚、取消しキーが操作さ
れたときには(S32:Yes、S33・S39:N
o、S40:Yes)、前記S43、S44が実行され
た後、この制御を終了してリターンされる。また、カー
ソル移動キー、設定キー及び取消しキー以外のキーが操
作されたときには(S32:Yes、S33・S39・
S40:No)、ブザー12が鳴動され(S38)、S
32へ戻る。
Next, the reverse display of the character strings indicating these setting ranges is stopped (S43), and the document data of the line buffer 41 is displayed on the display 22 (S44).
This control ends and the routine returns. For example, as shown in FIG. 1 2, together with the character string "ABCDEFHIJ" is displayed, along with setting the start mark SM is displayed at the top of the underline setting range, to display the setting end mark EM to the end of the range You. When the cancel key is operated (S32: Yes, S33 / S39: N
o, S40: Yes), after the above S43 and S44 are executed, this control is terminated and the routine is returned. When a key other than the cursor movement key, the setting key, and the cancel key is operated (S32: Yes, S33, S39,
(S40: No), the buzzer 12 is sounded (S38), and S
Return to 32.

【0024】次に、文字消去の為にバックスペースキー
が操作されたときには(S11:Yes、S12・S1
4・S18:No、S20:Yes)、消去処理制御
(図参照)が実行される(S21)。この制御が開始
されたときに、カーソルKがラインバッファ41内の先
頭文字に対応する表示位置でなく(S50:No)、し
かもカーソルKの左側のコードデータが開始コードSC
でも終了コードECでもないときつまり文字コードのと
きには(S51・S52:No)、カーソルKの左側の
コードデータがラインバッファ41から夫々消去される
とともに、その消去されたコードデータに後続する各コ
ードデータが先頭アドレス方向に移動され、更にライン
バッファ41の文書データがテキストメモリ4に格納
され(S56)、ラインバッファ41内の最新の文書デ
ータがディスプレイ22に表示され(S55)、この制
御を終了してリターンする。
Next, when the backspace key is operated to erase characters (S11: Yes, S12.S1
4. S18: No, S20: Yes), erasure processing control (see FIG. 6 ) is executed (S21). When this control is started, the cursor K is not at the display position corresponding to the first character in the line buffer 41 (S50: No), and the code data on the left side of the cursor K is the start code SC
However, if it is not the end code EC, that is, if it is a character code (S51 / S52: No), the code data on the left side of the cursor K is deleted from the line buffer 41, and each code data following the deleted code data is deleted. There is moved to the beginning address direction, it is further stored document data of the line buffer 41 in the text memory 4 2 (S56), the latest document data in the line buffer 41 is displayed on the display 22 (S55), this control ends And return.

【0025】一方、カーソルKの左側のコードデータが
開始コードSCのとき(S51:Yes)、又は終了コ
ードSCのときには(S51:No、S52:Ye
s)、開始コードSCと終了コードECと設定データS
Dとがラインバッファ41から消去され(S53)、そ
の消去されたこれらコードデータに後続する各コードデ
ータが先頭アドレス方向に移動されるとともに、ライン
バッファ41の文書データがテキストメモリ4に格納
され(S54)、ラインバッファ41内の最新の文書デ
ータがディスプレイ22に表示される(S55)。例え
ば、図1に示すように、アンダーライン設定マークS
M、EM及び文書「ABCDEFHIJ」が表示されて
いるときに、カーソルKを文字「D」又は「H」に移動
後、バックスペースキーが操作されたときには、図
示すようにこれら開始マークSMと終了マークEMとの
表示が消去され、文書のみが表示される。
On the other hand, when the code data on the left side of the cursor K is the start code SC (S51: Yes) or the end code SC (S51: No, S52: Ye)
s), start code SC, end code EC, and setting data S
And D is deleted from the line buffer 41 (S53), with each code data subsequent to the erased these encoded data is is moved to the beginning address direction, the document data in the line buffer 41 is stored in the text memory 4 2 (S54), the latest document data in the line buffer 41 is displayed on the display 22 (S55). For example, as shown in FIG. 1 2, underline setting mark S
M, when the EM and documents "ABCDEFHIJ" is displayed, after moving the cursor K to the letter "D" or "H", when the backspace key is operated, start mark SM as shown in FIG. 8 And the end mark EM are erased, and only the document is displayed.

【0026】次に、文書作成キー、カーソル移動キー、
アンダーラインキー及びバックスペースキー以外のキー
が操作されたときには(S11:Yes、S12・S1
4・S18・S20:No)、操作されたキーに対応す
る処理制御が実行される(S22)。例えば、印字キー
が操作されたときには、テキストメモリ42の文書デー
タに基いて印字処理が実行される。ここで、この印字処
理については本発明と直接関係しないので簡単に説明す
ると、、テキストメモリ42から順次読出したコードデ
ータに対応するアウトラインデータが読出されるととも
に、印字文字の拡大率が求められ、この拡大率を用いて
アウトラインデータを拡大処理及び文字修飾処理が行な
われ、更にこの処理後のアウトラインデータからドット
データである印字データが作成され、印字機構PMで印
字処理される。
Next, a document creation key, a cursor movement key,
When a key other than the underline key and the backspace key is operated (S11: Yes, S12 · S1
4, S18, S20: No), processing control corresponding to the operated key is executed (S22). For example, when the print key is operated, a printing process is executed based on the document data in the text memory 42. Here, since this printing process is not directly related to the present invention, it will be briefly described that outline data corresponding to the code data sequentially read from the text memory 42 is read out, and the enlargement ratio of the printing character is obtained. The outline data is subjected to enlargement processing and character modification processing using the enlargement ratio, and further, print data as dot data is created from the outline data after the processing, and is printed by the printing mechanism PM.

【0027】以上説明したように、開始コードSCと終
了コードECとを用いて、文書の任意の部分に対して文
字修飾を設定する範囲を指定するとともに、開始コード
SCと終了コードECとの何れか一方を消去するのに伴
って、他方のコードデータSC・ECも同時に消去され
るので、設定範囲の解除操作が大幅に簡単化する。従っ
て、アンダーライン付きを指示する設定データSDを文
書部分の各文字について設定する必要がなく、設定デー
タSDの為の記憶容量を大幅に低減させることができ
る。
As described above, using the start code SC and the end code EC, the range in which the character modification is set for an arbitrary part of the document is specified, and any of the start code SC and the end code EC is used. When one of them is erased, the other code data SC / EC is also erased at the same time, so that the setting range canceling operation is greatly simplified. Therefore, it is not necessary to set the setting data SD indicating underlining with respect to each character in the document portion, and the storage capacity for the setting data SD can be greatly reduced.

【0028】尚、前記テープ印字制御においては、アン
ダーラインを設定する設定制御について説明したが、こ
れ以外にボールドや影文字や文字サイズなどの所謂印字
フォーマットを設定するように制御することが可能であ
る。尚、表示機構や印字機構を備えるとともにテキスト
メモリを設け、種々の印字フォーマットで印字可能な欧
文ワードプロセッサや日本語ワードプロセッサなどの文
書処理装置に本発明を適用し得ることは勿論である。
In the tape printing control, the setting control for setting the underline has been described. In addition, it is possible to control so-called printing format such as bold, shadow character, character size, and the like. is there. It is needless to say that the present invention can be applied to a document processing device such as a European word processor or a Japanese word processor which has a display mechanism and a printing mechanism and a text memory and can print in various printing formats.

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

【図1】本発明の実施例に係るテープ印字装置の平面図
である。
FIG. 1 is a plan view of a tape printing apparatus according to an embodiment of the present invention .

【図2】印字機構の概略平面図である。FIG. 2 is a schematic plan view of a printing mechanism.

【図3】テープ印字装置の制御系のブロック図である。FIG. 3 is a block diagram of a control system of the tape printer.

【図4】テープ印字制御の概略フローチャートである。4 is a schematic substantially flowchart of a tape print control.

【図5】アンダーライン設定処理制御の概略フローチャ
ートである。
Figure 5 is a schematic substantially flowchart underline setting process control.

【図6】消去処理制御のサブルーチンの概略フローチャ
ートである。
FIG. 6 is a schematic flowchart of a subroutine of erasure processing control.

【図7】ラインバッファ内のデータ構成を説明する説明
図である。
FIG. 7 is an explanatory diagram illustrating a data configuration in a line buffer.

【図8】入力した文字列を表示した表示例を示す図であ
る。
FIG. 8 is a diagram illustrating a display example in which an input character string is displayed.

【図9】文字修飾の設定開始時における文字列の表示例
を示す図である。
9 is a diagram showing a table示例string at start of setting of the character enhancement.

【図10】文字修飾の設定終了時における文字列の表
例を示す図である。
10 is a diagram showing a Viewing <br/> example string in the setting at the end of the character modification.

【図11】開始コードと終了コード及び設定データを含
む文書データを示す相当図である。
FIG. 11 is a diagram corresponding to FIG. 7 showing document data including a start code, an end code, and setting data.

【図12】文字修飾を施した文字列の表示例を示す図で
ある。
12 is a diagram showing a table示例string subjected to character decoration.

【符号の説明】[Explanation of symbols]

1 テープ印字装置 3 キーボード 22 液晶ディスプレイ 29 CPU 31 ROM 32 ROM 40 RAM 42 テキストメモリ C 制御装置 PM 印字機構 EC 終了コード SC 開始コード Reference Signs List 1 tape printer 3 keyboard 22 liquid crystal display 29 CPU 31 ROM 32 ROM 40 RAM 42 text memory C controller PM printing mechanism EC end code SC start code

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭64−53263(JP,A) 特開 平4−348459(JP,A) 特開 昭63−125979(JP,A) 特開 平4−291451(JP,A) 特開 昭63−20672(JP,A) 特開 平5−135044(JP,A) 特開 平3−268163(JP,A) 特公 平2−38972(JP,B2) (58)調査した分野(Int.Cl.7,DB名) B41J 3/36 B41J 5/30 B41J 21/00 B41J 29/26 G06F 3/12 G06F 3/153 340 ──────────────────────────────────────────────────続 き Continuation of front page (56) References JP-A-64-53263 (JP, A) JP-A-4-348459 (JP, A) JP-A-63-125979 (JP, A) JP-A-4-53 291451 (JP, A) JP-A-63-20672 (JP, A) JP-A-5-135044 (JP, A) JP-A-3-268163 (JP, A) JP 2-38972 (JP, B2) (58) Field surveyed (Int.Cl. 7 , DB name) B41J 3/36 B41J 5/30 B41J 21/00 B41J 29/26 G06F 3/12 G06F 3/153 340

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 文字や記号及び種々の指令を入力する為
の入力手段と、複数の文字や記号をディスプレイに表示
する表示手段と、ドット列により印字する印字ヘッドを
含む印字手段とを備えた文書処理装置において、 前記入力手段から入力された複数の文字や記号からなる
文書のデータを記憶するテキストメモリと、 前記テキストメモリに記憶された文書の任意の部分に対
して印字フォーマット設定用の範囲指定する為に、前記
入力手段を介して文書データ中に入力設定され、範囲
開始を指示する開始データ及び範囲終了を指示する終了
データと、前記文書データを表示手段のディスプレイに表示させる
とともに、前記開始データと終了データに夫々対応する
設定開始マークと設定終了マークを表示手段のディスプ
レイに表示させる表示制御手段と、 前記入力手段に設けられ且つ文字や記号の消去を指示す
る消去用キーと、 前記消去用キーを介して設定開始マークと設定終了マー
クの一方が消去されたときに他方のマークを消去すると
ともに開始データと終了データを消去する データ消去手
段と、 を備えたことを特徴とする文書処理装置。
An input means for inputting characters and symbols and various commands, a display means for displaying a plurality of characters and symbols on a display, and a printing means including a print head for printing by dot strings. In the document processing apparatus, a text memory storing data of a document including a plurality of characters and symbols input from the input unit, and a print format setting range for an arbitrary portion of the document stored in the text memory to specify, the input means are entered set in the document data through the end data for instructing the start data and scope finished instructing range start to be displayed on the display of the display means the document data
Together with the start data and the end data, respectively.
Display of setting start mark and setting end mark on display
A display control means for displaying on a ray, and an instruction provided for the input means and for erasing characters or symbols
And erasing key, end settings and set the start of the mark through the key for erasing mer that
When one mark is erased and the other mark is erased
A document processing apparatus, comprising: data erasing means for erasing both start data and end data .
JP1850792A 1992-01-07 1992-01-07 Document processing device Expired - Fee Related JP3053137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1850792A JP3053137B2 (en) 1992-01-07 1992-01-07 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1850792A JP3053137B2 (en) 1992-01-07 1992-01-07 Document processing device

Publications (2)

Publication Number Publication Date
JPH05185662A JPH05185662A (en) 1993-07-27
JP3053137B2 true JP3053137B2 (en) 2000-06-19

Family

ID=11973541

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1850792A Expired - Fee Related JP3053137B2 (en) 1992-01-07 1992-01-07 Document processing device

Country Status (1)

Country Link
JP (1) JP3053137B2 (en)

Also Published As

Publication number Publication date
JPH05185662A (en) 1993-07-27

Similar Documents

Publication Publication Date Title
JP3094658B2 (en) Tape printer
JP2979536B2 (en) Barcode printing device
JP2629516B2 (en) Tape printer
JP2979535B2 (en) Barcode printing device
JP2985910B2 (en) Printing device
JP3280073B2 (en) Document processing device
JP2910817B2 (en) Tape printer
JP3053137B2 (en) Document processing device
JP2621726B2 (en) Tape printer
JPH05177901A (en) Printer
JPH08106370A (en) Document processor
JP3131962B2 (en) Barcode creation device
JP3050469B2 (en) Tape printer
JP2976416B2 (en) Barcode printing device
JPH06198962A (en) Preparing device for registration dot pattern data of tape printer
JPH07214860A (en) Document processing equipment
JP3273094B2 (en) Document processing device
JP3095046B2 (en) Dot pattern data creation device for registration of tape printer
JP2998817B2 (en) Barcode printing device
JP3209236B2 (en) Document processing apparatus and document processing method
JP3123577B2 (en) Tape printer
JPH05324641A (en) Tape printer
JP3292393B2 (en) Document processing device
JP2861567B2 (en) Tape printer
JP3168744B2 (en) Printing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080407

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090407

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090407

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20100407

LAPS Cancellation because of no payment of annual fees