JP2015150763A - Printing device, information processing device, data processing method for the printing device, data processing method for the information processing device, and program - Google Patents

Printing device, information processing device, data processing method for the printing device, data processing method for the information processing device, and program Download PDF

Info

Publication number
JP2015150763A
JP2015150763A JP2014025747A JP2014025747A JP2015150763A JP 2015150763 A JP2015150763 A JP 2015150763A JP 2014025747 A JP2014025747 A JP 2014025747A JP 2014025747 A JP2014025747 A JP 2014025747A JP 2015150763 A JP2015150763 A JP 2015150763A
Authority
JP
Japan
Prior art keywords
data
print
complexity
printing apparatus
image
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
JP2014025747A
Other languages
Japanese (ja)
Inventor
大野 隆
Takashi Ono
隆 大野
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 JP2014025747A priority Critical patent/JP2015150763A/en
Publication of JP2015150763A publication Critical patent/JP2015150763A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printing device that can present to a user optimal recommended print setting in various documents in a short period of time.SOLUTION: The printing device which acquires and processes print data from an information processing device, divides attributes of drawing data in generated page units into blocks to analyze the divided attributes and then calculates degrees of complexity of drawing; extracts blocks from which the degrees of complexity of drawing cannot be calculated by the analysis and develops drawing data corresponding to each extracted block so as to generate image data; further analyses image data of each developed block in a unit of a pixel, counts the number of edges where hues change between adjacent pixels and calculates the degrees of complexity of drawing for all extracted blocks from the calculated number of edges and a predetermined threshold; and determines recommended print settings on the printing data on the basis of the degrees of complexity of drawing of the calculated respective pages.

Description

本発明は、印刷装置、情報処理装置、印刷装置のデータ処理方法、情報処理装置のデータ処理方法、及びプログラムに関するものである。   The present invention relates to a printing apparatus, an information processing apparatus, a data processing method for the printing apparatus, a data processing method for the information processing apparatus, and a program.

従来、パーソナルコンピュータ(以後、PC)においてアプリケーションで作成したドキュメントを印刷する場合、プリンタドライバを介してプリンタが解釈可能な印刷データに変換する。この際、ユーザは、プリンタドライバのUI上の様々な設定項目から必要な項目を選択し設定を変更することで、所望の印刷結果を得ている。   Conventionally, when a document created by an application is printed on a personal computer (hereinafter referred to as a PC), it is converted into print data that can be interpreted by the printer via a printer driver. At this time, the user obtains a desired print result by selecting necessary items from various setting items on the UI of the printer driver and changing the settings.

近年、モバイル端末の普及により、モバイル端末からドキュメントを印刷するケースが増加している。モバイル端末はPCに接続されたディスプレイよりも表示画面は小さく、従来のプリンタドライバのUIを表示するには不向きである。また、様々な設定項目を変更するのはユーザにとって非常に煩わしい操作をすることになり、手間のかかる作業となっている。   In recent years, with the spread of mobile terminals, cases of printing documents from mobile terminals are increasing. A mobile terminal has a smaller display screen than a display connected to a PC, and is not suitable for displaying a UI of a conventional printer driver. Also, changing various setting items requires a very troublesome operation for the user, and is a laborious operation.

これらの課題を解決するために、あらかじめドキュメントに適した印刷設定を印刷データから判定し、判定した印刷設定をユーザに提示する方法が考えられる。印刷データの判定においては、印刷データ内の各描画データを判定するか、各描画データを展開したイメージデータを判定する方法が考えられる。これに対し、描画データの判定については、描画データの文字のサイズを判定し、判読可能なページ集約数を決定する方法が提案されている。(特許文献1)この方法を使うことにより、ドキュメントに適したページ集約数をユーザに提示することが可能である。   In order to solve these problems, a method is conceivable in which print settings suitable for a document are determined in advance from print data, and the determined print settings are presented to the user. In determining the print data, a method of determining each drawing data in the print data or determining image data obtained by developing each drawing data can be considered. On the other hand, with regard to the determination of drawing data, a method has been proposed in which the character size of the drawing data is determined and the readable page aggregation number is determined. (Patent Document 1) By using this method, it is possible to present a user with a page aggregation number suitable for a document.

特開2012−190238号公報JP 2012-190238 A

しかしながら、前述した方法では、文字の描画データのみを判定しているため、判定方法は容易であり、短時間で判定可能だが、グラフィックやイメージを多く含んだドキュメントにおいて、良好な判定結果が得られない。
一方、展開した画像データで判定を行う場合、全てのドキュメントにおいて最適な判定結果が得られるが、ピクセル単位で行うことになるため、判定処理に時間がかかり、推奨印刷設定の提示までユーザを待たせることになる。
本発明は、上記の課題を解決するためになされたもので、本発明の目的は、ユーザに対し、様々なドキュメントにおいて最適な推奨印刷設定を短時間で提示できる仕組みを提供することである。
However, in the method described above, only the character drawing data is determined, so the determination method is easy and can be determined in a short time. However, a good determination result can be obtained in a document containing many graphics and images. Absent.
On the other hand, when the determination is performed on the developed image data, an optimal determination result is obtained for all documents, but since it is performed in units of pixels, the determination process takes time, and the user waits for presentation of recommended print settings. I will let you.
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 presenting optimum recommended print settings in various documents to a user in a short time.

上記目的を達成する本発明の印刷装置は以下に示す構成を備える。
情報処理装置から印刷データを取得して処理する印刷装置であって、前記印刷データより描画データをページ単位に生成する生成手段と、前記生成手段により生成されるページ単位の描画データの属性をブロックに分けて解析して描画複雑度を算出する第1の算出手段と、前記第1の算出手段による解析で描画複雑度を算出できないブロックを抽出する抽出手段と、前記抽出手段により抽出された各ブロックに対応する描画データを展開して画像データを生成する展開手段と、前記展開手段により展開された各ブロックの画像データを画素単位に解析し、隣接する画素間で色味が変化するエッジ数をカウントするカウント手段と、前記カウント手段により算出されたエッジ数と所定のしきい値とから抽出された全てのブロックについて描画複雑度を算出する第2の算出手段と、前記第1の算出手段または前記第2の算出手段により算出された各ページの描画複雑度に基づいて、前記印刷データに対する推奨印刷設定を決定する決定手段と、を備えることを特徴とする。
上記目的を達成する本発明の情報処理装置は以下に示す構成を備える。
印刷データを印刷装置に送信する情報処理装置であって、前記印刷データと、当該印刷データに対する推奨印刷設定の要求とを前記印刷装置に転送する転送手段と、前記印刷装置により決定された前記印刷データに対する前記推奨印刷設定を取得する取得手段と、前記取得手段が取得した前記推奨印刷設定に従い前記印刷データを前記印刷装置が印刷する画像データに展開する画像生成手段と、前記画像生成手段が生成した画像データを表示する表示手段と、を備えることを特徴とする。
The printing apparatus of the present invention that achieves the above object has the following configuration.
A printing device that acquires print data from an information processing device and processes the print data, generating a drawing data from the print data in units of pages, and blocking attributes of the drawing data in units of pages generated by the generation unit A first calculation unit for analyzing the drawing complexity and calculating a drawing complexity, an extraction unit for extracting a block whose drawing complexity cannot be calculated by the analysis by the first calculation unit, and each of the extraction units extracted by the extraction unit An expansion unit that expands drawing data corresponding to a block to generate image data, and the number of edges whose color changes between adjacent pixels by analyzing the image data of each block expanded by the expansion unit on a pixel basis A drawing means for all the blocks extracted from the counting means for counting the number of edges and a predetermined threshold value calculated by the counting means. Second calculating means for calculating the degree, and determining means for determining a recommended print setting for the print data based on the drawing complexity of each page calculated by the first calculating means or the second calculating means And.
The information processing apparatus of the present invention that achieves the above object has the following configuration.
An information processing apparatus for transmitting print data to a printing apparatus, wherein the print data and a transfer means for transferring a recommended print setting request for the print data to the printing apparatus, and the printing determined by the printing apparatus An acquisition unit that acquires the recommended print setting for data, an image generation unit that develops the print data into image data to be printed by the printing apparatus according to the recommended print setting acquired by the acquisition unit, and the image generation unit Display means for displaying the processed image data.

本発明によれば、ユーザに対し、様々なドキュメントにおいて最適な推奨印刷設定を短時間で提示できる。   According to the present invention, it is possible to present the optimum recommended print settings for various documents in a short time to the user.

印刷システムの機能モジュール構成を示すブロック図である。It is a block diagram showing a functional module configuration of the printing system. 印刷システムのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of a printing system. 印刷システムのデータ処理方法を説明するフローチャートである。3 is a flowchart illustrating a data processing method of the printing system. 印刷装置のデータ処理方法を説明するフローチャートである。6 is a flowchart illustrating a data processing method of the printing apparatus. 複雑度判定する描画データの一例を示す図である。It is a figure which shows an example of the drawing data which judge complexity. ブロック管理テーブルの一例を示す図である。It is a figure which shows an example of a block management table. 印刷装置のデータ処理方法を説明するフローチャートである。6 is a flowchart illustrating a data processing method of the printing apparatus. 印刷装置のデータ処理方法を説明するフローチャートである。6 is a flowchart illustrating a data processing method of the printing apparatus. 画像データの一例を示す図である。It is a figure which shows an example of image data. 印刷装置のデータ処理方法を説明するフローチャートである。6 is a flowchart illustrating a data processing method of the printing apparatus. モバイル端末に表示されるUI画面を示す図である。It is a figure which shows UI screen displayed on a mobile terminal. モバイル端末の機能モジュール構成を示すブロック図である。It is a block diagram which shows the function module structure of a mobile terminal. データ処理装置のデータ処理方法を説明するフローチャートである。It is a flowchart explaining the data processing method of a data processor.

次に本発明を実施するための最良の形態について図面を参照して説明する。
<システム構成の説明>
〔第1実施形態〕
図1は、本実施形態を示す情報処理装置と印刷装置を含む印刷システムの機能モジュール構成を示すブロック図である。
図1において、ユーザが携帯して利用することが可能なモバイル端末101は、ユーザの操作に従って選択されたドキュメントの印刷データを生成し、ネットワーク103を介し、印刷装置102に印刷データを送信する。印刷装置102は、ネットワーク103を介して送信された印刷データを処理し、印刷する。
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 functional module configuration of a printing system including an information processing apparatus and a printing apparatus according to the present embodiment.
In FIG. 1, a mobile terminal 101 that can be carried and used by a user generates print data of a document selected according to a user operation, and transmits the print data to the printing apparatus 102 via the network 103. The printing apparatus 102 processes the print data transmitted via the network 103 and prints it.

次に、モバイル端末101の詳細な機能モジュール構成を説明する。
モバイル端末101において、301はUI処理部で、ユーザの操作を受け付け後述する各処理部にドキュメントの印刷データ、画像データの生成や推奨設定判定依頼の指示要求を転送したり、生成された画像を表示したりする。
302はデータ処理部で、UI処理部301からの指示に従い、選択されたドキュメントのデータをファイル306から読み出し、印刷データを生成し、データスプール305に格納する。
Next, a detailed functional module configuration of the mobile terminal 101 will be described.
In the mobile terminal 101, reference numeral 301 denotes a UI processing unit, which receives user operations, transfers document print data, image data generation and recommended setting determination request instruction requests to each processing unit described later, and generates generated images. Or display.
A data processing unit 302 reads out data of the selected document from the file 306 in accordance with an instruction from the UI processing unit 301, generates print data, and stores it in the data spool 305.

303はネットワーク処理部で、データスプール305に格納された印刷データを、ネットワーク103を介して印刷装置102に送信する。ネットワーク処理部303は、UI処理部301の指示に従い、印刷装置102への印刷データ送信と推奨設定判定依頼または印刷依頼を行う。
304は画像生成部で、選択されたドキュメントの画像や、印刷装置102で決定した推奨印刷設定に従って画像データを生成し、生成した画像データをUI処理部301に渡す。305はデータスプールで、データ処理部302で生成された印刷データを格納する。306はファイルで、アプリケーション等で作成したドキュメントのデータを格納する。
A network processing unit 303 transmits the print data stored in the data spool 305 to the printing apparatus 102 via the network 103. The network processing unit 303 performs print data transmission to the printing apparatus 102 and a recommended setting determination request or print request in accordance with an instruction from the UI processing unit 301.
An image generation unit 304 generates image data according to the selected document image or recommended print settings determined by the printing apparatus 102, and passes the generated image data to the UI processing unit 301. A data spool 305 stores the print data generated by the data processing unit 302. A file 306 stores document data created by an application or the like.

次に、印刷装置102の詳細な機能モジュール構成を説明する。
印刷装置102において、201はネットワーク処理部で、ネットワーク103を介して送信された印刷データ(属性の異なる描画オブジェクトが含まれる)をデータスプール208に格納する。202は解析処理部で、ネットワーク処理部201の指示に従い、データスプール208に格納された印刷データを解析し、ページ単位の描画データを描画データスプール211に格納する。203は描画データ判定部で、描画データスプール211に格納された描画データの属性を後述するようにブロックごとに描画複雑度の判定を行う。204は展開処理部で、描画データスプール211に格納されたページ単位の描画データから画像データに展開し、画像データスプール210に格納する。なお、本実施形態において、描画すべきオブジェクトには、文字、図形、画像が含まれる。
Next, a detailed functional module configuration of the printing apparatus 102 will be described.
In the printing apparatus 102, reference numeral 201 denotes a network processing unit that stores print data (including drawing objects having different attributes) transmitted via the network 103 in the data spool 208. An analysis processing unit 202 analyzes print data stored in the data spool 208 in accordance with an instruction from the network processing unit 201, and stores drawing data for each page in the drawing data spool 211. A drawing data determination unit 203 determines the drawing complexity for each block as will be described later with respect to the attributes of the drawing data stored in the drawing data spool 211. A development processing unit 204 develops image data from page-based drawing data stored in the drawing data spool 211 and stores the image data in the image data spool 210. In the present embodiment, the objects to be drawn include characters, figures, and images.

205は画像判定部で、ブロック管理テーブル209で管理されるデータを参照して、属性を特定できないブロックについて描画データから生成される画像データであって、画像データスプール210に格納された画像データを画素単位に解析して描画複雑度を判定する。206は推奨設定判定部で、描画データ判定部203、画像判定部205のそれぞれの描画複雑度の判定結果をもとに、推奨印刷設定を判定する。推奨設定判定部206は、判定結果をネットワーク処理部201に通知し、ネットワーク103を介して依頼元のモバイル端末101に送信する。
207は印刷処理部で、画像データスプール210に格納された画像データを印刷する。208はデータスプールで、ネットワーク処理部201で受信した印刷データを格納する。209はブロック管理テーブルで、描画データ判定部203の判定結果を、ページを複数に分割したブロックごとに格納しておく。ブロック管理テーブル209は、画像判定部205から参照され、画像データの判定を実行するかどうかの判定に使われる。211は描画データスプールで、解析処理部202によって生成された描画データを格納する。210は画像データスプールで、展開処理部204によって展開された画像データを格納する。
An image determination unit 205 refers to data managed by the block management table 209 and is image data generated from drawing data for a block whose attribute cannot be specified. The image data stored in the image data spool 210 is The drawing complexity is determined by analyzing pixel by pixel. A recommended setting determination unit 206 determines recommended print settings based on the respective drawing complexity determination results of the drawing data determination unit 203 and the image determination unit 205. The recommended setting determination unit 206 notifies the network processing unit 201 of the determination result and transmits the determination result to the requesting mobile terminal 101 via the network 103.
A print processing unit 207 prints image data stored in the image data spool 210. A data spool 208 stores the print data received by the network processing unit 201. A block management table 209 stores the determination result of the drawing data determination unit 203 for each block obtained by dividing the page into a plurality of blocks. The block management table 209 is referred to by the image determination unit 205 and is used to determine whether or not to execute image data determination. A drawing data spool 211 stores the drawing data generated by the analysis processing unit 202. An image data spool 210 stores the image data developed by the development processing unit 204.

<ハードウェア構成>
図2は、図1に示したモバイル端末101と印刷装置102のハードウェア構成を示すブロック図である。
<Hardware configuration>
FIG. 2 is a block diagram illustrating a hardware configuration of the mobile terminal 101 and the printing apparatus 102 illustrated in FIG.

図2において、モバイル端末101は、RAM501、CPU502、Flashメモリ503、ネットワークI/F504、ディスプレイ505から構成される。   In FIG. 2, the mobile terminal 101 includes a RAM 501, a CPU 502, a flash memory 503, a network I / F 504, and a display 505.

RAM501は、揮発性メモリであり、電源投入時にFlashメモリ503に格納された各UI処理部301、データ処理部302、ネットワーク処理部303、画像生成部304のプログラムが展開される。
また、データ処理部302で生成された印刷データの一次的な記憶領域になる。CPU502は、RAM501に展開された各処理部301〜304のプログラムを実行する演算プロセッサである。Flashメモリ503は、大量の情報を格納可能な記憶装置であり、各UI処理部301、データ処理部302、ネットワーク処理部303、画像生成部304のプログラムが格納され、また、データスプール305やファイル306の記憶領域になる。
The RAM 501 is a volatile memory, and the programs of the UI processing unit 301, the data processing unit 302, the network processing unit 303, and the image generation unit 304 stored in the flash memory 503 when the power is turned on are expanded.
In addition, this is a primary storage area for print data generated by the data processing unit 302. The CPU 502 is an arithmetic processor that executes the programs of the respective processing units 301 to 304 developed in the RAM 501. A flash memory 503 is a storage device capable of storing a large amount of information, stores programs for each UI processing unit 301, data processing unit 302, network processing unit 303, and image generation unit 304, and also includes a data spool 305 and a file. The storage area becomes 306.

ネットワークI/F504は、印刷装置102とネットワーク103を介してデータや情報の送受信を行う入出力インターフェースである。ディスプレイ505は、UI処理部301で生成した操作画面や画像生成部304で生成した画像データを表示し、ユーザの操作を電気的な信号に変換し、UI処理部301に伝達する。   A network I / F 504 is an input / output interface that transmits and receives data and information to and from the printing apparatus 102 via the network 103. The display 505 displays the operation screen generated by the UI processing unit 301 and the image data generated by the image generating unit 304, converts a user operation into an electrical signal, and transmits the electrical signal to the UI processing unit 301.

印刷装置102は、ROM401、RAM402、CPU403、HDD404、ネットワークI/F405、エンジンI/F406、プリンタエンジン407から構成される。
ROM401は、不揮発性メモリであり、印刷装置102の各ネットワーク処理部201、解析処理部202、描画データ判定部203、展開処理部204、画像判定部205、推奨設定判定部206、印刷処理部207のプログラムが格納される。
The printing apparatus 102 includes a ROM 401, a RAM 402, a CPU 403, an HDD 404, a network I / F 405, an engine I / F 406, and a printer engine 407.
A ROM 401 is a nonvolatile memory, and each network processing unit 201, analysis processing unit 202, drawing data determination unit 203, development processing unit 204, image determination unit 205, recommended setting determination unit 206, and print processing unit 207 of the printing apparatus 102. Is stored.

RAM402は、揮発性メモリであり、電源投入時にROM401に格納された各ネットワーク処理部201、解析処理部202、描画データ判定部203、展開処理部204、画像判定部205、推奨設定判定部206、印刷処理部207のプログラムが展開される。
また、ブロック管理テーブル209が格納されるとともに、データスプール208、画像データスプール210、描画データスプール211の一次的な記憶領域になる。
A RAM 402 is a volatile memory, and each network processing unit 201, analysis processing unit 202, drawing data determination unit 203, development processing unit 204, image determination unit 205, recommended setting determination unit 206, stored in the ROM 401 when the power is turned on. The program of the print processing unit 207 is expanded.
In addition, the block management table 209 is stored and becomes a primary storage area of the data spool 208, the image data spool 210, and the drawing data spool 211.

CPU403は、RAM402に展開された各ネットワーク処理部201、解析処理部202、描画データ判定部203、展開処理部204、画像判定部205、推奨設定判定部206、印刷処理部207のプログラムを実行する演算プロセッサである。   The CPU 403 executes the programs of each network processing unit 201, analysis processing unit 202, drawing data determination unit 203, development processing unit 204, image determination unit 205, recommended setting determination unit 206, and print processing unit 207 expanded in the RAM 402. It is an arithmetic processor.

HDD404は、大量の情報を格納可能な記憶装置であり、データスプール208、画像データスプール210の記憶領域になる。エンジンI/F406は、印刷処理部207の制御で、画像データスプール210に格納された画像データをビデオデータに変換し、プリンタエンジン407に出力する。プリンタエンジン407は、不図示の印刷プロセスでビデオデータをもとに用紙に印刷する。ネットワークI/F405は、ネットワーク103を介して、モバイル端末101と通信を行う。   The HDD 404 is a storage device capable of storing a large amount of information, and serves as a storage area for the data spool 208 and the image data spool 210. The engine I / F 406 converts the image data stored in the image data spool 210 into video data under the control of the print processing unit 207, and outputs the video data to the printer engine 407. The printer engine 407 prints on paper based on the video data in a printing process (not shown). A network I / F 405 communicates with the mobile terminal 101 via the network 103.

<印刷処理フロー> <Print processing flow>

図3は、本実施形態を示す印刷システムのデータ処理方法を説明するフローチャートである。図3の(A)はモバイル端末101のCPU502、および図3の(B)は印刷装置102のCPU403で実行される推奨印刷設定の印刷処理例に対応する。ここで、推奨印刷設定として、レイアウト印刷設定を例とするが、本発明はレイアウト印刷設定に限定されるものではない。なお、各ステップは、CPU502またはCPU403が記憶された制御プログラムを実行することで実現される。また、以下の説明では、CPU502またはCPU403が実行するモジュールを主体として説明する。
モバイル端末101においては、S1001で、UI処理部301は、ユーザの操作による印刷データの選択指示を受ける。S1002で、データ処理部302はUI処理部301からの指示に従い、ファイル306から選択されたデータを読み出し、印刷装置102で処理可能な印刷データに変換し、印刷データをデータスプール305に格納する。
S1003で、ネットワーク処理部303は、ネットワークI/F504を介して印刷データを印刷装置102へ送信し、推奨印刷設定の判定依頼をする。S1004で、モバイル端末101は印刷装置102からの推奨印刷設定の判定結果を待つ。
印刷装置102においては、S1010で、ネットワーク処理部201は印刷データを受信すると、データスプール208に印刷データを格納するとともに、S1011で、推奨印刷設定の判定依頼かを判定する。推奨印刷設定の判定依頼であるとネットワーク処理部201が判断した場合、S1012で、解析処理部202は、データスプール208に格納された印刷データを解析し、描画データを生成し、描画データを描画データスプール211に格納する。
S1013で、解析処理部202がジョブ終了コマンドを解析するまで、S1012〜S1017を繰り返し実行する。
具体的には、S1014で、解析処理部202がページ終了コマンドを解析するまで、S1012〜S1015を繰り返し実行する。S1015で、描画データ判定部203は、描画データスプール211に格納された描画データに対し、描画結果の視覚的な細かさを示す複雑度の判定を行い、判定結果を後述のブロック管理テーブル209に格納し、S1012の処理に戻る。
S1014で、ページ終了コマンドを解析すると、S1016で、展開処理部204は、描画データスプール211に格納された描画データをレンダリングし、画像データを画像データスプール210に格納する。
S1017で、画像判定部205は、ブロック管理テーブル209に格納された描画データの判定結果を参照し、画像データスプール210に格納された画像データの複雑度を判定し、S1012の処理に戻る。
一方、S1013で、解析処理部202がジョブ終了コマンドを解析すると、S1018で、推奨設定判定部206は、S1015、S1017の複雑度判定の結果をもとに、印刷データの推奨印刷設定を判定する。
S1019で、ネットワーク処理部201を介してネットワーク103に接続された依頼元のモバイル端末101に、印刷レイアウト等の推奨印刷設定の判定結果を送信する。
モバイル端末101においては、S1004で、ネットワーク処理部303が印刷装置102から送信された推奨印刷設定を受けると、S1005で、画像生成部304は、推奨印刷設定に従って画像データを生成する。S1006で、画像生成部304で生成された画像データを、UI処理部301を介してディスプレイ505上に表示し、S1007で、ユーザからの印刷実行待ちとなる。
ユーザが図示しないボタン等の指示にしたがって印刷実行すると、S1008で、データ処理部302は、選択された設定に従って印刷データを生成し、データスプール305に印刷データを格納する。
S1009で、ネットワーク処理部303は、データスプール305に格納された印刷データを、ネットワーク103を介して印刷装置102に送信し、印刷依頼をする。
印刷装置102のネットワーク処理部201は、モバイル端末101から印刷依頼を受けると、S1020で、印刷データに従って印刷処理を行う。
<描画データの複雑度判定フロー>
図4は、本実施形態を示す印刷装置のデータ処理方法を説明するフローチャートである。本例は、印刷装置102のCPU403で実行されるS1015の描画データの複雑度判定の詳細手順に対応する。なお、各ステップは、CPU403が記憶された制御プログラムを実行することで実現される。また、以下の説明では、図1に示した印刷訴追102のモジュールを主体として説明する。
FIG. 3 is a flowchart for explaining the data processing method of the printing system according to the present embodiment. 3A corresponds to a print processing example of recommended print settings executed by the CPU 502 of the mobile terminal 101, and FIG. 3B corresponds to the CPU 403 of the printing apparatus 102. Here, the layout print setting is taken as an example of the recommended print setting, but the present invention is not limited to the layout print setting. Each step is realized by the CPU 502 or the CPU 403 executing a stored control program. In the following description, modules executed by the CPU 502 or the CPU 403 will be mainly described.
In the mobile terminal 101, in step S1001, the UI processing unit 301 receives a print data selection instruction by a user operation. In step S <b> 1002, the data processing unit 302 reads the selected data from the file 306 in accordance with an instruction from the UI processing unit 301, converts it into print data that can be processed by the printing apparatus 102, and stores the print data in the data spool 305.
In step S <b> 1003, the network processing unit 303 transmits print data to the printing apparatus 102 via the network I / F 504 and requests a recommended print setting determination. In step S <b> 1004, the mobile terminal 101 waits for a recommended print setting determination result from the printing apparatus 102.
In the printing apparatus 102, when the network processing unit 201 receives the print data in S1010, the print data is stored in the data spool 208, and in S1011 it is determined whether the request is a recommended print setting determination request. If the network processing unit 201 determines that the request is a recommended print setting determination request, in step S1012, the analysis processing unit 202 analyzes the print data stored in the data spool 208, generates drawing data, and draws the drawing data. Store in the data spool 211.
In S1013, S1012 to S1017 are repeatedly executed until the analysis processing unit 202 analyzes the job end command.
Specifically, in S1014, S1012 to S1015 are repeatedly executed until the analysis processing unit 202 analyzes the page end command. In step S <b> 1015, the drawing data determination unit 203 determines the complexity indicating the visual fineness of the drawing result for the drawing data stored in the drawing data spool 211, and stores the determination result in a block management table 209 described later. Store and return to the process of S1012.
When the page end command is analyzed in S1014, the development processing unit 204 renders the drawing data stored in the drawing data spool 211 and stores the image data in the image data spool 210 in S1016.
In step S1017, the image determination unit 205 refers to the determination result of the drawing data stored in the block management table 209, determines the complexity of the image data stored in the image data spool 210, and returns to the processing in step S1012.
On the other hand, when the analysis processing unit 202 analyzes the job end command in S1013, in S1018, the recommended setting determination unit 206 determines the recommended print setting of the print data based on the complexity determination results in S1015 and S1017. .
In step S1019, a determination result of recommended print settings such as a print layout is transmitted to the requesting mobile terminal 101 connected to the network 103 via the network processing unit 201.
In the mobile terminal 101, when the network processing unit 303 receives the recommended print setting transmitted from the printing apparatus 102 in S1004, the image generation unit 304 generates image data according to the recommended print setting in S1005. In step S1006, the image data generated by the image generation unit 304 is displayed on the display 505 via the UI processing unit 301. In step S1007, the process waits for printing from the user.
When the user executes printing in accordance with an instruction such as a button (not shown), the data processing unit 302 generates print data according to the selected setting and stores the print data in the data spool 305 in S1008.
In step S <b> 1009, the network processing unit 303 transmits the print data stored in the data spool 305 to the printing apparatus 102 via the network 103 and makes a print request.
Upon receiving a print request from the mobile terminal 101, the network processing unit 201 of the printing apparatus 102 performs print processing according to the print data in S1020.
<Drawing data complexity determination flow>
FIG. 4 is a flowchart for explaining a data processing method of the printing apparatus according to the present embodiment. This example corresponds to the detailed procedure for determining the complexity of the drawing data in S1015 executed by the CPU 403 of the printing apparatus 102. Each step is realized by the CPU 403 executing a stored control program. In the following description, the module of the print prosecution 102 shown in FIG. 1 will be mainly described.

S1101で、描画データ判定部203が描画データは文字描画データであるか否かを判定する。文字描画データであると描画データ判定部203が判定した場合、S1102で、描画データ判定部203が描画する文字のポイント数を参照し、8ポイント未満かを判定する。ここで、8ポイント未満であると描画データ判定部203が判定した場合、S1104で、描画データ判定部203が描画データの複雑度のパラメータを4と決定する。また、8ポイント以上であると描画データ判定部203が判定した場合、S1103で、描画データ判定部203がさらに16ポイント未満かを判定する。
ここで、16ポイント未満であると描画データ判定部203が判定した場合、S1105で、描画データ判定部203が描画データの複雑度のパラメータを2と決定する。
一方、16ポイント以上であると描画データ判定部203が判定した場合、S1113で、描画データ判定部203が描画データの複雑度のパラメータを1と決定する。
In step S1101, the drawing data determination unit 203 determines whether the drawing data is character drawing data. If the drawing data determination unit 203 determines that the data is character drawing data, the number of characters drawn by the drawing data determination unit 203 is referred to in S1102 to determine whether it is less than 8 points. If the drawing data determination unit 203 determines that there are less than 8 points, the drawing data determination unit 203 determines that the complexity parameter of the drawing data is 4 in S1104. If the drawing data determination unit 203 determines that the number is 8 points or more, in S1103, the drawing data determination unit 203 determines whether it is less than 16 points.
If the drawing data determination unit 203 determines that the number is less than 16 points, the drawing data determination unit 203 determines that the complexity parameter of the drawing data is 2 in S1105.
On the other hand, when the drawing data determination unit 203 determines that the number is 16 points or more, the drawing data determination unit 203 determines the complexity parameter of the drawing data to be 1 in S1113.

一方、S1101で、文字描画データでないと描画データ判定部203が判定した場合、S1110で、描画データ判定部203は描画データが図形描画コマンドかを判定する。ここで、図形描画データであると描画データ判定部203が判定した場合、S1111で、描画データ判定部203が図形描画データの幅、高さ、パス点数を参照し、パス点数が10点以下かつ幅、高さが50以上の条件に該当するかを判定する。ここで、当該条件に該当すると描画データ判定部203が判定した場合、S1113で、描画データの複雑度のパラメータを1と決定する。   On the other hand, if the drawing data determination unit 203 determines in step S1101 that the drawing data is not character drawing data, in step S1110, the drawing data determination unit 203 determines whether the drawing data is a graphic drawing command. If the drawing data determination unit 203 determines that the drawing data is graphic drawing data, in step S1111, the drawing data determination unit 203 refers to the width, height, and the number of pass points of the graphic drawing data. It is determined whether the width and height satisfy the condition of 50 or more. If the drawing data determination unit 203 determines that the condition is met, the complexity parameter of the drawing data is determined to be 1 in S1113.

一方、S1110で、描画データが図形描画データでないと描画データ判定部203が判定した場合、S1112で、描画データ判定部203がイメージ描画コマンドとして、イメージデータの圧縮方式が可逆(Lossless)圧縮かつ圧縮率が1/10以下の条件に該当するかを判定する。当該条件に該当すると描画データ判定部203が判定した場合、S1113で、描画データ判定部203が描画データの複雑度のパラメータを1と決定する。
各S1104、S1105、S1113で複雑度のパラメータを決定すると、S1120で、描画データ判定部203が各描画データの描画領域からブロック位置を算出する。ブロック位置は、以下の式よりブロック開始位置とブロック終了位置を算出し、ブロック開始位置からブロック終了位置に含まれるブロック全てが対象となる。
ブロック開始位置(X、Y)=(描画データの開始位置X/ブロックサイズ、描画データの開始位置Y/ブロックサイズ)
ブロック終了位置(X、Y)=((描画データの開始位置X+描画データの幅―1)/ブロックサイズ、(描画データの開始位置Y+描画データの高さ―1)/ブロックサイズ)
On the other hand, if the drawing data determination unit 203 determines in step S1110 that the drawing data is not graphic drawing data, in step S1112, the drawing data determination unit 203 uses the image data compression method as lossless compression and compression. It is determined whether the rate falls under 1/10 or less. When the drawing data determination unit 203 determines that the condition is satisfied, the drawing data determination unit 203 determines that the complexity parameter of the drawing data is 1 in S1113.
When the complexity parameter is determined in each of S1104, S1105, and S1113, the drawing data determination unit 203 calculates the block position from the drawing area of each drawing data in S1120. For the block position, the block start position and the block end position are calculated from the following expressions, and all the blocks included in the block end position from the block start position are targeted.
Block start position (X, Y) = (drawing data start position X / block size, drawing data start position Y / block size)
Block end position (X, Y) = ((drawing data start position X + drawing data width-1) / block size, (drawing data start position Y + drawing data height-1) / block size)

S1121で、描画データ判定部203が前記算出式より算出したブロック管理テーブル209に、決定した複雑度のパラメータを設定し、S1122で、判定済みフラグを判定済みである"TRUE"に変更する。
一方、S1111または、S1112の条件に該当しないと描画データ判定部203が判定した場合、描画データの複雑度の判定は不可能であり、S1130で、描画データ判定部203がS1120同様にブロック位置を算出する。S1131で、描画データ判定部203が算出したブロックの判定済みフラグを未判定である"FALSE"に変更する。
なお、上記S1102、S1103、S1111、S1112における条件の閾値は、印刷装置102の出力解像度や、印刷実行するユーザによって変更してもよい。
In S1121, the drawing data determination unit 203 sets the determined complexity parameter in the block management table 209 calculated from the calculation formula. In S1122, the determined flag is changed to “TRUE” which has been determined.
On the other hand, when the drawing data determination unit 203 determines that the condition of S1111 or S1112 is not satisfied, it is impossible to determine the complexity of the drawing data. In S1130, the drawing data determination unit 203 sets the block position in the same manner as S1120. calculate. In step S1131, the determined flag of the block calculated by the drawing data determination unit 203 is changed to “FALSE” which is not determined.
Note that the threshold values of the conditions in S1102, S1103, S1111 and S1112 may be changed depending on the output resolution of the printing apparatus 102 and the user who performs printing.

図5は、図2に示した描画データ判定部203で複雑度判定する描画データの一例を示す図である。
図5において、描画データ601、602、603は文字描画データであり、それぞれ6ポイント、12ポイント、20ポイントの文字描画データである。
描画データ601は、S1102の判定により、複雑度のパラメータは4と決定される。描画データ602、603は、S1103の判定により、複雑度のパラメータはそれぞれ2、1と決定される。
描画データ610、611は、図形描画データである。描画データ610は、図形の頂点を指定するパス点の数が3であり、描画する図形を包含する矩形の幅が100、高さが120である。
FIG. 5 is a diagram illustrating an example of drawing data whose complexity is determined by the drawing data determination unit 203 illustrated in FIG.
In FIG. 5, drawing data 601, 602, and 603 are character drawing data, and are character drawing data of 6 points, 12 points, and 20 points, respectively.
In the drawing data 601, the complexity parameter is determined to be 4 by the determination in S <b> 1102. In the drawing data 602 and 603, the complexity parameters are determined to be 2 and 1 respectively by the determination in S1103.
The drawing data 610 and 611 are graphic drawing data. In the drawing data 610, the number of pass points that specify the vertices of the graphic is 3, the width of the rectangle that includes the graphic to be drawn is 100, and the height is 120.

描画データ611は、同様にパス点数が3、幅が30、高さが40である。描画データ610は、描画領域が広くピクセル単位の色の境界が少ないため、S1111の判定により、複雑度のパラメータは1と決定される。
一方、描画データ611は、描画領域が狭くピクセル単位の色の境界が多くなる可能性があるためS1111の判定で複雑度の判定は不可とされる。描画データ620、621はイメージ描画データである。描画データ620は、可逆圧縮であるPackbits圧縮で十分な圧縮率(1/12)となっているため、図形描画に近いイメージ描画データであることが想定される。
Similarly, the drawing data 611 has a pass score of 3, a width of 30, and a height of 40. Since the drawing data 610 has a wide drawing area and few color boundaries in units of pixels, the complexity parameter is determined to be 1 by the determination in S1111.
On the other hand, since the drawing data 611 has a narrow drawing area and may have a large number of pixel color boundaries, the determination of complexity cannot be made in the determination of S1111. The drawing data 620 and 621 are image drawing data. Since the drawing data 620 has a sufficient compression ratio (1/12) by Packbits compression, which is lossless compression, it is assumed that the drawing data is image drawing data close to graphic drawing.

このため、描画データ620は、画像データの判定が必要なく、S1112の判定により、複雑度のパラメータは1と決定される。
一方、描画データ621は、非可逆圧縮であるJPEG圧縮で十分な圧縮率(1/8)が得られていないため、写真等のイメージ描画データであることが想定される。このため、描画データ621は、画像データの判定が必要であるため、S1112の判定で複雑度の判定は不可とされる。
Therefore, the drawing data 620 does not require image data determination, and the complexity parameter is determined to be 1 by the determination in S1112.
On the other hand, the drawing data 621 is assumed to be image drawing data such as a photograph because a sufficient compression ratio (1/8) is not obtained by JPEG compression which is irreversible compression. For this reason, since it is necessary to determine the image data of the drawing data 621, the complexity cannot be determined in the determination in S1112.

図6は、図2に示した描画データ判定部203で判定した結果を格納するブロック管理テーブル209の一例を示す図である。
図6において、701はブロック管理データあり、全描画領域を所定のサイズに分割したブロックの開始座標X、Yと判定済みフラグと描画データの複雑度のパラメータから構成される。
702は、描画データ判定処理前の全描画領域のブロック管理テーブルである。判定済みフラグは全て描画データがないことを示す"NONE"が設定される。全描画データを判定後、判定済みフラグが"NONE"のブロックは、S1017の展開画像の複雑度判定において、判定対象外のブロックとなる。
FIG. 6 is a diagram illustrating an example of the block management table 209 that stores the results determined by the drawing data determination unit 203 illustrated in FIG.
In FIG. 6, reference numeral 701 denotes block management data, which includes start coordinates X and Y of a block obtained by dividing the entire drawing area into a predetermined size, a determined flag, and a parameter of drawing data complexity.
Reference numeral 702 denotes a block management table for all drawing areas before drawing data determination processing. “NONE” indicating that there is no drawing data is set for all the determined flags. After determining all the drawing data, the block whose determination flag is “NONE” is a block that is not determined in the complexity determination of the developed image in S1017.

703は、判定処理後の全描画領域のブロック管理テーブルである。判定済みフラグが"TRUE"のブロックは、S1014の描画データ複雑度判定により、判定された描画データを含むブロックであり、描画データの複雑度のパラメータが指定されている。また、S1017の展開画像の複雑度判定において、判定対象外のブロックとなる。一方、判定済みフラグが"FALSE"のブロックは、S1014の描画データ複雑度判定により判定できなかった描画データを含むブロックであり、S1017の展開画像の複雑度判定において、判定対象のブロックとなる。   Reference numeral 703 denotes a block management table for all drawing areas after the determination process. The block whose determination flag is “TRUE” is a block including the drawing data determined by the drawing data complexity determination in S1014, and a parameter of the drawing data complexity is designated. Further, in the complexity determination of the developed image in S1017, the block is not determined. On the other hand, a block whose determination flag is “FALSE” is a block including drawing data that cannot be determined by the drawing data complexity determination in S1014, and is a determination target block in the complexity determination of the developed image in S1017.

<画像データの複雑度判定フロー>
図7は、本実施形態を示す印刷装置のデータ処理方法を説明するフローチャートである。本例は、図1に示した印刷装置102のCPU403で実行されるS1017の画像データの複雑度判定処理例である。なお、各ステップはCPU403が記憶された制御プログラムを実行することで実現される。なお、以下の説明では、図1に示したモジュールを主体として説明する。
<Image data complexity determination flow>
FIG. 7 is a flowchart for explaining a data processing method of the printing apparatus according to the present embodiment. This example is an example of image data complexity determination processing in S1017 executed by the CPU 403 of the printing apparatus 102 shown in FIG. Each step is realized by the CPU 403 executing a stored control program. In the following description, the module shown in FIG. 1 will be mainly described.

S1201で、画像判定部205がページの複雑度パラメータをカウントするComplexと判定領域数をカウントするRegionを「0」に初期化する。S1202で、画像判定部205が描画データ判定処理後のブロック管理テーブル703を参照する。S1203で、画像判定部205がブロック管理テーブル703の判定済みフラグが"FALSE"であるか判定する。   In step S <b> 1201, the image determination unit 205 initializes a complex for counting the complexity parameter of the page and a region for counting the number of determination areas to “0”. In step S1202, the image determination unit 205 refers to the block management table 703 after the drawing data determination process. In step S1203, the image determination unit 205 determines whether the determined flag of the block management table 703 is “FALSE”.

ここで、判定済みフラグが"FALSE"であると画像判定部205が判定した場合、S1204で、画像判定部205がブロック管理テーブル703の開始座標X、Yから所定のブロックサイズの領域に含まれる画像データを画像データスプール210より読出し、複雑度を判定する。   If the image determination unit 205 determines that the determined flag is “FALSE”, the image determination unit 205 is included in an area having a predetermined block size from the start coordinates X and Y of the block management table 703 in S1204. Image data is read from the image data spool 210 and the complexity is determined.

一方、S1203で、判定済みフラグが"FALSE"でないと画像判定部205が判定した場合、S1210で、判定済みフラグが"TRUE"であるか判定する。したがって、判定済みフラグが"TRUE"の場合、S1211で、画像判定部205がブロック管理テーブル703の複雑度パラメータを参照し、Complexに複雑度パラメータを加算する。   On the other hand, if the image determination unit 205 determines that the determined flag is not “FALSE” in S1203, it is determined in S1210 whether the determined flag is “TRUE”. Therefore, when the determined flag is “TRUE”, the image determination unit 205 refers to the complexity parameter in the block management table 703 and adds the complexity parameter to the Complex in S1211.

また、S1212で、画像判定部205がRegionをインクリメントする。S1205で、全ブロックのブロック管理テーブル703の参照が終了するまで、S1201〜S1204、S1210〜S1212を繰り返し実行する。全ブロックのブロック管理テーブル703の参照が終了すると、S1220で、ページの複雑度として、Complex/Regionを保持する。   In step S1212, the image determination unit 205 increments the Region. In S1205, S1201 to S1204 and S1210 to S1212 are repeatedly executed until the reference to the block management table 703 for all blocks is completed. When the reference to the block management table 703 for all blocks is completed, Complex / Region is held as the complexity of the page in S1220.

上記のとおり、ブロック管理テーブル703に設定された描画データで複雑度判定済みかどうかの情報を実行前に参照することで、画像データの複雑度判定の実行を最小限に抑え、判定処理を高速化することができる。   As described above, by referring to the information on whether or not the complexity determination has been made with the drawing data set in the block management table 703 before execution, execution of the image data complexity determination is minimized, and the determination processing is performed at high speed. Can be

図8は、本実施形態を示す印刷装置のデータ処理方法を説明するフローチャートである。本例は、図7に示したS1204のブロック画像の複雑度判定の詳細手順に対応する。なお、各ステップはCPU403が記憶された制御プログラムを実行することで実現される。なお、以下の説明では、図1に示したモジュールを主体として説明する。以下、抽出されるブロックの各画素間について、色味が変化するエッジ数をカウントして、当該カウントして得られる値としきい値とを比較して、描画複雑度を算出する処理を説明する。
S1301で、画像判定部205が画像データ内の隣接するピクセルの色の変化が大きいピクセル(エッジ)の数を格納するカウンタEcを「0」に初期化する。S1302で、X、Yにブロック管理テーブル703のブロック開始座標Xb、Ybを設定する。また、画像判定部205がXmax、Ymaxにブロック終了座標(ブロック開始座標+ブロックサイズ―1)を設定する。
FIG. 8 is a flowchart for explaining a data processing method of the printing apparatus according to the present embodiment. This example corresponds to the detailed procedure for determining the complexity of the block image in S1204 shown in FIG. Each step is realized by the CPU 403 executing a stored control program. In the following description, the module shown in FIG. 1 will be mainly described. Hereinafter, a process of calculating the drawing complexity by counting the number of edges where the color changes between each pixel of the extracted block and comparing the value obtained by the counting with a threshold value will be described. .
In step S <b> 1301, the image determination unit 205 initializes a counter Ec that stores the number of pixels (edges) having a large color change of adjacent pixels in the image data to “0”. In S1302, the block start coordinates Xb and Yb of the block management table 703 are set in X and Y. Further, the image determination unit 205 sets block end coordinates (block start coordinates + block size−1) in Xmax and Ymax.

S1303で、画像判定部205がX、Y座標のピクセルの色値Cを参照する。また、S1304、S1305で、画像判定部205が右(X+1)のピクセルの色値Cx、下(Y+1)のピクセルの色値Cyをそれぞれ参照する。S1306で、画像判定部205が色値Cに対し、色値Cx、色値Cyの差分が30より大きいかを判定する。ここで、色値Cx、色値Cyの差分が30より大きいと判定した場合、S1307で、画像判定部205がカウンタEcをインクリメントする。
S1308で、画像判定部205がXをインクリメントし、次のピクセルの判定を行うための準備をする。S1309で、画像判定部205がXがXmaxより大きいと判定するまで、S1303〜S1309を繰り返し実行する。S1309でXがXmaxより大きいと画像判定部205が判定すると、S1310で、画像判定部205がXをXbに初期化するとともに、Yをインクリメントし、次のラインの判定を行うための準備をする。
S1311で、画像判定部205がYがYmaxより大きいと判定するまで、S1303〜S1311を繰り返し実行する。
In step S1303, the image determination unit 205 refers to the color value C of the pixel at the X and Y coordinates. In S1304 and S1305, the image determination unit 205 refers to the color value Cx of the right (X + 1) pixel and the color value Cy of the lower (Y + 1) pixel, respectively. In step S <b> 1306, the image determination unit 205 determines whether the difference between the color value Cx and the color value Cy is greater than 30 with respect to the color value C. If it is determined that the difference between the color value Cx and the color value Cy is greater than 30, the image determination unit 205 increments the counter Ec in S1307.
In step S1308, the image determination unit 205 increments X and prepares to determine the next pixel. In step S1309, steps S1303 to S1309 are repeatedly executed until the image determination unit 205 determines that X is greater than Xmax. When the image determination unit 205 determines that X is greater than Xmax in S1309, in S1310, the image determination unit 205 initializes X to Xb, and increments Y to prepare for determining the next line. .
In S1311, S1303 to S1311 are repeatedly executed until the image determination unit 205 determines that Y is greater than Ymax.

S1311で、YがYmaxより大きいと画像判定部205が判定すると、S1320で、画像判定部205がピクセルあたりのエッジ数(=Ec/(ブロック幅Wb*ブロック高さHb))を計算し、0.6より大きいかを判定する。0.6より大きいと画像判定部205が判定した場合、S1322で、画像判定部205がComplexに「4」を加算する。
そして、S1321で、画像判定部205がピクセルあたりのエッジ数が0.4より大きいかを判定する。ここで、0.4より大きいと画像判定部205が判定した場合、S1323で、画像判定部205がComplexに「2」を加算する。
一方、S1321で、0.4以下であると画像判定部205が判定した場合、S1324で、画像判定部205がComplexに「1」を加算する。S1325で、画像判定部205が判定した領域数をカウントするRegionをインクリメントする。
なお、S1320、S1321における条件の閾値は、印刷装置102の出力解像度や、印刷実行するユーザによって変更してもよい。
If the image determination unit 205 determines that Y is greater than Ymax in S1311, the image determination unit 205 calculates the number of edges per pixel (= Ec / (block width Wb * block height Hb)) in S1320. .. is greater than 6. If the image determination unit 205 determines that the value is greater than 0.6, the image determination unit 205 adds “4” to Complex in step S1322.
In step S1321, the image determination unit 205 determines whether the number of edges per pixel is greater than 0.4. If the image determination unit 205 determines that the value is greater than 0.4, the image determination unit 205 adds “2” to Complex in step S <b> 1323.
On the other hand, when the image determination unit 205 determines that the value is 0.4 or less in S1321, the image determination unit 205 adds “1” to the Complex in S1324. In step S1325, a region for counting the number of regions determined by the image determination unit 205 is incremented.
Note that the threshold values of the conditions in S1320 and S1321 may be changed by the output resolution of the printing apparatus 102 or the user who performs printing.

図9は、図1に示した画像判定部205で判定する画像データの一例を示す図である。
図9において、801、802、803は、ページの画像データを幅8、高さ8に分割したブロック画像データである。ブロック画像データ801は、ブロック画像の複雑度判定処理により、エッジ数Ecは42、ピクセルあたりのエッジ数は0.66(=42/64)となり、S1320の判定で、複雑度パラメータは4となる。
FIG. 9 is a diagram illustrating an example of image data determined by the image determination unit 205 illustrated in FIG. 1.
In FIG. 9, reference numerals 801, 802, and 803 denote block image data obtained by dividing page image data into a width 8 and a height 8. In the block image data 801, the number of edges Ec is 42 and the number of edges per pixel is 0.66 (= 42/64) by the block image complexity determination process, and the complexity parameter is 4 in the determination of S1320. .

ブロック画像データ802は、ブロック画像の複雑度判定処理により、エッジ数Ecは35、ピクセルあたりのエッジ数は0.55(=35/64)となり、S1321の判定で、複雑度パラメータは2となる。
ブロック画像データ803は、隣接するピクセル間の色値の差異が少なく、S1306の判定でエッジと判定されず、結果的にエッジ数Ecは0となる。これによりピクセルあたりのエッジ数は0(=0/64)となり、S1321の判定で、複雑度パラメータは「1」となる。ブロック画像データ803は、グラデーション等の隣接するピクセル間で色値の差異が少ない画像データであり、視覚的な複雑度は小さいため、複雑度パラメータを小さくしている。
In the block image data 802, the number of edges Ec is 35 and the number of edges per pixel is 0.55 (= 35/64) by the block image complexity determination process, and the complexity parameter is 2 in the determination of S1321. .
The block image data 803 has little difference in color value between adjacent pixels, and is not determined to be an edge in the determination in S1306. As a result, the number of edges Ec is zero. As a result, the number of edges per pixel is 0 (= 0/64), and the complexity parameter is “1” in the determination of S1321. The block image data 803 is image data in which there is little difference in color values between adjacent pixels such as gradation, and since the visual complexity is small, the complexity parameter is small.

<推奨印刷設定判定フロー>
図10は、本実施形態を示す印刷装置のデータ処理方法を説明するフローチャートである。本例は、図3の(B)に示した印刷装置102のCPU403で実行されるS1018の推奨印刷設定判定処理の詳細手順に対応する。なお、各ステップはCPU403が記憶された制御プログラムを実行することで実現される。なお、以下の説明では、図1に示したモジュールを主体として説明する。
<Recommended print setting judgment flow>
FIG. 10 is a flowchart for explaining a data processing method of the printing apparatus according to the present embodiment. This example corresponds to the detailed procedure of the recommended print setting determination process of S1018 executed by the CPU 403 of the printing apparatus 102 shown in FIG. Each step is realized by the CPU 403 executing a stored control program. In the following description, the module shown in FIG. 1 will be mainly described.

S1401で、推奨設定判定部206が全ページの複雑度の最大値Cmaxを算出する。S1402で、推奨設定判定部206がCmaxが「2」未満であるか否かを判定する。ここで、Cmaxが「2」未満であると推奨設定判定部206が判定した場合、S1410で、推奨設定判定部206は、推奨印刷設定を4in1に決定する。
一方、Cmaxが「2」以上であると推奨設定判定部206が判定した場合、さらにS1403で、推奨設定判定部206がCmaxが「3」未満かを判定する。ここで、Cmaxが「3」未満であると推奨設定判定部206が判定した場合、S1411で、推奨設定判定部206が推奨印刷設定を2in1に決定する。
一方、Cmaxが「3」以上であると推奨設定判定部206が判定した場合、S1411で、推奨設定判定部206を推奨印刷設定を1in1に決定する。
なお、S1402、S1403における条件の閾値は、印刷装置102の出力解像度や、印刷実行するユーザによって変更してもよい。
In S1401, the recommended setting determination unit 206 calculates the maximum value Cmax of the complexity of all pages. In S1402, the recommended setting determination unit 206 determines whether Cmax is less than “2”. If the recommended setting determination unit 206 determines that Cmax is less than “2”, the recommended setting determination unit 206 determines the recommended print setting to be 4 in 1 in S1410.
On the other hand, when the recommended setting determining unit 206 determines that Cmax is “2” or more, in S1403, the recommended setting determining unit 206 determines whether Cmax is less than “3”. If the recommended setting determining unit 206 determines that Cmax is less than “3”, the recommended setting determining unit 206 determines the recommended print setting to be 2 in 1 in S1411.
On the other hand, when the recommended setting determination unit 206 determines that Cmax is “3” or more, the recommended setting determination unit 206 determines the recommended print setting to be 1 in 1 in S1411.
Note that the threshold values of the conditions in S1402 and S1403 may be changed by the output resolution of the printing apparatus 102 or the user who performs printing.

図11は、図1に示したモバイル端末101に表示されるUI画面を示す図である。本例は、図3に示したS1006の画像表示の一例に対応するUIが画面である。
図11において、901は、ユーザが選択したドキュメントのプレビュー表示である。902は、ユーザが選択したドキュメントに対し、推奨設定判定部206で決定した推奨印刷設定(2in1)に従って画像生成部304で生成した画像のプレビュー表示である。このような、画像表示をすることで、ユーザは、印刷設定を変更することなく、プレビュー画像を選択することでドキュメントに最適な印刷設定での印刷結果を得ることができる。
FIG. 11 is a diagram showing a UI screen displayed on the mobile terminal 101 shown in FIG. In this example, the UI corresponding to an example of the image display in S1006 shown in FIG. 3 is a screen.
In FIG. 11, reference numeral 901 denotes a preview display of the document selected by the user. Reference numeral 902 denotes a preview display of an image generated by the image generation unit 304 in accordance with the recommended print setting (2 in 1) determined by the recommended setting determination unit 206 for the document selected by the user. By displaying the image in this way, the user can obtain the print result with the print setting optimum for the document by selecting the preview image without changing the print setting.

〔第2実施形態〕
上記第1実施形態においては、印刷装置102において、推奨印刷設定の判定を行っているが、本実施形態では、モバイル端末101に推奨印刷設定の判定機能を搭載し、モバイル端末101上で推奨印刷設定の判定処理を実行する。
図12は、図1に示したモバイル端末101の機能モジュール構成を示すブロック図である。本例に示すモバイル端末101では、図1で説明したモジュールに以下のモジュールを加えられた構成となっている。
[Second Embodiment]
In the first embodiment, the recommended print setting is determined in the printing apparatus 102. However, in this embodiment, the recommended print setting determination function is installed in the mobile terminal 101, and the recommended print setting is performed on the mobile terminal 101. Execute setting judgment processing.
FIG. 12 is a block diagram showing a functional module configuration of the mobile terminal 101 shown in FIG. The mobile terminal 101 shown in this example has a configuration in which the following modules are added to the modules described in FIG.

図12において、310は解析処理部で、UI処理部301の指示に従い、データスプール305に格納された印刷データを解析し、描画データを描画データスプール320に格納する。311は描画データ判定部で、描画データスプール320に格納された描画データの判定を行う。312は展開処理部で、描画データスプール320に格納された描画データから画像データに展開し、画像データスプール321に格納する。   In FIG. 12, reference numeral 310 denotes an analysis processing unit that analyzes print data stored in the data spool 305 in accordance with an instruction from the UI processing unit 301 and stores drawing data in the drawing data spool 320. A drawing data determination unit 311 determines the drawing data stored in the drawing data spool 320. A development processing unit 312 develops image data from the drawing data stored in the drawing data spool 320 and stores the image data in the image data spool 321.

313は画像判定部で、画像データスプール321に格納された画像データを判定する。
314は推奨設定判定部で、描画データ判定部311、画像判定部313の判定結果をもとに、推奨印刷設定を判定する。推奨設定判定部314は、判定結果をUI処理部301に渡し、UI処理部301により判定結果を表示する。
Reference numeral 313 denotes an image determination unit that determines image data stored in the image data spool 321.
A recommended setting determination unit 314 determines recommended print settings based on the determination results of the drawing data determination unit 311 and the image determination unit 313. The recommended setting determination unit 314 passes the determination result to the UI processing unit 301, and the UI processing unit 301 displays the determination result.

320は描画データスプールで、解析処理部310によって生成された描画データを格納する。322はブロック管理テーブルで、描画データ判定部311の判定結果を、ページを複数に分割したブロックごとに格納しておく。ブロック管理テーブル322は、画像判定部313から参照され、画像データの判定を実行するかどうかの判定に使われる。321は画像データスプールで、展開処理部312によって展開された画像データを格納する。   Reference numeral 320 denotes a drawing data spool, which stores drawing data generated by the analysis processing unit 310. A block management table 322 stores the determination result of the drawing data determination unit 311 for each block obtained by dividing the page into a plurality of blocks. The block management table 322 is referred to by the image determination unit 313, and is used to determine whether or not to perform image data determination. An image data spool 321 stores the image data developed by the development processing unit 312.

<印刷処理フロー>
図13は、本実施形態を示すデータ処理装置のデータ処理方法を説明するフローチャートである。本例は、図2に示したモバイル端末101のCPU502で実行される推奨印刷設定の印刷処理手順に対応する。なお、各ステップは、CPU502が記憶された制御プログラムを実行することで実現される。また、以下の説明では、図12に示したモジュールを主体として説明する。
S1501で、UI処理部301は、ユーザの操作による印刷データの選択指示を受ける。S1502で、データ処理部302はUI処理部301からの指示に従い、ファイル306から選択されたデータを読み出し、印刷装置102で処理可能な印刷データに変換し、印刷データをデータスプール305に格納する。S1503で、解析処理部310は、データスプール305に格納された印刷データを解析し、描画データを生成し、描画データを描画データスプール320に格納する。S1504で、解析処理部310がジョブ終了コマンドを解析するまで、S1503〜S1508を繰り返し実行する。また、S1505で、解析処理部310がページ終了コマンドを解析するまで、S1503〜S1506を繰り返し実行する。
<Print processing flow>
FIG. 13 is a flowchart for explaining a data processing method of the data processing apparatus according to the present embodiment. This example corresponds to the print processing procedure of recommended print settings executed by the CPU 502 of the mobile terminal 101 shown in FIG. Each step is realized by the CPU 502 executing a stored control program. In the following description, the module shown in FIG. 12 will be mainly described.
In step S1501, the UI processing unit 301 receives a print data selection instruction by a user operation. In step S <b> 1502, the data processing unit 302 reads the selected data from the file 306 in accordance with an instruction from the UI processing unit 301, converts it into print data that can be processed by the printing apparatus 102, and stores the print data in the data spool 305. In step S <b> 1503, the analysis processing unit 310 analyzes the print data stored in the data spool 305, generates drawing data, and stores the drawing data in the drawing data spool 320. In S1504, S1503 to S1508 are repeatedly executed until the analysis processing unit 310 analyzes the job end command. In S1505, S1503 to S1506 are repeatedly executed until the analysis processing unit 310 analyzes the page end command.

S1506で、描画データ判定部311は、描画データスプール320に格納された描画データに対し、描画結果の視覚的な細かさを示す複雑度の判定を行い、判定結果を後述のブロック管理テーブル322に格納し、S1503の処理に戻る。S1505で、解析処理部310がページ終了コマンドを解析すると、S1507で、展開処理部312は、描画データスプール320に格納された描画データをレンダリングし、画像データを画像データスプール321に格納する。   In step S <b> 1506, the drawing data determination unit 311 determines the complexity indicating the visual fineness of the drawing result for the drawing data stored in the drawing data spool 320, and the determination result is stored in a block management table 322 described later. Store and return to S1503. When the analysis processing unit 310 analyzes the page end command in step S1505, the development processing unit 312 renders the drawing data stored in the drawing data spool 320 and stores the image data in the image data spool 321 in step S1507.

S1508で、画像判定部313は、ブロック管理テーブル322に格納された描画データの判定結果を参照し、画像データスプール321に格納された画像データの複雑度を判定し、S1503の処理に戻る。
S1504で、解析処理部310がジョブ終了コマンドを解析すると、S1509で、推奨設定判定部314は、S1506、S1508の複雑度判定の結果をもとに、印刷データの推奨印刷設定を判定する。
In step S1508, the image determination unit 313 refers to the determination result of the drawing data stored in the block management table 322, determines the complexity of the image data stored in the image data spool 321, and returns to the processing in step S1503.
In step S1504, when the analysis processing unit 310 analyzes the job end command, in step S1509, the recommended setting determination unit 314 determines the recommended print setting of the print data based on the result of the complexity determination in steps S1506 and S1508.

S1510で、画像生成部304は、推奨印刷設定に従って画像データを生成する。S1511で、画像生成部304で生成された画像データを、UI処理部301を介してディスプレイ505上に表示し、S1512で、ユーザからの印刷実行を受付けるための指示待ちとなる。
ユーザが図示しないボタン等を操作して印刷実行を指示すると、S1513で、データ処理部302は、選択された設定に従って印刷データを生成し、データスプール305に印刷データを格納する。S1514で、ネットワーク処理部303は、データスプール305に格納された印刷データを、ネットワーク103を介して印刷装置102に送信し、印刷装置102で印刷を行う。
上記のように、モバイル端末101でドキュメントの推奨印刷設定を判定することで、印刷装置102が他のユーザによって使われている場合にも、推奨印刷設定を得ることができる。
In step S1510, the image generation unit 304 generates image data according to the recommended print settings. In step S1511, the image data generated by the image generation unit 304 is displayed on the display 505 via the UI processing unit 301. In step S1512, the process waits for an instruction to accept printing execution from the user.
When the user operates a button or the like (not shown) to instruct printing, the data processing unit 302 generates print data according to the selected setting and stores the print data in the data spool 305 in S1513. In step S <b> 1514, the network processing unit 303 transmits the print data stored in the data spool 305 to the printing apparatus 102 via the network 103 and performs printing by the printing apparatus 102.
As described above, by determining the recommended print setting of the document by the mobile terminal 101, the recommended print setting can be obtained even when the printing apparatus 102 is used by another user.

このように、本実施形態では、モバイル端末101自身が推奨印刷設定の判定を行う場合について説明したが、モバイル端末101、印刷装置102の性能や負荷状況に応じて、どちらで推奨印刷設定の判定を行うか切り替えるようにしてもよい。   As described above, in this embodiment, the case where the mobile terminal 101 itself determines the recommended print setting has been described. However, depending on the performance and load status of the mobile terminal 101 and the printing apparatus 102, which of the recommended print settings is determined. Or may be switched.

〔第3実施形態〕
さらに、モバイル端末101、印刷装置102がそれぞれクラウドコンピュータ環境に接続可能な場合には、クラウド上のサーバ装置に上記推奨印刷設定処理を実行させる。そして、サーバ装置から結果として印刷推奨設定をそれぞれが取得できるように制御してもよい。
[Third Embodiment]
Further, when the mobile terminal 101 and the printing apparatus 102 can each be connected to the cloud computer environment, the server apparatus on the cloud is caused to execute the recommended print setting process. Then, control may be performed so that each recommended print setting can be acquired as a result from the server device.

〔第4実施形態〕
さらに、モバイル端末101、印刷装置102がネットワーク上の通信可能な他の印刷装置に接続可能な場合には、推奨設定処理を実行可能かどうかを他の印刷装置に問い合わせる。そして、推奨設定処理を実行可能である場合、上記他の印刷装置に推奨印刷設定処理を実行させ、結果として印刷推奨設定をそれぞれが取得できるように制御してもよい。
上記各実施形態によれば、印刷データに対し、描画データの複雑度の判定と描画データを展開した画像データの判定をすることで、様々な印刷データに対し最適な推奨印刷設定を提示することができる。また、印刷データ内の全ての描画データに対し、複雑度を決定可能かどうか判定し、決定できない描画データの描画領域のみ展開した画像データで判定するため、画像データの判定を最小限にし、推奨印刷設定を短時間で提示することが可能となる。
[Fourth Embodiment]
Further, when the mobile terminal 101 and the printing apparatus 102 can be connected to another printing apparatus capable of communication on the network, the other printing apparatus is inquired as to whether or not the recommended setting process can be executed. If the recommended setting process can be executed, the recommended print setting process may be executed by the other printing apparatus, and the recommended print settings may be acquired as a result.
According to each of the above-described embodiments, it is possible to present optimum recommended print settings for various print data by determining the complexity of the drawing data and the image data obtained by developing the drawing data for the print data. Can do. Also, since it is determined whether the complexity can be determined for all the drawing data in the print data, and only the drawing area of the drawing data that cannot be determined is determined based on the developed image data, the determination of the image data is minimized and recommended. The print settings can be presented in a short time.

本発明の各工程は、ネットワーク又は各種記憶媒体を介して取得したソフトウエア(プログラム)をパソコン(コンピュータ)等の処理装置(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 モバイル端末
102 印刷装置
203 描画データ判定部
205 画像判定部
206 推奨設定判定部
DESCRIPTION OF SYMBOLS 101 Mobile terminal 102 Printing apparatus 203 Drawing data determination part 205 Image determination part 206 Recommended setting determination part

Claims (15)

情報処理装置から印刷データを取得して処理する印刷装置であって、
前記印刷データより描画データをページ単位に生成する生成手段と、
前記生成手段により生成されるページ単位の描画データの属性をブロックに分けて解析して描画複雑度を算出する第1の算出手段と、
前記第1の算出手段による解析で描画複雑度を算出できないブロックを抽出する抽出手段と、
前記抽出手段により抽出された各ブロックに対応する描画データを展開して画像データを生成する展開手段と、
前記展開手段により展開された各ブロックの画像データを画素単位に解析し、隣接する画素間で色味が変化するエッジ数をカウントするカウント手段と、
前記カウント手段により算出されたエッジ数と所定のしきい値とから抽出された全てのブロックについて描画複雑度を算出する第2の算出手段と、
前記第1の算出手段または前記第2の算出手段により算出された各ページの描画複雑度に基づいて、前記印刷データに対する推奨印刷設定を決定する決定手段と、
を備えることを特徴とする印刷装置。
A printing apparatus that acquires and processes print data from an information processing apparatus,
Generating means for generating drawing data from the print data in units of pages;
First calculation means for calculating the drawing complexity by dividing the attribute of the drawing data for each page generated by the generating means into blocks;
Extraction means for extracting blocks whose drawing complexity cannot be calculated by analysis by the first calculation means;
Expansion means for expanding the drawing data corresponding to each block extracted by the extraction means to generate image data;
Analyzing the image data of each block developed by the developing means on a pixel basis, and counting means for counting the number of edges whose color changes between adjacent pixels;
Second calculating means for calculating the drawing complexity for all blocks extracted from the number of edges calculated by the counting means and a predetermined threshold;
Determining means for determining recommended print settings for the print data based on the drawing complexity of each page calculated by the first calculating means or the second calculating means;
A printing apparatus comprising:
前記決定手段が決定した前記印刷データに対する前記推奨印刷設定を前記情報処理装置に送信する送信手段を備えることを特徴とする請求項1記載の印刷装置。   The printing apparatus according to claim 1, further comprising a transmission unit configured to transmit the recommended print setting for the print data determined by the determination unit to the information processing apparatus. 印刷データを印刷装置に送信する情報処理装置であって、
前記印刷データと、当該印刷データに対する推奨印刷設定の要求とを前記印刷装置に転送する転送手段と、
前記印刷装置により決定された前記印刷データに対する前記推奨印刷設定を取得する取得手段と、
前記取得手段が取得した前記推奨印刷設定に従い前記印刷データを前記印刷装置が印刷する画像データに展開する画像生成手段と、
前記画像生成手段が生成した画像データを表示する表示手段と、
を備えることを特徴とする情報処理装置。
An information processing apparatus that transmits print data to a printing apparatus,
Transfer means for transferring the print data and a request for recommended print settings for the print data to the printing apparatus;
Obtaining means for obtaining the recommended print settings for the print data determined by the printing device;
Image generation means for expanding the print data into image data to be printed by the printing apparatus in accordance with the recommended print settings acquired by the acquisition means;
Display means for displaying the image data generated by the image generation means;
An information processing apparatus comprising:
前記表示手段に表示された画像データに対する印刷実行の要求を受け付ける受付手段と、
前記受付手段が前記印刷実行の要求を受け付けることに応じて、前記推奨印刷設定に従う印刷データを前記印刷装置に送信する送信手段と、
を備えることを特徴とする請求項3記載の情報処理装置。
Receiving means for receiving a print execution request for the image data displayed on the display means;
A transmission unit configured to transmit print data in accordance with the recommended print setting to the printing apparatus in response to the reception unit receiving the print execution request;
The information processing apparatus according to claim 3, further comprising:
印刷データを印刷装置に送信する情報処理装置であって、
前記印刷データより描画データをページ単位に生成する生成手段と、
前記生成手段により生成されるページ単位の描画データの属性をブロックに分けて解析して描画複雑度を算出する第1の算出手段と、
前記第1の算出手段による解析で描画複雑度を算出できないブロックを抽出する抽出手段と、
前記抽出手段により抽出された各ブロックに対応する描画データを展開して画像データを生成する展開手段と、
前記展開手段により展開された各ブロックの画像データを画素単位に解析し、隣接する画素間で色味が変化するエッジ数をカウントするカウント手段と、
前記カウント手段により算出されたエッジ数と所定のしきい値とから抽出された全てのブロックについて描画複雑度を算出する第2の算出手段と、
前記第1の算出手段または前記第2の算出手段により算出された各ページの描画複雑度に基づいて、前記印刷データに対する推奨印刷設定を決定する決定手段と、
前記決定手段により決定された推奨印刷設定に従って前記印刷データから画像データを生成する画像生成手段と、
前記画像生成手段が生成した画像データを表示する表示手段と、
を備えることを特徴とする情報処理装置。
An information processing apparatus that transmits print data to a printing apparatus,
Generating means for generating drawing data from the print data in units of pages;
First calculation means for calculating the drawing complexity by dividing the attribute of the drawing data for each page generated by the generating means into blocks;
Extraction means for extracting blocks whose drawing complexity cannot be calculated by analysis by the first calculation means;
Expansion means for expanding the drawing data corresponding to each block extracted by the extraction means to generate image data;
Analyzing the image data of each block developed by the developing means on a pixel basis, and counting means for counting the number of edges whose color changes between adjacent pixels;
Second calculating means for calculating the drawing complexity for all blocks extracted from the number of edges calculated by the counting means and a predetermined threshold;
Determining means for determining recommended print settings for the print data based on the drawing complexity of each page calculated by the first calculating means or the second calculating means;
Image generating means for generating image data from the print data in accordance with the recommended print settings determined by the determining means;
Display means for displaying the image data generated by the image generation means;
An information processing apparatus comprising:
前記推奨印刷設定は、レイアウト印刷設定を含むことを特徴とする請求項1、または2に記載の印刷装置。   The printing apparatus according to claim 1, wherein the recommended print setting includes a layout print setting. 前記推奨印刷設定は、レイアウト印刷設定を含むことを特徴とする請求項3、乃至5のいずれか1項に記載の情報処理装置。   The information processing apparatus according to claim 3, wherein the recommended print setting includes a layout print setting. 前記印刷データは、属性の異なるオブジェクトを含むことを特徴とする請求項1または2に記載の印刷装置。   The printing apparatus according to claim 1, wherein the print data includes objects having different attributes. 前記印刷データは、属性の異なるオブジェクトを含むことを特徴とする請求項3乃至5のいずれか1項に記載の情報処理装置。   The information processing apparatus according to claim 3, wherein the print data includes objects having different attributes. 前記属性の異なるオブジェクトは、文字、図形、イメージを含むことを特徴とする請求項8記載の印刷装置。   9. The printing apparatus according to claim 8, wherein the objects having different attributes include characters, graphics, and images. 前記属性の異なるオブジェクトは、文字、図形、イメージを含むことを特徴とする請求項9記載の情報処理装置。   The information processing apparatus according to claim 9, wherein the objects having different attributes include characters, graphics, and images. 情報処理装置から印刷データを取得して処理する印刷装置のデータ処理方法であって、
前記印刷データより描画データをページ単位に生成する生成工程と、
前記生成工程により生成されるページ単位の描画データの属性をブロックに分けて解析して描画複雑度を算出する第1の算出工程と、
前記算出工程による解析で描画複雑度を算出できないブロックを抽出する抽出工程と、
前記抽出工程により抽出された各ブロックに対応する描画データを展開して画像データを生成する展開工程と、
前記展開工程により展開された各ブロックの画像データを画素単位に解析し、隣接する画素間で色味が変化するエッジ数をカウントするカウント工程と、
前記カウント工程により算出されたエッジ数と所定のしきい値とから抽出された全てのブロックについて描画複雑度を算出する第2の算出工程と、
前記第1の算出工程または前記第2の算出工程により算出された各ページの描画複雑度に基づいて、前記印刷データに対する推奨印刷設定を決定する決定工程と、
を備えることを特徴とする印刷装置のデータ処理方法。
A data processing method for a printing apparatus for acquiring and processing print data from an information processing apparatus,
A generation step of generating drawing data from the print data in units of pages;
A first calculation step of calculating the drawing complexity by analyzing the attribute of the drawing data of the page unit generated by the generating step by dividing into blocks;
An extraction step for extracting a block for which the drawing complexity cannot be calculated in the analysis by the calculation step;
A developing step of developing drawing data corresponding to each block extracted by the extracting step to generate image data;
Analyzing the image data of each block developed by the development step on a pixel basis, counting the number of edges whose color changes between adjacent pixels,
A second calculation step of calculating a drawing complexity for all blocks extracted from the number of edges calculated by the counting step and a predetermined threshold;
A determination step of determining a recommended print setting for the print data based on the drawing complexity of each page calculated by the first calculation step or the second calculation step;
A data processing method for a printing apparatus, comprising:
印刷データを印刷装置に送信する情報処理装置のデータ処理方法であって、
前記印刷データより描画データをページ単位に生成する生成工程と、
前記生成工程により生成されるページ単位の描画データの属性をブロックに分けて解析して描画複雑度を算出する第1の算出工程と、
前記算出工程による解析で描画複雑度を算出できないブロックを抽出する抽出工程と、
前記抽出工程により抽出された各ブロックに対応する描画データを展開して画像データを生成する展開工程と、
前記展開工程により展開された各ブロックの画像データを画素単位に解析し、隣接する画素間で色味が変化するエッジ数をカウントするカウント工程と、
前記カウント工程により算出されたエッジ数と所定のしきい値とから抽出された全てのブロックについて描画複雑度を算出する第2の算出工程と、
前記第1の算出工程または前記第2の算出工程により算出された各ページの描画複雑度に基づいて、前記印刷データに対する推奨印刷設定を決定する決定工程と、
前記決定工程により決定された推奨印刷設定に従って前記印刷データから画像データを生成する画像生成工程と、
前記画像生成工程が生成した画像データを表示手段に表示する表示工程と、
を備えることを特徴とする情報処理装置のデータ処理方法。
A data processing method for an information processing apparatus for transmitting print data to a printing apparatus,
A generation step of generating drawing data from the print data in units of pages;
A first calculation step of calculating the drawing complexity by analyzing the attribute of the drawing data of the page unit generated by the generating step by dividing into blocks;
An extraction step for extracting a block for which the drawing complexity cannot be calculated in the analysis by the calculation step;
A developing step of developing drawing data corresponding to each block extracted by the extracting step to generate image data;
Analyzing the image data of each block developed by the development step on a pixel basis, counting the number of edges whose color changes between adjacent pixels,
A second calculation step of calculating a drawing complexity for all blocks extracted from the number of edges calculated by the counting step and a predetermined threshold;
A determination step of determining a recommended print setting for the print data based on the drawing complexity of each page calculated by the first calculation step or the second calculation step;
An image generation step of generating image data from the print data according to the recommended print settings determined in the determination step;
A display step of displaying the image data generated by the image generation step on a display means;
A data processing method for an information processing apparatus.
請求項12に記載の印刷装置のデータ処理方法をコンピュータに実行させることを特徴とするプログラム。   A program for causing a computer to execute the data processing method for a printing apparatus according to claim 12. 請求項13に記載の情報処理装置のデータ処理方法をコンピュータに実行させることを特徴とするプログラム。   A program for causing a computer to execute the data processing method of the information processing apparatus according to claim 13.
JP2014025747A 2014-02-13 2014-02-13 Printing device, information processing device, data processing method for the printing device, data processing method for the information processing device, and program Pending JP2015150763A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014025747A JP2015150763A (en) 2014-02-13 2014-02-13 Printing device, information processing device, data processing method for the printing device, data processing method for the information processing device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014025747A JP2015150763A (en) 2014-02-13 2014-02-13 Printing device, information processing device, data processing method for the printing device, data processing method for the information processing device, and program

Publications (1)

Publication Number Publication Date
JP2015150763A true JP2015150763A (en) 2015-08-24

Family

ID=53893526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014025747A Pending JP2015150763A (en) 2014-02-13 2014-02-13 Printing device, information processing device, data processing method for the printing device, data processing method for the information processing device, and program

Country Status (1)

Country Link
JP (1) JP2015150763A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018097701A (en) * 2016-12-15 2018-06-21 ブラザー工業株式会社 Driver program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018097701A (en) * 2016-12-15 2018-06-21 ブラザー工業株式会社 Driver program

Similar Documents

Publication Publication Date Title
JP5643574B2 (en) Image processing apparatus and image processing method
US11487487B2 (en) Computer-readable storage medium for information processing apparatus having selectable processing channels and a display capable of displaying applicable options for print settings
US9733876B2 (en) Method of printing web page by using mobile terminal and mobile terminal for performing the method
JP5920670B2 (en) Image forming apparatus, print control program, and print control method
US20120087684A1 (en) Image forming apparatus, toner amount calculation method, and storage medium
JP4956319B2 (en) Image processing apparatus, control method thereof, program thereof, and storage medium
US9886778B2 (en) Information processing apparatus, information processing method, and program
JP2015150707A (en) Information processor, information processing method and program
JP2016522464A (en) System and method for printable document viewer optimization
US20170264781A1 (en) Method and System for Removing Objects from a Print Document
US9606752B2 (en) Associating print settings to individual print objects in a print preview
EP3211519A1 (en) Method of enhancing quality of image object included in compound document and apparatus for performing method
JP2012056278A (en) Image processing device, method of controlling the image processing device and program
JP2015150763A (en) Printing device, information processing device, data processing method for the printing device, data processing method for the information processing device, and program
JP5612882B2 (en) Printing control apparatus, printing program, and image forming apparatus
US20120297299A1 (en) Information processing apparatus, control method, and storage medium
US8804141B2 (en) Character output device, character output method and computer readable medium
JP6381311B2 (en) Image forming apparatus, image forming method, and program
JP2015167290A (en) Image formation time prediction device and image formation time prediction method
JP6512763B2 (en) INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
JP4725597B2 (en) Document processing apparatus, program, and document management apparatus
JP2017074685A (en) Image forming apparatus, information processing device, and printing system
JP2013033390A (en) Information processing system, drawing processing method and program
JP2016162244A (en) Image processing system, image formation and output control apparatus, and image processing method
JP2014197349A (en) Picture processing device, information processing method, and program