JPH0437364A - Printer - Google Patents

Printer

Info

Publication number
JPH0437364A
JPH0437364A JP2141602A JP14160290A JPH0437364A JP H0437364 A JPH0437364 A JP H0437364A JP 2141602 A JP2141602 A JP 2141602A JP 14160290 A JP14160290 A JP 14160290A JP H0437364 A JPH0437364 A JP H0437364A
Authority
JP
Japan
Prior art keywords
color
paper
print
data
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
JP2141602A
Other languages
Japanese (ja)
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 JP2141602A priority Critical patent/JPH0437364A/en
Publication of JPH0437364A publication Critical patent/JPH0437364A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To print out a picture in which color is reproduced constant even when the picture is printed out on any color paper by correcting the color reproduction depending on the color of print paper. CONSTITUTION:At application of power current to a printer main body 1, sets of color information RP, GP, BP of print paper in a paper supply cassette are obtained from a color sensor 6 and the relation of RP'=(255-RP), GP'=(255-GP), and BP'=(255-BP) is set respectively to correction coefficient areas 7a,7b,7c. Then a data is received from a host computer 2 and stored in a reception buffer 4 and a data by one unit code is read from the stored buffer 4. Whether or not a data command is a print instruction or a paper discharge instruction is discriminated. In the case of the print instruction, usual print processing is implemented to decide RGB quantities RO, GO, BO to be allocated to each picture element. Then RGB quantities RS, GS, BS after correction are calculated according to the relation of RS=RO-RP', GS=GO-GP', BS=BO-BP'.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は印刷装置、特に複数の色を印刷可能な印刷装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printing device, and particularly to a printing device capable of printing a plurality of colors.

[従来の技術] 従来の印刷装置は、印刷する紙の色にかかわらず、入力
データが等しければ常に同一の色で再現を行なう。
[Prior Art] Conventional printing apparatuses always reproduce the same color regardless of the color of the paper being printed, if the input data is the same.

[発明が解決しようとしている課題] しかしながら、印刷する紙の色が変わった場合、紙の色
の影響を受けて色再現がバラつくという欠点があった。
[Problems to be Solved by the Invention] However, there is a drawback that when the color of the paper to be printed changes, color reproduction varies due to the influence of the color of the paper.

例えば、黄色がかった紙に印刷すると印刷された画像は
全体的に黄色っぽくなり、青色がかった紙に印刷すると
印刷された画像は全体的に青色っぽくなる。
For example, if you print on yellowish paper, the entire printed image will appear yellowish, and if you print on bluish paper, the entire printed image will appear bluish.

本発明は、前記従来の欠点を除去し、印刷する紙の色が
変わっても、一定の画像を再現する印刷装置を提供する
The present invention eliminates the conventional drawbacks and provides a printing device that reproduces a constant image even if the color of paper to be printed changes.

[課題を解決するための手段] この課題を解決するために、本発明の印刷装置は、印刷
する紙の色を認識する色認識手段と、認識された前記紙
の色に対応して再現色の補正を行なう色補正手段とを備
える。
[Means for Solving the Problem] In order to solve this problem, the printing apparatus of the present invention includes a color recognition means for recognizing the color of paper to be printed, and a reproduction color corresponding to the recognized color of the paper. and color correction means for correcting.

[作用コ かかる構成において、印刷する紙の色により色再現の補
正を行なうことにより、どんな色の紙に印刷しても色再
現が一定の画像を印刷することを可能にする。
[Operation] In this configuration, by correcting color reproduction depending on the color of paper to be printed, it is possible to print an image with constant color reproduction no matter what color of paper it is printed on.

[実施例] 以下に、添付の図面を参照して本発明に係る実施例゛を
説明する。
[Example] Hereinafter, an example according to the present invention will be described with reference to the accompanying drawings.

第1図は本実施例の印刷装置の構成を示すブロック図で
ある。実施例ではレッド、グリーン、ブルー(RGB)
により入力された画像情報をイエロー、マゼンタ、シア
ン、ブラック(YMCK)で印刷するYMCK印刷装置
により説明する。
FIG. 1 is a block diagram showing the configuration of a printing apparatus according to this embodiment. In the example, red, green, blue (RGB)
A YMCK printing device that prints input image information in yellow, magenta, cyan, and black (YMCK) will be explained.

第1図において、破線で示されたYMCK印刷装置の本
体lには、外部のホストコンピュータ2が不図示のコネ
クタを介して接続されており、ホストコンピュータ2か
らのコマンド及びデータ等を受は取って印刷出力される
ように構成されている。本体1内の全制御を行う演算・
制御用のCPU3には、ホストコンピュータ2よりのコ
マンド及びデータ等の受信データを一時的に蓄える受信
バッファ4と、後述する一連の制御フロー実行のための
プログラム等が格納されているROM5と、印刷する紙
の色を認識する色センサ6と、CPU3がプログラムを
実行する際にワークエリアとして機能するRAM7及び
YMCKによりカラーの画像データを出力する出力部8
と、不図示の電源装置とが接続されている。また、RA
MT内には色センサ6で認識した印刷する紙の色に従っ
てRGBそれぞれの色補正係数を格納する領域7a、7
b、7cが確保されている。
In FIG. 1, an external host computer 2 is connected to the main body l of the YMCK printing device indicated by a broken line through a connector (not shown), and receives and receives commands, data, etc. from the host computer 2. It is configured so that it can be printed out. Calculations that perform all control within the main body 1
The control CPU 3 includes a reception buffer 4 that temporarily stores received data such as commands and data from the host computer 2, a ROM 5 that stores programs, etc. for executing a series of control flows described later, and a print A color sensor 6 that recognizes the color of paper to be printed, a RAM 7 that functions as a work area when the CPU 3 executes a program, and an output unit 8 that outputs color image data using YMCK.
and a power supply device (not shown) are connected. Also, R.A.
Within the MT, there are areas 7a, 7 for storing RGB color correction coefficients according to the color of paper to be printed recognized by the color sensor 6.
b, 7c are secured.

次に、第1図のYMCK印刷装置の動作について、第2
図に示すフローチャートに従って説明する。
Next, regarding the operation of the YMCK printing device shown in FIG.
The explanation will be given according to the flowchart shown in the figure.

第2図において、まず本体1に電源が供給されると、ス
テップS1で色センサ6から給紙カセットにある印刷す
る紙の色情報Rp 、Gp 、Bpを得て、 Rp’ = (255−RP ) Gp’  = (255−Gp ) B、 ′= (255−BP ) をそれぞれ補正係数領域7a、7b、7cに設定する。
In FIG. 2, when power is first supplied to the main body 1, color information Rp, Gp, Bp of the paper to be printed in the paper feed cassette is obtained from the color sensor 6 in step S1, and Rp' = (255-RP ) Gp'=(255-Gp)B and '=(255-BP) are set in the correction coefficient areas 7a, 7b, and 7c, respectively.

次に、ステップS2でホストコンピュータ2よりデータ
を受信して受信バッファ4に格納し、この格納した受信
バッファ4から1単位コード分のデータを読み取る。ス
テップS3で上記データコマンドが印字命令か排紙命令
かを判断する。
Next, in step S2, data is received from the host computer 2 and stored in the reception buffer 4, and data for one unit code is read from the stored reception buffer 4. In step S3, it is determined whether the data command is a print command or a paper discharge command.

印字命令であれば、ステップS4で通常の印字処理を行
ない、画素に割り当てるべきRGB値Ro 、Go 、
Boを決定する。次に、ステップ$5で、 R,=R,−R。
If it is a print command, normal print processing is performed in step S4, and the RGB values Ro, Go, and RGB values to be assigned to the pixels are determined.
Determine Bo. Then, in step $5, R,=R,-R.

Gs=G0−G。Gs=G0-G.

BS =BO−B。BS = BO-B.

により、補正後のRGBの値Rfi、G、、B、を算出
する。ステップS6で対数変換により、RGB−YMC
変換を行ない、ステップs7でマスキングによりMMC
の補正を行い、ステップS8で下色除去処理によりYM
C−YMCK変換を行い、さらにステップS9でガンマ
変換によりYMCKを補正する。ステップ510で得ら
れたYMCK値をデイザ法もしくは誤差拡散法等で2値
化してYMCKのビットマツプに展開し、ステップS2
に戻る。
Then, the corrected RGB values Rfi, G, , B are calculated. In step S6, by logarithmic transformation, RGB-YMC
Conversion is performed, and MMC is converted by masking in step s7.
is corrected, and in step S8, YM is removed by undercolor removal processing.
C-YMCK conversion is performed, and YMCK is further corrected by gamma conversion in step S9. The YMCK values obtained in step 510 are binarized using the dither method or error diffusion method, and developed into a YMCK bitmap, and step S2
Return to

他方、ステップS3で排紙命令と判断された場合は、ス
テップSllでYMCKのビットマツプを出力部8に転
送して印刷・排紙する。
On the other hand, if it is determined in step S3 that it is a paper discharge command, the YMCK bit map is transferred to the output unit 8 and printed/discharged in step Sll.

給紙カセットの紙が新しくなったので、ステップS1に
戻り、再度給紙カセットにある紙の色情報の獲得から処
理をやり直す。
Since the paper in the paper feed cassette is new, the process returns to step S1 and the process starts again from acquiring color information of the paper in the paper feed cassette.

尚、本実施例では紙の色の認識は給紙カセット上で色セ
ンサ6により行ったが、パネル等からの人の入力により
行なってもかまわないし、紙カセットごとに紙の色を変
えるようにして紙カセットにつけられたマーク等で認識
するようにしてもかまわない。また、ホストコンピュー
タからのコマンド等で紙の色を認識させるようにしても
かまわない。
In this embodiment, the color of the paper was recognized by the color sensor 6 on the paper cassette, but it may also be done by human input from a panel or the like, or the color of the paper may be changed for each paper cassette. The paper cassette may be recognized by a mark or the like placed on the paper cassette. Alternatively, the color of the paper may be recognized by a command from the host computer.

又、本実施例はYMCK印刷装置を用いたが、YMC印
刷装置であっても、それ以外の多色印刷装置であったも
かまわない・ 又、色の補正は、RGB以外のYMC。
Furthermore, although a YMCK printing device was used in this embodiment, it may be a YMC printing device or any other multicolor printing device.Also, color correction may be performed using YMC other than RGB.

YMCK、HSB、HVC等を使用シテもカマワない。There is no need to use YMCK, HSB, HVC, etc.

色の補正の方法は本実施例に限るものではなく、対数変
換、マスキング、下色除去、ガンマ変換等、いずれの時
点で行なってもかまわない。
The color correction method is not limited to this embodiment, and may be performed at any time, such as logarithmic conversion, masking, undercolor removal, and gamma conversion.

又、補正をソフトウェアでなくハードウェアで行なって
もよく、この場合処理速度がより向上する。
Further, the correction may be performed by hardware instead of software, and in this case, the processing speed is further improved.

さらに、色の認識は本実施例のように排紙のたびではな
く、カセット交換時やコマンドによる指定時等に行なっ
てもかまわない。
Furthermore, color recognition may be performed not every time a sheet is ejected as in this embodiment, but when replacing a cassette or when specified by a command.

すなわち、色の認識は印刷動作時に補正が終了していれ
ば、どのような認識でもかまわない。
That is, any type of color recognition may be used as long as the correction is completed during the printing operation.

以上説明したように、印刷する紙の色に従って色再現の
補正を行なうことにより、どんな色の紙に出力しても、
常に同一な色再現画像が得られるという効果がある。
As explained above, by correcting color reproduction according to the color of the paper to be printed on, no matter what color the paper is printed on,
This has the effect of always providing the same color reproduction image.

[発明の効果] 本発明により、印刷する紙の色が変わっても、一定の画
像を再現する印刷装置を提供できる。
[Effects of the Invention] According to the present invention, it is possible to provide a printing device that reproduces a constant image even if the color of paper to be printed changes.

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

第1図は本実施例の印刷装置の構成を示すブロック図、 第2図は本実施例の印刷装置の動作手順を示すフローチ
ャートである。 図中、1・・・印刷装置本体、2・・・ホストコンピュ
ータ、3・・・CPU、4・・・受信バッファ、5・・
・ROM、6・・・色センサ、7・・・RAM、7a・
・・R補正係数領域、7b・・・G補正係数領域、7c
・・・B補正係数領域、8・・・出力部である。
FIG. 1 is a block diagram showing the configuration of the printing apparatus of this embodiment, and FIG. 2 is a flowchart showing the operating procedure of the printing apparatus of this embodiment. In the figure, 1...Printing device body, 2...Host computer, 3...CPU, 4...Reception buffer, 5...
・ROM, 6...Color sensor, 7...RAM, 7a・
...R correction coefficient area, 7b...G correction coefficient area, 7c
. . . B correction coefficient area, 8 . . . output section.

Claims (1)

【特許請求の範囲】 印刷する紙の色を認識する色認識手段と、 認識された前記紙の色に対応して再現色の補正を行なう
色補正手段とを備えることを特徴とする印刷装置。
[Scope of Claims] A printing apparatus comprising: color recognition means for recognizing the color of paper to be printed; and color correction means for correcting reproduced colors in accordance with the recognized color of the paper.
JP2141602A 1990-06-01 1990-06-01 Printer Pending JPH0437364A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2141602A JPH0437364A (en) 1990-06-01 1990-06-01 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2141602A JPH0437364A (en) 1990-06-01 1990-06-01 Printer

Publications (1)

Publication Number Publication Date
JPH0437364A true JPH0437364A (en) 1992-02-07

Family

ID=15295831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2141602A Pending JPH0437364A (en) 1990-06-01 1990-06-01 Printer

Country Status (1)

Country Link
JP (1) JPH0437364A (en)

Similar Documents

Publication Publication Date Title
US7525701B2 (en) Color image processing method, color image processing apparatus, color image processing program, and record medium
US7221465B1 (en) Printer control device and method to control printers in network to which multiple printers are connected, and computer program product to perform said control
JP5212886B2 (en) Image forming system and image forming program
US20050213123A1 (en) Image forming apparatus and storage medium
US6108098A (en) Image processing apparatus and method
EP0518669B1 (en) Image recording apparatus and colour conversion method
JP2004309662A (en) Image processor and printer
US6567186B1 (en) Method for determining gray values in a printer
JPH10173947A (en) Image processor and its method
JPH07288704A (en) Picture processor, picture processing method and color data communication method
US20080013134A1 (en) Image processing device, image processing method, computer readable medium, and computer data signal
US8477373B2 (en) Image processing system, image processing apparatus, image forming apparatus and computer-readable storage medium
JPH0437364A (en) Printer
US20050190391A1 (en) Image processor and image processing program for applying image processing to input data and transferring the same to print engine
JP2004034636A (en) Image formation apparatus
JPH09261492A (en) Color predictive expression preparing device
US20050200645A1 (en) Image forming apparatus and storage medium
JP2007055032A (en) Printing device
JPH09200549A (en) Image processor
JP3235538B2 (en) Form overlay printing device
JPS62154971A (en) Color image processing system
JPH036174A (en) Color image correcting device
JP2001010034A (en) Textile printing system and method for controlling it
JPH066587A (en) Color correction device
JPH04241570A (en) Printer