JPH04216263A - Picture recorder - Google Patents

Picture recorder

Info

Publication number
JPH04216263A
JPH04216263A JP40272490A JP40272490A JPH04216263A JP H04216263 A JPH04216263 A JP H04216263A JP 40272490 A JP40272490 A JP 40272490A JP 40272490 A JP40272490 A JP 40272490A JP H04216263 A JPH04216263 A JP H04216263A
Authority
JP
Japan
Prior art keywords
secured
color
memory area
color component
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
JP40272490A
Other languages
Japanese (ja)
Inventor
Fumihiro Tanaka
文博 田中
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 JP40272490A priority Critical patent/JPH04216263A/en
Publication of JPH04216263A publication Critical patent/JPH04216263A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To present the picture recorder to effectively utilize a memory area for a color component so as not to be actually used. CONSTITUTION:Based on printing color designation information in an inputted printing data, it is judged whether the memory area for the relevant color component is secured or not, and only when it is judged that the memory area is not secured, the memory area for the relevant color component is secured. Namely, by preventing the memory area for the not-designated color component from being secured, the memory areas more than needed are not secured.

Description

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

【0001】0001

【産業上の利用分野】本発明は画像記録装置、詳しくは
入力した印刷データに基づいて画像を記録媒体上に記録
する画像記録装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image recording apparatus, and more particularly to an image recording apparatus that records an image on a recording medium based on input print data.

【0002】0002

【従来の技術】従来の複数の色で印刷が可能な装置は、
各色毎の画像を記録紙等の記録媒体上に重ね合せて記録
していた。記録装置では、記録に先立ち、予め各色毎に
確保したフレームメモリに、各々の対応する色の画像を
展開し、全てが展開された後に実際の画像記録を行なう
という処理を行なうのが一般的である。
[Prior Art] Conventional devices capable of printing in multiple colors are
Images of each color were superimposed and recorded on a recording medium such as recording paper. In a recording device, before recording, it is common practice to develop the image of each corresponding color in a frame memory reserved for each color in advance, and to perform the process of actually recording the image after all the images have been developed. be.

【0003】0003

【発明が解決しようとしている課題】しかしながら、上
記従来の装置では、たとえ印刷しようとしている画像が
1色だけからなる場合であつても、不要な色のフレーム
メモリ領域を確保していた。このため、他の目的で使用
することのできるワークメモリ領域が不足し、場合によ
つては機能的な制約が生じたり、印刷処理速度が低下し
たりすることがあるという欠点があつた。
However, in the conventional apparatus described above, even if the image to be printed consists of only one color, a frame memory area for unnecessary colors is secured. As a result, there is a shortage of work memory area that can be used for other purposes, which may result in functional limitations or a reduction in print processing speed.

【0004】本発明はかかる従来技術に鑑みなされたも
のであり、実際には使用しない色成分のメモリ領域を有
効利用することが可能な画像記録装置を提供しようとす
るものである。
[0004] The present invention has been made in view of such prior art, and it is an object of the present invention to provide an image recording apparatus that can effectively utilize memory areas for color components that are not actually used.

【0005】[0005]

【課題を解決するための手段】この課題を解決するため
、本発明の画像記録装置は以下に示す構成を備える。 すなわち、入力した印刷データに基づき、複数の色成分
の画像を重畳合成することで多色画像を記録媒体上に記
録する画像記録装置において、前記印刷データ中に含ま
れる印刷色指定コマンドに基づいて、該当する色成分の
記録イメージを展開するメモリ領域が確保されているか
否かを判別する判別手段と、該判別手段で該当する色成
分のメモリ領域が確保されていないと判別した場合、当
該色成分のメモリ領域を確保するよう制御する制御手段
とを備える。
Means for Solving the Problems In order to solve this problem, the image recording apparatus of the present invention has the following configuration. That is, in an image recording device that records a multicolor image on a recording medium by superimposing and combining images of multiple color components based on input print data, a print color specification command included in the print data is used. , a determining means for determining whether or not a memory area for developing a recorded image of the corresponding color component is secured; and control means for controlling to secure a memory area for the component.

【0006】[0006]

【実施例】以下、添付図面に従つて、本発明に係る実施
例を詳細に説明する。 <装置構成の説明(図1)> 本実施例の印刷装置のブロツク構成を図1に示す。図中
、1は色C1 〜C4 (順にイエロー、マゼンダ、シ
アン、ブラツク)の4色のインクを用いて画像を記録す
る印刷装置本体である。2は本実施例の印刷装置1に印
刷データを供給するホストコンピユータである。ここで
いう印刷データとは、コマンドの列であり、文字を1文
字印字するのも、線を1本描くのも、また、色の指定、
印字位置の指定をはじめとした各種の設定もすべてコマ
ンドによつて行われるものとする。
Embodiments Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. <Description of Device Configuration (FIG. 1)> FIG. 1 shows the block configuration of the printing device of this embodiment. In the figure, reference numeral 1 denotes a main body of a printing apparatus that records images using ink of four colors C1 to C4 (yellow, magenta, cyan, and black in that order). 2 is a host computer that supplies print data to the printing apparatus 1 of this embodiment. The print data here is a string of commands, such as printing one character, drawing one line, specifying a color, etc.
It is assumed that all various settings, including designation of the print position, are performed using commands.

【0007】印刷装置1は以下に示す各構成要素からな
る。3は本装置1全体の制御を司るCPU、4はホスト
コンピユータ2より入力した印刷データを一時的に格納
しておくための受信バツフア、5はCPU3が印刷装置
本体の制御を行うための処理手順(後述する図2のフロ
ーチヤートに係るプログラムを含む)を格納しているR
OMである。6はCPU3が動作中に各種データの保持
に使用するRAMであり、その内部には印刷パターンの
生成時に使用されるワーク領域6a、ワーク領域の大き
さを保持するワーク領域サイズ保持領域6b、各色毎の
フレームバツフアへのポインタを保持しておくフレーム
バツフアポインタテーブル6cが設けられている。7は
RAM6中に確保された各色のフレームバツフア中に生
成、保持された印刷パターンを印刷するプリンタ出力部
であり、上述したように色C1 〜C4 の各色毎の印
刷パターンを同一記録紙面上に重ね合せて印刷すること
で、任意の色を再現して印刷するものである。 <処理手順の説明(図2,図3)> 上述した構成から成る本実施例における印刷処理手順を
図2に示したフローチヤート及び第3図に示した例を基
に説明する。
[0007] The printing apparatus 1 consists of the following components. 3 is a CPU that controls the entire printing apparatus 1; 4 is a reception buffer for temporarily storing print data input from the host computer 2; 5 is a processing procedure for the CPU 3 to control the printing apparatus itself. (including the program related to the flowchart of FIG. 2, which will be described later)
It's OM. Reference numeral 6 denotes a RAM used by the CPU 3 to hold various data during operation, which includes a work area 6a used when generating a print pattern, a work area size holding area 6b that holds the size of the work area, and a RAM for each color. A frame buffer pointer table 6c is provided that holds pointers to each frame buffer. Reference numeral 7 denotes a printer output unit that prints the print patterns generated and held in the frame buffer of each color secured in the RAM 6, and as described above, prints the print patterns of each color C1 to C4 on the same recording paper surface. By printing on top of the other colors, any color can be reproduced and printed. <Description of Processing Procedure (FIGS. 2 and 3)> The printing processing procedure in this embodiment having the above-described configuration will be explained based on the flowchart shown in FIG. 2 and the example shown in FIG.

【0008】本装置に電源が投入或いはリセツトされる
と、ステツプS1で初期化処理を行なう。次に、ステツ
プS2に進み、受信バツフア4からホストコンピユータ
からの受信データを読み込む。尚、ホストコンピユータ
2からのデータの受信及び受信バツフア4への格納処理
は、不図示の割り込み処理ルーチンによつて行なわれて
いるものとする。
When the device is powered on or reset, initialization processing is performed in step S1. Next, the process advances to step S2, in which data received from the host computer is read from the reception buffer 4. It is assumed that the reception of data from the host computer 2 and the storage of data into the reception buffer 4 are performed by an interrupt processing routine (not shown).

【0009】ステツプS3では、読み込んだデータが印
字・描画コマンドであるか否かを判断する。ここでの印
字・描画コマンドとは、文字を書くコマンドや線、図形
を実際に描くコマンドであり、文字の書体を指定したり
、色、印字位置等を指定するコマンドは印字・描画コマ
ンドではないとみなす。さて、ステツプS3で印字・描
画コマンドではないと判断した場合にはステツプS4で
そのコマンドに対応する処理を実行し、ステツプS2に
戻る。
In step S3, it is determined whether the read data is a print/draw command. Printing/drawing commands here are commands for writing characters, commands for actually drawing lines, and shapes; commands for specifying character fonts, colors, printing positions, etc. are not printing/drawing commands. regarded as. If it is determined in step S3 that the command is not a printing/drawing command, the process corresponding to the command is executed in step S4, and the process returns to step S2.

【0010】一方、ステツプS3で、印字・描画コマン
ドであると判断した場合には、ステツプS5に進む。こ
のステツプS5では、その時点で指定されているいてい
印字色を、色C1 〜C4 の4色に分解し、C1 〜
C4 のどの色成分の印刷パターンを生成すれば良いの
かを認識する。こうして、注目している印字・描画コマ
ンドで生成しようとしているパターンの色分解が済むと
、ステツプS6以下の処理に移る。
On the other hand, if it is determined in step S3 that the command is a print/draw command, the process advances to step S5. In step S5, the currently specified printing color is separated into four colors C1 to C4, and
It is recognized which color component of C4 should be used to generate the print pattern. In this way, once the color separation of the pattern to be generated by the printing/drawing command of interest is completed, the process moves to step S6 and subsequent steps.

【0011】先ず、ステツプS6では、色成分を特定す
るための変数i(RAM6の所定アドレスに確保されて
いる)に初期値として“1”を代入する。そして、ステ
ツプS7で、先に色分解した結果に、色Ci があるか
否かを判断する。無ければステツプS11に進み、“i
<4”が満足する限りステツプS12で変数iを“1”
インクリメントしてステツプS7に戻る。ステツプS7
では、各色成分につき、ステツプS5で色分解して得ら
れた色が存在するか否かを判断しているに他ならない。
First, in step S6, "1" is assigned as an initial value to a variable i (reserved at a predetermined address in the RAM 6) for specifying a color component. Then, in step S7, it is determined whether or not the color Ci exists in the result of the color separation. If there is not, the process advances to step S11 and “i
As long as <4" is satisfied, the variable i is set to "1" in step S12.
Increment and return to step S7. Step S7
Now, for each color component, it is simply determined whether or not the color obtained by color separation exists in step S5.

【0012】ステツプS7で、該当する色成分が存在す
ると判断した場合には、ステツプS8でその色成分に対
応するフレームバツフア(該当する色成分の印刷イメー
ジを展開する領域)がRAM6に確保されているか否か
を判断する。この確保されているか否かは、図3に示し
たフレームバツフアテーブル6cを参照し判断する。図
示の場合には、C1 とC4 が確保されていて、C2
 とC3 のポインタは“0”であることから未だ確保
されていないことを示している。さて、確保されていな
いと判断した場合には、ステツプS9でその色のフレー
ムバツフアを確保する(フレームバツフアテーブル6c
を更新する)。処理はステツプS10に進み、印字・描
画コマンドに基づくイメージを、現在注目している色成
分のフレームバツフアに描画する。こうして、全ての色
成分に対するチエツクが完了したと判断すると、処理は
ステツプS11からステツプS2に戻り、上述した処理
を繰り返すことになる。
If it is determined in step S7 that the corresponding color component exists, a frame buffer (an area in which a print image of the corresponding color component is developed) corresponding to the color component is secured in the RAM 6 in step S8. Determine whether or not. Whether this is secured or not is determined by referring to the frame buffer table 6c shown in FIG. In the case shown, C1 and C4 are secured, and C2
The pointers C3 and C3 are "0", indicating that they have not been secured yet. Now, if it is determined that the frame buffer of that color is not secured, the frame buffer of that color is secured (frame buffer table 6c).
). The process proceeds to step S10, where an image based on the print/draw command is drawn on the frame buffer of the color component currently being focused on. When it is determined that the checks for all color components have been completed, the process returns from step S11 to step S2, and the above-described process is repeated.

【0013】ここで注目する点は、例えば、ホストコン
ピユータ2からの印刷データが、色成分C1 のみを意
図したものである場合、それ以外の色成分C2 〜C4
 に対してはステツプS7の判断が常に“NO”になる
ことである。つまり、色成分C2 〜C4 に対するフ
レームバツフアの確保は行なわなくなる。同様に、例え
ば、色成分C1 ,C2 の印刷データを受信した場合
には、それ以外のC3,C4 のフレームバツフアの確
保は行なわなくなる。
The point to note here is that, for example, if the print data from the host computer 2 is intended only for color component C1, other color components C2 to C4
In this case, the determination at step S7 is always "NO". In other words, frame buffers for color components C2 to C4 are not secured. Similarly, for example, when print data of color components C1 and C2 is received, frame buffers for the other color components C3 and C4 are not secured.

【0014】上述した処理では、プリンタの電源投入後
に一度確保されたフレームバツフアは開放されないよう
に思われるかもしれないが、ステツプS4において記録
紙送りコマンド又は排紙コマンド(実際の記録動作)が
実行されるたびに確保したフレームバツフアを開放する
ものである。尚、実施例では受信バツフア4をRAM6
とは別個に記載したが、本来、受信バツフア4はRAM
等で構成するものであるから、これらを同一のRAMで
構築しても良い。従つて、このようにすると、単色記録
を意図した印刷データの場合、確保されるフレームバツ
フアは1つであるので、相対的に受信バツフアの容量を
大きく確保できるというメリツトがある。すなわち、ホ
ストコンピユータ2は印刷データ出力処理から速く開放
されるという利点がある。
[0014] In the above-described process, it may seem that the frame buffer once secured after the printer is powered on will not be released, but in step S4 the recording paper feed command or paper ejection command (actual recording operation) is Each time it is executed, the secured frame buffer is released. In the embodiment, the reception buffer 4 is stored in the RAM 6.
Although it was described separately from the
etc., these may be constructed using the same RAM. Therefore, in this case, in the case of print data intended for monochrome recording, only one frame buffer is secured, so there is an advantage that a relatively large receiving buffer capacity can be secured. That is, there is an advantage that the host computer 2 can be quickly released from print data output processing.

【0015】また、上述した実施例では、色成分C1 
〜C4 の4色のインクをもつ場合についてのものであ
つたが、4色未満又は5色以上のインクをもつ印刷装置
においても同様の処理が可能である。以上説明したよう
に本実施例によれば、印字しようとするイメージパター
ンを展開する各色成分のフレームバツフアを、実際にそ
の色のパターンが展開されるときにはじめて確保して使
用することにより、印刷に不必要となる色成分のフレー
ムバツフアを確保することがなくなる。従つて、その領
域を他の目的に有効利用することができるという効果が
ある。
Furthermore, in the embodiment described above, the color component C1
Although the description has been given for the case of using four colors of ink, C4 to C4, similar processing is also possible in a printing apparatus that uses less than four colors or five or more colors of ink. As explained above, according to this embodiment, by securing and using the frame buffer for each color component that develops the image pattern to be printed, only when the pattern of that color is actually developed. It is no longer necessary to secure frame buffers for color components that are unnecessary for printing. Therefore, there is an effect that the area can be effectively used for other purposes.

【0016】このことより、印刷処理時間の短縮が図れ
たり、メモリの少ない状態においても印刷処理を完了す
ることができる効果がある。
[0016] This has the effect that the printing processing time can be shortened and the printing processing can be completed even when memory is small.

【0017】[0017]

【発明の効果】以上説明したように本発明によれば、実
際には使用しない色成分のメモリ領域を有効利用するこ
とが可能になる。
As described above, according to the present invention, it is possible to effectively utilize memory areas for color components that are not actually used.

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

【図1】実施例の画像記録装置のブロツク構成図である
FIG. 1 is a block diagram of an image recording apparatus according to an embodiment.

【図2】実施例の画像記録に係る動作を説明するための
フローチヤートである。
FIG. 2 is a flowchart for explaining operations related to image recording in the embodiment.

【図3】実施例のフレームバツフアテーブルの内容を示
す図である。
FIG. 3 is a diagram showing the contents of a frame buffer table in the embodiment.

【符号の簡単な説明】[Brief explanation of symbols]

1    印刷装置本体 2    ホストコンピユータ 3    CPU 4    受信バツフア 5    プログラムROM 6    RAM 6a  ワーク領域 6b  ワーク領域サイズ 6c  フレームバツフアへのポインタテーブル7  
  プリンタ出力部
1 Printing device body 2 Host computer 3 CPU 4 Reception buffer 5 Program ROM 6 RAM 6a Work area 6b Work area size 6c Pointer table to frame buffer 7
Printer output section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】      入力した印刷データに基づき
、複数の色成分の画像を重畳合成することで多色画像を
記録媒体上に記録する画像記録装置において、前記印刷
データ中に含まれる印刷色指定コマンドに基づいて、該
当する色成分の記録イメージを展開するメモリ領域が確
保されているか否かを判別する判別手段と、該判別手段
で該当する色成分のメモリ領域が確保されていないと判
別した場合、当該色成分のメモリ領域を確保するよう制
御する制御手段とを備えることを特徴とする画像記録装
置。
1. An image recording apparatus that records a multicolor image on a recording medium by superimposing and composing images of a plurality of color components based on input print data, wherein a print color designation command included in the print data is provided. a determining means for determining whether or not a memory area for developing a recorded image of a corresponding color component is secured based on the determination means; and a case where the determining means determines that the memory area for the corresponding color component is not secured; , and control means for controlling to secure a memory area for the color component.
JP40272490A 1990-12-17 1990-12-17 Picture recorder Withdrawn JPH04216263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40272490A JPH04216263A (en) 1990-12-17 1990-12-17 Picture recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP40272490A JPH04216263A (en) 1990-12-17 1990-12-17 Picture recorder

Publications (1)

Publication Number Publication Date
JPH04216263A true JPH04216263A (en) 1992-08-06

Family

ID=18512519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40272490A Withdrawn JPH04216263A (en) 1990-12-17 1990-12-17 Picture recorder

Country Status (1)

Country Link
JP (1) JPH04216263A (en)

Similar Documents

Publication Publication Date Title
US5136688A (en) Print data processing apparatus for an image forming apparatus
JPH05282500A (en) Printer interface
JP3175498B2 (en) Black area identification method for ink jet color printing
US6061142A (en) Method and apparatus for directly printing out image files for printer
US5097426A (en) Printer controlling apparatus
JPH04325267A (en) Output method and its device
JPH04216263A (en) Picture recorder
US5848180A (en) Color bitmap generation with background dependent black objects
US7310166B2 (en) Information processing apparatus and method, and print control program
JPH0284364A (en) Printer
JP3129133B2 (en) Color printing equipment
JP2711860B2 (en) Output control method and device
JP3636891B2 (en) Color image output method
JP2005242864A (en) Image information processing system and image information processor
JP2744025B2 (en) Printing control device
JPH0985967A (en) Color printer and color printing system
JP3089014B2 (en) Output control method and device
JP3143118B2 (en) Printer and print image pattern development method
JP3254011B2 (en) Form drawing system
JPH11170675A (en) Printer system
JPS60203476A (en) Recorder
JPH0584986A (en) Image forming device
JPH0911552A (en) Page printer
JPH0462169A (en) Printer
JPH0467964A (en) Page printer printing control method

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: 19980312