JP2015141561A - Data processing device, program, and control method - Google Patents

Data processing device, program, and control method Download PDF

Info

Publication number
JP2015141561A
JP2015141561A JP2014013959A JP2014013959A JP2015141561A JP 2015141561 A JP2015141561 A JP 2015141561A JP 2014013959 A JP2014013959 A JP 2014013959A JP 2014013959 A JP2014013959 A JP 2014013959A JP 2015141561 A JP2015141561 A JP 2015141561A
Authority
JP
Japan
Prior art keywords
resolution
processing unit
print
processing
generating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014013959A
Other languages
Japanese (ja)
Inventor
慎太郎 鈴木
Shintaro Suzuki
慎太郎 鈴木
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 JP2014013959A priority Critical patent/JP2015141561A/en
Publication of JP2015141561A publication Critical patent/JP2015141561A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To execute time prediction processing on RIP processing with high accuracy and at high speed.SOLUTION: Raster image data is generated in a second resolution lower than a first resolution. At that time, processing time to generate raster image data in the second resolution is measured from print data. Then, processing time for the generation means to generate raster image data in the first resolution is predicted from the measured processing time.

Description

本発明は、データ処理装置及びプログラム、制御方法に関するものである。   The present invention relates to a data processing apparatus, a program, and a control method.

印刷装置が行うプリントデータのRIP処理に掛る時間は、入力されるプリントデータの内容に依存してしまう。よって、ユーザが作成するプリントデータの内容によっては、プリント出力までに非常に時間が掛ってしまう場合もある。そのようなプリントデータのプリントに対して、どの程度時間が掛るかをユーザが予め把握できることは、有用である。そのためプリントデータに含まれる描画オブジェクトの個数やデータサイズを元に、RIP処理に掛る時間を予測する時間予測方法が知られている(特許文献1)。   The time required for RIP processing of print data performed by the printing apparatus depends on the contents of the input print data. Therefore, depending on the contents of the print data created by the user, it may take a very long time to output the print. It is useful for the user to know in advance how long it will take to print such print data. Therefore, a time prediction method for predicting the time required for RIP processing based on the number of drawing objects included in the print data and the data size is known (Patent Document 1).

特開2001−88366号公報JP 2001-88366 A

RIP処理では各描画オブジェクトの描画処理以外にも描画オブジェクトの位置に応じてソート処理を行うことで、より効率的に描画処理を行っている。そのため従来技術のように描画オブジェクトの個数やデータサイズの積み上げからは、精度が高い時間予測処理を行うことは、難しい。   In the RIP process, in addition to the drawing process of each drawing object, the sorting process is performed according to the position of the drawing object, thereby performing the drawing process more efficiently. Therefore, it is difficult to perform time prediction processing with high accuracy from the accumulation of the number of drawing objects and the data size as in the prior art.

本発明は、上記の課題を解決するためになされたもので、本発明の目的は、RIP処理に掛る時間予測処理をより精度高く、高速に実行できる仕組みを提供することである。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a mechanism capable of executing a time prediction process for RIP processing with higher accuracy and at high speed.

上記目的を達成する本発明のデータ処理装置は以下に示す構成を備える。
第1の解像度よりも低い第2の解像度でラスタイメージデータを生成する生成手段と、
前記生成手段が前記第2の解像度で生成する際に要する処理時間を測定する測定手段と、
前記測定手段により測定された処理時間から前記生成手段が前記第1の解像度でラスタイメージデータを生成する処理時間を予測する予測手段と、
を備えることを特徴とする。
The data processing apparatus of the present invention that achieves the above object has the following configuration.
Generating means for generating raster image data at a second resolution lower than the first resolution;
Measuring means for measuring a processing time required for the generating means to generate at the second resolution;
Predicting means for predicting processing time for the generating means to generate raster image data at the first resolution from the processing time measured by the measuring means;
It is characterized by providing.

本発明によれば、RIP処理に掛る時間予測処理をより精度高く、高速に実行できる。   According to the present invention, it is possible to execute the time prediction process for the RIP process with high accuracy and at high speed.

印刷装置を適用可能な印刷システムを示すブロック図である。1 is a block diagram illustrating a printing system to which a printing apparatus can be applied. プリントコントローラの構成を説明するブロック図である。2 is a block diagram illustrating a configuration of a print controller. FIG. 印刷装置のプリント処理の流れを説明する図である。It is a figure explaining the flow of the printing process of a printing apparatus. 図1に示した情報処理装置の構成を説明するブロック図である。It is a block diagram explaining the structure of the information processing apparatus shown in FIG. 情報処理装置のプリント処理の流れを説明する図である。FIG. 10 is a diagram illustrating a flow of print processing of the information processing apparatus. 図2に示したRIP処理部の概略を示す図である。It is a figure which shows the outline of the RIP process part shown in FIG. 印刷システムの制御方法を説明するフローチャートである。6 is a flowchart illustrating a control method of the printing system. 印刷装置の制御方法を説明するフローチャートである。6 is a flowchart illustrating a method for controlling the printing apparatus. 印刷システムの制御方法を説明するフローチャートである。6 is a flowchart illustrating a control method of the printing system. 印刷システムの制御方法を説明するフローチャートである。6 is a flowchart illustrating a control method of the printing system. 印刷システムの制御方法を説明するフローチャートである。6 is a flowchart illustrating a control method of the printing system.

次に本発明を実施するための最良の形態について図面を参照して説明する。
<システム構成の説明>
〔第1実施形態〕
図1は、本実施形態を示す印刷装置を適用可能な印刷システムを示すブロック図である。本例では、情報処理装置と印刷装置の2つのデータ処理装置がネットワークを用いて接続されて双方向に通信可能に構成されている。
Next, the best mode for carrying out the present invention will be described with reference to the drawings.
<Description of system configuration>
[First Embodiment]
FIG. 1 is a block diagram illustrating a printing system to which the printing apparatus according to the present embodiment can be applied. In this example, two data processing apparatuses, an information processing apparatus and a printing apparatus, are connected using a network and configured to be capable of bidirectional communication.

図1において、印刷システムは、ホストコンピュータ101、LAN(Local Area Network)102、プリンタ103で構成されている。またプリンタ103はユーザパネル104、プリントコントローラ105、及びプリントエンジン106で構成されている。ユーザは、ホストコンピュータ101からLAN102経由してプリント指示とともにPDL(Page Description Language)で記述されたプリントデータをプリンタ103に送信する。   In FIG. 1, the printing system includes a host computer 101, a LAN (Local Area Network) 102, and a printer 103. The printer 103 includes a user panel 104, a print controller 105, and a print engine 106. The user transmits print data described in PDL (Page Description Language) together with a print instruction from the host computer 101 via the LAN 102 to the printer 103.

ホストコンピュータ101からのプリント要求及びプリントデータは、プリントコントローラ105で受信する。プリントコントローラ105では、プリント要求に応じてプリントジョブを開始し、プリントデータから画像データを形成し、その画像データをプリントエンジン106に渡す。プリントエンジン106は、画像データを元に紙媒体に印字出力を行なう。   A print request and print data from the host computer 101 are received by the print controller 105. The print controller 105 starts a print job in response to a print request, forms image data from the print data, and passes the image data to the print engine 106. The print engine 106 prints out a paper medium based on the image data.

プリントジョブは、プリントエンジン106が印字出力されることで終了する。ユーザパネル104では、ユーザからの要求に応じてプリントコントローラ105内部で使用するパラメータ設定変更を行える他、プリントやコピーなどのプリンタが備えている各種サービスを実行することができる。   The print job ends when the print engine 106 prints out the print job. The user panel 104 can change parameter settings used in the print controller 105 in response to a request from the user, and can execute various services provided in the printer such as printing and copying.

図2は、図1に示したプリントコントローラ105の構成を説明するブロック図である。
図2において、201は、システムバスでコントローラ内部でのデータ伝送を行っている。202は、ネットワークI/F(InterFace)でホストコンピュータ101とプリントコントローラ105がデータのやり取りを行うためのインターフェースである。
FIG. 2 is a block diagram illustrating the configuration of the print controller 105 shown in FIG.
In FIG. 2, reference numeral 201 denotes a system bus for data transmission inside the controller. Reference numeral 202 denotes an interface for allowing the host computer 101 and the print controller 105 to exchange data via a network I / F (Interface).

ホストコンピュータ101からLAN102経由で送信されたプリントデータは、ネットワークI/F202)を経由することでプリントコントローラが受信することができる。203は、汎用のCPU(Central Processing Unit)でRAM(Random Access Memory)に展開されたROM(Read Only Memory)データに従って、処理を実行する役割を持っている。204は、パネルI/Fでユーザパネル104とプリントコントローラ105がデータのやり取りを行うためのインターフェースである。   Print data transmitted from the host computer 101 via the LAN 102 can be received by the print controller via the network I / F 202). A general-purpose CPU (Central Processing Unit) 203 has a role of executing processing in accordance with ROM (Read Only Memory) data developed in a RAM (Random Access Memory). Reference numeral 204 denotes an interface for allowing the user panel 104 and the print controller 105 to exchange data with the panel I / F.

ユーザパネル104からユーザが行った要求は、パネルI/F205を経由することでプリントコントローラが受信することができる。206は、エンジンI/Fでプリントエンジン106とプリントコントローラ105がデータのやり取りを行うためのインターフェースである。プリントコントローラ内部で生成した画像データは、エンジンI/F206を経由してプリントエンジン106に渡される。   A request made by the user from the user panel 104 can be received by the print controller via the panel I / F 205. Reference numeral 206 denotes an interface through which the print engine 106 and the print controller 105 exchange data with the engine I / F. Image data generated inside the print controller is passed to the print engine 106 via the engine I / F 206.

204はROMで、ジョブ制御処理部211、PDL解釈処理部212、RIP処理部213、時間予測処理部214等のソフトウェアモジュールが格納されている。これらは、ソフトウェアモジュールでRAM207上に展開されてCPU203に実行されることで、各機能に対応した処理が実現される。ここで、PDL解釈処理部212は、ホストコンピュータ101から受信した印刷データ(PLDデータ)を解釈し、解釈されたオブジェクトをRIP処理部213がラスタイメージデータとして生成する。   A ROM 204 stores software modules such as a job control processing unit 211, a PDL interpretation processing unit 212, a RIP processing unit 213, and a time prediction processing unit 214. These are developed on the RAM 207 by software modules and executed by the CPU 203, thereby realizing processing corresponding to each function. Here, the PDL interpretation processing unit 212 interprets the print data (PLD data) received from the host computer 101, and the RIP processing unit 213 generates the interpreted object as raster image data.

207はRAM(Random Access Memory)である。RAM207の内部は、プリントデータ格納領域221、中間データ格納領域222、画像データ格納領域223)、測定データ格納領域224及び予測データ格納領域225で構成されている。   Reference numeral 207 denotes a RAM (Random Access Memory). The RAM 207 includes a print data storage area 221, an intermediate data storage area 222, an image data storage area 223), a measurement data storage area 224, and a predicted data storage area 225.

図3の(A)は、本実施形態を示す印刷装置のプリント処理の流れを説明する図である。
図3の(A)において、プリントコントローラ105で実施されるプリントにおける動作概念の一例を示している。ジョブ制御処理部211は、ネットワークI/F202を経由して受信したホストコンピュータ101からのプリント指示を受信すると、続いて受信するプリントデータをプリントデータ格納領域221に格納する。
FIG. 3A is a diagram illustrating the flow of print processing of the printing apparatus according to the present embodiment.
FIG. 3A shows an example of an operation concept in printing performed by the print controller 105. When the job control processing unit 211 receives a print instruction from the host computer 101 received via the network I / F 202, the job control processing unit 211 stores the received print data in the print data storage area 221.

ジョブ制御処理部211は、ホストコンピュータ101からプリント指示を受信すると、プリントジョブを開始し、PDL解釈処理部212にプリントデータの解釈処理の開始要求をする。PDL解釈処理部212は、ジョブ制御処理部211からの開始要求を受けると、プリントデータ格納領域221に格納されたプリントデータの解釈処理を行い中間データの生成を行う。   Upon receiving a print instruction from the host computer 101, the job control processing unit 211 starts a print job and requests the PDL interpretation processing unit 212 to start print data interpretation processing. When the PDL interpretation processing unit 212 receives a start request from the job control processing unit 211, the PDL interpretation processing unit 212 interprets the print data stored in the print data storage area 221 and generates intermediate data.

PDL解釈処理部212は、生成した中間データを中間データ格納領域222に格納し、プリントデータ格納領域221に格納されたプリントデータの解釈処理が終了すると、ジョブ制御処理部211に処理終了の通知を行う。   The PDL interpretation processing unit 212 stores the generated intermediate data in the intermediate data storage area 222. When the interpretation processing of the print data stored in the print data storage area 221 is completed, the job control processing unit 211 is notified of the completion of the process. Do.

ジョブ制御処理部211は、PDL解釈処理部212からの処理終了を通知されると、RIP処理部213に描画処理の開始要求を行う。RIP処理部213は、ジョブ制御処理部211から描画処理の開始要求を受けると、中間データ格納領域222に格納されている中間データに従って画像データを生成し、画像データ格納領域223に画像データを格納する。RIP処理部213は、画像データの生成を終了すると、ジョブ制御処理部211に処理終了を通知する。   When the job control processing unit 211 is notified of the end of processing from the PDL interpretation processing unit 212, the job control processing unit 211 requests the RIP processing unit 213 to start drawing processing. When the RIP processing unit 213 receives a drawing processing start request from the job control processing unit 211, the RIP processing unit 213 generates image data according to the intermediate data stored in the intermediate data storage area 222 and stores the image data in the image data storage area 223. To do. When the generation of the image data is finished, the RIP processing unit 213 notifies the job control processing unit 211 of the end of processing.

ジョブ制御処理部211は、RIP処理部213から処理終了を通知されると、エンジンI/F205を経由して、プリントエンジン106に画像データ格納領域223に格納された画像データをプリントエンジン106に送信する。プリントエンジン106が印字出力を終了させると、エンジンI/F106を経由して、ジョブ制御処理部211に処理終了が通知される。ジョブ制御処理部211は、プリントエンジンの処理終了を通知されると、プリントジョブを終了させる。   When the job end is notified from the RIP processing unit 213, the job control processing unit 211 transmits the image data stored in the image data storage area 223 to the print engine 106 via the engine I / F 205. To do. When the print engine 106 finishes printing, the job control processing unit 211 is notified of the end of processing via the engine I / F 106. When the job control processing unit 211 is notified of the end of the print engine processing, the job control processing unit 211 ends the print job.

図3の(B)は、本実施形態を示す印刷装置のプリント処理の流れを説明する図である。
図3の(B)において、プリントコントローラ105で実施されるプリントにおけるRIP処理の時間予測処理に関する動作概念の一例を示している。ジョブ制御処理部211は、ネットワークI/F202を経由して受信したホストコンピュータ101からのプリント指示を受信すると、続いて受信するプリントデータをプリントデータ格納領域221に格納する。
FIG. 3B is a diagram for explaining the flow of print processing of the printing apparatus according to the present embodiment.
FIG. 3B shows an example of an operation concept related to time prediction processing for RIP processing in printing performed by the print controller 105. When the job control processing unit 211 receives a print instruction from the host computer 101 received via the network I / F 202, the job control processing unit 211 stores the received print data in the print data storage area 221.

ジョブ制御処理部211は、ホストコンピュータからプリント指示を受信すると、プリントジョブを開始し、PDL解釈処理部212にプリントデータの解釈処理の開始要求をする。PDL解釈処理部212は、ジョブ制御処理部211からの開始要求を受けると、プリントデータ格納領域221に格納されたプリントデータの解釈処理を行い中間データの生成を行う。   Upon receiving a print instruction from the host computer, the job control processing unit 211 starts a print job and requests the PDL interpretation processing unit 212 to start the print data interpretation process. When the PDL interpretation processing unit 212 receives a start request from the job control processing unit 211, the PDL interpretation processing unit 212 interprets the print data stored in the print data storage area 221 and generates intermediate data.

このときPDL解釈処理部は、実際のプリント処理で適用される解像度(例えば600dpi)よりも低解像度(例えば、150dpi,75dpi)でRIP処理が行える中間データを生成する。PDL解釈処理部212は、生成した中間データを中間データ格納領域222に格納し、プリントデータ格納領域221に格納されたプリントデータの解釈処理が終了すると、ジョブ制御処理部211に終了通知をする。ジョブ制御処理部211は、PDL解釈処理部212からの終了通知を受けると、RIP処理部213に描画処理の開始要求を行う。   At this time, the PDL interpretation processing unit generates intermediate data that can be subjected to RIP processing at a resolution (for example, 150 dpi, 75 dpi) lower than the resolution (for example, 600 dpi) applied in the actual print processing. The PDL interpretation processing unit 212 stores the generated intermediate data in the intermediate data storage area 222, and when the interpretation processing of the print data stored in the print data storage area 221 ends, notifies the job control processing unit 211 of the end. When the job control processing unit 211 receives an end notification from the PDL interpretation processing unit 212, it requests the RIP processing unit 213 to start drawing processing.

RIP処理部213は、ジョブ制御処理部211から描画処理の開始要求を受けると、まず開始時刻を取得する。次にRIP処理は、中間データ格納領域222に格納されている中間データに従って画像データを生成し、画像データ格納領域223に画像データを格納する。   Upon receiving a drawing process start request from the job control processing unit 211, the RIP processing unit 213 first acquires a start time. Next, in the RIP process, image data is generated according to the intermediate data stored in the intermediate data storage area 222, and the image data is stored in the image data storage area 223.

RIP処理部213は、画像データの生成を終了させると、最後に終了時刻を取得し、開始時刻と終了時刻の差をRIP処理に掛った時間を測定データとして、予測データ格納領域224に格納する。RIP処理部213は、測定データの格納が完了すると、ジョブ制御処理部211に終了通知をする。ジョブ制御処理部211は、RIP処理部213から処理の終了を通知されると、再びPDL解釈処理部212にPDL解釈処理及びRIP処理部213にRIP処理を行わせる。   When the generation of the image data is finished, the RIP processing unit 213 finally obtains the end time, and stores the difference between the start time and the end time in the predicted data storage area 224 as the measurement data, which is the time taken for the RIP process. . When the storage of the measurement data is completed, the RIP processing unit 213 notifies the job control processing unit 211 of the end. When the job control processing unit 211 is notified of the end of processing from the RIP processing unit 213, the job control processing unit 211 causes the PDL interpretation processing unit 212 to perform PDL interpretation processing and the RIP processing unit 213 again to perform RIP processing.

そしてRIP処理部213にそのときのRIP処理に要する時間を測定データとして予測データ格納領域224に格納する。ジョブ制御処理部211は、RIP処理部213から処理終了の通知を受けると、時間予測処理部214にプリント時に掛かるRIP処理時間の時間予測処理の開始を要求する。時間予測処理部214は、開始要求を受けると。予測データ格納領域224に格納された測定データからプリント時のRIP処理に掛る時間を計算し予測する。この際、時間予測処理部214は、印刷データで要求された解像度よりも低い解像度でRIP処理を解像度毎に複数回行う。なお、その際、印刷データに含まれるオブジェクト数に基づいて、予測処理の可否を決定する処理を後述するように行う。   Then, the RIP processing unit 213 stores the time required for the RIP processing at that time in the predicted data storage area 224 as measurement data. When the job control processing unit 211 receives a notification of the end of processing from the RIP processing unit 213, the job control processing unit 211 requests the time prediction processing unit 214 to start time prediction processing for the RIP processing time required for printing. When the time prediction processing unit 214 receives a start request. The time required for RIP processing at the time of printing is calculated and predicted from the measurement data stored in the predicted data storage area 224. At this time, the time prediction processing unit 214 performs RIP processing a plurality of times for each resolution at a resolution lower than the resolution requested in the print data. At this time, a process for determining whether or not the prediction process is possible is performed based on the number of objects included in the print data, as will be described later.

時間予測処理部214が予測したRIP処理に掛る時間は、予測データとして、予測データ格納領域225に格納される。時間予測処理部214は、予測処理が終了するとジョブ制御処理部211に終了通知をする。ジョブ制御処理部211は、時間予測処理部214から終了通知を受けると、予測データ格納領域に格納された予測データをネットワークI/F202からLAN102を経由して、ホストコンピュータ101に送信する。   The time required for the RIP processing predicted by the time prediction processing unit 214 is stored in the prediction data storage area 225 as prediction data. The time prediction processing unit 214 notifies the job control processing unit 211 of the end when the prediction processing ends. When the job control processing unit 211 receives an end notification from the time prediction processing unit 214, the job control processing unit 211 transmits the prediction data stored in the prediction data storage area to the host computer 101 from the network I / F 202 via the LAN 102.

図4の(A)は、図1に示した情報処理装置の構成を説明するブロック図である。本例は、ホストコンピュータ101内部のハードウェア構成の一例に対応する。
図4の(A)において、401は、システムバスでホストコンピュータ内部でのデータ伝送を行っている。402は、入力I/Fでキーボードやポインティングデバイスなどの入力機器を接続するためのインターフェースである。
FIG. 4A is a block diagram illustrating the configuration of the information processing apparatus illustrated in FIG. This example corresponds to an example of a hardware configuration inside the host computer 101.
In FIG. 4A, reference numeral 401 denotes a system bus for data transmission inside the host computer. Reference numeral 402 denotes an interface for connecting an input device such as a keyboard and a pointing device with the input I / F.

403は、出力I/Fでディスプレイなど出力機器を接続するためのインターフェースである。404は、ネットワークI/Fでホストコンピュータ101とプリントコントローラ105がデータのやり取りを行うためのインターフェースである。405は、汎用のCPU(Central Processing Unit)でRAM(Random Access Memory)に展開されたOSやアプリケーションプログラム、プリンタドライバに従って、処理を実行する役割を持っている。   Reference numeral 403 denotes an interface for connecting an output device such as a display with the output I / F. Reference numeral 404 denotes an interface for the host computer 101 and the print controller 105 to exchange data via the network I / F. A general-purpose CPU (Central Processing Unit) 405 has a role of executing processing in accordance with an OS, an application program, and a printer driver that are expanded in a RAM (Random Access Memory).

406は、RAMでCPUが実行するプログラムやデータの読み出し及び書き出しを行う領域である。407は、記憶装置でアプリケーションプログラム408、プリンタドライバ409及びOS410)及びその他ファイル(非記載)が格納されている領域である。   Reference numeral 406 denotes an area for reading and writing out programs and data executed by the CPU in the RAM. Reference numeral 407 denotes a storage device in which an application program 408, a printer driver 409, and an OS 410) and other files (not shown) are stored.

図4の(B)は、図4の(A)に示したプリンタドライバの内部の構成を示すブロック図である。
図4の(B)において、411は、UI処理部でユーザによる印刷指示を受け付ける他、プリンタ103から情報を取得して、出力I/F403を経由して、ディスプレイへの表示を行っている。
FIG. 4B is a block diagram showing an internal configuration of the printer driver shown in FIG.
In FIG. 4B, reference numeral 411 denotes a UI processing unit that receives a print instruction from the user, acquires information from the printer 103, and displays the information on the display via the output I / F 403.

またUI処理部411以外にもジョブ制御処理部412、PDL生成部413、PDL解釈処理部414、RIP処理部415、時間予測処理部416、といったソフトウェアモジュールで構成されている。あと描画コマンド格納領域421、プリントデータ格納領域422、中間データ格納領域423、測定データ格納領域424、及び予測データ格納領域425、サンプルプリントデータ426、個別のプリンタ登録情報格納領域427で構成されている。   In addition to the UI processing unit 411, the job control processing unit 412, the PDL generation unit 413, the PDL interpretation processing unit 414, the RIP processing unit 415, and the time prediction processing unit 416 are configured as software modules. It is further composed of a drawing command storage area 421, a print data storage area 422, an intermediate data storage area 423, a measurement data storage area 424, a predicted data storage area 425, sample print data 426, and an individual printer registration information storage area 427. .

図5は、本実施形態を示す情報処理装置のプリント処理の流れを説明する図である。本例は、プリンタドライバ409で実施されるプリント処理におけるRIP処理の時間予測処理に関する動作概念の一例を示している。
図5において、UI処理部411がユーザから印刷指示を受け付けると、ジョブ制御処理部412は、プリントジョブを開始する。
FIG. 5 is a diagram for explaining the flow of print processing of the information processing apparatus according to the present embodiment. This example shows an example of an operation concept related to time prediction processing of RIP processing in print processing executed by the printer driver 409.
In FIG. 5, when the UI processing unit 411 receives a print instruction from the user, the job control processing unit 412 starts a print job.

ジョブ制御処理部412は、アプリケーションプログラム408が使用するWindows(登録商標)GDIといったOS410の描画コマンドを描画コマンド格納領域421に格納する。ジョブ制御処理部412は、PDL生成部413に描画コマンドからプリントデータの生成処理の開始要求をする。   The job control processing unit 412 stores a drawing command of the OS 410 such as Windows (registered trademark) GDI used by the application program 408 in the drawing command storage area 421. The job control processing unit 412 requests the PDL generation unit 413 to start print data generation processing from a drawing command.

PDL生成部413は、ジョブ制御処理部412からプリントデータ生成の開始要求を受けると、描画コマンド格納領域421に格納された描画コマンドからPDLで記述されたプリントデータを生成し、プリントデータ格納領域422に格納する。PDL生成部413は、プリントデータ生成を終了させると、ジョブ制御処理部412に終了通知をする。   Upon receiving a print data generation start request from the job control processing unit 412, the PDL generation unit 413 generates print data described in PDL from the drawing command stored in the drawing command storage area 421, and the print data storage area 422. To store. When the PDL generation unit 413 ends the print data generation, the PDL generation unit 413 notifies the job control processing unit 412 of the end.

ジョブ制御処理部412は、PDL生成部413から終了通知を受けると、PDL解釈処理部414にプリントデータの解釈処理の開始要求をする。PDL解釈処理部414は、ジョブ制御処理部412からの開始要求を受けると、プリントデータ格納領域422に格納されたプリントデータの解釈処理を行い中間データの生成を行う。このときPDL解釈処理部は、実際のプリント処理で適用される解像度(例えば600dpi)よりも低解像度(例えば、150dpi,75dpi)でRIP処理が行える中間データを生成する。ここで、解像度600dpiと、解像度150dpi,75dpiとの間には、後述する150dpi,75dpiの2乗が解像度600dpiに比例する特定関係となる。したがって、   When the job control processing unit 412 receives an end notification from the PDL generation unit 413, the job control processing unit 412 requests the PDL interpretation processing unit 414 to start print data interpretation processing. When the PDL interpretation processing unit 414 receives a start request from the job control processing unit 412, the PDL interpretation processing unit 414 interprets the print data stored in the print data storage area 422 and generates intermediate data. At this time, the PDL interpretation processing unit generates intermediate data that can be subjected to RIP processing at a resolution (for example, 150 dpi, 75 dpi) lower than the resolution (for example, 600 dpi) applied in the actual print processing. Here, between the resolution of 600 dpi and the resolutions of 150 dpi and 75 dpi, there is a specific relationship in which the squares of 150 dpi and 75 dpi described later are proportional to the resolution of 600 dpi. Therefore,

PDL解釈処理部414は、生成した中間データを中間データ格納領域423に格納し、プリントデータ格納領域422に格納されたプリントデータの解釈処理が終了すると、ジョブ制御処理部412に終了通知をする。ジョブ制御処理部412は、PDL解釈処理部414からの終了通知を受けると、RIP処理部415に描画処理の開始要求を行う。   The PDL interpretation processing unit 414 stores the generated intermediate data in the intermediate data storage area 423, and when the interpretation processing of the print data stored in the print data storage area 422 is completed, notifies the job control processing unit 412 of the completion. When the job control processing unit 412 receives an end notification from the PDL interpretation processing unit 414, the job control processing unit 412 requests the RIP processing unit 415 to start drawing processing.

RIP処理部415は、ジョブ制御処理部412から描画処理の開始要求を受けると、まず開始時刻を取得する。次にRIP処理部415は、中間データ格納領域423に格納されている中間データに従って画像データを生成し、画像データ格納領域424に画像データを格納する。RIP処理部415は、画像データの生成を終了させると、最後に終了時刻を取得し、開始時刻と終了時刻の差をRIP処理に掛った時間を測定データとして、予測データ格納領域425に格納する。   When the RIP processing unit 415 receives a drawing processing start request from the job control processing unit 412, the RIP processing unit 415 first acquires the start time. Next, the RIP processing unit 415 generates image data according to the intermediate data stored in the intermediate data storage area 423, and stores the image data in the image data storage area 424. When the generation of the image data is finished, the RIP processing unit 415 finally obtains the end time, and stores the difference between the start time and the end time in the predicted data storage area 425 as the measurement data, which is the time taken for the RIP process. .

RIP処理部415は、測定データの格納が完了すると、ジョブ制御処理部412に終了通知をする。ジョブ制御処理部412は、RIP処理部415から終了通知を受けると、再びPDL生成部413にPDL解釈処理及びRIP処理部415にRIP処理を行わせる。   When the storage of the measurement data is completed, the RIP processing unit 415 notifies the job control processing unit 412 of completion. Upon receiving the end notification from the RIP processing unit 415, the job control processing unit 412 causes the PDL generation unit 413 to perform the PDL interpretation processing and the RIP processing unit 415 again to perform the RIP processing.

そしてRIP処理部415にそのときのRIP処理に掛った時間を掛った時間を測定データとして予測データ格納領域425に格納する。ジョブ制御処理部412は、RIP処理部213から処理終了の通知を受けると、時間予測処理部416にプリント時に掛かるRIP処理時間の時間予測処理の開始を要求する。   The RIP processing unit 415 stores the time taken for the RIP processing at that time in the predicted data storage area 425 as measurement data. When the job control processing unit 412 receives a processing end notification from the RIP processing unit 213, the job control processing unit 412 requests the time prediction processing unit 416 to start the time prediction processing of the RIP processing time required for printing.

時間予測処理部416は、開始要求を受けると。予測データ格納領域425に格納された測定データからプリント時のRIP処理に掛る時間の計算し予測する。時間予測処理部416が予測したRIP処理に掛る時間は、予測データとして、予測データ格納領域425に格納される。時間予測処理部416は、予測処理が終了するとジョブ制御処理部412に終了通知をする。   When the time prediction processing unit 416 receives a start request. The time required for RIP processing at the time of printing is calculated and predicted from the measurement data stored in the predicted data storage area 425. The time required for the RIP process predicted by the time prediction processing unit 416 is stored in the predicted data storage area 425 as predicted data. The time prediction processing unit 416 notifies the job control processing unit 412 of the end when the prediction processing ends.

ジョブ制御処理部412は、時間予測処理部416から予測処理の終了通知を受けると、プリントデータ格納領域422に格納されたプリントデータをネットワークI/F404からLAN102を経由して、プリンタ103に送信する。また予測データ格納領域425に格納された予測データをUI処理部411が出力I/Fを通して、ディスプレイ上のプリンタドライバUI画面に表示して、プリントジョブを終了させる。   When the job control processing unit 412 receives the notification of the end of the prediction process from the time prediction processing unit 416, the job control processing unit 412 transmits the print data stored in the print data storage area 422 from the network I / F 404 to the printer 103 via the LAN 102. . In addition, the UI processing unit 411 displays the prediction data stored in the prediction data storage area 425 on the printer driver UI screen on the display through the output I / F, and ends the print job.

図6の(A)は、図2に示したRIP処理部213の概略を示す図である。
図6の(A)において、RIP処理部213は、RIP前段処理部601及びRIP後段処理部602に大別される。RIP前段処理では、中間データを読み込みページあたりのスキャンライン単位で描画オブジェクト同士を正しい配置にするためにソート処理し、描画オブジェクト同士の位置制御を行う。
FIG. 6A is a diagram illustrating an outline of the RIP processing unit 213 illustrated in FIG.
In FIG. 6A, the RIP processing unit 213 is roughly divided into a RIP pre-processing unit 601 and a RIP post-processing unit 602. In the pre-RIP process, the intermediate data is read and sorted in order to properly arrange the drawing objects in units of scan lines per page, and the positions of the drawing objects are controlled.

一方RIP後段処理では、正しく配置された描画オブジェクトに対して色の割り当てを行い、描画オブジェクト同士の色をピクセル単位で合成することで画像データを生成し、画像データ格納領域へ格納する処理を行っている。   On the other hand, in the post-RIP process, a color is assigned to a correctly placed drawing object, and the image data is generated by combining the colors of the drawing objects in units of pixels and stored in the image data storage area. ing.

RIP後段処理は、ピクセル生成に関与するため解像度の変化に対して、それに掛かる処理時間は、その変化の2乗に比例する。一方でRIP前段処理は、解像度に依存しない描画オブジェクト同士の位置制御を行っており、プリントデータ毎に固有の処理時間を要している。そのためRIP処理に掛る処理時間は、図6の(B)に示すようにx軸を解像度、Y軸を処理時間としたときY=aX+bという関係が成立する。
〔第1のデータ処理〕
Since the post-RIP processing is involved in pixel generation, the processing time required for the change in resolution is proportional to the square of the change. On the other hand, the pre-RIP process performs position control between drawing objects independent of the resolution, and requires unique processing time for each print data. Therefore, as shown in FIG. 6B, the processing time required for the RIP processing satisfies the relationship Y = aX 2 + b when the x-axis is the resolution and the Y-axis is the processing time.
[First data processing]

図7は、本実施形態を示す印刷システムの制御方法を説明するフローチャートである。なお、図7の(A)はホストコンピュータ101側の処理に対応し、各ステップは、CPU405が記憶された制御プログラムを実行することで実現される。図7の(B)はプリンタ103側の処理に対応し、各ステップは、CPU203が記憶された制御プログラムを実行することで実現される。以下、印刷システムにおけるRIP処理の時間予測処理に掛る一連の処理を説明する。S701aからS704aまでは、ホストコンピュータ101でCPU405が実施する処理、S701bからS704bまでがプリンタ103でCPU203が行う処理を示している。
S701aで、CPU405は、アプリデータからプリントデータを生成し、プリントデータをプリントデータ格納領域422に格納する。
FIG. 7 is a flowchart for explaining a control method of the printing system according to the present embodiment. 7A corresponds to the processing on the host computer 101 side, and each step is realized by the CPU 405 executing a control program stored therein. 7B corresponds to processing on the printer 103 side, and each step is realized by the CPU 203 executing a control program stored therein. Hereinafter, a series of processes related to the time prediction process of the RIP process in the printing system will be described. Steps S701a to S704a indicate processing performed by the CPU 405 in the host computer 101, and steps S701b to S704b indicate processing performed by the CPU 203 in the printer 103.
In step S <b> 701 a, the CPU 405 generates print data from the application data, and stores the print data in the print data storage area 422.

S702aで、CPU405は、プリント指示とともにプリントデータ格納領域422に格納したプリントデータをプリンタ103へ送信する。S703aでCPU405は、RIPの予測時間をプリンタ103から受信するまで待ち状態に入る。   In step S <b> 702 a, the CPU 405 transmits the print data stored in the print data storage area 422 together with the print instruction to the printer 103. In step S <b> 703 a, the CPU 405 enters a waiting state until the estimated RIP time is received from the printer 103.

S703aで、予測時間を取得したら、CPU405は取得した予測時間を一旦、予測データ格納領域425に格納する。S704aでCPU405は、予測データ格納領域425に格納した予測時間を出力I/F403を通じて、ディスプレイ上のプリンタドライバのUI画面に表示を行う。   After acquiring the predicted time in S703a, the CPU 405 temporarily stores the acquired predicted time in the predicted data storage area 425. In step S <b> 704 a, the CPU 405 displays the predicted time stored in the predicted data storage area 425 on the UI screen of the printer driver on the display through the output I / F 403.

S701bで、CPU203は、プリント指示を受信したらプリント指示に続くプリントデータをプリントデータ格納領域221に格納する。CPU203は、S702bで時間予測処理(図8参照)を行い、RIP処理に掛る予測時間を計算する。S703bでCPU203は予測データ格納領域225に格納されたRIP処理に掛る予測時間を記述した予測データをホストコンピュータ101へ送信する。
S704bでCPU203は、プリント出力を行うためにプリント解像度でPDL解釈処理及びRIP処理を行う。
In step S <b> 701 b, when the CPU 203 receives the print instruction, the CPU 203 stores print data following the print instruction in the print data storage area 221. In step S <b> 702 b, the CPU 203 performs time prediction processing (see FIG. 8), and calculates the predicted time required for the RIP processing. In step S <b> 703 b, the CPU 203 transmits prediction data describing the prediction time required for the RIP processing stored in the prediction data storage area 225 to the host computer 101.
In step S704b, the CPU 203 performs PDL interpretation processing and RIP processing at the print resolution in order to perform print output.

図8は、本実施形態を示す印刷装置の制御方法を説明するフローチャートである。本例は、プリンタ103のCPU203が行うRIP時間予測処理例である。なお、各ステップは、CPU203が記憶された制御プログラムを実行することで実現される。また、図中において、Resはプリント出力を行うときの解像度を示している。Res1、Res2は、RIP時間を予測するために行うPDL解釈処理及びRIP処理を行う解像度で、Resよりも低い解像度を示している。
またRes1とRes2の値は、異なるものとする。T1は、解像度Res1に対応するRIP処理を行ったときに掛る時間を示している。同様にしてT2は、Res2に対応するものである。またTは、プリント解像度ResにおけるRIP処理に掛る予測時間である。
FIG. 8 is a flowchart for explaining a control method of the printing apparatus according to the present embodiment. This example is an example of RIP time prediction processing performed by the CPU 203 of the printer 103. Each step is realized by the CPU 203 executing a stored control program. In the figure, Res indicates the resolution when print output is performed. Res1 and Res2 are resolutions for performing PDL interpretation processing and RIP processing for predicting the RIP time, and indicate a resolution lower than Res.
The values of Res1 and Res2 are different. T1 indicates the time taken when the RIP process corresponding to the resolution Res1 is performed. Similarly, T2 corresponds to Res2. T is a predicted time required for the RIP process at the print resolution Res.

S801で、CPU203は、解像度Res1でPDL解釈処理及びRIP処理を行い、そのときに掛った時間T1を取得し、予測データ格納領域224に格納する。S802で、CPU203は、解像度Res2でPDL解釈処理及びRIP処理を行い、そのときに掛った時間T2を取得し、予測データ格納領域224に格納する。   In step S <b> 801, the CPU 203 performs PDL interpretation processing and RIP processing at the resolution Res <b> 1, acquires the time T <b> 1 taken at that time, and stores it in the predicted data storage area 224. In step S <b> 802, the CPU 203 performs PDL interpretation processing and RIP processing at the resolution Res <b> 2, acquires the time T <b> 2 taken at that time, and stores the time T <b> 2 in the prediction data storage area 224.

S803で、CPU203は、予測式を求める。図6の説明より、RIP処理時間と解像度の間には、2次関数Y=aX+bの関係があるため(x,y)=(Res1,T1)及び(x,y)=(Res2,T2)からaとbを求め、解像度RにおけるRIPに掛る予測時間Tを計算する。aとbの求め方は、aとbに関する連立方程式を解くことで求めることが可能となる。 In step S803, the CPU 203 obtains a prediction formula. From the description of FIG. 6, since there is a relationship of the quadratic function Y = aX 2 + b between the RIP processing time and the resolution, (x, y) = (Res1, T1) and (x, y) = (Res2, A and b are obtained from T2), and the predicted time T required for RIP at the resolution R is calculated. It is possible to obtain a and b by solving simultaneous equations relating to a and b.

S804で、CPU203は、S803でaとbが求まった、2次関数y=aX+bのxにResを代入することで、解像度RにおけるRIPに掛る予測時間Tを計算する。なお本実施例では、予測式として2次関数y=aX+bを使用したが、予測時間の精度をどの程度追求するかによって、予測式を他の関数に置き換えることは、可能である。例えば、ある程度精度の粗い時間予測結果を望むのであれば、y=aXと予測式として使用することも可能で、(x,y)=(Res1,T1)の1点の情報を取得できれば、予測式は求まる。 In step S804, the CPU 203 calculates the predicted time T required for RIP at the resolution R by substituting Res for x of the quadratic function y = aX 2 + b for which a and b are obtained in step S803. In the present embodiment, the quadratic function y = aX 2 + b is used as the prediction formula, but it is possible to replace the prediction formula with another function depending on how much accuracy of the prediction time is pursued. For example, if a temporal prediction result with a certain degree of accuracy is desired, y = aX 2 can be used as a prediction formula, and if one point information of (x, y) = (Res1, T1) can be acquired, The prediction formula is obtained.

この場合、時間予測結果に関するある程度の精度の粗さと引き換えに、より高速にRIP処理の時間予測処理が可能となる。また特殊な事情で、より一般的な2次関数y=aX+bx+cを予測式として使用する場合、(x,y)=(Res1,T1)、(x,y)=(Res2,T2)、(x,y)=(Res3,T3)の3点の情報を元に3変数の連立方程式を解けば予測式を求められる。以上のように、RIP処理の時間予測処理に必要なプリント解像度より低い解像度のRIP処理に掛る時間の組みの個数は、使用する予測式に応じて変えることは、可能である。 In this case, the time prediction process of the RIP process can be performed at a higher speed in exchange for a certain degree of accuracy regarding the time prediction result. In a special situation, when a more general quadratic function y = aX 2 + bx + c is used as a prediction formula, (x, y) = (Res1, T1), (x, y) = (Res2, T2), A prediction equation can be obtained by solving a three-variable simultaneous equation based on information of three points (x, y) = (Res3, T3). As described above, the number of sets of time required for RIP processing with a resolution lower than the print resolution necessary for time prediction processing of RIP processing can be changed according to the prediction formula to be used.

〔第2実施形態〕
図9は、本実施形態を示す印刷システムの制御方法を説明するフローチャートである。本例は、複数ページで構成されるプリントデータへのRIP処理(ページ単位)の時間予測処理に関する一連の処理例である。なお、S901aからS908aまでは、ホストコンピュータ101でCPU405が実施する処理、S901bからS905bまでがプリンタ103でCPU203が行う処理を示している。また、図9の(A)はホストコンピュータ101側の処理に対応し、各ステップは、CPU405が記憶された制御プログラムを実行することで実現される。図9の(B)はプリンタ103側の処理に対応し、各ステップは、CPU203が記憶された制御プログラムを実行することで実現される。
[Second Embodiment]
FIG. 9 is a flowchart for explaining a control method of the printing system according to the present embodiment. This example is a series of processing examples regarding time prediction processing of RIP processing (page unit) for print data composed of a plurality of pages. Note that steps S901a to S908a indicate processing performed by the CPU 405 in the host computer 101, and steps S901b to S905b indicate processing performed by the CPU 203 in the printer 103. 9A corresponds to the processing on the host computer 101 side, and each step is realized by the CPU 405 executing a control program stored therein. 9B corresponds to the processing on the printer 103 side, and each step is realized by the CPU 203 executing a control program stored therein.

S901aで、CPU405は、アプリデータからプリントデータを生成し、プリントデータをプリントデータ格納領域422に格納する。S902aでCPU405は、プリント指示とともにプリントデータ格納領域422に格納したプリントデータをプリンタ103へ送信する。S903aでCPU405は、プリントデータにおける時間予測処理が済んだページ数を数え上げるカウンタCntにゼロを書き込み初期化する。S904aでは、S905aからS908aまでの処理をループ制御しており、プリントデータに含まれるページ数の数だけ本ループは繰り返し実行される。   In step S901a, the CPU 405 generates print data from the application data, and stores the print data in the print data storage area 422. In step S <b> 902 a, the CPU 405 transmits the print data stored in the print data storage area 422 together with the print instruction to the printer 103. In step S903a, the CPU 405 initializes the counter by writing zero to the counter Cnt that counts the number of pages for which time prediction processing has been completed in the print data. In S904a, the processing from S905a to S908a is loop-controlled, and this loop is repeatedly executed as many times as the number of pages included in the print data.

S905aでCPU405は、RIP処理の予測時間をプリンタ103から受信するまで待ち状態に移行する。S905aでRIP処理に掛る予測時間を取得したら、CPU405は取得した予測時間を予測データ格納領域425に格納する。S906aでCPU405は、Cntをインクリメントする。S907aでCPU405は、Cntが予め定めたページ数Nunitで割り切れるか否かを判定する。   In step S <b> 905 a, the CPU 405 shifts to a waiting state until the estimated RIP processing time is received from the printer 103. When the predicted time required for the RIP process is acquired in S905a, the CPU 405 stores the acquired predicted time in the predicted data storage area 425. In step S906a, the CPU 405 increments Cnt. In step S907a, the CPU 405 determines whether Cnt is divisible by a predetermined number of pages Nunit.

S907aでCPU405は、割り切れる場合S908aへ処理を進め、割り切れない場合、S904aへ処理を進める。S908aでCPU405は、Cntの値と予測データ格納領域425に格納されているCnt回のRIP処理に掛る予測時間の総和を出力I/F403を通じて、ディスプレイ上のプリンタドライバのUI画面に表示を行う。S901bでCPU203は、プリント指示を受信したらプリント指示に続くプリントデータをプリントデータ格納領域221に格納する。   In S907a, the CPU 405 proceeds to S908a if divisible, and proceeds to S904a if not divisible. In step S <b> 908 a, the CPU 405 displays the sum of the Cnt value and the predicted time required for Cnt RIP processing stored in the predicted data storage area 425 on the UI screen of the printer driver on the display through the output I / F 403. In step S <b> 901 b, when the CPU 203 receives a print instruction, the CPU 203 stores print data following the print instruction in the print data storage area 221.

S902bでCPU203は、S903bからS904aまでの処理のループを制御しており、プリントデータに含まれるページ数の数だけ本ループは繰り返し実行される。S903bでCPU203は、RIPに掛る時間の予測処理(図8参照)を行う。S904bでCPU203は、予測データ格納領域225に格納されているRIP予測時間をホストコンピュータ101へ送信する。S905bでCPU203は、プリントデータに含まれる全ページに対してプリント出力する解像度でPDL解釈処理及びRIP処理を行う。   In S902b, the CPU 203 controls a processing loop from S903b to S904a, and this loop is repeatedly executed as many times as the number of pages included in the print data. In S903b, the CPU 203 performs a process for predicting the time required for RIP (see FIG. 8). In step S <b> 904 b, the CPU 203 transmits the predicted RIP time stored in the predicted data storage area 225 to the host computer 101. In step S905b, the CPU 203 performs PDL interpretation processing and RIP processing at a resolution for printing out all pages included in the print data.

〔第3実施形態〕
図10は、本実施形態を示す印刷システムの制御方法を説明するフローチャートである。また、図10の(A)はホストコンピュータ101側の処理に対応し、各ステップは、CPU405が記憶された制御プログラムを実行することで実現される。図10の(B)はプリンタ103側の処理に対応し、各ステップは、CPU203が記憶された制御プログラムを実行することで実現される。
[Third Embodiment]
FIG. 10 is a flowchart for explaining a control method of the printing system according to the present embodiment. 10A corresponds to the processing on the host computer 101 side, and each step is realized by the CPU 405 executing a control program stored therein. FIG. 10B corresponds to the processing on the printer 103 side, and each step is realized by the CPU 203 executing a stored control program.

なお、RIP処理にあまり時間が掛らない場合には、RIP処理の時間予測処理は、不要となる。そこで、本実施形態では、プリントデータに含まれる描画オブジェクトの個数を調べることで、時間予測処理が必要か否かの簡易的な判定を行う。そして必要と判断した場合のみ時間予測処理を行わせる例について述べる。またS1001aからS1009aまでは、ホストコンピュータ101でCPU405が実施する処理、S1001bからS1005bまでがプリンタ103でCPU203が行う処理を示している。
S1001aで、CPU405は、アプリデータからプリントデータを生成し、プリントデータをプリントデータ格納領域422に格納する。
If the RIP process does not take much time, the time prediction process for the RIP process is not necessary. Therefore, in this embodiment, a simple determination is made as to whether or not the time prediction process is necessary by checking the number of drawing objects included in the print data. An example in which the time prediction process is performed only when it is determined to be necessary will be described. Also, S1001a to S1009a indicate processing performed by the CPU 405 in the host computer 101, and S1001b to S1005b indicate processing performed by the CPU 203 in the printer 103.
In step S1001a, the CPU 405 generates print data from the application data, and stores the print data in the print data storage area 422.

S1002aで、CPU405は、プリントデータに含まれる描画オブジェクトの個数を数え上げる、描画オブジェクトの個数Nobjを求める。S1003aでCPU405は、Nobjが予め定めた閾値Nth以上か否かを判定する。NobjがNth未満と判定された場合、CPU405は、S1004aに処理を進める。一方でNobjがNth以上と判定された場合、CPU405は、S1005aへ処理を進める。S1004aでCPU405は、FlagにFalseを書き込む。   In step S1002a, the CPU 405 obtains the number of drawing objects Nobj that counts the number of drawing objects included in the print data. In S1003a, the CPU 405 determines whether Nobj is greater than or equal to a predetermined threshold Nth. If it is determined that Nobj is less than Nth, the CPU 405 advances the process to step S1004a. On the other hand, when it is determined that Nobj is equal to or greater than Nth, the CPU 405 advances the process to step S1005a. In S1004a, the CPU 405 writes False to the flag.

S1005aで、CPU405は、FlagにTrueを書き込む。S1006aで、CPU405は、プリント指示とともにプリントデータとFlagをプリンタ103に送信する。S1007aで、CPU405は、Flagの値がTrueとFalseどちらになっているかを判定する。Flagの値がFalseの場合、RIP時間予測を表示しないため、処理を終了させる。   In step S1005a, the CPU 405 writes True to the flag. In step S <b> 1006 a, the CPU 405 transmits print data and a flag together with a print instruction to the printer 103. In S1007a, the CPU 405 determines whether the value of Flag is True or False. When the value of Flag is False, the RIP time prediction is not displayed, so the process is terminated.

一方で、Flagの値がTrueの場合、RIP時間予測を行うためS1008aへ処理を進める。S1008aで、CPU405は、RIPの予測時間をプリンタ103から受信するまで待ち状態に入る。S1008aで予測時間を取得したら、CPU405は取得した予測時間を一旦、予測データ格納領域425に格納する。   On the other hand, when the value of Flag is True, the process proceeds to S1008a to perform RIP time prediction. In step S <b> 1008 a, the CPU 405 enters a waiting state until the estimated RIP time is received from the printer 103. After acquiring the predicted time in S1008a, the CPU 405 temporarily stores the acquired predicted time in the predicted data storage area 425.

S1009aでCPU405は、予測データ格納領域425に格納した予測時間を出力I/F403を通じて、ディスプレイ上のプリンタドライバのUI画面に表示を行う。S1001bでCPU203は、プリント指示を受信したらプリント指示に続くプリントデータをプリントデータ格納領域221に格納する。S1002bでCPU203は、プリント指示と供に受信したFlag の値がTrueとFalseどちらになっているかを判定する。Flagの値がFalseの場合、RIP時間予測を表示しないため、S1005bへ処理を進める。   In step S1009a, the CPU 405 displays the predicted time stored in the predicted data storage area 425 on the UI screen of the printer driver on the display through the output I / F 403. In step S1001b, when the CPU 203 receives the print instruction, the CPU 203 stores the print data following the print instruction in the print data storage area 221. In step S1002b, the CPU 203 determines whether the value of the flag received along with the print instruction is True or False. If the value of Flag is False, the RIP time prediction is not displayed, and the process proceeds to S1005b.

一方で、Flagの値がTrueの場合、RIP時間予測を行うためS1003bへ処理を進める。S1003bでCPU203は、時間予測処理(図8参照)を行い、RIP処理に掛る予測時間を計算する。S1004bでCPU203は、予測データ格納領域225に格納されたRIP処理に掛る予測時間をホストコンピュータ101へ送信する。S1005bでCPU203は、プリント出力を行うためにプリント解像度でPDL解釈処理及びRIP処理を行う。   On the other hand, when the value of Flag is True, the process proceeds to S1003b to perform RIP time prediction. In S1003b, the CPU 203 performs a time prediction process (see FIG. 8) and calculates a predicted time required for the RIP process. In step S <b> 1004 b, the CPU 203 transmits the predicted time required for the RIP process stored in the predicted data storage area 225 to the host computer 101. In step S1005b, the CPU 203 performs PDL interpretation processing and RIP processing at the print resolution in order to perform print output.

〔第4実施形態〕
図11は、本実施形態を示す印刷システムの制御方法を説明するフローチャートである。本例はホストコンピュータでRIP処理の時間予測処理を行う例である。また、図11の(A)はホストコンピュータ101側の処理に対応し、各ステップは、CPU405が記憶された制御プログラムを実行することで実現される。図11の(B)はプリンタ103側の処理に対応し、各ステップは、CPU203が記憶された制御プログラムを実行することで実現される。
S1101aでCPU405は、アプリデータからプリントデータを生成し、プリントデータをプリントデータ格納領域422に格納する。
[Fourth Embodiment]
FIG. 11 is a flowchart for explaining a control method of the printing system according to the present embodiment. This example is an example in which time prediction processing of RIP processing is performed by a host computer. 11A corresponds to processing on the host computer 101 side, and each step is realized by the CPU 405 executing a control program stored therein. 11B corresponds to the processing on the printer 103 side, and each step is realized by the CPU 203 executing a control program stored therein.
In step S1101a, the CPU 405 generates print data from the application data, and stores the print data in the print data storage area 422.

S1102aで、CPU405は、時間予測処理(図8参照)を行い、RIP処理に掛る予測時間Tを計算する。S1103aで、CPU405は、ホストコンピュータ101上で予測した予測時間Tをプリンタ103上で予測した予測時間T'に変換するために、変換係数Aを予測時間Tに掛ける。S1104aで、CPU405は、予測データ格納領域425に格納した予測時間を出力I/F403を通じて、ディスプレイ上のプリンタドライバのUI画面に表示を行う。   In S1102a, the CPU 405 performs a time prediction process (see FIG. 8) and calculates a predicted time T required for the RIP process. In step S1103a, the CPU 405 multiplies the prediction time T by the conversion coefficient A in order to convert the prediction time T predicted on the host computer 101 into the prediction time T ′ predicted on the printer 103. In S1104a, the CPU 405 displays the predicted time stored in the predicted data storage area 425 on the UI screen of the printer driver on the display through the output I / F 403.

S1105で、CPU405は、プリント指示とともにプリントデータ格納領域422に格納したプリントデータをプリンタ103へ送信する。S1101bでCPU203は、プリント指示を受信したらプリント指示に続くプリントデータをプリントデータ格納領域221に格納する。S1102bでCPU203は、プリント出力を行うためにプリント解像度でPDL解釈処理及びRIP処理を行う。なお変換係数Aは、ホストコンピュータ101にプリンタドライバ409をインストールして、プリンタ103を登録する際に算出される。プリンタドライバをインストールする際に、ホストコンピュータ101とプリンタ103でサンプルプリントデータ426に対して、PDL解釈処理及びRIP処理を行い、その時に掛かったRIP時間の比を変換係数Aとして、保持することにプリンタ登録情報格納領域427に格納しておく。   In step S <b> 1105, the CPU 405 transmits the print data stored in the print data storage area 422 together with the print instruction to the printer 103. In step S1101b, when the CPU 203 receives the print instruction, the CPU 203 stores the print data following the print instruction in the print data storage area 221. In step S1102b, the CPU 203 performs PDL interpretation processing and RIP processing at the print resolution in order to perform print output. The conversion coefficient A is calculated when the printer driver 409 is installed in the host computer 101 and the printer 103 is registered. When installing the printer driver, the host computer 101 and the printer 103 perform PDL interpretation processing and RIP processing on the sample print data 426, and hold the ratio of the RIP time taken at that time as the conversion coefficient A. It is stored in the printer registration information storage area 427.

本発明の各工程は、ネットワーク又は各種記憶媒体を介して取得したソフトウエア(プログラム)をパソコン(コンピュータ)等の処理装置(CPU、プロセッサ)にて実行することでも実現できる。   Each process of the present invention can also be realized by executing software (program) acquired via a network or various storage media by a processing device (CPU, processor) such as a personal computer (computer).

本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形(各実施形態の有機的な組合せを含む)が可能であり、それらを本発明の範囲から除外するものではない。   The present invention is not limited to the above embodiment, and various modifications (including organic combinations of the embodiments) are possible based on the spirit of the present invention, and these are excluded from the scope of the present invention. is not.

101 ホストコンピュータ
103 プリンタ
101 Host computer 103 Printer

Claims (11)

第1の解像度よりも低い第2の解像度でラスタイメージデータを生成する生成手段と、
前記生成手段が前記第2の解像度で生成する際に要する処理時間を測定する測定手段と、
前記測定手段により測定された処理時間から前記生成手段が前記第1の解像度でラスタイメージデータを生成する処理時間を予測する予測手段と、
を備えることを特徴とするデータ処理装置。
Generating means for generating raster image data at a second resolution lower than the first resolution;
Measuring means for measuring a processing time required for the generating means to generate at the second resolution;
Predicting means for predicting processing time for the generating means to generate raster image data at the first resolution from the processing time measured by the measuring means;
A data processing apparatus comprising:
前記予測手段により予測された予測時間を表示する表示手段を備えることを特徴とする請求項1に記載のデータ処理装置。   The data processing apparatus according to claim 1, further comprising a display unit configured to display a predicted time predicted by the prediction unit. 前記印刷データに含まれるオブジェクト数に基づいて予測処理を行うか否かを決定する決定手段を備えることを特徴とする請求項1又は請求項2に記載のデータ処理装置。   The data processing apparatus according to claim 1, further comprising a determination unit that determines whether to perform a prediction process based on the number of objects included in the print data. 前記生成手段は前記第1の解像度よりも低い複数の解像度で複数のラスタイメージデータを生成し、
前記測定手段は前記複数のラスタイメージデータを生成する際に要する処理時間を解像度毎に測定することを特徴とする請求項1乃至3のいずれか1項に記載のデータ処理装置。
The generating means generates a plurality of raster image data at a plurality of resolutions lower than the first resolution;
4. The data processing apparatus according to claim 1, wherein the measurement unit measures a processing time required for generating the plurality of raster image data for each resolution. 5.
情報処理装置から前記印刷データを取得する取得手段と、
前記予測手段が予測した処理時間を前記情報処理装置に送信する送信手段と、
を備えることを特徴とする請求項1乃至3のいずれか1項に記載のデータ処理装置。
Obtaining means for obtaining the print data from an information processing apparatus;
Transmitting means for transmitting the processing time predicted by the prediction means to the information processing apparatus;
The data processing apparatus according to claim 1, further comprising:
第1の解像度よりも低い第2の解像度でラスタイメージデータを生成する生成工程と、
前記生成工程で前記第2の解像度で生成する際に要する処理時間を測定する測定工程と、
前記測定工程により測定された処理時間から前記生成工程で前記第1の解像度でラスタイメージデータを生成する処理時間を予測する予測工程と、
を備えることを特徴とするプログラム。
Generating the raster image data at a second resolution lower than the first resolution;
A measuring step for measuring a processing time required for generating at the second resolution in the generating step;
A prediction step of predicting a processing time for generating raster image data at the first resolution in the generation step from the processing time measured by the measurement step;
A program comprising:
前記予測工程により予測された予測時間を表示する表示工程を備えることを特徴とする請求項6に記載のプログラム。   The program according to claim 6, further comprising a display step of displaying the predicted time predicted by the prediction step. 前記印刷データに含まれるオブジェクト数に基づいて予測処理を行うか否かを決定する決定工程を備えることを特徴とする請求項6又は請求項7に記載のプログラム。   The program according to claim 6 or 7, further comprising a determination step of determining whether to perform a prediction process based on the number of objects included in the print data. 前記生成工程は前記第1の解像度よりも低い複数の解像度で複数のラスタイメージデータを生成し、
前記測定工程は前記複数のラスタイメージデータを生成する際に要する処理時間を解像度毎に測定することを特徴とする請求項6乃至8のいずれか1項に記載のプログラム。
The generating step generates a plurality of raster image data at a plurality of resolutions lower than the first resolution,
The program according to any one of claims 6 to 8, wherein the measuring step measures a processing time required for generating the plurality of raster image data for each resolution.
コンピュータから前記印刷データを取得する取得工程と、
前記予測工程で予測した処理時間を前記コンピュータに送信する送信工程と、
を備えることを特徴とする請求項6乃至8のいずれか1項に記載のプログラム。
An acquisition step of acquiring the print data from a computer;
A transmission step of transmitting the processing time predicted in the prediction step to the computer;
The program according to any one of claims 6 to 8, further comprising:
第1の解像度よりも低い第2の解像度でラスタイメージデータを生成する生成工程と、
前記生成工程で前記第2の解像度で生成する際に要する処理時間を測定する測定工程と、
前記測定工程により測定された処理時間から前記生成工程で前記第1の解像度でラスタイメージデータを生成する処理時間を予測する予測工程と、
を備えることを特徴とする制御方法。
Generating the raster image data at a second resolution lower than the first resolution;
A measuring step for measuring a processing time required for generating at the second resolution in the generating step;
A prediction step of predicting a processing time for generating raster image data at the first resolution in the generation step from the processing time measured by the measurement step;
A control method comprising:
JP2014013959A 2014-01-29 2014-01-29 Data processing device, program, and control method Pending JP2015141561A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014013959A JP2015141561A (en) 2014-01-29 2014-01-29 Data processing device, program, and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014013959A JP2015141561A (en) 2014-01-29 2014-01-29 Data processing device, program, and control method

Publications (1)

Publication Number Publication Date
JP2015141561A true JP2015141561A (en) 2015-08-03

Family

ID=53771866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014013959A Pending JP2015141561A (en) 2014-01-29 2014-01-29 Data processing device, program, and control method

Country Status (1)

Country Link
JP (1) JP2015141561A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017052218A (en) * 2015-09-11 2017-03-16 キヤノン株式会社 Image processing device, image processing method and program
EP3624009A1 (en) * 2018-09-17 2020-03-18 OCE Holding B.V. Method for providing a raster image, print controller and printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017052218A (en) * 2015-09-11 2017-03-16 キヤノン株式会社 Image processing device, image processing method and program
EP3624009A1 (en) * 2018-09-17 2020-03-18 OCE Holding B.V. Method for providing a raster image, print controller and printer

Similar Documents

Publication Publication Date Title
US8373873B2 (en) Apparatus and method for determining execution order of private print jobs in a variable print system
US8634107B2 (en) Print data processing system, print data processing method, and non-transitory computer readable medium
US8625133B2 (en) Print data processing apparatus, print data processing method, and storage medium
JP2009107332A (en) System and method for print counting
JP2009113474A (en) System and method for dynamic printer configuration
US20130194598A1 (en) Print control apparatus, image forming system, and non-transitory computer readable medium
JP2015153086A (en) Image processing device and program
US9569156B2 (en) Apparatus, method, and medium allocate divided jobs to a plurality of rasterizing units
US9998616B2 (en) Image forming apparatus, non-transitory computer readable recording medium, and information processing system
JP2007157121A (en) Information processing device and preview displaying method
US20110235080A1 (en) Image processing apparatus and image forming apparatus
US9785871B2 (en) Print control device and non-transitory computer readable medium
JP2016091137A (en) Image forming apparatus, specific processing execution method, and computer program
JP2015141561A (en) Data processing device, program, and control method
US20160034234A1 (en) Data processing apparatus configured to execute printing using print setting
JP2012056179A (en) Image processing apparatus, method for controlling the image processing apparatus and program
JP6835271B2 (en) Page complexity analysis for print jobs
JP2018206311A (en) Printing system, server and control method thereof and program
JP2015153087A (en) Image processing device and program
JP2016095570A (en) Information processing device, image forming apparatus with the information processing device, information processing method, and program for making computer achieve the information processing method
JP4877331B2 (en) Image processing apparatus, program, and data processing method
JP6376876B2 (en) Information processing apparatus, program, and control method
JP2007152898A (en) Printing processing apparatus
WO2018142695A1 (en) Server device, information processing system and image formation device
JP4069569B2 (en) Printing apparatus and printing method