JP3129289B2 - Drawing control system - Google Patents
Drawing control systemInfo
- Publication number
- JP3129289B2 JP3129289B2 JP10171622A JP17162298A JP3129289B2 JP 3129289 B2 JP3129289 B2 JP 3129289B2 JP 10171622 A JP10171622 A JP 10171622A JP 17162298 A JP17162298 A JP 17162298A JP 3129289 B2 JP3129289 B2 JP 3129289B2
- Authority
- JP
- Japan
- Prior art keywords
- band
- print command
- control system
- color
- drawing control
- 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.)
- Expired - Fee Related
Links
Landscapes
- Record Information Processing For Printing (AREA)
- Color Image Communication Systems (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、描画制御システム
に関し、特に、カラープリンタ等に適用される描画制御
システムに関する。The present invention relates to a drawing control system, and more particularly, to a drawing control system applied to a color printer or the like.
【0002】[0002]
【従来の技術】従来の描画制御システムが、特開平9-16
7064号公報に記載されている。図8は、この公報に記載
された描画制御システムを示すブロック図である。描画
制御システムは、カラープリンタ860を有し、カラー
プリンタ860内に、上位コンピュータのプログラム制
御によって作動するプロセッサ800と、プログラム記
憶手段810と、データ記憶手段820と、アプリケー
ションプログラムインタフェース手段830と、データ
出力インタフェース手段840とを備える。プリンタエ
ンジン部850は、データ出力インタフェース手段84
0に接続されている。2. Description of the Related Art A conventional drawing control system is disclosed in
No. 7064. FIG. 8 is a block diagram showing a drawing control system described in this publication. The drawing control system includes a color printer 860, in which a processor 800 operated by program control of a host computer, a program storage unit 810, a data storage unit 820, an application program interface unit 830, Output interface means 840. The printer engine unit 850 includes the data output interface unit 84
Connected to 0.
【0003】データ記憶手段820は、印刷コマンド展
開用のフレームバッファ821を有しており、フレーム
バッファ821は、シアン、マゼンタ、イエロー及び黒
の4色分の格納領域を有する。データ記憶手段820は
更に、他のアプリケーションプログラム、オペレーティ
ングシステム、その他のプログラムコード、データ等の
格納領域や作業領域を有している。The data storage means 820 has a frame buffer 821 for developing print commands. The frame buffer 821 has storage areas for four colors of cyan, magenta, yellow and black. The data storage unit 820 further has a storage area and a work area for other application programs, operating systems, other program codes, data, and the like.
【0004】上記構成の従来の描画制御システムでは、
1ページ分の印刷コマンドの受信が終了した際に、ペー
ジを構成するように複数に分割された各バンドに対応す
る印刷コマンドをビットマップデータに夫々展開し、こ
のビットマップデータをフレームバッファ821に格納
する。更に、フレームバッファ821内のビットマップ
データを、データ出力インタフェース手段840を介し
てプリンタ装置850に転送する。In the conventional drawing control system having the above configuration,
When the reception of the print command for one page is completed, the print command corresponding to each of the bands divided into a plurality of parts so as to form a page is developed into bitmap data, and this bitmap data is stored in the frame buffer 821. Store. Further, the bitmap data in the frame buffer 821 is transferred to the printer 850 via the data output interface 840.
【0005】[0005]
【発明が解決しようとする課題】上記従来の描画制御シ
ステムでは、展開すべきバンドに対応した印刷コマンド
にカラー印刷用の多色情報が含まれない場合でも、常に
フレームバッファ821にシアン、マゼンタ、イエロー
及び黒の4色分の格納領域を確保する。このため、プリ
ンタの解像度がより高くなると、フレームバッファには
一層大きな記憶容量が必要になる。これにより、記憶手
段における他のアプリケーションプログラム、オペレー
ティングシステム、その他のプログラムコード等の格納
領域や作業領域が減少して、処理速度が低下し、或い
は、処理の安定性が損なわれる等の不具合を招く。In the above-described conventional drawing control system, even if the print command corresponding to the band to be developed does not include multicolor information for color printing, the frame buffer 821 always stores cyan, magenta, A storage area for four colors of yellow and black is secured. For this reason, as the resolution of the printer becomes higher, the frame buffer requires a larger storage capacity. As a result, a storage area and a work area for storing other application programs, operating systems, and other program codes in the storage unit are reduced, thereby causing a problem such as a reduction in processing speed or a reduction in processing stability. .
【0006】本発明は、上記に鑑み、プリンタの解像度
が高くなった場合でも、処理速度の低下や処理が不安定
になる等の不具合を回避することができる描画制御シス
テムを提供することを目的とする。SUMMARY OF THE INVENTION In view of the above, it is an object of the present invention to provide a drawing control system capable of avoiding problems such as a reduction in processing speed and an unstable processing even when the resolution of a printer is increased. And
【0007】[0007]
【課題を解決するための手段】上記目的を達成するため
に、本発明の描画制御システムは、フレームバッファに
格納されるビットマップデータに従って印刷媒体に印刷
する描画制御システムであって、入力される印刷コマン
ドに基づいて、所定数のバンドの内から描画すべきバン
ドを決定する印刷制御手段と、前記印刷制御手段によっ
て決定されたバンドに対応する印刷コマンドに多色情報
が含まれるか否かを判定するカラー情報判定手段と、前
記カラー情報判定手段によって多色情報が含まれると判
定されたときには前記フレームバッファに複数色分の格
納領域を割り当て、多色情報が含まれないと判定された
ときには前記フレームバッファに黒1色分の格納領域を
割り当てる格納領域確保手段とを備えることを特徴とす
る。In order to achieve the above object, a drawing control system according to the present invention is a drawing control system for printing on a print medium in accordance with bitmap data stored in a frame buffer. A print control unit that determines a band to be drawn from a predetermined number of bands based on the print command; and determines whether or not the print command corresponding to the band determined by the print control unit includes multicolor information. When it is determined by the color information determining means and the color information determining means that the multi-color information is included, a storage area for a plurality of colors is allocated to the frame buffer, and when it is determined that the multi-color information is not included, A storage area securing unit for allocating a storage area for one black color to the frame buffer.
【0008】本発明の描画制御システムでは、1ページ
分の印刷コマンドの受信が終了し、印刷コマンドをビッ
トマップデータに展開する際に、決定されたバンドに対
応する印刷コマンドに多色情報が含まれるときにのみフ
レームバッファに複数色分の格納領域を割り当てる。従
って、プリンタの解像度が高くなった場合でも、フレー
ムバッファにおける記憶容量の増大を抑え、他のアプリ
ケーションプログラム、オペレーティングシステム、そ
の他のプログラムコード、データ及び作業領域等の領域
を確保することができ、処理速度の低下や安定性の低下
を防止できる。In the drawing control system of the present invention, when the reception of the print command for one page is completed and the print command is developed into bitmap data, the print command corresponding to the determined band contains multicolor information. Storage areas for multiple colors are allocated to the frame buffer only when Therefore, even when the resolution of the printer is increased, it is possible to suppress an increase in the storage capacity of the frame buffer and to secure areas for other application programs, operating systems, other program codes, data, work areas, and the like. A decrease in speed and a decrease in stability can be prevented.
【0009】ここで、入力されるバンドに関する情報を
格納するバンド情報格納部を備え、前記カラー情報判定
手段は、決定されたバンドに対応する印刷コマンドに多
色情報が含まれると判定したとき、対応する前記バンド
情報格納部内にカラーフラグを立てることが好ましい。
この場合、カラー情報判定手段による判定結果を格納領
域確保手段に的確に伝えることができる。Here, the image processing apparatus further includes a band information storage unit for storing information relating to the input band, wherein the color information determining means determines that the print command corresponding to the determined band includes multicolor information. Preferably, a color flag is set in the corresponding band information storage.
In this case, the determination result by the color information determining means can be accurately transmitted to the storage area securing means.
【0010】更に好ましくは、入力された印刷コマンド
を格納する印刷コマンド格納部を備え、前記印刷制御手
段は、展開するバンドに対応した前記印刷コマンド格納
部に格納された印刷コマンドを展開及び色分解し、前記
フレームバッファにビットマップデータとして格納する
ことが好ましい。これにより、印刷処理全体が円滑に進
むことになる。[0010] More preferably, a print command storage unit for storing the input print command is provided, and the print control means expands and separates the print command stored in the print command storage unit corresponding to the band to be expanded. Preferably, the data is stored as bitmap data in the frame buffer. As a result, the entire printing process proceeds smoothly.
【0011】また、前記描画制御システムをプリンタ装
置に適用することが好ましい。或いは、これに代えて、
前記描画制御システムをファクシミリ装置に適用するこ
とも好ましい態様である。また、これに代えて、前記描
画制御システムをコピー装置に適用することも好ましい
態様である。これらの場合、本発明の描画制御システム
を十分に活用することができる。It is preferable that the drawing control system is applied to a printer. Or alternatively,
It is also a preferable embodiment to apply the drawing control system to a facsimile machine. Alternatively, it is also a preferable embodiment to apply the drawing control system to a copying apparatus. In these cases, the drawing control system of the present invention can be fully utilized.
【0012】[0012]
【発明の実施の形態】図面を参照して本発明を更に詳細
に説明する。図1は、本発明の第1実施形態例における
描画制御システムを示すブロック図である。この描画制
御システムは、カラープリンタ装置160内に、プログ
ラム制御によって作動するプロセッサ100と、プログ
ラム記憶手段110と、データ記憶手段120と、入出
力手段130と、プリンタエンジン制御手段140とを
備える。プロセッサ100は、印刷制御手段、カラー情
報判定手段、及び格納領域確保手段を夫々構成してい
る。The present invention will be described in more detail with reference to the drawings. FIG. 1 is a block diagram showing a drawing control system according to the first embodiment of the present invention. This drawing control system includes, in a color printer device 160, a processor 100 operated by program control, a program storage unit 110, a data storage unit 120, an input / output unit 130, and a printer engine control unit 140. The processor 100 constitutes a print control unit, a color information determination unit, and a storage area securing unit.
【0013】プログラム記憶手段110には、本描画制
御システムで使用されるプログラムデータが記憶され
る。プロセッサ100は、プログラム記憶手段110に
記憶されたプログラムを実行すると共に、各種手段の制
御を行う。The program storage means 110 stores program data used in the present drawing control system. The processor 100 executes a program stored in the program storage unit 110 and controls various units.
【0014】データ記憶手段120は、他のアプリケー
ションプログラム、オペレーティングシステム、その他
のプログラムコード、データ等の格納領域を有する。デ
ータ記憶手段120は更に、本描画制御システムの使用
領域として、1ページを成すバンド数分の格納領域を有
するバンド情報格納部121と、上位コンピュータから
送られた印刷コマンドを格納する印刷コマンド格納部1
22と、ビットマップデータに展開された色情報を格納
するフレームバッファ123と、プログラム作業領域
(図示せず)とを備える。The data storage means 120 has a storage area for other application programs, an operating system, other program codes, data, and the like. The data storage unit 120 further includes a band information storage unit 121 having a storage area for the number of bands forming one page as a use area of the drawing control system, and a print command storage unit for storing a print command sent from a host computer. 1
22, a frame buffer 123 for storing color information developed into bitmap data, and a program work area (not shown).
【0015】入出力手段130は、上位コンピュータか
ら送られた印刷コマンドを受け取る。プリンタエンジン
制御手段140は、フレームバッファ123に展開され
たビットマップデータをプリンタエンジン部150へ転
送する。プリンタエンジン部150は、シアン、マゼン
タ、イエロー及び黒のインクを使用し、受け取ったビッ
トマップデータに従って印刷用紙に印刷を行う。また、
プロセッサ100、プログラム記憶手段110、入出力
手段130、データ記憶手段120、プリンタエンジン
制御手段140は、夫々、相互間でのデータ授受が可能
にデータバス170に接続される。The input / output means 130 receives a print command sent from a host computer. The printer engine control unit 140 transfers the bitmap data developed in the frame buffer 123 to the printer engine unit 150. The printer engine unit 150 uses cyan, magenta, yellow, and black inks to print on printing paper according to the received bitmap data. Also,
The processor 100, the program storage unit 110, the input / output unit 130, the data storage unit 120, and the printer engine control unit 140 are each connected to the data bus 170 so that data can be exchanged between them.
【0016】図2は、記憶データの構成を模式的に示す
図であり、(a)はバンド情報格納部内の記憶データ、
(b)フレームバッファ内の記憶データを夫々示す。FIG. 2 is a diagram schematically showing the structure of the stored data. FIG. 2A shows the stored data in the band information storage unit.
(B) Each of the data stored in the frame buffer is shown.
【0017】バンド情報格納部121は、入力されるバ
ンドに関する情報を格納する部分であり、図2(a)に
示すように、バンド番号121Aと、カラーフラグ12
1Bと、印刷コマンドへのポインタ格納部121Cとか
ら構成される。また、フレームバッファ123は、図2
(b)に示すように、プロセッサ100によって印刷コ
マンドが展開及び色分解されたビットマップデータを格
納する。この格納時には、シアン、マゼンタ、イエロー
及び黒の4色分の格納領域123A、又は、黒1色分の
格納領域123Bのいずれかが選択される。The band information storage section 121 is a section for storing information relating to an input band. As shown in FIG. 2A, a band number 121A and a color flag 12 are stored.
1B and a print command pointer storage unit 121C. Further, the frame buffer 123 is provided in FIG.
As shown in (b), the processor 100 stores bitmap data in which the print command is expanded and color-separated. At the time of this storage, either the storage area 123A for four colors of cyan, magenta, yellow and black or the storage area 123B for one color of black is selected.
【0018】図3は、本実施形態例におけるカラープリ
ンタで印刷可能な範囲を示す印刷用紙の正面図である。
印刷ページの印刷範囲200は、縦方向に連続する複数
のバンド201、202〜20nとして分割されてお
り、各バンド201、202〜20n上に位置する印刷
コマンドが、ビットマップデータに順次に展開される。FIG. 3 is a front view of a printing sheet showing a printable range of the color printer in the embodiment.
The print range 200 of the print page is divided into a plurality of bands 201, 202 to 20n that are continuous in the vertical direction, and print commands located on each of the bands 201, 202 to 20n are sequentially developed into bitmap data. You.
【0019】図4は、本実施形態例におけるカラープリ
ンタの作動を示すフローチャートである。ここで、図1
〜図3及び図4を参照して、本実施形態例におけるカラ
ープリンタ全体の作動を詳細に説明する。FIG. 4 is a flowchart showing the operation of the color printer according to this embodiment. Here, FIG.
The operation of the entire color printer according to the present embodiment will be described in detail with reference to FIGS.
【0020】まず、ステップA1では、上位コンピュー
タから送られた印刷コマンドを入出力手段130で受信
し、印刷コマンド格納部122に格納する。次いで、プ
ロセッサ100が、入力される印刷コマンドに基づい
て、所定数のバンドの内から描画すべきバンドを決定す
る。つまり、プロセッサ100は、印刷コマンドのペー
ジ上の印刷位置を解析し(ステップA2)、その解析し
た位置情報から、印刷コマンドがどのバンド上に位置す
るかを判定し、対応するバンド情報格納部121の印刷
コマンドへのポインタ格納部121C(図2(a))に、
印刷コマンド格納部122内での印刷コマンドの格納位
置を指示するポインタ情報を格納する(ステップA
3)。First, in step A1, the print command sent from the host computer is received by the input / output means 130 and stored in the print command storage unit 122. Next, the processor 100 determines a band to be drawn from a predetermined number of bands based on the input print command. In other words, the processor 100 analyzes the print position of the print command on the page (step A2), determines on which band the print command is located from the analyzed position information, and determines the corresponding band information storage unit 121. Is stored in the pointer storage unit 121C for the print command (FIG. 2A).
The pointer information indicating the storage position of the print command in the print command storage unit 122 is stored (step A).
3).
【0021】次いで、ステップA4では、プロセッサ1
00が、決定したバンドに対応する印刷コマンドに多色
情報が含まれるか否かを判定する。つまり、印刷コマン
ドがカラーで印刷されるか黒色のみで印刷されるかを解
析し、更にステップA11で、カラー印刷か否かを判定
する。この際に、カラー印刷の場合にはステップA5に
進んで、対応するバンド情報格納部121内のカラーフ
ラグ121B(図2(a))を立てる。一方、カラー印刷
しない場合には、ステップA12にジャンプする。Next, at step A4, the processor 1
00 determines whether or not the print command corresponding to the determined band includes multicolor information. That is, it is analyzed whether the print command is printed in color or only in black, and in step A11, it is determined whether the print command is color printing. At this time, in the case of color printing, the process proceeds to step A5, and a color flag 121B (FIG. 2A) in the corresponding band information storage unit 121 is set. On the other hand, if color printing is not to be performed, the process jumps to step A12.
【0022】ステップA12では、ページの終わりが到
達したか否かを判定し、到達しない場合にはステップA
1に戻って処理を繰り返し、到達した場合つまり1ペー
ジ分の印刷コマンドの受信が終了した場合には、ステッ
プA13に進む。ステップA13では、ページを構成す
るバンド上にある印刷コマンドをビットマップデータに
展開し、プリンタエンジン制御手段140を経由してプ
リンタエンジン部150に転送する。In step A12, it is determined whether or not the end of the page has been reached.
The process returns to 1 and repeats the process. When the process has been reached, that is, when the reception of the print command for one page has been completed, the process proceeds to step A13. In step A13, the print command on the band constituting the page is developed into bitmap data and transferred to the printer engine unit 150 via the printer engine control unit 140.
【0023】次いで、ステップA14では、プロセッサ
100が、展開すべきバンドに対応したバンド情報格納
部121にカラーフラグ121B(図2(a))が立って
いたら、シアン、マゼンタ、イエロー及び黒の4色分を
格納できる領域123A(図2(b))をフレームバッフ
ァ123に割り当てる(ステップA6)。一方、カラー
フラグ121Bが立っていない場合には、黒1色分を格
納できる領域123B(図2(b))をフレームバッファ
123に割り当てる(ステップA7)。Next, in step A14, if the color flag 121B (FIG. 2 (a)) is set in the band information storage unit 121 corresponding to the band to be developed, the processor 100 sets four colors of cyan, magenta, yellow and black. An area 123A (FIG. 2B) that can store the color components is allocated to the frame buffer 123 (step A6). On the other hand, when the color flag 121B is not set, an area 123B (FIG. 2B) capable of storing one black color is allocated to the frame buffer 123 (step A7).
【0024】次いで、プロセッサ100が、展開すべき
バンドに対応した印刷コマンド格納部122内の印刷コ
マンドを展開及び色分解して、フレームバッファ123
に割り当てられた領域123A又は123Bに、ビット
マップデータとして格納する(ステップA8)。更に、
ステップA9では、バンド上にある全ての印刷コマンド
の展開が終了した際に、フレームバッファ123内のビ
ットマップデータをプリンタエンジン制御手段140を
経由してプリンタエンジン部150に転送する。ステッ
プA15では、この転送処理を全てのバンドの展開及び
ビットマップデータのプリンタエンジン部150に対し
て行う。Next, the processor 100 expands and separates the print commands in the print command storage unit 122 corresponding to the band to be expanded, and
Is stored as bitmap data in the area 123A or 123B allocated to the data (step A8). Furthermore,
In step A9, when the expansion of all the print commands on the band is completed, the bitmap data in the frame buffer 123 is transferred to the printer engine unit 150 via the printer engine control unit 140. In step A15, this transfer processing is performed for all the bands and the printer engine unit 150 for the bitmap data.
【0025】次いで、ステップA16で、1ぺージ分の
バンド展開処理が終了したか否かを判定し、バンド展開
処理が終了しない場合には、ステップA14に戻って処
理を繰り返す。一方、バンド展開処理が終了した場合に
は、ステップA10に進んで、プリンタエンジン部15
0によるそのページの印刷を実行する。Next, in step A16, it is determined whether or not the band developing process for one page has been completed. If the band developing process has not been completed, the process returns to step A14 and the process is repeated. On the other hand, when the band development process is completed, the process proceeds to step A10, where the printer engine unit 15
Perform printing of that page with 0.
【0026】次に、本発明の第2実施形態例について説
明する。図5は、本実施形態例におけるカラープリンタ
の描画制御システムを示すブロック図である。カラープ
リンタ560は、上位コンピュータ上でプログラム制御
により作動するプロセッサ500と、プログラム記憶手
段510と、データ記憶手段520と、アプリケーショ
ンプログラムインタフェース手段530と、データ出力
インタフェース手段540とを備える。また、プリンタ
エンジン部550が、データ出力インタフェース手段5
40に接続される。Next, a second embodiment of the present invention will be described. FIG. 5 is a block diagram illustrating a drawing control system of the color printer according to the present embodiment. The color printer 560 includes a processor 500 that operates under program control on a host computer, a program storage unit 510, a data storage unit 520, an application program interface unit 530, and a data output interface unit 540. Further, the printer engine unit 550 includes the data output interface unit 5.
40.
【0027】プログラム記憶手段510には、本実施形
態例における描画制御システムのプログラム及び他のア
プリケーションプログラム、オペレーティングシステ
ム、その他のデータ等が格納される。プロセッサ500
は、プログラム記憶手段510に記憶されたプログラム
を実行すると共に、各種手段の制御を行う。The program storage means 510 stores a program of the drawing control system in this embodiment, other application programs, an operating system, other data, and the like. Processor 500
Executes the program stored in the program storage unit 510 and controls various units.
【0028】データ記憶手段520は、他のアプリケー
ションプログラム、オペレーティングシステム、その他
のプログラムコード、データ等の格納領域を有する。デ
ータ記憶手段520は更に、本描画制御システムの使用
領域として、1ページを構成するバンド数分の格納領域
を有するバンド情報格納部521と、印刷コマンド格納
部522と、フレームバッファ523と、プログラム作
業領域(図示せず)とを備える。また、プロセッサ50
0、プログラム記憶手段510、データ記憶手段52
0、アプリケーションプログラムインタフェース手段5
30、アプリケーションプログラムインタフェース手段
530は、夫々、相互間でのデータ授受が可能にデータ
バス570に接続される。The data storage means 520 has storage areas for other application programs, operating systems, other program codes, data, and the like. The data storage unit 520 further includes a band information storage unit 521 having a storage area corresponding to the number of bands constituting one page, a print command storage unit 522, a frame buffer 523, and a program work area as use areas of the drawing control system. Region (not shown). The processor 50
0, program storage means 510, data storage means 52
0, application program interface means 5
30 and the application program interface means 530 are connected to the data bus 570 so that data can be exchanged between them.
【0029】図6は、記憶データの構成を模式的に示す
図であり、(a)はバンド情報格納部内の記憶データを
示し、(b)はフレームバッファ内の記憶データを示
す。FIGS. 6A and 6B are diagrams schematically showing the configuration of the stored data, wherein FIG. 6A shows the stored data in the band information storage unit, and FIG. 6B shows the stored data in the frame buffer.
【0030】バンド情報格納部521は、入力されるバ
ンドに関する情報を格納する部分であり、図6(a)に
示すように、バンド番号521Aと、カラーフラグ52
1Bと、印刷コマンドへのポインタ格納部521Cとか
ら構成される。また、フレームバッファ523は、図6
(b)に示すように、プロセッサ500によって印刷コ
マンドが展開及び色分解されたビットマップデータを格
納する。この格納時には、シアン、マゼンタ、イエロー
及び黒の4色分の格納領域523A、又は、黒1色分の
格納領域523Bのいずれかが選択される。The band information storage section 521 is a section for storing information on an input band. As shown in FIG. 6A, a band number 521A and a color flag 52 are stored.
1B and a print command pointer storage unit 521C. Also, the frame buffer 523 is
As shown in (b), the processor 500 stores the bitmap data in which the print command is expanded and color-separated. At the time of this storage, either the storage area 523A for four colors of cyan, magenta, yellow and black or the storage area 523B for one color of black is selected.
【0031】アプリケーションプログラムインタフェー
ス手段530は、上位アプリケーションプログラムから
送られる印刷コマンドを受け取る。データ出力インタフ
ェース手段540は、フレームバッファ523に展開さ
れたビットマップデータをプリンタ装置550へ転送す
る。プリンタ装置550は、受け取ったビットマップデ
ータを印刷用紙にシアン、マゼンタ、イエロー及び黒の
インクを使用して印刷する。The application program interface means 530 receives a print command sent from a higher-level application program. The data output interface unit 540 transfers the bitmap data expanded in the frame buffer 523 to the printer 550. The printer device 550 prints the received bitmap data on printing paper using cyan, magenta, yellow, and black inks.
【0032】図7は、本実施形態例におけるカラープリ
ンタの作動を示すフローチャートである。ここで、図2
及び図5〜図7を参照して、本実施形態例におけるカラ
ープリンタ全体の作動を詳細に説明する。FIG. 7 is a flowchart showing the operation of the color printer according to this embodiment. Here, FIG.
The operation of the entire color printer according to the present embodiment will be described in detail with reference to FIGS.
【0033】まず、ステップB1では、上位アプリケー
ションプログラムから送られた印刷コマンドをアプリケ
ーションプログラムインタフェース手段530で受信
し、印刷コマンド格納部522に格納する。次いで、ス
テップB2では、プロセッサ500が、印刷コマンドの
ページ上での印刷位置を解析する。更に、プロセッサ5
00が、解析された位置情報からその印刷コマンドがど
のバンド上にあるかを判定し、対応するバンド情報格納
部521の印刷コマンドへのポインタ格納部521C
(図6(a))に、印刷コマンド格納部522内での印刷
コマンドの格納位置を指示するポインタ情報を格納する
(ステップB3)。First, in step B 1, the print command sent from the host application program is received by the application program interface unit 530 and stored in the print command storage unit 522. Next, in step B2, the processor 500 analyzes the print position of the print command on the page. Further, the processor 5
00 determines which band the print command is on from the analyzed position information, and stores a pointer to the print command in the corresponding band information storage unit 521 in the pointer storage unit 521C.
(FIG. 6A) stores pointer information indicating the storage position of the print command in the print command storage unit 522 (step B3).
【0034】次いで、ステップB4では、プロセッサ5
00が、印刷コマンドによりカラー印刷されるか黒色の
みで印刷されるかを解析する。更に、プロセッサ500
が、カラー印刷か否かを判定し(ステップB11)、カ
ラー印刷の場合にはステップB5に進んで、対応するバ
ンド情報格納部521のカラーフラグ521B(図6
(a))を立てる。一方、カラー印刷しない場合には、ス
テップB12にジャンプする。Next, at step B4, the processor 5
It is analyzed whether 00 is printed in color or black only by the print command. Further, the processor 500
It is determined whether or not color printing is performed (step B11). If color printing is performed, the process proceeds to step B5, and the color flag 521B of the corresponding band information storage unit 521 (FIG.
(a)). On the other hand, if color printing is not to be performed, the process jumps to step B12.
【0035】ステップB12では、ページの終わりが到
達したか否かを判定し、到達しない場合にはステップB
1に戻って処理を繰り返し、到達した場合つまり1ペー
ジ分の印刷コマンドの受信が終了した場合には、ステッ
プB13に進む。ステップB13では、1ページを構成
するバンド上にある印刷コマンドをビットマップデータ
に展開し、データ出力インタフェース手段540を経由
してプリンタエンジン部550に転送する。In step B12, it is determined whether or not the end of the page has been reached.
The process returns to 1 and repeats the process. When the process has been reached, that is, when the reception of the print command for one page has been completed, the process proceeds to step B13. In step B13, the print command on the band constituting one page is developed into bitmap data and transferred to the printer engine unit 550 via the data output interface unit 540.
【0036】次いで、ステップB14では、展開するバ
ンドに対応したバンド情報格納部521のカラーフラグ
521B(図6(a))が立っていたら、シアン、マゼン
タ、イエロー及び黒の4色分を格納できる領域523A
(図6(b))をフレームバッファ523に割り当てる
(ステップB6)。一方、カラーフラグ521Bが立っ
ていなければ、黒1色分を格納できる領域523B(図
6(b))をフレームバッファ523に割り当てる(ステ
ップB7)。Next, in step B14, if the color flag 521B (FIG. 6A) of the band information storage section 521 corresponding to the band to be developed is set, four colors of cyan, magenta, yellow and black can be stored. Area 523A
(FIG. 6B) is allocated to the frame buffer 523 (step B6). On the other hand, if the color flag 521B is not set, an area 523B (FIG. 6B) that can store one black color is allocated to the frame buffer 523 (step B7).
【0037】次いで、プロセッサ500が、展開するバ
ンドに対応した印刷コマンド格納部522に格納された
印刷コマンドを展開及び色分解し、フレームバッファ5
23内の領域523A又は523Bにビットマップデー
タとして格納する(ステップB8)。更に、ステップB
9では、バンド上にある全ての印刷コマンドの展開が終
了した際に、フレームバッファ523内のビットマップ
データを、データ出力インタフェース手段540を経由
してプリンタエンジン部550に転送する。ステップB
15では、この転送処理を全てのバンドの展開及びビッ
トマップデータのプリンタエンジン部550に対して行
う。Next, the processor 500 expands and separates the print commands stored in the print command storage unit 522 corresponding to the band to be expanded, and
The data is stored as bitmap data in the area 523A or 523B in Step 23 (Step B8). Step B
In step 9, when the development of all the print commands on the band is completed, the bitmap data in the frame buffer 523 is transferred to the printer engine unit 550 via the data output interface unit 540. Step B
In step S15, the transfer process is performed for all the bands and the printer engine unit 550 for the bitmap data.
【0038】次いで、ステップB16で、1ぺージ分の
バンド展開処理が終了したか否かを判定し、バンド展開
処理が終了しない場合には、ステップB14に戻って処
理を繰り返す。一方、バンド展開処理が終了した場合に
は、ステップB10に進んで、プリンタエンジン部55
0によって対応するページの印刷を行う。Next, in step B16, it is determined whether or not the band development processing for one page has been completed. If the band development processing has not been completed, the flow returns to step B14 to repeat the processing. On the other hand, when the band development processing is completed, the process proceeds to step B10, where the printer engine unit 55
0 prints the corresponding page.
【0039】ところで、実際の印刷データでは、ページ
の全体にわたって多色情報を含む印刷コマンドが配置さ
れることは少なく、大部分を黒色の文字印刷コマンドが
占める場合が多い。この点に着目し、第1及び第2実施
形態例では、展開しようとするバンド上に多色情報を含
む印刷コマンドが存在する場合のみ、フレームバッファ
としてシアン、マゼンタ、イエロー及び黒の4色分の格
納領域を確保し、バンド上に多色情報を含む印刷コマン
ドが無い場合には、黒1色分の格納領域を確保する構成
とし、フレームバッファでの不要な領域確保を無くし
た。In actual print data, print commands including multicolor information are rarely arranged over the entire page, and black character print commands occupy most of the print commands in many cases. Focusing on this point, in the first and second embodiments, only when there is a print command including multi-color information on the band to be expanded, four colors of cyan, magenta, yellow, and black are used as frame buffers. When there is no print command including multi-color information on the band, a storage area for one color of black is secured, and unnecessary area reservation in the frame buffer is eliminated.
【0040】以上の第1及び第2本実施形態例では、ペ
ージを構成する印刷コマンドをビットマップに展開する
際に、決定されたバンド上に多色情報を含む印刷コマン
ドが存在するときにのみフレームバッファ123、52
3に複数色分の格納領域を割り当てる。これにより、ビ
ットマップデータを格納するフレームバッファ123、
523のための記憶容量を減少することができる。従っ
て、プリンタの解像度が高くなった場合でも、フレーム
バッファにおける容量の増大を抑え、他のアプリケーシ
ョンプログラム、オペレーティングシステム、その他の
プログラムコード、データ及び作業領域等の領域を確保
し、上位コンピュータ全体の処理速度の低下や安定性の
低下を防止することができる。In the first and second embodiments, when a print command constituting a page is developed into a bitmap, only when a print command including multicolor information exists on the determined band. Frame buffers 123, 52
3, a storage area for a plurality of colors is allocated. Thereby, the frame buffer 123 storing the bitmap data,
The storage capacity for 523 can be reduced. Therefore, even when the resolution of the printer is increased, the increase in the capacity of the frame buffer is suppressed, areas for other application programs, operating systems, other program codes, data, work areas, and the like are secured, and processing of the entire upper computer is performed. A decrease in speed and a decrease in stability can be prevented.
【0041】なお、第1及び第2実施形態例では、本発
明の描画制御システムをカラープリンタに適用した例に
ついて説明したが、本発明をカラー対応のファクシミリ
装置、及びコピー装置に適用することもできる。In the first and second embodiments, an example has been described in which the drawing control system of the present invention is applied to a color printer. However, the present invention may be applied to a color-compatible facsimile apparatus and a copying apparatus. it can.
【0042】以上、本発明をその好適な実施形態例に基
づいて説明したが、本発明の描画制御システムは、上記
実施形態例の構成にのみ限定されるものではなく、上記
実施形態例の構成から種々の修正及び変更を施した描画
制御システムも、本発明の範囲に含まれる。Although the present invention has been described based on the preferred embodiment, the drawing control system of the present invention is not limited to the configuration of the above-described embodiment, but rather the configuration of the above-described embodiment. A drawing control system in which various modifications and changes have been made is also included in the scope of the present invention.
【0043】[0043]
【発明の効果】以上説明したように、本発明の描画制御
システムによると、フレームバッファの記憶容量の増大
を抑え、プリンタの解像度が高くなった場合でも、処理
速度の低下や処理が不安定になる等の不具合を回避する
ことができる。As described above, according to the drawing control system of the present invention, the increase in the storage capacity of the frame buffer is suppressed, and the processing speed is reduced and the processing becomes unstable even when the resolution of the printer is increased. It is possible to avoid problems such as becoming.
【図1】本発明の第1実施形態例における描画制御シス
テムを示すブロック図である。FIG. 1 is a block diagram illustrating a drawing control system according to a first embodiment of the present invention.
【図2】記憶データの構成模式的に示す図であり、
(a)はバンド情報格納部内の記憶データ、(b)フレ
ームバッファ内の記憶データを夫々示す。FIG. 2 is a diagram schematically showing a configuration of stored data;
(A) shows the storage data in the band information storage unit, and (b) shows the storage data in the frame buffer.
【図3】第1実施形態例におけるカラープリンタで印刷
可能な範囲を示す印刷用紙の正面図である。FIG. 3 is a front view of a printing sheet showing a printable range of the color printer in the first embodiment.
【図4】第1実施形態例におけるカラープリンタの作動
を示すフローチャートである。FIG. 4 is a flowchart illustrating an operation of the color printer according to the first embodiment.
【図5】本発明の第2実施形態例における描画制御シス
テムを示すブロック図である。FIG. 5 is a block diagram illustrating a drawing control system according to a second embodiment of the present invention.
【図6】記憶データの構成を模式的に示す図であり、
(a)はバンド情報格納部内の記憶データを示し、
(b)はフレームバッファ内の記憶データを示す。FIG. 6 is a diagram schematically showing a configuration of stored data;
(A) shows data stored in the band information storage unit,
(B) shows data stored in the frame buffer.
【図7】第2実施形態例におけるカラープリンタの作動
を示すフローチャートである。FIG. 7 is a flowchart illustrating an operation of the color printer according to the second embodiment.
【図8】従来の描画制御システムを示すブロック図であ
る。FIG. 8 is a block diagram showing a conventional drawing control system.
100、500:プロセッサ 110、510:プログラム記憶手段 120、520:データ記憶手段 121、521、:バンド情報格納部 122、522:印刷コマンド格納部 123、523:フレームバッファ 130:入出力手段 140:プリンタエンジン制御手段 150、550:プリンタエンジン部 170、570:データバス 530:アプリケーションプログラムインタフェース手
段 540:データ出力インタフェース手段 580:アプリケーションプログラム100, 500: Processor 110, 510: Program storage unit 120, 520: Data storage unit 121, 521: Band information storage unit 122, 522: Print command storage unit 123, 523: Frame buffer 130: Input / output unit 140: Printer Engine control unit 150, 550: Printer engine unit 170, 570: Data bus 530: Application program interface unit 540: Data output interface unit 580: Application program
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) B41J 5/30 G06F 3/12 H04N 1/46 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int.Cl. 7 , DB name) B41J 5/30 G06F 3/12 H04N 1/46
Claims (6)
ップデータに従って印刷媒体に印刷する描画制御システ
ムであって、 入力される印刷コマンドに基づいて、所定数のバンドの
内から描画すべきバンドを決定する印刷制御手段と、 前記印刷制御手段によって決定されたバンドに対応する
印刷コマンドに多色情報が含まれるか否かを判定するカ
ラー情報判定手段と、 前記カラー情報判定手段によって多色情報が含まれると
判定されたときには前記フレームバッファに複数色分の
格納領域を割り当て、多色情報が含まれないと判定され
たときには前記フレームバッファに黒1色分の格納領域
を割り当てる格納領域確保手段とを備えることを特徴と
する描画制御システム。1. A drawing control system for printing on a print medium in accordance with bitmap data stored in a frame buffer, wherein a band to be drawn is determined from a predetermined number of bands based on an input print command. A print control unit; a color information determination unit that determines whether or not the print command corresponding to the band determined by the print control unit includes multicolor information; and the multicolor information is included by the color information determination unit. Storage area allocating means for allocating a storage area for a plurality of colors to the frame buffer when the determination is made, and allocating a storage area for one color to the frame buffer when it is determined that multi-color information is not included. And a drawing control system.
るバンド情報格納部を備え、 前記カラー情報判定手段は、決定されたバンドに対応す
る印刷コマンドに多色情報が含まれると判定したとき、
対応する前記バンド情報格納部内にカラーフラグを立て
ることを特徴とする請求項1に記載の描画制御システ
ム。2. The image processing apparatus according to claim 1, further comprising a band information storage unit configured to store information on an input band, wherein the color information determining unit determines that the print command corresponding to the determined band includes multicolor information.
The drawing control system according to claim 1, wherein a color flag is set in the corresponding band information storage unit.
コマンド格納部を備え、 前記印刷制御手段は、展開するバンドに対応した前記印
刷コマンド格納部に格納された印刷コマンドを展開及び
色分解し、前記フレームバッファにビットマップデータ
として格納することを特徴とする請求項1に記載の描画
制御システム。3. A print command storage unit for storing an input print command, wherein the print control unit expands and separates a print command stored in the print command storage unit corresponding to a band to be expanded, 2. The drawing control system according to claim 1, wherein the image data is stored as bitmap data in the frame buffer.
の描画制御システムを有することを特徴とするプリンタ
装置。4. A printer comprising the drawing control system according to claim 1. Description:
の描画制御システムを有することを特徴とするファクシ
ミリ装置。5. A facsimile apparatus comprising the drawing control system according to claim 1. Description:
の描画制御システムを有することを特徴とするコピー装
置。6. A copying apparatus comprising the drawing control system according to claim 1. Description:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10171622A JP3129289B2 (en) | 1998-06-18 | 1998-06-18 | Drawing control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10171622A JP3129289B2 (en) | 1998-06-18 | 1998-06-18 | Drawing control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000001006A JP2000001006A (en) | 2000-01-07 |
| JP3129289B2 true JP3129289B2 (en) | 2001-01-29 |
Family
ID=15926599
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10171622A Expired - Fee Related JP3129289B2 (en) | 1998-06-18 | 1998-06-18 | Drawing control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3129289B2 (en) |
-
1998
- 1998-06-18 JP JP10171622A patent/JP3129289B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000001006A (en) | 2000-01-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0772117B1 (en) | Printer driver architecture for reducing band memory | |
| US5136688A (en) | Print data processing apparatus for an image forming apparatus | |
| JPH111029A (en) | Color print system, color printer, and computer-readable recording medium storing computer-executable program | |
| US6348975B1 (en) | Image processing apparatus, image processing method, and storage medium | |
| EP0727732B1 (en) | Output control method and apparatus and computer program product | |
| EP0684546B1 (en) | Printing apparatus, printing system, and a method for acquiring character resources of the printing system | |
| US6226095B1 (en) | Image processing apparatus, method, and system | |
| US6029576A (en) | Method for controlling image formation on a printing form carrier for a printing press | |
| JP3129289B2 (en) | Drawing control system | |
| US20100007903A1 (en) | Print attribute setting apparatus, print attribute setting method, and print attribute setting program | |
| JP3129133B2 (en) | Color printing equipment | |
| JP3671633B2 (en) | Print data processing device | |
| EP0856811A1 (en) | Output method and apparatus employing the same | |
| JPH08123633A (en) | Color image printing system | |
| JP2918552B2 (en) | Printing control device | |
| JP2003175651A (en) | Printing device with overlay function | |
| JP3941415B2 (en) | Print control device | |
| JP2006244132A (en) | Printing system | |
| JP2004021925A (en) | Image processing device | |
| JP2004034588A (en) | Printing equipment | |
| JPH10240478A (en) | Printing apparatus and print control method thereof | |
| JPH11119928A (en) | Device and method for processing printing | |
| JPH10157240A (en) | Printing method, printing apparatus, and recording medium | |
| JP2004334758A (en) | A method for controlling poster printing in a host-based printing system | |
| JP2005151381A (en) | Image processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071117 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081117 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081117 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091117 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091117 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101117 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111117 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111117 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121117 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121117 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131117 Year of fee payment: 13 |
|
| LAPS | Cancellation because of no payment of annual fees |