JPH0239985A - Color printing method - Google Patents

Color printing method

Info

Publication number
JPH0239985A
JPH0239985A JP63190235A JP19023588A JPH0239985A JP H0239985 A JPH0239985 A JP H0239985A JP 63190235 A JP63190235 A JP 63190235A JP 19023588 A JP19023588 A JP 19023588A JP H0239985 A JPH0239985 A JP H0239985A
Authority
JP
Japan
Prior art keywords
color
printing
line
characters
printed
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
JP63190235A
Other languages
Japanese (ja)
Inventor
Hiroyuki Shinohara
裕之 篠原
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP63190235A priority Critical patent/JPH0239985A/en
Publication of JPH0239985A publication Critical patent/JPH0239985A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J35/00Other apparatus or arrangements associated with, or incorporated in, ink-ribbon mechanisms
    • B41J35/22Mechanisms permitting the selective use of a plurality of ink ribbons

Landscapes

  • Impression-Transfer Materials And Handling Thereof (AREA)
  • Color, Gradation (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To enable multicolor printing on a character basis to be easily carried out through replacement of ribbon cassettes and enable instantaneous judgment of the kind of a ribbon cassette required at the time of the replacement by designating printing colors for printing characters, and serially printing the characters designated the same printing color, on a line basis. CONSTITUTION:For example, a black designated printing color is selected as an expanding color, and a color column table region 31 is examined on a column basis. Only characters at the columns designated the printing color conforming to the expanding color of black, namely, only the characters A, B, G, H in the first line are subjected to pattern expansion through access to a character pattern region 14 in a RAM 12, and the other characters are expanded as spaces into a line buffer. In this case, spaces are expanded into the line buffer, for each column at which a color control code is present and each column assigned a color other than the selected color. Upon receiving information that mounting of a ribbon cassette conforming to the black designated printing color is finished, a CPU 10 outputs the content of the line buffer to a printer 23 so as to perform printing of the characters A, B, G, H retrieved.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は多色印刷に好適なカラー印字方法に関する。[Detailed description of the invention] [Purpose of the invention] (Industrial application field) The present invention relates to a color printing method suitable for multicolor printing.

(従来の技術) 文書作成装置において、作成した文書を印刷する際に用
いられるリボンカセットとしては、例えば「黒」、「赤
」、「青」、「緑」、「金」、「銀」などの複数の異な
る色のリボンカセットがあり、これらを任意選択的に使
用することによりカラー印刷できる。
(Prior Art) Ribbon cassettes used in document creation devices to print created documents include, for example, "black", "red", "blue", "green", "gold", "silver", etc. There are several different colored ribbon cassettes, which can optionally be used to print in color.

ところで、従来は、このような複数のリボンカセットを
用いて多色印刷する際には、行修飾の「印刷指定」機能
を利用していた。これは、指定した行を印刷した後、印
刷を停止する機能であって、これを利用すると、印刷停
止時にリボンカセットを交換して多色印刷を行なうこと
ができる。
By the way, conventionally, when performing multicolor printing using such a plurality of ribbon cassettes, a "print designation" function of line modification has been used. This is a function that stops printing after printing a specified line, and by using this function, it is possible to perform multicolor printing by replacing the ribbon cassette when printing is stopped.

しかしながら、この方法は、行単位としての多色印刷に
は有効であるが、文字単位としての多色印刷ではリボン
交換頻度が増大し、困難を有する欠点がある。また、リ
ボン交換時に、オペレータ自身の管理の下で、リボンカ
セットを交換しなければならないため、必要とするリボ
ンカセット種を即座に判断できない欠点がある。
However, although this method is effective for multi-color printing on a line-by-line basis, it has the disadvantage that ribbon replacement frequency increases and is difficult in multi-color printing on a character-by-character basis. Furthermore, since the ribbon cassette must be replaced under the operator's own control when replacing the ribbon, there is a drawback that the type of ribbon cassette required cannot be immediately determined.

(発明が解決しようとする課題) 上記したように、従来は、印刷色を変えようとする度に
印刷を停止させ、オペレータ自身の管理の下で、リボン
カセットを交換して多色印刷する構成であったため、文
字単位の色指定のように印刷色を変更する頻度が増すと
、多色印刷が困難になり、また、リボン交換時に必要と
するリボンカセット種を即座に判断できない欠点があっ
た。
(Problems to be Solved by the Invention) As described above, conventionally, printing is stopped every time a print color is to be changed, and the ribbon cassette is replaced under the operator's own control to print in multiple colors. Therefore, as the frequency of changing printing colors increases, such as specifying color for each character, it becomes difficult to print in multiple colors, and there is also the drawback that it is not possible to immediately determine the type of ribbon cassette needed when replacing ribbon. .

本発明は上記のような点に鑑みなされたもので、容易に
文字単位での多色印刷ができ、また、リボン交換時に必
要とするリボンカセット種を即座に判断できるカラー印
字方法を提供することを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a color printing method that allows multi-color printing on a character-by-character basis with ease, and also allows immediate determination of the type of ribbon cassette required when replacing the ribbon. With the goal.

[発明の構成] (課題を解決するための手段と作用) すなおち、本発明に係るカラー印字方法は、各々印刷色
が指定された文字列を、複数の異なる色のリボンカセッ
トを任意選択的に使用して行毎にカラー印刷するカラー
印字方法において、複数の印刷色の中から1つずつ印刷
色を選択し、印刷対象となる行中の上記選択された印刷
色が指定された文字のみを文字パターンに展開して、上
記選択された印刷色に応じたリボンカセットを用いて一
度に印刷し、以後、印刷色を順次変更して、これに応じ
たリボンカセットを用いて当該行の印刷を繰返し、1行
について同一色に指定された文字毎に一度に印刷して、
当該行のカラー印刷を行なう構成とした。この場合、選
択された印刷色が変わる度に、対応するリボンカセット
の装填を通知することを特徴とする。
[Structure of the Invention] (Means and Effects for Solving the Problems) In other words, the color printing method according to the present invention optionally prints character strings each having a designated printing color through a plurality of ribbon cassettes of different colors. In the color printing method where color printing is performed line by line using Develop it into a character pattern and print it all at once using the ribbon cassette that corresponds to the print color selected above.After that, change the print color sequentially and print the line using the ribbon cassette that corresponds to the print color. Repeat and print each character specified in the same color for one line at once,
The configuration was such that the line in question was printed in color. In this case, each time the selected print color changes, a notification is sent to load the corresponding ribbon cassette.

この構成によれば、リボンカセットを交換しながら容易
に文字単位での多色印刷が可能となる。
According to this configuration, it is possible to easily perform multicolor printing on a character by character basis while replacing the ribbon cassette.

また、リボン交換時に、そのとき必要なリボンカセット
の装填が指示されるため、必要とするリボンカセット種
を即座に判断できる。
Furthermore, when replacing the ribbon, an instruction is given to load the ribbon cassette that is needed at that time, so the type of ribbon cassette that is needed can be immediately determined.

また、本発明は、各々印刷色が指定された文字列を、複
数の異なる色のリボンカセットを任意選択的に使用して
行毎にカラー印刷するカラー印字方法において、複数の
印刷色の中から1つずつ印刷色を選択し、印刷対象とな
る行中の上記選択された印刷色が指定された文字のみを
文字パターンに展開して、上記選択された印刷色に応じ
たリボンカセットを用いて一度に印刷し、以後、印刷色
を順次変更して、これに応じたリボンカセットを用いて
当該行の印刷を繰返し、1行中全ての文字の印刷が終了
したことを認識して改行を行なうと共に、同終了時に選
択された印刷色が次行にも存在するか否かを判別し、存
在するときには、この印刷色が指定された文字の印刷を
始めに実行する構成とした。
Further, the present invention provides a color printing method in which character strings each having a designated printing color are printed in color line by line using ribbon cassettes of a plurality of different colors. Select printing colors one by one, develop only the characters specified by the selected printing color in the line to be printed into a character pattern, and use the ribbon cassette corresponding to the selected printing color. Print at once, then change the printing color sequentially, repeat printing of the line using the corresponding ribbon cassette, and perform a line feed after recognizing that all characters in one line have been printed. At the same time, it is determined whether or not the selected printing color also exists in the next line at the same time, and when the printing color is present, printing of characters specified with this printing color is executed first.

この構成によれば、印刷終了時の指定印刷色が次行に存
在する場合には、続けて印刷が実行される。したがって
、複数行に渡って多色印刷する際に、リボン交換回数を
軽減できる。
According to this configuration, if the designated print color at the end of printing is present in the next line, printing is continued. Therefore, when printing in multiple colors over multiple lines, the number of ribbon replacements can be reduced.

さらに、本発明は、各々印刷色が指定された文字列を、
複数の異なる色のリボンカセットを任意選択的に使用し
て行毎にカラー印刷するカラー印字方法において、複数
の印刷色の中から1つの印刷色を選択し、この選択され
た印刷色が指定された文字のみを印刷対象となる複数の
行に渡って一度に印刷し、この印刷色について印刷対象
となる最後の行まで印刷が終了したところで、最初の行
まで戻り、別の印刷色を選択して、上記最後の行までの
印刷を繰返す構成とした。
Furthermore, the present invention enables character strings each having a designated printing color to be
In a color printing method in which a plurality of ribbon cassettes of different colors are optionally used for color printing line by line, one printing color is selected from a plurality of printing colors, and this selected printing color is specified. Print only the selected characters across multiple lines to be printed at once, and when the last line to be printed for this print color has finished printing, go back to the first line and select a different print color. The configuration is such that printing up to the last line is repeated.

この構成によれば、頁中の同一の指定印刷色の文字が一
度に印刷される。したがって、頁単位で多色印刷する際
に、リボン交換回数を大幅に軽減できる。
According to this configuration, characters of the same specified printing color on a page are printed at once. Therefore, when performing multicolor printing on a page-by-page basis, the number of ribbon replacements can be significantly reduced.

(第1の実施例) 以下、図面を参照して本発明に係る第1の実施例を説明
する。
(First Example) Hereinafter, a first example according to the present invention will be described with reference to the drawings.

第1図は文書作成装置の基本的な構成を示すブロック図
である。
FIG. 1 is a block diagram showing the basic configuration of a document creation device.

第1図に於いて、IOはマイクロプロセッサ(CPU)
 、11は同マイクロプロセッサ10によりアクセスさ
れるRAM、12は同ROMである。
In Figure 1, IO is a microprocessor (CPU)
, 11 is a RAM accessed by the microprocessor 10, and 12 is a ROM.

マイクロプロセッサ(以下、CPUと称す)lOは、装
置全体の制御を行なうもので、上記RAM11及びRO
M12をアクセスして、入力指示に従うプログラムの起
動で、文書作成処理、外字作成処理、更には後述するカ
ラー印刷制御処理等を実行する。RAMIIは、文書領
域、行イメージ領域(印字バッファ)、外字登録領域、
語句登録領域を始め、文書表示画面上のカーソル位置を
記憶するカーソル位置レジスタなどの各制御情報を記憶
する領域、更にカラー桁、テーブル領域31及びカラー
行テーブル領域32からなる。ROM12は、CPUl
0の動作を決定するプログラムや、カラー印刷制御処理
プログラム等を格納したプログラム領域13をはじめ、
表示あるいは印字文字パターン等を記憶する文字パター
ン領域14、仮名あるいはローマ字で入力された読みを
漢字に変換するための各種辞書が登録された辞書領域1
5等を有している。
The microprocessor (hereinafter referred to as CPU) IO controls the entire device, and the RAM 11 and RO
By accessing M12 and starting a program according to input instructions, document creation processing, external character creation processing, color printing control processing, etc., which will be described later, are executed. RAMII has a document area, line image area (print buffer), external character registration area,
It consists of a word registration area, an area for storing various control information such as a cursor position register for storing the cursor position on the document display screen, color digits, a table area 31, and a color line table area 32. ROM12 is CPUl
Including a program area 13 that stores a program for determining the operation of the 0, a color print control processing program, etc.
A character pattern area 14 for storing display or print character patterns, etc., and a dictionary area 1 for storing various dictionaries for converting readings input in kana or romaji into kanji.
It has a rank of 5.

また、16はキーボード(KB)、18は表示器、21
はフロッピィディスク装置(FDD)、23はプリンタ
(PRT)である。キーボード(KB)10は、文書作
成等に必要な入力情報をキーボードインターフェイス(
KB−IF)17を介してCPU10へ入力する。この
キーボード16には、文字キーカーソルキー等に加えて
、カーソル範囲を全角から半角に切換える半角指定キー
、及びカーソル範囲の半角から全角への切換えを伴う、
「ひらがな」シフトキー 「カタカナ」シフトキー 「
漢字」シフトキー、更に「印刷色指定」キー等を含む各
種のファンクションキーが設けられる。表示器18は、
例えばIO行表示の液晶デイスプレィ装置からなる。表
示コントローラ(表示−CNT)19は、CPUl0の
制御の下に表示用ドツトメモリ20を用い表示器18の
表示制御を行なう。フロッピィディスク装置21は、デ
ィスクインターフェイス(FDD−I F)22を介し
てCPUl0の制御の下に、作成された文書を保存した
り、外字および第2水準文字等を記憶する。
Also, 16 is a keyboard (KB), 18 is a display, 21
23 is a floppy disk device (FDD) and a printer (PRT). The keyboard (KB) 10 uses a keyboard interface (KB) to input information necessary for document creation, etc.
The data is input to the CPU 10 via the KB-IF) 17. In addition to character keys and cursor keys, this keyboard 16 includes a half-width specification key for switching the cursor range from full-width to half-width, and a key for switching the cursor range from half-width to full-width.
"Hiragana" shift key "Katakana" shift key "
Various function keys are provided, including a ``kanji'' shift key, and a ``print color designation'' key. The display 18 is
For example, it consists of a liquid crystal display device that displays IO rows. The display controller (display-CNT) 19 controls the display of the display 18 using the display dot memory 20 under the control of the CPU10. The floppy disk device 21 stores created documents and stores external characters, second level characters, etc. under the control of the CPU 10 via a disk interface (FDD-IF) 22.

プリンタ23は、プリンタインターフェイス(PRT−
I F)24を介してCP U toの制御の下に、作
成された文書あるいは上記フロッピィディスク装置21
から本体内に読み込んだ文字情報を印字する。
The printer 23 has a printer interface (PRT-
IF) 24 under the control of the CPU to, the created document or the floppy disk device 21
Prints the character information read into the main body.

次に、第2図に示すフローチャートを参照して、本発明
の第1の実施例のカラー印刷動作を説明する。
Next, the color printing operation of the first embodiment of the present invention will be described with reference to the flowchart shown in FIG.

まず、カラー印刷する前に、例えばカラー制御コードを
用いて印刷文字の印刷色を指定しておく。
First, before performing color printing, the printing color of printed characters is specified using, for example, a color control code.

カラー制御コードは、文字の1つ(制御文字)として扱
われ、RAMII内の文書文字列の中に記憶されるもの
であり、このカラー制御コードに続く文字列を指定され
た色で印刷することを示す。文書を表示する際には、カ
ラー制御コードに対応した色を示すマークがROM12
から読出され、文書文字列と共に表示される。
The color control code is treated as one of the characters (control character) and is stored in the document string in RAMII, and the character string following this color control code is printed in the specified color. shows. When displaying a document, a mark indicating the color corresponding to the color control code is displayed in the ROM12.
and displayed along with the document string.

第5図はカラー制御コードを用いて印刷色を指定した場
合の文書の表示の一例を示す図であり、この例では1行
目のrAJ、rBJ、rGJ、rHJに対して「黒」の
カラー制御コードによって黒色印刷が指定されている。
FIG. 5 is a diagram showing an example of how a document is displayed when the print color is specified using a color control code. Black printing is specified by the control code.

また、1行目のrCJ、rDJに対して赤色印刷、rE
J、rFJに対して青色印刷がそれぞれカラー制御コー
ドによって指定されている。他の行においても同様に、
カラー制御コードによって文字単位で印刷色が指定され
ている。
In addition, rCJ and rDJ on the first line are printed in red, rE
Blue printing is specified for J and rFJ by color control codes, respectively. Similarly in other lines,
The printing color is specified for each character by the color control code.

ここでは、理解を容易にするため、1行目をカラー印刷
する場合を想定して説明する。
Here, for ease of understanding, the explanation will be based on the assumption that the first line is printed in color.

すなわち、1行目のカラー印刷が指示されると、CPU
l0は、第2図に示すフローチャートに従い、まず、印
刷対象となる1行目中のカラー制御コードをチエツクし
、桁毎(文字毎)に何色に指定されているかを認議して
、それを第6図に示すようにRAMIIのカラー桁テー
ブル領域31に記憶させる(ステップAI)。
In other words, when color printing of the first line is instructed, the CPU
According to the flowchart shown in Figure 2, l0 first checks the color control code in the first line to be printed, confirms what color is specified for each digit (each character), and prints it. is stored in the color digit table area 31 of RAMII as shown in FIG. 6 (step AI).

次に、CPUl0は゛、この記憶した「黒」、「赤」「
青」の指定印刷色の中から1つの指定印刷色、例えば「
黒」の指定印刷色を展開カラーとして選択しくステップ
A2)、1桁毎にカラー桁テーブル領域31を検査して
上記「黒」の展開カラーと一致する指定印刷色の桁の文
字、つまり1行目におけるrAJ、rBJ、rGJ、r
HJの各文字のみ、RAM12内の文字パターン領域1
4をアクセスして、パターン展開を行ない、他の文字は
スペースとしてラインバッファに展開する(ステップA
3〜A13)。この中で、カラー制御コードの存在する
桁と、選択色以外に色指定されている桁については、ス
ペースがラインバッファに展開される(ステップA7、
A10)。なお、この場合は、何も書込まないことと同
じなので、ラインバッファの書込みアドレスを1桁分進
めても良い。
Next, the CPU10 stores the memorized ``black,''``red,'' ``
One specified printing color from among the specified printing colors of ``Blue'', for example, ``Blue''.
In step A2), the color digit table area 31 is inspected for each digit to select the specified print color of "black" as the development color, and the character of the digit of the specified print color that matches the development color of "black" is selected, that is, one line. rAJ, rBJ, rGJ, r in the eye
Each character of HJ only, character pattern area 1 in RAM 12
4 to perform pattern expansion, and other characters are expanded into the line buffer as spaces (step A).
3-A13). Among these, spaces are expanded into the line buffer for the digit where the color control code exists and the digit where a color other than the selected color is specified (step A7,
A10). Note that in this case, since it is the same as not writing anything, the write address of the line buffer may be advanced by one digit.

そして、展開フラグがセットされていれば、CPUl0
は、「黒」の指定印刷色に応じたリボンカセットの装填
を、例えば「リボン(黒)をセットして、選択/実行キ
ーを押してください」というようなメツセージ表示によ
って指示しくステップA14)、「選択/実行」キーの
操作による装填完了の通知を受けると、上記検索された
rAJ、rBJ、rGJ、rHJの各文字の印刷を実行
するために、ラインバッファの内容をプリンタ23に出
力する(ステップA15)。以下、「赤」、「青」の指
定印刷色それぞれについて、上記同様の動作を繰返すこ
とにより、その行の印刷を完了する(ステップA16、
A17)。
Then, if the expansion flag is set, CPUl0
In step A14), the user is instructed to load the ribbon cassette corresponding to the specified printing color of "black" by displaying a message such as "Please set the ribbon (black) and press the select/execute key." When receiving a notification of completion of loading by operating the "Select/Execute" key, the contents of the line buffer are output to the printer 23 in order to print each of the characters rAJ, rBJ, rGJ, and rHJ found above (step A15). Thereafter, by repeating the same operation as above for each of the specified printing colors "red" and "blue", printing of that line is completed (step A16,
A17).

このようにして、行単位で同一指定印刷色の文字が一度
に印刷される。すなわち、まず、点印刷指定されたrA
J、rBJ、rGJ、rHJの文字が印刷され、次に、
赤印刷指定されたrCJ、rDJの文字、最後に、青印
刷指定されたrEJ、rFJの文字というように同一指
定印刷色の文字が逐次印刷されることになる。
In this way, characters of the same specified printing color are printed at once on a line-by-line basis. That is, first, rA specified for dot printing
The letters J, rBJ, rGJ, rHJ are printed, then
Characters of the same designated printing color are sequentially printed, such as the characters rCJ and rDJ designated for red printing, and finally the characters rEJ and rFJ designated for blue printing.

したがって、リボンカセットを交換しながら容易に文字
単位での多色印刷が可能となる。また、リボン交換時に
、メツセージ表示によって、そのとき必要なリボンカセ
ットの装填が指示されるため、必要とするリボンカセッ
ト種を即座に判断できる。
Therefore, it is possible to easily perform multicolor printing on a character by character basis while replacing the ribbon cassette. Further, when replacing the ribbon, a message is displayed to instruct loading of the ribbon cassette required at that time, so the type of ribbon cassette required can be immediately determined.

なお、この実施例では、印刷色の優先順位を黒、赤、青
の順として、各文字を逐次印刷する構成としたが、この
順位については限定されるものではない。
In this embodiment, the printing colors are prioritized in the order of black, red, and blue, and each character is sequentially printed, but this order is not limited.

(第2の実施例) 次に、第3図を参照して本発明に係る第2の実施例につ
いて説明する。
(Second Embodiment) Next, a second embodiment according to the present invention will be described with reference to FIG.

なお、回路構成については、第1図と同一であるため、
その説明は省略するものとする。また、第1の実施例と
同様に第5図に示す文書を例に取り、ここでは、理解を
容易にするため、1行目および2行目のカラー印刷する
場合を想定して説明する。
Note that the circuit configuration is the same as in Figure 1, so
The explanation thereof will be omitted. Further, as in the first embodiment, the document shown in FIG. 5 is taken as an example, and for ease of understanding, a case will be described assuming that the first and second lines are printed in color.

すなわち、1行目および2行目のカラー印刷が指示され
ると、CPUl0は、第3図に示すフローチャートに従
い、まず、印刷対象となる1行目および2行目中のカラ
ー制御コードをチエツクし、行毎に「黒」、「赤」、「
青」の指定印刷色の有無を認識して、それをRAMII
のカラー行テーブル鎮域32に記憶させる(ステップB
l)。この例では、各色に対応したビットにフラグをセ
ットすることによって、第7図に示すように記憶される
That is, when color printing of the first and second lines is instructed, CPU10 first checks the color control codes in the first and second lines to be printed, according to the flowchart shown in FIG. , "black", "red", "
RAM II recognizes the presence or absence of the specified printing color of "blue" and prints it.
(Step B)
l). In this example, the data is stored as shown in FIG. 7 by setting flags in bits corresponding to each color.

そして、CPUl0は、1行目を展開行として指定する
(ステップB2)。次に、CPUl0は、カラー桁テー
ブル32を参照して、その行に対応する色指定の有無を
認識し、色指定があれば、例えば「黒」、「赤」、「青
」の順で、色指定のある文字を展開カラーとして選択し
くステップB3)、この行に対する展開カラーの処理を
第1の実施例と同様に行なう(ステップB4)。
Then, CPU10 designates the first line as the expansion line (step B2). Next, the CPU 10 refers to the color digit table 32 and recognizes whether there is a color specification corresponding to that row, and if there is a color specification, for example, in the order of "black", "red", "blue", A character with a specified color is selected as a developed color (Step B3), and the developed color processing for this line is performed in the same manner as in the first embodiment (Step B4).

この場合、ステップB4で、文字パターンがラインバッ
ファに展開されると文字展開フラグがセットされるので
、CPU1Oは、この文字展開フラグの状態を調べ(ス
テップB5)、セットされていれば、そのラインの印刷
に移るが、ここで、セットされたリボンカセットが展開
カラーと一致するか否かを調べて(ステップB6)、一
致すれば、そのまま印刷を実行し、一致しなければリボ
ン交換メツセージを表示して、「選択/実行」キーの押
下を待って印刷を実行する(ステップ87〜B8)。こ
こで、「選択/実行」キーが押下されたとき、CPUl
0は、展開カラーに一致したリボンカセットが装填され
たものと見なしく実際には、オペレータの意図で別のリ
ボンカセットが装填されているかも知れないが)、この
ときの展開カラーをセットされているリボンカラーとし
て記憶しておく。
In this case, the character expansion flag is set when the character pattern is expanded to the line buffer in step B4, so the CPU 1O checks the state of this character expansion flag (step B5), and if it is set, the line At this point, it is checked whether the set ribbon cassette matches the developed color or not (step B6). If they match, printing is executed as is, and if they do not match, a ribbon replacement message is displayed. Then, printing is executed after the "select/execute" key is pressed (steps 87 to B8). Here, when the "Select/Execute" key is pressed, the CPU
0 is assumed to mean that a ribbon cassette that matches the developed color is loaded; in fact, a different ribbon cassette may have been loaded according to the operator's intention), but the current developed color is set. Save it as the ribbon color.

これにより、記憶されたリボンセットカラーと展開カラ
ーとがステップB6で比較される。この展開カラーの1
行分の印刷が終了すると、次の選択色がカラー行テーブ
ル32で存在しているか否かが調べられ(ステップBI
O)、存在していれば、この選択色での文字展開が、ま
た、存在しなければ次行の印刷へと処理が移る(ステッ
プ89〜B11)。
Thereby, the stored ribbon set color and developed color are compared in step B6. 1 of this development color
When printing for a row is completed, it is checked whether the next selected color exists in the color row table 32 (step BI).
O) If the selected color exists, character development is performed in this selected color, and if it does not exist, the process moves to printing the next line (steps 89 to B11).

しかして、1行目中の全ての文字の印刷が終了した状態
では、最後に装填されたリボンカセットの色がリボンセ
ットカラーとして記憶されることになる。この例では、
1行目の印刷終了時において、「青」がリボンセットカ
ラーとして記憶されることになる。したがって、次の行
の印刷の際には、ステップB3で、この「青」がカラー
行テーブル32で指定されているか否かが調べられ、指
定されていれば、「青」を最優先にして展開カラーが指
定され、以後、順に展開カラーがシフトされることにな
る。
Therefore, when all the characters in the first line have been printed, the color of the ribbon cassette loaded last will be stored as the ribbon set color. In this example,
At the end of printing the first line, "blue" is stored as the ribbon set color. Therefore, when printing the next line, it is checked in step B3 whether or not this "blue" is specified in the color line table 32, and if it is, "blue" is given top priority. The developed color is specified, and thereafter, the developed color is shifted in order.

このようにして、前の行の印刷終了時の指定印刷色が次
行にも存在する場合には、続けて印刷が実行される。す
なわち、1行目で青印刷指定されたrEJ、rFJの文
字が最後に印刷されると、2行目では同じ(青印刷指定
されたrMJ、「N」の文字が続けて印刷され、以後、
指定印刷色が順呑にシフトして、メツセージ表示による
リボン交換に伴って、黒印刷指定されたrIJ、rJJ
、「0」、rPJの文字、赤印刷指定されたrKJ、r
LJの文字が印刷されることになる。したがって、複数
行に渡って多色印刷する際に、リボン交換回数を軽減で
きる。
In this way, if the specified print color at the end of printing of the previous line also exists in the next line, printing is continued. In other words, when the characters rEJ and rFJ, which are specified to be printed in blue, are printed in the end on the first line, the same characters (rMJ and ``N'', which are specified to be printed in blue) are printed in succession on the second line, and thereafter,
The specified printing color shifts sequentially, and as the ribbon is replaced by the message display, rIJ and rJJ specified for black printing
, "0", rPJ characters, rKJ specified for red printing, r
The characters LJ will be printed. Therefore, when printing in multiple colors over multiple lines, the number of ribbon replacements can be reduced.

なお、印刷終了時の指定印刷色が次行に存在しない場合
には、予め設定された印刷色の侵先順位順に従って、各
文字を逐次印刷する。
Note that if the specified print color at the time of printing completion does not exist in the next line, each character is printed one after another according to the preset order of print color invasion.

(第3の実施例) 次に、第4図を参照して本発明に係る第3の実施例につ
いて説明する。
(Third Embodiment) Next, a third embodiment of the present invention will be described with reference to FIG. 4.

なお、回路構成については、第1図と同一であるため、
その説明は省略するものとする。また、第1の実施例と
同様に第5図に示す文書を例に取り、ここでは、理解を
容易にするため、この文書の1頁分をカラー印刷する場
合を想定して説明する。
Note that the circuit configuration is the same as in Figure 1, so
The explanation thereof will be omitted. Further, as in the first embodiment, the document shown in FIG. 5 will be taken as an example, and in order to facilitate understanding, the explanation will be made assuming that one page of this document is printed in color.

すなわち、1頁分のカラー印刷が指示されると、CPU
l0は、T54図に示すフローチャートに従い、まず、
印刷対象となる頁全体のカラー制御コードをチエツクし
、行毎に「黒」、「赤」、「青」の指定印刷色を認識し
て、それを第7図に示すようにRA M 11のカラー
行テーブル領域32に記憶させる(ステップCI)。
In other words, when one page of color printing is instructed, the CPU
First, l0 follows the flowchart shown in Figure T54.
The color control code of the entire page to be printed is checked, and the designated printing colors of "black", "red", and "blue" are recognized for each line, and these are stored in the RAM 11 as shown in Figure 7. It is stored in the color row table area 32 (step CI).

次に、CPUl0は、第1行に対応したカラー桁テーブ
ルにセットされている色から1つの指定印刷色、例えば
「黒」の指定印刷色を選択しくステップC2)、この選
択された「黒」の指定印刷色に応じたリボンカセットの
装填を、例えば「リボン(黒)をセットして、選択/実
行キーを押してください」というようなメツセージ表示
によって指示する(ステップC3)。
Next, the CPU 10 selects one specified print color, for example, "black" from among the colors set in the color digit table corresponding to the first row (step C2), and selects this selected "black". Loading of a ribbon cassette corresponding to the designated print color is instructed by displaying a message such as, for example, "Please set ribbon (black) and press the select/execute key" (step C3).

そして、CPUl0は、「選択/実行」キーの操作によ
る装填完了の通知を受けると、印刷対象となるカラー行
テーブル32に上記選択された「黒」の印刷色指定があ
るか否かを調べ、指定があれば、第2図に示した順序で
、その行の指定印刷色の印刷を実行する(ステップ04
〜C5)。但し、この場合、第2図におけるステップA
2の展開カラーは当該印刷色に固定され、ステップA1
6は省略され、この行の当該印刷色での印刷が終了した
ら、改行が実行される。
Then, upon receiving the notification of completion of loading by operating the "select/execute" key, the CPU 10 checks whether or not the selected print color "black" is specified in the color row table 32 to be printed. If specified, printing of the specified print color for that line is executed in the order shown in FIG. 2 (step 04).
~C5). However, in this case, step A in FIG.
The developed color of step A1 is fixed to the printing color.
6 is omitted, and a line feed is executed when printing of this line in the printing color is completed.

しかして、ステップC4で、印刷対象行に指定色のフラ
グがセットされていない場合には、即、改行が実行され
る。このようにして、該当頁の最終行まで指定印刷色で
印刷が実行される(ステップC7、C701) 以下、「赤」、「青」の指定印刷色それぞれについて、
上記同様の動作を繰返すことにより、その頁の印刷を完
了する(ステップC8)。
In step C4, if the designated color flag is not set for the line to be printed, line feed is immediately executed. In this way, printing is executed in the specified print color up to the last line of the corresponding page (steps C7 and C701).Hereinafter, for each of the specified print colors "red" and "blue",
By repeating the same operations as above, printing of that page is completed (step C8).

この場合、1回分の印刷(ある指定印刷色での1頁分の
印刷)を終了する毎に、頭を揃えて用紙を再セットする
か、あるいは用紙送りモータ(ステッピングモータ)の
逆送りが可能であれば、用紙が送られたピッチ数だけ用
紙を逆送りさせて、印刷開始位置に復帰させる必要があ
る(ステップC9)。
In this case, each time one printing session (printing one page in a specified printing color) is completed, it is possible to align the paper heads and reset the paper, or to reverse the paper feed motor (stepping motor). If there is, it is necessary to reverse the paper by the number of pitches by which the paper was fed and return it to the printing start position (step C9).

このようにして、頁単位で同一指定印刷色の文字が一度
に印刷される。すなわち、1行目で黒印刷指定されたr
AJ、rBJ、rGJ、[HJ、2行目で黒印刷指定さ
れたrlJ、rJJ、「0」、rPJ・・・最終行で黒
印刷指定されたrWJ、rXJというように黒印刷指定
された頁中の全ての文字が続けて印刷され、以後、メツ
セージ表示によるリボン交換と、用紙の再セットあるい
は印刷開始位置までの用紙逆送り動作に伴って、光印刷
指定された頁中の全ての文字、青印刷指定された頁中の
全ての文字が印刷されることになる。したがって、頁単
位で多色印刷する際に、リボン交換回数を大幅に軽減で
きる。
In this way, characters of the same designated printing color are printed at once on a page-by-page basis. In other words, r specified for black printing in the first line
AJ, rBJ, rGJ, [HJ, rlJ with black printing specified on the second line, rJJ, "0", rPJ... rWJ, rXJ with black printing specified on the last line, etc. Pages with black printing specified All the characters in the page will be printed one after another, and then as the ribbon is replaced by message display, the paper is reset, or the paper is fed backwards to the printing start position, all the characters in the page specified for optical printing will be printed. All characters on the page designated for blue printing will be printed. Therefore, when performing multicolor printing on a page-by-page basis, the number of ribbon replacements can be significantly reduced.

なお、この実施例では、印刷色の優先順位を黒、赤、青
の順として、各文字を色分は印刷する構成としたが、こ
の順位については限定されるものではない。
In this embodiment, the printing colors are prioritized in the order of black, red, and blue, and each character is printed in each color, but this order is not limited.

また、第1乃至第3の実施例において、文字に対する色
指定が制御コードによって行われているが、この色指定
の方法は制御コードに限るものではなく、例えば文字毎
にアトリビュージョンピットを持って、色指定するよう
にしても良い。
In addition, in the first to third embodiments, the color specification for characters is performed using a control code, but this color specification method is not limited to the control code. For example, each character has an attribution pit. You may also specify a color.

さらに、本発明は、基本色を重ね印刷して、複数の色を
形成するカラー印刷にも応用することもできる。
Furthermore, the present invention can also be applied to color printing in which basic colors are overprinted to form a plurality of colors.

【発明の効果] 以上のように本発明によれば、印刷文字の印刷色を指定
しておき、行単位で同一指定印刷色の文字を逐次印刷す
る構成としたため、リボンカセットを交換しながら容易
に文字単位での多色印刷が可能となる。また、リボン交
換時に、そのとき必要なリボンカセットの装填を指示す
る構成としたため、必要とするリボンカセット種を即座
に判断できる。
[Effects of the Invention] As described above, according to the present invention, the printing color of the printed characters is specified and the characters of the same specified printing color are sequentially printed on a line by line basis, so it is easy to replace the ribbon cassette. It becomes possible to print each character in multiple colors. Furthermore, since the system is configured to instruct loading of the ribbon cassette required at that time when replacing the ribbon, it is possible to immediately determine the type of ribbon cassette required.

さらに、印刷終了時の指定印刷色が次行に存在する場合
に、続けて印刷することによって、複数行に渡って多色
印刷する際に、リボン交換回数を軽減できる。
Furthermore, if the designated print color at the end of printing is present in the next line, by continuing to print, the number of ribbon replacements can be reduced when printing in multiple colors over a plurality of lines.

また、頁単位で同一指定印刷色の文字を色分は印刷する
ことによって、頁単位で多色印刷する際に、リボン交換
回数を大幅に軽減できる。
Furthermore, by printing characters in the same designated printing color on a page-by-page basis, the number of ribbon replacements can be significantly reduced when printing in multiple colors on a page-by-page basis.

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

第1図は本発明の第1の実施例に係る文書作成装置の構
成を示すブロック図、第2図は同第1の実施例の動作を
説明するためのフローチャート、第3図は本発明の第2
の実施例の動作を説明するためのフローチャート、第4
図は本発明の第3の実施例の動作を説明するためのフロ
ーチャート、第5図は印刷色を指定した文書の表示の一
例を示す図、第6図はカラー桁テーブルの内容を示す図
、第7図はカラー行テーブルの内容を示す図である。 IO・・・マイクロプロセッサ(CPU)  11・・
・RAM、12・・・ROM、13・・・プログラム領
域、14・・・文字パターン領域、15・・・辞書領域
、16・・・キーボード(KB)、17・・・キーボー
ドインターフェイス(KB−I F) 、18・・・表
示器、19・・・表示コントローラ(表示−CNT)、
20・・・表示用ドツトメモリ、21・・・フロッピィ
ディスク装置(FDD)、22・・・ディスクインター
フェイス(FDD−IF)、23・・・プリンタ(PR
T)、24・・・プリンタインターフェイス(PRT−
I F) 、31・・・カラー桁テーブル領域、32・
・・カラー行テーブル領域。 出願人代理人 弁理士 鈴江弐豚 第2 図 第3 第 図 第 図 第 図 黒 赤 貴 緑 錫 第 図
FIG. 1 is a block diagram showing the configuration of a document creation device according to a first embodiment of the present invention, FIG. 2 is a flowchart for explaining the operation of the first embodiment, and FIG. Second
Flowchart for explaining the operation of the embodiment, No. 4
FIG. 5 is a flowchart for explaining the operation of the third embodiment of the present invention, FIG. 5 is a diagram showing an example of the display of a document in which print colors are specified, FIG. 6 is a diagram showing the contents of a color digit table, FIG. 7 is a diagram showing the contents of the color row table. IO...Microprocessor (CPU) 11...
・RAM, 12...ROM, 13...Program area, 14...Character pattern area, 15...Dictionary area, 16...Keyboard (KB), 17...Keyboard interface (KB-I) F), 18... Display device, 19... Display controller (Display-CNT),
20...Display dot memory, 21...Floppy disk device (FDD), 22...Disk interface (FDD-IF), 23...Printer (PR)
T), 24...Printer interface (PRT-
IF), 31...Color digit table area, 32.
...Color row table area. Applicant's agent Patent attorney Nibuta Suzue 2nd figure 3rd figure 3rd figure

Claims (4)

【特許請求の範囲】[Claims] (1)各々印刷色が指定された文字列を、複数の異なる
色のリボンカセットを任意選択的に使用して行毎にカラ
ー印刷するカラー印字方法において、 複数の印刷色の中から1つずつ印刷色を選択し、印刷対
象となる行中の上記選択された印刷色が指定された文字
のみを文字パターンに展開して、上記選択された印刷色
に応じたリボンカセットを用いて一度に印刷し、以後、
印刷色を順次変更して、これに応じたリボンカセットを
用いて当該行の印刷を繰返し、1行について同一色に指
定された文字毎に一度に印刷して、当該行のカラー印刷
を行なうことを特徴とするカラー印字方法。
(1) In a color printing method in which character strings, each with a specified print color, are printed in color line by line using ribbon cassettes of different colors, each line is printed in color, one by one from among the plurality of print colors. Select a printing color, develop only the characters specified by the selected printing color in the line to be printed into a character pattern, and print at once using the ribbon cassette corresponding to the selected printing color. Then, from then on,
To perform color printing of a line by sequentially changing the printing color and repeating printing of the line using the corresponding ribbon cassette, printing each character specified in the same color for one line at a time. A color printing method featuring
(2)選択された印刷色が変わる度に、対応するリボン
カセットの装填を通知することを特徴とする請求項(1
)記載のカラー印字方法。
(2) Claim (1) characterized in that each time the selected printing color changes, the loading of the corresponding ribbon cassette is notified.
) Color printing method described.
(3)各々印刷色が指定された文字列を、複数の異なる
色のリボンカセットを任意選択的に使用して行毎にカラ
ー印刷するカラー印字方法において、 複数の印刷色の中から1つずつ印刷色を選択し、印刷対
象となる行中の上記選択された印刷色が指定された文字
のみを文字パターンに展開して、上記選択された印刷色
に応じたリボンカセットを用いて一度に印刷し、以後、
印刷色を順次変更して、これに応じたリボンカセットを
用いて当該行の印刷を繰返し、1行中全ての文字の印刷
が終了したことを認識して改行を行なうと共に、同終了
時に選択された印刷色が次行にも存在するか否かを判別
し、存在するときには、この印刷色が指定された文字の
印刷を始めに実行することを特徴とするカラー印字方法
(3) In a color printing method in which character strings, each with a specified print color, are printed in color line by line using ribbon cassettes of different colors, each line is printed in color, one by one from among the plurality of print colors. Select a printing color, develop only the characters specified by the selected printing color in the line to be printed into a character pattern, and print at once using the ribbon cassette corresponding to the selected printing color. Then, from then on,
The printing color is changed sequentially and printing of the line is repeated using the corresponding ribbon cassette, and when it recognizes that all the characters in one line have been printed, a line feed is performed, and when the printing is finished, the selected A color printing method characterized in that it is determined whether or not the specified printing color also exists in the next line, and when the printing color is present, printing of characters specified with this printing color is executed first.
(4)各々印刷色が指定された文字列を、複数の異なる
色のリボンカセットを任意選択的に使用して行毎にカラ
ー印刷するカラー印字方法において、 複数の印刷色の中から1つの印刷色を選択し、この選択
された印刷色が指定された文字のみを印刷対象となる複
数の行に渡って一度に印刷し、この印刷色について印刷
対象となる最後の行まで印刷が終了したところで、最初
の行まで戻り、別の印刷色を選択して、上記最後の行ま
での印刷を繰返すことを特徴とするカラー印字方法。
(4) In a color printing method in which character strings each with a specified printing color are printed in color line by line using ribbon cassettes of different colors, one printing color is selected from among the plurality of printing colors. Select a color, print only the characters specified by this selected print color across multiple lines to be printed at once, and when printing has finished up to the last line to be printed for this print color. , a color printing method characterized by returning to the first line, selecting another printing color, and repeating printing up to the last line.
JP63190235A 1988-07-29 1988-07-29 Color printing method Pending JPH0239985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63190235A JPH0239985A (en) 1988-07-29 1988-07-29 Color printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63190235A JPH0239985A (en) 1988-07-29 1988-07-29 Color printing method

Publications (1)

Publication Number Publication Date
JPH0239985A true JPH0239985A (en) 1990-02-08

Family

ID=16254743

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63190235A Pending JPH0239985A (en) 1988-07-29 1988-07-29 Color printing method

Country Status (1)

Country Link
JP (1) JPH0239985A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0769385A1 (en) * 1995-10-17 1997-04-23 Brother Kogyo Kabushiki Kaisha Tape-shaped label printing device usable with ribbon cassettes having newly added colors

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0769385A1 (en) * 1995-10-17 1997-04-23 Brother Kogyo Kabushiki Kaisha Tape-shaped label printing device usable with ribbon cassettes having newly added colors

Similar Documents

Publication Publication Date Title
US6094186A (en) Document format setting method and apparatus
US6593948B1 (en) Character information processor
US5047956A (en) Information processing device having a function of designating a printing-start position
JPH0239985A (en) Color printing method
JPH03177963A (en) Kanji classification method, kanji classification table and kanji processor
JPH0280270A (en) Document preparation device
JPH08335152A (en) Document processor
JPH09114434A (en) Image forming device
JPH05210672A (en) Word processor
JPH0263867A (en) Color printing control system
JP2903516B2 (en) Document processing device
JP2755589B2 (en) Document creation device
JPH0346056A (en) Document generation device
JPS63293669A (en) Character processor
JPH05173732A (en) Printing controller
JPS61286177A (en) Document-forming device
JPH01230115A (en) Input device
JPH0422653A (en) Printer
JPS61286157A (en) Document former
JPH01231088A (en) Calligraphic style selecting picture displaying system
JP2000048023A (en) Document data processor and its program recording medium
JPH0695276B2 (en) How to display ruled line types
JPH0619882A (en) Method and device for processing character
JPS63264386A (en) Document data printer
JPH0264854A (en) Document generating device