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 PDFInfo
- 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
- 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
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
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.
しかしながら、前述した方法では、文字の描画データのみを判定しているため、判定方法は容易であり、短時間で判定可能だが、グラフィックやイメージを多く含んだドキュメントにおいて、良好な判定結果が得られない。
一方、展開した画像データで判定を行う場合、全てのドキュメントにおいて最適な判定結果が得られるが、ピクセル単位で行うことになるため、判定処理に時間がかかり、推奨印刷設定の提示までユーザを待たせることになる。
本発明は、上記の課題を解決するためになされたもので、本発明の目的は、ユーザに対し、様々なドキュメントにおいて最適な推奨印刷設定を短時間で提示できる仕組みを提供することである。
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.
次に本発明を実施するための最良の形態について図面を参照して説明する。
<システム構成の説明>
〔第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
次に、モバイル端末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,
A
303はネットワーク処理部で、データスプール305に格納された印刷データを、ネットワーク103を介して印刷装置102に送信する。ネットワーク処理部303は、UI処理部301の指示に従い、印刷装置102への印刷データ送信と推奨設定判定依頼または印刷依頼を行う。
304は画像生成部で、選択されたドキュメントの画像や、印刷装置102で決定した推奨印刷設定に従って画像データを生成し、生成した画像データをUI処理部301に渡す。305はデータスプールで、データ処理部302で生成された印刷データを格納する。306はファイルで、アプリケーション等で作成したドキュメントのデータを格納する。
A
An
次に、印刷装置102の詳細な機能モジュール構成を説明する。
印刷装置102において、201はネットワーク処理部で、ネットワーク103を介して送信された印刷データ(属性の異なる描画オブジェクトが含まれる)をデータスプール208に格納する。202は解析処理部で、ネットワーク処理部201の指示に従い、データスプール208に格納された印刷データを解析し、ページ単位の描画データを描画データスプール211に格納する。203は描画データ判定部で、描画データスプール211に格納された描画データの属性を後述するようにブロックごとに描画複雑度の判定を行う。204は展開処理部で、描画データスプール211に格納されたページ単位の描画データから画像データに展開し、画像データスプール210に格納する。なお、本実施形態において、描画すべきオブジェクトには、文字、図形、画像が含まれる。
Next, a detailed functional module configuration of the
In the
205は画像判定部で、ブロック管理テーブル209で管理されるデータを参照して、属性を特定できないブロックについて描画データから生成される画像データであって、画像データスプール210に格納された画像データを画素単位に解析して描画複雑度を判定する。206は推奨設定判定部で、描画データ判定部203、画像判定部205のそれぞれの描画複雑度の判定結果をもとに、推奨印刷設定を判定する。推奨設定判定部206は、判定結果をネットワーク処理部201に通知し、ネットワーク103を介して依頼元のモバイル端末101に送信する。
207は印刷処理部で、画像データスプール210に格納された画像データを印刷する。208はデータスプールで、ネットワーク処理部201で受信した印刷データを格納する。209はブロック管理テーブルで、描画データ判定部203の判定結果を、ページを複数に分割したブロックごとに格納しておく。ブロック管理テーブル209は、画像判定部205から参照され、画像データの判定を実行するかどうかの判定に使われる。211は描画データスプールで、解析処理部202によって生成された描画データを格納する。210は画像データスプールで、展開処理部204によって展開された画像データを格納する。
An
A
<ハードウェア構成>
図2は、図1に示したモバイル端末101と印刷装置102のハードウェア構成を示すブロック図である。
<Hardware configuration>
FIG. 2 is a block diagram illustrating a hardware configuration of the mobile terminal 101 and the
図2において、モバイル端末101は、RAM501、CPU502、Flashメモリ503、ネットワークI/F504、ディスプレイ505から構成される。
In FIG. 2, the mobile terminal 101 includes a
RAM501は、揮発性メモリであり、電源投入時にFlashメモリ503に格納された各UI処理部301、データ処理部302、ネットワーク処理部303、画像生成部304のプログラムが展開される。
また、データ処理部302で生成された印刷データの一次的な記憶領域になる。CPU502は、RAM501に展開された各処理部301〜304のプログラムを実行する演算プロセッサである。Flashメモリ503は、大量の情報を格納可能な記憶装置であり、各UI処理部301、データ処理部302、ネットワーク処理部303、画像生成部304のプログラムが格納され、また、データスプール305やファイル306の記憶領域になる。
The
In addition, this is a primary storage area for print data generated by the
ネットワークI/F504は、印刷装置102とネットワーク103を介してデータや情報の送受信を行う入出力インターフェースである。ディスプレイ505は、UI処理部301で生成した操作画面や画像生成部304で生成した画像データを表示し、ユーザの操作を電気的な信号に変換し、UI処理部301に伝達する。
A network I /
印刷装置102は、ROM401、RAM402、CPU403、HDD404、ネットワークI/F405、エンジンI/F406、プリンタエンジン407から構成される。
ROM401は、不揮発性メモリであり、印刷装置102の各ネットワーク処理部201、解析処理部202、描画データ判定部203、展開処理部204、画像判定部205、推奨設定判定部206、印刷処理部207のプログラムが格納される。
The
A
RAM402は、揮発性メモリであり、電源投入時にROM401に格納された各ネットワーク処理部201、解析処理部202、描画データ判定部203、展開処理部204、画像判定部205、推奨設定判定部206、印刷処理部207のプログラムが展開される。
また、ブロック管理テーブル209が格納されるとともに、データスプール208、画像データスプール210、描画データスプール211の一次的な記憶領域になる。
A
In addition, the block management table 209 is stored and becomes a primary storage area of the
CPU403は、RAM402に展開された各ネットワーク処理部201、解析処理部202、描画データ判定部203、展開処理部204、画像判定部205、推奨設定判定部206、印刷処理部207のプログラムを実行する演算プロセッサである。
The
HDD404は、大量の情報を格納可能な記憶装置であり、データスプール208、画像データスプール210の記憶領域になる。エンジンI/F406は、印刷処理部207の制御で、画像データスプール210に格納された画像データをビデオデータに変換し、プリンタエンジン407に出力する。プリンタエンジン407は、不図示の印刷プロセスでビデオデータをもとに用紙に印刷する。ネットワークI/F405は、ネットワーク103を介して、モバイル端末101と通信を行う。
The
<印刷処理フロー> <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
In the mobile terminal 101, in step S1001, the
In step S <b> 1003, the
In the
In S1013, S1012 to S1017 are repeatedly executed until the
Specifically, in S1014, S1012 to S1015 are repeatedly executed until the
When the page end command is analyzed in S1014, the
In step S1017, the
On the other hand, when the
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
In the mobile terminal 101, when the
When the user executes printing in accordance with an instruction such as a button (not shown), the
In step S <b> 1009, the
Upon receiving a print request from the mobile terminal 101, the
<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
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
If the drawing
On the other hand, when the drawing
一方、S1101で、文字描画データでないと描画データ判定部203が判定した場合、S1110で、描画データ判定部203は描画データが図形描画コマンドかを判定する。ここで、図形描画データであると描画データ判定部203が判定した場合、S1111で、描画データ判定部203が図形描画データの幅、高さ、パス点数を参照し、パス点数が10点以下かつ幅、高さが50以上の条件に該当するかを判定する。ここで、当該条件に該当すると描画データ判定部203が判定した場合、S1113で、描画データの複雑度のパラメータを1と決定する。
On the other hand, if the drawing
一方、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
When the complexity parameter is determined in each of S1104, S1105, and S1113, the drawing
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
On the other hand, when the drawing
Note that the threshold values of the conditions in S1102, S1103, S1111 and S1112 may be changed depending on the output resolution of the
図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
In FIG. 5, drawing
In the
The drawing
描画データ611は、同様にパス点数が3、幅が30、高さが40である。描画データ610は、描画領域が広くピクセル単位の色の境界が少ないため、S1111の判定により、複雑度のパラメータは1と決定される。
一方、描画データ611は、描画領域が狭くピクセル単位の色の境界が多くなる可能性があるためS1111の判定で複雑度の判定は不可とされる。描画データ620、621はイメージ描画データである。描画データ620は、可逆圧縮であるPackbits圧縮で十分な圧縮率(1/12)となっているため、図形描画に近いイメージ描画データであることが想定される。
Similarly, the drawing
On the other hand, since the drawing
このため、描画データ620は、画像データの判定が必要なく、S1112の判定により、複雑度のパラメータは1と決定される。
一方、描画データ621は、非可逆圧縮であるJPEG圧縮で十分な圧縮率(1/8)が得られていないため、写真等のイメージ描画データであることが想定される。このため、描画データ621は、画像データの判定が必要であるため、S1112の判定で複雑度の判定は不可とされる。
Therefore, the drawing
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
In FIG. 6,
703は、判定処理後の全描画領域のブロック管理テーブルである。判定済みフラグが"TRUE"のブロックは、S1014の描画データ複雑度判定により、判定された描画データを含むブロックであり、描画データの複雑度のパラメータが指定されている。また、S1017の展開画像の複雑度判定において、判定対象外のブロックとなる。一方、判定済みフラグが"FALSE"のブロックは、S1014の描画データ複雑度判定により判定できなかった描画データを含むブロックであり、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
S1201で、画像判定部205がページの複雑度パラメータをカウントするComplexと判定領域数をカウントするRegionを「0」に初期化する。S1202で、画像判定部205が描画データ判定処理後のブロック管理テーブル703を参照する。S1203で、画像判定部205がブロック管理テーブル703の判定済みフラグが"FALSE"であるか判定する。
In step S <b> 1201, the
ここで、判定済みフラグが"FALSE"であると画像判定部205が判定した場合、S1204で、画像判定部205がブロック管理テーブル703の開始座標X、Yから所定のブロックサイズの領域に含まれる画像データを画像データスプール210より読出し、複雑度を判定する。
If the
一方、S1203で、判定済みフラグが"FALSE"でないと画像判定部205が判定した場合、S1210で、判定済みフラグが"TRUE"であるか判定する。したがって、判定済みフラグが"TRUE"の場合、S1211で、画像判定部205がブロック管理テーブル703の複雑度パラメータを参照し、Complexに複雑度パラメータを加算する。
On the other hand, if the
また、S1212で、画像判定部205がRegionをインクリメントする。S1205で、全ブロックのブロック管理テーブル703の参照が終了するまで、S1201〜S1204、S1210〜S1212を繰り返し実行する。全ブロックのブロック管理テーブル703の参照が終了すると、S1220で、ページの複雑度として、Complex/Regionを保持する。
In step S1212, the
上記のとおり、ブロック管理テーブル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
In step S <b> 1301, the
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
In step S1308, the
In S1311, S1303 to S1311 are repeatedly executed until the
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
In step S1321, the
On the other hand, when the
Note that the threshold values of the conditions in S1320 and S1321 may be changed by the output resolution of the
図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
In FIG. 9,
ブロック画像データ802は、ブロック画像の複雑度判定処理により、エッジ数Ecは35、ピクセルあたりのエッジ数は0.55(=35/64)となり、S1321の判定で、複雑度パラメータは2となる。
ブロック画像データ803は、隣接するピクセル間の色値の差異が少なく、S1306の判定でエッジと判定されず、結果的にエッジ数Ecは0となる。これによりピクセルあたりのエッジ数は0(=0/64)となり、S1321の判定で、複雑度パラメータは「1」となる。ブロック画像データ803は、グラデーション等の隣接するピクセル間で色値の差異が少ない画像データであり、視覚的な複雑度は小さいため、複雑度パラメータを小さくしている。
In the
The
<推奨印刷設定判定フロー>
図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
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
On the other hand, when the recommended
On the other hand, when the recommended setting
Note that the threshold values of the conditions in S1402 and S1403 may be changed by the output resolution of the
図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,
〔第2実施形態〕
上記第1実施形態においては、印刷装置102において、推奨印刷設定の判定を行っているが、本実施形態では、モバイル端末101に推奨印刷設定の判定機能を搭載し、モバイル端末101上で推奨印刷設定の判定処理を実行する。
図12は、図1に示したモバイル端末101の機能モジュール構成を示すブロック図である。本例に示すモバイル端末101では、図1で説明したモジュールに以下のモジュールを加えられた構成となっている。
[Second Embodiment]
In the first embodiment, the recommended print setting is determined in the
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,
313は画像判定部で、画像データスプール321に格納された画像データを判定する。
314は推奨設定判定部で、描画データ判定部311、画像判定部313の判定結果をもとに、推奨印刷設定を判定する。推奨設定判定部314は、判定結果をUI処理部301に渡し、UI処理部301により判定結果を表示する。
A recommended
320は描画データスプールで、解析処理部310によって生成された描画データを格納する。322はブロック管理テーブルで、描画データ判定部311の判定結果を、ページを複数に分割したブロックごとに格納しておく。ブロック管理テーブル322は、画像判定部313から参照され、画像データの判定を実行するかどうかの判定に使われる。321は画像データスプールで、展開処理部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
In step S1501, the
S1506で、描画データ判定部311は、描画データスプール320に格納された描画データに対し、描画結果の視覚的な細かさを示す複雑度の判定を行い、判定結果を後述のブロック管理テーブル322に格納し、S1503の処理に戻る。S1505で、解析処理部310がページ終了コマンドを解析すると、S1507で、展開処理部312は、描画データスプール320に格納された描画データをレンダリングし、画像データを画像データスプール321に格納する。
In step S <b> 1506, the drawing
S1508で、画像判定部313は、ブロック管理テーブル322に格納された描画データの判定結果を参照し、画像データスプール321に格納された画像データの複雑度を判定し、S1503の処理に戻る。
S1504で、解析処理部310がジョブ終了コマンドを解析すると、S1509で、推奨設定判定部314は、S1506、S1508の複雑度判定の結果をもとに、印刷データの推奨印刷設定を判定する。
In step S1508, the
In step S1504, when the
S1510で、画像生成部304は、推奨印刷設定に従って画像データを生成する。S1511で、画像生成部304で生成された画像データを、UI処理部301を介してディスプレイ505上に表示し、S1512で、ユーザからの印刷実行を受付けるための指示待ちとなる。
ユーザが図示しないボタン等を操作して印刷実行を指示すると、S1513で、データ処理部302は、選択された設定に従って印刷データを生成し、データスプール305に印刷データを格納する。S1514で、ネットワーク処理部303は、データスプール305に格納された印刷データを、ネットワーク103を介して印刷装置102に送信し、印刷装置102で印刷を行う。
上記のように、モバイル端末101でドキュメントの推奨印刷設定を判定することで、印刷装置102が他のユーザによって使われている場合にも、推奨印刷設定を得ることができる。
In step S1510, the
When the user operates a button or the like (not shown) to instruct printing, the
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
このように、本実施形態では、モバイル端末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
〔第3実施形態〕
さらに、モバイル端末101、印刷装置102がそれぞれクラウドコンピュータ環境に接続可能な場合には、クラウド上のサーバ装置に上記推奨印刷設定処理を実行させる。そして、サーバ装置から結果として印刷推奨設定をそれぞれが取得できるように制御してもよい。
[Third Embodiment]
Further, when the mobile terminal 101 and the
〔第4実施形態〕
さらに、モバイル端末101、印刷装置102がネットワーク上の通信可能な他の印刷装置に接続可能な場合には、推奨設定処理を実行可能かどうかを他の印刷装置に問い合わせる。そして、推奨設定処理を実行可能である場合、上記他の印刷装置に推奨印刷設定処理を実行させ、結果として印刷推奨設定をそれぞれが取得できるように制御してもよい。
上記各実施形態によれば、印刷データに対し、描画データの複雑度の判定と描画データを展開した画像データの判定をすることで、様々な印刷データに対し最適な推奨印刷設定を提示することができる。また、印刷データ内の全ての描画データに対し、複雑度を決定可能かどうか判定し、決定できない描画データの描画領域のみ展開した画像データで判定するため、画像データの判定を最小限にし、推奨印刷設定を短時間で提示することが可能となる。
[Fourth Embodiment]
Further, when the mobile terminal 101 and the
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
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:
前記印刷データと、当該印刷データに対する推奨印刷設定の要求とを前記印刷装置に転送する転送手段と、
前記印刷装置により決定された前記印刷データに対する前記推奨印刷設定を取得する取得手段と、
前記取得手段が取得した前記推奨印刷設定に従い前記印刷データを前記印刷装置が印刷する画像データに展開する画像生成手段と、
前記画像生成手段が生成した画像データを表示する表示手段と、
を備えることを特徴とする情報処理装置。 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の算出工程と、
前記第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.
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018097701A (en) * | 2016-12-15 | 2018-06-21 | ブラザー工業株式会社 | Driver program |
-
2014
- 2014-02-13 JP JP2014025747A patent/JP2015150763A/en active Pending
Cited By (1)
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 |