JP4145714B2 - Print processing device - Google Patents
Print processing device Download PDFInfo
- Publication number
- JP4145714B2 JP4145714B2 JP2003140384A JP2003140384A JP4145714B2 JP 4145714 B2 JP4145714 B2 JP 4145714B2 JP 2003140384 A JP2003140384 A JP 2003140384A JP 2003140384 A JP2003140384 A JP 2003140384A JP 4145714 B2 JP4145714 B2 JP 4145714B2
- Authority
- JP
- Japan
- Prior art keywords
- overlap determination
- processing
- overlap
- determination
- data
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、2値または多値画像で構成される印刷データにおける重なり判定を行い、重複部分を削除することにより印刷データサイズを削減し、転送速度の向上および印刷の高速化を図る印刷処理装置に関する。
【0002】
【従来の技術】
従来におけるこの種の技術としては、特許文献1〜3に記載された技術がある。
【0003】
特許文献1には、PDLコード解析部は入力したページ記述言語(PDL)コードによる描画順序を逆に並び替えて新たなPDLコードを作成し、2値画像形成部は入力したPDLコードに従って2値画像メモリに2値画像を描画し、カラー画像形成部は、この描画によってフラグが立っていない部分だけで、カラー画像メモリに多値カラー画像を形成することにより、多値カラー画像の描画時間を短縮することが記載されている。
【0004】
特許文献2には、CADシステムにおいて図形論理演算を使用せずに高速に図形の重なり認識を行うことを目的とし、図形Aの各頂点でスリットを切って図形Bとの交点を求め、それら交点と図形Aの各頂点との位置関係により重なり判定を行うものであり、すべての頂点が図形B内にあれば図形Aは図形Bに含まれると判定し、どの頂点も図形B内にない場合は図形Aは図形Bと重なっていないと判定し、その他の場合は2図形の一部が重なっていると判定することが記載されている。
【0005】
特許文献3に記載の発明は、2値画像から連結領域を抽出し、ラベル画像情報を作成する装置および方法に関し、画像処理装置に対して、少ない記憶容量で経済的にラベル画像情報を出力することができる装置および方法を提供することを目的としたものであり、入力された2値画像データを記憶し、その連結成分の外接矩形を算出して各外接矩形にラベルを付し、各外接矩形について他との重なりの有無を判定して、重なり有の外接矩形をラベリング処理して、そのラベル画像を作成する。そして、ラベルに基づいてラベル画像を細分割する操作を、内部に含まれるラベルの数が単一になるまで繰り返し、そのときの各々の子の外接矩形の座標、およびそれが親の外接矩形に属する矩形であるか否かを示す属性を求め、得られた2値画像と、重なり無の外接矩形と、細分割して求められた親および各々の子の外接矩形及びその属性とからなるデータを画像処理装置へ出力するようにした構成が記載されている。
【0006】
さらに前記特許文献を含めて、図10に示した、ある種のグラデーション描画のように何十回も印刷データに含まれる描画オブジェクトが重なっている場合(A,B,C,‥‥)において、中間データ段階で結果に影響を与えないように図形データの重なり判定を行い、図11(a),(b)に示すようなデータの重複部分Xを削除することにより、印刷速度の向上を図るようにした特許文献が多数ある(特許文献4〜6参照)。
【0007】
【特許文献1】
特開平5−266203号公報
【特許文献2】
特開平5−282387号公報
【特許文献3】
特開平8−55219号公報
【特許文献4】
特開2001−88367号公報
【特許文献5】
特開平2001−103468号公報
【特許文献6】
特開平2001−265548号公報
【0008】
【発明が解決しようとする課題】
通常、画像を印刷する際に、画像データを、例えばMS−Windows(登録商標)のGDIなどから受け取った後、RPCS,PCLなどのページ記述言語に変換して印刷装置であるプリンタへ転送して印刷を行うが、この過程では様々な描画オブジェクトが重なる可能性があり、印刷結果に現れない図形あるいは図形の部分が存在することがある。
【0009】
この場合でも、印刷結果に現れない描画オブジェクトを構成する描画コマンドは転送され、ラスターデータに変換されるため、余分な処理を行っていることになる。
【0010】
本発明の目的は、前記のような描画図形の重なり判定を行う際、印刷データにおける描画されないオブジェクトを構成するコマンド全体もしくはコマンドの一部を削除することにより、印刷結果に影響を与えることなく、印刷時間の短縮化を図ることができる印刷処理装置を提供することにある。
【0011】
【課題を解決するための手段】
前記目的を達成するため、請求項1に記載の発明は、コンピュータと、印刷装置と、前記コンピュータから前記印刷装置に印刷データを転送する転送経路との少なくとも1箇所において、2値または多値画像で構成される印刷データの重なり判定を行わせ、該印刷データにおける重複部分を削除する制御手段を備えた印刷処理装置において、前記印刷データの重なり判定の結果、前記重複部分が削除されるときに、下地になる描画内容が複数の部分に分割されるような場合に、描画コマンドを分割して処理するか、あるいは重複部分を削除せずに、そのまま重複部分を描画処理するかを判定する判定手段を備えたことを特徴とし、この構成によって、印刷データに対し重なり判定を行い印刷結果に影響を与えない範囲で、描画図形の全体または一部を削除することにより、印刷データサイズを削減し、転送時間の短縮および中間データからラスターデータへの展開にかかる時間も短縮することができる。さらに、コンピュータ側、印刷装置側もしくは印刷データの転送経路のいずれかにおいて、重なり判定を行うことができるため、何らかの原因でいずれかにおいて重なり判定が動作しなくなっても、処理装置全体では問題なく重なり判定処理を行うことができる。しかも、重なり判定によって何種類かの結果が得られるが、直前の図形が幾つかに分割されるような場合にも対応することにより、さらなる転送時間の短縮化および展開にかかる時間の短縮化を図ることができる。
【0012】
請求項2に記載の発明は、請求項1記載の印刷処理装置において、コンピュータと印刷装置と転送経路とに設けられた重なり判定処理部における処理能力を判断して、高速処理が可能な重なり判定処理部により重なり判定を行わせることを特徴とし、この構成によって、パーソナルコンピュータ(PC)などのホストコンピュータ、プリンタなどの印刷装置側のハードの性能を把握することにより、圧倒的にコンピュータ側の処理速度が勝っているような場合には、重なり判定を全てコンピュータ側で行ったり、ほぼ同等であれば両者で同じ量の重なり判定を行うようにすることなど、重なり判定が印刷処理全体の遅延原因となることなく、高速に重なり判定を行うことができる。
【0014】
請求項3に記載の発明は、請求項1記載の印刷処理装置において、同時に重なり判定を行うことが可能なそれぞれの箇所で、ページ単位毎、バンド単位毎、コマンド単位毎に交互に処理を割り振り、重なり判定を行わせることを可能にしたことを特徴とし、この構成によって、印刷データをページ,バンド,コマンドなどの任意の単位で管理し、例えばコンピュータ側と印刷装置側とで交互に重なり判定を処理することにより、同時に2つの処理を行って全体の処理を高速化することが可能になる。
【0015】
請求項4に記載の発明は、請求項1〜3いずれか1項に記載の印刷処理装置において、判定対象となる印刷データの特徴を判定し、描画コマンド種類毎に分類して、同種類同士または異なった種類の組み合わせで重なり判定を行わせることを特徴とし、この構成によって、印刷データ内の描画コマンドを分類することにより、重なり判定を行っても、ほとんど大きな効果を期待できないような種類のコマンドに対して、判定を行わないようにすることができ、効率的に重なり判定を行うことが可能になる。
【0016】
請求項5に記載の発明は、請求項1〜3いずれか1項に記載の印刷処理装置において、判定対象となる印刷データの描画コマンド種類を判別し、より高い効率化を実現できるコマンド、またはコマンドの組み合わせのみに重なり判定を行わせることを特徴とし、この構成によって、処理の範囲を極力絞り込みたいときには、特に効果のある描画コマンド同士、もしくはコマンドの組み合わせだけに対して判定することにより、最小の労力で高い効果を得ることができる。
【0017】
請求項6に記載の発明は、請求項1〜3いずれか1項に記載の印刷処理装置において、判定対象となる印刷データを中間データに変換した後、もしくは変換中か変換前に、1次元座標、2次元座標もしくはそれ以外の次元の座標による重なり判定を行わせることを特徴とし、この構成によって、重なり判定を中間データに変換した後だけでなく、変換する際、または変換する前に行うことにより、様々な仕様の印刷処理装置に適応できる処理系を構築することが可能になる。
【0018】
請求項7に記載の発明は、請求項1〜3いずれか1項に記載の印刷処理装置において、判定対象となる印刷データを中間データに変換した後、中間データが一次元の並びとなって格納されている場合に、画像全体の描画を考慮した重なり判定から、対象となる描画コマンドと隣接しているコマンドのみを考慮する重なり判定まで、処理にかかる時間と重なり判定によってもたらされる効果とを鑑みて重なり判定を行わせることを特徴とし、この構成によって、中間データなどが一次元に並んでいるとき、オブジェクトの重なりが、ほとんどの場合、隣接したコマンドに限られていると判断された場合、重なり判定を隣接コマンドに限定することにより、効率よく処理することが可能になる。
【0019】
請求項8に記載の発明は、請求項1〜7いずれか1項に記載の印刷処理装置において、描画図形の重なり判定を行う際に、描画図形の外形そのものに基づかず外接矩形に基づいて重なり判定を行わせることを特徴とし、この構成によって、オブジェクトの重なりを多角形あるいは楕円などを、外接矩形を近似として用いることにより、判定にかかる時間を抑制することができる。
【0021】
請求項9に記載の発明は、請求項1記載の印刷処理装置において、判定手段において、重複部分を削除するか否かを、削除可能な面積と、重なり判定を行う重なり判定処理部の処理能力と、利用可能なメモリ領域の大きさとに基づいて判定することを特徴とし、この構成によって、処理能力に合った高速処理が可能になる。
【0025】
【発明の実施の形態】
以下、本発明の実施形態について、図面を参照しながら詳細に説明する。
【0026】
図1は本発明の実施形態を説明するための印刷処理装置の全体構成を示すブロック図であり、1は印刷を実行するためのプリンタコントローラ2を備えたプリンタ、3はプリンタドライバ4を備えたパーソナルコンピュータ(PC)、5は、サーバ6などが設置され、PC3のプリンタドライバ4からプリンタ1のプリンタコントローラ2に対して印刷データを転送する転送経路、7は後述するように重なり判定を行う処理部の処理配分を行う処理配分決定部である。
【0027】
図2は前記PC3におけるプリンタドライバ4の構成を説明するための実施形態1のブロック図であり、10は各種処理プログラムからなるアプリケーションソフト部、11はPDL言語生成部、12は、図形(画像)重なり判定部13、および直前図形(画像)データ(現処理図形データより前に処理した図形データ)を格納する直前図形データメモリ14などからなり、PDL言語データに基づいて図形データの重なり判定処理を行う重なり処理部、15は、重なり処理部12からデータを受けて印刷データをプリンタ1に直接出力したり、転送経路5を介してプリンタ1に出力したりするPDL言語出力部、16はプリンタドライバ4の各部をコントロールするCPU(中央演算処理部)である。
【0028】
図3は前記転送経路5のサーバ6などにおける重なり処理部の構成を示す実施形態1のブロック図であり、20は転送経路5の各部をコントロールするCPUであり、重なり処理部21は、図形重なり判定部22、および直前図形データ(現処理図形データより前に処理した図形データ)を格納する直前図形データメモリ23などからなり、図形データの重なり判定処理を行って処理後の印刷データをプリンタ1に出力する。
【0029】
図4は前記プリンタ1のプリンタコントローラ2の構成を説明するための実施形態1のブロック図であり、30はPC3あるいは転送経路5を介して印刷データを受けるインタープリンタ、31は中間データに変換された印刷データを格納する中間データメモリ、32は、図形重なり判定部33、および直前図形データを格納する直前図形データメモリ34などからなり、中間データに基づいて図形データの重なり判定処理を行う重なり処理部、35は重なり処理部32からデータを受けて図形描画データ処理を行う図形描画処理部、36は図形描画処理部35からのデータを一時的に格納するページメモリ、37はプリンタドライバ4の各部をコントロールするCPU(中央演算処理部)、38はページメモリ36からのプリントデータを受けて印刷を実行させるプリンタエンジンである。
【0030】
次に前記構成の実施形態1の重なり処理部12,21,32における重なり判定動作について説明する。
【0031】
図5は実施形態1における重なり判定動作に係るフローチャートであり、前記重なり処理部12,21,32において、図形描画が連続して行われている場合(S1のN)、直前図形があるか否かが判断され(S2)、直前画像がある場合(S2のY)、現図形データと直前図形データから図形の重なり合いが判断される(S3)。この図形の重なり合いデータに基づいて直前図形における分割,座標変更が実行され(S4)、この変更後の図形データに基づいて直前図形の描画データが出力される(S5)。変更後の現図形データが直前図形データとして、直前図形データメモリ14,23,34に格納保存される(S6)。そして、図形データの処理が終了すると(S1のY)、直前画像がある場合(S7のY)、その直前図形データに基づいて直前図形の描画データを出力する(S8)。
【0032】
本実施形態では、前記のように重なり判定、および重なりデータ削除処理機能を持った重なり処理部12,21,32が、PC3,転送経路5,プリンタ1にそれぞれ設けられており、各部において重なり判定処理が可能であるようになっている。
【0033】
図6は実施形態1における重なり判定を行う重なり処理部の選択に係るフローチャートであり、ユーザーによる指定があれば(S11のY)、優先して重なり判定処理部を決定する(S12)。ユーザーによる指定がない場合は(S11のN)、図1に示すように、PC3における処理配分決定部7が、PC3とプリンタ1の処理能力、および転送経路5の転送速度に係る情報に基づき(S13)、印刷するデータの構成と処理能力によって、いずれの重なり処理部12,21,32で重なり判定を行うか判断する(S14)。
【0034】
例えば、PC3の処理部が他の処理部に比べて一定以上優れていて、転送速度がある値以下であり、またプリンタ1の処理部が他の処理部に比べて、ある性能以下であると判断されれば、重なり判定をPC3で行うように指示し、また、PC3の処理能力が他の処理部に比べてある性能以下、転送速度がある値以上であり、プリンタ1の処理部が他の処理部に比べてある性能以上であれば、プリンタ1の処理部において重なり判定を行うように指示する。
【0035】
ただし、全ての性能が特に判別し難ければ、PC3の処理部において処理させることが好ましい。
【0036】
ステップ(S14)で重なり判定を行う処理部が決定されると2値,多値の図形データで構成される印刷データが入力されて(S15)、プリンタ1の重なり処理部32において処理が行われる(S16のN,S17)。しかし、プリンタ1で重なり判定処理を行わせる指示が出た後、印刷データが作成されて転送が始まったにもかかわらず、何らかの原因で当初予定していたプリンタが使用できない場合(S16のY)には、転送経路5において、別のプリンタにデータを割り振ることも考えられる。また、割り振られたプリンタの性能が著しく低く、転送速度が十分であり、かつ転送経路5の処理能力が十分にある場合には、重なり判定を転送経路部で行う(S18)。
【0037】
このように実施形態1では、重なり判定を行う箇所を1箇所に限定せず、最も適した箇所、もしくは適した組み合わせで重なり判定を行うようにすることにより、上述したように、PC3とプリンタ1の2箇所に重なり判定を行うハードもしくはソフトが存在した場合、極端にPC3の性能が低くプリンタ1が相対的に性能が高いときには、重なり判定を余力のあるプリンタ1で行い、また、ほぼ両者の性能が等しいときには、ページ単位,バンド単位,コマンド単位で効率よくデータを割り振って、重なり判定を両方の重なり判定処理部12,32で行うようにすることができる。
【0038】
このように処理することにより、重なり判定を行うメリットを得られる上に、最も速やかに処理を済ませることができる。
【0039】
また、図7に示すように、印刷データによっては全描画コマンドのそれぞれを重なり判定する必要がない場合があり、その場合には、特に効果の高い描画コマンド、あるいはその組み合わせのみに限定して、重なり判定を行うことも可能である。同様にページ全面のデータを対象にせずに、ほとんど連続したコマンド同士しか重なりをなさない場合は、重なり判定を隣接したコマンドでしか行わないように、画像解析部分の判断を用いて動的に重なり判定を切り替えることも可能となる。
【0040】
さらに、前記のような画像解析を高速に行うためには外接矩形を用いた判定処理が有効である。すなわち、描画図形の外形そのものに基づかず外接矩形に基づいて重なり判定を行うことによって、オブジェクトの重なりを多角形あるいは楕円などを、外接矩形を近似として用いることにより、判定にかかる時間を抑制することができる。この判定処理部は、実際に重なり判定を行う重なり処理部の前に設置すればよく、一度、判定を行うと印刷処理装置内に複数存在している場合は、それ以降の判定を抑制して余分な処理を行わないようにすることができる。
【0041】
なお、実施形態1では、重なりをデータ中の連続した図形に限って判定するように説明しているが、これは図形が重なる場合に描画順も連続していることが多いデータに有効である。
【0042】
また、実施形態1において次のような重なり判定処理を行うことにより、判定処理を効果的に行うことができる。
【0043】
すなわち、判定対象となる印刷データの特徴を判定し、描画コマンド種類毎に分類して、同種類同士または異なった種類の組み合わせで重なり判定を行うことによって、印刷データ内の描画コマンドを分類することにより、重なり判定を行っても、ほとんど大きな効果を期待できないような種類のコマンドに対して、判定を行わないようにすることにより、効率的に重なり判定を行うことが可能になる。
【0044】
また、判定対象となる印刷データの描画コマンド種類を判別し、より高い効率化を実現できるコマンド、またはコマンドの組み合わせのみを重なり判定することによって、処理の範囲を極力絞り込みたいときに、特に効果のある描画コマンド同士、もしくはコマンドの組み合わせだけに対して判定することにより、最小の労力で高い効果を得ることができる。
【0045】
また、判定対象となる印刷データを中間データに変換した後、もしくは変換中か変換前に、1次元座標、2次元座標もしくはそれ以外の次元の座標による重なり判定を行うことによって、重なり判定を中間データに変換した後だけでなく、変換する際、または変換する前に行うことにより、様々な仕様の印刷処理装置に適応できる処理系を構築することが可能になる。
【0046】
また、判定対象となる印刷データを中間データに変換した後、中間データが一次元の並びとなって格納されている場合に、画像全体の描画を考慮した重なり判定から、対象となる描画コマンドと隣接しているコマンドのみを考慮する重なり判定まで、処理にかかる時間と重なり判定によってもたらされる効果とを鑑みて重なり判定を行うことによって、中間データなどが一次元に並んでいるとき、オブジェクトの重なりが、ほとんどの場合、隣接したコマンドに限られていると判断された場合、重なり判定を隣接コマンドに限定することにより、効率よく処理することが可能になる。
【0047】
このように本実施形態において、前記のような重なり判定を行うことにより、下地側の図形から余分な描画を省くことができ、印刷結果に影響を与えることなく印刷速度の向上を図ることができる。
【0048】
ところで、前記のようにして重なり判定を行い重複部分を削除した結果、下地側の描画コマンドが複数に分割される場合がある。分割された描画コマンドが、新たにコマンドそのものを作り出して処理する必要がある場合、重なり判定を行った部分によって、処理しやすい場合と難しい場合とが生じる。
【0049】
このように新たにコマンド処理用にメモリ領域を確保しやすい部分と、処理的に難しい部分があった場合では、分割することにより処理系全体への負荷に影響を与え、逆に印刷速度が遅くなってしまうことがあり、このような場合には、重なり判定による重複部分の削除処理を行わないようにし、削除処理によってコマンドを分割し印刷速度の向上が見込める場合には削除処理を実行することが望ましい。
【0050】
例えばスプール領域を持ったプリンタにおいて、スプール段階まで座標データが圧縮されているような場合には、圧縮が展開されてから重なり判定を行わないと、重なり判定後に再び圧縮して格納するという処理工程が増えてしまい、どこで重なり判定を行うかが効率に大きく影響してくる。
【0051】
このような場合には、圧縮データは描画までに必ず展開されるため、その後に重なり判定を行えばよい。ただし、分割を行う必要がある場合にはスプール領域以外の他のメモリ領域が必要になることが多くなる。
【0052】
このことについて対処した構成を実施形態2として以下説明する。なお、実施形態1は実施形態2と基本構成は同じであるため、以下の説明において、図1〜8において説明した実施形態1の部材に対応する部材には同一符号を付して詳しい説明は省略する。
【0053】
図8は実施形態2におけるプリンタ1のプリンタコントローラ2の構成を説明するためのブロック図であり、図8に示すように、重なり判定用に複数(図8には2個を例示する)の直前図形データメモリ34a,34bからなるメモリ領域を設ける。そして重なり処理部32において、通常の重なり判定がなされた場合には、直前図形データメモリ34a,34bの一方に直前の図形データを保存して、重なり判定によって図形の座標データを修正する。しかし重なり処理部32において、重なり判定を行い重複部分を削除した結果、下地側の描画コマンドが複数に分割されると判断された場合、その分割が2分であった場合に、データの一部を直前図形データメモリ34a,34bの一方に、また残余のデータを直前図形データメモリ34a,34bの他方に保存する。
【0054】
直前図形データメモリ34a,34bは、一方が他方に付随する構成のものであり、描画タイミングあるいは描画状態,消去のタイミングなどが、両直前図形データメモリ34a,34bが共に、極力同じになるように実行される構成にする。
【0055】
前記の処理をPC2のプリンタドライバ4により行う場合には、図9に示す実施形態2のPC2におけるプリンタドライバ4の構成を説明するためのブロック図のようになり、前記と同様に、複数(図9には2個を例示する)の直前図形データメモリ14a,14bからなるメモリ領域を設け、重なり処理部12による判断によって前記と同様の処理を実行することができる。
【0056】
実施形態2のように、描画コマンドを分割して処理するか、あるいは重複部分を削除せずに、そのまま重複部分を描画処理するかを判定する際に、重複部分を削除するか否かを、削除可能な面積と、重なり処理部12,32における処理能力と、直前図形データメモリ14a,14b,34a,34bの大きさなどに基づいて判定する必要がある。
【0057】
また、描画コマンドを分割する場合に、スプール領域あるいはスプール領域以外のメモリ領域に分割して、新たに追加した描画コマンドを格納し、分割される前と同じタイミングで描画する。
【0058】
また、描画コマンドを分割した場合、分割しない場合と同じタイミングで描画しても描画結果が異なることが予想される場合には、その後の処理を行わないようにすることが望ましい。
【0059】
さらに、分割によって新たに作られた描画コマンドにおける描画状態などの設定は分割前のものとして、座標情報以外の前記描画状態などの情報の設定処理を省略可能にすることで処理時間の短縮化を図ることができる。
【0060】
【発明の効果】
以上説明したように、本発明によれば、印刷データに対し重なり判定を行い印刷結果に影響を与えない範囲で、描画図形の全体または一部を削除することにより、印刷データサイズを削減することにより、転送時間の短縮および中間データからラスターデータへの展開にかかる時間を短縮することができる。
【0061】
また、コンピュータ側、印刷装置側もしくは印刷データの転送経路のいずれかにおいて、前記重なり判定を行うことができるため、何らかの原因でいずれかにおいて重なり判定が動作しなくなっても、処理装置全体では問題なく重なり判定処理を行うことができる。
【0062】
また、重なり判定によって何種類かの結果が得られるが、下地になる描画内容が複数の部分に分割されるような場合に、描画コマンドを分割して処理するか、あるいは重複部分を削除せずに、そのまま重複部分を描画処理するかを判定することを可能にすることにより、直前の図形が幾つかに分割されるような場合にも対応することができ、さらなる転送時間の短縮化および展開にかかる時間の短縮化を図ることができる。
【図面の簡単な説明】
【図1】本発明の実施形態を説明するための印刷処理装置の全体構成を示すブロック図
【図2】実施形態1のPCにおけるプリンタドライバの構成を説明するためのブロック図
【図3】実施形態1の転送経路におけるサーバなどにおける重なり処理部の構成を示すブロック図
【図4】実施形態1のプリンタにおけるプリンタコントローラの構成を説明するためのブロック図
【図5】実施形態1における重なり判定動作に係るフローチャート
【図6】実施形態1における重なり判定を行う重なり処理部の選択に係るフローチャート
【図7】印刷データにおける重なり状態の一例を示す説明図
【図8】実施形態2におけるプリンタ1のプリンタコントローラ2の構成を説明するためのブロック図
【図9】実施形態2のPC2におけるプリンタドライバ4の構成を説明するためのブロック図
【図10】印刷データにおいて描画オブジェクトが重なっている状態の説明図
【図11】印刷データにおける重複部分削除の説明図
【符号の説明】
1 プリンタ
2 プリンタコントローラ
3 パーソナルコンピュータ(PC)
4 プリンタドライバ
5 転送経路
6 サーバ
7 処理配分決定部
10 アプリケーションソフト部
11 PDL言語生成部
12,21,32 重なり処理部
13,22,33 図形重なり判定部
14,14a,14b,23,34,34a,34b 直前図形データメモリ
15 PDL言語出力部
16,20,37 CPU(中央演算処理部)
30 インタープリタ
31 中間データメモリ
35 図形描画処理部
36 ページメモリ
38 プリンタエンジン[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a print processing apparatus that performs overlap determination in print data composed of binary or multi-value images, and reduces the print data size by deleting the overlapped portion, thereby improving the transfer speed and increasing the printing speed. About.
[0002]
[Prior art]
Conventional techniques of this type include those described in
[0003]
In
[0004]
In
[0005]
The invention described in
[0006]
Further, in the case where drawing objects included in the print data are overlapped dozens of times (A, B, C,...) As shown in FIG. The overlap of graphic data is determined so as not to affect the result in the intermediate data stage, and the data overlap as shown in FIGS. 11 (a) and 11 (b)XThere are many patent documents in which the printing speed is improved by deleting (see
[0007]
[Patent Document 1]
JP-A-5-266203
[Patent Document 2]
JP-A-5-282387
[Patent Document 3]
JP-A-8-55219
[Patent Document 4]
JP 2001-88367 A
[Patent Document 5]
Japanese Patent Laid-Open No. 2001-103468
[Patent Document 6]
Japanese Patent Laid-Open No. 2001-265548
[0008]
[Problems to be solved by the invention]
Usually, when printing an image, after receiving the image data from, for example, GDI of MS-Windows (registered trademark), the image data is converted into a page description language such as RPCS or PCL and transferred to a printer as a printing apparatus. Although printing is performed, various drawing objects may overlap in this process, and there may be a figure or a part of a figure that does not appear in the print result.
[0009]
Even in this case, a drawing command that constitutes a drawing object that does not appear in the print result is transferred and converted into raster data, so that extra processing is performed.
[0010]
The object of the present invention is to delete the entire command or a part of the command that constitutes an object that is not drawn in the print data when performing the overlapping determination of the drawing figure as described above, without affecting the print result, An object of the present invention is to provide a print processing apparatus capable of shortening the printing time.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, an invention according to
[0012]
According to a second aspect of the present invention, in the print processing apparatus according to the first aspect, an overlap determination capable of high-speed processing by determining the processing capability of the overlap determination processing unit provided in the computer, the printing apparatus, and the transfer path. It is characterized in that the processing unit makes an overlap determination, and with this configuration, by grasping the hardware performance of the host computer such as a personal computer (PC) and the printing device side such as a printer, the processing on the computer side is overwhelming. If the speed is high, the overlap determination is performed entirely on the computer side, or if they are almost the same, the overlap determination of the same amount is performed on both sides. Therefore, the overlap determination can be performed at high speed.
[0014]
Claim3The invention described in claim1In the printing processing apparatus described, at each location where overlap determination can be performed at the same time, processing is alternately allocated for each page unit, each band unit, and each command unit to perform overlap determination.ShowThis configuration makes it possible to manage print data in arbitrary units such as pages, bands, commands, etc., and for example, by processing overlap determination alternately on the computer side and the printing device side, Two processes can be performed at the same time to speed up the overall process.
[0015]
Claim4The invention described in claim 13In the print processing apparatus described in any one of the items, the characteristics of the print data to be determined are determined, classified for each drawing command type, and overlap determination is performed for the same type or a combination of different types.ShowWith this configuration, by classifying the drawing commands in the print data, even if the overlap determination is performed, the determination is not performed for the type of command for which almost no significant effect can be expected. This makes it possible to efficiently perform overlap determination.
[0016]
Claim5The invention described in claim 13In the print processing apparatus according to any one of the above, only a command or a combination of commands that can determine the drawing command type of print data to be determined and achieve higher efficiencyInOverlap judgmentLetWith this configuration, when it is desired to narrow down the processing range as much as possible, it is possible to obtain a high effect with minimum effort by making a determination only for drawing commands or combinations of commands that are particularly effective. it can.
[0017]
Claim6The invention described in claim 13In the print processing apparatus according to any one of the above, after the print data to be determined is converted into intermediate data, or during or before the conversion, the overlap by one-dimensional coordinates, two-dimensional coordinates, or coordinates of other dimensions Make a decisionShowWith this configuration, it is possible to construct a processing system that can be applied to print processing apparatuses of various specifications by performing overlap determination not only after conversion into intermediate data but also during conversion or before conversion. It becomes possible.
[0018]
Claim7The invention described in claim 13In the print processing apparatus described in any one of the items, after the print data to be determined is converted into intermediate data, when the intermediate data is stored in a one-dimensional arrangement, the drawing of the entire image is considered. From overlap determination to overlap determination that considers only commands that are adjacent to the target drawing command, overlap determination is performed in consideration of the processing time and the effect of overlap determination.ShowWith this configuration, when intermediate data etc. are lined up in one dimension, if it is determined that the overlap of objects is mostly limited to adjacent commands, the overlap determination is changed to the adjacent command. By limiting, it becomes possible to process efficiently.
[0019]
Claim8The invention described in claim 17In the print processing apparatus according to any one of the preceding claims, when performing the overlapping determination of the drawing figure, the overlapping determination is performed based on the circumscribed rectangle, not based on the outline of the drawing figure.ShowWith this configuration, it is possible to reduce the time required for determination by using a polygon or an ellipse as an object overlap and an circumscribed rectangle as an approximation.
[0021]
Claim9The invention described in claim1In the print processing apparatus described above, in the determination unit, whether or not to delete the overlapping portion is determined as to the area that can be deleted and the overlap.Overlap determination processing unitThis processing is characterized in that the determination is based on the available processing capacity and the size of the available memory area, and this configuration enables high-speed processing that matches the processing capacity.
[0025]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0026]
FIG. 1 is a block diagram showing the overall configuration of a print processing apparatus for explaining an embodiment of the present invention. 1 is a printer provided with a
[0027]
FIG. 2 is a block diagram of the first embodiment for explaining the configuration of the
[0028]
FIG. 3 is a block diagram of the first embodiment showing the configuration of the overlap processing unit in the
[0029]
FIG. 4 is a block diagram of the first embodiment for explaining the configuration of the
[0030]
Next, the overlap determination operation in the overlap processing units 12, 21, and 32 of the first embodiment having the above-described configuration will be described.
[0031]
FIG. 5 is a flowchart relating to the overlap determination operation in the first embodiment. When the drawing process is continuously performed in the overlap processing units 12, 21, and 32 (N in S1), whether or not there is a previous figure. Is determined (S2), and if there is an immediately preceding image (Y in S2), it is determined whether the figure overlaps from the current graphic data and the previous graphic data (S3). Dividing and changing coordinates in the immediately preceding figure are executed based on the overlapping data of the figure (S4), and drawing data of the immediately preceding figure is output based on the changed figure data (S5). The changed current graphic data is stored and saved in the previous
[0032]
In the present embodiment, as described above, the overlap processing units 12, 21 and 32 having the overlap determination and overlap data deletion processing functions are provided in the
[0033]
FIG. 6 is a flowchart relating to selection of an overlap processing unit that performs overlap determination in the first embodiment. If there is designation by the user (Y in S11), the overlap determination processing unit is preferentially determined (S12). If there is no designation by the user (N of S11), as shown in FIG. 1, the processing
[0034]
For example, the processing unit of the
[0035]
However, if it is difficult to discriminate all performances, it is preferable to perform processing in the processing unit of the
[0036]
When the processing unit for determining overlap is determined in step (S14), print data composed of binary and multi-value graphic data is input (S15), and processing is performed in the overlap processing unit 32 of the
[0037]
As described above, in the first exemplary embodiment, the overlap determination is not limited to one place, but the overlap determination is performed at the most suitable place or a suitable combination. When there is hardware or software that performs overlap determination at two locations, when the performance of the
[0038]
By processing in this way, the merit of performing the overlap determination can be obtained and the processing can be completed most promptly.
[0039]
In addition, as shown in FIG. 7, depending on the print data, there is a case where it is not necessary to determine whether all drawing commands overlap, and in that case, the drawing commands are limited to only highly effective drawing commands or combinations thereof. It is also possible to perform overlap determination. Similarly, when the data of the entire page is not targeted and only the commands that are almost continuous overlap each other, the overlap is determined dynamically using the judgment of the image analysis part so that the overlap judgment is performed only by the adjacent command. It is also possible to switch the determination.
[0040]
Furthermore, in order to perform the image analysis as described above at high speed, determination processing using a circumscribed rectangle is effective. In other words, by determining the overlap based on the circumscribed rectangle, not based on the outline of the drawing figure itself, it is possible to suppress the time required for the determination by using the polygon or ellipse as the object overlap and the circumscribed rectangle as an approximation. Can do. This determination processing unit may be installed in front of the overlap processing unit that actually performs overlap determination. Once a determination is made, if there are a plurality of determination processing units in the print processing apparatus, subsequent determinations are suppressed. It is possible to prevent extra processing.
[0041]
In the first embodiment, it is described that the overlap is determined only for the continuous graphics in the data. However, this is effective for data that often has a continuous drawing order when the graphics overlap. .
[0042]
Further, the determination process can be effectively performed by performing the following overlap determination process in the first embodiment.
[0043]
In other words, the features of the print data to be determined are determined, classified for each type of drawing command, and the drawing commands in the print data are classified by performing overlap determination with the same type or a combination of different types. Thus, even if the overlap determination is performed, it is possible to efficiently perform the overlap determination by not performing the determination for a type of command for which almost no significant effect can be expected.
[0044]
Also, it is particularly effective when it is desired to narrow down the processing range as much as possible by discriminating the drawing command type of the print data to be determined and determining only the commands or combinations of commands that can achieve higher efficiency. By making a determination only for certain drawing commands or a combination of commands, a high effect can be obtained with a minimum of effort.
[0045]
In addition, after the print data to be determined is converted to intermediate data, or before or during conversion, the overlap determination is performed by using the one-dimensional coordinates, the two-dimensional coordinates, or coordinates of other dimensions, so that the overlap determination is intermediate. It is possible to construct a processing system that can be applied to print processing apparatuses of various specifications by performing not only after data conversion but also during or before conversion.
[0046]
In addition, when the print data to be determined is converted into intermediate data, and the intermediate data is stored in a one-dimensional array, the drawing command to be used is determined from the overlap determination in consideration of drawing of the entire image. By performing overlap determination in consideration of the time required for processing and the effect brought about by overlap determination until overlap determination that considers only adjacent commands, overlapping of objects when intermediate data etc. are arranged in one dimension However, in most cases, when it is determined that the command is limited to the adjacent command, it is possible to efficiently process by limiting the overlap determination to the adjacent command.
[0047]
As described above, in the present embodiment, by performing the overlap determination as described above, it is possible to omit extra drawing from the base-side graphic, and to improve the printing speed without affecting the printing result. .
[0048]
By the way, as a result of performing the overlap determination as described above and deleting the overlapped portion, the drawing command on the base side may be divided into a plurality of parts. When it is necessary to process the divided drawing command by newly creating the command itself, there are cases where it is easy to process and difficult depending on the overlapped portion.
[0049]
In this way, if there is a part that makes it easy to secure a memory area for command processing and a part that is difficult to process, the division affects the load on the entire processing system, and the printing speed is slow. In such a case, do not delete the overlapping part by overlap determination. If the command can be divided by the deletion process and the printing speed can be improved, execute the deletion process. Is desirable.
[0050]
For example, in a printer having a spool area, when the coordinate data is compressed up to the spool stage, if the overlap determination is not performed after the compression is expanded, the processing step is to compress and store again after the overlap determination. Increases where the overlap determination is greatly affected.
[0051]
In such a case, since the compressed data is necessarily expanded before drawing, the overlap determination may be performed thereafter. However, when it is necessary to divide, a memory area other than the spool area is often required.
[0052]
A configuration that addresses this will be described below as a second embodiment. Since the basic configuration of the first embodiment is the same as that of the second embodiment, in the following description, members corresponding to those of the first embodiment described in FIGS. Omitted.
[0053]
FIG. 8 is a block diagram for explaining the configuration of the
[0054]
The immediately preceding
[0055]
When the above-described processing is performed by the
[0056]
Whether or not to delete the overlapping part when determining whether to process the overlapping part as it is without deleting the overlapping part, as in the second embodiment, It is necessary to make a determination based on the area that can be deleted, the processing capability of the overlap processing units 12 and 32, the size of the immediately preceding
[0057]
When the drawing command is divided, the drawing command is divided into a spool area or a memory area other than the spool area, the newly added drawing command is stored, and drawing is performed at the same timing as before the division.
[0058]
Further, when the drawing command is divided, it is desirable not to perform the subsequent processing if the drawing result is expected to be different even if drawing is performed at the same timing as when the drawing command is not divided.
[0059]
Furthermore, the setting of the drawing state and the like in the drawing command newly created by the division is the one before the division, and the processing time can be shortened by making it possible to omit the setting process of the drawing state and the like other than the coordinate information. Can be planned.
[0060]
【The invention's effect】
As described above, according to the present invention, it is possible to reduce the print data size by deleting all or part of the drawing figure within a range that does not affect the print result by performing overlap determination on the print data. As a result, the transfer time can be shortened and the time taken to develop the intermediate data into the raster data can be shortened.
[0061]
In addition, since the overlap determination can be performed on either the computer side, the printing apparatus side, or the print data transfer path, even if the overlap determination does not work for any reason, there is no problem in the entire processing apparatus. An overlap determination process can be performed.
[0062]
In addition, several types of results can be obtained by overlap determination, but when the underlying drawing content is divided into multiple parts, the drawing command is divided and processed or the overlapping part is not deleted. Next, it is determined whether to draw the overlapping part as it isThisBy enabling the above, it is possible to cope with a case where the immediately preceding graphic is divided into several, and it is possible to further reduce the transfer time and the time required for development.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the overall configuration of a print processing apparatus for explaining an embodiment of the present invention.
FIG. 2 is a block diagram for explaining a configuration of a printer driver in the PC according to the first embodiment.
FIG. 3 is a block diagram illustrating a configuration of an overlap processing unit in a server or the like on a transfer path according to the first embodiment.
FIG. 4 is a block diagram for explaining a configuration of a printer controller in the printer according to the first embodiment.
FIG. 5 is a flowchart according to an overlap determination operation in the first embodiment.
FIG. 6 is a flowchart relating to selection of an overlap processing unit that performs overlap determination in the first embodiment.
FIG. 7 is an explanatory diagram illustrating an example of an overlap state in print data.
FIG. 8 is a block diagram for explaining the configuration of the
FIG. 9 is a block diagram for explaining a configuration of a
FIG. 10 is an explanatory diagram of a state in which drawing objects overlap in print data
FIG. 11 is an explanatory diagram of deleting duplicate portions in print data.
[Explanation of symbols]
1 Printer
2 Printer controller
3 Personal computer (PC)
4 Printer driver
5 Transfer route
6 servers
7 processing allocation decision part
10 Application software
11 PDL language generator
12, 21, 32 Overlap processing part
13, 22, 33 Graphic overlap determination unit
14, 14a, 14b, 23, 34, 34a, 34b Immediately before graphic data memory
15 PDL language output section
16, 20, 37 CPU (central processing unit)
30 Interpreter
31 Intermediate data memory
35 Graphic drawing processing unit
36 page memory
38 Printer Engine
Claims (9)
前記印刷データの重なり判定の結果、前記重複部分が削除されるときに、下地になる描画内容が複数の部分に分割されるような場合に、描画コマンドを分割して処理するか、あるいは重複部分を削除せずに、そのまま重複部分を描画処理するかを判定する判定手段を備えたことを特徴とする印刷処理装置。At least one location of a computer, a printing apparatus, and a transfer path for transferring print data from the computer to the printing apparatus is configured to perform an overlap determination of print data composed of binary or multi-valued images. in printing processing apparatus having a control means for deleting the overlapping portions of,
As a result of the overlap determination of the print data, when the overlapping part is deleted, if the underlying drawing content is divided into a plurality of parts, the drawing command is divided and processed or the overlapping part is processed. A printing processing apparatus comprising: a determination unit that determines whether to perform drawing processing of an overlapping portion without deleting the image .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003140384A JP4145714B2 (en) | 2002-12-25 | 2003-05-19 | Print processing device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002373450 | 2002-12-25 | ||
JP2003140384A JP4145714B2 (en) | 2002-12-25 | 2003-05-19 | Print processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2004252929A JP2004252929A (en) | 2004-09-09 |
JP4145714B2 true JP4145714B2 (en) | 2008-09-03 |
Family
ID=33031770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003140384A Expired - Fee Related JP4145714B2 (en) | 2002-12-25 | 2003-05-19 | Print processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4145714B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4710743B2 (en) * | 2006-07-18 | 2011-06-29 | 富士ゼロックス株式会社 | Print server, print server program |
JP2020017087A (en) * | 2018-07-25 | 2020-01-30 | 富士ゼロックス株式会社 | Print management device and program |
CN110874520B (en) * | 2018-09-03 | 2024-01-30 | 珠海金山办公软件有限公司 | Method and device for removing overlapped paths and terminal equipment |
-
2003
- 2003-05-19 JP JP2003140384A patent/JP4145714B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004252929A (en) | 2004-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR930003419B1 (en) | Printing apparatus and method | |
JP3775381B2 (en) | Image processing device | |
JP5051327B1 (en) | Image processing apparatus and program | |
JPH11327846A (en) | Printing controller, printing data generating device, printing control method, printing data generating method and storage medium | |
JP4145714B2 (en) | Print processing device | |
KR100257843B1 (en) | Character processor, character processing method, and memory | |
JP6135329B2 (en) | Print data processing apparatus, program, and system | |
US6310693B1 (en) | Printing control apparatus and method, and printing system for reducing processing overhead | |
KR100477777B1 (en) | Method, system, program, and data structure for generating raster objects | |
JP4406364B2 (en) | Apparatus and method for processing variable print documents | |
US7170628B2 (en) | Efficient processing of images in printers | |
JP3871011B2 (en) | Information processing apparatus and information processing method | |
JPH10202962A (en) | Apparatus for processing printing data and apparatus for forming input data | |
JP2004030386A (en) | Image processing method and image processor | |
EP2293180B1 (en) | PDL data processing device and PDL data creating device | |
JP4325339B2 (en) | Printing system, host computer and printer driver | |
JPH10151815A (en) | Printing-processing apparatus | |
JP2006155307A (en) | Image processing system performing load distributed processing | |
JP2000255116A (en) | Apparatus for processing printing and method for processing printing | |
JP4467715B2 (en) | Image output control apparatus and method | |
JP2000255121A (en) | Printing processing apparatus and method | |
JP2003050683A (en) | Image processor and image processing method its program and storage medium | |
JP2001270170A (en) | Printer controller | |
JP5346883B2 (en) | Image output apparatus and image output program | |
JP5409559B2 (en) | Image forming apparatus and image forming program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050711 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080324 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080401 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080527 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080617 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080618 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110627 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110627 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120627 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130627 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |