JP2003341152A - Print control device, print control method, print system, and program - Google Patents

Print control device, print control method, print system, and program

Info

Publication number
JP2003341152A
JP2003341152A JP2002155753A JP2002155753A JP2003341152A JP 2003341152 A JP2003341152 A JP 2003341152A JP 2002155753 A JP2002155753 A JP 2002155753A JP 2002155753 A JP2002155753 A JP 2002155753A JP 2003341152 A JP2003341152 A JP 2003341152A
Authority
JP
Japan
Prior art keywords
size
color
data
printing
print
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
JP2002155753A
Other languages
Japanese (ja)
Inventor
Yukio Kanakubo
幸男 金窪
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 JP2002155753A priority Critical patent/JP2003341152A/en
Publication of JP2003341152A publication Critical patent/JP2003341152A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

(57)【要約】 【課題】 RAMを効率的に使用できかつ確実な印刷を
実行させることができる印刷制御装置、印刷制御方法、
印刷システム、及びプログラムを提供する。 【解決手段】 タンデム方式のプリンタにおいて、ホス
トコンピュータから転送される印刷出力すべき各色(Y
MCK)ビットマップデータのデータサイズを取得する
(S12)。取得したデータサイズから各色画像データ
の割合を算定する(S13)。算定した割合に応じて、
各色ビットマップデータの受信バッファのサイズを設定
する(S14)。
(57) Abstract: A print control device, a print control method, and a print control method capable of using a RAM efficiently and executing reliable printing.
A printing system and a program are provided. SOLUTION: In a tandem printer, each color (Y) to be printed and output from a host computer is transferred.
MCK) The data size of the bitmap data is obtained (S12). The ratio of each color image data is calculated from the acquired data size (S13). Depending on the calculated percentage,
The size of the receiving buffer for each color bitmap data is set (S14).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、外部装置から転送
される複数色のビットマップデータを印刷装置において
印刷出力させる印刷制御装置、印刷制御方法、印刷シス
テム、及びプログラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control device, a print control method, a print system, and a program for causing a printing device to print out bitmap data of a plurality of colors transferred from an external device.

【0002】[0002]

【従来の技術】カラーレーザプリンタには、4色(YM
CK)のトナーを1色ごと1個の感光体ドラムに転写
し、4色すべての画像がのったところで紙に転写する方
法と、各色それぞれに対応する感光体ドラムを4本直列
に配置し、各ドラムに生成された画像の間に用紙を搬送
させ転写させる、いわゆるタンデム方式と言われるもの
がある。
2. Description of the Related Art A color laser printer has four colors (YM
CK) toner is transferred to one photoconductor drum for each color, and is transferred to paper when all four color images are over, and four photoconductor drums corresponding to each color are arranged in series. There is a so-called tandem system in which a sheet is conveyed and transferred between images generated on each drum.

【0003】また、印刷方法として、PCL、LIPS
などのページ記述言語(PDL)をプリンタへ送信し、
プリンタでそのPDLを解釈しビットマップ展開して印
字動作を実行させるPDL印刷方式ものと、ホストコン
ピュータなどの外部装置で印刷データをすべてビットマ
ップ展開し、そのビットマップデータをプリンタへ送信
し、プリンタで受信したビットマップデータをビデオデ
ータとしてプリンタエンジンへ出力し印字動作を実行さ
せるホストベース印刷方式がある。
Further, as a printing method, PCL, LIPS
Page description language (PDL) such as
The printer interprets the PDL, expands the bitmap and executes the printing operation, and the PDL printing method in which an external device such as a host computer expands all the print data and transmits the bitmap data to the printer. There is a host-based printing method in which the bitmap data received in step 2 is output as video data to a printer engine to execute a printing operation.

【0004】ホストベース印刷システムでは、ホストか
らビットマップデータの送信を開始し、ある程度プリン
タの受信バッファに格納できたら、プリンタの印刷動作
を実行しビデオデータの出力を開始させてしまい、その
後はビットマップデータを受信しながら、一方でビデオ
出力も行う。
In the host-based printing system, when the host starts transmitting the bitmap data and stores it in the printer's reception buffer to some extent, the printer performs the printing operation and starts the output of the video data. While receiving map data, it also outputs video.

【0005】これにより、少ない受信バッファ容量で印
刷することが可能となる。また、ホストコンピュータで
レンダリング(ビットマップ展開)を行うため、プリン
タには高性能CPUを搭載する必要がなく、低コストで
印刷システムを提供することが可能となる。
This enables printing with a small receiving buffer capacity. Further, since rendering (bitmap expansion) is performed by the host computer, it is not necessary to mount a high-performance CPU on the printer, and it is possible to provide a printing system at low cost.

【0006】このような利点があるホストベース印刷シ
ステムを、タンデム方式のカラーレーザプリンタで構築
する場合、ホストコンピュータから4色同時に画像デー
タ転送を行い、4色同時にプリンタエンジンへビデオデ
ータとして出力する必要がある。このため、プリンタに
おいて、4色(YMCK)分の受信バッファが必要とな
る。従来この受信バッファは各色同サイズで4個、固定
的にメモリ(RAM)に確保されていた。
When a host-based printing system having such an advantage is constructed by a tandem type color laser printer, it is necessary to transfer image data from the host computer at the same time for four colors and output the four colors simultaneously as video data to the printer engine. There is. Therefore, the printer needs a reception buffer for four colors (YMCK). Conventionally, four receiving buffers of the same size for each color are fixedly secured in the memory (RAM).

【0007】[0007]

【発明が解決しようとする課題】通常、ビットマップ展
開された4色分の画像データは同サイズ(A4、600
dpiで各色4Mバイト)となるが、データ転送時間を
縮小するため、また搭載RAM容量を少なくするため、
画像データに圧縮を施すのが一般的である。ここで印刷
画像の種類(テキスト、グラフィック、イメージなど)
や使用される色の偏り、各色のディザパターンが異なる
などの要因により、圧縮後の各色データサイズにかなり
ばらつきが発生することがある。
Normally, the image data for four colors that have been bit map expanded have the same size (A4, 600).
Although it is 4 Mbytes for each color in dpi), in order to reduce the data transfer time and the installed RAM capacity,
It is common to compress image data. Print image type (text, graphic, image, etc.)
Due to factors such as unevenness in colors used, dither patterns of different colors, and the like, the data size of each color after compression may vary considerably.

【0008】しかしながら、コストを抑えるために小容
量のRAMでホストベース印刷システムを構築し、各色
均等に受信バッファを割り当てると、ある色ではバッフ
ァが不足しデータ受信が待ち状態、ある色はデータサイ
ズが非常に小さく圧縮されたため受信バッファに全部入
ってしまい、さらにバッファに余裕があるという状態が
発生することになる。
However, if the host-based printing system is constructed with a small-capacity RAM in order to reduce the cost and the receiving buffers are evenly assigned to each color, the buffer is insufficient for a certain color and data reception is in a waiting state. Since it was compressed to a very small size, it would all fit in the receive buffer, and there will be a situation in which there is room in the buffer.

【0009】小容量のRAMで確実に印刷を成功させる
ためには、出来る限り多くの画像データを印刷が開始さ
れる前に取り込んでおく必要があるが、前述した印刷状
態は一方ではRAMが不足、もう一方ではRAMに余裕
があるということからすると、RAMの使用法として
は、非効率的であり、また印刷に失敗する要因ともな
る。
In order to ensure successful printing with a small capacity RAM, it is necessary to capture as much image data as possible before printing is started. On the other hand, from the fact that the RAM has a margin, the usage of the RAM is inefficient, and it also causes printing to fail.

【0010】本発明は上述した問題点を解決するための
ものであり、印刷出力すべき各色ビットマップデータの
データサイズを取得し、取得したデータサイズに応じ
て、各色ビットマップデータの受信バッファのサイズを
設定することにより、RAMを効率的に使用できかつ確
実な印刷を実行させることができる印刷制御装置、印刷
制御方法、印刷システム、及びプログラムを提供するこ
とを目的とする。
The present invention is for solving the above-mentioned problems, and acquires the data size of each color bitmap data to be printed out, and according to the acquired data size, the receiving buffer of each color bitmap data is stored. An object of the present invention is to provide a print control device, a print control method, a print system, and a program that can use a RAM efficiently and execute reliable printing by setting a size.

【0011】また、プリンタエンジンへ出力すべき各色
画像データの割合をページ単位で算定し、算定した割合
に応じて、各色画像データの受信バッファのサイズを設
定することにより、RAMを効率的に使用できかつ円滑
にプリンタエンジンへ画像データを出力させることがで
きる印刷制御装置を提供することを目的とする。
Further, the ratio of each color image data to be output to the printer engine is calculated in page units, and the size of the reception buffer of each color image data is set according to the calculated ratio, so that the RAM is used efficiently. An object of the present invention is to provide a print control device that can output image data to a printer engine smoothly and smoothly.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
に、本発明の印刷制御装置は、外部装置から転送される
複数色のビットマップデータを印刷装置において印刷出
力させる印刷制御装置であって、印刷出力すべき各色ビ
ットマップデータのデータサイズを取得する取得手段
と、前記取得手段により取得したデータサイズに応じ
て、前記各色ビットマップデータの受信バッファのサイ
ズを設定する設定手段と、を有することを特徴とする。
In order to achieve the above object, a print control apparatus of the present invention is a print control apparatus that causes a print apparatus to print out bitmap data of a plurality of colors transferred from an external device. And an acquisition unit that acquires the data size of each color bitmap data to be printed out, and a setting unit that sets the size of the reception buffer of each color bitmap data according to the data size acquired by the acquisition unit. It is characterized by

【0013】また、本発明の印刷制御装置は、外部装置
から転送される画像データをプリンタエンジンへ出力さ
せる処理を、複数色に関して平行に実行させる印刷制御
装置であって、プリンタエンジンへ出力すべき各色画像
データの割合をページ単位で算定する算定手段と、前記
算定手段により算定した割合に応じて、前記各色画像デ
ータの受信バッファのサイズを設定する設定手段と、を
有することを特徴とする。
Further, the print control device of the present invention is a print control device for executing the processing for outputting the image data transferred from the external device to the printer engine in parallel with respect to a plurality of colors and should be output to the printer engine. It is characterized in that it has a calculating means for calculating the ratio of each color image data in page units, and a setting means for setting the size of the receiving buffer of each color image data according to the ratio calculated by the calculating means.

【0014】また、本発明の印刷制御方法は、外部装置
から転送される複数色のビットマップデータを印刷装置
において印刷出力させる印刷制御方法であって、印刷出
力すべき各色ビットマップデータのデータサイズを取得
する取得工程と、前記取得工程において取得したデータ
サイズに応じて、前記各色ビットマップデータの受信バ
ッファのサイズを設定する設定工程と、を有することを
特徴とする。
The print control method of the present invention is a print control method for causing a printing apparatus to print out bitmap data of a plurality of colors transferred from an external device, and the data size of each color bitmap data to be printed out. And an setting step of setting the size of the reception buffer of the bitmap data of each color according to the data size acquired in the acquisition step.

【0015】また、本発明の印刷システムは、外部装置
から転送される複数色のビットマップデータを印刷装置
において印刷出力させる印刷制御装置を含む印刷システ
ムであって、前記印刷制御装置は、印刷出力すべき各色
ビットマップデータのデータサイズを取得する取得手段
と、前記取得手段により取得したデータサイズに応じ
て、前記各色ビットマップデータの受信バッファのサイ
ズを設定する設定手段と、を有することを特徴とする。
Further, the printing system of the present invention is a printing system including a printing control device that causes the printing device to print out bit map data of a plurality of colors transferred from an external device, wherein the printing control device is a printing output. An acquisition unit that acquires the data size of each color bitmap data to be obtained, and a setting unit that sets the size of the reception buffer of each color bitmap data according to the data size acquired by the acquisition unit. And

【0016】また、本発明のプログラムは、外部装置か
ら転送される複数色のビットマップデータを印刷装置に
おいて印刷出力させる印刷制御方法を実行するためのプ
ログラムであって、印刷出力すべき各色ビットマップデ
ータのデータサイズを取得する取得ステップと、前記取
得ステップにおいて取得したデータサイズに応じて、前
記各色ビットマップデータの受信バッファのサイズを設
定する設定ステップと、を有することを特徴とする。
Further, the program of the present invention is a program for executing a print control method for causing a printer to print out bitmap data of a plurality of colors transferred from an external device, and each color bitmap to be printed out. It is characterized by comprising an acquisition step of acquiring the data size of the data and a setting step of setting the size of the reception buffer of each color bitmap data according to the data size acquired in the acquisition step.

【0017】[0017]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0018】<第1の実施形態> [プリンタ制御系の説明(図1)]図1は、本実施形態
において、本発明を適用可能なカラーホストベースプリ
ンタ制御システムの構成を説明するためのブロック図で
ある。ここでは、カラーレーザビームプリンタ(後述の
図3に示す構成のプリンタ)を例にして説明する。な
お、単体の機器であっても、複数の機器からなるシステ
ムであっても、LAN等のネットワークを介して処理が
行われるシステムであっても、本発明を適用できること
は言うまでもない。
<First Embodiment> [Description of Printer Control System (FIG. 1)] FIG. 1 is a block diagram for explaining the configuration of a color host-based printer control system to which the present invention is applicable in the present embodiment. It is a figure. Here, a color laser beam printer (a printer having a configuration shown in FIG. 3 described later) will be described as an example. Needless to say, the present invention can be applied to a single device, a system including a plurality of devices, and a system in which processing is performed via a network such as a LAN.

【0019】図1において、3000はホストコンピュ
ータで、ROM3のプログラム用ROMに記憶された文
書処理プログラム等に基づいて図形,イメージ,文字,
表(表計算等を含む)等が混在した文書処理を実行する
CPU1を備えている。CPU1は、システムバス4に
接続される各デバイスをCPU1が総括的に制御する。
In FIG. 1, reference numeral 3000 denotes a host computer, which is based on a document processing program or the like stored in the program ROM of the ROM 3,
It is provided with a CPU 1 that executes document processing in which tables (including spreadsheets) are mixed. The CPU 1 generally controls each device connected to the system bus 4.

【0020】また、このROM3のプログラム用ROM
には、CPU1の制御プログラム等を記憶し、ROM3
のフォント用ROMには上記文書処理の際に使用するフ
ォントデ−タ等を記憶し、ROM3のデ−タ用ROMは
上記文書処理等を行う際に使用する各種デ−タを記憶す
る。2はRAMで、CPU1の主メモリ,ワークエリア
等として機能する。5はキーボードコントローラ(KB
C)で、キーボード9や不図示のポインティングデバイ
スからのキー入力を制御する。6はCRTコントローラ
(CRTC)で、CRTディスプレイ(CRT)10の
表示を制御する。7はメモリコントローラ(MC)で、
ブートプログラム,種々のアプリケーション,フォント
データ,ユーザファイル,編集ファイル等を記憶するハ
ードディスク(HD)、フロッピー(R)ディスク(F
D)等の外部メモリ11とのアクセスを制御する。8は
プリンタコントローラ(PRTC)で、所定の双方向性
インタフェース(インタフェース)21を介してプリン
タ1000に接続されて、プリンタコントローラ部10
01との通信制御処理を実行する。なお、CPU1は、
例えばRAM2上に設定された表示情報RAMへのアウ
トラインフォントの展開(ラスタライズ)処理を実行
し、CRT10上でのWYSIWYGを可能としてい
る。また、CPU1は、CRT10上の不図示のマウス
カーソル等で指示されたコマンドに基づいて登録された
種々のウインドウを開き、種々のデータ処理を実行す
る。
The program ROM of the ROM 3
The ROM 3 stores a control program of the CPU 1 and the like.
This font ROM stores font data and the like used in the above document processing, and the data ROM of ROM 3 stores various data used in the above document processing. A RAM 2 functions as a main memory and a work area of the CPU 1. 5 is a keyboard controller (KB
In C), key input from the keyboard 9 or a pointing device (not shown) is controlled. A CRT controller (CRTC) 6 controls the display of a CRT display (CRT) 10. 7 is a memory controller (MC),
Hard disk (HD), floppy (R) disk (F) that stores boot programs, various applications, font data, user files, edit files, etc.
Control access to the external memory 11 such as D). A printer controller (PRTC) 8 is connected to the printer 1000 via a predetermined bidirectional interface (interface) 21, and the printer controller unit 10
The communication control processing with 01 is executed. The CPU 1
For example, WYSIWYG on the CRT 10 is possible by executing outline font rasterization processing on the display information RAM set on the RAM 2. Further, the CPU 1 opens various windows registered based on a command designated by a mouse cursor (not shown) on the CRT 10 and executes various data processing.

【0021】プリンタ1000において、12はプリン
タCPUで、ROM13のプログラム用ROMに記憶さ
れた制御プログラム等に基づいてシステムバス15に接
続される各種のデバイスとのアクセスを総括的に制御
し、印刷部インタフェース16を介して接続される印刷
機構部(プリンタエンジン)17に出力情報としての画
像信号を出力する。また、このROM13のプログラム
ROMには、図4、図5、図6のフローチャートで示さ
れるようなCPU12の制御プログラム等を記憶する。
CPU12は入力部18を介してホストコンピュータと
の通信処理が可能となっており、プリンタ内の情報等を
ホストコンピュータ3000に通知可能に構成されてい
る。19はCPU12の主メモリ、ワークエリア等とし
て機能するRAMで、図示しない増設ポートに接続され
るオプションRAMによりメモリ容量を拡張することが
できるように構成されている。なお、RAM19は、本
発明によるところのYMCK各色画像データ受信バッフ
ァ領域等に用いられる。110は操作パネルで操作のた
めのスイッチおよびLED表示器等が配されている。
In the printer 1000, a printer CPU 12 generally controls access to various devices connected to the system bus 15 based on a control program stored in a program ROM of the ROM 13 and a printing unit. An image signal as output information is output to a print mechanism unit (printer engine) 17 connected via the interface 16. The program ROM of the ROM 13 stores the control program of the CPU 12 as shown in the flowcharts of FIGS. 4, 5, and 6.
The CPU 12 is capable of performing communication processing with the host computer via the input unit 18, and is configured to notify the host computer 3000 of information in the printer and the like. Reference numeral 19 denotes a RAM that functions as a main memory, a work area, etc. of the CPU 12, and is configured so that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 19 is used for the YMCK color image data reception buffer area and the like according to the present invention. An operation panel 110 is provided with switches for operation, an LED display, and the like.

【0022】次に図2を説明する。図2は、図1に示し
たホストコンピュータの制御部1とプリンタの制御部1
2におけるホストベース印刷システムの処理構成を説明
するブロック図である。
Next, FIG. 2 will be described. FIG. 2 shows a control unit 1 of the host computer and a control unit 1 of the printer shown in FIG.
3 is a block diagram illustrating a processing configuration of the host-based printing system in FIG.

【0023】図2において、3000は例えばサーバま
たはクライアントとして機能するホストコンピュータで
ある、印刷データおよび制御コードからなる印刷情報を
プリンタ1000に出力するものである。
In FIG. 2, reference numeral 3000 is a host computer that functions as a server or a client, for example, which outputs print information including print data and control codes to the printer 1000.

【0024】プリンタ1000は、機能的に大きく分け
てコントローラ部100、オペレーションパネル部11
0、印刷機構部17より構成されている。本実施形態で
はプリンタ1000として、具体的にはタンデム方式の
カラーレーザビームプリンタ(後述の図3に示す構成の
プリンタ)を想定している。
The printer 1000 is functionally divided into a controller section 100 and an operation panel section 11.
0, the printing mechanism unit 17. In this embodiment, as the printer 1000, specifically, a tandem type color laser beam printer (a printer having a configuration shown in FIG. 3 described later) is assumed.

【0025】プリンタ1000において、100は、本
発明に係る主要部であるコントローラ部である。コント
ローラ部100は、ホストコンピュータ3000との接
続手段であるところのインタフェース(I/F)部18
(入力部18に対応)、受信データ等を一時的に保持管
理するための受信バッファ101、送信データ等を一時
的に保持管理するための送信バッファ102、印刷デー
タの解析を司るコマンド解析部104、印刷制御処理実
行部105、画像/メモリ制御部103、出力制御部1
07などより構成されている。インタフェース(I/
F)部18はホストコンピュータ3000との印刷デー
タの送受信を行う通信手段である。このインタフェース
(I/F)部18を通して受信した印刷データは、その
データを一時的に保持する記憶手段である受信バッファ
101に遂次蓄積され、必要に応じてコマンド解析部1
04または画像/メモリ制御部103によって読み出さ
れ処理される。コマンド解析部104は、各印刷制御コ
マンド体系や印刷ジョブ制御言語に準じた制御プログラ
ムにより構成されている。このコマンド解析部104で
解析されたコマンドは、ビットマップデータなどの画像
データに関するものは、画像/メモリ制御部103に指
示を与えて処理し、給紙選択やリセット命令などの描画
以外のコマンドは、印刷制御処理実行部105に指示を
出し処理する。
In the printer 1000, 100 is a controller unit which is a main part of the present invention. The controller unit 100 is an interface (I / F) unit 18 which is a connecting means with the host computer 3000.
(Corresponding to the input unit 18), a reception buffer 101 for temporarily holding and managing received data and the like, a transmission buffer 102 for temporarily holding and managing transmission data and the like, and a command analysis unit 104 for analyzing print data. , Print control processing execution unit 105, image / memory control unit 103, output control unit 1
07 and the like. Interface (I /
The F) unit 18 is a communication unit that transmits / receives print data to / from the host computer 3000. The print data received through the interface (I / F) unit 18 is sequentially accumulated in the reception buffer 101, which is a storage unit that temporarily holds the data, and the command analysis unit 1 is used as necessary.
04 or the image / memory control unit 103 to read and process. The command analysis unit 104 is composed of a control program conforming to each print control command system and print job control language. The commands analyzed by the command analysis unit 104 are those related to image data such as bitmap data, which are processed by giving instructions to the image / memory control unit 103, and commands other than drawing such as paper feed selection and reset commands. The print control process execution unit 105 is instructed to perform the process.

【0026】画像制御部103では、転送されてきた画
像データコマンドデータからコマンド部分を外し、画像
データ受信バッファ106へ格納する。この画像データ
受信処理と印刷機構部(プリンタエンジン)17へのビ
デオ信号の出力の追いかけっこ、つまりバンディング制
御によってビデオ出力バッファは管理されていてもよい
し、十分なメモリがある場合は、1ページ分が格納可能
な領域をビデオ出力バッファとして確保してもよい。
The image control unit 103 removes the command portion from the transferred image data command data and stores it in the image data reception buffer 106. The video output buffer may be managed by this image data reception processing and the chasing of the output of the video signal to the printing mechanism unit (printer engine) 17, that is, banding control, or if there is sufficient memory, one page An area capable of storing minutes may be reserved as a video output buffer.

【0027】オペレーションパネル110は、プリンタ
の各種状態を設定・表示するためのものである。出力制
御部107は、ビデオ出力バッファ106に格納されて
いる画像ビットマップデータをビデオ信号に変換処理
し、印刷機構部(プリンタエンジン)17へ転送する。
印刷機構部17は受け取ったビデオ信号を記録紙に永久
可視画像形成するための機構である。
The operation panel 110 is for setting / displaying various states of the printer. The output control unit 107 converts the image bitmap data stored in the video output buffer 106 into a video signal, and transfers the video signal to the printing mechanism unit (printer engine) 17.
The printing mechanism unit 17 is a mechanism for forming a permanent visible image on the recording paper by using the received video signal.

【0028】以上、プリンタ1000について説明した
が、次にホストコンピュータ3000の構成について説
明する。
The printer 1000 has been described above. Next, the configuration of the host computer 3000 will be described.

【0029】ホストコンピュータ3000は、入力デバ
イスであるところのキーボード9やポインティングデバ
イスであるところのマウス220と、表示デバイスであ
るディスプレイモニタ10を合わせた一つのコンピュー
タシステムとして構成されている。ホストコンピュータ
3000は、Windows(R)、UNIX(R)、
MacOS等の基本OSの下で動作しているものとす
る。
The host computer 3000 is configured as one computer system including the keyboard 9 as an input device, the mouse 220 as a pointing device, and the display monitor 10 as a display device. The host computer 3000 may be Windows (R), UNIX (R),
It is assumed that it is operating under a basic OS such as MacOS.

【0030】ホストコンピュータ側について、本発明に
関係する部分にのみ着目して基本OS上での機能を大き
く分類すると、アプリケーションソフト201、基本O
Sの一部であるグラフィックデバイスインタフェース
(以後、GDIと記す)202、プリンタドライバ20
3、プリンタドライバの生成したデータを一時的に格納
するプリントスプーラ204と分けて考えることができ
る。
On the host computer side, the functions on the basic OS are roughly classified by focusing only on the portions related to the present invention.
Graphic device interface (hereinafter referred to as GDI) 202 which is a part of S, printer driver 20
3. It can be considered separately from the print spooler 204 that temporarily stores the data generated by the printer driver.

【0031】なお、基本OSによってこれらの名称や機
能的な枠組みは若干異なる場合があるが、本発明に関係
する機能が実現できるモジュールであれば、それらの名
称や枠組みは本発明にとってあまり大きな問題ではな
い。GDIやプリンタドライバと呼ばれるモジュール
は、Windows(R)98やWindows(R)
NT固有のものであり、他の基本OSにおいては、たと
えば、グラフィックカーネルやプリント・フィルタなど
呼ばれるモジュールで実現可能である。同様にプリント
・スプーラ204においても、プリント・キューと呼ば
れるモジュールに処理を組み込むことによって実現可能
である。
Although these names and functional frameworks may be slightly different depending on the basic OS, these names and frameworks are a big problem for the present invention as long as they are modules that can realize the functions related to the present invention. is not. Modules called GDI and printer drivers are Windows (R) 98 and Windows (R)
It is unique to NT, and can be realized in other basic OSs with a module called a graphic kernel or a print filter, for example. Similarly, the print spooler 204 can be realized by incorporating a process in a module called a print queue.

【0032】なお、一般的に、これらの構成要素からな
るホストコンピュータ3000は、図1で示したCPU
1、RAM2、ROM3、外部メモリ11などのハード
ウェアの下で、基本ソフトと呼ばれるソフトウェア(B
IOS)がその制御を司り、その基本ソフトの下で応用
ソフトが動作するような構成になっている。
In general, the host computer 3000 including these components is the CPU shown in FIG.
Under hardware such as 1, RAM2, ROM3, and external memory 11, software called basic software (B
IOS) controls the control, and the application software operates under the basic software.

【0033】プリンタドライバ203も、この応用ソフ
トの一つと位置付けられるものである。また、アプリケ
ーションソフト201は、例えば、ワープロや表計算な
どの基本ソフトウェア上で動作する応用ソフトウェアを
指すものである。また、アプリケーションソフトは任意
のタイミングで複数起動(主メモリ容量により変動す
る)であり、それらをアプリ206として図示してあ
る。
The printer driver 203 is also positioned as one of the application software. The application software 201 is, for example, application software that operates on basic software such as a word processor and a spreadsheet. Further, a plurality of application software programs are activated at any timing (varies depending on the main memory capacity), and these are shown as an application 206.

【0034】次に、アプリケーション201として任意
のイメージ編集ソフトを使用した場合を例に取り説明す
る。
Next, a case where arbitrary image editing software is used as the application 201 will be described as an example.

【0035】アプリケーション201で、イメージの編
集作業を中心に行い、そのイメージを印刷する時には、
マウス220などによってディスプレイモニタ10上に
表示される印刷メニューを選択して印刷を実行する。次
に、アプリケーション201は、基本OSの一部の機能
であるGDI202をコールする。このGDI202
は、画面表示や印刷出力などの表示デバイスや印刷デバ
イスを司る基本関数群であり、各社各様のアプリケーシ
ョンソフトウェアは、この基本関数群を利用すること
で、機種(ハードウェア)に依存する部分を意識するこ
となく、アプリケーションソフトウェアを動作させるこ
とが可能である。
In the application 201, the image editing work is mainly performed, and when printing the image,
Printing is executed by selecting a print menu displayed on the display monitor 10 with the mouse 220 or the like. Next, the application 201 calls the GDI 202 which is a partial function of the basic OS. This GDI202
Is a group of basic functions that controls display devices such as screen displays and printouts, and printing devices. By using this group of basic functions, application software of each company can identify parts that depend on the model (hardware). It is possible to operate application software without being aware of it.

【0036】次にGDI202では、それぞれの印刷装
置の機種に依存する情報を管理するプリンタドライバ2
03から印刷デバイス(この場合はプリンタ1000)
の持つ描画能力や印刷解像度などの情報を取り込み、ア
プリケーションソフト201からコールされたAPI関
数を処理し、その処理内容に応じてプリンタドライバが
GDI202に対して提供する関数をコールする。この
関数はあらかじめ決められたインタフェース(Devi
ce Driver Interface通称DDI)
になっており、プリンタドライバの作成者はこのインタ
フェースから実際の印刷装置へのデータ変換を中心にプ
リンタドライバを作成することとなる。
Next, in the GDI 202, the printer driver 2 that manages information depending on the model of each printing device
03 to printing device (printer 1000 in this case)
The information such as the drawing capability and print resolution of the printer is fetched, the API function called from the application software 201 is processed, and the function provided by the printer driver to the GDI 202 is called according to the processing contents. This function is a predetermined interface (Div
ce Driver Interface (aka DDI)
Therefore, the creator of the printer driver creates the printer driver focusing on the data conversion from this interface to the actual printing device.

【0037】プリンタドライバ203は、GDI202
より受け取ったDDI情報と、それ自信が持つグラフィ
カル・ユーザ・インタフェース(GUI)によって設定
された印刷環境設定をもとに、印刷データ(画像ビット
マップデータ)の生成処理207と、プリンタ制御コマ
ンドの生成処理208を行う。
The printer driver 203 is a GDI 202.
Generation processing 207 of print data (image bitmap data) and generation of printer control commands based on the received DDI information and the print environment setting set by the graphical user interface (GUI) that the user has. The process 208 is performed.

【0038】データ圧縮処理205は、データ転送時間
を縮小するため、またプリンタの搭載RAM使用容量を
少なくするため、ビットマップ展開された4色の画像デ
ータに圧縮を施すものである。
The data compression processing 205 compresses the image data of four colors that have been bit-mapped in order to reduce the data transfer time and to reduce the RAM usage capacity of the printer.

【0039】データ圧縮処理205により圧縮されたY
MCK各色の印刷データはプリントスプーラ204に対
して送出される。さらにこれらのデータは、プリントス
プーラ204を経由し、さらにホストコンピュータ30
00の接続手段であるところのI/F部8を経てプリン
タ1000へ送出されることになる。
Y compressed by the data compression processing 205
The print data of each color of MCK is sent to the print spooler 204. Further, these data are sent to the print spooler 204 and further to the host computer 30.
00 is sent to the printer 1000 via the I / F unit 8 which is a connecting means.

【0040】[レーザビームプリンタの説明(図3)]
本実施形態において、本発明を適用可能なタンデム方式
のカラーレーザビームプリンタの印刷機構を図3を参照
して説明する。
[Description of Laser Beam Printer (FIG. 3)]
In this embodiment, a printing mechanism of a tandem type color laser beam printer to which the present invention can be applied will be described with reference to FIG.

【0041】304はレーザ出力部であり、パルス化さ
れた画像ビットマップデータを光信号に変換し、レーザ
光線の照射をON/OFFさせる。レーザ出力部304
から出射したレーザ光は、ポリゴンミラー305の一側
面で反射され、回転している感光ドラム300の面を線
状に走査(ラスタスキャン)する。なお、感光ドラム3
00は、帯電器303により予め帯電されている。これ
によって、原稿画像に対応した静電潜像が感光ドラム3
00の面上に形成されることになる。次に、現像器ユニ
ット301から感光ドラム300の表面に各色トナーを
与えることにより、潜像を可視化する。
Reference numeral 304 denotes a laser output unit, which converts the pulsed image bit map data into an optical signal and turns on / off the irradiation of the laser beam. Laser output unit 304
The laser light emitted from is reflected by one side surface of the polygon mirror 305, and linearly scans (raster scans) the surface of the rotating photosensitive drum 300. The photosensitive drum 3
00 is previously charged by the charger 303. As a result, an electrostatic latent image corresponding to the original image is formed on the photosensitive drum 3.
00 surface. Next, the latent image is visualized by applying toner of each color from the developing device unit 301 to the surface of the photosensitive drum 300.

【0042】このような画像形成ユニットが、K(Bl
ack)、M(Magenta)、C(Cyan)、Y
(Yellow)それぞれのトナーを備え、直列に4つ
並んで配置されている。すなわち、各画像形成ユニット
において、帯電、露光、現像、転写の工程がほぼ並行し
て行われる。307の給紙カセットのような給紙口から
搬送された用紙は、302の転写器を通過する際にトナ
ー画像が用紙に転写される。用紙にKMCYすべてのト
ナー画像が転写されると、最後に306の定着器により
各色トナーが用紙に定着される。
Such an image forming unit is operated by K (Bl
ack), M (Magenta), C (Cyan), Y
(Yellow) Four toners are provided, and four toners are arranged in series. That is, in each image forming unit, the steps of charging, exposing, developing and transferring are performed substantially in parallel. A sheet conveyed from a sheet feeding port such as a sheet feeding cassette 307 has a toner image transferred onto the sheet when passing through a transfer device 302. When all the toner images of KMCY are transferred onto the paper, the fixing devices 306 finally fix the toners of the respective colors onto the paper.

【0043】上記構成により、YMCK4色によるフル
カラー印刷を実現する。
With the above configuration, full-color printing with four YMCK colors is realized.

【0044】[プリンタの動作の説明]次に、本実施形
態のカラーホストベースプリンタ制御システムにおける
プリント動作について説明する。前述したように小容量
のRAMでホストベース印刷システムを構築しようとし
た場合、画像データ受信バッファ106を用いた記憶処
理において問題が生じる。
[Description of Printer Operation] Next, the print operation in the color host-based printer control system of this embodiment will be described. As described above, if an attempt is made to construct a host-based printing system with a small-capacity RAM, a problem will occur in the storage process using the image data reception buffer 106.

【0045】すなわち、印刷画像の種類(テキスト、グ
ラフィック、イメージなど)や使用される色の偏り、各
色のディザパターンが異なるなどの要因により、圧縮後
の各色受信データのサイズにかなりばらつきが発生する
ことがある。
That is, due to factors such as the type of print image (text, graphic, image, etc.), the bias of the colors used, the dither pattern of each color, and the like, the size of the received data of each color after compression varies considerably. Sometimes.

【0046】このため、各色に関して、画像データ受信
バッファ106を均等に割り当てた場合、データサイズ
が大きい色ではRAMが不足、データサイズが小さい色
ではRAMに余裕があるという状態が生じ、RAMの使
用法としては、非効率的である。
For this reason, when the image data receiving buffers 106 are evenly allocated for each color, there is a shortage of RAM for a color with a large data size, and a margin for the RAM for a color with a small data size. The law is inefficient.

【0047】また、プリンタへのビデオデータ出力が画
像データ受信よりも速いとすると、印字の途中でプリン
タへ出力するビデオデータが無くなってしまい、印刷に
失敗する要因ともなる。
If the video data output to the printer is faster than the image data reception, there will be no video data to be output to the printer during printing, which may cause printing failure.

【0048】本実施形態では、この問題の発生を未然に
防ぐため、次に示す画像データ受信バッファ制御手順を
とるようにした。
In this embodiment, in order to prevent the occurrence of this problem, the following image data reception buffer control procedure is adopted.

【0049】図4は、本実施形態のプリンタにおける画
像データ受信バッファ制御手順を示すフローチャートで
ある。なお、本フローチャートの処理を実行するための
プログラムはROM13に記憶されており、CPU12
の制御の下に実行される。
FIG. 4 is a flow chart showing the image data reception buffer control procedure in the printer of this embodiment. A program for executing the processing of this flowchart is stored in the ROM 13, and the CPU 12
Executed under the control of.

【0050】本実施形態では、まずステップS11で印
刷が実行されたかどうか待つ。通常、印刷開始コマンド
がホストコンピュータから発行されるので、プリンタと
してはそれを待てばよい。
In the present embodiment, first, in step S11, it is waited whether printing has been executed. Normally, the print start command is issued from the host computer, so the printer may wait for it.

【0051】印刷が開始された場合、ステップS12へ
進み、データ圧縮処理205により圧縮された印刷する
ページのY(Yellow)、M(Magenta)、
C(Cyan)、K(Black)各色の画像データサ
イズを、コマンド/ステータスのやりとりを元に取得す
る。
When printing is started, the process proceeds to step S12, and Y (Yellow), M (Magenta) of the page to be printed compressed by the data compression processing 205,
The image data size of each color of C (Cyan) and K (Black) is acquired based on the exchange of commands / status.

【0052】ここで、本実施形態では、印刷画像の種類
(テキスト、グラフィック、イメージなど)や使用され
る色の偏り、各色のディザパターンが異なるなどの要因
により、圧縮後の各色データサイズにばらつきが発生し
ているとする。
In the present embodiment, the size of each color data after compression varies due to factors such as the type of print image (text, graphic, image, etc.), the bias of the colors used, and the dither pattern of each color. Is occurring.

【0053】そして、ステップS13で各色画像データ
サイズをすべて加算した全画像データサイズに対する、
各色画像データサイズの比率(割合)を算出する。例え
ば次のようなサイズ比になったとする。
Then, in step S13, with respect to the total image data size obtained by adding all the color image data sizes,
The ratio of each color image data size is calculated. For example, assume that the size ratio is as follows.

【0054】Y:M:C:K = 4:2:3:1 なお、ここで求める各色データのサイズ比は高い精度は
必要なく、簡単な整数比で問題ない。
Y: M: C: K = 4: 2: 3: 1 It is to be noted that the size ratio of each color data obtained here does not require high precision, and a simple integer ratio does not cause any problem.

【0055】次にステップS14で搭載しているRAM
容量(実際に画像データ受信バッファとして使用可能な
容量)を、各色画像データサイズ比に合わせ比例配分
し、各色画像データ受信バッファサイズを算出する。上
記例で搭載RAM容量が20Mbyteであった場合、
各色受信データバッファサイズは次のように決定され
る。
Next, the RAM installed in step S14
The capacity (capacity that can actually be used as an image data reception buffer) is proportionally distributed according to the image data size ratio of each color, and the image data reception buffer size of each color is calculated. In the above example, if the installed RAM capacity is 20 Mbytes,
The receive data buffer size for each color is determined as follows.

【0056】 Y : 8 MByte M : 4 MByte C : 6 MByte K : 2 MByte そして、決定された各色画像データ受信バッファサイズ
を元に、一般的にいわれるリングバッファ構造として領
域を確保し、FIFO方式のバッファとしての機能を設
定する。
Y: 8 MByte M: 4 MByte C: 6 MByte K: 2 MByte Then, an area is secured as a ring buffer structure generally called based on the determined color image data reception buffer size, and the FIFO method is used. Set the function as a buffer of.

【0057】なお、本実施形態においては各色画像デー
タサイズに対する受信バッファサイズの決定方法とし
て、画像データサイズ比と等しくなるように受信バッフ
ァサイズを求めたが、これに限定されるものではなく、
各色画像データサイズのうち最も大きい色に対してのみ
一定量のサイズを加算するなど、印刷ページ毎に各色画
像データバッファサイズを動的(ダイナミック)に変え
ていく仕組みであればいかなる方法でも良い。
In this embodiment, the receiving buffer size is determined so as to be equal to the image data size ratio as a method of determining the receiving buffer size for each color image data size, but the present invention is not limited to this.
Any method may be used as long as the size of each color image data buffer is dynamically changed for each print page, such as adding a fixed amount only to the largest color of each color image data size.

【0058】その後、実際にホストコンピュータから各
色画像データが送信され、対応する画像データ受信バッ
ファへ格納される。一方、プリンタエンジンの印字タイ
ミングに合わせて、各色受信バッファから画像データが
読み出され伸張処理が施され、印刷機構部においてレー
ザビームとして出力され印刷が実行される。ステップS
15で印刷が終了するのを待ち、最後にステップS16
で各色受信バッファの設定を解除し、メモリを開放する
ことで、1ページ分のカラー印刷が完了する。
After that, each color image data is actually transmitted from the host computer and stored in the corresponding image data receiving buffer. On the other hand, the image data is read from each color reception buffer in accordance with the print timing of the printer engine, is subjected to decompression processing, and is output as a laser beam in the printing mechanism section for printing. Step S
Wait until the printing is completed in step 15, and finally in step S16.
By canceling the setting of each color reception buffer and releasing the memory, color printing for one page is completed.

【0059】以上、本実施形態で説明したところによる
と、印刷ページ毎に各色画像データサイズに合わせて、
各色画像データ受信バッファサイズを動的(ダイナミッ
ク)に変更し設定することにより、小容量のRAMでも
無駄の無い効率的なメモリ制御が行えるため、低コスト
で、かつ印刷途中でプリンタへ出力する画像データが無
くなるといった印刷の失敗を減少させることを可能とす
る効果がある。
As described above in the present embodiment, according to each color image data size for each print page,
By dynamically changing and setting the size of each color image data receive buffer, efficient memory control can be performed without waste even with a small capacity RAM, so the image output to the printer at low cost and during printing There is an effect that it is possible to reduce printing failures such as loss of data.

【0060】<第2の実施形態>第1の実施形態では、
毎ページ各色画像データサイズに対応して、必ず各受信
バッファサイズを調整していた。本実施形態では、画像
データサイズが大きな時は受信バッファサイズの調整を
し、画像データサイズが小さい時は、受信バッファを均
等サイズに設定する場合を説明する。
<Second Embodiment> In the first embodiment,
The size of each receiving buffer is always adjusted in correspondence with the image data size of each color on each page. In the present embodiment, a case will be described in which the reception buffer size is adjusted when the image data size is large, and the reception buffer is set to a uniform size when the image data size is small.

【0061】図5は、本実施形態のプリンタにおける画
像データ受信バッファ制御手順を示すフローチャートで
ある。なお、本フローチャートの処理を実行するための
プログラムはROM13に記憶されており、CPU12
の制御の下に実行される。
FIG. 5 is a flow chart showing the image data reception buffer control procedure in the printer of this embodiment. A program for executing the processing of this flowchart is stored in the ROM 13, and the CPU 12
Executed under the control of.

【0062】まず、ステップS21において印刷が実行
されるのを待つ。印刷が開始されると、ステップS22
へ進み、ホストコンピュータとの通信を介して印刷ペー
ジのYMCK各色画像データサイズを取得する。そし
て、ステップS23でYMCK各色データサイズを加算
した全画像データサイズと、搭載RAM容量(実際に画
像データ受信バッファとして使用可能な容量)を比較
し、 (全画像データサイズ) > (搭載RAM容量) である場合は、ステップS24へ進み、各色画像データ
サイズをすべて加算した全画像データサイズに対する、
各色画像データサイズの比率(割合)を算出する。そし
て、ステップS25で搭載しているRAM容量(実際に
画像データ受信バッファとして使用可能な容量)を、各
色画像データサイズ比に合わせ比例配分し、各色画像デ
ータ受信バッファサイズを決定する。
First, in step S21, the process waits for printing. When printing is started, step S22
Then, the process proceeds to step S4 and acquires the YMCK color image data size of the print page through communication with the host computer. Then, in step S23, the total image data size obtained by adding the YMCK color data sizes is compared with the mounted RAM capacity (capacity that can actually be used as the image data reception buffer), and (total image data size)> (mounted RAM capacity) If it is, the process proceeds to step S24, and for all the image data sizes obtained by adding all the image data sizes of the respective colors,
The ratio of each color image data size is calculated. Then, the RAM capacity (capacity that can actually be used as the image data reception buffer) mounted in step S25 is proportionally distributed according to the image data size ratio of each color, and the image data reception buffer size of each color is determined.

【0063】なお、第1の実施形態と同様に各色画像デ
ータサイズを元に受信バッファサイズを決定する方法は
これに限定されるものではなく、印刷ページ毎に各色画
像データバッファサイズを動的(ダイナミック)に変え
ていく仕組みであればいかなる方法でも良い。
The method of determining the reception buffer size based on the color image data size of each color as in the first embodiment is not limited to this, and the color image data buffer size of each print page is dynamically changed ( Any method may be used as long as it is a mechanism for changing to dynamic).

【0064】一方、ステップS23において、 (全画像データサイズ) =< (搭載RAM容量) であった場合は、ステップS26へ進み、搭載している
RAM容量(実際に画像データ受信バッファとして使用
可能な容量)を均等に4分割し、これを各色画像データ
受信バッファサイズと決定する。
On the other hand, in step S23, if (total image data size) = <(installed RAM capacity), the process proceeds to step S26, and the installed RAM capacity (actually usable as an image data receiving buffer) (Capacity) is evenly divided into four, and this is determined as each color image data reception buffer size.

【0065】そして、決定された各色画像データ受信バ
ッファサイズを元に、一般的にいわれるリングバッファ
構造として領域を確保し、FIFO方式のバッファとし
ての機能を設定する。
Then, based on the determined color image data reception buffer size, an area is secured as a generally called ring buffer structure and a function as a FIFO buffer is set.

【0066】その後、実際にホストコンピュータから各
色画像データが送信され、対応する画像データ受信バッ
ファへ格納される。一方、プリンタエンジンの印字タイ
ミングに合わせて、各色受信バッファから画像データが
読み出され伸張処理が施された後、印刷機構部において
レーザビームとして出力され印刷が実行される。ステッ
プS27で印刷が終了するのを待ち、最後にステップS
28で各色受信バッファの設定を解除し、メモリを開放
することで、1ページ分のカラー印刷が完了する。
After that, each color image data is actually transmitted from the host computer and stored in the corresponding image data receiving buffer. On the other hand, image data is read from each color reception buffer and subjected to decompression processing in accordance with the print timing of the printer engine, and then output as a laser beam for printing in the printing mechanism unit. Wait until the printing is completed in step S27, and finally in step S27.
At 28, the setting of each color reception buffer is canceled and the memory is released, whereby the color printing for one page is completed.

【0067】以上、本実施形態で説明したところによる
と、搭載RAM容量に対して、全画像データサイズが大
きい場合は、各色画像データサイズに合わせて、各色画
像データ受信バッファサイズを動的(ダイナミック)に
変更し、一方、小さい場合は印刷するために必要なRA
Mが十分あるということで、受信バッファサイズを単純
に均等分配することで、小容量のRAMでも無駄の無い
効率的なメモリ制御が行えるため、低コストで、かつ印
刷途中でプリンタへ出力する画像データが無くなるとい
った印刷の失敗を減少させることを可能とする効果があ
る。
As described above in the present embodiment, when the total image data size is large with respect to the mounted RAM capacity, each color image data reception buffer size is dynamically changed according to each color image data size. ), While RA is required to print if smaller
Since M is sufficient, the receive buffer size is simply and evenly distributed, and efficient memory control can be performed without waste even with a small-capacity RAM. Therefore, an image output to the printer at low cost and during printing There is an effect that it is possible to reduce printing failures such as loss of data.

【0068】<第3の実施形態>第3の実施形態とし
て、搭載RAM容量が閾値として決められた一定値より
小さい時は受信バッファサイズの調整をし、大きい時
は、受信バッファを均等サイズに設定する場合を説明す
る。
<Third Embodiment> As a third embodiment, the receiving buffer size is adjusted when the on-board RAM capacity is smaller than a fixed value determined as a threshold value, and when it is larger, the receiving buffer is made uniform in size. The case of setting will be described.

【0069】図6は、本実施形態のプリンタにおける画
像データ受信バッファ制御手順を示すフローチャートで
ある。なお、本フローチャートの処理を実行するための
プログラムはROM13に記憶されており、CPU12
の制御の下に実行される。
FIG. 6 is a flow chart showing the image data reception buffer control procedure in the printer of this embodiment. A program for executing the processing of this flowchart is stored in the ROM 13, and the CPU 12
Executed under the control of.

【0070】まず、ステップS31において印刷が実行
されるのを待つ。印刷が開始されると、ステップS32
へ進み、ホストコンピュータとの通信を介して印刷ペー
ジのYMCK各色画像データサイズを取得する。そし
て、ステップS33で閾値として決められたRAM容量
と、搭載RAM容量(画像データ受信バッファとして使
用可能な容量)を比較する。ここで、閾値として用いる
RAM容量とは、自然画などの非常に複雑でデータ量が
大きくなる印刷データでも、印刷に十分とされるRAM
容量のことをいう。この閾値の算出方法は特に限定され
るものではなくいかなる方法で求めても良い。
First, in step S31, the process waits for printing. When printing is started, step S32
Then, the process proceeds to step S4 and acquires the YMCK color image data size of the print page through communication with the host computer. Then, the RAM capacity determined as the threshold value in step S33 is compared with the mounted RAM capacity (capacity that can be used as the image data receiving buffer). Here, the RAM capacity used as the threshold is a RAM sufficient for printing even print data such as a natural image that is very complicated and has a large data amount.
Refers to capacity. The method of calculating the threshold value is not particularly limited, and any method may be used.

【0071】そして、 (閾値として設定したRAM容量) > (搭載RAM
容量) である場合は、ステップS34へ進み、各色画像データ
サイズをすべて加算した全画像データサイズに対する、
各色画像データサイズの比率(割合)を算出する。そし
て、ステップS35で搭載しているRAM容量(実際に
画像データ受信バッファとして使用可能な容量)を、各
色画像データサイズ比に合わせ比例配分し、各色画像デ
ータ受信バッファサイズを決定する。
Then, (RAM capacity set as threshold value)> (Mounted RAM
Capacity), the process proceeds to step S34, and the total image data size is calculated by adding all the color image data sizes.
The ratio of each color image data size is calculated. Then, the RAM capacity (capacity that can actually be used as an image data reception buffer) mounted in step S35 is proportionally distributed according to the color image data size ratio, and the color image data reception buffer size is determined.

【0072】なお、第1の実施形態と同様に各色画像デ
ータサイズを元に受信バッファサイズを決定する方法は
これに限定されるものではなく、印刷ページ毎に各色画
像データバッファサイズを動的(ダイナミック)に変え
ていく仕組みであればいかなる方法でも良い。
As in the first embodiment, the method of determining the reception buffer size based on each color image data size is not limited to this, and each color image data buffer size is dynamically changed for each print page ( Any method may be used as long as it is a mechanism for changing to dynamic).

【0073】一方、ステップS33において、 (閾値として設定したRAM容量) =< (搭載RA
M容量) であった場合は、ステップS36へ進み、搭載している
RAM容量(実際に画像データ受信バッファとして使用
可能な容量)を均等に4分割し、これを各色画像データ
受信バッファサイズと決定する。
On the other hand, in step S33, (RAM capacity set as a threshold value) = <(mounted RA
If it is M capacity), the process proceeds to step S36, the installed RAM capacity (capacity that can actually be used as an image data reception buffer) is equally divided into four, and this is determined as the image data reception buffer size for each color. To do.

【0074】そして、決定された各色画像データ受信バ
ッファサイズを元に、一般的にいわれるリングバッファ
構造として領域を確保し、FIFO方式のバッファとし
ての機能を設定する。
Then, based on the determined color image data reception buffer size, an area is secured as a generally called ring buffer structure, and a function as a FIFO buffer is set.

【0075】その後、実際にホストコンピュータから各
色画像データが送信され、対応する画像データ受信バッ
ファへ格納される。一方、プリンタエンジンの印字タイ
ミングに合わせて、各色受信バッファから画像データが
読み出され伸張処理が施された後、印刷機構部において
レーザビームとして出力され印刷が実行される。ステッ
プS37で印刷が終了するのを待ち、最後にステップS
38で各色受信バッファの設定を解除し、メモリを開放
することで、1ページ分のカラー印刷が完了する。
Thereafter, the image data of each color is actually transmitted from the host computer and stored in the corresponding image data reception buffer. On the other hand, image data is read from each color reception buffer and subjected to decompression processing in accordance with the print timing of the printer engine, and then output as a laser beam for printing in the printing mechanism unit. Wait for the printing to end in step S37, and finally to step S37.
At 38, the setting of each color reception buffer is canceled and the memory is released, whereby the color printing for one page is completed.

【0076】以上、本実施形態で説明したところによる
と、小容量のRAMしか搭載されていない場合は、各色
画像データサイズに合わせて、各色画像データ受信バッ
ファサイズを動的(ダイナミック)に変更し、一方、オ
プションRAMの追加などにより、複雑な画像を印刷す
るのにも十分大きな搭載RAM容量となった場合は、受
信バッファサイズを単純に均等分配することで、搭載R
AM容量にあわせ、無駄の無い効率的なメモリ制御が行
えるため、低コストで、かつ印刷途中でプリンタへ出力
する画像データが無くなるといった印刷の失敗を減少さ
せることを可能とする効果がある。
As described above, according to the present embodiment, when only a small capacity RAM is installed, each color image data reception buffer size is dynamically changed according to each color image data size. On the other hand, if the installed RAM capacity is large enough to print a complicated image due to the addition of optional RAM, etc.
Since efficient memory control can be performed without waste in accordance with the AM capacity, there is an effect that it is possible to reduce printing failures at low cost, such as when there is no image data to be output to the printer during printing.

【0077】<他の実施形態>上記の実施形態では、ホ
ストベースのプリンタシステムを用いて本発明を説明し
たが、本発明はこれに限るものではなく、画像データを
プリンタエンジンへ出力させる処理を、複数色に関して
平行に実行する印刷装置を用いるものであれば、タンデ
ム方式以外の他のシステムにおいても適用可能である。
<Other Embodiments> In the above embodiments, the present invention has been described by using the host-based printer system. However, the present invention is not limited to this, and the process of outputting image data to the printer engine is not limited to this. As long as a printer that executes parallel processing for a plurality of colors is used, the system can be applied to systems other than the tandem system.

【0078】また、上記の実施形態では、プリンタのC
PUがプリンタのROMに格納されるプログラムに基づ
き、本発明に係る印刷制御を実行するようにしたが、本
発明に係る印刷制御は、他の装置において実行されるも
のであってもよい。
In the above embodiment, the C of the printer is used.
Although the PU executes the print control according to the present invention based on the program stored in the ROM of the printer, the print control according to the present invention may be executed by another device.

【0079】例えば、ホストコンピュータ側において、
プリンタドライバが、図4〜6に示す処理手順を実行す
る構成が考えられる。また、ネットワーク上にサーバを
設け、サーバが図4〜6に示す処理手順を実行する構成
が考えられる。この様な構成のシステムにおいて、図4
〜6に示す各ステップは、ネットワークを介して各デバ
イス間で通信することにより達成される。
For example, on the host computer side,
A configuration is conceivable in which the printer driver executes the processing procedure shown in FIGS. Further, a configuration in which a server is provided on the network and the server executes the processing procedure shown in FIGS. In the system having such a configuration, as shown in FIG.
Each step shown in to 6 is achieved by communicating between each device via a network.

【0080】本発明は、前述した実施形態の機能を実現
するソフトウェアのプログラムコードを記憶した記憶媒
体をシステムあるいは装置に供給し、そのシステムある
いは装置のコンピュータ(またはCPUやMPU)が記
憶媒体に格納されたプログラムコードを読み出し実行す
ることによっても、完成されることは言うまでもない。
この記憶媒体は、第1〜第3の実施形態では、ROM1
3に相当するが、上記他の実施形態においては、ホスト
コンピュータ、または、サーバにインストールされるド
ライバ等、印刷制御プログラムが格納されたCD−RO
M等が考えられる。
The present invention supplies a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. Needless to say, it is completed by reading and executing the created program code.
This storage medium is the ROM 1 in the first to third embodiments.
In the other embodiment, the CD-RO in which the print control program such as the driver installed in the host computer or the server is stored.
M etc. are considered.

【0081】この場合、記憶媒体から読み出されたプロ
グラムコード自体が前述した実施形態の機能を実現する
ことになり、そのプログラムコードを記憶した記憶媒体
は本発明を構成することになる。プログラムコードを供
給するための記憶媒体としては、例えば、フロッピー
(R)ディスク、ハードディスク、光ディスク、光磁気
ディスク、CD−ROM、CD−R、磁気テープ、不揮
発性のメモリカード、ROMを用いることができる。ま
た、コンピュータが読み出したプログラムコードを実行
することにより、前述した実施形態の機能が実現される
だけではなく、そのプログラムコードの指示に基づき、
コンピュータ上で稼動しているOSなどが実際の処理の
一部または全部を行い、その処理によって前述した実施
形態の機能が実現される場合も含まれることは言うまで
もない。
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. As the storage medium for supplying the program code, for example, a floppy (R) disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, or a ROM can be used. it can. Further, by executing the program code read by the computer, not only the functions of the above-described embodiment are realized, but also based on the instruction of the program code,
It goes without saying that this also includes the case where the OS or the like running on the computer performs some or all of the actual processing and the processing realizes the functions of the above-described embodiments.

【0082】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書きもまれた後、次のプログラムコードの指
示に基づき、その拡張機能を拡張ボードや拡張ユニット
に備わるCPUなどが処理を行って実際の処理の一部ま
たは全部を行い、その処理によって前述した実施形態の
機能が実現される場合も含まれることは言うまでもな
い。
Further, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the next program code is instructed. Based on this, the case where a CPU or the like included in an expansion board or an expansion unit performs the expansion function to perform a part or all of the actual processing and the processing realizes the function of the above-described embodiment is also included. Needless to say.

【0083】同様に、本発明は、前述した実施形態の機
能を実現するソフトウェアのプログラムコードを蓄積し
た外部装置(例えばサーバ装置)から、ネットワークを
介してダウンロードすることにより、システムあるいは
装置に供給し、そのシステムあるいは装置のコンピュー
タが、ダウンロードされたプログラムコードを読み出し
実行することによっても、完成されることは言うまでも
ない。
Similarly, the present invention is supplied to a system or an apparatus by downloading it from an external apparatus (for example, a server apparatus) that stores the program code of software that realizes the functions of the above-described embodiments via a network. Needless to say, the computer of the system or the apparatus is completed by reading and executing the downloaded program code.

【0084】[0084]

【発明の効果】以上説明してきたように、本発明によれ
ば、印刷出力すべき各色ビットマップデータのデータサ
イズを取得し、取得したデータサイズに応じて、各色ビ
ットマップデータの受信バッファのサイズを設定するこ
とにより、RAMを効率的に使用できかつ確実な印刷を
実行させることができるという効果がある。
As described above, according to the present invention, the data size of each color bitmap data to be printed out is acquired, and the size of the receiving buffer of each color bitmap data is acquired according to the acquired data size. By setting, there is an effect that the RAM can be used efficiently and reliable printing can be executed.

【0085】また、本発明によれば、プリンタエンジン
へ出力すべき各色画像データの割合をページ単位で算定
し、算定した割合に応じて、各色画像データの受信バッ
ファのサイズを設定することにより、RAMを効率的に
使用できかつ円滑にプリンタエンジンへ画像データを出
力させることができるという効果がある。
Further, according to the present invention, the ratio of each color image data to be output to the printer engine is calculated for each page, and the size of the receiving buffer for each color image data is set according to the calculated ratio. The RAM can be used efficiently and the image data can be smoothly output to the printer engine.

【図面の簡単な説明】[Brief description of drawings]

【図1】図1のLBPを含むプリンタ制御システムの構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a printer control system including the LBP of FIG.

【図2】本発明の実施形態における、タンデム式カーラ
ーレーザプリンタでのホストベース印刷システム構成を
示すブロック図である。
FIG. 2 is a block diagram showing a host-based printing system configuration in a tandem curler laser printer according to an embodiment of the present invention.

【図3】本発明の実施実施形態におけるタンデム方式の
カラーレーザビームプリンタ(LBP)の内部構造を示
す断面図である。
FIG. 3 is a sectional view showing an internal structure of a tandem type color laser beam printer (LBP) according to an embodiment of the present invention.

【図4】本発明の第1の実施形態のプリンタコントロー
ラにおける制御処理を示すフローチャートである。
FIG. 4 is a flowchart showing control processing in the printer controller according to the first embodiment of the present invention.

【図5】本発明の第2の実施形態のプリンタコントロー
ラにおける制御処理を示すフローチャートである。
FIG. 5 is a flowchart showing control processing in the printer controller according to the second embodiment of the present invention.

【図6】本発明の第3の実施形態のプリンタコントロー
ラにおける制御処理を示すフローチャートである。
FIG. 6 is a flowchart showing control processing in the printer controller according to the third embodiment of the present invention.

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

12 CPU 13 ROM 15 システムバス 16 印刷部I/F 17 印刷機構部 18 入力部 19 RAM 21 双方向性インタフェース 30 MC 31 HDD 100 コントローラ 101 受信バッファ 102 送信バッファ 103 画像/メモリ制御部 104 コマンド解析部 105 印刷制御処理実行部 106 画像データ受信バッファ 107 出力制御部 110 操作部パネル 1000 プリンタ 1001 プリンタコントローラ部 3000 ホストコンピュータ 12 CPU 13 ROM 15 system bus 16 Printing section I / F 17 Printing mechanism 18 Input section 19 RAM 21 Bidirectional interface 30 MC 31 HDD 100 controller 101 receive buffer 102 send buffer 103 image / memory control unit 104 Command parser 105 print control processing execution unit 106 image data reception buffer 107 Output control unit 110 Operation panel 1000 printers 1001 Printer controller section 3000 host computer

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 外部装置から転送される複数色のビット
マップデータを印刷装置において印刷出力させる印刷制
御装置であって、 印刷出力すべき各色ビットマップデータのデータサイズ
を取得する取得手段と、 前記取得手段により取得したデータサイズに応じて、前
記各色ビットマップデータの受信バッファのサイズを設
定する設定手段と、を有することを特徴とする印刷制御
装置。
1. A print control device for causing a printing device to print out bit map data of a plurality of colors transferred from an external device, and an acquisition unit for acquiring a data size of each color bit map data to be printed out. And a setting unit configured to set the size of the reception buffer for the bitmap data of each color according to the data size acquired by the acquisition unit.
【請求項2】 前記設定手段は、前記各色ビットマップ
データのデータサイズの合計に対する前記各色ビットマ
ップデータの割合に応じて、各色の受信バッファのサイ
ズを比例配分するように設定することを特徴とする請求
項1に記載の印刷制御装置。
2. The setting means sets the size of the receiving buffer of each color so as to be proportionally distributed in accordance with the ratio of the bitmap data of each color to the total data size of the bitmap data of each color. The print control apparatus according to claim 1.
【請求項3】 前記設定手段は、前記各色ビットマップ
データのデータサイズの合計が所定のサイズ以下の場
合、前記受信バッファのサイズを均等に配分するように
設定することを特徴とする請求項2に記載の印刷制御装
置。
3. The setting means sets the size of the reception buffer so as to be evenly distributed when the total data size of the color bitmap data is less than or equal to a predetermined size. The printing control device described in 1.
【請求項4】 前記所定のサイズは、使用可能なRAM
の容量であることを特徴とする請求項3に記載の印刷制
御装置。
4. The predetermined size of available RAM
The print control device according to claim 3, wherein the print control device has a capacity of
【請求項5】 前記設定手段は、使用可能なRAMの容
量が予め決められた閾値以下の場合、前記受信バッファ
のサイズを均等に配分するように設定することを特徴と
する請求項2に記載の印刷制御装置。
5. The setting means sets the receive buffer size so as to be evenly distributed when the usable RAM capacity is equal to or smaller than a predetermined threshold value. Print controller.
【請求項6】 前記印刷装置は、タンデム方式の印刷装
置であることを特徴とする請求項1〜5のいずれかに記
載の印刷制御装置。
6. The print control apparatus according to claim 1, wherein the printing apparatus is a tandem type printing apparatus.
【請求項7】 外部装置から転送される複数色のビット
マップデータを印刷装置において印刷出力させる印刷制
御方法であって、 印刷出力すべき各色ビットマップデータのデータサイズ
を取得する取得工程と、 前記取得工程において取得したデータサイズに応じて、
前記各色ビットマップデータの受信バッファのサイズを
設定する設定工程と、を有することを特徴とする印刷制
御方法。
7. A print control method for causing a printing device to print out bitmap data of a plurality of colors transferred from an external device, the obtaining step of obtaining a data size of each color bitmap data to be printed out, Depending on the data size acquired in the acquisition process,
A setting step of setting the size of the reception buffer of the bitmap data of each color.
【請求項8】 外部装置と、印刷装置と、前記外部装置
から転送される複数色のビットマップデータを前記印刷
装置において印刷出力させる印刷制御装置を含む印刷シ
ステムであって、 前記印刷制御装置は、 印刷出力すべき各色ビットマップデータのデータサイズ
を取得する取得手段と、 前記取得手段により取得したデータサイズに応じて、前
記各色ビットマップデータの受信バッファのサイズを設
定する設定手段と、を有することを特徴とする印刷シス
テム。
8. A printing system including an external device, a printing device, and a printing control device that causes the printing device to print out bit map data of a plurality of colors transferred from the external device. An acquisition unit that acquires the data size of each color bitmap data to be printed out, and a setting unit that sets the size of the reception buffer of each color bitmap data according to the data size acquired by the acquisition unit. A printing system characterized by the above.
【請求項9】 外部装置から転送される複数色のビット
マップデータを印刷装置において印刷出力させる印刷制
御方法を実行するためのプログラムであって、 印刷出力すべき各色ビットマップデータのデータサイズ
を取得する取得ステップと、 前記取得ステップにおいて取得したデータサイズに応じ
て、前記各色ビットマップデータの受信バッファのサイ
ズを設定する設定ステップと、を有することを特徴とす
るプログラム。
9. A program for executing a print control method for causing a printing device to print out bit map data of a plurality of colors transferred from an external device, wherein the data size of each color bit map data to be printed out is acquired. And a setting step of setting the size of the reception buffer of each color bitmap data according to the data size acquired in the acquisition step.
【請求項10】 外部装置から転送される画像データを
プリンタエンジンへ出力させる処理を、複数色に関して
平行に実行させる印刷制御装置であって、 プリンタエンジンへ出力すべき各色画像データの割合を
ページ単位で算定する算定手段と、 前記算定手段により算定した割合に応じて、前記各色画
像データの受信バッファのサイズを設定する設定手段
と、を有することを特徴とする印刷制御装置。
10. A print control apparatus for executing processing for outputting image data transferred from an external device to a printer engine in parallel for a plurality of colors, wherein the ratio of each color image data to be output to the printer engine is in page units. And a setting unit configured to set the size of the reception buffer of each color image data according to the ratio calculated by the calculation unit.
JP2002155753A 2002-05-29 2002-05-29 Print control device, print control method, print system, and program Withdrawn JP2003341152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002155753A JP2003341152A (en) 2002-05-29 2002-05-29 Print control device, print control method, print system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002155753A JP2003341152A (en) 2002-05-29 2002-05-29 Print control device, print control method, print system, and program

Publications (1)

Publication Number Publication Date
JP2003341152A true JP2003341152A (en) 2003-12-03

Family

ID=29772203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002155753A Withdrawn JP2003341152A (en) 2002-05-29 2002-05-29 Print control device, print control method, print system, and program

Country Status (1)

Country Link
JP (1) JP2003341152A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013151118A (en) * 2012-01-25 2013-08-08 Ricoh Co Ltd Printing apparatus and printing control method
JP2019130772A (en) * 2018-01-31 2019-08-08 ブラザー工業株式会社 Image formation apparatus and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013151118A (en) * 2012-01-25 2013-08-08 Ricoh Co Ltd Printing apparatus and printing control method
JP2019130772A (en) * 2018-01-31 2019-08-08 ブラザー工業株式会社 Image formation apparatus and program

Similar Documents

Publication Publication Date Title
JP3826038B2 (en) Printing system, printing method therefor, and printing apparatus
US8472043B2 (en) Information processing apparatus and its control method for managing distributed processing
US8625133B2 (en) Print data processing apparatus, print data processing method, and storage medium
US20050168777A1 (en) Data processing apparatus adaptable to plural environments and data processing method
KR100757154B1 (en) Information processing apparatus and its control method
JP3962606B2 (en) Printing command generation apparatus and method, printing apparatus and control method thereof, information processing apparatus, and printing system
JP4418642B2 (en) HOST DEVICE, PRINTING DEVICE, PRINTING SYSTEM HAVING THEM, PRINT CONTROL METHOD, AND PROGRAM THEREOF
JP4174476B2 (en) Data processing apparatus, data processing method, printer driver program, print control apparatus, print control method, and printing system
JP2003114778A (en) Printing system, print control device, printing device, compression method selection method, and storage medium
JP4095581B2 (en) Information processing apparatus and control method thereof
US7352484B2 (en) Printing system and management method therefor
JP2003341152A (en) Print control device, print control method, print system, and program
JP2005018494A (en) Data processing apparatus, print data generation method, computer-readable storage medium storing program, and program
JP2003044235A (en) Host-based printing system and control method thereof
JP2007140952A (en) Distributed processing system and processing method thereof
JP2004334511A (en) Host-based printing system
JP2003122521A (en) Printing system, information processing apparatus, drawing method thereof, program, and storage medium
JP2004326266A (en) Print control method, information processing apparatus and printing apparatus
JPH1049317A (en) Print control apparatus and method, and storage medium
JP2005169671A (en) Data processing apparatus, print control method, computer-readable storage medium storing program, and program
JP2006163870A (en) Image forming apparatus
JP2005349772A (en) Printing apparatus and control method thereof
JP2007058547A (en) Printing system
JP2003330645A (en) Host-based printing system
JP2003044241A (en) Host-based printing system and control method thereof

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050802