JPH01120343A - Data output apparatus - Google Patents

Data output apparatus

Info

Publication number
JPH01120343A
JPH01120343A JP62277305A JP27730587A JPH01120343A JP H01120343 A JPH01120343 A JP H01120343A JP 62277305 A JP62277305 A JP 62277305A JP 27730587 A JP27730587 A JP 27730587A JP H01120343 A JPH01120343 A JP H01120343A
Authority
JP
Japan
Prior art keywords
color
data
red
black
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62277305A
Other languages
Japanese (ja)
Other versions
JP2675789B2 (en
Inventor
Takeshi Onodera
健 小野寺
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62277305A priority Critical patent/JP2675789B2/en
Publication of JPH01120343A publication Critical patent/JPH01120343A/en
Application granted granted Critical
Publication of JP2675789B2 publication Critical patent/JP2675789B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)

Abstract

PURPOSE:To output a multicolor to one code indication, by providing the data of the number of bits corresponding to the number of colors per output one pixel. CONSTITUTION:When the setting of a color flag 7a is 'red', a character code sent along with a printing command is supplied to a character font memory 6 and, at first, a red pattern is read from the red data 6a in the character font memory 6 to be written on the bit map of a red buffer 7c as OR and, continuously, a black pattern is read from black data 6b to be written on the bit map of the red buffer 7c as OR. When the setting of the color flag 7a is judged to be 'color mixture', in such a case that setting is 'black', same operation is performed in accordance with 'black'. As mentioned above, when a data code to be printed is successively sent along with color indication and developed in an RAM 7 corresponding to one page or one printing output, a paper delivery command is sent from a host computer 2 by a printing start order.

Description

【発明の詳細な説明】 [a業上の利用分野] 本発明はコード入力された出力データを対応する画像パ
ターンに変換して少なくとも2色での多色印刷可能な情
報出力装置、例えば、文字の多色出力の可能な情報出力
装置に関するものである。
Detailed Description of the Invention [Field of Application in Business A] The present invention is an information output device capable of converting code-input output data into a corresponding image pattern and printing in at least two colors, such as a character The present invention relates to an information output device capable of multicolor output.

[従来の技術] 従来、多色印刷が可能な情報出力装置、例えば印刷装置
においても、1つの文字の色は何か1色の色で表現する
手段しか有していなかった。
[Prior Art] Conventionally, even information output devices capable of multicolor printing, such as printing devices, have only had means for expressing the color of one character using one color.

[発明が解決しようとしている問題点]このため、上記
従来例では、1つの文字内の特定の一部分を強調したい
ような場合等においても、単に1つの文字全体を強調す
ることができるのみで、その1部分を強調することはで
きないという欠点があった。
[Problems to be Solved by the Invention] Therefore, in the conventional example described above, even when it is desired to emphasize a specific part of one character, it is only possible to emphasize the entire one character. The drawback was that it was not possible to emphasize that one part.

[問題を解決するための手段] 本発明は上述の問題点を解決することを目的として成さ
れたもので、上述の問題点を解決する一手段として、本
発明に係る一実施例は以下の構成を備える。
[Means for Solving the Problems] The present invention has been made for the purpose of solving the above-mentioned problems, and as a means for solving the above-mentioned problems, one embodiment according to the present invention is as follows. Equipped with a configuration.

即ち、コード人力された出力データを対応する色毎の画
像パターンに変換する変換手段と、該変換手段の変換パ
ターンを出力色毎に保持するパターン記憶手段と、変換
手段よりの変換パターンのパターン記憶手段への記憶色
位置を指定する指定手段と、パターン記憶手段の記憶パ
ターンを色毎に読出して出力する出力手段とを備える。
That is, a conversion means for converting the output data inputted by the code into an image pattern for each corresponding color, a pattern storage means for holding the conversion pattern of the conversion means for each output color, and a pattern storage of the conversion pattern from the conversion means. The apparatus includes a specifying means for specifying a memory color position in the means, and an output means for reading and outputting the stored pattern of the pattern storage means for each color.

[作用 コ 以上の構成において、出力1画素あたり、色の数に対応
するビット数のデータをもたせることにより、1つのコ
ード指定に対して多色の出力可能とする。
[Operation] In the above configuration, by providing data of the number of bits corresponding to the number of colors per output pixel, it is possible to output multiple colors for one code specification.

[実施例コ 以下添付図面を参照して本発明に係る一実施例を詳細に
説明する。なお、本発明では、多色印刷が可能な種々の
印刷装置に応用可能であるが、説明の簡略化のため、赤
と黒の2色刷の可能な印刷装置を例として以下説明する
[Embodiment] Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. The present invention can be applied to various printing devices capable of multicolor printing, but for the sake of simplicity, a printing device capable of two-color printing of red and black will be described below as an example.

第1図は、本発明に係る一実施例の印刷装置のブロック
図である。
FIG. 1 is a block diagram of a printing apparatus according to an embodiment of the present invention.

図中1は本実施例の印刷装置本体であり、2は本実施例
に印刷データを供給すると共に、本実施例の印刷動作を
制御する外部のホストコンピュータである。3はROM
5内に格納された例えば後述する第2図に示すフローチ
ャートに示されたプログラムに従い印刷装置本体1全体
の制御を司るCPUである。4はホストコンピュータ2
より送られてくるデータを一時格納する受信バッファで
あり、5は上述した第2図に示すプログラムの他本実施
例で用いる各種パラメータ等が格納されているROMで
あり、6は受信バッファ4に入力された文字コードに対
応するドツト文字フォントパターンが格納されている文
字フォントメモリである。本実施例においては、この文
字フォントメモリ6として、1つの文字のうち部首のご
とき強調しようとする部分を保持する赤色部分のドツト
パターンを生成するための赤データエリア6aと、1つ
の文字のうちの他の部分である通常の黒色部分のドツト
パターンを生成するための黒データエリア6bとで構成
されており、両データエリア6a、6bとで1つの文字
パターンを形成するように構成されている。なお、この
文字フォントメモリ6よりのドツトパターンは2値化さ
れておリ、文字パターンのうち印刷すべきドツトには真
(通常“1“)、印刷すべきでないドツトには偽(通常
“0”)の値で格納されている。
In the figure, 1 is the printing apparatus main body of this embodiment, and 2 is an external host computer that supplies print data to this embodiment and controls the printing operation of this embodiment. 3 is ROM
5, which controls the entire printing apparatus main body 1 according to a program shown in a flowchart shown in FIG. 2, which will be described later. 4 is host computer 2
5 is a ROM that stores various parameters used in this embodiment in addition to the program shown in FIG. This is a character font memory in which a dot character font pattern corresponding to an input character code is stored. In this embodiment, the character font memory 6 includes a red data area 6a for generating a dot pattern of a red part that holds a part to be emphasized, such as a radical, of one character, and It consists of a black data area 6b for generating a dot pattern for the other part of the screen, which is the normal black part, and both data areas 6a and 6b are configured to form one character pattern. There is. Note that the dot pattern from this character font memory 6 is binarized; true (usually "1") is assigned to dots that should be printed in the character pattern, and false (usually "0") is assigned to dots that should not be printed. ”) is stored as the value.

7はRAMであり、CPU3が各種処理を実行する際に
ワークエリアとして使用するためのものである。このR
AM7は、現在印刷出力すべく指定されている色を記憶
するための色フラグエリア7aと、印刷出力すべき印刷
パターンデータを格納する色別のビットマツプのバッフ
ァ(黒バッファ7b、赤バッファ7c)により構成され
ている。また8は、黒バッファ7b、赤バッファ7Cに
格納されている印刷ドツトパターンを永久可視表示する
プリント出力部である。
7 is a RAM, which is used as a work area when the CPU 3 executes various processes. This R
The AM7 has a color flag area 7a for storing the color currently specified to be printed out, and a color-specific bitmap buffer (black buffer 7b, red buffer 7c) for storing the print pattern data to be printed out. It is configured. Reference numeral 8 denotes a print output unit that permanently and visually displays the print dot patterns stored in the black buffer 7b and red buffer 7C.

以上の構成より成る本実施例の動作を第2図のフローチ
ャートを参照して以下に説明する。
The operation of this embodiment having the above configuration will be explained below with reference to the flowchart of FIG.

まず、本実施例装置に電源が供給されるとステップS1
でRAMT内の色グラフ7aを初期設定する(尚、本実
施例においては、色グラフの初期設定値は混合を示すも
のとする)0次にステップS2でホストコンピュータ2
からのデータを受信し、データを受信するとこの受信デ
ータを受信バッファ4に格納する。そして、受信が終了
するとステップS3に進み、受信バッファ4から1単位
コード分のデータを読み出す、続くステップs4で読出
しデータが色指定コマンドか排紙コマンド或は印刷コマ
ンドかを判断する。これは、受信データの最初の1単位
のコードはこれら印刷装置制御コマンドが送られてくる
ためである。このステップS4の判断で色指定コマンド
と判断された場合はステップS5に進み、色指定コマン
ドでの指定色が黒か赤かあるいは混合かを判断する。赤
色指定コマンドの場合はステップs6で色フラグ7aを
“赤”に設定し、ステップS2に戻る。ステップS5の
判断で混合指定コマンドの時はステップS7に進み、色
フラグ7aを“混合”に設定してステップS2に戻る。
First, when power is supplied to the device of this embodiment, step S1
Initialize the color graph 7a in the RAMT (in this embodiment, the initial setting value of the color graph indicates a mixture).Next, in step S2, the host computer 2
When the data is received, the received data is stored in the reception buffer 4. When the reception is completed, the process proceeds to step S3, where data for one unit code is read out from the reception buffer 4. In the following step S4, it is determined whether the read data is a color designation command, a paper discharge command, or a print command. This is because the code of the first unit of received data is used to send these printing device control commands. If it is determined in step S4 that it is a color designation command, the process proceeds to step S5, where it is determined whether the color designated by the color designation command is black, red, or a mixture. In the case of a red designation command, the color flag 7a is set to "red" in step s6, and the process returns to step S2. If it is determined in step S5 that the command is a mixture designation command, the process advances to step S7, sets the color flag 7a to "mix", and returns to step S2.

一方、ステップS5の判断で黒色指定コマンドの場合は
ステップS8に進み、色フラグ7aを“黒”に設定して
ステップS2に戻る。このように、印刷コードデータの
送出に先立ち、色指定の変更があるときにはこの色指定
コマンドを送出する。ここで、色指定コマンドの来ない
場合には先の色指定に従った色で出力される。
On the other hand, if it is determined in step S5 that the command is a black designation command, the process advances to step S8, sets the color flag 7a to "black", and returns to step S2. In this way, prior to sending print code data, this color specification command is sent when there is a change in color specification. Here, if a color specification command does not come, the output will be in the color according to the previous color specification.

一方、ステップS3による判断で印刷コマンドであると
判断した場合にはステップS10に進み、先にステップ
36〜8で設定した色フラグ7aの設定が“赤”である
か“混合“であるか又は“黒”であるかを判断する。こ
の判断で色フラグ7aの設定が“赤”のときはステップ
Sllに進み、印刷コマンドと共に送られてきた文字コ
ードを文字フォントメモリ6に供給し、まず赤パターン
を文字フォントメモリ6中の赤データ6aから読出して
赤バッファ7cのビットマツプ上に論理和で書き込み、
続いてステップS12で黒パターンを黒データ6bから
読出し、これをステップSttと同じく赤バッファ7c
のビットマツプ上に論理和で書込み、ステップS2に戻
る。
On the other hand, if it is determined in step S3 that it is a print command, the process proceeds to step S10, and the setting of the color flag 7a previously set in steps 36 to 8 is "red", "mixed", or Determine whether it is “black”. If the setting of the color flag 7a is "red" in this judgment, the process advances to step Sll, the character code sent with the print command is supplied to the character font memory 6, and the red pattern is first converted to the red data in the character font memory 6. Read from 6a and write on the bitmap of red buffer 7c with logical sum,
Subsequently, in step S12, the black pattern is read from the black data 6b, and the same as in step Stt, the black pattern is read out from the red buffer 7c.
The logical sum is written on the bitmap, and the process returns to step S2.

ステップS10の判断で色フラグ7aの設定が“混合”
であると判断した場合にはステップS15に進み、印刷
コマンドの文字コードを文字フォントメモリ6に供給し
、まず赤データ6aから赤パターンを読出して赤バッフ
ァ7cのビットマツプ上に論理和で書き込み、次にステ
ップS16で黒データ6bから黒パターンを読出して黒
バッファ7bのビットマツプ上に論理和で書き込みステ
ップS2に戻る。
The setting of the color flag 7a is "mixed" as determined in step S10.
When it is determined that Then, in step S16, the black pattern is read from the black data 6b and written on the bit map of the black buffer 7b using a logical sum.The process returns to step S2.

一方、ステップSIOの判断で色フラグ7aの設定が“
黒”の場合にはステップS20に進み、印刷コマンドと
共に送られてきた文字コードを文字フォントメモリ6に
供給し、まず赤パターンを文字フォントメモリ6中の赤
データ6aから読出して黒バッファ7bのビットマツプ
上に論理和で書き込み、続いてステップS21で黒パタ
ーンを黒データ6bから読出し、これをステップS20
と同じく黒バッファ7bのビットマツプ上に論理和で書
込み、ステップS2に戻る0以上の処理により、印刷出
力すべき印刷ドツトパターンがRAMT中に展開された
ことになる。そして、次に印刷コマンドを受信した時に
は、RAM?中の先に格納したビットマツプ上の次の位
置に書込まれることになる。
On the other hand, step SIO determines that the setting of color flag 7a is “
In the case of "black", the process advances to step S20, where the character code sent with the print command is supplied to the character font memory 6, the red pattern is first read from the red data 6a in the character font memory 6, and the bit map of the black buffer 7b is read out. Then, in step S21, the black pattern is read from the black data 6b, and this is written in step S20.
Similarly, by writing the logical sum onto the bit map of the black buffer 7b and returning to step S2 for 0 or more, the print dot pattern to be printed out has been developed in the RAMT. Then, the next time a print command is received, the RAM? It will be written to the next position on the bitmap that was stored earlier.

このようにして順次印刷すべきデータコードが色指定と
共に送られ、1頁分或いは1回の印刷出力分RAMT中
に展開されると、ホストコンピュータ2より印刷開始指
令である排紙コマンドが送られてくる。すると、ステッ
プS4の判断で排紙コマンドであるためステップS4よ
りステップS30に進み、RAMT中の黒バッファ7b
内のデータを読出してプリント出力部8に送り、黒色で
印刷出力し、続くステップS31で赤バッファ7c内の
データを読出してプリント出力部8に送り、赤色で印刷
し出力する。そして全ての印刷出力が終了するとステッ
プS32で黒バッファ7b及び赤バッファ7c内の全ビ
ットをクリアしステップS2に戻る。
In this way, the data codes to be printed sequentially are sent together with the color designation, and when they are expanded into the RAMT for one page or one printout, the host computer 2 sends a paper discharge command, which is a command to start printing. It's coming. Then, since it is determined in step S4 that it is a paper ejection command, the process proceeds from step S4 to step S30, and the black buffer 7b in RAMT is
The data in the red buffer 7c is read out and sent to the print output unit 8, and printed out in black.In the subsequent step S31, the data in the red buffer 7c is read out and sent to the print output unit 8, and printed out in red. When all print outputs are completed, all bits in the black buffer 7b and red buffer 7c are cleared in step S32, and the process returns to step S2.

以上説明したように、本実施例によれば、文字フォント
の1画素について、色の数に対応するだけのビット数の
データをもたせることにより、−文字に多数の表現が可
能になり、色指定コ゛マントの指定によって文字を赤黒
のどちらか一色にも、又混合しても印刷することができ
る。
As explained above, according to this embodiment, by providing one pixel of a character font with data of the number of bits corresponding to the number of colors, it is possible to express a large number of characters, and specify the color. Depending on the command specification, characters can be printed in either red or black, or in a mixture of colors.

[他の実施例] 以上の説明ではでは2色刷の印刷装置における実施例を
挙げたが、本発明は以上に限定されるものではなく、3
色以上の場合にも応用できることは勿論である。
[Other Embodiments] In the above description, an embodiment of a two-color printing apparatus was given, but the present invention is not limited to the above, and three
Of course, this method can also be applied to cases involving more than just color.

又、出力装置は印刷装置に限らずCRTなどの表示装置
であってもよい。さらに色指定コマンドとしては実施例
以外に色の反転(赤データを黒バッファに黒データを赤
バッファに)指定することも可能である。
Further, the output device is not limited to a printing device, but may be a display device such as a CRT. Furthermore, as a color designation command, it is also possible to designate color inversion (red data to black buffer, black data to red buffer), in addition to the embodiments.

さらに、文字フォントROMのもち方としては赤黒を別
々の領域にもたず、奇数ビットは黒データのように混合
してもつことも可能である。
Furthermore, the character font ROM may not have red and black in separate areas, but may have odd bits mixed together like black data.

[発明の効果] 以上説明したように本発明によれば、2色以上の印刷が
可能な情報出力装置で、一つの文字に対して多色の表現
を可能にし、かつ−色でも表現できるという効果が得ら
れる。
[Effects of the Invention] As explained above, according to the present invention, an information output device capable of printing in two or more colors can express one character in multiple colors, and can also be expressed in -colors. Effects can be obtained.

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

第1図は本発明に係る一実施例の全体構成図、第2図は
本実施例の動作を示すフローチャートである。 図中、1・・・印刷装置本体、2・・・ホストコンピュ
ータ、3・・・CPU14・・・受信バッファ、5・・
・ROM、6・・・文字フォントメモリ、6a・・・赤
データ、6b・・・黒データ、7・・・RAM、7a・
・・色フラグ、7b・・・黒バッファ、7c・・・赤バ
ッファ、8・・・プリント出力部である。 第1図
FIG. 1 is an overall configuration diagram of an embodiment according to the present invention, and FIG. 2 is a flowchart showing the operation of this embodiment. In the figure, 1...Printing device main body, 2...Host computer, 3...CPU 14...Reception buffer, 5...
・ROM, 6... Character font memory, 6a... Red data, 6b... Black data, 7... RAM, 7a...
. . . color flag, 7b . . . black buffer, 7c . . . red buffer, 8 . . . print output section. Figure 1

Claims (2)

【特許請求の範囲】[Claims] (1)コード入力された出力データを対応する画像パタ
ーンに変換して少なくとも2色での多色印刷可能な情報
出力装置において、コード入力された出力データを対応
する色毎の画像パターンに変換する変換手段と、該変換
手段の変換パターンを出力色毎に保持するパターン記憶
手段と、前記変換手段よりの変換パターンの該パターン
記憶手段への記憶色位置を指定する指定手段と、前記パ
ターン記憶手段の記憶パターンを色毎に読出して出力す
る出力手段とを備え、出力1画素あたり、色の数に対応
するビット数のデータをもたせることにより、1つのコ
ード指定に対して多色の出力可能とすることを特徴とす
る情報出力装置。
(1) Converting the code-input output data into a corresponding image pattern and converting the code-input output data into an image pattern for each corresponding color in an information output device capable of multicolor printing in at least two colors. a conversion means, a pattern storage means for holding a conversion pattern of the conversion means for each output color, a designation means for specifying a storage color position of a conversion pattern from the conversion means in the pattern storage means, and the pattern storage means It is equipped with an output means for reading and outputting the memory pattern for each color, and by having data of the number of bits corresponding to the number of colors per output pixel, it is possible to output multiple colors for one code specification. An information output device characterized by:
(2)色の指定により、1つのコード入力を多色混合出
力又は単色出力可能とすることを特徴とする特許請求の
範囲第1項記載の印刷装置。
(2) The printing apparatus according to claim 1, wherein one code input can be output in a mixed color or in a single color by specifying a color.
JP62277305A 1987-11-04 1987-11-04 Output control device Expired - Fee Related JP2675789B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62277305A JP2675789B2 (en) 1987-11-04 1987-11-04 Output control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62277305A JP2675789B2 (en) 1987-11-04 1987-11-04 Output control device

Publications (2)

Publication Number Publication Date
JPH01120343A true JPH01120343A (en) 1989-05-12
JP2675789B2 JP2675789B2 (en) 1997-11-12

Family

ID=17581686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62277305A Expired - Fee Related JP2675789B2 (en) 1987-11-04 1987-11-04 Output control device

Country Status (1)

Country Link
JP (1) JP2675789B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61150571A (en) * 1984-12-25 1986-07-09 Toshiba Corp Picture forming device
JPS62221564A (en) * 1986-03-24 1987-09-29 Canon Inc Information output device
JPS62227648A (en) * 1986-03-31 1987-10-06 Ricoh Co Ltd Outputting system of color document

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61150571A (en) * 1984-12-25 1986-07-09 Toshiba Corp Picture forming device
JPS62221564A (en) * 1986-03-24 1987-09-29 Canon Inc Information output device
JPS62227648A (en) * 1986-03-31 1987-10-06 Ricoh Co Ltd Outputting system of color document

Also Published As

Publication number Publication date
JP2675789B2 (en) 1997-11-12

Similar Documents

Publication Publication Date Title
JP2790285B2 (en) Full page graphics image display data compression method and apparatus
JPS63205257A (en) Printing control system
US5586226A (en) Control method and device for a unicolor printer
US5475496A (en) Image processing apparatus for binarizing multi-value image data
JPH07288705A (en) Device and method for processing color image
JPH01120343A (en) Data output apparatus
US5295239A (en) Printing color control in color printing apparatus
US4835529A (en) Output display apparatus
JPH06328790A (en) Color printer
JP3690057B2 (en) OUTPUT CONTROL SYSTEM, OUTPUT CONTROL METHOD, RECORDING MEDIUM RECORDING OUTPUT CONTROL PROGRAM, DATA GENERATION DEVICE USED FOR OUTPUT CONTROL SYSTEM, DATA CONVERSION DEVICE USED IN OUTPUT CONTROL SYSTEM, DATA CONVERSION CONTROL METHOD, AND RECORDING MEDIUM RECORDING DATA CONVERSION CONTROL PROGRAM
JP3581381B2 (en) Image processing method and image processing apparatus
JP2909075B2 (en) Printing equipment
JP2715077B2 (en) Printing equipment
JPS62208176A (en) Image processor
JPH0630927B2 (en) Pattern output method
JP2935495B2 (en) Output control method and device
JPS63286359A (en) Pattern generation system
JPS63185638A (en) Document output device
JPH08123400A (en) Display control device, storing method for displayed information and display device
JPS6364086A (en) Output unit
JPH0764527A (en) Color character forming device
JPS58175390A (en) Output device of hard copy signal
JPS637963A (en) Printing apparatus
JPH0642134B2 (en) Pattern input device
JPH05266203A (en) Picture processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees