JP2016052753A - Printer and program - Google Patents

Printer and program Download PDF

Info

Publication number
JP2016052753A
JP2016052753A JP2014180063A JP2014180063A JP2016052753A JP 2016052753 A JP2016052753 A JP 2016052753A JP 2014180063 A JP2014180063 A JP 2014180063A JP 2014180063 A JP2014180063 A JP 2014180063A JP 2016052753 A JP2016052753 A JP 2016052753A
Authority
JP
Japan
Prior art keywords
generation time
printing apparatus
unit
printing
color information
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
JP2014180063A
Other languages
Japanese (ja)
Inventor
鈴木 裕二
Yuji Suzuki
裕二 鈴木
道生 早川
Michio Hayakawa
道生 早川
克将 宮井
Katsumasa Miyai
克将 宮井
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2014180063A priority Critical patent/JP2016052753A/en
Publication of JP2016052753A publication Critical patent/JP2016052753A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printer which predicts generation time required for generating data for printing on the basis of the number of change points where colors in an object change.SOLUTION: A printer 10 comprises an intermediate data analysis part 131 which acquires color information indicating coloring contents of an object in a print image and a generation time calculation part 136 which predicts generation time required for generating data for printing the print image. The generation time calculation part 136 predicts the generation time on the basis of the number of change points where colors in a single object indicated by the color information change.SELECTED DRAWING: Figure 2

Description

本発明は、印刷装置、およびプログラムに関する。   The present invention relates to a printing apparatus and a program.

特許文献1には、画像データが変換されて生成される中間言語のコマンドのサイズに基づいて、画像形成時間を予測する画像形成装置の発明が開示されている。特許文献2には、ビットイメージの生成に要する処理時間に基づいて決定されるタイミングでプリンタの出力機構を起動するプリンタ制御装置であって、データファイルに付加された属性情報に基づいて処理時間を予測するプリンタ制御装置の発明が開示されている。特許文献3には、画像データからビットマップ画像への変換に要する処理時間を示す情報の効率的な生成と再利用を実現する発明であって、このなかで画像データの解析結果に基づいて生成されるデータ変換に要する処理量を指数として用いて、処理時間を取得する構成が開示されている。   Patent Document 1 discloses an invention of an image forming apparatus that predicts an image forming time based on the size of an intermediate language command generated by converting image data. Patent Document 2 discloses a printer control device that activates an output mechanism of a printer at a timing determined based on a processing time required to generate a bit image. The processing time is determined based on attribute information added to a data file. An invention of a printer control apparatus for prediction is disclosed. Patent Document 3 discloses an invention that realizes efficient generation and reuse of information indicating the processing time required for conversion from image data to a bitmap image, and is generated based on the analysis result of the image data. A configuration is disclosed in which a processing time is acquired using an amount of processing required for data conversion as an index.

特許文献4には、画像データの印刷において該画像データを複数のブロックに分割してそれぞれについて出力形式画像データを生成し、印刷時に再配置を行うことでページ単位での画像データのスプールを不要とする画像処理装置の発明が開示されており、このなかでブロック単位で画像生成処理に要する時間を予測する構成が開示されている。特許文献5には、印刷データから生成される中間データに基づいて展開時間を予測し、該展開時間に基づいて画像出力手段の出力速度を決定する印刷処理装置の発明が開示されている。   In Patent Document 4, when image data is printed, the image data is divided into a plurality of blocks, output format image data is generated for each block, and rearrangement is performed at the time of printing, so that spooling of image data in units of pages is unnecessary. An image processing apparatus according to the present invention is disclosed, and a configuration for predicting the time required for image generation processing in units of blocks is disclosed. Patent Document 5 discloses an invention of a print processing apparatus that predicts a development time based on intermediate data generated from print data and determines an output speed of an image output unit based on the development time.

特開2004−262026号公報JP 2004-262026 A 特開平10−58798号公報JP-A-10-58798 特開2008−186253号公報JP 2008-186253 A 特開2010−111099号公報JP 2010-111099 A 特開平10−157216号公報JP-A-10-157216

本発明の目的の1つは、オブジェクト内の色が変化する変化点の数に基づいて印刷のためのデータの生成に要する生成時間の予測を行う印刷装置、およびプログラムを提供することにある。   One of the objects of the present invention is to provide a printing apparatus and a program for predicting a generation time required for generating data for printing based on the number of change points where the color in an object changes.

上記目的を達成するために、請求項1に記載の発明は、印刷画像内のオブジェクトの彩色内容を示す色情報を取得する手段と、前記印刷画像を印刷するためのデータの生成に要する生成時間を予測する生成時間予測手段と、を有し、前記生成時間予測手段は、前記色情報により示される、単一オブジェクト内の色が変化する変化点の数に基づいて前記生成時間を予測する、ことを特徴とする印刷装置である。   In order to achieve the above object, the invention according to claim 1 is characterized in that a means for obtaining color information indicating the coloring content of an object in a print image and a generation time required for generating data for printing the print image. Generation time prediction means for predicting the generation time, and the generation time prediction means predicts the generation time based on the number of change points where the color in a single object changes, which is indicated by the color information. This is a printing apparatus.

また、請求項2に記載の発明は、請求項1に記載の印刷装置において、前記生成時間予測手段は、前記変化点の数がより多い印刷画像について、より長い生成時間を予測することを特徴とする印刷装置である。   The invention according to claim 2 is the printing apparatus according to claim 1, wherein the generation time predicting unit predicts a longer generation time for a print image having a larger number of change points. Is a printing apparatus.

また、請求項3に記載の発明は、請求項1又は2に記載の印刷装置において、前記色情報は、前記オブジェクトを彩色する色が複数であるか否かを示すパラメータを含み、前記生成時間予測手段は、前記彩色する色が複数であることを示すパラメータを含む色情報に係る印刷画像について、前記変化点の数に基づいて前記生成時間を予測する、ことを特徴とする印刷装置である。   Further, the invention according to claim 3 is the printing apparatus according to claim 1 or 2, wherein the color information includes a parameter indicating whether or not there are a plurality of colors for coloring the object, and the generation time. The predicting means is a printing apparatus characterized by predicting the generation time based on the number of change points for a print image related to color information including a parameter indicating that there are a plurality of colors to be colored. .

また、請求項4に記載の発明は、請求項1乃至3のいずれかに記載の印刷装置において、前記印刷画像について、前記色情報、前記オブジェクトを囲む矩形領域の座標を示す情報、および前記オブジェクトの形状を示す情報を含む中間情報を生成する中間情報生成手段を更に有し、前記生成時間予測手段は、前記中間情報に含まれる前記色情報に基づいて前記生成時間を予測する、ことを特徴とする印刷装置である。   According to a fourth aspect of the present invention, in the printing apparatus according to any one of the first to third aspects, for the print image, the color information, information indicating coordinates of a rectangular area surrounding the object, and the object Intermediate information generating means for generating intermediate information including information indicating the shape of the image, wherein the generation time predicting means predicts the generation time based on the color information included in the intermediate information. Is a printing apparatus.

また、請求項5に記載の発明は、請求項1乃至4のいずれかに記載の印刷装置において、前記生成時間に基づいて、印刷手段の動作を制御する制御手段を更に有することを特徴とする印刷装置である。   The invention according to claim 5 is the printing apparatus according to any one of claims 1 to 4, further comprising a control means for controlling the operation of the printing means based on the generation time. It is a printing device.

また、請求項6に記載の発明は、請求項1乃至5のいずれかに記載の印刷装置において、前記生成時間は、ラスタライズ処理に要する時間であることを特徴とする印刷装置である。   According to a sixth aspect of the present invention, in the printing apparatus according to any one of the first to fifth aspects, the generation time is a time required for rasterization processing.

また、請求項7に記載の発明は、コンピュータを、印刷画像内のオブジェクトの彩色内容を示す色情報を取得する手段と、前記印刷画像を印刷するためのデータの生成に要する生成時間を予測する生成時間予測手段と、を有し、前記生成時間予測手段は、前記色情報により示される、単一オブジェクト内の色が変化する変化点の数に基づいて前記生成時間を予測する、印刷装置として動作させるプログラムである。   According to a seventh aspect of the present invention, the computer predicts a generation time required for generating data for printing the print image, and means for acquiring color information indicating the coloring content of the object in the print image. A generation time prediction unit, and the generation time prediction unit predicts the generation time based on the number of change points where the color in a single object changes, which is indicated by the color information. It is a program that runs.

請求項1に係る発明によれば、オブジェクト内の色が変化する変化点の数に基づいて印刷のためのデータの生成に要する生成時間の予測を行う印刷装置が提供される。   According to the first aspect of the present invention, there is provided a printing apparatus that predicts a generation time required for generating data for printing based on the number of change points at which the color in an object changes.

請求項2に係る発明によれば、変化点の数がより多い印刷画像について、より長い生成時間を予測する印刷装置が提供される。   According to the second aspect of the present invention, there is provided a printing apparatus that predicts a longer generation time for a print image having a larger number of change points.

請求項3に係る発明によれば、彩色する色が複数であることを示すパラメータを含む色情報に係る印刷画像について、変化点の数に基づいて生成時間の予測を行う印刷装置が提供される。   According to the third aspect of the present invention, there is provided a printing apparatus that predicts a generation time based on the number of change points for a print image related to color information including a parameter indicating that there are a plurality of colors to be colored. .

請求項4に係る発明によれば、色情報、矩形領域の座標を示す情報、およびオブジェクトの形状を示す情報を含む中間情報に含まれる色情報に基づいて、生成時間の予測を行う印刷装置が提供される。   According to the fourth aspect of the invention, the printing apparatus that predicts the generation time based on the color information, the color information included in the intermediate information including the information indicating the coordinates of the rectangular area, and the information indicating the shape of the object. Provided.

請求項5に係る発明によれば、生成時間に基づいて、印刷手段の動作を制御する印刷装置が提供される。   According to the invention which concerns on Claim 5, based on the production | generation time, the printing apparatus which controls operation | movement of a printing means is provided.

請求項6に係る発明によれば、変化点の数に基づいてラスタライズ処理に要する時間の予測を行う印刷装置が提供される。   According to the invention which concerns on Claim 6, the printing apparatus which estimates the time which a rasterization process requires based on the number of change points is provided.

請求項7に係る発明によれば、コンピュータを、オブジェクト内の色が変化する変化点の数に基づいて印刷のためのデータの生成に要する生成時間の予測を行う印刷装置として動作させるプログラムが提供される。   According to the seventh aspect of the present invention, there is provided a program that causes a computer to operate as a printing apparatus that predicts a generation time required for generating data for printing based on the number of change points at which colors in an object change. Is done.

本発明の一実施形態に係る印刷装置のハードウエア構成を示すブロック図である。1 is a block diagram illustrating a hardware configuration of a printing apparatus according to an embodiment of the present invention. 本発明の一実施形態に係る印刷装置が有する機能を示す機能ブロック図である。FIG. 2 is a functional block diagram illustrating functions of a printing apparatus according to an embodiment of the present invention. 本実施形態に係る印刷装置において生成される中間データの構成を示す図である。It is a figure which shows the structure of the intermediate data produced | generated in the printing apparatus which concerns on this embodiment. Bbox情報において示される2つの座標を示す図である。It is a figure which shows the two coordinates shown in Bbox information. 生成時間予測部における予測処理の概念を示す図である。It is a figure which shows the concept of the prediction process in a production | generation time prediction part. 本発明の一実施形態に係る印刷装置のColor情報処理部の構成を示す図である。It is a figure which shows the structure of the Color information processing part of the printing apparatus which concerns on one Embodiment of this invention. 本発明の一実施形態に係る印刷装置における生成時間の予測処理を示すフローチャートである。It is a flowchart which shows the prediction process of the production | generation time in the printing apparatus which concerns on one Embodiment of this invention.

図1は、本発明の一実施形態に係る印刷装置10のハードウエア構成を示すブロック図である。印刷装置10は、互いにバス100により接続される操作部200、CPU300、記憶部400、印刷部500、および表示部600を有する。操作部200は印刷装置10の操作キー等であり、印刷装置10の操作者による操作を受け付ける。CPU300は、記憶部400に記憶されるプログラムにより動作し、後述する各機能を実現する。記憶部400はハードディスク、メモリー等の記憶素子からなる。印刷部500は、実際に印刷用紙に対して印刷データに基づく画像、図面等を印字する。表示部600は液晶ディスプレイ等の表示装置であり、印刷装置10の操作のためのメニューや、印刷装置10の動作状況等を表示する。   FIG. 1 is a block diagram showing a hardware configuration of a printing apparatus 10 according to an embodiment of the present invention. The printing apparatus 10 includes an operation unit 200, a CPU 300, a storage unit 400, a printing unit 500, and a display unit 600 that are connected to each other via a bus 100. The operation unit 200 is an operation key or the like of the printing apparatus 10 and accepts an operation by an operator of the printing apparatus 10. The CPU 300 operates by a program stored in the storage unit 400 and realizes each function described later. The storage unit 400 includes a storage element such as a hard disk or a memory. The printing unit 500 actually prints an image, a drawing, or the like based on the print data on the printing paper. The display unit 600 is a display device such as a liquid crystal display, and displays a menu for operating the printing apparatus 10, an operation status of the printing apparatus 10, and the like.

図2は、本発明の一実施形態に係る印刷装置10が有する機能を示す機能ブロック図である。印刷装置10は、フロントエンド処理部110、バックエンド処理部120、生成時間予測部130、および印刷部500を有する。   FIG. 2 is a functional block diagram illustrating functions of the printing apparatus 10 according to an embodiment of the present invention. The printing apparatus 10 includes a front end processing unit 110, a back end processing unit 120, a generation time prediction unit 130, and a printing unit 500.

フロントエンド処理部110は、ページ記述言語(Page Description Language,PDL)で記述された印刷データを含む印刷要求を受信し、印刷データから中間データを生成する。   The front-end processing unit 110 receives a print request including print data described in a page description language (PDL) and generates intermediate data from the print data.

フロントエンド処理部110は、インタプリタ111、および中間データ生成部112を有する。インタプリタ111は、ページ記述言語の印刷データを先頭から解釈する。中間データ生成部112は、インタプリタ111から入力される印刷データの解釈結果から中間データを生成する。中間データについては後述する。   The front end processing unit 110 includes an interpreter 111 and an intermediate data generation unit 112. The interpreter 111 interprets page description language print data from the top. The intermediate data generation unit 112 generates intermediate data from the interpretation result of the print data input from the interpreter 111. The intermediate data will be described later.

バックエンド処理部120は、フロントエンド処理部110により生成された中間データをラスター走査可能な画像データ(ビットマップデータ)に変換し、印刷部500に出力する。   The back-end processing unit 120 converts the intermediate data generated by the front-end processing unit 110 into raster scanable image data (bitmap data) and outputs the image data to the printing unit 500.

バックエンド処理部120は、マーキング処理部121、およびハーフトーン処理部122を有する。マーキング処理部121は、フロントエンド処理部110から入力される中間データを処理して、画像データを生成する。ハーフトーン処理部122は、マーキング処理部121により生成される画像データに対しハーフトーン処理を行う。   The back end processing unit 120 includes a marking processing unit 121 and a halftone processing unit 122. The marking processing unit 121 processes the intermediate data input from the front end processing unit 110 to generate image data. The halftone processing unit 122 performs halftone processing on the image data generated by the marking processing unit 121.

生成時間予測部130は、フロントエンド処理部110で生成される中間データに基づいて、バックエンド処理部120におけるビットマップデータ(印刷のためのデータ)の生成処理(ラスタライズ処理)に要する生成時間を予測し、予測された生成時間を示す情報(生成時間情報)を印刷部500に出力する。   Based on the intermediate data generated by the front end processing unit 110, the generation time prediction unit 130 determines the generation time required for the generation processing (rasterization processing) of bitmap data (data for printing) in the back end processing unit 120. The information (generation time information) indicating the predicted generation time is output to the printing unit 500.

印刷部500は、バックエンド処理部120から入力されるハーフトーン処理後の画像データの印刷処理を実行する。印刷部500は、印刷制御部501、および印刷処理部502を有する。印刷制御部501は印刷処理部502において実行される印刷処理を制御し、特に生成時間予測部130から入力される生成時間情報に基づいて印刷処理部502における用紙の搬送速度等を制御する。印刷処理部502は、印刷制御部501による制御に基づいて、バックエンド処理部120から入力されるビットマップデータの印刷処理を行う。   The printing unit 500 executes printing processing of the image data after halftone processing input from the back-end processing unit 120. The printing unit 500 includes a print control unit 501 and a print processing unit 502. The print control unit 501 controls the printing process executed in the print processing unit 502, and in particular controls the sheet conveyance speed in the print processing unit 502 based on the generation time information input from the generation time prediction unit 130. The print processing unit 502 performs print processing of bitmap data input from the back-end processing unit 120 based on control by the print control unit 501.

次に、中間データおよび生成時間予測部130の動作について説明する。図3は、本実施形態に係る印刷装置10において生成される中間データの構成を示す図である。   Next, the operation of the intermediate data and generation time prediction unit 130 will be described. FIG. 3 is a diagram illustrating a configuration of intermediate data generated in the printing apparatus 10 according to the present embodiment.

本実施形態で使用する中間データは、オブジェクト700ごとに、当該オブジェクト700の領域を示すBbox情報、当該オブジェクト700の色を示すColor情報、当該オブジェクト700の形状を示すShape情報と、を含んで構成される。ここでBbox情報は、オブジェクト700を囲む矩形領域の2つの頂点の座標を示す。図4は、Bbox情報において示される2つの座標を示す図である。Color情報は、オブジェクト700の色とともに、当該色が一様に塗られたものか(ConstantColor)、グラデーション状に塗られたものか(ContinuousColor)、ラスタ状に塗られたものか(RasterColor)を示す。Shape情報は、オブジェクト700の形状が矩形領域そのもの(Rect)か、矩形領域内の複数の両端が規定される線分の結合で表現されるもの(RunMask)か、矩形領域内に配置されるビット単位で表現するもの(RasterMask)か、を示す。   The intermediate data used in the present embodiment includes, for each object 700, Bbox information indicating the area of the object 700, Color information indicating the color of the object 700, and Shape information indicating the shape of the object 700. Is done. Here, the Bbox information indicates the coordinates of two vertices of a rectangular area surrounding the object 700. FIG. 4 is a diagram illustrating two coordinates indicated in the Bbox information. The color information indicates, along with the color of the object 700, whether the color is applied uniformly (ConstantColor), applied in a gradation (ContinuousColor), or applied in a raster (RasterColor). . The shape information is a bit arranged in the rectangular area, whether the shape of the object 700 is the rectangular area itself (Rect), or expressed by a combination of line segments that define a plurality of ends in the rectangular area (RunMask). Indicates what is expressed in units (RasterMask).

生成時間予測部130は、中間データに対して解析を行い、ビットマップデータ(印刷のためのデータ)の生成時間を予測する。生成時間予測部130は、中間データ解析部131、Bbox情報処理部132、Color情報処理部133、Shape情報処理部134、相関関係情報保持部135、および生成時間算出部136を有する。   The generation time prediction unit 130 analyzes the intermediate data and predicts the generation time of the bitmap data (data for printing). The generation time prediction unit 130 includes an intermediate data analysis unit 131, a Bbox information processing unit 132, a color information processing unit 133, a shape information processing unit 134, a correlation information holding unit 135, and a generation time calculation unit 136.

中間データ解析部131は、中間データ生成部112で生成される中間データに対して解析処理を行い、Bbox情報、Color情報、およびShape情報を取得する。   The intermediate data analysis unit 131 performs an analysis process on the intermediate data generated by the intermediate data generation unit 112, and acquires Bbox information, Color information, and Shape information.

Bbox情報処理部132は、中間データ解析部131で生成されるBbox情報に基づいて、生成時間算出のためのパラメータを生成する。Color情報処理部133は、中間データ解析部131で生成されるColor情報に基づいて、生成時間算出のためのパラメータを生成する。Shape情報処理部134は、中間データ解析部131で生成されるShape情報に基づいて、生成時間算出のためのパラメータを生成する。Bbox情報処理部132、Color情報処理部133、およびShape情報処理部134における処理については後述する。   The Bbox information processing unit 132 generates a parameter for calculating the generation time based on the Bbox information generated by the intermediate data analysis unit 131. The color information processing unit 133 generates parameters for calculating the generation time based on the color information generated by the intermediate data analysis unit 131. The shape information processing unit 134 generates a parameter for calculating the generation time based on the shape information generated by the intermediate data analysis unit 131. Processing in the Bbox information processing unit 132, the Color information processing unit 133, and the Shape information processing unit 134 will be described later.

相関関係情報保持部135は、予め印刷装置10において実際に印刷して測定された印刷時間に基づいて取得される、Bbox情報処理部132、Color情報処理部133、およびShape情報処理部134において生成されるパラメータと、生成時間と、の相関関係を示す相関関係情報を保持する。生成時間算出部136は、Bbox情報処理部132、Color情報処理部133、およびShape情報処理部134で生成されたパラメータに基づいて、相関関係情報保持部135に保持されている相関関係情報を用いて、生成時間を算出する。相関関係情報保持部135において保持される相関関係情報、および生成時間算出部136における処理については後述する。   The correlation information holding unit 135 is generated by the Bbox information processing unit 132, the Color information processing unit 133, and the Shape information processing unit 134, which are acquired based on the printing time actually printed and measured by the printing apparatus 10 in advance. The correlation information indicating the correlation between the parameter to be generated and the generation time is held. The generation time calculation unit 136 uses the correlation information held in the correlation information holding unit 135 based on the parameters generated by the Bbox information processing unit 132, the Color information processing unit 133, and the Shape information processing unit 134. To calculate the generation time. The correlation information held in the correlation information holding unit 135 and the processing in the generation time calculation unit 136 will be described later.

以下、生成時間予測部130の各部の動作について説明する。図5は、生成時間予測部130における予測処理の概念を示す図である。生成時間の予測に先立って、印刷装置10においてはビットマップデータの実際の生成時間が測定され、相関関係情報保持部135には、各パラメータの値を有するビットマップデータの実際の生成時間、又は各パラメータから生成時間を算出するための近似式(図5の各グラフを表現する式)が保持されている。   Hereinafter, the operation of each unit of the generation time prediction unit 130 will be described. FIG. 5 is a diagram illustrating a concept of prediction processing in the generation time prediction unit 130. Prior to the generation time prediction, the printing apparatus 10 measures the actual generation time of the bitmap data, and the correlation information holding unit 135 stores the actual generation time of the bitmap data having the values of the parameters, or An approximate expression (expression expressing each graph in FIG. 5) for calculating the generation time from each parameter is held.

ここでBbox情報については、処理時間は矩形領域の面積の増加に伴い増加する(図5のグラフ(1))ことから、相関関係情報保持部135は近似式として、面積に対する実際の印刷時間又は面積を変数とする比例式を保持している。Bbox情報処理部132は、Bbox情報に基づいて矩形領域の面積を示すパラメータを生成し、生成時間算出部136に出力する。   Here, regarding the Bbox information, the processing time increases as the area of the rectangular region increases (graph (1) in FIG. 5), so the correlation information holding unit 135 uses the actual printing time or the area as an approximate expression. It holds a proportional expression with the area as a variable. The Bbox information processing unit 132 generates a parameter indicating the area of the rectangular region based on the Bbox information and outputs the parameter to the generation time calculation unit 136.

Color情報については、相関関係情報保持部135は、Color情報がConstantColor又は、ContinuousColorである場合の生成時間として、一定の数値を保持しており、RasterColorである場合には、相関関係情報保持部135はオブジェクトを画面内に配置する際にオブジェクト700のサイズおよび位置を規定する回転行列の数値に対して、実際の生成時間又は各数値を変数とする数式を保持している。生成時間予測部130において算出される回転行列は、以下の形式を有する。   For the Color information, the correlation information holding unit 135 holds a constant numerical value as the generation time when the Color information is ConstantColor or ContinuousColor, and when the Color information is the RasterColor, the correlation information holding unit 135 is held. Holds a mathematical expression using actual generation time or each numerical value as a variable with respect to the numerical value of the rotation matrix that defines the size and position of the object 700 when the object is arranged in the screen. The rotation matrix calculated in the generation time prediction unit 130 has the following format.

Figure 2016052753
Figure 2016052753

オブジェクト700の回転角度は、式(1)のa,b,c,dから算出される。回転角度が0°又は180°の場合はライン単位でメモリーから読み出されたデータをキャッシュして使用できるのに対し90°又は270°の場合は常にメモリーからデータを読み出す必要があるため、90°又は270°の方が生成時間は長くなる(図5のグラフ(2)(3))。   The rotation angle of the object 700 is calculated from a, b, c, and d in Expression (1). When the rotation angle is 0 ° or 180 °, the data read from the memory in units of lines can be cached and used, whereas when it is 90 ° or 270 °, it is necessary to always read the data from the memory. The generation time is longer at ° or 270 ° (graphs (2) and (3) in FIG. 5).

オブジェクト700の拡大率は、式(1)のa,b,c,dから算出される。描画処理において、拡大率が1より小さい場合はDevice to Source変換が、拡大率が1以上である場合にはSource to Device変換が、それぞれ実行される。Device to Source変換とSource to Device変換においては処理内容が異なるため、予測される生成時間も異なる。   The enlargement ratio of the object 700 is calculated from a, b, c, and d in Expression (1). In the drawing process, when the enlargement ratio is smaller than 1, Device to Source conversion is executed, and when the enlargement ratio is 1 or more, Source to Device conversion is executed. Since the processing contents are different between the Device to Source conversion and the Source to Device conversion, the predicted generation times are also different.

更に、Color情報がRasterColorの場合については、相関関係情報保持部135は、生成時間はSourceData量に比例するとする相関関係情報を保持しており(図5のグラフ(4))、生成時間算出部136はSourceData量に基づいて生成時間を算出する。   Further, when the Color information is the RasterColor, the correlation information holding unit 135 holds correlation information in which the generation time is proportional to the amount of SourceData (graph (4) in FIG. 5), and the generation time calculation unit 136 calculates the generation time based on the amount of SourceData.

更に、Color情報がRasterColorの場合にはついては、相関関係情報保持部135は、生成時間が、横方向の1ラインにおける色の変化点の数の増加に伴い増加するとする相関関係情報を保持しており(図5のグラフ(5))、生成時間算出部136は変化点の数に基づいて生成時間を算出する。すなわち、単一のオブジェクト700が複数の色で彩色されている場合、生成時間算出部136は、色が変化する変化点の数に基づいて生成時間を予測し、ここで変化点の数が多いほど予測される生成時間は長くなる。   Further, when the Color information is the RasterColor, the correlation information holding unit 135 holds the correlation information that the generation time increases as the number of color change points in one horizontal line increases. The generation time calculation unit 136 calculates the generation time based on the number of change points (graph (5) in FIG. 5). That is, when the single object 700 is colored with a plurality of colors, the generation time calculation unit 136 predicts the generation time based on the number of change points at which the color changes, and here the number of change points is large. The generation time predicted becomes longer.

図6は、本発明の一実施形態に係る印刷装置10のColor情報処理部133の構成を示す図である。Color情報処理部133は、Color情報判定部330、回転行列生成部331、およびパラメータ生成部332を有する。Color情報判定部330は、Color情報がConstantColor、ContinuousColor、およびRasterColorのどれであるか判定を行う。回転行列生成部331は、Color情報がRasterColorである場合に、式(1)に示される回転行列を算出する。パラメータ生成部332は、Color情報判定部330、および回転行列生成部331からの出力に基づいて上述の各数値(回転角度、拡大率、ソースデータ量、変化点の数)を示すパラメータを生成する。生成されたパラメータは生成時間算出部136に出力され、生成時間算出部136は入力されるパラメータおよび相関関係情報保持部135に保持される相関関係情報に基づいて、生成時間を予測する。   FIG. 6 is a diagram illustrating a configuration of the color information processing unit 133 of the printing apparatus 10 according to an embodiment of the present invention. The color information processing unit 133 includes a color information determination unit 330, a rotation matrix generation unit 331, and a parameter generation unit 332. The color information determination unit 330 determines whether the color information is a constant color, a continuous color, or a raster color. The rotation matrix generation unit 331 calculates the rotation matrix represented by the equation (1) when the Color information is RasterColor. The parameter generation unit 332 generates parameters indicating the above numerical values (rotation angle, enlargement ratio, source data amount, number of change points) based on outputs from the color information determination unit 330 and the rotation matrix generation unit 331. . The generated parameter is output to the generation time calculation unit 136, and the generation time calculation unit 136 predicts the generation time based on the input parameters and the correlation information held in the correlation information holding unit 135.

以上で述べたとおり、相関関係情報保持部135は、各パラメータについて、予め測定された生成時間、又は測定された生成時間に基づいて生成された近似式を保持しており、処理対象の画像について算出されたパラメータに基づいて処理時間を予測する。なお、図5においては概念を明確に示すためにパラメータのそれぞれと生成時間との関係を示しているが、実際には相関関係情報保持部135は各パラメータの一部又は全てに対する生成時間又は近似式を保持しており(図5の式(A))、生成時間算出部136は各パラメータの一部又は全てに基づいて、1つの処理時間を予測する処理を実行する。また、各グラフは模式的に直線で描画されているが、実際には必ずしも直線ではなく、印刷装置10の特性等に応じて複雑な曲線を描くこともある。   As described above, the correlation information holding unit 135 holds, for each parameter, a generation time measured in advance or an approximate expression generated based on the measured generation time. A processing time is predicted based on the calculated parameters. In FIG. 5, the relationship between each parameter and the generation time is shown in order to clearly show the concept, but in reality, the correlation information holding unit 135 generates or approximates the generation time or approximation for some or all of each parameter The generation time calculation unit 136 executes a process of predicting one processing time based on a part or all of each parameter (Equation (A) in FIG. 5). In addition, each graph is schematically drawn as a straight line, but actually, it is not necessarily a straight line, and a complicated curve may be drawn according to the characteristics of the printing apparatus 10 or the like.

次に、印刷装置10の処理をフローチャートを用いて説明する。図7は、本発明の一実施形態に係る印刷装置10における生成時間の予測処理を示すフローチャートである。   Next, processing of the printing apparatus 10 will be described using a flowchart. FIG. 7 is a flowchart showing generation time prediction processing in the printing apparatus 10 according to an embodiment of the present invention.

中間データが生成されて生成時間の予測処理が開始されると、生成時間予測部130の中間データ解析部131は、中間データを解析し(S700)、Bbox情報、Color情報、およびShape情報を生成する。   When intermediate data is generated and generation time prediction processing is started, the intermediate data analysis unit 131 of the generation time prediction unit 130 analyzes the intermediate data (S700), and generates Bbox information, Color information, and Shape information. To do.

次に、生成時間予測部130のBbox情報処理部132は、Bbox情報に基づいて、オブジェクトを囲む矩形領域の面積を示すパラメータを生成する(S701)。   Next, the Bbox information processing unit 132 of the generation time prediction unit 130 generates a parameter indicating the area of the rectangular region surrounding the object based on the Bbox information (S701).

次に、生成時間予測部130のColor情報処理部133は、Color情報を参照し(S702)、ConstantColorである場合、およびContinuousColorである場合にはその旨を示すパラメータを生成する(S703,S704)。   Next, the color information processing unit 133 of the generation time predicting unit 130 refers to the color information (S702), and if it is a constant color and a continuous color, generates a parameter indicating that (S703, S704). .

一方、Color情報がRasterColorである場合には、Color情報処理部133は回転行列を生成し(S705)、回転角度の判定(S706)および回転角度を示すパラメータの生成(S707,S708)、拡大率の判定(S709)および拡大率を示すパラメータの生成(S710,S711)、SourceDataの取得(S712)、SourceData量を示すパラメータの生成(S713)、変化点の数を示すパラメータの生成(S714)を行う。   On the other hand, if the Color information is the RasterColor, the Color information processing unit 133 generates a rotation matrix (S705), determines a rotation angle (S706), generates a parameter indicating the rotation angle (S707, S708), and an enlargement ratio. Determination (S709), generation of parameters indicating the enlargement ratio (S710, S711), acquisition of SourceData (S712), generation of parameters indicating the amount of SourceData (S713), and generation of parameters indicating the number of change points (S714) Do.

そして生成時間予測部130の生成時間算出部136は、相関関係情報保持部135から相関関係情報を取得し(S715)、S703,S704,S707,S708,S710,S711,S713,およびS714で生成された情報を当て嵌めて生成時間を算出する(S716)。以上で本実施形態に係る印刷装置10における生成時間の予測処理は終了する。   Then, the generation time calculation unit 136 of the generation time prediction unit 130 acquires the correlation information from the correlation information holding unit 135 (S715), and is generated in S703, S704, S707, S708, S710, S711, S713, and S714. The generation time is calculated by applying the received information (S716). The generation time prediction process in the printing apparatus 10 according to the present embodiment is thus completed.

以上の構成によれば、オブジェクト700内の色が変化する変化点の数に基づいて印刷のためのデータの生成に要する生成時間の予測を行う印刷装置10が提供される。   According to the above configuration, the printing apparatus 10 is provided that predicts the generation time required for generating data for printing based on the number of change points where the color in the object 700 changes.

なお、本発明は上述の実施形態に限定されず、オブジェクト700について生成される、色の変換点の数を含む情報に基づいて印刷のためのデータの生成時間の予測を行う構成を有する範囲において変更された他の実施形態にも及ぶものである。   Note that the present invention is not limited to the above-described embodiment, and is within a range having a configuration in which generation time of data for printing is predicted based on information generated for the object 700 and including the number of color conversion points. It extends to other modified embodiments.

例えば、上述の実施形態では各パラメータに基づいてラスタライズ処理に要する時間を予測する印刷装置10が開示されたが、各パラメータに基づいて予測が可能な他の処理について所要時間を予測する他の構成としてもよい。   For example, in the above-described embodiment, the printing apparatus 10 that predicts the time required for the rasterization process based on each parameter has been disclosed. However, other configurations that predict the required time for other processes that can be predicted based on each parameter It is good.

また、本発明における中間データは実施形態で説明した形式に限定されず、同等の情報を含む他の形式のデータを用いる構成についても及ぶことはいうまでもない。   Further, the intermediate data in the present invention is not limited to the format described in the embodiment, and it goes without saying that the configuration uses data in other formats including equivalent information.

なお、ここで述べた印刷装置10の動作は、記憶部400に記憶されるプログラムを動作させることで実現される。このプログラムは通信によって提供されてもよいし、コンピュータによる読み取りが可能な、CD−ROM等の記憶媒体に格納されて提供されてもよい。   Note that the operation of the printing apparatus 10 described here is realized by operating a program stored in the storage unit 400. This program may be provided by communication, or may be provided by being stored in a storage medium such as a CD-ROM that can be read by a computer.

10 印刷装置、100 バス、110 フロントエンド処理部、111 インタプリタ、112 中間データ生成部、120 バックエンド処理部、121 マーキング処理部、122 ハーフトーン処理部、130 生成時間予測部、131 中間データ解析部、132 Bbox情報処理部、133 Color情報処理部、134 Shape情報処理部、135 相関関係情報保持部、136 生成時間算出部、200 操作部、300 CPU、330 Color情報判定部、331 回転行列生成部、332 パラメータ生成部、400 記憶部、500 印刷部、501 印刷制御部、502 印刷処理部、600 表示部、700 オブジェクト。   10 printing apparatus, 100 bus, 110 front end processing unit, 111 interpreter, 112 intermediate data generation unit, 120 back end processing unit, 121 marking processing unit, 122 halftone processing unit, 130 generation time prediction unit, 131 intermediate data analysis unit 132 Bbox information processing unit, 133 Color information processing unit, 134 Shape information processing unit, 135 correlation information holding unit, 136 generation time calculation unit, 200 operation unit, 300 CPU, 330 Color information determination unit, 331 rotation matrix generation unit 332 Parameter generation unit, 400 storage unit, 500 printing unit, 501 printing control unit, 502 printing processing unit, 600 display unit, 700 object.

Claims (7)

印刷画像内のオブジェクトの彩色内容を示す色情報を取得する手段と、
前記印刷画像を印刷するためのデータの生成に要する生成時間を予測する生成時間予測手段と、を有し、
前記生成時間予測手段は、
前記色情報により示される、単一オブジェクト内の色が変化する変化点の数に基づいて前記生成時間を予測する、
ことを特徴とする印刷装置。
Means for obtaining color information indicating the coloring content of the object in the print image;
Generation time prediction means for predicting a generation time required for generating data for printing the print image,
The generation time prediction means includes
Predicting the generation time based on the number of change points indicated by the color information where the color in a single object changes.
A printing apparatus characterized by that.
請求項1に記載の印刷装置において、
前記生成時間予測手段は、前記変化点の数がより多い印刷画像について、より長い生成時間を予測することを特徴とする印刷装置。
The printing apparatus according to claim 1,
The printing apparatus according to claim 1, wherein the generation time predicting unit predicts a longer generation time for a print image having a larger number of change points.
請求項1又は2に記載の印刷装置において、
前記色情報は、前記オブジェクトを彩色する色が複数であるか否かを示すパラメータを含み、
前記生成時間予測手段は、
前記彩色する色が複数であることを示すパラメータを含む色情報に係る印刷画像について、前記変化点の数に基づいて前記生成時間を予測する、
ことを特徴とする印刷装置。
The printing apparatus according to claim 1 or 2,
The color information includes a parameter indicating whether or not there are a plurality of colors for coloring the object,
The generation time prediction means includes
Predicting the generation time based on the number of change points for a print image related to color information including a parameter indicating that there are a plurality of colors to be colored;
A printing apparatus characterized by that.
請求項1乃至3のいずれかに記載の印刷装置において、
前記印刷画像について、前記色情報、前記オブジェクトを囲む矩形領域の座標を示す情報、および前記オブジェクトの形状を示す情報を含む中間情報を生成する中間情報生成手段を更に有し、
前記生成時間予測手段は、前記中間情報に含まれる前記色情報に基づいて前記生成時間を予測する、
ことを特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 3,
The print image further includes intermediate information generating means for generating intermediate information including the color information, information indicating the coordinates of a rectangular region surrounding the object, and information indicating the shape of the object,
The generation time prediction means predicts the generation time based on the color information included in the intermediate information.
A printing apparatus characterized by that.
請求項1乃至4のいずれかに記載の印刷装置において、
前記生成時間に基づいて、印刷手段の動作を制御する制御手段を更に有することを特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 4,
The printing apparatus further comprising a control unit that controls an operation of the printing unit based on the generation time.
請求項1乃至5のいずれかに記載の印刷装置において、
前記生成時間は、ラスタライズ処理に要する時間であることを特徴とする印刷装置。
The printing apparatus according to any one of claims 1 to 5,
The printing apparatus according to claim 1, wherein the generation time is a time required for the rasterizing process.
コンピュータを、
印刷画像内のオブジェクトの彩色内容を示す色情報を取得する手段と、
前記印刷画像を印刷するためのデータの生成に要する生成時間を予測する生成時間予測手段と、を有し、
前記生成時間予測手段は、
前記色情報により示される、単一オブジェクト内の色が変化する変化点の数に基づいて前記生成時間を予測する、
印刷装置として動作させるプログラム。
Computer
Means for obtaining color information indicating the coloring content of the object in the print image;
Generation time prediction means for predicting a generation time required for generating data for printing the print image,
The generation time prediction means includes
Predicting the generation time based on the number of change points indicated by the color information where the color in a single object changes.
A program that operates as a printing device.
JP2014180063A 2014-09-04 2014-09-04 Printer and program Pending JP2016052753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014180063A JP2016052753A (en) 2014-09-04 2014-09-04 Printer and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014180063A JP2016052753A (en) 2014-09-04 2014-09-04 Printer and program

Publications (1)

Publication Number Publication Date
JP2016052753A true JP2016052753A (en) 2016-04-14

Family

ID=55744687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014180063A Pending JP2016052753A (en) 2014-09-04 2014-09-04 Printer and program

Country Status (1)

Country Link
JP (1) JP2016052753A (en)

Similar Documents

Publication Publication Date Title
JP2005141729A (en) Method, device, and program for peripheral apparatus and control and method, device, and program for display control
KR20120030313A (en) Detecting unit of toner consuming quantity and detecting method thereof
JP2016107490A (en) Image forming apparatus, control method, and program
US10583670B2 (en) Method for displaying objects based on display resolution, information processing apparatus for implementing method, and computer-readable medium storing instructions therefor
JP2016048428A5 (en) Information processing apparatus, control method, and computer program
JP2011203692A (en) Document management device, document management system and document management program
US8848232B2 (en) Method and system of performing prepress operations using a shell document
CN107015770B (en) Information processing apparatus and print data generation method
JP2016052753A (en) Printer and program
JP6388374B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2016115963A (en) Image processing apparatus, image processing method and program
JP6330790B2 (en) Print control system, print control apparatus, and program
JP6437076B2 (en) Information processing apparatus, control method therefor, and program
JP2014076569A (en) Image forming apparatus, control method thereof, program, and image formation system
CN104461406B (en) A kind of print-out method and device
JP2015141561A (en) Data processing device, program, and control method
US9904878B2 (en) Printer, printing method, and non-transitory computer readable medium for printing data based on a predicted performance of generating the data to be printed
JP5896610B2 (en) Apparatus, method 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
JP2007152898A (en) Printing processing apparatus
JP6755644B2 (en) Character processing device, character processing method, character processing program
JP2019185365A (en) Information processor, printer driver, and information processing method
JP7316829B2 (en) Information processing device, information processing method, and program
JP2011170850A (en) Information processing apparatus and method of controlling the same
JP2017220088A (en) Print server, print control program, and print control method