JP2006079475A - Print processing system, program and recording medium - Google Patents
Print processing system, program and recording medium Download PDFInfo
- Publication number
- JP2006079475A JP2006079475A JP2004264715A JP2004264715A JP2006079475A JP 2006079475 A JP2006079475 A JP 2006079475A JP 2004264715 A JP2004264715 A JP 2004264715A JP 2004264715 A JP2004264715 A JP 2004264715A JP 2006079475 A JP2006079475 A JP 2006079475A
- Authority
- JP
- Japan
- Prior art keywords
- display list
- processing system
- data
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、印刷処理システム、プログラムおよび記録媒体に関し、プリンタ記述言語の最適化による印刷の高速化に関するものである。 The present invention relates to a print processing system, a program, and a recording medium, and relates to speeding up printing by optimizing a printer description language.
プリンタで印刷を行う場合、パーソナルコンピュータにおいてプリンタ言語により作成された印刷データをプリンタが受信して画像を形成することにより印刷を実行している。
プリンタでは、パーソナルコンピュータからのプリンタ言語による印刷データをインタープリタで解釈してディスプレイリストに変換し、さらにディスプレイリストを解釈して、図形描画部でビットマップデータに変換して、変換されたビットマップデータを用紙に印刷する。
プリンタ言語では、図形の種類、原点、大きさ、前景色、背景色、パターン、塗りつぶしの有無等の情報をそれぞれ別のコマンドで設定するようになっている。そのため、1つの図形(オブジェクトという)をビットマップデータへ変換するためには、複数のコマンドを参照しなければならない。このため、インタープリタでは、プリンタ言語を解釈し、各々のオブジェクトに対して必要となる図形の情報を1つにまとめた形のディスプレイリストに変換する。また、ラスタライズを複数のバンドに分割して行う場合、バンドとそのバンドに描画されるべきオブジェクトの対応表をも合わせて作成する。
図形描画部は、バンドに分割してラスタライズを行う。インタープリタから出力されたディスプレイリストと対応表は、図形描画部の中間データメモリに一時記憶される。中間データメモリに格納された対応表により、現在ラスタライズを行っているバンドに描画されるオブジェクトを求め、中間データメモリよりディスプレイリストを読み出して、ディスプレイリストを解釈して図形の種類を決定し、楕円、矩形、水平な直線等の図形をビットマップ化してページメモリへ描画する。
なお、先行文献としては、特許文献1にはハードウェアまたはソフトウェアのいずれかにおいて処理をすることが開示されている。
また特許文献2には、ネットワーク内のプリンタをサーバで管理して効率良く印刷処理を行う技術が開示されている。
また特許文献3には、コマンドフォーマットをハードウェア向けに変換した後、必要に応じてソフトウェア向けに再変換する技術が開示されている。
In the printer, print data in a printer language from a personal computer is interpreted by an interpreter and converted into a display list, and the display list is further interpreted and converted into bitmap data by a graphic drawing unit. On the paper.
In the printer language, information such as the figure type, origin, size, foreground color, background color, pattern, and the presence / absence of a fill is set by different commands. Therefore, in order to convert one figure (called an object) into bitmap data, a plurality of commands must be referred to. Therefore, the interpreter interprets the printer language and converts the graphic information necessary for each object into a combined display list. Further, when rasterizing is performed by dividing into a plurality of bands, a correspondence table of bands and objects to be drawn in the bands is also created.
The graphic drawing unit performs rasterization by dividing into bands. The display list and the correspondence table output from the interpreter are temporarily stored in the intermediate data memory of the graphic drawing unit. Using the correspondence table stored in the intermediate data memory, find the object to be drawn in the band that is currently rasterized, read the display list from the intermediate data memory, interpret the display list, determine the figure type, , Rectangles, horizontal straight lines, etc., are converted into bitmaps and drawn in the page memory.
As a prior document, Patent Document 1 discloses that processing is performed in either hardware or software.
Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique for efficiently performing print processing by managing a printer in a network with a server.
ところで、近年、プリンタエンジンの高速化に伴い、文字や図形などの画像情報からビットマップに展開するためのメモリが増加し、展開に要する処理時間が増加している。この処理時間を短縮する方法として、専用のハードウェアを使用することが多くなってきた。ソフトウェアで描画するよりもハードウェアで描画する方が処理時間は短くなるが、反面全描画をハードウェアに任せることはコストの面、設計段階での難しさなどからできないことが多い。そのため両者を使い分けることになるが、コマンド毎にハードウェアで処理可能、不可能を判別していくと、ハードウェアへの切り替えに必要な割り込み待ち時間のために、思ったより高速に描画できないことがある。
そこで、本発明は、このような点を鑑みてなされたものであり、データを描画する際にハードウェアとソフトウェアを効率よく使用して、プリンタ記述言語による印刷の高速化を図ることができる印刷処理システム、プログラムおよび記録媒体を提供することを目的とする。
By the way, in recent years, with an increase in the speed of a printer engine, a memory for expanding image information such as characters and graphics into a bitmap has increased, and a processing time required for the expansion has increased. As a method for shortening the processing time, dedicated hardware has been increasingly used. Although drawing time with hardware is shorter than drawing with software, on the other hand, it is often not possible to leave all drawing to hardware due to cost and difficulty at the design stage. Therefore, both are used properly, but if each command can be processed by hardware, it is impossible to draw faster than expected due to the interrupt waiting time required for switching to hardware. is there.
Therefore, the present invention has been made in view of such a point, and printing that can speed up printing in a printer description language by efficiently using hardware and software when drawing data. An object is to provide a processing system, a program, and a recording medium.
上記目的を達成するため、請求項1記載の発明は、印刷データをバンドメモリに描画してから印刷処理を行う印刷処理システムにおいて、前記印刷データを送信するホストコンピュータと、該ホストコンピュータから送られてきた印刷データを解釈し、解釈した印刷データから図形描画のための描画データを作成する際に、ハードウェアウェアから成る図形描画手段またはソフトウェアからなる図形描画手段の画像処理にあわせて、ディスプレイリストを作成するディスプレイリスト作成部を有する印刷装置と、を備えることを特徴とする。
請求項2記載の発明は、印刷データをバンドメモリに描画してから印刷処理を行う印刷処理システムにおいて、ハードウェアまたはソフトウェアから成る図形描画手段を有する印刷装置と、印刷データを解釈し、解釈した印刷データから図形描画のための描画データを作成する際に、前記ハードウェアまたはソフトウェアから成る図形描画手段の画像処理にあわせて、ディスプレイリストを作成するディスプレイリスト作成部を有し、該ディスプレイリストを印刷装置に送信するプリンタドライバを備えるホストコンピュータとを備え、前記印刷装置は、前記ホストコンピュータから送られてきたディスプレイリストの描画コマンドをハードウェアまたはソフトウェアから成る図形描画手段により印刷することを特徴とする。
請求項3記載の発明は、印刷データをバンドメモリに描画してから印刷処理を行う印刷処理システムにおいて、印刷データを解釈し、解釈した印刷データから図形描画のための描画データを作成する際に、ハードウェアまたはソフトウェアから成る図形描画手段にあわせて、ディスプレイリストを作成するディスプレイリスト作成部を有し、該ディスプレイリストをプリンタサーバに送信するプリンタドライバを備えるホストコンピュータと、該ホストコンピュータから送られてきたディスプレイリストを印刷装置へ送信するプリンタサーバと、該プリンタサーバから送られてきたディスプレイリストの描画コマンドをハードウェアまたはソフトウェアから成る図形描画手段により印刷する印刷装置と、を備えることを特徴とする。
In order to achieve the above object, the invention described in claim 1 is a print processing system that performs print processing after drawing print data in a band memory, and a host computer that transmits the print data, and the host computer. When creating print data for graphic drawing from the interpreted print data, the display list is displayed in accordance with the image processing of the graphic drawing means consisting of hardware or graphic drawing means consisting of software. And a printing apparatus having a display list creation unit to create.
According to a second aspect of the present invention, in a print processing system that performs print processing after drawing print data in a band memory, the printer has graphic drawing means composed of hardware or software, and interprets and interprets the print data. When creating drawing data for drawing graphics from the print data, a display list creating unit for creating a display list in accordance with the image processing of the graphics drawing means comprising the hardware or software is provided. And a host computer having a printer driver for transmitting to the printing apparatus, wherein the printing apparatus prints a display list drawing command sent from the host computer by a graphic drawing means comprising hardware or software. To do.
According to a third aspect of the present invention, in a print processing system that performs print processing after drawing print data in a band memory, the print data is interpreted and drawing data for drawing a graphic is generated from the interpreted print data. A host computer having a display list creation unit for creating a display list in accordance with a graphic drawing means comprising hardware or software, and having a printer driver for sending the display list to a printer server, and sent from the host computer A printer server that transmits the display list to the printing apparatus, and a printing apparatus that prints a display list drawing command sent from the printer server by a graphic drawing means composed of hardware or software. To do.
請求項4記載の発明は、印刷データをバンドメモリに描画してから印刷処理を行う印刷処理システムにおいて、ハードウェアまたはソフトウェアから成る図形描画手段を有する印刷装置と、印刷データを解釈し、解釈した印刷データから図形描画のための描画データを作成する際に、前記ハードウェアまたはソフトウェアから成る図形描画手段の画像処理にあわせて、ディスプレイリストを作成するディスプレイリスト作成部を有し、該ディスプレイリストをプリンタサーバに送信するプリンタドライバを有するホストコンピュータと、該ホストコンピュータから送られてきたディスプレイリストを印刷装置へ送信するプリンタサーバと、を備え、前記印刷装置は、前記プリンタサーバから送られてきたディスプレイリストの描画データを前記ハードウェアまたはソフトウェアから成る図形描画手段により印刷する印刷装置と、を備えることを特徴とする。
請求項5記載の発明は、請求項1乃至請求項4の何れか一項に記載の印刷処理システムにおいて、前記ディスプレイリスト作成部は、前記描画データを作成する際に、前記ハードウェアまたはソフトウェアから成る図形描画手段による描画処理の画像処理を、最も高速で行うことができる描画データの形式を選択することを特徴とする。
請求項6記載の発明は、請求項1乃至請求項5の何れか一項に記載の印刷処理システムにおいて、前記ディスプレイリスト作成部は、前記描画データを作成する際に、前記バンドメモリのメモリ容量に応じて描画データの形式を選択することを特徴とする。
請求項7記載の発明は、請求項1乃至請求項6の何れか一項に記載の印刷処理システムにおいて、前記ディスプレイリスト作成部は、前記描画データを作成する際に、前記ハードウェアまたはソフトウェアから成る図形描画手段による描画処理を行うことができない描画データが存在する場合は、その描画データが存在する印刷データを処理する装置において中間データの形式を選択することを特徴とする。
According to a fourth aspect of the present invention, in a print processing system for performing print processing after drawing print data on a band memory, the print device having graphic drawing means composed of hardware or software, and interpreting and interpreting the print data When creating drawing data for drawing graphics from the print data, a display list creating unit for creating a display list in accordance with the image processing of the graphics drawing means comprising the hardware or software is provided. A host computer having a printer driver to be transmitted to the printer server, and a printer server for transmitting a display list sent from the host computer to the printing apparatus, wherein the printing apparatus has a display sent from the printer server. Before drawing data of list Characterized in that it and a printing apparatus for printing by drawing means consisting of hardware or software.
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 display list creating unit generates the drawing data from the hardware or software. A drawing data format that can perform the image processing of the drawing processing by the graphic drawing means is selected at the highest speed.
According to a sixth aspect of the present invention, in the print processing system according to any one of the first to fifth aspects, the display list creating unit creates a memory capacity of the band memory when creating the drawing data. The drawing data format is selected according to the above.
According to a seventh aspect of the present invention, in the print processing system according to any one of the first to sixth aspects, the display list creating unit generates the drawing data from the hardware or software. In the case where there is drawing data that cannot be drawn by the graphic drawing means, an intermediate data format is selected in an apparatus that processes print data in which the drawing data exists.
請求項8記載の発明は、請求項1乃至請求項7の何れか一項に記載の印刷処理システムにおいて、前記印刷データをバンド単位で分割して処理することを特徴とする。
請求項9記載の発明は、請求項1乃至請求項8の何れか一項に記載の印刷処理システムにおいて、前記印刷データをスプールする場合に、スプールの段階で前記ハードウェアまたはソフトウェアから成る図形描画手段のどちらに割り振るか判断し、前記ディスプレイリストを生成することを特徴とする。
請求項10記載の発明は、請求項1乃至請求項9の何れか一項に記載の印刷処理システムにおいて、前記ハードウェアまたはソフトウェアから成る図形描画手段のいずれで処理するかを印刷データの経路上のいずれかで判断し、印刷データ中の前記描画データをいくつかのブロックに分けてディスプレイリストを生成することを特徴とする。
請求項11記載の発明は、印刷データをバンドメモリに描画してから印刷処理を行う印刷処理システムにおいて、ホストコンピュータ、プリンタサーバ、印刷装置の夫々にディスプレイリスト作成部を設け、いずれかのディスプレイリスト作成部においてディスプレイリストを生成することを特徴とする。
請求項12記載の発明は、コンピュータに、請求項1乃至11の何れか一項に記載の印刷処理システムの機能を実行させるためのプログラムであることを特徴とする。
請求項13記載の発明は、請求項12に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体であることを特徴とする。
According to an eighth aspect of the invention, in the print processing system according to any one of the first to seventh aspects, the print data is divided and processed in band units.
According to a ninth aspect of the present invention, in the print processing system according to any one of the first to eighth aspects, when the print data is spooled, the graphic drawing composed of the hardware or software at the spool stage. The display list is generated by determining which of the means to allocate.
According to a tenth aspect of the present invention, in the print processing system according to any one of the first to ninth aspects, whether the graphic drawing means comprising the hardware or software is used is processed on a print data path. The display list is generated by dividing the drawing data in the print data into several blocks.
According to an eleventh aspect of the present invention, in a print processing system for performing print processing after drawing print data in a band memory, a display list creating unit is provided in each of the host computer, the printer server, and the printing apparatus, and any one of the display lists is provided. The creation unit generates a display list.
The invention described in
A thirteenth aspect of the present invention is a computer-readable recording medium on which the program according to the twelfth aspect is recorded.
本発明によれば、描画データをハードウェアにより構成される図形描画手段またはソフトウェアで構成される図形描画手段の画像処理にあわせてディスプレイリストを作成することで印刷処理を高速化することができる。 According to the present invention, it is possible to speed up the printing process by creating the display list in accordance with the image processing of the graphic drawing means constituted by hardware or the graphic drawing means constituted by software.
以下、図面を参照して、本発明の印刷処理システムに係る好適な実施形態を説明する。
図1は、第1の実施形態としての印刷処理システムの構成を示すブロック図である。
この図1において、ホストコンピュータ(以下、「ホストPC」という)1上のプリンタドライバにおいて生成された描画コマンドからなる印刷データは印刷装置に送られて、印刷装置においてその印刷データが受信される。
印刷装置ではプリンタコントローラ2内のインタープリタ10により印刷データを受け取り、中間コマンド形式に変換して中間データメモリ20に保存する。
ディスプレイリスト作成部3は、中間データメモリ20に記憶された中間コマンド形式から図形描画部12または図形描画回路22に渡すディスプレイリストを生成して、ディスプレイリスト保存用データメモリ21のそれぞれの処理用領域(メモリ)に保存する。ここで、ディスプレイリストとは、実際に印刷する用紙サイズに応じて図形やフォントなどを印刷するための展開開始座標およびそのデータの先頭アドレス等からなる印刷前の中間言語のことである。さらに、ソフトウェア側の処理においては、ディスプレイリストを描画コマンドではなく、関数コールとするようにしてもよい。
このとき、コマンド振分判定部11は、中間データメモリ20に記憶された中間コマンドを解釈しながら、図形描画部12で処理するか、または図形描画回路22で処理するかを判断してディスプレイリストを生成する。また、描画範囲により描画するべきかどうかの判定も同時に行う。さらに、描画コマンドの並び替えを行っても描画結果に影響がなければディスプレイリスト上のコマンド順を入れ替えて、ハードウェア側で処理可能なコマンドをまとめるようにしてもよい。
コマンド振分判定部11の振り分けは、図形描画部12で処理するよりも図形描画回路22で処理する方が高速にバンドメモリへの描画が行えるので、基本的には図形描画回路22を割り振ることになる。これにより、図形描画回路22は、生成されたビットマップデータをページメモリ23へ出力し、このページメモリ23に書き込まれた内容がプリンタエンジン4に渡されて紙面へ印刷される。
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a preferred embodiment according to a print processing system of the invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a configuration of a print processing system according to the first embodiment.
In FIG. 1, print data composed of drawing commands generated by a printer driver on a host computer (hereinafter referred to as “host PC”) 1 is sent to a printing apparatus, and the printing data is received by the printing apparatus.
In the printing apparatus, print data is received by the
The display
At this time, the command distribution determination unit 11 interprets the intermediate command stored in the
The allocation of the command allocation determination unit 11 can be performed in the band memory at a higher speed when processed by the
ところで、このように構成される第1の実施形態の印刷処理システムにおいては、図形描画処理として、図形描画部12、図形描画回路22とも多くの場合において同じ形式のコマンドを処理できる場合には、両方に対して同じ形式の描画コマンドを含む中間データを生成するのが一番簡単とされる。しかし、例えばRGB24bitイメージデータと、CMYK32bitイメージデータのように印刷結果は同じでも、ディスプレイリストの描画コマンド形式が異なるものが存在する場合がある。
そこで、第1の実施形態の印刷処理システムでは、描画コマンドが、ハードウェアにより構成される図形描画回路22またはソフトウェアで構成される図形描画部12のいずれかで処理されるかによって、最も処理効率が良くなるように、描画コマンド形式を選択する事で、印刷システム全体の効率を良くするようにした点に特徴がある。
具体的には、図形描画回路22にイメージ描画コマンド処理が搭載されており、さらに描画コマンドに対してガンマ、BG/UCRなどの色変換処理などが可能であった場合は、図形描画回路22で描画した方が、図形描画部12で処理するよりも高速に描画できる。そこで、図形描画に向けた中間データを生成する際には、図形描画部12向けには色変換処理を行い、図形描画回路22向けには行わないようにデータの作り分けるようにしている。ただし、図形描画回路22が処理できないような特殊な色変換を行う必要があるとき、より高速に描画する必要があるとき、もしくはプリンタコントローラ用のメモリに余裕があるなどの条件を判断して、色変換処理までを図形描画部12で行うか、ページメモリ23への描画までを図形描画部12で行うかを選択するようにしている。
このディスプレイ保存用データメモリ21にあるディスプレイリストは、バンド単位、もしくはそれよりも小さな描画コマンドの集合で構成され、スプールデータとして中間データメモリ20上に格納されるときに図形描画回路22、図形描画部12どちらに向けるべきか判定する。
なお、本実施形態では、ソフトウェアとしての図形描画部12及びハードウェアとしての図形描画回路22がそれぞれ1つ設けられているものとして説明するが、例えば異なる図形描画回路22を複数設けることも可能である。
By the way, in the print processing system of the first embodiment configured as described above, when the
Therefore, in the print processing system of the first embodiment, the processing efficiency is the highest depending on whether the drawing command is processed by either the
Specifically, when the image drawing command processing is mounted on the
The display list in the display
In the present embodiment, it is assumed that one
ここで、上記した印刷処理システムの描画処理を、図2に示すフローチャートを用いて説明する。
先ず、ステップS1において、描画処理がハードウェアで処理可能かを判断し、処理可能であれば、ステップS2においてハードウェア側で処理するディスプレイリストに追加する。次にステップS3においてより高速なコマンド形式にするか否かの判断を行い、高速なコマンド形式にすると判断したときは、ステップS4においてハードウェアからなる図形描画回路に向けた処理を行ってステップS8に進む。またステップS4において高速なコマンド形式にしない場合はステップS3の処理を行うことなくステップS8に進む。
なお、高速なコマンド形式にしない場合としては、使用できるメモリが少なく、速度を優先させずに消費メモリがより少ない描画コマンドの形式を選択する場合などが考えられる。
一方、ステップS1において、ハードウェアでの処理が可能でないと判断したときは、ステップS5においてソフトウェア側で処理するディスプレイリストに追加する。次いでステップS6においてより高速なコマンド形式にするか否かの判断を行い、高速なコマンド形式にすると判断したときは、ステップS7においてソフトウェアからなる図形描画部に向けた処理を行ってステップS8に進む。またステップS6において高速なコマンド形式にしない場合はステップS7の処理を行うことなくステップS8に進む。なお、高速なコマンド形式にしない場合としては、使用できるメモリが少なく、速度を優先させずに消費メモリがより少ない描画コマンドの形式を選択する場合などが考えられる。
そしてステップS8において最後の描画コマンドかどうかの判断を行い、最後の描画コマンドであれば処理を終了し、そうでなければステップS1に戻って処理を行うことになる。
このようにすれば上記第1の実施形態に係る印刷処理システムを実現することができる。
Here, the drawing process of the above-described print processing system will be described with reference to the flowchart shown in FIG.
First, in step S1, it is determined whether the rendering process can be performed by hardware. If the rendering process can be performed, it is added to the display list to be processed on the hardware side in step S2. Next, in step S3, it is determined whether or not a higher-speed command format is to be used. If it is determined to be a higher-speed command format, in step S4, processing is performed for the graphic drawing circuit formed of hardware, and step S8 is performed. Proceed to In step S4, if the command format is not high, the process proceeds to step S8 without performing step S3.
As a case where a high-speed command format is not used, there may be a case where a drawing command format that uses less memory and consumes less memory without prioritizing speed is selected.
On the other hand, if it is determined in step S1 that hardware processing is not possible, it is added to the display list to be processed on the software side in step S5. Next, in step S6, it is determined whether or not a higher-speed command format is to be used. If it is determined that the command format is to be higher-speed, a process directed to a graphic drawing unit made of software is performed in step S7 and the process proceeds to step S8. . If the command format is not a high speed in step S6, the process proceeds to step S8 without performing the process in step S7. As a case where a high-speed command format is not used, there may be a case where a drawing command format that uses less memory and consumes less memory without prioritizing speed is selected.
In step S8, it is determined whether or not it is the last drawing command. If it is the last drawing command, the process is terminated. If not, the process returns to step S1 to perform the process.
In this way, the print processing system according to the first embodiment can be realized.
図3は、第2の実施形態としての印刷処理システムの構成を示すブロック図である。
この図3に示す印刷処理システムは、ホストPC1から送られた印刷データをインタープリタ10で中間データ形式に変換し、その変換結果を直接ディスプレイリスト作成部3へ供給する構成としたものである。このように印刷処理システムに中間データメモリ20が設けられていないときにも、ホストPC1側、印刷データ転送系路上、インターフェース部分において、図形描画回路22もしくは図形描画部12のどちらで処理するか決定できていれば、上記した第1実施形態と同様の処理を実現することができる。
図4は、第3の実施形態としての印刷処理システムの構成を示す図である。
この図4に示す印刷処理システムは、図形描画処理のハードウェアまたはソフトウェアによる処理の振分をプリンタドライバで行うようにした構成を示すブロック図である。
この図4に示すように、印刷装置41のプリンタコントローラが直接ディスプレイリストを処理できる場合には、アプリケーション40からの印刷データを受信したホストPC1側のプリンタドライバ30がディスプレイリストを生成し、この生成したディスプレイリストを印刷装置41へ送るようにする。
FIG. 3 is a block diagram illustrating a configuration of a print processing system according to the second embodiment.
The print processing system shown in FIG. 3 is configured such that print data sent from the host PC 1 is converted into an intermediate data format by the
FIG. 4 is a diagram illustrating a configuration of a print processing system according to the third embodiment.
The print processing system shown in FIG. 4 is a block diagram showing a configuration in which graphics drawing processing hardware or software assigns processing by a printer driver.
As shown in FIG. 4, when the printer controller of the printing apparatus 41 can directly process the display list, the
プリンタドライバ30は、アプリケーション40から受信した印刷データをPDL言語生成部31において抽象度の高い描画コマンド群に変換する。ディスプレイリスト作成部32において、この描画コマンド群を解釈して、コマンド振分判定部33によって、ハードウェアによる図形描画処理もしくはソフトウェアによる図形描画処理のいずれで処理するかを判断して、いずれの処理部で処理させるかを示す処理部選択情報を持たせたディスプレイリストを構成してディスプレイリスト保存用データメモリ34のハードウェア処理用のメモリおよびソフトウェアの処理用メモリのそれぞれへ保存し、ディスプレイリスト出力部35でこのディスプレイリスト保存用データメモリ34に記憶したディスプレイリストを印刷装置41へ送信する。
ここで、ディスプレイリスト作成部32、コマンド振分判定部33およびディスプレイリスト保存用データメモリ34は、それぞれ上述のディスプレイリスト作成部3、コマンド振分判定部11およびディスプレイリスト保存用データメモリ21と機能は同じであるが、ディスプレイリストにハードウェアもしくはソフトウェアのどちらで処理するかを示す処理部選択情報を持たせておく点が相違している。
印刷装置41では、プリンタコントローラ上のディスプレイリスト作成部がこのディスプレイリスト中の処理部選択情報を参照して、ソフトウェアによる描画処理部もしくはハードウェアによる描画処理回路のどちらで処理するかを決定して印刷する。
または、プリンタドライバ30ではPDL言語生成部31で生成したコマンド群に対し、コマンド振分判定部33でハードウェア、ソフトウェアのいずれの描画処理部で処理するかの判定だけを行って、処理部選択情報をコマンド群に付加した状態で、印刷装置41へ送信するようにしてもよい。
この場合には、印刷装置41のプリンタコントローラのディスプレイリスト作成部が処理部選択情報を参照して、それぞれの描画処理部へのディスプレイリストを作成することになる。
The
Here, the display
In the printing apparatus 41, the display list creation unit on the printer controller refers to the processing unit selection information in the display list and determines whether the processing is performed by the drawing processing unit by software or the drawing processing circuit by hardware. Print.
Alternatively, the
In this case, the display list creation unit of the printer controller of the printing apparatus 41 refers to the processing unit selection information and creates a display list for each drawing processing unit.
さらに図5は、ディスプレイリストの構築をプリンタサーバ上で行う場合の構成を示すブロック図である。
図5において、印刷装置41のプリンタコントローラが直接ディスプレイリストを処理できる場合には、ホストPC1から送られてきたPDL言語によるコマンド群を受信したプリンタサーバ50がディスプレイリストを生成し、この生成したディスプレイリストを印刷装置41へ送るようにする。
このプリンタサーバ50では、送られてきたPDL言語によるコマンド群をPDL言語入力部51で受信し、ディスプレイリスト作成部52でディスプレイリストに構成し直して、ディスプレイリスト出力部55でディスプレイリストを印刷装置41へ送信する。
このディスプレイリスト作成部52において、このコマンド群を解釈して、コマンド振分判定部53によって、ハードウェアによる図形描画処理もしくはソフトウェアによる図形描画処理のいずれで処理するかを判断し、いずれの処理部で処理させるかを示す処理部選択情報を持たせたディスプレイリストを構成してディスプレイリスト保存用データメモリ54のハードウェア処理用のメモリおよびソフトウェアの処理用メモリのそれぞれへ保存し、ディスプレイリスト出力部55でこのディスプレイリスト保存用データメモリ54に記憶したディスプレイリストを印刷装置41へ送信する。
ここで、ディスプレイリスト作成部52、コマンド振分判定部53およびディスプレイリスト保存用データメモリ54は、それぞれ上述のディスプレイリスト作成部3、コマンド振分判定部11およびディスプレイリスト保存用データメモリ21と機能は同じであるが、ディスプレイリストにハードウェアもしくはソフトウェアのどちらで処理するかを示す処理部選択情報を持たせておく点が相違している。
印刷装置41では、プリンタコントローラ上のディスプレイリスト作成部がこのディスプレイリスト中の処理部選択情報を参照して、ソフトウェアによる描画処理部もしくはハードウェアによる描画処理回路のどちらで処理するかを決定して印刷する。
Further, FIG. 5 is a block diagram showing a configuration when the display list is constructed on the printer server.
In FIG. 5, when the printer controller of the printing apparatus 41 can directly process the display list, the
In this
The display list creation unit 52 interprets the command group, and the command distribution determination unit 53 determines whether to perform a graphic drawing process by hardware or a graphic drawing process by software. A display list having processing unit selection information indicating whether to process the data is configured and stored in the hardware processing memory and the software processing memory of the display list
Here, the display list creation unit 52, the command distribution determination unit 53, and the display list
In the printing apparatus 41, the display list creation unit on the printer controller refers to the processing unit selection information in the display list and determines whether the processing is performed by the drawing processing unit by software or the drawing processing circuit by hardware. Print.
また、図6に示すように、どの装置(ホストPC、プリンタサーバ或いは印刷装置)でディスプレイリストを作成すればもっとも効率がよくなるかを判断して、それぞれに存在するディスプレイリスト作成部を切り替えるようにしてもよい。
この場合、ホストPC、プリンタサーバ、印刷装置におけるCPU性能(クロック数、加算演算1万回に要する時間などを指標とする)を相互に交換し、また、CPUの負荷率を一定時間毎に相互に連絡して、これから処理を行おうとするときにCPU性能とCPUの負荷率の積で、もっとも大きな値をとる装置で処理するようにする。
ここで、プリンタドライバでディスプレイリストを作成するようにした場合には、プリンタサーバのディスプレイ作成部では、そのままディスプレイリストを印刷装置へ引き渡し、印刷装置のディスプレイ作成部ではディスプレイリストに付加されている処理部選択情報によりハードウェアあるいはソフトウェアによる図形描画処理部を選択して、描画処理を行わせるようにする。
あるいは、プリンタサーバでディスプレイリストを作成するようにした場合には、プリンタドライバのディスプレイ作成部では、アプリケーションからの印刷データをPDL言語によるコマンド群へ変換してプリンタサーバへ引き渡す。プリンタサーバのディスプレイリスト作成部はPDL言語によるコマンド群に処理部選択情報を付加して印刷装置へ渡し、印刷装置のディスプレイ作成部ではディスプレイリストに付加されている処理部選択情報によりハードウェアあるいはソフトウェアによる図形描画処理部を選択して、描画処理を行わせるようにする。
あるいは、印刷装置でディスプレイリストを作成するようにした場合には、プリンタドライバのディスプレイ作成部では、アプリケーションからの印刷データをPDL言語によるコマンド群へ変換してプリンタサーバへ引き渡す。プリンタサーバのディスプレイリスト作成部はそのままディスプレイリストを印刷装置へ引き渡し、印刷装置のディスプレイ作成部ではPDL言語によるコマンド群を解釈してハードウェアあるいはソフトウェアによる図形描画処理部に振り分けて、描画処理を行わせるようにする。
Further, as shown in FIG. 6, it is determined which device (host PC, printer server, or printing device) is most effective in creating the display list, and the display list creation unit existing in each device is switched. May be.
In this case, the CPU performances of the host PC, printer server, and printing apparatus (the number of clocks and the time required for 10,000 addition operations are used as indices) are mutually exchanged, and the load factor of the CPU is mutually exchanged at regular intervals. When the processing is to be performed, the processing is performed by the device having the largest value as the product of the CPU performance and the CPU load factor.
Here, when the display list is created by the printer driver, the display creation unit of the printer server delivers the display list as it is to the printing device, and the display creation unit of the printing device adds processing to the display list. A graphic drawing processing unit by hardware or software is selected based on the part selection information, and drawing processing is performed.
Alternatively, when the display list is created by the printer server, the display creation unit of the printer driver converts the print data from the application into a command group in the PDL language and delivers it to the printer server. The display list creation unit of the printer server adds processing unit selection information to the command group in the PDL language and passes it to the printing device. The display creation unit of the printing device uses hardware or software depending on the processing unit selection information added to the display list. The graphic drawing processing unit is selected and the drawing processing is performed.
Alternatively, when the display list is created by the printing apparatus, the display creation unit of the printer driver converts the print data from the application into a command group in the PDL language and delivers it to the printer server. The display list creation unit of the printer server delivers the display list as it is to the printing device, and the display creation unit of the printing device interprets a command group in the PDL language and distributes it to a graphic drawing processing unit by hardware or software to perform drawing processing. I will let you.
さらに、本発明は上述した実施形態のみに限定されたものではなく、上述した実施形態のホストコンピュータ、印刷装置あるいはプリンタサーバを構成する各機能をプログラム化し、ホストコンピュータ、印刷装置あるいはプリンタサーバに搭載されたマイクロプロセッサでこのプログラムを実行することによって、本発明の目的を達成することができる。
なお、記録媒体としては半導体媒体(例えば、ROM、不揮発性メモリカード等)、光媒体(例えば、DVD、MO、MD、CD−R等)、磁気媒体(例えば、磁気テープ、フレキシブルディスク等)のいずれであってもよい。
また、ロードしたプログラムの指示に基づき、オペレーティングシステム等が実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合も含まれる。
さらに、上述したプログラムが、機能拡張ボードや機能拡張ユニットに備わるメモリにロードされ、そのプログラムの実行によって、上述した実施形態の機能が実現される場合も含まれる。
また、上述したプログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークで接続された利用者のコンピュータからダウンロードして頒布する場合、また、サーバコンピュータから配信して頒布する場合、このサーバコンピュータの記憶装置も本発明の記録媒体に含まれる。
このように、本発明の機能を有するプログラムを記録媒体に記録して頒布することによって、コスト、可搬性、汎用性を向上させることができる。
Furthermore, the present invention is not limited only to the above-described embodiment, and each function constituting the host computer, printing apparatus, or printer server of the above-described embodiment is programmed and installed in the host computer, printing apparatus, or printer server. The object of the present invention can be achieved by executing this program with a built-in microprocessor.
As a recording medium, a semiconductor medium (for example, ROM, nonvolatile memory card, etc.), an optical medium (for example, DVD, MO, MD, CD-R, etc.), a magnetic medium (for example, magnetic tape, flexible disk, etc.) Either may be sufficient.
Further, the case where the operating system or the like performs part or all of the actual processing based on the instruction of the loaded program and the functions of the above-described embodiments are realized by the processing is also included.
Furthermore, the case where the above-described program is loaded into a memory provided in a function expansion board or a function expansion unit and the functions of the above-described embodiments are realized by executing the program is included.
Further, when the above-described program is stored in a storage device of a server computer and downloaded from a user's computer connected via a network and distributed, or when distributed and distributed from a server computer, A storage device is also included in the recording medium of the present invention.
As described above, by recording and distributing the program having the function of the present invention on a recording medium, cost, portability, and versatility can be improved.
1 ホストコンピュータ(ホストPC)、2 プリンタコントローラ、3 ディスプレイリスト作成部、10 インタープリタ、11 コマンド振分判定部、21 ディスプレイリスト保存用データメモリ、20 中間データメモリ、12 図形描画部、22 図形描画回路、23 ページメモリ、14 CPU、4 プリンタエンジン、40 アプリケーション、30 プリンタドライバ、31 PDL言語生成部、32 ディスプレイリスト作成部、33 コマンド振分判定部、34 ディスプレイリスト保存用データメモリ、35 ディスプレイリスト出力部、36 CPU、41 印刷装置、50 プリンタサーバ、51 PDL言語入力部、52 ディスプレイリスト作成部、53 コマンド振分判定部、54 ディスプレイリスト保存用データメモリ、55 ディスプレイリスト出力部、56 CPU
DESCRIPTION OF SYMBOLS 1 Host computer (host PC), 2 Printer controller, 3 Display list preparation part, 10 Interpreter, 11 Command distribution determination part, 21 Display list storage data memory, 20 Intermediate data memory, 12 Graphic drawing part, 22 Graphic drawing circuit , 23 page memory, 14 CPU, 4 printer engine, 40 application, 30 printer driver, 31 PDL language generation unit, 32 display list creation unit, 33 command distribution determination unit, 34 display list storage data memory, 35 display list output Unit, 36 CPU, 41 printing device, 50 printer server, 51 PDL language input unit, 52 display list creation unit, 53 command distribution determination unit, 54 display list storage data memory, 55 display Irisuto output section, 56 CPU
Claims (13)
A computer-readable recording medium on which the program according to claim 12 is recorded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004264715A JP2006079475A (en) | 2004-09-10 | 2004-09-10 | Print processing system, program and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004264715A JP2006079475A (en) | 2004-09-10 | 2004-09-10 | Print processing system, program and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006079475A true JP2006079475A (en) | 2006-03-23 |
Family
ID=36158852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004264715A Pending JP2006079475A (en) | 2004-09-10 | 2004-09-10 | Print processing system, program and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006079475A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009140355A (en) * | 2007-12-07 | 2009-06-25 | Sharp Corp | Graphic instruction transmitter and method for graphic instruction transmission |
JP2009269179A (en) * | 2008-04-30 | 2009-11-19 | Ricoh Co Ltd | Printer, program and recording medium |
WO2011122079A1 (en) * | 2010-03-29 | 2011-10-06 | コニカミノルタホールディングス株式会社 | Image-forming apparatus, accelerator and image-forming method |
-
2004
- 2004-09-10 JP JP2004264715A patent/JP2006079475A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009140355A (en) * | 2007-12-07 | 2009-06-25 | Sharp Corp | Graphic instruction transmitter and method for graphic instruction transmission |
EP2234019A1 (en) * | 2007-12-07 | 2010-09-29 | Sharp Kabushiki Kaisha | Graphic instruction transmitter and method for graphic instruction transmission |
JP4697979B2 (en) * | 2007-12-07 | 2011-06-08 | シャープ株式会社 | Graphic command transmission apparatus and graphic command transmission method |
EP2234019A4 (en) * | 2007-12-07 | 2011-08-31 | Sharp Kk | Graphic instruction transmitter and method for graphic instruction transmission |
JP2009269179A (en) * | 2008-04-30 | 2009-11-19 | Ricoh Co Ltd | Printer, program and recording medium |
WO2011122079A1 (en) * | 2010-03-29 | 2011-10-06 | コニカミノルタホールディングス株式会社 | Image-forming apparatus, accelerator and image-forming method |
US8896853B2 (en) | 2010-03-29 | 2014-11-25 | Konica Minolta Holdings, Inc. | Image forming apparatus, accelerator and image forming method |
JP5737282B2 (en) * | 2010-03-29 | 2015-06-17 | コニカミノルタ株式会社 | Image forming apparatus, accelerator, and image forming method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8830506B2 (en) | Image processing system utilizing plural parallel processors and image processing method utilizing plural parallel processors | |
JP2004126871A (en) | Method and device for controlling printing | |
JP2006050547A (en) | Color image forming apparatus | |
JP2010039507A (en) | Information processor, information processing method, information processing system, and program | |
US8368907B2 (en) | Image forming apparatus and image forming system | |
US10593030B2 (en) | Image forming apparatus capable of changing thickness of character, control method therefor, and storage medium storing control program therefor | |
JP2006244248A (en) | Image processing device, image processing method, and program for executing image processing method | |
JP4461361B2 (en) | Drawing processing method and program, drawing command output device and image forming apparatus | |
JP2006079475A (en) | Print processing system, program and recording medium | |
JP2001293936A (en) | Image information processor and method of processing image information | |
JP2006171861A (en) | Information processor, printing method, recording medium and program | |
JP4580697B2 (en) | Print processing system, program, and recording medium | |
JP2006159738A (en) | Print controller, its data processing method, and storage medium | |
JP2001312383A (en) | Printer, high speed printing method and storage medium | |
JP2009269179A (en) | Printer, program and recording medium | |
JP2004038527A (en) | Printer driver, printing control method, computer-readable storage medium, and program | |
JP2004030386A (en) | Image processing method and image processor | |
JP2003280850A (en) | High speed printer and high speed printing method using the printer | |
JP2010012737A (en) | Print control apparatus, printing system, plotting method and program | |
JP4467715B2 (en) | Image output control apparatus and method | |
JP2006331259A (en) | Information processing device | |
JP4325339B2 (en) | Printing system, host computer and printer driver | |
JP2004230726A (en) | Processing method of plotting and plotting processor | |
JP2002096506A (en) | Rasterizing method, print controller, print system, and medium having program recorded therein | |
JPH11110151A (en) | Printer driver, computer having printer driver, and computer system |