JPH04241570A - Printer - Google Patents

Printer

Info

Publication number
JPH04241570A
JPH04241570A JP3002838A JP283891A JPH04241570A JP H04241570 A JPH04241570 A JP H04241570A JP 3002838 A JP3002838 A JP 3002838A JP 283891 A JP283891 A JP 283891A JP H04241570 A JPH04241570 A JP H04241570A
Authority
JP
Japan
Prior art keywords
memory
color
capacity
image data
printing
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.)
Withdrawn
Application number
JP3002838A
Other languages
Japanese (ja)
Inventor
Masakatsu Sakurai
正勝 桜井
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 JP3002838A priority Critical patent/JPH04241570A/en
Publication of JPH04241570A publication Critical patent/JPH04241570A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Fax Reproducing Arrangements (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Color, Gradation (AREA)
  • Storing Facsimile Image Data (AREA)

Abstract

PURPOSE:To print image data in a limited memory size by comparing calculated memory capacity with detected remaining memory capacity and changing the output of the printer to monochrome corresponding to the capacity of a memory. CONSTITUTION:A CPU 3 uses a RAM 7 as a work area and calculates the memory capacity required for storing the input image data. On the other hand, the CPU 3 detects the remaining capacity of a frame memory 7b required for storing the printing data of the RAM 7 and compares the detected remaining memory capacity with the calculated memory capacity. Then, according to a color output flag 7a and the memory 7b, it is decided whether a color picture to be inputted is printed with colors or monochrome. Corresponding to the capacity of the memory 7b, the color image data to be inputted is converted to the image data of monochrome. Thus, the image data requiring the large capacity memory can be printed in the limited memory size.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、例えばフルカラー出力
が可能な印刷装置等に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, a printing device capable of full-color output.

【0002】0002

【従来の技術】従来のフルカラー印刷装置では、例えば
黄・マゼンタ・シアン・墨(YMCK)の4色によるも
のの場合、各色共1画素当たり256階調を表現するの
が一般的であつた。また、色・階調データを含んだ画像
データが印刷装置に入力されたなら、その画像データは
印刷装置内のメモリに一時的に記憶され、記憶されたデ
ータを基に画像を印刷出力していた。
2. Description of the Related Art In conventional full-color printing apparatuses, for example, when using four colors, yellow, magenta, cyan, and black (YMCK), each color generally expresses 256 gradations per pixel. Additionally, when image data containing color and gradation data is input to a printing device, that image data is temporarily stored in the memory within the printing device, and the image is printed out based on the stored data. Ta.

【0003】0003

【発明が解決しようとする課題】このような場合、4色
・256階調でA4サイズの画像データを処理するには
1画素あたり4色×8ビツトのメモリが必要であり、画
素密度が1平方インチ当たり90000画素であるとす
れば約32メガバイトものメモリが必要となる。更に、
例えばA3サイズまでの印刷を可能にしようとすれば3
2メガバイトものメモリを増設しなければならない。こ
のようにフルカラー印刷装置では画像データを記憶して
おくため大容量のメモリが必要であり、非常に高価なも
のについた。
[Problem to be Solved by the Invention] In such a case, in order to process A4 size image data with 4 colors and 256 gradations, a memory of 4 colors x 8 bits is required per pixel, and the pixel density is 1. At 90,000 pixels per square inch, approximately 32 megabytes of memory would be required. Furthermore,
For example, if you want to be able to print up to A3 size, 3
I had to add 2 megabytes of memory. As described above, full-color printing devices require large-capacity memory to store image data, making them extremely expensive.

【0004】本発明は上記従来例を鑑みてなされたもの
で、限られたメモリサイズで画像データの印刷を行うこ
とを目的とする。
The present invention has been made in view of the above-mentioned conventional example, and an object of the present invention is to print image data using a limited memory size.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、本発明の印刷装置は次のような構成から成る。
Means for Solving the Problems In order to achieve the above object, a printing apparatus of the present invention has the following configuration.

【0006】複数の基本構成色によりカラー印刷出力す
る印刷装置であつて、入力される画像データを格納する
のに必要なメモリ容量を計算する計算手段と、メモリの
残容量を検知する検知手段と、前記計算手段により計算
されたメモリ容量と前記検知手段により検知されたメモ
リ残容量とを比較する比較手段と、前記比較手段による
比較結果に基づいて、入力されるカラー画像データをモ
ノクロームの画像データに変換する変換手段と有する。
[0006] A printing device that prints out color prints using a plurality of basic constituent colors, which includes a calculation means for calculating the memory capacity required to store input image data, and a detection means for detecting the remaining capacity of the memory. a comparing means for comparing the memory capacity calculated by the calculating means and the remaining memory capacity detected by the detecting means; and based on the comparison result by the comparing means, the input color image data is converted into monochrome image data. and a conversion means for converting into.

【0007】[0007]

【作用】以上の構成により、カラー印刷でメモリが足り
なくとも、印刷装置に備えられたメモリの容量に応じて
印刷装置の出力をモノクロームに変え、印刷出力するこ
とができる。
[Operation] With the above configuration, even if there is not enough memory for color printing, the output of the printing device can be changed to monochrome according to the capacity of the memory provided in the printing device, and printing can be performed.

【0008】[0008]

【実施例】以下、添付図面に従つて本発明に関わる実施
例としてフルカラー印刷機を詳細に説明する。この印刷
機は、カラーの画像データをモノクロームで印刷するこ
とでメモリを節約し、限られたメモリで画像の印刷を行
うものである。尚、本実施例では画素密度が90000
画素/平方インチのYMCK4色で各色256階調表現
出来る印刷装置に応用した例について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A full-color printing press will be described in detail below as an embodiment of the present invention with reference to the accompanying drawings. This printing machine saves memory by printing color image data in monochrome, and prints images using limited memory. In this example, the pixel density is 90,000.
An example of application to a printing device that can express 256 gradations of each color using four YMCK colors of pixel/square inch will be described.

【0009】図1は本実施例の印刷機の構成を表わす図
面であり、同図において1は印刷装置本体であり、2は
外部のホストコンピユータでありデータ源となる。3は
印刷装置本体1内の全てを制御するCPUである。4は
ホストコンピユータ2より送られてくるデータを格納す
る入力インターフエースであり、5は後述する図2に示
すフローチヤートのプログラム及び本印刷装置全体を制
御するプログラム等が格納されているプログラムROM
である。6は印刷装置において入力された文字コードに
対する画像データを生成する場合に、入力文字コードに
対応する文字パターンが格納されたフオントROMであ
る。
FIG. 1 is a diagram showing the configuration of a printing press according to the present embodiment. In the figure, 1 is the main body of the printing apparatus, and 2 is an external host computer that serves as a data source. Reference numeral 3 denotes a CPU that controls everything within the printer main body 1. 4 is an input interface for storing data sent from the host computer 2, and 5 is a program ROM in which a program for the flowchart shown in FIG. 2, which will be described later, and a program for controlling the entire printing apparatus are stored.
It is. Reference numeral 6 denotes a font ROM in which a character pattern corresponding to an input character code is stored when image data for the input character code is generated in the printing device.

【0010】7はRAMでありCPU3がプログラムを
実行する際にワークエリアとして使用する。また、この
RAM7内には印刷をカラーで行うか、モノクロームで
行うかを決定するカラー出力フラグ7aと印刷データを
格納するためのフレームメモリ(1ページの画像に相当
するメモリ)7bがある。8は出力部であり、7bのフ
レームメモリに蓄えられた画像の出力を行なう。
A RAM 7 is used as a work area when the CPU 3 executes a program. The RAM 7 also includes a color output flag 7a for determining whether printing is to be performed in color or monochrome, and a frame memory (memory corresponding to one page of image) 7b for storing print data. 8 is an output unit which outputs the image stored in the frame memory 7b.

【0011】図2は、本実施例のカラー印刷装置におけ
るカラー印刷かモノクローム印刷かを決めるフローチヤ
ートである。このフローチヤートに従つて本実施例の説
明をする。
FIG. 2 is a flowchart for determining whether color printing or monochrome printing is performed in the color printing apparatus of this embodiment. This embodiment will be explained according to this flowchart.

【0012】まずステツプS1で、RAM7内の使用可
能なRAMサイズを求める。ここでいう使用可能なRA
Mサイズというのは、本印刷装置が動作するのに必要と
するワークメモリ(但しフレームメモリは除く)やある
いはホストコンピユータからの登録データ等を格納する
メモリ分を全RAMサイズから差し引いたRAMサイズ
である。
First, in step S1, the usable RAM size in the RAM 7 is determined. Available RA here
M size is the RAM size obtained by subtracting the work memory (excluding frame memory) required for this printing device to operate, or the memory for storing registration data from the host computer from the total RAM size. be.

【0013】次に、ステツプS2で本印刷装置が印字す
べき用紙のサイズを取り出す。このサイズは例えばホス
トコンピュータ2から情報が送られてくるとか、あるい
は印刷装置に直接入力されるといつた方法で得る。
Next, in step S2, the printing apparatus extracts the size of paper to be printed. This size can be obtained, for example, by sending information from the host computer 2 or by inputting it directly to the printing device.

【0014】次にステツプS3では、ステツプS2で得
た用紙サイズ(A平方インチとする)及び印刷装置の画
素密度(R画素/平方インチとする)から、以下の(1
)式により、必要メモリ数(Cバイトとする)を計算す
る。
Next, in step S3, the following (1
) Calculate the required memory number (assumed to be C bytes) using the formula.

【0015】 C=(A×R×32)/8          …(1
)(32は基本構成色の色数4と、1つの色が1画素を
表現するために使うビツト数8を乗じた値)次に、ステ
ツプS4でステツプS1で求めたRAMサイズ(Dバイ
トとする)と、ステツプS3で求めた必要メモリ数Bか
ら、以下の(2)の判断式により、カラーでのフレーム
メモリの割り付けが可能か否かを判断する。
C=(A×R×32)/8...(1
) (32 is the value obtained by multiplying the number of basic constituent colors, 4, by the number of bits used to express one pixel, 8) Next, in step S4, the RAM size (D bytes and ), and the required memory number B obtained in step S3, it is determined whether or not it is possible to allocate the frame memory in color using the following determination formula (2).

【0016】 D>=C                …(2)も
し、この判断でノー(D<C)の場合は、ステツプS7
でカラー出力フラグ7aをオフに設定する。ステツプS
8ではモノクローム印刷にしたことでメモリが間に合つ
たか否かの判定をする。メモリが足りていればステツプ
S9でフレームメモリ7bの割りつけを墨(K)単色に
ついてのみ行う(即ち1面分のフレームメモリのみを割
りつける)。不足ならば印刷はできないため、その旨印
刷データの入力元、例えばホストコンピユータなりに応
答する。
D>=C...(2) If this judgment is no (D<C), step S7
The color output flag 7a is set to OFF. Step S
In step 8, it is determined whether or not the memory has been used up in time by monochrome printing. If the memory is sufficient, in step S9, the frame memory 7b is allocated only for the black (K) monochrome (that is, only the frame memory for one side is allocated). If there is a shortage, printing cannot be performed, so the print data input source, for example, the host computer, responds accordingly.

【0017】一方、ステツプS4の判断でイエス(D>
=C)の場合は、ステツプS5に進む。ステツプS5で
は、カラー出力フラグ7aをオンに設定し、ステツプS
6でフレームメモリ7bの割りつけを基本構成色YMC
Kのカラー用として行う(即ち4面分のフレームメモリ
を割りつける)。フレームメモリ内は4等分され、基本
4色に均等に割り付けられて各色ごとに画像データが記
憶される。
On the other hand, the judgment in step S4 is YES (D>
=C), the process advances to step S5. In step S5, the color output flag 7a is set to ON, and the process proceeds to step S5.
6, the allocation of frame memory 7b is set to basic composition color YMC.
This is done for the K color (that is, frame memory for four sides is allocated). The frame memory is divided into four equal parts, and image data is stored for each color, evenly allocated to the four basic colors.

【0018】以上のプロセスにより、本印刷装置の出力
をカラーで行うかモノクロームで行うかが決定した。
Through the above process, it is determined whether the printing apparatus outputs color or monochrome.

【0019】以後の印刷動作においては、カラー出力フ
ラグ7aがオンならば、ホストコンピユータ2より受け
取る印刷データを、YMCKのフルカラー用として割り
付けられたフレームメモリ7bへ展開し、出力部8によ
りYMCK各色が出力される。一方、カラー出力フラグ
7aがオフの場合は、ホストコンピユータ2より受け取
る印刷データがカラーデータならモノクロームデータへ
変換し、モノクローム用として割り付けられたフレーム
メモリ7bへ展開する。フレームメモリからデータを入
力された出力部8ではYMCの3色は印刷せず、墨色(
K)のみ印刷される。
In the subsequent printing operation, if the color output flag 7a is on, the print data received from the host computer 2 is developed into the frame memory 7b allocated for YMCK full color, and the output unit 8 outputs each YMCK color. Output. On the other hand, when the color output flag 7a is off, if the print data received from the host computer 2 is color data, it is converted into monochrome data and expanded into the frame memory 7b allocated for monochrome data. The output unit 8 that receives data from the frame memory does not print in three colors of YMC, but black (
Only K) is printed.

【0020】カラーデータをモノクロームに変換する方
法としては、例えばRGB入力データであれば、K=0
.3×R+0.59×G+0.11×Bといつた変換式
が知られている。
As a method of converting color data to monochrome, for example, if it is RGB input data, K=0.
.. A conversion formula such as 3×R+0.59×G+0.11×B is known.

【0021】以上、説明したように本実施例では、メモ
リ容量の制限によりカラー出力ができない時、カラー入
力データをモノクロームデータに変換し印刷を行なわせ
ることができる。
As described above, in this embodiment, when color output is not possible due to memory capacity limitations, color input data can be converted to monochrome data and printed.

【0022】[他の実施例]上記実施例は、中間調の表
現ができる4色のフルカラー印刷機だが、中間調の表現
のない2値の階調による印刷装置への応用も可能である
。この場合中間調表現がない分、使用するメモリは少な
い。例えば256階調ならば1画素につき8ビット×4
色必要だが、2階調なら1ビット×4色と8分の1で済
む。
[Other Embodiments] The above embodiment is a four-color full-color printing machine capable of expressing halftones, but it is also possible to apply it to a printing apparatus using binary gradation that does not express halftones. In this case, since there is no halftone expression, less memory is used. For example, for 256 gradations, 8 bits per pixel x 4
Although it requires color, two gradations require only 1 bit x 4 colors, or 1/8.

【0023】また、基本構成色が2色、あるいは3色の
カラー印刷機でもフルカラー印刷機と同様、モノクロー
ム印刷に変えることでメモリの節約ができる。
[0023] Even in a color printing machine with two or three basic constituent colors, memory can be saved by switching to monochrome printing, as in a full-color printing machine.

【0024】[0024]

【発明の効果】以上説明したように本発明に係る印刷装
置は、限られたメモリサイズで大容量メモリを必要とす
る画像データの印刷を行うことができるという効果があ
る。
As described above, the printing apparatus according to the present invention has the advantage that image data that requires a large capacity memory can be printed with a limited memory size.

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

【図1】本発明の実施例である印刷装置の全体構成図で
ある。
FIG. 1 is an overall configuration diagram of a printing apparatus that is an embodiment of the present invention.

【図2】本発明の実施例の制御手順を示すフローチヤー
トである。
FIG. 2 is a flowchart showing a control procedure according to an embodiment of the present invention.

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

1  印刷装置 2  ホストコンピユータ 3  CPU 4  入力インターフエース 5  プログラムROM 6  フオントROM 7  RAM 7a  カラー出力フラグ 7b  フレームメモリ 8  出力部 1 Printing device 2 Host computer 3 CPU 4 Input interface 5 Program ROM 6 Font ROM 7 RAM 7a Color output flag 7b Frame memory 8 Output section

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  複数の基本構成色によりカラー印刷出
力する印刷装置であつて、入力される画像データを格納
するのに必要なメモリ容量を計算する計算手段と、メモ
リの残容量を検知する検知手段と、前記計算手段により
計算されたメモリ容量と前記検知手段により検知された
メモリ残容量とを比較する比較手段と、前記比較手段に
よる比較結果に基づいて、入力されるカラー画像データ
をモノクロームの画像データに変換する変換手段と、を
有することを特徴とする印刷装置。
1. A printing device that prints out color prints using a plurality of basic constituent colors, the device comprising: calculation means for calculating the memory capacity required to store input image data; and a detection unit for detecting the remaining capacity of the memory. means for comparing the memory capacity calculated by the calculating means with the remaining memory capacity detected by the detecting means; A printing device comprising: conversion means for converting into image data.
【請求項2】  前記印刷装置は、基本構成色の中間調
の情報を有することで、フルカラー印刷を行う印刷機で
あることを特徴とする請求項第1項の印刷装置。
2. The printing apparatus according to claim 1, wherein the printing apparatus is a printing machine that performs full-color printing by having information on halftones of basic constituent colors.
JP3002838A 1991-01-14 1991-01-14 Printer Withdrawn JPH04241570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3002838A JPH04241570A (en) 1991-01-14 1991-01-14 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3002838A JPH04241570A (en) 1991-01-14 1991-01-14 Printer

Publications (1)

Publication Number Publication Date
JPH04241570A true JPH04241570A (en) 1992-08-28

Family

ID=11540557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3002838A Withdrawn JPH04241570A (en) 1991-01-14 1991-01-14 Printer

Country Status (1)

Country Link
JP (1) JPH04241570A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06246978A (en) * 1993-02-24 1994-09-06 Brother Ind Ltd Color printer
JPH0732666A (en) * 1993-07-16 1995-02-03 Nec Corp Printing control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06246978A (en) * 1993-02-24 1994-09-06 Brother Ind Ltd Color printer
JPH0732666A (en) * 1993-07-16 1995-02-03 Nec Corp Printing control system

Similar Documents

Publication Publication Date Title
US5675717A (en) Image processing apparatus and method for previewing a color image generated by a color printer and displayed at a host computer
US6020897A (en) Dehalftoning of digital images
JPS60182869A (en) Color picture signal processing method
US7426060B2 (en) Image processing method, image processing device and image processing system
JPH10278355A (en) Printing apparatus and print method reducing covering rate of marking agent
JP2000203064A (en) Method for image processing
EP0518669B1 (en) Image recording apparatus and colour conversion method
US6567186B1 (en) Method for determining gray values in a printer
JPH04241570A (en) Printer
JP4506535B2 (en) Image processing apparatus and image transmission method
US6411398B1 (en) Computer interface unit for computer data print-out system using stencil printers
US6389167B1 (en) Multi-level pixel density reduction for printers
US20060092439A1 (en) Printer controller, image forming apparatus, image forming program
JP2787836B2 (en) Print control apparatus and method
JP2015099535A (en) Printer driver device, printer and printer system
JP3581381B2 (en) Image processing method and image processing apparatus
JP3068622B2 (en) Image processing device
US20050134873A1 (en) Post screening handling of multibit raster operations
JP3151248B2 (en) Image processing device
JP3185435B2 (en) Image forming device
JP3034363B2 (en) Record processing system
JP2962746B2 (en) Image processing apparatus and method
JPH10224614A (en) Output device
JPH09270923A (en) Picture processor and picture processing method
JPH05268489A (en) Color picture data processing means

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514