JPS6395970A - Color word processor - Google Patents

Color word processor

Info

Publication number
JPS6395970A
JPS6395970A JP61242739A JP24273986A JPS6395970A JP S6395970 A JPS6395970 A JP S6395970A JP 61242739 A JP61242739 A JP 61242739A JP 24273986 A JP24273986 A JP 24273986A JP S6395970 A JPS6395970 A JP S6395970A
Authority
JP
Japan
Prior art keywords
color
area
printing
storage means
character data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61242739A
Other languages
Japanese (ja)
Inventor
Toshishige Okamoto
岡本 利茂
Ritsuko Kagami
加賀美 律子
Yuji Sumiya
角谷 裕司
Kazuhiko Iwanaga
和彦 岩永
Hideo Ueno
英生 上野
Makoto Suzuki
誠 鈴木
Satoshi Furukawa
敏 古川
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 JP61242739A priority Critical patent/JPS6395970A/en
Publication of JPS6395970A publication Critical patent/JPS6395970A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Color, Gradation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To facilitate editing with set color patterns, by providing an editing means for changing arrays of character data in an array storage means and a printing color area changing means for changing a printing color area in a distribution storage means according to the character data moved by said editing means. CONSTITUTION:When areas for each printing color are set on a printing surface by a printing color area setting means M2 according to an inputted designation, a distribution storage means 3 stores the areas. A printing-controlling means M4 discriminates a color in which a dot pattern for a character to be disposed on the printing surface is to be printed, based on the areas stored in the distribution storage means M3, and prints each dot corresponding to character data stored in an array storage means M1 in the relevant color. Upon a change in the arrays of the character data in the array storage means M1 by an editing means M5, a printing color area changing means M6 modifies the areas for each printing color stored in the distribution storage means M3 by movement, division or the like according to the movement of the character data, so that the arrays of the characters themselves are changed together with color patterns.

Description

【発明の詳細な説明】 光肌曵且狗 [産業上の利用分野コ 本発明は彩色した文字を打ち出すカラーワードプロセッ
サに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a color word processor that emits colored characters.

[従来の技術] 従来のカラーワードプロセッサは文字の色を指定するの
に、各文字毎に、いがなる色で印字するか否かの指示を
キーボードより入力していた。
[Prior Art] In order to specify the color of a character in a conventional color word processor, an instruction as to whether or not to print each character in a different color is inputted from a keyboard.

し発明が解決しようとする問題点] しかしこれでは、入力が煩わしいのと、文字単位でしか
色が指定できないため、色パターンの自由なデザインに
も限度があり、一層微細な色指定が望まれている。また
、ワードプロセッザとしての機能である文字列(1文字
も含む)の移動を行う場合、色白体も同時に移動するこ
とが、注意書等特別な表示などで必要な場合があり、文
字列の移動にともなって、色模様も移動するものが望ま
れている。
[Problems to be Solved by the Invention] However, this method is cumbersome to input, and since the color can only be specified for each character, there is a limit to the free design of color patterns, and even more detailed color specification is desired. ing. In addition, when moving character strings (including single characters), which is a function of a word processor, it may be necessary to move white characters at the same time for special displays such as cautionary statements. What is desired is a device whose color pattern also moves as it moves.

免咀辺藷減 そこで、本発明は、上記問題点を解決することを目的と
し、次のような構成を採用した。
Therefore, the present invention employs the following configuration in order to solve the above problems.

[問題点を解決するための手段] 即ち、本発明の要旨とするところは、第1図に例示する
ごとく、入力された文字データを該文字データに対応し
たドツトパターンに変換し該パターンに従ってドツト印
字するカラーワードプロセッサにおいて、更に、該文字
データの配列を記憶する配列記憶手段M1と、ドツト印
字面に印字色毎に領域を設定する印字色領域設定手段M
2と、該領域の分布を記憶する分布記憶手段M3と、前
記ドツトパターンを該ドツトパターンの属する前記領域
の設定色で印字するよう制御する印字制御手段M4と、
」1記配列記憶手段M1中の文字データの配列を変更す
る編集手段M5と、上記分布記憶手段M3中の印字色領
域を、上記編集手段M5により移動した文字データに対
応して、変更するする印字色領域変更手段M6と、を備
えたことを特徴とするカラーワードプロセッサにある。
[Means for Solving the Problems] That is, the gist of the present invention is to convert input character data into a dot pattern corresponding to the character data and to print dots according to the pattern, as illustrated in FIG. The color word processor for printing further includes an array storage means M1 for storing the array of character data, and a print color area setting means M for setting an area for each print color on the dot printing surface.
2, distribution storage means M3 for storing the distribution of the area, and printing control means M4 for controlling the dot pattern to be printed in the set color of the area to which the dot pattern belongs;
1. Editing means M5 for changing the arrangement of character data in the arrangement storage means M1, and changing the print color area in the distribution storage means M3 in accordance with the character data moved by the editing means M5. A color word processor characterized by comprising a print color area changing means M6.

[作用] 入力された指示により、印字色領域設定手段M2が印字
面に対して各印字色毎に領域を設定すると分布記憶手段
M3が該領域を記憶する。印字制御手段M4は、分布記
憶手段M3に記憶されている上記領域に基づいて、印字
面に配置される文字のドツトパターンが印字さるべき色
を判別し、該当する色にて配列記憶手段M1の文字デー
タに該当する各ドツトを印字する。ワードプロセッサの
機能である編集手段M5による配列記憶手段M1中の文
字データの配列が変更されると、印字色領域変更手段M
6は分布記憶手段M3中に記憶されている印字色毎の領
域を文字データの移動に応じて移動・分割等の変更を実
施するので、印字制御手段M4にて印字された場合、文
字自体の配列が、その色模様と共に変化する。
[Operation] When the print color area setting means M2 sets an area for each print color on the printing surface according to the input instruction, the distribution storage means M3 stores the area. The printing control means M4 determines the color in which the dot pattern of the characters arranged on the printing surface should be printed based on the above area stored in the distribution storage means M3, and prints the dot pattern of the characters arranged on the printing surface in the corresponding color in the array storage means M1. Print each dot that corresponds to the character data. When the arrangement of character data in the array storage means M1 is changed by the editing means M5, which is a function of a word processor, the printing color area changing means M
6 moves or divides the area for each print color stored in the distribution storage means M3 according to the movement of character data, so when printed by the print control means M4, the character itself The array changes along with its color pattern.

次に、本発明の詳細な説明する。本発明はこれらに限ら
れるものではなく、その要旨を逸脱しない範囲の種々の
態様のものが含まれる。
Next, the present invention will be explained in detail. The present invention is not limited to these, but includes various embodiments without departing from the gist thereof.

[実施例] 第2図は本発明の一実施例であるカラーワードプロセッ
サの斜視図である。このカラーワードプロセッサは印字
データを入力するキーボード1、該キーボード1から入
力された印字データを最大24文字まで表示する液晶パ
ネル2、キーボード1から入力された印字データをカラ
ー印字する熱転写式印刷装置4を備えている。
[Embodiment] FIG. 2 is a perspective view of a color word processor that is an embodiment of the present invention. This color word processor includes a keyboard 1 for inputting print data, a liquid crystal panel 2 for displaying up to 24 characters of the print data input from the keyboard 1, and a thermal transfer printing device 4 for color printing the print data input from the keyboard 1. We are prepared.

上記キーボード1には通常の文字キー以外に、カラー印
字の領域色の指定を開始作業を指示する色指定キー5、
カラー印字する印字色の色別を指示するための色別キー
、即ちイエローキー6、マゼンタキー8、シアンキー1
0、液晶パネル2に表示されたカーソルを上下左右に移
動させるカーソルキー11、印字の開始を指令する印字
キー12、改行を指令する改行キー14等が設けられて
いる。
In addition to the normal character keys, the keyboard 1 includes a color specification key 5 for instructing the start operation of specifying the area color for color printing;
Color-specific keys for instructing the printing colors for color printing, namely yellow key 6, magenta key 8, cyan key 1
0, a cursor key 11 for moving the cursor displayed on the liquid crystal panel 2 vertically and horizontally, a print key 12 for instructing the start of printing, a line feed key 14 for instructing a line feed, and the like are provided.

また、印刷装置4には、印刷用紙16が装着され図示し
ないステップモータにより回転されるプラテン18、該
プラテン18と平行に設けられた案内軸20、該案内軸
20に摺動自在に支承されたキャリジベース22、該キ
ャリジベース22に載置されフィルムリボン24が収納
されたリボンカセット26、該リボンカセット26と係
合してステップモータ28により回転される駆動軸30
、フィルムリボン24を熱溶融させて印刷を行う印字ヘ
ッド32、該印字ヘッド32に隣接して設けられな光学
センサ34が配設されている。
The printing device 4 also includes a platen 18 to which printing paper 16 is attached and rotated by a step motor (not shown), a guide shaft 20 provided parallel to the platen 18, and a guide shaft 20 that is slidably supported on the guide shaft 20. A carriage base 22, a ribbon cassette 26 placed on the carriage base 22 and containing a film ribbon 24, and a drive shaft 30 that engages with the ribbon cassette 26 and is rotated by a step motor 28.
, a print head 32 for printing by thermally melting the film ribbon 24, and an optical sensor 34 provided adjacent to the print head 32.

上記キャリッジベース22にはタイミングベルト36の
一部が係合され、該タイミングベルト36がステップモ
ータ38により回動されるに従って、キャリッジベース
22も移動する。
A part of the timing belt 36 is engaged with the carriage base 22, and as the timing belt 36 is rotated by the step motor 38, the carriage base 22 also moves.

また、フィルムリボン24にはイエローY、マゼンタM
、シアンC(以下各々Y、  M、  Cという。
In addition, the film ribbon 24 has yellow Y, magenta M
, cyan C (hereinafter referred to as Y, M, and C, respectively).

)の顔料が印刷用紙16の幅と同長で順次塗布され、各
色の先頭にはバーコードが設けられている。
) are sequentially applied to the same length as the width of the printing paper 16, and a bar code is provided at the beginning of each color.

このバーコードを光学センサ34により判別して、色識
別及び色の境界の割り出しを行う9 上記色の三原色Y
、  M、  Cと、それらを重ね合わせて印字するこ
とにより減色混合したレッドR、グリーン    −G
、ブルーB、ブラックB Kの4色と合計7色の印字が
行われる。
This barcode is discriminated by the optical sensor 34 to identify the color and determine the color boundary. 9 The three primary colors Y of the above colors
, M, C, and red R and green -G, which are mixed in reduced color by printing them overlappingly.
, blue B, black BK, and a total of seven colors are printed.

この印刷装置4はステップモータ28によりインクリボ
ン24の所定色を印字ヘッド32の位置に移動し、印字
ヘッド32によりドツト単位で印字を行い、次にステッ
プモータ38によりタイミングベルト36を介してキャ
リッジベース22を面構方向に移動することにより、順
次印字を行う。
This printing device 4 uses a step motor 28 to move a predetermined color of an ink ribbon 24 to the position of a print head 32, prints dots by the print head 32, and then moves the ink ribbon 24 to a carriage base via a timing belt 36 using a step motor 38. By moving 22 in the surface direction, printing is performed sequentially.

1行の印字を終了すると、プラテン18を回転し、印刷
用紙16を1行分紙送りする。
When one line of printing is completed, the platen 18 is rotated and the printing paper 16 is fed by one line.

次に、本実施例の電気系統を第3図に示すブロック図を
用いて説明する。上記の各装置はカラーワードプロセッ
サに内蔵された電子制御装置50により駆動・制御され
てカラー印字を行う。
Next, the electrical system of this embodiment will be explained using the block diagram shown in FIG. Each of the above devices is driven and controlled by an electronic control device 50 built into the color word processor to perform color printing.

この電子制御装置50は、第3図に示すように、周知の
CPU51、制御用のプログラムやデータを予め格納す
るROM52、配列記憶手段M1及び分布記憶手段M3
としての読み書き自由のRAM53、液晶パネル2に表
示する1ライン分く最大24文字)の文字列を、対応す
るドツト措成により記憶するラインメモリ54等により
、論理演算回路として構成されている。CPU51はR
OM52内に記憶された手順(プログラム)に従い、必
要に応じてキーボード入力回路55やセンサ入力回路5
6からデータ信号を入力し、リボン駆動回路57、印字
駆動回路58、または紙送り駆動口1i59を駆動して
、各種処理を行う。
As shown in FIG. 3, this electronic control device 50 includes a well-known CPU 51, a ROM 52 that stores control programs and data in advance, an array storage means M1, and a distribution storage means M3.
It is constituted as a logical operation circuit by a RAM 53 which can be read and written freely as a memory, a line memory 54 which stores character strings (maximum 24 characters for one line displayed on the liquid crystal panel 2) by corresponding dot arrangement, and the like. CPU51 is R
According to the procedure (program) stored in the OM52, the keyboard input circuit 55 and sensor input circuit 5 are activated as necessary.
A data signal is input from 6 and drives the ribbon drive circuit 57, print drive circuit 58, or paper feed drive port 1i59 to perform various processing.

尚、パネル駆動回路60はラインメモリ54の内容をそ
のまま液晶パネル2に表示するものである。即ち液晶パ
ネル2への表示はいわゆるビットマツプディスプレイの
手法によっている。
Note that the panel drive circuit 60 displays the contents of the line memory 54 as is on the liquid crystal panel 2. That is, the display on the liquid crystal panel 2 is performed using a so-called bitmap display method.

次に、印字色領域設定手段M2として、電子制御装置5
0が行う、印字色を指定する処理を第4図(A)のフロ
ーチャートを用いて説明する。
Next, the electronic control device 5 serves as the print color area setting means M2.
The process of specifying the print color performed by 0 will be explained using the flowchart of FIG. 4(A).

先ず本実施例のカラーワードプロセッサは電源が投入さ
れると、フラッグ等の初期化が行われる。
First, when the color word processor of this embodiment is powered on, flags and the like are initialized.

次に色指定キー5が押されているが否かが判定され(S
100)、押されていなければ、ワードプロセッサとし
ての文字処理が行われる(sllo)。押されていれば
、領域指定のための始点の入力要請が、液晶パネル2上
に表示されることによりなされる。(S120)。始点
の設定は、色指定キーが押されたときに表示される液晶
パネル2上のドツト単位で示すカーソルによりなされる
Next, it is determined whether or not the color designation key 5 is pressed (S
100), if not pressed, character processing as a word processor is performed (sllo). If pressed, a request for inputting a starting point for area designation is displayed on the liquid crystal panel 2. (S120). The starting point is set using a cursor displayed in dot units on the liquid crystal panel 2 when the color designation key is pressed.

カーソルは液晶パネルの画素を点滅させてもよく、また
画素単位に移動する特別のカーソルを用いてなされる。
The cursor may blink pixels on the liquid crystal panel, or a special cursor that moves pixel by pixel may be used.

勿論、複数ドツト単位で移動するカーソルでもよい。Of course, a cursor that moves in units of multiple dots may also be used.

カーソルの移動は入カキ−を判断しく3130)、カー
ソルキー11が押されていれば、その指示により、上記
カーソルがドツト単位で前後左右に移動する(S140
>。改行(実行)キー14が押されれば、その時のカー
ソルの位置が始点として設定され、RAM53内の所定
番地に記憶される(S150)。その他のキーでは再度
入力待となる。始点の位置が設定されると、次は終点の
入力要請が液晶パネル2に表示される( S ]、 6
0 )。
The movement of the cursor is determined by the input key 3130), and if the cursor key 11 is pressed, the cursor moves forward, backward, left, and right in dot units according to the instruction (S140).
>. When the line feed (execution) key 14 is pressed, the current cursor position is set as the starting point and stored at a predetermined location in the RAM 53 (S150). If you press any other key, the system will wait for input again. Once the starting point position is set, a request for inputting the ending point is displayed on the LCD panel 2 (S), 6
0).

ここで更に始点入力と同様にカーソルの位置ぎめ(S1
70,3180)と実行キーの入力により、終点が決定
され、終点の位置が記憶される(Si20)。
Here, you can also position the cursor (S1
70, 3180) and the execution key, the end point is determined and the position of the end point is stored (Si20).

上記始点・終点は例えば、第4図(B)に示すごとく始
点P1、終点P2のように設定される。
The starting point and ending point are set, for example, as a starting point P1 and an ending point P2 as shown in FIG. 4(B).

各点の位置は所定の基準位置POがらの画素のドツト数
で表される。即ち、始点P1は縦C1ドツト、横b1ド
ツトの位置であり、終点P2は縦C1ドツト、横d1ド
ツトの位置である。このとき領域は点Pi、P2を対角
線とする長方形内となる。実際の液晶パネル2上での指
定範囲は、第5図(B)のごとくである。
The position of each point is represented by the number of pixel dots from a predetermined reference position PO. That is, the starting point P1 is a position of C1 vertically and b1 horizontally, and the ending point P2 is a position of C1 vertically and d1 horizontally. At this time, the area is within a rectangle with diagonals of points Pi and P2. The actual specified range on the liquid crystal panel 2 is as shown in FIG. 5(B).

次に領域色を色別キー6、 8. 10の入力により決
定する(S200)。入力された色コードは上記始点終
点のデータに隣接してRAM53内に記憶される(S2
10)。ついで上記RAM5B中のデータが色情報デー
タであることを示すヘッダが付けられる(S220)。
Next, select the area color using color keys 6, 8. 10 is determined (S200). The input color code is stored in the RAM 53 adjacent to the start and end point data (S2
10). Next, a header indicating that the data in the RAM 5B is color information data is attached (S220).

上記データは、第4図(C)に示すような構造であり、
特定の番地xxxxから、色情報データ(ヘッダ・色コ
ード・位置データ)が格納され、更に他の色情報データ
が格納される。それに続き、所定番地YYYYから文書
が記憶されたテキストデータが格納されている。
The above data has a structure as shown in FIG. 4(C),
Starting from a specific address xxxx, color information data (header, color code, position data) is stored, and further, other color information data is stored. Following this, text data in which a document is stored from a predetermined location YYYY is stored.

次に、編集手段M5及び印字色領域変更手段M6として
電子制御装置50が行うテキスト編集ルーチンを第5図
(A)に示す9 先ず始点の入力が行われる(S300)。この入力は上
述した第4図(A)の始点入力処理(8120〜514
0)と同様である。ただし、カーソルは一文字毎に移動
するカーソルである。また、入力された始点の位置はテ
キスト領域の該当番地によって表され、RAM53内の
所定番地に記憶される(S310)。次に終点の入力が
行われる(S320)。これも、第4図(A)の終点入
力処理(SL60〜5180)と同様である。また、入
力された終点の位置はテキスト領域の該当番地によって
表され、RAM53内の所定番地に記憶される(333
0)。
Next, a text editing routine performed by the electronic control unit 50 as the editing means M5 and the print color area changing means M6 is shown in FIG. 5(A).9 First, a starting point is input (S300). This input is performed in the start point input process (8120 to 514) in FIG. 4(A) described above.
0). However, the cursor is a cursor that moves character by character. Further, the position of the input starting point is represented by the corresponding address in the text area, and is stored at a predetermined location in the RAM 53 (S310). Next, the end point is input (S320). This is also similar to the end point input process (SL60 to SL5180) in FIG. 4(A). Further, the position of the input end point is represented by the corresponding address in the text area, and is stored at a predetermined address in the RAM 53 (333
0).

始点・終点間のテキストデータをRAM53内の所定場
所に設けたバッファに複写する(S340)。次にテキ
ストデータ削除に伴う色領域の移動・分割の処理がなさ
れる(S345)。該処理の詳細は後述する。次に、テ
キストデータの複写された部分を削除し、その間を詰め
る処理が成される(3350)。
The text data between the start point and end point is copied to a buffer provided at a predetermined location in the RAM 53 (S340). Next, processing for moving and dividing the color area in conjunction with text data deletion is performed (S345). Details of this processing will be described later. Next, a process is performed to delete the copied portion of the text data and fill in the gaps (3350).

次に移動先の指示要請が液晶パネル2上になされる(S
360)。次に入カキ−を判断しく5370)、カーソ
ルキー11が押されていれば、その指示により、上記カ
ーソルが一文字単位で前後左右に移動する(S380)
。改行く実行)キー14が押されれば、先ず、テキスl
−データ挿入時の色領域移動・分割処理がなされる(8
385)。
Next, a request for specifying the destination is made on the liquid crystal panel 2 (S
360). Next, the input key is determined (5370), and if the cursor key 11 is pressed, the cursor moves forward, backward, left, and right one character at a time according to the instruction (S380).
. When the new line execution) key 14 is pressed, the text l
- Color area movement and division processing is performed when inserting data (8
385).

該処理の詳細は後述する。次に、上記カーソルの位置が
挿入点として設定され、記憶場所を空けるために、挿入
に該当する番地がち、上記バッファに格納されているテ
キストデータの分だけ、後のデータが後方に転送され、
そこに、バッファがら転送される(S390)。この新
たなテキストデータに従って液晶パネル2の表示が更新
される(S395)。その他のキーでは再度入力待とな
る(S370)。
Details of this processing will be described later. Next, the position of the cursor is set as the insertion point, and in order to free up storage space, the following data is transferred backwards by the amount of text data stored in the buffer at the address corresponding to the insertion.
The entire buffer is transferred there (S390). The display on the liquid crystal panel 2 is updated according to this new text data (S395). For other keys, the process waits for input again (S370).

次に、上記テキストデータ削除に伴う色領域の移動・分
割の処理について第5図(B)のフローチャートに基づ
いて説明する。先ず、記憶されている色領域を表す色情
報データを一組分読み出す処理が行われる(S400)
。次に読み出された色情報データが表す色領域と前記削
除が指定された文字列の位置とが対比され、削除に伴う
移動のために色領域を分割しなくてはならないが否がを
判定する(S410)。例えば、文字が配列された印字
面Pが第5図(D)に示すごとくであるとすると、一点
鎖線で表された色領域Cに対し、f2−b2、f3−b
3、f4−b4またはf5−b5の範囲の各1行の文字
列が、削除する部分であれば、移動するために色領域を
分割しなければならない。
Next, the process of moving and dividing the color area accompanying deletion of the text data will be explained based on the flowchart of FIG. 5(B). First, a process of reading out one set of stored color information data representing a color area is performed (S400).
. Next, the color area represented by the read color information data is compared with the position of the character string specified for deletion, and it is determined whether the color area needs to be divided for movement due to deletion. (S410). For example, if the printing surface P on which characters are arranged is as shown in FIG. 5(D), f2-b2, f3-b
3. If each line of character string in the range f4-b4 or f5-b5 is the part to be deleted, the color area must be divided in order to be moved.

f27b2の場合は、点線で示すごとく、その長方形の
削除領域の上辺より上の領域、右辺より右の領域及び下
辺より下の領域の3領域に分割される。f3−b3の場
合、上辺より上の領域、左辺より左の領域、右辺より右
の領域及び下辺より下の領域の4領域に分割され、f4
−b4の場合、上辺より上の領域及び下辺より下の領域
の2領域に分割され、f 5−b 5の場合、上辺より
上の領域、左辺より左の領域及び下辺より下の領域の3
領域に分割される。fl−blの場合は色領域Cを直接
分割せず、f6−b6の場合は全く色領域Cに影響を及
ぼさない。この分割が必要な場合は、その分割に応じて
色領域の色情報データが作成される(S420)。この
時点では、色情報データは削除に伴う移動前の値である
。移動処理は後述するステップ460にて実施される。
In the case of f27b2, as shown by the dotted line, the rectangular deletion area is divided into three areas: an area above the top edge, an area to the right of the right edge, and an area below the bottom edge. In the case of f3-b3, it is divided into four areas: the area above the top edge, the area to the left of the left edge, the area to the right of the right edge, and the area below the bottom edge.
In the case of -b4, it is divided into two areas: the area above the top edge and the area below the bottom edge, and in the case of f5-b5, it is divided into three areas: the area above the top edge, the area to the left of the left edge, and the area below the bottom edge.
divided into regions. In the case of fl-bl, the color area C is not directly divided, and in the case of f6-b6, the color area C is not affected at all. If this division is necessary, color information data of the color area is created according to the division (S420). At this point, the color information data is the value before being moved due to deletion. The movement process is performed in step 460, which will be described later.

次に読み出すべき色情報データが終了したが否かが判定
され(8430)、まだデータが存在すれば次のデータ
を読み出す(3400)。すべて終了すれば、次に、分
割されて新たに作成された色情報データを最初がら読み
出しく5440)、テキストデータ削除に伴う色領域へ
の影響があるか否かが判定される(S450)。例えば
、第5図(B)に示したfl−blの削除は、色領域C
全体の移動につながり、その移動処理をしなければなら
ないことと、削除文字列の数が色領域Cの左側のスペー
ス11より大きい場合には、第5図(E)の色領域c1
1とC12のように、移動により色領域Cが左右二つに
分離する場合があるからである。この様に影響がある場
合には上記のごとく色領域の移動・分割処理が成される
。即ち、ステップ5420で分割され設定された色領域
の内、削除部分が上位桁または上位行にある場合には、
上述したfl−blの削除による色領域Cの移動・分割
と同様に、各々が削除による影響に従って移動され分割
される。例えば、fl−b2の削除では、ステップ42
0の処理で3分割されて新たに設定された領域C21,
C22,C23の内、削除部分より下位である領域C2
2,C23が第5図(F)のごとく左に移動する。もし
、移動量が多くて、左端よりはみ出すようであれば、上
記第5図(E)のように分割処理がなされる。
It is determined whether the color information data to be read out next has been completed (8430), and if there is still data, the next data is read out (3400). When all of this is completed, next, the divided and newly created color information data is read from the beginning (5440), and it is determined whether or not there is any effect on the color area due to text data deletion (S450). For example, the deletion of fl-bl shown in FIG.
If the number of deleted character strings is larger than the space 11 on the left side of the color area C, the color area c1 in FIG. 5(E)
This is because the color area C may be separated into two left and right parts due to movement, as in cases 1 and C12. If there is such an influence, the color area is moved and divided as described above. That is, if the deleted portion is in the upper digit or upper row of the color area divided and set in step 5420,
Similarly to the movement and division of color area C due to deletion of fl-bl described above, each is moved and divided according to the influence of deletion. For example, in the deletion of fl-b2, step 42
Area C21, which was newly set by being divided into three by the process of 0,
Among C22 and C23, area C2 that is lower than the deleted part
2, C23 moves to the left as shown in FIG. 5(F). If the amount of movement is large and it protrudes beyond the left end, division processing is performed as shown in FIG. 5(E) above.

こうしてすべての色情報データが終了すれば、次の処理
(3350)に移る。
When all the color information data is completed in this way, the process moves to the next process (3350).

次に、上記テキストデータ挿入に伴う色領域の移動・分
割の処理について第5図(C)のフローチャートに基づ
いて説明する。先ず、記憶されている色情報データを一
組分読み出す処理が行われる(S500)。次に読み出
された色情報データが表す色領域と前記文字列移動先の
位置とが対比され、色情報データを分割しなくてはなら
ないか否かを判定する(S510)。例えば、前出第5
図(D>で説明すると、一点鎖線で表された色領域Cに
対し、挿入位置かf2の位置であり、挿入するのがb2
までの文字数であれば、色領域Cを挿入に伴う移動のな
めに分割しなければならない。
Next, the process of moving and dividing the color area accompanying the text data insertion will be explained based on the flowchart of FIG. 5(C). First, a process of reading out one set of stored color information data is performed (S500). Next, the color area represented by the read color information data is compared with the position to which the character string is to be moved, and it is determined whether the color information data needs to be divided (S510). For example,
To explain in the diagram (D>), for the color area C represented by the dashed line, the insertion position is f2, and the insertion position is b2.
If the number of characters is up to 1, the color area C must be divided according to the movement required for insertion.

即ち、その行以降の領域Cが挿入文字数ずれ込むことに
より、削除の場合とは異なり、領域Cは長方形の挿入領
域の上辺より上の部分と下の部分との2領域に分かれる
ことになる。この分割が必要な場合は、分割に応じて色
領域の色情報データが作成される(3520)。この時
点では、色情報データは挿入に伴う移動前の値である。
That is, because the area C after that line is shifted by the number of inserted characters, unlike in the case of deletion, the area C is divided into two areas, a part above and a part below the upper side of the rectangular insertion area. If this division is necessary, color information data of the color area is created according to the division (3520). At this point, the color information data is the value before movement due to insertion.

移動処理は後述するステップ560にて実施される。The movement process is performed in step 560, which will be described later.

次に読み出すべき色情報データが終了したか否かが判定
され(3530)、まだデータが存在すれば次のデータ
を読み出す(S500)。すべて終了すれば、次に、分
割されて新たに作成された色情報データを最初から読み
出しく5540)、テキストデータ挿入に伴う色領域へ
の影響があるか否かが判定される(S550)。例えば
、上記f2−b2の挿入は、ステップ520にて2分割
されて新たに設定された領域C31,C32の内、挿入
部分より下位である領域C32が第5図(G)のごとく
右に移動する。もし、挿入文字列の数が色領域の右側の
スペースク2より大きい場合には、移動により色領域C
32が左右二つに分離する場合がある。この様に影響が
ある場合には色領域の移動・分割処理が成される。即ち
、ステップ5520で分割され設定された色領域の内、
挿入部分が上位桁または上位行にある場合には、上述し
たf2−b2の挿入による色領域CB2の移動・分割と
同様に、各々が挿入による影響にしたがって移動され分
割される。こうしてすべての色情報データが終了すれば
、次の処理(S390)に移る。
It is determined whether the color information data to be read out next has ended (3530), and if there is still data, the next data is read out (S500). When all of this is completed, next, the newly created divided color information data is read from the beginning (5540), and it is determined whether or not there is any effect on the color area due to the text data insertion (S550). For example, in the insertion of f2-b2, of the areas C31 and C32 newly set after being divided into two in step 520, area C32, which is lower than the inserted part, moves to the right as shown in FIG. 5(G). do. If the number of inserted character strings is larger than 2 spaces on the right side of the color area, move the color area C.
32 may be separated into left and right parts. If there is such an influence, the color area is moved and divided. That is, among the color regions divided and set in step 5520,
When the inserted portion is in the upper digit or upper row, each is moved and divided according to the influence of the insertion, similar to the movement and division of the color area CB2 due to the insertion of f2-b2 described above. When all the color information data is completed in this way, the process moves to the next process (S390).

=16− 次に上記データを用いて、印字制御手段M2として電子
制御袋W50が行うカラー印字処理を第6図<A)に基
づき説明する。
=16- Next, using the above data, the color printing process performed by the electronic control bag W50 as the printing control means M2 will be explained based on FIG. 6<A).

先ず、1行分の印字を上記テキストデータから読み出し
、RAM53内に設けたバッファにドツト情報として展
開する(S600)。例えば、第6図(B)で示したド
ツトパターンの印字をするものとすると、1行目のrA
B漢字」を図示したドツトパターンで展開する。
First, one line of print is read from the text data and developed as dot information in a buffer provided in the RAM 53 (S600). For example, if the dot pattern shown in FIG. 6(B) is to be printed, rA in the first row
``B Kanji'' is developed in the illustrated dot pattern.

次に、上記バッファと色領域との比較を行って特定の色
の領域のみ残して他のドツトの情報を消去する(S61
0)。即ち、上記各色コードの次に記憶されている始点
P1と終点P2との位置データに基づき、第6図(B)
に示す領域内は領域外とは色が異なるのであるから、先
ず、領域内に該当するドツトが第6図(C)の(1〉に
示すごとく消去される。この状態で、ドツト情報に応じ
て印字される(3620)。例えば、黒色で第6図(C
)の(1)のごとく印字される。
Next, the buffer is compared with the color area to leave only the specific color area and erase information on other dots (S61
0). That is, based on the positional data of the starting point P1 and the ending point P2 stored next to each color code, as shown in FIG. 6(B)
Since the color inside the area shown in is different from that outside the area, first, the dots corresponding to the area are erased as shown in (1) of Fig. 6(C).In this state, the dots corresponding to the dot information are (3620).For example, the image shown in Fig. 6 (C
) is printed as shown in (1).

次に、印字していない他の色が存在するが否がが各色コ
ードとその領域データにより、判定される(3630)
Next, whether or not there are other colors that are not printed is determined based on each color code and its area data (3630)
.

上記1行目の場合、領域内が印字されていないので、再
度1行目がバッファに展開される(S600)。次に特
定の色のドツトのみ残すのであるが、今度は始点P1と
終点P2とで定まる領域を残して、他は消去することに
なる(S610)。
In the case of the first line, since the area is not printed, the first line is expanded into the buffer again (S600). Next, only the dots of a specific color are left, but this time the area determined by the starting point P1 and the ending point P2 is left, and the others are erased (S610).

即ち第6図(C)の(2)に示すドツトが上記黒色で印
字したものに重ねて、第6図(C)の(3)に示すごと
く印字されることになる(S620)。
That is, the dots shown in (2) of FIG. 6(C) are printed over the black print as shown in (3) of FIG. 6(C) (S620).

この時点で、上記1行分に含まれる色データは終了して
いるので、テキストデータ中に次の行が存在しているか
否かが判定される(S640)。
At this point, the color data included in the one line has ended, so it is determined whether the next line exists in the text data (S640).

上記例では、「CXわあ」の行とrYZプロ」の行が存
在しているので、プラテン18を回転させて改行したf
&(3650)、処理のポインタを次の行に設定して(
3660)、再度2行目の処理を行う。また2行目が終
了すれば、3行目を行う。
In the above example, there is a line for "CX Wow" and a line for "rYZ Pro", so rotate the platen 18 and change the line f
& (3650), set the processing pointer to the next line and (
3660), the process on the second line is performed again. When the second line is completed, the third line is executed.

こうして全行終了すれば、印字行は終了と判断されて、
印字処理を終了する。この結果、第6図(D)に示すよ
うに入力された文字が、領域毎に設定した色で印字され
る。
If all lines are completed in this way, the print line is considered to be finished, and
Finish the printing process. As a result, the input characters are printed in the color set for each area as shown in FIG. 6(D).

次に、一旦、第6図(B)の用に色領域が設定された後
、第5図(A)で示したテキスト編集ルーチンの処理に
て、テキストデータのみを変更した場合、例えば、 「
漢」を始点とし、 「字」を終点として、移動文字列を
指定し、挿入位置として「あ」にカーソルを設定した場
合、 「漢字」の文字列が、 「わJと「あ」との間に
挿入されることになる。その結果、上述のカラー印字ル
ーチンの処理により印刷すると、第6図(E)のように
文字配列の変更とともに色模様も同様に移動している。
Next, once the color area is set for the one shown in FIG. 6(B), if only the text data is changed in the process of the text editing routine shown in FIG. 5(A), for example,
If you specify a moving character string with ``kan'' as the starting point and ``ji'' as the end point, and set the cursor to ``a'' as the insertion position, the ``kanji'' character string will be changed to ``wa J'' and ``a''. It will be inserted in between. As a result, when printing is performed using the color printing routine described above, the color pattern also moves as the character arrangement changes, as shown in FIG. 6(E).

ただし、この色模様は、前述した第4図(A)の色領域
設定ルーチンを起動させることにより、文字の配列とは
無関係に設定し直せる。
However, this color pattern can be reset regardless of the character arrangement by activating the color area setting routine shown in FIG. 4(A) described above.

上述したごとく本実施例は構成されているので、印字さ
れた文字列にドツト単位の任意の微細な色模様まで表現
できるとともに、文字データの配列の移動に追随して色
模様も移動し、移動した文字列に移動先においても同様
の視覚的効果を生じさせることが出来る。特に、文字列
の中に細かい色模様を設定したり、特定の色にした場合
に、変化してしまわないので再調整が不要となり、編集
が極めて容易となる。
Since this embodiment is configured as described above, it is possible to express arbitrary minute color patterns in dot units on printed character strings, and the color patterns also move in accordance with the movement of the character data arrangement. A similar visual effect can be produced at the destination of the moved character string. In particular, when a detailed color pattern is set in a character string or a specific color is set, the character string does not change, so there is no need to readjust it, making editing extremely easy.

尚、上述した実施例において、色情報データのバイト数
が固定されていなければ、ヘッダに各色情報データのバ
イト数を含める。また、色領域指定は、始点・終点を対
角線とする矩形状としたが、例えば、中心点と半径との
データを入力して、円状の色領域を設定したり、その他
生円形、楕円形、菱形、三角形等の形状にすることもで
きる。また、色領域指定もドツト単位でなく、複数のド
ツト単位あるいは文字単位でもよい。
In the embodiment described above, if the number of bytes of color information data is not fixed, the number of bytes of each color information data is included in the header. In addition, the color area specification was made into a rectangular shape with the starting point and end point as diagonals, but for example, you can set a circular color area by inputting the data of the center point and radius, or you can also create a circular color area, an elliptical shape, etc. , a rhombus, a triangle, etc. Further, color area specification may also be done not in units of dots, but in units of multiple dots or in units of characters.

上記テキスト編集ルーチンは文字列の移動のみ示したが
第5図(B)のテキスト削除特色領域移動・分割処理ル
ーチンを単独で用いれば、テキストの削除処理に対処で
き、また第5図(C)のテキスト挿入特色領域移動・分
割処理ルーチンを単独で用いれば、テキストの挿入処理
に対処できる。
Although the text editing routine described above only shows the movement of character strings, if the text deletion special color area movement/division processing routine shown in FIG. 5(B) is used alone, it is possible to deal with text deletion processing. Text insertion processing can be handled by using the text insertion special color area movement/division processing routine alone.

先駆Ω例皿 一20= 本実施例は上述のごとく構成されているため、各色の指
定が容易に出来、色パターン模様が自由に設定できると
ともに、いかに文字の配列を編集し直しても、編集して
移動した文字列の色模様はそのまま保存される。そのた
め各文字列に設計した視覚的効果がそのまま保存される
。特に細かい色模様を設定した場合や特定の色に設定し
た場合に編集が極めて容易となる。
Sakigake Ω Example Plate 1 20 = Since this example is configured as described above, each color can be easily specified, the color pattern can be freely set, and no matter how much the character arrangement is edited, the editing The color pattern of the character string that you move is saved as is. Therefore, the visual effects designed for each character string are preserved as is. Editing becomes extremely easy, especially when a detailed color pattern is set or a specific color is set.

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

第1図は本発明の基本的構成を例示するブロック図、第
2図は一実施例のカラーワードプロセッサの斜視図、第
3図はそのブロック図、第4図(A)は色領域設定ルー
チンのフローチャート、第4図(B)は設定操作の説明
図、第4図(C)はデータの記憶構造を示す説明図、第
5図(A)はテキスト編集ルーチンのフローチャート、
第5図(B)はテキスト削除特色領域移動・分割処理ル
ーチンのフローチャート、第5図(C)はテキスト挿入
特色領域移動・分割処理ルーチンのフローチャート、第
5図(D)、(E)、(F)は各々テキストデータの削
除により色領域が受ける影響の説明図、第5図(G)は
テキストデータの挿、入により色領域が受ける影響の説
明図、第6図<A)はカラー印字ルーヂンのフローチャ
ート、第6図(B)は印字のドツトパターンを示す説明
図、第6図(C)は色別に印字する手順を示ず説明図、
第6図(D>は印字終了後の印刷状態を示す説明図、第
6図(E)は文字配列変更後の印刷状態を示す説明図を
表す。 1・・・キーボード     2・・・液晶パネル4・
・・熱転写式印刷装置  5・・・色指定キー6・・・
イエローキー    8・・・マゼンタキー10・・・
シアンキー    11・・・カーソルキー12・・・
印字キー     14・・・改行キー50・・・電子
制御装置
FIG. 1 is a block diagram illustrating the basic configuration of the present invention, FIG. 2 is a perspective view of a color word processor according to an embodiment, FIG. 3 is a block diagram thereof, and FIG. 4(A) is a color area setting routine. Flowchart, FIG. 4(B) is an explanatory diagram of the setting operation, FIG. 4(C) is an explanatory diagram showing the data storage structure, FIG. 5(A) is a flowchart of the text editing routine,
FIG. 5(B) is a flowchart of the text deletion special color area movement/division processing routine, FIG. 5(C) is a flowchart of the text insertion special color area movement/division processing routine, and FIGS. 5(D), (E), ( F) is an explanatory diagram of the effect on the color area due to deletion of text data, Figure 5 (G) is an explanatory diagram of the influence on the color area due to insertion of text data, and Figure 6<A) is color printing. 6(B) is an explanatory diagram showing the printing dot pattern, FIG. 6(C) is an explanatory diagram showing the procedure for printing by color,
Fig. 6 (D> is an explanatory diagram showing the printing state after printing is completed, and Fig. 6 (E) is an explanatory diagram showing the printing state after changing the character arrangement. 1...Keyboard 2...Liquid crystal panel 4.
...Thermal transfer printing device 5...Color specification key 6...
Yellow key 8...Magenta key 10...
Cyan key 11...Cursor key 12...
Print key 14...Line feed key 50...Electronic control device

Claims (1)

【特許請求の範囲】 入力された文字データを該文字データに対応したドット
パターンに変換し該パターンに従ってドット印字するカ
ラーワードプロセッサにおいて、更に、 該文字データの配列を記憶する配列記憶手段と、ドット
印字面に印字色毎に領域を設定する印字色領域設定手段
と、 該領域の分布を記憶する分布記憶手段と、 前記ドットパターンを該ドットパターンの属する前記領
域の設定色で印字するよう制御する印字制御手段と、 上記配列記憶手段中の文字データの配列を変更する編集
手段と、 上記分布記憶手段中の印字色領域を、上記編集手段によ
り移動した文字データに対応して、変更する印字色領域
変更手段と、 を備えたことを特徴とするカラーワードプロセッサ。
[Scope of Claims] A color word processor that converts input character data into a dot pattern corresponding to the character data and prints dots according to the pattern, further comprising an array storage means for storing an array of the character data, and a dot printing method. A printing color area setting means for setting an area for each printing color on a surface, a distribution storage means for storing the distribution of the area, and a printing unit for controlling the dot pattern to be printed in the setting color of the area to which the dot pattern belongs. a control means; an editing means for changing the arrangement of character data in the array storage means; and a printing color area for changing the print color area in the distribution storage means in accordance with the character data moved by the editing means. A color word processor comprising: a changing means; and a color word processor.
JP61242739A 1986-10-13 1986-10-13 Color word processor Pending JPS6395970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61242739A JPS6395970A (en) 1986-10-13 1986-10-13 Color word processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61242739A JPS6395970A (en) 1986-10-13 1986-10-13 Color word processor

Publications (1)

Publication Number Publication Date
JPS6395970A true JPS6395970A (en) 1988-04-26

Family

ID=17093532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61242739A Pending JPS6395970A (en) 1986-10-13 1986-10-13 Color word processor

Country Status (1)

Country Link
JP (1) JPS6395970A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02172773A (en) * 1988-12-27 1990-07-04 Fuji Xerox Co Ltd Information output device
US6801733B2 (en) 2003-01-21 2004-10-05 Static Control Components, Inc. Printer cartridge and method of making or refurbishing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02172773A (en) * 1988-12-27 1990-07-04 Fuji Xerox Co Ltd Information output device
US6801733B2 (en) 2003-01-21 2004-10-05 Static Control Components, Inc. Printer cartridge and method of making or refurbishing

Similar Documents

Publication Publication Date Title
JP3294883B2 (en) Color separation method in ink jet color graphic printing
US5399030A (en) Tape print device having print format control
US5947619A (en) Tape printer capable of printing a background and text on the tape
JPS6395970A (en) Color word processor
US5159666A (en) Apparatus and a method for enlarging dot matrix data
JP2864412B2 (en) Printing equipment
US5805194A (en) Thermal printer having a multicolored printing function
JP2546194B2 (en) Tape printer capable of printing multiple lines of data
JPS6391255A (en) Color word processor
JPS6391256A (en) Color word processor
JP2530903Y2 (en) Tape printer
JPS61121163A (en) Picture processing system
JP3373345B2 (en) Color display
JPH04294172A (en) Tape preparation device
JPH0225348A (en) Image output device
JPS62199477A (en) Recorder
JPH09169131A (en) Transfer controlling method for multi-line thermal printer
JP2000307843A (en) Printer
JPS63111525A (en) Document editing device
JPH06118934A (en) External character registering method
JPS59123046A (en) Display system of document processor
JPH04275160A (en) Document processing device
JPS6392990A (en) Document editing apparatus
JPH08287053A (en) Document preparing device and printing control method
JPH0310972B2 (en)