JP4390141B2 - Print processing system - Google Patents

Print processing system Download PDF

Info

Publication number
JP4390141B2
JP4390141B2 JP2004185626A JP2004185626A JP4390141B2 JP 4390141 B2 JP4390141 B2 JP 4390141B2 JP 2004185626 A JP2004185626 A JP 2004185626A JP 2004185626 A JP2004185626 A JP 2004185626A JP 4390141 B2 JP4390141 B2 JP 4390141B2
Authority
JP
Japan
Prior art keywords
overlap
overlap determination
ellipse
processing system
print processing
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
Application number
JP2004185626A
Other languages
Japanese (ja)
Other versions
JP2006011664A (en
Inventor
美貴也 市川
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 JP2004185626A priority Critical patent/JP4390141B2/en
Publication of JP2006011664A publication Critical patent/JP2006011664A/en
Application granted granted Critical
Publication of JP4390141B2 publication Critical patent/JP4390141B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷処理の高速化が可能な印刷処理システムに関する。   The present invention relates to a print processing system capable of speeding up print processing.

画像の電子データに基づいて印刷を行う技術では、印刷処理速度が速いことが求められており、この要求に対応しようとする装置が提案されている(例えば、特許文献1参照)。この装置では、バンドをさらにサブバンドに分割して小メモリ化、高速化を図っている。
また、重なり判定処理もコマンド単位で、コマンドの描画範囲の一部を削除するといった方法も考えられる。画像を印刷する際、画像データを例えばMS−Windows(登録商標)のGDIなどから受け取った後RPCS、PCLなどページ記述言語に変換してプリンタへ転送、印刷を行うが、この過程では様々な描画オブジェクトが重なる可能性があり、印刷結果に現れない図形や図形の部分も存在することがある。この場合でも、印刷結果に現れない描画オブジェクトを構成する描画コマンドは、転送され、ラスターデータに変換されるため、余分な処理を行っていることになる。
特開2001−249774公報(第3頁、図1)
A technique for performing printing based on electronic data of an image is required to have a high print processing speed, and an apparatus that meets this requirement has been proposed (for example, see Patent Document 1). In this apparatus, the band is further divided into subbands to reduce the memory and increase the speed.
In addition, a method of deleting a part of the command drawing range for each command in the overlap determination process is also conceivable. When printing an image, the image data is received from, for example, GDI of MS-Windows (registered trademark), then converted to a page description language such as RPCS or PCL, transferred to the printer, and printed. Objects may overlap, and there may be graphics and graphic parts that do not appear in the print result. 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.
JP 2001-249774 A (page 3, FIG. 1)

上述のような描画されないオブジェクトを構成するコマンド全体もしくはコマンドの一部を削除することで印刷結果に影響を与えることなく印刷時間の短縮を図ることが考えられるが、楕円図形が中心に向かって色が変化していくような場合には、有効な重なり判定及び削除処理後に削除前よりも複雑な図形が残ることが多く、描画面積を削減しても図形の複雑さによってラスターデータへの展開に時間がかかったり、システム内部での必要メモリが多くなるなどで、効果的な高速化が図れないことがある。
そこで、本発明は、上述した実情を考慮してなされたもので、形状はほぼ同じだが大きさが異なり、描画図形の中心もほぼ同じ楕円描画コマンドが連続して送られてきた場合に、そのままでは判定が複雑で判定処理を行うことが困難であるような場合でも、重なり判定が短時間で行える印刷処理システムを提供することを目的とする。
It may be possible to shorten the printing time without affecting the print result by deleting all or part of the commands that make up the non-drawn object as described above. In many cases, complex figures remain after the effective overlap determination and deletion processing, and even if the drawing area is reduced, the complexity of the figure can be used to develop raster data. It may take some time or increase the required memory in the system, so effective speedup may not be achieved.
Therefore, the present invention has been made in consideration of the above-described circumstances, and when the ellipse drawing commands are sent in succession, the shapes are almost the same but the sizes are different, and the centers of the drawing figures are almost the same. Accordingly, an object of the present invention is to provide a print processing system that can perform overlap determination in a short time even when determination is complicated and it is difficult to perform determination processing.

上記の課題を解決するために、請求項1に記載の発明は、連続した楕円描画コマンドの楕円を分割して重なり判定を行う重なり判定手段が、プリンタドライバ又はプリンタに設けられた印刷処理システムであって、重なり判定手段は、中心に向かって縮小しつつ重なる楕円を長軸もしくは短軸に直角な直線で分割し、一度分割された図形をさらに元の楕円の中心を通る直線で分割して図形同士の重なり判定を行うことを特徴とする。
請求項2に記載の発明は、請求項1記載された印刷処理システムにおいて、前記重なり判定手段は、楕円を分割する直線を選ぶ際に、描画単位の1ラインもしくは数ライン毎に分割することを特徴とする。
請求項3に記載の発明は、請求項1又は記載された印刷処理システムにおいて、前記重なり判定手段は、重なり判定処理後の図形をScanlineデータ形式に変換して後の処理を行うことを特徴とする。
請求項4に記載の発明は、請求項3記載された印刷処理システムにおいて、前記重なり判定手段は、処理速度が向上しないと判断されるのであれば、Scanlineデータ形式に変換せずに弧のまま処理を行うことを特徴とする。
請求項5に記載の発明は、請求項1ないし4のいずれかに記載された印刷処理システムにおいて、前記重なり判定手段がプリンタドライバとプリンタに設けられ、重なり判定処理のうち、楕円描画コマンド分割処理と重なり判定処理をプリンタドライバ側、プリンタ側のそれぞれに分けて処理することが可能なことを特徴とする
In order to solve the above problems, the invention according to claim 1, the determination unit overlap performs overlap determination by dividing the ellipse consecutive ellipse drawing command, the print processing system provided in the printer driver or printer The overlap determining means divides the overlapping ellipses while reducing toward the center by a straight line perpendicular to the major axis or minor axis, and further divides the figure once divided by a straight line passing through the center of the original ellipse. It is characterized in that overlapping judgment between figures is performed .
Invention according to claim 2, in the print processing system according to claim 1, wherein the overlap determining means, when choosing a straight line dividing the ellipse, dividing one line or every few lines of the drawing unit It is characterized by.
According to a third aspect of the present invention, in the print processing system according to the first or second aspect , the overlap determination unit converts the figure after the overlap determination process into a Scanline data format and performs subsequent processing. Features.
According to a fourth aspect of the present invention, in the print processing system according to the third aspect , if the overlap determining means determines that the processing speed is not improved , the overlap is not converted to the scanline data format. The processing is performed as it is.
According to a fifth aspect of the present invention, in the print processing system according to any one of the first to fourth aspects, the overlap determining means is provided in a printer driver and a printer, and the ellipse drawing command dividing process is included in the overlap determining process. The overlap determination process can be performed separately on the printer driver side and the printer side .

本発明によれば、形状はほぼ同じだが大きさが異なり、描画図形の中心もほぼ同じ楕円描画コマンドが連続して送られてきた場合に、楕円描画コマンドをそのまま重なり判定するのではなくて、いくつかに分割してより簡単な条件で重なり判定を行うことで、そのままでは判定が複雑で判定処理が不可能か行えても処理時間がかかるような場合でも、重なり判定を短時間で行うことができる。また負荷分散処理を行うことでシステム全体として高速に処理を行うことが可能となる。 According to the present invention, in the case where ellipse drawing commands having substantially the same shape but different sizes and substantially the same center of the drawing figure are continuously sent, the ellipse drawing commands are not directly determined to overlap, By performing overlap determination under simpler conditions by dividing it into several parts, it is possible to perform overlap determination in a short time even if the determination is complicated as it is and determination processing is impossible or takes processing time Can do. Further , by performing load distribution processing, the entire system can be processed at high speed.

以下、図面を参照して、本発明を実施するための最良の形態である印刷処理システムについて詳細に説明する。
[第1の実施の形態]
以下、本発明の第1の実施の形態に係る印刷システムについて説明するが、その前に基本的な印刷システムについて説明する。
図1は、重なり判定処理をプリンタ側で行う場合の基本的な印刷システムの構成を示したブロック図、図2は重なり判定処理をドライバ側で行う場合の基本的な印刷システムの構成を示したブロック図である。
なお、基本的には重なり判定処理では、重なり判定で扱った図形はそのまま削除処理の対象となる。
図1に示す印刷システムは、ホストPC1、プリンタコントローラ2、プリンタエンジン4で構成される。プリンタコントローラ2は、図形重なり判定部11と直前図形データメモリ21を備えた図形重なり処理部3、インタープリタ10、中間データメモリ20、図形描画処理部12、CPU14、ページメモリ23を備えて構成される。
図2に示す印刷システムは、アプリケーション1a、プリンタドライバ2a、印刷装置3aで構成される。プリンタドライバ2aは、図形重なり判定部11と直前図形データメモリ21を備えた図形重なり処理部3、PDL言語生成部10a、PDL言語出力部12a、CPU14を備えて構成される。
Hereinafter, a print processing system that is the best mode for carrying out the present invention will be described in detail with reference to the drawings.
[First Embodiment]
The printing system according to the first embodiment of the present invention will be described below, but before that, the basic printing system will be described.
FIG. 1 is a block diagram showing a basic printing system configuration when the overlap determination processing is performed on the printer side, and FIG. 2 shows a basic printing system configuration when the overlap determination processing is performed on the driver side. It is a block diagram.
Basically, in the overlap determination process, the graphic handled in the overlap determination is directly subjected to the deletion process.
The printing system shown in FIG. 1 includes a host PC 1, a printer controller 2, and a printer engine 4. The printer controller 2 includes a graphic overlap processing unit 3 including a graphic overlap determination unit 11 and a previous graphic data memory 21, an interpreter 10, an intermediate data memory 20, a graphic drawing processing unit 12, a CPU 14, and a page memory 23. .
The printing system shown in FIG. 2 includes an application 1a, a printer driver 2a, and a printing apparatus 3a. The printer driver 2a includes a graphic overlap determining unit 11 and a graphic overlap processing unit 3 including a previous graphic data memory 21, a PDL language generating unit 10a, a PDL language output unit 12a, and a CPU.

図3は、図1、図2に示したような構成の印刷システムにおいて行われる基本的な重なり判定及び削除処理の基本的な動作を示すフローチャートである。
この場合、図3に示すように、ステップS0で図形終了かどうかをチェックし、終了であればステップS7へ進み、直前に図形があるかどうかを確認し、図形があればステップS8へ進み、その後、処理を終了する。ステップS7で図形がなければ処理を終了する。ステップS0において終了でないと判断すればステップS1へ進み、重なり判定対象図形であるかどうかを確認し、重なり判定対象図形でなければ、ステップS9へ進んで直前に図形があるかを確認し、直前に図形があればステップS10へ進んで直前図形描画を行い、ステップS11へ進む。ステップS9での確認で直前に図形がないと判断したときはステップS11へ進み、現図形描画処理を行った後、処理を終了する。
また、ステップS1において、重なり判定対象図形であると判別したときは、ステップS2に進み、直前の図形も重なり判定対象図形であったかどうかの判別を行う。そして、直前の図形も重なり判定対象図形であった場合、ステップS3に進み、図形の重なりがあるかどうかの判別を行い、重なりありと判別した場合にはステップS4に進み、直前図形の重複部分を削除した後、ステップS5に進んで直前図形描画を行う。そして続くステップS6において現在の図形を直前図形データメモリに保存して処理を終えることになる。
一方、ステップS2において、直前の図形が重なり判定対象図形でないと判別した場合は、ステップS6にスキップして、現在の図形を直前図形データメモリに保存して処理を終えることになる。またステップS3において図形の重なりがないと判別した場合は、ステップS5に進み、直前図形描画を行い、続くステップS6において現在の図形を直前図形データメモリに保存して処理を終えることになる。
FIG. 3 is a flowchart showing the basic operation of basic overlap determination and deletion processing performed in the printing system having the configuration shown in FIGS.
In this case, as shown in FIG. 3, it is checked in step S0 whether or not the figure is finished. If finished, the process proceeds to step S7, whether or not there is a figure immediately before, and if there is a figure, proceeds to step S8. Thereafter, the process ends. If there is no figure in step S7, the process ends. If it is determined in step S0 that the process is not finished, the process proceeds to step S1 to check whether the figure is an overlap determination target graphic. If it is not the overlap determination target graphic, the process proceeds to step S9 to check whether there is a graphic immediately before. If there is a figure in step S10, the process proceeds to step S10 to draw the previous figure, and the process proceeds to step S11. If it is determined in step S9 that there is no figure immediately before, the process proceeds to step S11, the current figure drawing process is performed, and the process is terminated.
If it is determined in step S1 that the figure is an overlap determination target graphic, the process proceeds to step S2, and it is determined whether the immediately preceding graphic is also an overlap determination target graphic. If the immediately preceding graphic is also an overlap determination target graphic, the process proceeds to step S3, where it is determined whether there is an overlapping of the graphic. If it is determined that there is an overlapping, the process proceeds to step S4, where the overlapping part of the previous graphic is determined. Then, the process proceeds to step S5 to perform the previous graphic drawing. In the subsequent step S6, the current graphic is stored in the previous graphic data memory, and the process is completed.
On the other hand, if it is determined in step S2 that the immediately preceding graphic is not an overlap determination target graphic, the process skips to step S6, stores the current graphic in the previous graphic data memory, and ends the process. If it is determined in step S3 that there is no overlapping of figures, the process proceeds to step S5, where the immediately preceding figure is drawn, and in the subsequent step S6, the current figure is stored in the immediately preceding figure data memory, and the process ends.

ところで、上記図3に示したような基本的な重なり判定及び削除処理では、例えば図4に示すような円(楕円)の中心に向かって色が変化していくようなグラデーションが、印刷データ内において大きな楕円に、色が少し変化して大きさも少し小さくなった楕円が重なり、さらにこのような描画コマンドが重なる場合、ステップS4に示した削除処理そのものも複雑になるだけでなく、下地側で描画するために残った図形が、枠のような少しの幅を持った楕円になる。
プリンタ言語においてこの幅を持った楕円を表現するコマンドを持っていなければ、重なり判定を行った後の図形を表現するのに複数のコマンドを組み合わせなければならなくなる。そのため、重複部分削除後の図形を描画コマンドもしくは中間データ形式で保持するような印刷システムでは、削除後のデータが複雑になってしまい(図5参照)、データの保持とラスターイメージへの展開にメモリや時間がかかり、せっかく描画面積を削減しても理想的な高速化が図れないことにもなりかねない。
そこで、例えば円の中心をとおる水平線と垂直線で図形を分割して削除処理を行うと、削除後のポリゴン図形は比較的簡単な弧の集合に置き換えることができる(図6)。
以下、第1の実施の形態に係る印刷システムのハードウェア構成について説明する。
図7は、重なり判定処理をプリンタ側で行う場合の印刷システムの構成を示したブロック図、図8は重なり判定処理をドライバ側で行う場合の印刷システムの構成を示したブロック図である。
図7に示す本実施の形態の印刷システムは、主要部がホストPC1、プリンタコントローラ2bで構成され、プリンタコントローラ2bは図形重なり判定11と直前図形データメモリ21を備えた図形重なり処理部3b、インタープリタ10、中間データメモリ20、図形描画処理12、CPU14、ページメモリ23、プリンタエンジン4で構成される。
また図8に示す本実施の形態の印刷システムは、主要部がアプリケーション1a、プリンタドライバ2cで構成され、プリンタドライバ2cは図形重なり判定11と直前図形データメモリ21と重複部分削除処理15aと図形分割処理16aを備えた図形重なり処理部3c、PDL言語生成部10a、PDL言語出力部12a、CPU14、印刷装置3aで構成される。
By the way, in the basic overlap determination and deletion process as shown in FIG. 3, for example, a gradation in which the color changes toward the center of a circle (ellipse) as shown in FIG. If the ellipse whose color is slightly changed and the size is slightly overlapped with the large ellipse in FIG. 4 and such drawing commands overlap, the deletion process itself shown in step S4 is not only complicated, but also on the ground side. The figure remaining for drawing becomes an ellipse with a little width like a frame.
If the printer language does not have a command for representing an ellipse having this width, a plurality of commands must be combined to represent the figure after the overlap determination. For this reason, in a printing system in which the graphic after deletion of the overlapping portion is held in a drawing command or an intermediate data format, the data after deletion becomes complicated (see FIG. 5), and the data is held and developed into a raster image. Memory and time are required, and even if the drawing area is reduced, it may not be possible to achieve an ideal speedup.
Therefore, for example, if a graphic is divided by a horizontal line and a vertical line passing through the center of a circle and the deletion process is performed, the deleted polygon graphic can be replaced with a relatively simple set of arcs (FIG. 6).
Hereinafter, the hardware configuration of the printing system according to the first embodiment will be described.
FIG. 7 is a block diagram illustrating a configuration of a printing system when the overlap determination process is performed on the printer side, and FIG. 8 is a block diagram illustrating a configuration of the printing system when the overlap determination process is performed on the driver side.
The printing system according to the present embodiment shown in FIG. 7 includes a host PC 1 and a printer controller 2b as main parts. The printer controller 2b includes a graphic overlap processing unit 3b including a graphic overlap determination 11 and a previous graphic data memory 21, an interpreter. 10, an intermediate data memory 20, a graphic drawing process 12, a CPU 14, a page memory 23, and a printer engine 4.
The printing system according to the present embodiment shown in FIG. 8 is mainly composed of an application 1a and a printer driver 2c. The printer driver 2c has a graphic overlap determination 11, a previous graphic data memory 21, an overlapping part deletion process 15a, and a graphic division. The figure overlap processing unit 3c including the processing 16a, the PDL language generation unit 10a, the PDL language output unit 12a, the CPU 14, and the printing apparatus 3a are included.

次に、本実施の形態に係る印刷システムの図形重なり処理部の処理動作を、図9を参照して説明する。なお、基本的な処理動作は上記図3に示した処理動作を同じとされるので、ここでは特徴的な処理動作である図3のステップS4の削除処理部分を詳細に説明する。
図9に示すように、ステップS21で中心に向かって縮小しつつ重なっているかどうかを確認し、重なっていないと判断すればステップS22へ進んで通常の削除処理を行い、ステップS28へ移る。ステップS21で中心に向かって縮小しつつ重なっていると判断すれば、ステップS23へ進んで、楕円の軸が垂直かどうかを判断し、垂直でないと判断すればステップS24へ進んで楕円の長軸短軸で分割してその後ステップS25で分割されたそれぞれで削除処理を行い、ステップS17へ移る。
ステップS23で垂直であると判断すればステップS26に進んで移って中心を通る垂直線、水平線で分割する処理を行う。そして、ステップS27へ移って分割されたそれぞれで削除処理を行い、ステップS28へ移る。ステップS28では、弧のデータとして扱われていることを確認し、ステップS29へ移ってScanlineデータ形式の方が速く処理できることを確認し、ステップS30でScanlineデータ形式に変換して処理を終えることになる。
このようにすれば、重なり判定には元々の楕円図形を用いるために、より多くの情報を保ったまま正確に判定が行え、削除処理とその後の描画では比較的簡単な弧を扱うために、省メモリ、高速化が実現できる。特に削除処理に必要な計算量が大幅に削減できる。また、データ転送速度が速くメモリ領域に余裕がある時には、ここでScanlineデータ形式に変換してしまうことで、さらに高速化が見込める。
Next, the processing operation of the graphic overlap processing unit of the printing system according to the present embodiment will be described with reference to FIG. Since the basic processing operation is the same as the processing operation shown in FIG. 3, the deletion processing portion in step S4 of FIG. 3 which is a characteristic processing operation will be described in detail here.
As shown in FIG. 9, in step S21, it is confirmed whether or not they overlap while being reduced toward the center. If it is determined that they do not overlap, the process proceeds to step S22 to perform a normal deletion process, and the process proceeds to step S28. If it is determined in step S21 that they are overlapped while being reduced toward the center, the process proceeds to step S23, where it is determined whether the axis of the ellipse is vertical or not. A deletion process is performed for each of the short axes and then the division in step S25, and the process proceeds to step S17.
If it is determined in step S23 that the image is vertical, the process proceeds to step S26 to perform a process of dividing by a vertical line and horizontal line passing through the center. Then, the process proceeds to step S27, the deletion process is performed for each divided, and the process proceeds to step S28. In step S28, it is confirmed that the data is handled as arc data, the process proceeds to step S29, where it is confirmed that the scanline data format can be processed faster, and in step S30, the scanline data format is converted to finish the processing. Become.
In this way, since the original oval figure is used for overlap determination, accurate determination can be made while maintaining more information, and in order to handle a relatively simple arc in the deletion process and subsequent drawing, Memory saving and high speed can be realized. In particular, the amount of calculation required for the deletion process can be greatly reduced. Further, when the data transfer speed is high and the memory area has a margin, it is possible to further increase the speed by converting to the Scanline data format here.

このように、第1の実施の形態に係る印刷処理システムでは、形状はほぼ同じだが大きさが異なり、描画図形の中心もほぼ同じ楕円描画コマンドが連続して送られてきた場合に、楕円描画コマンドをそのまま重なり判定するのではなくて、いくつかに分割してより簡単な条件で重なり判定を行うことで、そのままでは判定が複雑で判定処理が不可能か行えても処理時間がかかるような場合でも、重なり判定を短時間で行うことができる。基本的な重なり判定だけでは、中心に向かうようなグラデーションを効果的に高速化できないことがあったが、本手法を取り入れることにより十分な高速化を見込める。
なお、重なり判定は、連続した同種、同条件、同属性で、重複部分を削除しても描画結果に影響が無く、座標のみが違う描画コマンド同士に限定して行うことで、重なり判定処理が高速に行うことができる。
また、楕円描画コマンドを印刷の水平方向に分割することで、おおよそ台形に近い形状同士の重なり判定を行うことで簡易的な重なり判定を行うことが可能である。さらに台形に近い図形の中心を垂直に通る直線で分割することで、二つの直角が重複するより簡易な重なり判定を行うことが可能である。
また、長軸もしくは短軸に直角な直線で楕円を分割することで、元の図形をより簡易な形状にして重なり判定を行うことも可能である。
また、楕円を分割する直線を選ぶ際に、描画単位の1ラインもしくは数ライン毎に分割して重なり判定を行う、あるいは一度分割された図形をさらに元の楕円の中心を通る直線で分割することで、より簡易な図形同士の重なり判定を行うことも可能である。
また、垂直方向にも分割が行われた図形同士の重なり判定においては、元の楕円での中心側はずれることが無いことを考慮し、外側の違いのみを判別することで処理の単純化および高速化を図ることができる。
また、重なり判定処理後の図形をScanlineデータ形式に変換して後の処理を行うことが可能になる。また処理速度が向上しないと判断されるのであれば、Scanlineデータ形式に変換せずに弧のまま処理を行うことも可能である。
As described above, in the print processing system according to the first embodiment, when an ellipse drawing command is continuously sent in which the shape is almost the same but the size is different and the center of the drawing figure is substantially the same, Rather than determining the overlap of the command as it is, dividing it into several parts and performing the overlap determination under simpler conditions makes it difficult to determine whether the determination process is impossible and the determination process is impossible. Even in this case, the overlap determination can be performed in a short time. Although the basic overlap judgment alone could not effectively speed up the gradation toward the center, this method can be used to speed up the image sufficiently.
Note that overlap determination is performed only for drawing commands that have the same type, the same conditions, and the same attributes, and even if the overlapped part is deleted without affecting the drawing result. It can be done at high speed.
Further, by dividing the ellipse drawing command in the horizontal direction of printing, it is possible to perform simple overlap determination by performing overlap determination between shapes that are approximately trapezoidal. Furthermore, by dividing the center of a figure close to a trapezoid with a straight line passing vertically, it is possible to perform simpler overlap determination where two right angles overlap.
Further, by dividing the ellipse by a straight line perpendicular to the long axis or the short axis, it is possible to make the original figure a simpler shape and perform the overlap determination.
Also, when selecting a straight line to divide an ellipse, perform overlapping judgment by dividing the drawing unit by one line or several lines, or divide a figure once divided by a straight line passing through the center of the original ellipse Thus, it is also possible to perform simpler overlapping determination between figures.
In addition, in the overlap judgment between figures that are also divided in the vertical direction, considering that there is no deviation from the center of the original ellipse, only the difference between the outside is distinguished, thereby simplifying the processing and increasing the speed. Can be achieved.
Further, it is possible to convert the figure after the overlap determination process to the Scanline data format and perform the subsequent process. Further, if it is determined that the processing speed is not improved, it is possible to perform the processing without changing the arc to the scanline data format.

[第2の実施の形態]
上記第1の実施の形態では、図形を分割する時に中心をとおる水平線と垂直線を用いていたが、第2の実施の形態では、楕円が傾いていた場合はその軸に合わせるようにしている。これにより、分割後に重なり判定を行っても同一Yライン上に複数のセグメントが生じることがなくなるため、処理が容易になる。
[第3の実施の形態]
これまで説明した処理は図10のようにドライバ側でもプリンタ側でもどちらでも行うことができる。そのため、ドライバが稼働しているPC側の方が処理能力に余裕があれば、重なり判定、分割及び削除処理を全てドライバ側で行い、逆にPC側に余裕が無くプリンタ側の処理能力が高ければ全てをプリンタ側で行う。状況によっては重なり判定までをドライバ側で行い、その情報をプリンタ側に送ってプリンタ側で分割及び削除処理を行うこともある。ただし、重なり判定、分割処理、削除処理の順番が入れ替わることはない。これにより、この印刷処理システムでは、PCとプリンタの処理能力と負荷状況を考慮し、負荷分散処理を行うことでシステム全体として高速に処理を行うことが可能となる。
[Second Embodiment]
In the first embodiment, a horizontal line and a vertical line centered at the time of dividing a figure are used. However, in the second embodiment, when an ellipse is inclined, it is aligned with the axis. . As a result, even if the overlap determination is performed after the division, a plurality of segments are not generated on the same Y line, thereby facilitating the processing.
[Third Embodiment]
The processing described so far can be performed on either the driver side or the printer side as shown in FIG. Therefore, if the PC running the driver has more processing capacity, the overlap determination, division, and deletion processes are all performed on the driver side. Conversely, there is no room on the PC side and the processing capacity on the printer side is higher. All on the printer side. Depending on the situation, the overlap determination may be performed on the driver side, the information may be sent to the printer side, and division and deletion processing may be performed on the printer side. However, the order of overlap determination, division processing, and deletion processing does not change. As a result, in this print processing system, it is possible to perform high-speed processing as a whole system by performing load distribution processing in consideration of the processing capability and load status of the PC and printer.

印刷システムにおいて基本的な重なり判定をプリンタ側で行う場合の構成を示した図。FIG. 3 is a diagram illustrating a configuration when basic overlap determination is performed on a printer side in a printing system. 印刷システムにおいて基本的な重なり判定をドライバ側で行う場合の構成を示した図。The figure which showed the structure in the case of performing basic overlap determination by the driver side in a printing system. 図1、図2の構成に基づいた場合の基本的な処理動作を示すフローチャート図。FIG. 3 is a flowchart showing a basic processing operation based on the configuration of FIGS. 1 and 2; 楕円の中心に向かって色が変化していくグラデーションの例を示す平面図。The top view which shows the example of the gradation which a color changes toward the center of an ellipse. 削除後のデータが複雑になる場合の例を示す平面図。The top view which shows an example in case the data after deletion become complicated. 簡単な弧の集合に置き換えた例を示す平面図。The top view which shows the example replaced with the collection of simple arcs. 本発明の実施の形態に係る印刷システムにおいて重なり判定処理をプリンタ側で行う場合の構成を示した図。FIG. 3 is a diagram illustrating a configuration in a case where overlap determination processing is performed on the printer side in the printing system according to the embodiment of the present invention. 本実施の形態に係る印刷システムにおいて、重なり判定処理をドライバ側で行う場合の構成を示した図。The figure which showed the structure in the case of performing an overlap determination process by the driver side in the printing system which concerns on this Embodiment. 図3のステップS4の削除処理部分を詳細に説明したフローチャート。The flowchart explaining the deletion process part of FIG.3 S4 in detail. 第3の実施の形態に係る印刷システムの要部ブロック図。The principal part block diagram of the printing system which concerns on 3rd Embodiment.

符号の説明Explanation of symbols

1 ホストPC、1a アプリケーション、2、2b プリンタコントローラ、2a、2c プリンタドライバ、3、3b、3c 図形重なり処理部、3a 印刷装置、4 プリンタエンジン、10 インタープリタ、10a PDL言語生成部、11 図形重なり判定、12 図形描画処理、12a PDL言語出力部、14 CPU、15a 重複部分削除処理、16a 図形分割処理、20 中間データメモリ、21 直前図形データメモリ、23 ページメモリ 1 host PC, 1a application, 2, 2b printer controller, 2a, 2c printer driver, 3, 3b, 3c graphic overlap processing unit, 3a printing device, 4 printer engine, 10 interpreter, 10a PDL language generation unit, 11 graphic overlap determination 12 graphic drawing process, 12a PDL language output unit, 14 CPU, 15a overlapped part deletion process, 16a graphic division process, 20 intermediate data memory, 21 immediately previous graphic data memory, 23 page memory

Claims (5)

連続した楕円描画コマンドの楕円を分割して重なり判定を行う重なり判定手段が、プリンタドライバ又はプリンタに設けられた印刷処理システムであって、
重なり判定手段は、中心に向かって縮小しつつ重なる楕円を長軸もしくは短軸に直角な直線で分割し、一度分割された図形をさらに元の楕円の中心を通る直線で分割して図形同士の重なり判定を行うことを特徴とする印刷処理システム。
Continuous ellipse drawn overlapping performing ellipse by dividing overlap judgment of the command judgment means, a print processing system provided in the printer driver or printer,
The overlap judging means divides the overlapping ellipses while shrinking toward the center by a straight line perpendicular to the major axis or minor axis, and further divides the figure once divided by a straight line passing through the center of the original ellipse. A print processing system characterized by performing overlap determination .
請求項1記載された印刷処理システムにおいて、
前記重なり判定手段は、楕円を分割する直線を選ぶ際に、描画単位の1ラインもしくは数ライン毎に分割することを特徴とする印刷処理システム。
In print processing system according to claim 1,
The overlap determination unit divides the ellipse into lines for each drawing line or several lines when selecting a straight line for dividing the ellipse .
請求項1又は記載された印刷処理システムにおいて、
前記重なり判定手段は、重なり判定処理後の図形をScanlineデータ形式に変換して後の処理を行うことを特徴とする印刷処理システム。
In the print processing system according to claim 1 or 2,
The overlap determination unit converts the figure after the overlap determination process into a Scanline data format and performs the subsequent process.
請求項3記載された印刷処理システムにおいて、
前記重なり判定手段は、処理速度が向上しないと判断されるのであれば、Scanlineデータ形式に変換せずに弧のまま処理を行うことを特徴とする印刷処理システム。
In the print processing system according to claim 3,
If it is determined that the processing speed is not improved , the overlap determination unit performs the process without changing to the Scanline data format, and performs the process as an arc .
請求項1ないし4のいずれかに記載された印刷処理システムにおいて、
前記重なり判定手段がプリンタドライバとプリンタに設けられ、重なり判定処理のうち、楕円描画コマンド分割処理と重なり判定処理をプリンタドライバ側、プリンタ側のそれぞれに分けて処理することが可能なことを特徴とする印刷処理システム。
The print processing system according to any one of claims 1 to 4 ,
The overlap determination unit is provided in a printer driver and a printer, and among the overlap determination processing, the ellipse drawing command division processing and the overlap determination processing can be separately performed on the printer driver side and the printer side. Print processing system.
JP2004185626A 2004-06-23 2004-06-23 Print processing system Expired - Fee Related JP4390141B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004185626A JP4390141B2 (en) 2004-06-23 2004-06-23 Print processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004185626A JP4390141B2 (en) 2004-06-23 2004-06-23 Print processing system

Publications (2)

Publication Number Publication Date
JP2006011664A JP2006011664A (en) 2006-01-12
JP4390141B2 true JP4390141B2 (en) 2009-12-24

Family

ID=35778886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004185626A Expired - Fee Related JP4390141B2 (en) 2004-06-23 2004-06-23 Print processing system

Country Status (1)

Country Link
JP (1) JP4390141B2 (en)

Also Published As

Publication number Publication date
JP2006011664A (en) 2006-01-12

Similar Documents

Publication Publication Date Title
US6323958B1 (en) Printing apparatus
JP2006050547A (en) Color image forming apparatus
JPH05282500A (en) Printer interface
US7330196B2 (en) Apparatus and method for image processing capable of accelerating image overlay process
KR100396548B1 (en) Apparatus for controlling printer to improve printing speed and method thereof
JPH052459A (en) Drawing device
JP5479049B2 (en) Document processing device
JP4390141B2 (en) Print processing system
JP2003280850A (en) High speed printer and high speed printing method using the printer
JP4368652B2 (en) Printing processing method and apparatus
JP2000099750A (en) Image processing device and method therefor
JP3204136B2 (en) Image processing apparatus and compression processing method
JP2002318680A (en) Image processor and image processing method
JP4325339B2 (en) Printing system, host computer and printer driver
JP2001270170A (en) Printer controller
JP3450958B2 (en) Printing apparatus and printing method
JP4467715B2 (en) Image output control apparatus and method
JP2004312592A (en) Printing processing method, printing processing device, and image output device
JP2006031086A (en) Print processing method
JPH09277616A (en) Printer and control method therefor
JPH10157240A (en) Printing method, printing apparatus, and recording medium
JP3099556B2 (en) Data converter
JPH1063250A (en) Character processing device
JP2005007824A (en) Image output device, and image outputting system
JP2001016443A (en) Enlarging/reducing method of printing data and enlarging/reducing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061024

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20061106

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090417

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090525

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: 20091001

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: 20091001

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121016

Year of fee payment: 3

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: 20131016

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees