JP2004252929A - Print processing system - Google Patents

Print processing system Download PDF

Info

Publication number
JP2004252929A
JP2004252929A JP2003140384A JP2003140384A JP2004252929A JP 2004252929 A JP2004252929 A JP 2004252929A JP 2003140384 A JP2003140384 A JP 2003140384A JP 2003140384 A JP2003140384 A JP 2003140384A JP 2004252929 A JP2004252929 A JP 2004252929A
Authority
JP
Japan
Prior art keywords
overlap
processing
overlap determination
print
determination
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.)
Granted
Application number
JP2003140384A
Other languages
Japanese (ja)
Other versions
JP4145714B2 (en
Inventor
Mikiya Ichikawa
美貴也 市川
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003140384A priority Critical patent/JP4145714B2/en
Publication of JP2004252929A publication Critical patent/JP2004252929A/en
Application granted granted Critical
Publication of JP4145714B2 publication Critical patent/JP4145714B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To shorten a printing time without influencing a print result by deleting all or part of commands constituting an object not to be drawn in print data when an overlap of drawn figures is determined. <P>SOLUTION: Overlap processing parts with figure overlap determination and overlap data deletion processing functions are disposed respectively in a printer 1, a personal computer (PC) 3 and a transfer path 5, wherein each overlap processing part can execute overlap determination processing. For an overlap determination, a processing distribution decision part 7 refers to information on the throughputs of the PC 3 and printer 1 and the transfer rate of the transfer path 5, all saved in the processing distribution decision part disposed in a CPU of the PC 3, to determine which of the overlap processing parts executes the overlap determination in dependence on the organization of print data and the throughputs. <P>COPYRIGHT: (C)2004,JPO&NCIPI

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)に示すようなデータの重複部分を削除することにより、印刷速度の向上を図るようにした特許文献が多数ある(特許文献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に記載の発明は、コンピュータと、印刷装置と、前記コンピュータから前記印刷装置に印刷データを転送する転送経路とのいずれかにおいて、2値または多値画像で構成される印刷データの重なり判定を行わせ、該印刷データにおける重複部分を削除する制御手段を備えたことを特徴とし、この構成によって、印刷データに対し重なり判定を行い印刷結果に影響を与えない範囲で、描画図形の全体または一部を削除することにより、印刷データサイズを削減し、転送時間の短縮および中間データからラスターデータへの展開にかかる時間も短縮することができる。
【0012】
請求項2に記載の発明は、請求項1記載の印刷処理装置において、コンピュータと印刷装置と転送経路とに設けられた重なり判定処理部における処理能力を判断して、高速処理が可能な重なり判定処理部により重なり判定を行わせることを特徴とし、この構成によって、パーソナルコンピュータ(PC)などのホストコンピュータ、プリンタなどの印刷装置側のハードの性能を把握することにより、圧倒的にコンピュータ側の処理速度が勝っているような場合には、重なり判定を全てコンピュータ側で行ったり、ほぼ同等であれば両者で同じ量の重なり判定を行うようにすることなど、重なり判定が印刷処理全体の遅延原因となることなく、高速に重なり判定を行うことができる。
【0013】
請求項3に記載の発明は、コンピュータと、印刷装置と、前記コンピュータから前記印刷装置に印刷データを転送する転送経路とのいずれかにおいて、2値または多値画像で構成される印刷データの重なり判定を同時に行わせ、該印刷データにおける重複部分を削除する制御手段を備えたことを特徴とし、この構成によって、コンピュータ側、印刷装置側もしくは印刷データの転送経路のいずれかにおいて、重なり判定を行うことができるため、何らかの原因でいずれかにおいて重なり判定が動作しなくなっても、処理装置全体では問題なく重なり判定処理を行うことができる。
【0014】
請求項4に記載の発明は、請求項3記載の印刷処理装置において、同時に重なり判定を行うことが可能なそれぞれの箇所で、ページ単位毎、バンド単位毎、コマンド単位毎に交互に処理を割り振り、重なり判定を行うことを可能にしたことを特徴とし、この構成によって、印刷データをページ,バンド,コマンドなどの任意の単位で管理し、例えばコンピュータ側と印刷装置側とで交互に重なり判定を処理することにより、同時に2つの処理を行って全体の処理を高速化することが可能になる。
【0015】
請求項5に記載の発明は、請求項1〜4いずれか1項に記載の印刷処理装置において、判定対象となる印刷データの特徴を判定し、描画コマンド種類毎に分類して、同種類同士または異なった種類の組み合わせで重なり判定を行うことを特徴とし、この構成によって、印刷データ内の描画コマンドを分類することにより、重なり判定を行っても、ほとんど大きな効果を期待できないような種類のコマンドに対して、判定を行わないようにすることができ、効率的に重なり判定を行うことが可能になる。
【0016】
請求項6に記載の発明は、請求項1〜4いずれか1項に記載の印刷処理装置において、判定対象となる印刷データの描画コマンド種類を判別し、より高い効率化を実現できるコマンド、またはコマンドの組み合わせのみを重なり判定することを特徴とし、この構成によって、処理の範囲を極力絞り込みたいときには、特に効果のある描画コマンド同士、もしくはコマンドの組み合わせだけに対して判定することにより、最小の労力で高い効果を得ることができる。
【0017】
請求項7に記載の発明は、請求項1〜4いずれか1項に記載の印刷処理装置において、判定対象となる印刷データを中間データに変換した後、もしくは変換中か変換前に、1次元座標、2次元座標もしくはそれ以外の次元の座標による重なり判定を行うことを特徴とし、この構成によって、重なり判定を中間データに変換した後だけでなく、変換する際、または変換する前に行うことにより、様々な仕様の印刷処理装置に適応できる処理系を構築することが可能になる。
【0018】
請求項8に記載の発明は、請求項1〜4いずれか1項に記載の印刷処理装置において、判定対象となる印刷データを中間データに変換した後、中間データが一次元の並びとなって格納されている場合に、画像全体の描画を考慮した重なり判定から、対象となる描画コマンドと隣接しているコマンドのみを考慮する重なり判定まで、処理にかかる時間と重なり判定によってもたらされる効果とを鑑みて重なり判定を行うことを特徴とし、この構成によって、中間データなどが一次元に並んでいるとき、オブジェクトの重なりが、ほとんどの場合、隣接したコマンドに限られていると判断された場合、重なり判定を隣接コマンドに限定することにより、効率よく処理することが可能になる。
【0019】
請求項9に記載の発明は、請求項1〜8いずれか1項に記載の印刷処理装置において、描画図形の重なり判定を行う際に、描画図形の外形そのものに基づかず外接矩形に基づいて重なり判定を行うことを特徴とし、この構成によって、オブジェクトの重なりを多角形あるいは楕円などを、外接矩形を近似として用いることにより、判定にかかる時間を抑制することができる。
【0020】
請求項10に記載の発明は、請求項1〜9いずれか1項記載の印刷処理装置における印刷データの重なり判定の結果、重複部分が削除されるときに、下地になる描画内容が複数の部分に分割されるような場合に、描画コマンドを分割して処理するか、あるいは重複部分を削除せずに、そのまま重複部分を描画処理するかを判定する判定手段を備えたことを特徴とし、この構成によって、重なり判定によって何種類かの結果が得られるが、直前の図形が幾つかに分割されるような場合にも対応することにより、さらなる転送時間の短縮化および展開にかかる時間の短縮化を図ることができる。
【0021】
請求項11に記載の発明は、請求項10記載の印刷処理装置において、判定手段において、重複部分を削除するか否かを、削除可能な面積と、重なり判定を行う処理手段の処理能力と、利用可能なメモリ領域の大きさとに基づいて判定することを特徴とし、この構成によって、処理能力に合った高速処理が可能になる。
【0022】
請求項12に記載の発明は、請求項10記載の印刷処理装置において、描画コマンドを分割する場合に、スプール領域あるいはスプール領域以外のメモリ領域に分割して新たに追加した描画コマンドを格納し、分割される前と同じタイミングで描画することを特徴とし、この構成によって、分割された図形を他方の図形と関連付けて管理することより、描画結果を変えることなく高速に重なり判定を行うことが可能になる。
【0023】
請求項13に記載の発明は、請求項10記載の印刷処理装置において、描画コマンドを分割した場合、分割しない場合と同じタイミングで描画しても描画結果が異なることが予想される場合には、その後の処理を行わないようにしたことを特徴とし、この構成によって、処理上の不具合の発生を防ぐことができる。
【0024】
請求項14に記載の発明は、請求項10記載の印刷処理装置において、分割によって新たに作られた描画コマンドにおける描画状態などの設定は分割前のものとして、座標情報以外の前記描画状態などの情報の設定処理を省略可能にしたことを特徴とし、この構成によって、描画結果を変えることなく高速に重なり判定を行うことが可能になる。
【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]
TECHNICAL FIELD OF THE INVENTION
The present invention provides a print processing apparatus that performs overlap determination in print data composed of a binary or multi-valued image, reduces the size of the print data by deleting overlapping portions, improves transfer speed, and speeds up printing. About.
[0002]
[Prior art]
Conventional techniques of this type include the techniques described in Patent Documents 1 to 3.
[0003]
According to Patent Document 1, a PDL code analysis unit creates a new PDL code by rearranging the drawing order based on an input page description language (PDL) code in reverse, and a binary image forming unit performs binary conversion according to the input PDL code. The color image forming unit draws the binary image in the image memory, and the color image forming unit forms the multi-valued color image in the color image memory only at the part where the flag is not set by this drawing, thereby reducing the drawing time of the multi-valued color image. It is stated that it is shortened.
[0004]
Patent Literature 2 discloses a technique for performing high-speed overlapping recognition of graphics without using graphic logic operation in a CAD system, cutting a slit at each vertex of the graphics A to find an intersection with the graphics B, The overlap determination is performed based on the positional relationship between the figure and each vertex of the figure A. If all the vertices are within the figure B, the figure A is determined to be included in the figure B. Describes that figure A does not overlap figure B, and in other cases it is determined that a part of two figures overlap.
[0005]
The invention described in Patent Document 3 relates to an apparatus and a method for extracting connected regions from a binary image and creating label image information, and economically outputs label image information to an image processing apparatus with a small storage capacity. It is an object of the present invention to provide an apparatus and a method capable of storing input binary image data, calculating a circumscribed rectangle of the connected component, labeling each circumscribed rectangle, and labeling each circumscribed rectangle. It is determined whether or not the rectangle overlaps with another, and a labeling process is performed on the circumscribed rectangle having the overlap to create a label image. Then, the operation of subdividing the label image based on the label is repeated until the number of labels contained inside becomes unity, and the coordinates of the circumscribed rectangle of each child at that time and the coordinates of the circumscribed rectangle of the parent are An attribute indicating whether or not the rectangle belongs to is obtained, and the binary image obtained, data including a non-overlapping circumscribed rectangle, a circumscribed rectangle of the parent and each child obtained by subdividing and an attribute thereof Is output to the image processing apparatus.
[0006]
Further, in the case where the drawing objects included in the print data are overlapped dozens of times (A, B, C, よ う) as shown in FIG. At the intermediate data stage, the overlap determination of the graphic data is performed so as not to affect the result, and the overlapping part of the data as shown in FIGS. X There are a number of patent documents that attempt to improve the printing speed by deleting (see Patent Documents 4 to 6).
[0007]
[Patent Document 1]
JP-A-5-266203
[Patent Document 2]
JP-A-5-282587
[Patent Document 3]
JP-A-8-55219
[Patent Document 4]
JP 2001-88367 A
[Patent Document 5]
JP 2001-103468 A
[Patent Document 6]
JP 2001-265548 A
[0008]
[Problems to be solved by the invention]
Normally, when printing an image, after receiving image data from, for example, MS-Windows (registered trademark) GDI or the like, the image data is converted into a page description language such as RPCS or PCL and transferred to a printer as a printing device. Printing is performed. In this process, various drawing objects may overlap with each other, and there may be a figure or a part of the figure that does not appear in the print result.
[0009]
Even in this case, since the drawing commands constituting the drawing objects that do not appear in the print result are transferred and converted into raster data, extra processing is performed.
[0010]
An object of the present invention is to eliminate the entire command or a part of a command that constitutes an object that is not drawn in print data when performing the above-described overlap determination of a drawing figure, without affecting a print result. An object of the present invention is to provide a print processing apparatus capable of shortening a printing time.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, according to the present invention, a binary or multivalued image is provided in one of a computer, a printing device, and a transfer path for transferring print data from the computer to the printing device. A control unit for making an overlap judgment of the composed print data and deleting an overlapping portion in the print data is provided. With this configuration, the overlap judgment is performed on the print data and the print result is not affected. By deleting the whole or a part of the drawing figure within the range, the print data size can be reduced, the transfer time can be shortened, and the time required for developing intermediate data into raster data can be shortened.
[0012]
According to a second aspect of the present invention, in the print processing apparatus according to the first aspect, the processing capability of the overlap determination processing unit provided in the computer, the printing apparatus, and the transfer path is determined, and the overlap determination that enables high-speed processing is performed. The processing unit performs the overlap determination. With this configuration, the performance of the host computer such as a personal computer (PC) and the hardware of the printing apparatus such as a printer is grasped, and the processing on the computer side is overwhelmingly performed. If the speed is higher, the overlap judgment is the cause of the delay in the entire printing process, such as performing all overlap judgments on the computer side, or if they are almost the same, making the same amount of overlap judgment. , The overlap determination can be performed at high speed.
[0013]
According to a third aspect of the present invention, in one of a computer, a printing device, and a transfer path for transferring print data from the computer to the printing device, an overlap of print data composed of a binary or multi-valued image. Control means for making the determinations be performed at the same time and deleting the overlapping portion in the print data is provided. With this configuration, the overlap determination is performed on any of the computer side, the printing apparatus side, and the transfer path of the print data. Therefore, even if the overlap determination does not operate for any reason for any reason, the overlap determination processing can be performed without any problem in the entire processing apparatus.
[0014]
According to a fourth aspect of the present invention, in the print processing apparatus according to the third aspect, processing is alternately allocated for each page, each band, and each command at each location where overlap determination can be performed simultaneously. With this configuration, the print data is managed in arbitrary units such as pages, bands, and commands. For example, the overlap determination is performed alternately between the computer side and the printing apparatus side. By performing the processing, it is possible to speed up the entire processing by performing the two processings at the same time.
[0015]
According to a fifth aspect of the present invention, in the print processing apparatus according to any one of the first to fourth aspects, the characteristics of the print data to be determined are determined, and classified according to the type of drawing command. Alternatively, the overlap determination is performed by a combination of different types, and by this configuration, by classifying the drawing commands in the print data, even if the overlap determination is performed, a command of a type that can hardly expect a great effect. In this case, the determination can be made not to be performed, and the overlap determination can be performed efficiently.
[0016]
According to a sixth aspect of the present invention, in the print processing apparatus according to any one of the first to fourth aspects, a command capable of determining a drawing command type of print data to be determined and realizing higher efficiency, or The feature is that only the combination of commands is determined to be overlapped. With this configuration, when it is desired to narrow down the processing range as much as possible, the determination is made only for the drawing commands that are particularly effective or only for the combination of the commands, thereby minimizing the effort. High effects can be obtained.
[0017]
According to a seventh aspect of the present invention, in the print processing apparatus according to any one of the first to fourth aspects, after the print data to be determined is converted into intermediate data, or during the conversion or before the conversion, The overlap determination is performed based on coordinates, two-dimensional coordinates, or coordinates in other dimensions. With this configuration, the overlap determination is performed not only after the conversion into the intermediate data but also before or after the conversion. Accordingly, it is possible to construct a processing system that can be adapted to print processing apparatuses of various specifications.
[0018]
According to an eighth aspect of the present invention, in the print processing apparatus according to any one of the first to fourth aspects, after the print data to be determined is converted into intermediate data, the intermediate data is arranged in a one-dimensional array. When stored, from the overlap determination that takes into account the drawing of the entire image to the overlap determination that takes into account only the command that is adjacent to the target drawing command, the processing time and the effect brought about by the overlap determination In view of this, the overlap determination is performed, and according to this configuration, when the intermediate data and the like are arranged one-dimensionally, when it is determined that the overlap of the objects is mostly limited to adjacent commands, By limiting the overlap determination to adjacent commands, efficient processing can be performed.
[0019]
According to a ninth aspect of the present invention, in the print processing apparatus according to any one of the first to eighth aspects, when the overlap determination of the drawing graphic is performed, the overlapping based on the circumscribed rectangle is performed not based on the outer shape itself of the drawing graphic. The feature is that the determination is performed. With this configuration, it is possible to suppress the time required for the determination by using a polygon or an ellipse as the approximation of the overlap of the objects and the circumscribed rectangle as an approximation.
[0020]
According to a tenth aspect of the present invention, when the print processing apparatus according to any one of the first to ninth aspects determines that the print data overlaps, when the overlapping part is deleted, the drawing content serving as the base is a plurality of parts. In the case where the drawing command is divided into two parts, a determination unit is provided for determining whether to process the drawing command in a divided manner or to perform the drawing processing on the overlapping part without deleting the overlapping part. Depending on the configuration, several types of results can be obtained by the overlap judgment. However, by coping with the case where the immediately preceding figure is divided into several figures, the transfer time and the time required for development are further reduced. Can be achieved.
[0021]
According to an eleventh aspect of the present invention, in the print processing apparatus according to the tenth aspect, the determination unit determines whether or not to delete the overlapping portion, an area that can be deleted, the processing capability of the processing unit that performs the overlap determination, and The feature is that the determination is made based on the size of the available memory area, and this configuration enables high-speed processing that matches the processing capacity.
[0022]
According to a twelfth aspect of the present invention, in the print processing apparatus according to the tenth aspect, when the drawing command is divided, the drawing command is divided into a spool area or a memory area other than the spool area, and a newly added drawing command is stored. The feature is that drawing is performed at the same timing as before the division, and this configuration makes it possible to judge the overlap at high speed without changing the drawing result by managing the divided figure in association with the other figure become.
[0023]
According to a thirteenth aspect of the present invention, in the print processing apparatus according to the tenth aspect, when a drawing command is divided, if a drawing result is expected to be different even if drawing is performed at the same timing as when not dividing, It is characterized in that the subsequent processing is not performed. With this configuration, it is possible to prevent the occurrence of a processing failure.
[0024]
According to a fourteenth aspect of the present invention, in the print processing apparatus according to the tenth aspect, a setting of a drawing state or the like in a drawing command newly created by division is set before the division and the setting of the drawing state or the like other than coordinate information. The feature is that the information setting process can be omitted, and this configuration makes it possible to perform the overlap judgment at high speed without changing the drawing result.
[0025]
BEST MODE FOR CARRYING OUT 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 describing an embodiment of the present invention. Reference numeral 1 denotes a printer provided with a printer controller 2 for executing printing, and reference numeral 3 denotes a printer driver. A personal computer (PC) 5, a server 6 and the like are installed, a transfer path for transferring print data from the printer driver 4 of the PC 3 to the printer controller 2 of the printer 1, and a processing 7 for performing overlap determination as described later. This is a processing distribution determining unit that performs processing distribution of each unit.
[0027]
FIG. 2 is a block diagram of the first embodiment for explaining the configuration of the printer driver 4 in the PC 3, wherein reference numeral 10 denotes an application software unit including various processing programs, 11 denotes a PDL language generation unit, and 12 denotes a figure (image). An overlap judging unit 13 and an immediately preceding graphic data memory 14 for storing immediately preceding graphic (image) data (graphic data processed before the currently processed graphic data), etc., and perform an overlap determining process of graphic data based on PDL language data. A PDL language output unit that receives data from the overlap processing unit 12 and directly outputs print data to the printer 1 or outputs the print data to the printer 1 via the transfer path 5; 4 is a CPU (Central Processing Unit) that controls each unit.
[0028]
FIG. 3 is a block diagram of the first embodiment showing the configuration of the overlap processing unit in the server 6 or the like of the transfer path 5. A CPU 20 controls each unit of the transfer path 5. A determination unit 22 and a graphic data memory 23 for storing the graphic data immediately before (the graphic data processed before the currently processed graphic data), and the like. Output to
[0029]
FIG. 4 is a block diagram of the first embodiment for explaining the configuration of the printer controller 2 of the printer 1, wherein 30 is an interprinter that receives print data via the PC 3 or the transfer path 5, and 31 is converted to intermediate data. An intermediate data memory 32 for storing the print data is composed of a graphic overlap determining section 33, a graphic data memory 34 for storing the graphic data immediately before, and the like, and an overlap processing for performing the graphic data overlap determination processing based on the intermediate data. And 35, a graphic drawing processing unit that receives data from the overlap processing unit 32 and performs graphic drawing data processing, 36 is a page memory that temporarily stores data from the graphic drawing processing unit 35, and 37 is each unit of the printer driver 4. (Central processing unit) 38 controls print data from the page memory 36 Only in a printer engine to execute printing.
[0030]
Next, an overlap determination operation in the overlap processing units 12, 21, 32 according to the first embodiment having the above configuration will be described.
[0031]
FIG. 5 is a flowchart relating to the overlap determination operation according to the first embodiment. In the overlap processing units 12, 21, and 32, when graphic drawing is continuously performed (N in S1), whether or not there is a previous graphic is determined. Is determined (S2), and if there is an immediately preceding image (Y in S2), it is determined from the current graphic data and the immediately preceding graphic data whether a graphic overlaps (S3). Division and coordinate change in the immediately preceding figure are executed based on the overlapping data of the figures (S4), and drawing data of the immediately preceding figure is output based on the figure data after the change (S5). The changed current graphic data is stored and stored in the previous graphic data memories 14, 23, and 34 as the previous graphic data (S6). When the processing of the graphic data is completed (Y in S1), if there is an immediately preceding image (Y in S7), the drawing data of the immediately preceding graphic is output based on the immediately preceding graphic data (S8).
[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 PC 3, the transfer path 5, and the printer 1, respectively. Processing is possible.
[0033]
FIG. 6 is a flowchart relating to the selection of the overlap processing unit for performing the overlap determination according to the first embodiment. If there is a designation by the user (Y in S11), the overlap determination processing unit is determined with priority (S12). When there is no designation by the user (N in S11), as shown in FIG. 1, the processing distribution determination unit 7 in the PC 3 performs processing based on information on the processing capabilities of the PC 3 and the printer 1 and the transfer speed of the transfer path 5 ( S13) It is determined which of the overlap processing units 12, 21, and 32 performs the overlap determination based on the configuration and processing capacity of the data to be printed (S14).
[0034]
For example, if the processing unit of the PC 3 is superior to other processing units by a certain degree or more, the transfer speed is lower than a certain value, and the processing unit of the printer 1 is lower than a certain performance as compared with other processing units. If it is determined, the PC 3 is instructed to perform the overlap determination. Also, the processing capacity of the PC 3 is lower than a certain performance and the transfer speed is higher than a certain value as compared with the other processing units. If the performance of the printer 1 is higher than a certain level, the processing unit of the printer 1 is instructed to perform the overlap determination.
[0035]
However, if it is difficult to determine all the performances, it is preferable that the processing is performed by the processing unit of the PC 3.
[0036]
When the processing unit for performing the overlap determination is determined in step (S14), print data composed of binary and multivalued graphic data is input (S15), and the processing is performed in the overlap processing unit 32 of the printer 1. (N in S16, S17). However, when the printer 1 is instructed to perform the overlap determination process, and the print data is created and the transfer is started, but the originally planned printer cannot be used for some reason (Y in S16). In this case, it is conceivable to allocate data to another printer in the transfer path 5. If the performance of the allocated printer is extremely low, the transfer speed is sufficient, and the processing capacity of the transfer path 5 is sufficient, the overlap determination is performed in the transfer path section (S18).
[0037]
As described above, in the first embodiment, the overlap determination is not limited to one place, and the overlap determination is performed at the most suitable place or the most suitable combination. If there is hardware or software that performs the overlap determination at the two locations, and if the performance of the PC 3 is extremely low and the performance of the printer 1 is relatively high, the overlap determination is performed by the printer 1 with extra capacity, and almost both of them are used. When the performances are equal, data can be efficiently allocated in units of pages, bands, or commands, and the overlap determination can be performed by both the overlap determination processing units 12 and 32.
[0038]
By performing such processing, the merit of performing the overlap determination can be obtained, and the processing can be completed most quickly.
[0039]
In addition, as shown in FIG. 7, there is a case where it is not necessary to determine the overlap of each of all the drawing commands depending on the print data. In such a case, it is limited to only the drawing commands that are particularly effective or a combination thereof. It is also possible to make an overlap determination. Similarly, if almost all consecutive commands do not overlap with each other without targeting the data of the entire page, the overlap is determined dynamically by using the judgment of the image analysis part so that the overlap judgment is performed only with the adjacent command. It is also possible to switch the judgment.
[0040]
Further, a determination process using a circumscribed rectangle is effective for performing the above-described image analysis at high speed. That is, the overlap determination is performed based on a circumscribed rectangle, not based on the outline of the drawn figure itself, and the overlap of the objects is reduced to a polygon or an ellipse by using the circumscribed rectangle as an approximation, thereby suppressing the time required for the determination. Can be. This determination processing unit may be installed before the overlap processing unit that actually performs the overlap determination, and once the determination is performed, if there is a plurality in the print processing apparatus, the subsequent determination is suppressed. Extra processing can be avoided.
[0041]
In the first embodiment, the overlap is determined only for the continuous graphic in the data. However, this is effective for data in which the drawing order is often continuous when the graphic overlaps. .
[0042]
Further, by performing the following overlap determination processing in the first embodiment, the determination processing can be effectively performed.
[0043]
In other words, the characteristics of the print data to be determined are determined, the drawing commands are classified for each type of drawing command, and the overlap determination is performed for the same type or a combination of different types, thereby classifying the drawing commands in the print data. Accordingly, it is possible to efficiently perform the overlap determination by not performing the determination for a command of a type that can hardly expect a great effect even if the overlap determination is performed.
[0044]
In addition, by judging the type of drawing command of the print data to be determined and determining only commands or combinations of commands that can achieve higher efficiency by overlapping, it is particularly effective to narrow down the processing range as much as possible. By determining only certain drawing commands or a combination of commands, a high effect can be obtained with minimum effort.
[0045]
In addition, after the print data to be determined is converted into intermediate data, or before or during the conversion, the overlap determination is performed based on one-dimensional coordinates, two-dimensional coordinates, or coordinates in other dimensions, so that the overlap determination is performed in an intermediate manner. By performing not only after conversion into data but also before or after conversion, it is possible to construct a processing system adaptable to print processing apparatuses of various specifications.
[0046]
In addition, after the print data to be determined is converted into intermediate data, if the intermediate data is stored in a one-dimensional array, the overlap determination in consideration of the rendering of the entire image is performed, and the target rendering command and Until the overlap judgment that considers only adjacent commands, the overlap judgment is performed in consideration of the processing time and the effect brought by the overlap judgment, so that when the intermediate data etc. are arranged in one dimension, the object overlaps However, in most cases, when it is determined that the command is limited to the adjacent command, the processing can be efficiently performed by limiting the overlap determination to the adjacent command.
[0047]
As described above, in the present embodiment, by performing the above-described overlap determination, unnecessary drawing can be omitted from the figure on the base side, and the printing speed can be improved 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 commands. When the divided drawing commands need to generate a new command itself and process it, there are cases where processing is easy and difficult depending on the portion where the overlap determination is performed.
[0049]
As described above, when there is a portion where it is easy to secure a memory area for command processing and a portion where processing is difficult, the load on the entire processing system is affected by dividing, and conversely, the printing speed is slow. In such a case, do not delete the overlapping part by the overlap judgment and execute the deletion processing if the command can be divided by the deletion processing and the printing speed can be improved. Is desirable.
[0050]
For example, in a printer having a spool area, if the coordinate data is compressed up to the spool stage, if the overlap determination is not performed after the compression is expanded, the compression process is performed again after the overlap determination and stored. And where the overlap determination is made has a significant effect on efficiency.
[0051]
In such a case, the compressed data is necessarily expanded by the time of drawing, so that the overlap determination may be performed thereafter. However, when it is necessary to perform division, a memory area other than the spool area is often required.
[0052]
A configuration addressing this will be described below as a second embodiment. In addition, since Embodiment 1 has the same basic configuration as Embodiment 2, in the following description, members corresponding to the members of Embodiment 1 described in FIGS. Omitted.
[0053]
FIG. 8 is a block diagram for explaining the configuration of the printer controller 2 of the printer 1 according to the second embodiment. As shown in FIG. 8, immediately before a plurality (two in FIG. A memory area including the graphic data memories 34a and 34b is provided. When the overlap processing section 32 makes a normal overlap determination, the previous graphic data is stored in one of the previous graphic data memories 34a and 34b, and the coordinate data of the graphic is corrected by the overlap determination. However, when the overlapping processing unit 32 determines that the drawing command on the background side is divided into a plurality of parts as a result of performing the overlap determination and deleting the overlapping part, if the division is two minutes, a part of the data is returned. Is stored in one of the preceding graphic data memories 34a and 34b, and the remaining data is stored in the other of the preceding graphic data memories 34a and 34b.
[0054]
One of the immediately preceding graphic data memories 34a and 34b has a configuration associated with the other, so that the drawing timing, the drawing state, the erasing timing, and the like are the same for both the immediately preceding graphic data memories 34a and 34b. Configure to be executed.
[0055]
When the above processing is performed by the printer driver 4 of the PC 2, a block diagram for explaining the configuration of the printer driver 4 in the PC 2 of the second embodiment shown in FIG. 9 is illustrated), and a memory area consisting of the graphic data memories 14a and 14b immediately before is provided, and the same processing as described above can be executed by the judgment by the overlap processing unit 12.
[0056]
As in the second embodiment, when it is determined whether the drawing command is divided and processed, or the overlapping part is drawn without deleting the overlapping part, whether to delete the overlapping part is determined. 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 preceding graphic data memories 14a, 14b, 34a, and 34b.
[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, if it is expected that the drawing result will be different even if the drawing is performed at the same timing as when the drawing command is not divided, it is desirable not to perform the subsequent processing.
[0059]
Furthermore, the setting of the drawing state and the like in the drawing command newly created by the division is assumed to be before the division, and the processing for setting the information such as the drawing state other than the coordinate information can be omitted, thereby shortening the processing time. 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 the whole or a part of the drawing figure within a range that does not affect the print result by performing the overlap determination on the print data. Accordingly, it is possible to reduce the transfer time and the time required for developing intermediate data into raster data.
[0061]
In addition, since the overlap determination can be performed on any of the computer side, the printing apparatus side, and the print data transfer path, even if the overlap determination does not operate for any reason for any reason, there is no problem in the entire processing apparatus. An overlap determination process can be performed.
[0062]
In addition, although several types of results can be obtained by the overlap determination, when the drawing content to be the base is divided into a plurality of parts, the drawing command is divided and processed, or the overlapping part is not deleted. In addition, by making it possible to determine whether to draw the overlapping part as it is, it is possible to cope with the case where the immediately preceding figure is divided into several parts, and to further shorten the transfer time and develop the image. Such time can be reduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an overall configuration of a print processing apparatus for describing an embodiment of the present invention.
FIG. 2 is a block diagram illustrating 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 illustrating a configuration of a printer controller in the printer according to the first embodiment.
FIG. 5 is a flowchart illustrating an overlap determination operation according to the first embodiment.
FIG. 6 is a flowchart relating to selection of an overlap processing unit that performs overlap determination according to the first embodiment.
FIG. 7 is an explanatory diagram illustrating an example of an overlapping state in print data.
FIG. 8 is a block diagram illustrating a configuration of a printer controller 2 of a printer 1 according to a second embodiment.
FIG. 9 is a block diagram illustrating a configuration of a printer driver 4 in the PC 2 according to the second embodiment.
FIG. 10 is an explanatory diagram of a state where drawing objects overlap in print data.
FIG. 11 is an explanatory diagram of overlapping portion deletion 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 distribution decision unit
10 Application Software Department
11 PDL language generator
12, 21, 32 overlap processing unit
13,22,33 Figure overlap judgment unit
14, 14a, 14b, 23, 34, 34a, 34b Previous graphic data memory
15 PDL language output unit
16, 20, 37 CPU (central processing unit)
30 interpreter
31 Intermediate data memory
35 figure drawing processor
36 page memory
38 Printer Engine

Claims (14)

コンピュータと、印刷装置と、前記コンピュータから前記印刷装置に印刷データを転送する転送経路とのいずれかにおいて、2値または多値画像で構成される印刷データの重なり判定を行わせ、該印刷データにおける重複部分を削除する制御手段を備えたことを特徴とする印刷処理装置。In any one of a computer, a printing device, and a transfer path for transferring print data from the computer to the printing device, an overlap determination of print data composed of a binary or multi-valued image is performed. A print processing apparatus comprising a control unit for deleting an overlapping part. 前記コンピュータと前記印刷装置と前記転送経路とに設けられた重なり判定処理部における処理能力を判断して、高速処理が可能な重なり判定処理部により重なり判定を行わせることを特徴とする請求項1記載の印刷処理装置。2. An overlap determination processing unit capable of performing high-speed processing is determined by determining a processing capability of an overlap determination processing unit provided in the computer, the printing device, and the transfer path. The print processing apparatus according to the above. コンピュータと、印刷装置と、前記コンピュータから前記印刷装置に印刷データを転送する転送経路とのいずれかにおいて、2値または多値画像で構成される印刷データの重なり判定を同時に行わせ、該印刷データにおける重複部分を削除する制御手段を備えたことを特徴とする印刷処理装置。Causing the print data composed of a binary or multi-valued image to be simultaneously determined in any one of a computer, a printing device, and a transfer path for transferring print data from the computer to the printing device; A print processing device comprising a control unit for deleting an overlapping portion in the print processing. 同時に重なり判定を行うことが可能なそれぞれの箇所で、ページ単位毎、バンド単位毎、コマンド単位毎に交互に処理を割り振り、重なり判定を行うことを可能にしたことを特徴とする請求項3記載の印刷処理装置。4. The method according to claim 3, wherein processing is alternately assigned for each page, for each band, and for each command at each of the locations where overlap determination can be performed at the same time, thereby enabling overlap determination. Print processing device. 判定対象となる印刷データの特徴を判定し、描画コマンド種類毎に分類して、同種類同士または異なった種類の組み合わせで重なり判定を行うことを特徴とする請求項1〜4いずれか1項に記載の印刷処理装置。The method according to claim 1, wherein a feature of the print data to be determined is determined, the print data is classified for each type of drawing command, and the overlap determination is performed by the same type or a combination of different types. The print processing apparatus according to the above. 判定対象となる印刷データの描画コマンド種類を判別し、高効率化を実現できるコマンド、またはコマンドの組み合わせのみを重なり判定することを特徴とする請求項1〜4いずれか1項に記載の印刷処理装置。The print processing according to claim 1, wherein a type of a drawing command of print data to be determined is determined, and only a command or a combination of commands capable of realizing high efficiency is determined to overlap. apparatus. 判定対象となる印刷データを中間データに変換した後、もしくは変換中か変換前に、1次元座標、2次元座標もしくはそれ以外の次元の座標による重なり判定を行うことを特徴とする請求項1〜4いずれか1項に記載の印刷処理装置。The method according to claim 1, wherein after the print data to be determined is converted into intermediate data, or before or during the conversion, the overlap determination is performed based on one-dimensional coordinates, two-dimensional coordinates, or other dimensional coordinates. 4. The print processing device according to any one of 4. 判定対象となる印刷データを中間データに変換した後、中間データが一次元の並びとなっている場合に、画像全体の描画を考慮した重なり判定から、対象となる描画コマンドと隣接しているコマンドのみを考慮する重なり判定まで、処理にかかる時間と重なり判定によってもたらされる効果とを鑑みて重なり判定を行うことを特徴とする請求項1〜4いずれか1項に記載の印刷処理装置。After the print data to be determined is converted to intermediate data, if the intermediate data is arranged in a one-dimensional array, a command adjacent to the target drawing command is determined based on overlap determination in consideration of drawing of the entire image. The print processing apparatus according to any one of claims 1 to 4, wherein the overlap determination is performed in consideration of a time required for processing and an effect brought by the overlap determination until the overlap determination considering only the overlap determination. 描画図形の重なり判定を行う際に、描画図形の外形そのものに基づかず外接矩形に基づいて重なり判定を行うことを特徴とする請求項1〜8いずれか1項に記載の印刷処理装置。The print processing apparatus according to any one of claims 1 to 8, wherein the overlap determination of the drawing figures is performed based on a circumscribed rectangle, not based on the outline of the drawing figure itself. 請求項1〜9いずれか1項記載の印刷処理装置における印刷データの重なり判定の結果、重複部分が削除されるときに、下地になる描画内容が複数の部分に分割されるような場合に、描画コマンドを分割して処理するか、あるいは重複部分を削除せずに、そのまま重複部分を描画処理するかを判定する判定手段を備えたことを特徴とする印刷処理装置。The print processing apparatus according to any one of claims 1 to 9, wherein, as a result of the overlap determination of the print data, when the overlapping part is deleted, the drawing content to be a base is divided into a plurality of parts. A print processing apparatus comprising: a determination unit configured to determine whether to process a drawing command by dividing it or to perform a drawing process on an overlapping portion without deleting the overlapping portion. 前記判定手段において、重複部分を削除するか否かを、削除可能な面積と、重なり判定を行う処理手段の処理能力と、利用可能なメモリ領域の大きさとに基づいて判定することを特徴とする請求項10記載の印刷処理装置。In the determination means, whether or not to delete the overlapping portion is determined based on the area that can be deleted, the processing capability of the processing means for performing the overlap determination, and the size of the available memory area. The print processing apparatus according to claim 10. 描画コマンドを分割する場合に、スプール領域あるいはスプール領域以外のメモリ領域に分割して、新たに追加した描画コマンドを格納し、分割される前と同じタイミングで描画することを特徴とする請求項10記載の印刷処理装置。11. The method according to claim 10, wherein when the drawing command is divided, the drawing command is divided into a spool area or a memory area other than the spool area, a newly added drawing command is stored, and drawing is performed at the same timing as before the division. The print processing apparatus according to the above. 描画コマンドを分割した場合、分割しない場合と同じタイミングで描画しても描画結果が異なることが予想される場合には、その後の処理を行わないようにしたことを特徴とする請求項10記載の印刷処理装置。11. The method according to claim 10, wherein when the drawing command is divided, if the drawing result is expected to be different even when the drawing is performed at the same timing as when the drawing command is not divided, the subsequent processing is not performed. Print processing device. 分割によって新たに作られた描画コマンドにおける描画状態などの設定は分割前のものとして、座標情報以外の前記描画状態などの情報の設定処理を省略可能にしたことを特徴とする請求項10記載の印刷処理装置。11. The setting of a drawing command or the like in a drawing command newly created by the division is set before the division, and setting processing of information such as the drawing state other than the coordinate information can be omitted. Print processing device.
JP2003140384A 2002-12-25 2003-05-19 Print processing device Expired - Fee Related JP4145714B2 (en)

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 true JP2004252929A (en) 2004-09-09
JP4145714B2 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008026946A (en) * 2006-07-18 2008-02-07 Fuji Xerox Co Ltd Print server, print server program and print server method
CN110764719A (en) * 2018-07-25 2020-02-07 富士施乐株式会社 Print management apparatus and computer-readable medium
CN110874520A (en) * 2018-09-03 2020-03-10 珠海金山办公软件有限公司 Method and device for removing overlapped path and terminal equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008026946A (en) * 2006-07-18 2008-02-07 Fuji Xerox Co Ltd Print server, print server program and print server method
JP4710743B2 (en) * 2006-07-18 2011-06-29 富士ゼロックス株式会社 Print server, print server program
CN110764719A (en) * 2018-07-25 2020-02-07 富士施乐株式会社 Print management apparatus and computer-readable medium
CN110874520A (en) * 2018-09-03 2020-03-10 珠海金山办公软件有限公司 Method and device for removing overlapped path and terminal equipment
CN110874520B (en) * 2018-09-03 2024-01-30 珠海金山办公软件有限公司 Method and device for removing overlapped paths and terminal equipment

Also Published As

Publication number Publication date
JP4145714B2 (en) 2008-09-03

Similar Documents

Publication Publication Date Title
US7436531B2 (en) Systems and methods for using multiple processors for imaging
JP4614389B2 (en) Image forming apparatus, printing apparatus, display apparatus, drawing processing method, and program
JP5655392B2 (en) Print image processing apparatus and program
JP5051327B1 (en) Image processing apparatus and program
JPH11147335A (en) Plot process apparatus
JPH11327846A (en) Printing controller, printing data generating device, printing control method, printing data generating method and storage medium
JP4222401B2 (en) Rasterizing apparatus, program and method
JP6135329B2 (en) Print data processing apparatus, program, and system
JP4145714B2 (en) Print processing device
JPH1131052A (en) Document processing system
US7170628B2 (en) Efficient processing of images in printers
JP4406364B2 (en) Apparatus and method for processing variable print documents
JP3871011B2 (en) Information processing apparatus and information processing method
JP3885282B2 (en) Print data processing apparatus and print data processing method
JP2004030386A (en) Image processing method and image processor
EP2293180B1 (en) PDL data processing device and PDL data creating device
JP2000255116A (en) Apparatus for processing printing and method for processing printing
JPH10151815A (en) Printing-processing apparatus
JP4325339B2 (en) Printing system, host computer and printer driver
JP2006155307A (en) Image processing system performing load distributed processing
JP2006079475A (en) Print processing system, program and recording medium
JP2006031160A (en) Graphic object processing method
JP2000255121A (en) Printing processing apparatus and method
JP2003050683A (en) Image processor and image processing method its program and storage medium
JPH1110961A (en) Print processor and printing method

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