JP2007334720A - Data processor, printing controller, printing system, data processing method, data processing program and recording medium having the program recorded thereon - Google Patents
Data processor, printing controller, printing system, data processing method, data processing program and recording medium having the program recorded thereon Download PDFInfo
- Publication number
- JP2007334720A JP2007334720A JP2006167040A JP2006167040A JP2007334720A JP 2007334720 A JP2007334720 A JP 2007334720A JP 2006167040 A JP2006167040 A JP 2006167040A JP 2006167040 A JP2006167040 A JP 2006167040A JP 2007334720 A JP2007334720 A JP 2007334720A
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- drawing command
- developed
- command
- 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.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、XMLなどのマークアップ言語により記述したデータから、ビットマップ形式などの画像データを生成するデータ処理装置、印刷制御装置、印刷システム、データ処理方法、データ処理プログラム、及びそのプログラムを記録した記録媒体に関する。 The present invention relates to a data processing device, a print control device, a printing system, a data processing method, a data processing program, and a program for generating image data in a bitmap format from data described in a markup language such as XML. Relates to the recording medium.
従来、マークアップ言語の1つであるXML(Extensible Markup Language)により記述されたデータ(以下、「XMLドキュメント」という)を処理可能としたXMLプリンタが知られている。 2. Description of the Related Art Conventionally, an XML printer that can process data described in XML (Extensible Markup Language), which is one of markup languages (hereinafter referred to as “XML document”), is known.
例えば、特許文献1に記載の技術では、プリンタドライバが、XMLドキュメントの内容を展開してプリンタが解釈可能な言語又はビットマップ形式で表された画像データを生成し、画像データをプリンタに送信することにより、XMLドキュメントの印刷を実現している。
For example, in the technique described in
また、特許文献2に記載の技術では、XMLドキュメントにネットワーク上のアドレス情報が含まれる場合に、ネットワーク上にあるアドレス情報の指定先のサーバと通信して、オブジェクトなどのデータを取得し、通信して取得したデータを組み込んだXMLドキュメントを解釈してレンダリングすることにより、画像データを生成している。こうして、アドレス情報が含まれたXMLドキュメントの印刷が実現される。また、通信して取得したオブジェクトをキャッシュしておくことで、同じオブジェクトの重複した通信を省き、処理を高速化させる技術が記載されている。
Further, in the technique described in
しかしながら、特許文献1に記載の技術では、XMLドキュメントを処理する際に、まずXMLドキュメントを言語解釈して描画命令を取得してから、得られた描画命令を次々に展開するために、例えば同じ描画命令が繰り返し描画される場合、同じ描画命令の描画処理が繰り返し行われることになる。このように、XMLドキュメントを効率的に処理することができないため、処理時間が掛かってしまうという課題がある。
However, in the technique described in
また、特許文献2に記載の技術では、ネットワークからデータを取得する通信に要する時間を短縮することができても、XMLドキュメントを展開して画像データを生成するために要する処理時間を短縮することはできない。
Further, with the technique described in
そこで、本発明は、XMLなどのマークアップ言語により記述したデータから、画像データを生成する処理を高速化することができるデータ処理装置、印刷制御装置、印刷システム、データ処理方法、データ処理プログラム、及びそのプログラムを記録した記録媒体を提供することを目的とする。 Therefore, the present invention provides a data processing device, a print control device, a printing system, a data processing method, a data processing program, and a data processing device capable of speeding up processing for generating image data from data described in a markup language such as XML. And a recording medium on which the program is recorded.
上記課題を解決するために、本発明のデータ処理装置は、描画内容をマークアップ言語で記述した入力データを受け付ける入力手段と、入力データを解釈して、入力データから描画命令を次々に取得する解釈手段と、描画命令を展開画像に展開し、展開画像を配置することによる描画処理を、取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す画像データを生成する展開手段と、展開画像を記憶手段に登録する登録手段とを備え、展開手段は、描画処理の処理対象とする描画命令と同じ描画命令の展開画像が記憶手段に登録済みであった場合に、当該処理対象の描画命令については、同じ描画命令の展開画像を記憶手段から読み出し、読み出した展開画像を配置することにより描画処理を行うことを特徴とする。 In order to solve the above problems, a data processing apparatus according to the present invention receives input data in which drawing contents are described in a markup language, interprets the input data, and sequentially obtains drawing commands from the input data. Interpreting means and drawing processing by developing drawing commands into developed images and arranging the developed images one after another for the obtained drawing commands to obtain image data representing an image in which a plurality of developed images are arranged. A developing unit for generating and a registering unit for registering the developed image in the storage unit, wherein the developing unit has registered in the storage unit a developed image having the same drawing command as the drawing command to be processed in the drawing process; In addition, with respect to the drawing command to be processed, the developed image of the same drawing command is read from the storage means, and the drawn processing is performed by arranging the read developed image. That.
この構成によれば、入力データを解釈して取得した描画命令は、展開画像に展開され、展開画像を配置する描画処理が次々に施されるようにして画像データを生成していくと共に、展開した展開画像は記憶手段に登録される。そして、処理対象とする描画命令と同じ描画命令の展開画像が記憶手段に登録済みであった場合、記憶手段に登録された展開画像を読み出して、読み出した展開画像を配置することにより描画処理を行うので、この処理対象の描画命令については展開することなく描画処理を行うことができる。これにより、マークアップ言語で記述された入力データから画像データを生成する処理を高速化することができる。 According to this configuration, the drawing command obtained by interpreting the input data is developed into a developed image, and image data is generated in such a manner that drawing processing for arranging the developed image is performed one after another. The developed image is registered in the storage means. If the developed image of the same drawing command as the processing target rendering command has already been registered in the storage means, the developed image registered in the storage means is read out, and the read processing image is arranged to perform the drawing process. Thus, the drawing process can be performed without developing the drawing command to be processed. As a result, it is possible to speed up the process of generating image data from input data described in a markup language.
また、本発明のデータ処理装置において、解釈手段は、入力データを解釈して描画命令の描画位置を取得し、描画位置のみが異なる描画命令を同じ描画命令とし、展開手段は、処理対象の描画命令と同じ描画命令の展開画像を記憶手段から読み出し、読み出した展開画像を処理対象の描画命令の描画位置に応じて配置することにより描画処理を行うことが好ましい。 In the data processing device of the present invention, the interpreting means interprets the input data to obtain the drawing position of the drawing command, and drawing commands that differ only in the drawing position are set as the same drawing command, and the expanding means draws the processing target drawing. It is preferable to perform the drawing process by reading out a developed image of the same drawing command as the command from the storage unit and arranging the read-out developed image in accordance with the drawing position of the drawing command to be processed.
この構成によれば、処理対象の描画命令と描画位置のみが異なる描画命令の展開画像を記憶手段から読み出し、読み出した展開画像を処理対象の描画命令の描画位置に応じて配置することにより描画位置を再現した描画処理が可能になる。これにより、登録した展開画像を読み出して描画処理を行う確率が高まり、処理をより高速化することができる。 According to this configuration, the rendering image of the rendering command that differs only in the rendering position from the rendering command to be processed is read from the storage unit, and the rendered image is arranged in accordance with the rendering position of the rendering command to be processed. Drawing processing that reproduces can be performed. Thereby, the probability that the registered developed image is read and the drawing process is performed is increased, and the process can be further speeded up.
また、本発明のデータ処理装置において、解釈手段は、取得した描画命令ごとに入力データにおける出現頻度を算出し、出現頻度の度数に応じて展開画像の登録対象とする描画命令を決定することが好ましい。 In the data processing device of the present invention, the interpreter may calculate the appearance frequency in the input data for each acquired drawing command, and determine a drawing command to be registered as a developed image according to the frequency of the appearance frequency. preferable.
この構成によれば、入力データにおける描画命令の出現頻度に応じて登録対象とする描画命令を決定することにより、記憶手段に登録する描画命令は出現頻度に応じて決定されるので、より効率的に処理できるようになる。 According to this configuration, since the drawing command to be registered is determined according to the appearance frequency by determining the drawing command to be registered according to the appearance frequency of the drawing command in the input data, it is more efficient. Can be processed.
また、本発明のデータ処理装置において、解釈手段は、入力データにおいて描画命令に相当する部分に含まれるタグのライン数を、描画命令ごとに算出し、タグのライン数を描画命令の出現頻度とすることが好ましい。 Further, in the data processing device of the present invention, the interpreting means calculates the number of tag lines included in a portion corresponding to the drawing command in the input data for each drawing command, and the number of tag lines is calculated as the appearance frequency of the drawing command. It is preferable to do.
この構成によれば、マークアップ言語で記述されたタグのライン数についての出現頻度を、描画命令の出現頻度とすることにより、登録対象とする描画命令を簡易な処理で決定することができる。 According to this configuration, the drawing command to be registered can be determined by simple processing by setting the appearance frequency for the number of lines of the tag described in the markup language to the appearance frequency of the drawing command.
また、本発明のデータ処理装置において、解釈手段が、既に配置済みの展開画像により表現される背景画像と展開画像とを合成するための合成条件が設定された描画命令を取得した場合、展開手段は、合成条件を含めて同じ描画命令を同じ描画命令として扱って、描画命令の展開画像に合成条件を反映させ、登録手段は、合成条件を反映した展開画像を記憶手段に登録することが好ましい。 Further, in the data processing apparatus of the present invention, when the interpreting unit acquires a drawing command in which a synthesis condition for synthesizing the background image expressed by the already deployed deployed image and the developed image is set, the developing unit Preferably, the same drawing command including the combining condition is treated as the same drawing command, the combining condition is reflected in the developed image of the drawing command, and the registering unit registers the expanded image reflecting the combining condition in the storage unit. .
この構成によれば、合成条件が同じ描画命令については、合成条件を反映した展開画像を記憶手段から読み出すようにして描画を行うため、設定された合成条件に従う表現を実現しながら、画像データを生成する処理を高速化することが可能になる。 According to this configuration, for rendering commands having the same composition condition, rendering is performed by reading out a developed image reflecting the composition condition from the storage unit, so that the image data is obtained while realizing the expression according to the set composition condition. It is possible to speed up the process to be generated.
また、本発明のデータ処理装置において、入力データから、所定の矩形領域を有するバンドごとの画像データを生成する場合、解釈手段及び展開手段は、バンドごとに処理することが好ましい。 In the data processing apparatus of the present invention, when generating image data for each band having a predetermined rectangular area from input data, it is preferable that the interpretation means and the expansion means process for each band.
この構成によれば、バンドごとの画像データを効率的に生成することができる。 According to this configuration, it is possible to efficiently generate image data for each band.
また、本発明のデータ処理装置において、マークアップ言語は、XML、HTML又はXHTMLのいずれかであることが好ましい。 In the data processing apparatus of the present invention, it is preferable that the markup language is any one of XML, HTML, and XHTML.
この構成によれば、XML、HTML又はXHTMLの形式の入力データから、画像データを生成するデータ処理装置を得ることができる。 According to this configuration, it is possible to obtain a data processing device that generates image data from input data in the format of XML, HTML, or XHTML.
本発明のもう1つの態様は、印刷装置に印刷用の画像データを供給する印刷制御装置であって、描画内容をマークアップ言語で記述した入力データを受け付ける入力手段と、入力データを解釈して、入力データから描画命令を次々に取得する解釈手段と、描画命令を展開画像に展開し、展開画像を配置することによる描画処理を、取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す画像データを生成する展開手段と、展開画像を記憶手段に登録する登録手段とを備え、展開手段は、描画処理の処理対象とする描画命令と同じ描画命令の展開画像が記憶手段に登録済みであった場合に、当該処理対象の描画命令については、同じ描画命令の展開画像を記憶手段から読み出して、読み出した展開画像を配置することにより描画処理を行うことを特徴とする。 Another aspect of the present invention is a print control apparatus that supplies image data for printing to a printing apparatus, an input unit that accepts input data in which drawing contents are described in a markup language, and interprets the input data. , Interpreting means for acquiring drawing commands one after another from input data, and drawing processing by expanding drawing commands into expanded images and arranging the expanded images one after another for the acquired drawing commands A developing unit that generates image data representing an image in which the image is arranged; and a registering unit that registers the developed image in the storage unit. The developing unit develops the same drawing command as a drawing command to be processed in the drawing process. When the image has been registered in the storage unit, for the drawing command to be processed, the developed image of the same drawing command is read from the storage unit, and the read developed image is arranged. And performing rendering processing by the.
この構成によれば、描画命令の展開に要する処理量を少なくすることができるので、マークアップ言語で記述された入力データから印刷用の画像データを生成する処理を高速化することができる。したがって、より早いタイミングで印刷用の画像データを印刷装置に供給して、印刷が行われるまでに要する時間をより短くすることが可能になる。 According to this configuration, it is possible to reduce the amount of processing required for developing the drawing command, so that it is possible to speed up the process of generating image data for printing from input data described in a markup language. Accordingly, it is possible to supply image data for printing to the printing apparatus at an earlier timing, and to shorten the time required for printing.
さらに、本発明のもう1つの態様は、印刷装置と、印刷装置を制御する印刷制御装置とを備えた印刷システムであって、印刷制御装置は、描画内容をマークアップ言語で記述した入力データを受け付ける入力手段と、入力データを解釈して、入力データから描画命令を次々に取得する解釈手段とを備え、印刷装置は、描画命令を展開画像に展開し、展開画像を配置することによる描画処理を、取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す印刷用の画像データを生成する展開手段と、展開画像を記憶手段に登録する登録手段とを備え、展開手段は、描画処理の処理対象とする描画命令と同じ描画命令の展開画像が記憶手段に登録済みであった場合に、当該処理対象の描画命令については、同じ描画命令の展開画像を記憶手段から読み出して、読み出した展開画像を配置することにより描画処理を行うことを特徴とする。 Furthermore, another aspect of the present invention is a printing system including a printing apparatus and a printing control apparatus that controls the printing apparatus, and the printing control apparatus receives input data that describes a drawing content in a markup language. The printing apparatus includes an input unit that accepts and an interpretation unit that interprets input data and sequentially obtains drawing commands from the input data, and the printing apparatus develops the drawing commands into a developed image and arranges the developed image. Are executed one after another for the acquired drawing command to generate image data for printing representing an image in which a plurality of developed images are arranged, and registration means for registering the developed images in the storage unit. , When the developed image having the same drawing command as the drawing command to be processed is registered in the storage unit, the developing unit uses the same drawing command for the processing target drawing command. It reads the expanded image from the storage unit, and performs drawing processing by placing the read expanded image.
この構成によれば、マークアップ言語で記述された入力データから画像データを生成する処理を高速化して、印刷が行われるまでに要する時間をより短くすることが可能な印刷システムを得ることができる。 According to this configuration, it is possible to obtain a printing system that can speed up the process of generating image data from input data described in a markup language and can further reduce the time required for printing. .
また、本発明は方法の発明とすることができる。すなわち、本発明のデータ処理方法は、描画内容をマークアップ言語で記述した入力データを受け付ける入力工程と、入力データを解釈して、入力データから描画命令を次々に取得する解釈工程と、描画命令を展開画像に展開し、展開画像を配置することによる描画処理を、取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す画像データを生成する展開工程と、展開画像を記憶手段に登録する登録工程とを備え、展開工程において、描画処理の処理対象とする描画命令と同じ描画命令の展開画像が記憶手段に登録済みであった場合に、当該処理対象の描画命令については、同じ描画命令の展開画像を記憶手段から読み出して、読み出した展開画像を配置することにより描画処理を行うことを特徴とする。 The present invention can also be a method invention. That is, the data processing method of the present invention includes an input step for receiving input data in which drawing contents are described in a markup language, an interpretation step for interpreting the input data and obtaining drawing commands one after another from the input data, and a drawing command A development process for generating image data representing an image in which a plurality of development images are arranged, by performing drawing processing by deploying the development images into a developed image and executing the drawing process by arranging the developed images one after another; A registration step of registering the developed image in the storage means, and in the development step, when the developed image of the same drawing command as the drawing processing target of the drawing process has been registered in the storage means, With respect to the drawing command, the developed image of the same drawing command is read from the storage means, and the drawn processing is performed by arranging the read developed image.
さらに、本発明はプログラム及びそのプログラムを記録した記録媒体とすることができる。すなわち、本発明のデータ処理プログラムは、コンピュータを、描画内容をマークアップ言語で記述した入力データを受け付ける入力手段、入力データを解釈して、入力データから描画命令を次々に取得する解釈手段、描画命令を展開画像に展開し、展開画像を配置することによる描画処理を、取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す画像データを生成する展開手段、展開画像を記憶手段に登録する登録手段、として機能させ、展開手段は、描画処理の処理対象とする描画命令と同じ描画命令の展開画像が記憶手段に登録済みであった場合に、当該処理対象の描画命令については、同じ描画命令の展開画像を記憶手段から読み出して、読み出した展開画像を配置することにより描画処理を行うことを特徴とする。 Furthermore, the present invention can be a program and a recording medium on which the program is recorded. That is, the data processing program of the present invention includes a computer, an input unit that accepts input data in which drawing contents are described in a markup language, an interpretation unit that interprets the input data, and obtains drawing commands from the input data one after another, a drawing Expansion means for expanding an instruction into a developed image and executing drawing processing by arranging the developed image one after another with respect to the acquired drawing command to generate image data representing an image in which a plurality of developed images are arranged; The development means functions as a registration means for registering the developed image in the storage means, and the development means performs processing when the developed image having the same drawing command as the drawing processing target is registered in the storage means. With respect to the drawing command, the developed image of the same drawing command is read from the storage means, and the read processing is performed by arranging the read developed image. The features.
このデータ処理プログラムを記録した記録媒体としては、フレキシブルディスク、CD−ROM、DVD−ROM、ICカード、又はメモリカードなどコンピュータが読み取り可能な種々の媒体を利用することができる。 As the recording medium on which the data processing program is recorded, various computer-readable media such as a flexible disk, a CD-ROM, a DVD-ROM, an IC card, or a memory card can be used.
以下、本発明を具体化した実施形態について図面を参照して説明する。 DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, embodiments of the invention will be described with reference to the drawings.
図1は、本実施形態に係る印刷システムの構成を示したブロック図である。図1に示すように、印刷システム1は、ホストコンピュータ(印刷制御装置)2及びプリンタ(印刷装置)3を備えている。
FIG. 1 is a block diagram illustrating a configuration of a printing system according to the present embodiment. As shown in FIG. 1, the
ホストコンピュータ2は汎用のパーソナルコンピュータであり、図1に示すように、CPU20、ROM21、RAM22、ハードディスク(HD)23、CD−ROMドライブ24、ネットワークインターフェイス(ネットワークI/F)25、及び通信インターフェイス(通信I/F)26を備えている。通信I/F26は、ケーブルを介してプリンタ3が接続されており、ホストコンピュータ2とプリンタ3とは相互にデータ通信可能となっている。また、ネットワークI/F25はLANケーブルなどを介してネットワークサーバ4と接続されており、ネットワークサーバ4と所定のプロトコルに従う通信を行うことにより、ホストコンピュータ2はインターネットに接続可能である。
The
CPU20は、ホストコンピュータ2の各構成を制御する部分である。ROM21はホストコンピュータ2を制御するための所定のプログラムなどが記録された不揮発性のメモリ、RAM22はワーキングメモリなどに用いる汎用のメモリである。また、RAM22の記憶領域上には、汎用の処理に用いるワーキング領域と、後述する描画命令の展開後のデータを登録するためのキャッシュ領域とが確保されている。キャッシュ領域は、CPU20によりFIFO,LIFO又はハッシュなど周知の手法によるメモリ管理が行われる。
The
HD23は、アプリケーションプログラムや本発明に係るデータ処理プログラムなどを記録している。なお、データ処理プログラムはHD23に予め記録されていてもよいし、CD−ROM5などの記録媒体に記録された形態で供給され、CPU20がCD−ROMドライブ24によりCD−ROM5からプログラムを読み出し、読み出したプログラムをHD23に記録するものとしてもよい。
The
そして、CPU20が、所定のオペレーションシステムの管理下で、HD23に記録されたアプリケーションプログラムを実行することによりアプリケーション100が機能し、データ処理プログラムを読み出して実行することによりプリンタドライバ200が機能する(図2参照)。
Then, under the control of a predetermined operation system, the
アプリケーション100は、文書作成ソフトウェアやウェブブラウザなどのプリンタ3に対する印刷要求元である。アプリケーション100は、文書作成ソフトウェアにより作成されたXMLドキュメントや、ウェブブラウザがネットワークサーバ4と通信するようにしてインターネットから取得したXMLドキュメントなどを印刷の対象として、印刷要求及びXMLドキュメントを含む所定のフォーマットの印刷データをプリンタドライバ200に受け渡す処理を行う。
The
プリンタドライバ(データ処理装置)200は、アプリケーション100から印刷データを受け取ると、XMLドキュメント(入力データ)を解釈して描画処理を行うことにより、プリンタ3が処理可能なフォーマットの画像データを生成し、この印刷用の画像データを通信I/F26を介してプリンタ3に送信する部分である。これらの処理を行うため、図2に示すように、プリンタドライバ200は、制御部210、XMLパース部(解釈手段)220及びレンダリング部230を備えている。
When the printer driver (data processing apparatus) 200 receives the print data from the
制御部210は、XMLパース部220及びレンダリング部230を制御して、XMLドキュメントに対する各種の処理を行わせる部分であり、アプリケーション100から受け渡されたXMLドキュメントに入力処理を行うXMLドキュメント入力部(入力手段)211と、XMLパース部220及びレンダリング部230とのデータ授受を制御するデータ制御部212とを有している。
The
XMLパース部220は、XMLドキュメントを解釈してXMLドキュメントの描画内容を表す描画命令を取得し、解釈して取得した描画命令を所定のフォーマットに変換して制御部210に受け渡す部分である。
The
レンダリング部230は、制御部210から受け渡された描画命令をビットマップ形式のオブジェクト画像(展開画像)に展開して、展開したオブジェクト画像を所定の画像領域に配置するようにしてビットマップ形式の画像データを生成するレンダリング処理を実行するレンダリング実行部(展開手段)231と、オブジェクト画像を表す展開データをキャッシュ領域に登録する展開データ登録部(登録手段)232とを有している。
The
また、レンダリング実行部231は、レンダリングの処理対象とする描画命令に対応する展開データがキャッシュ領域に登録済みであった場合には、キャッシュ領域から展開後の展開データを読み出し、読み出した展開データのオブジェクト画像を用いてレンダリング処理を行う。
In addition, when the decompressed data corresponding to the rendering command to be rendered is registered in the cache area, the
すなわち、本実施形態に係るプリンタドライバ200は、登録済みの描画命令にレンダリング処理を施す際には、当該描画命令を展開することなく、展開後の画像を表す展開データをキャッシュ領域から読み出すようにして、レンダリング処理を行うことを特徴としている。
In other words, the
次に、XMLドキュメントが入力された際にプリンタドライバ200が行う詳細な処理について、図3を参照しながら、図4〜図6のフローチャートに従って順番に説明する。なお、図3は、制御部210、XMLパース部220及びレンダリング部230間でのデータの動きを示した図であり、図4は制御部210、図5はXMLパース部220、図6はレンダリング部230が行う処理手順を示している。
Next, detailed processing performed by the
制御部210は、アプリケーション100からXMLドキュメントを受け取ると図4に示す処理を開始する。処理を開始すると、まず、ステップS100において、XMLドキュメント入力部211は、入力されたデータがXMLドキュメントであることを認識して入力処理を行う(図3(1)参照)。
When the
次に、ステップS110では、データ制御部212は、入力されたXMLドキュメントをXMLパース部220に受け渡す(図3(2)参照)。
Next, in step S110, the
ここで、実際には、XMLドキュメントを受け渡した後、制御部210は後述するステップS120の処理を行うが、説明の便宜のため、以下では、制御部210から受け渡されたXMLドキュメントに対してXMLパース部220が行う処理から説明する。
Here, in actuality, after delivering the XML document, the
XMLパース部220は、データ制御部212からXMLドキュメントが受け渡されると、図5に示す処理を開始する。処理を開始すると、ステップS200において、受け渡されたXMLドキュメントを構成するデータのうち、未処理の記述があるか否かを判断して、未処理の記述があれば(ステップS200:Yes)、ステップS210に進む。未処理の記述がなければ(ステップS200:No)、ステップS230に進む。
When the XML document is transferred from the
ステップS210に処理が進むと、XMLパース部220はXMLドキュメントの記述を解釈(パース)することにより描画命令を取得して、取得した描画命令をワーキング領域22aに格納する(図3(3)参照)。なお、ここで行うパースは描画命令単位で行う処理であり、XMLドキュメントの記述を順番に処理して、1つの描画命令が取得されるとステップS220に進む。
When the processing proceeds to step S210, the
パース時に行う処理について図7に示すXMLドキュメントを例にして説明する。図7に示すように、XMLドキュメントは、各行ごとに記述されたタグ及びタグに囲まれる部分に描画内容が記述されることにより構成されている。図7の例では、左端に示した行番号に従うと、「3」,「4」行目が描画内容の記述を含んでいる。パースする際には、先頭行からのタグを順番に解釈して、描画内容が記述された行から描画命令を1つずつ取得するようにして行う。 Processing performed at the time of parsing will be described using the XML document shown in FIG. 7 as an example. As shown in FIG. 7, the XML document is configured by describing rendering contents in a tag described for each line and a portion surrounded by the tag. In the example of FIG. 7, according to the line numbers shown at the left end, the “3” and “4” lines include the description of the drawing contents. When parsing, the tags from the first line are interpreted in order, and the drawing commands are acquired one by one from the line in which the drawing contents are described.
具体的には、図7に示すXMLドキュメントによれば、行番号「3」の記述により描画開始位置A(x=50,y=50)が指定され、行番号「4」の記述により描画開始位置Aから、位置B(150,50),C(150,150),D(50、150)を順番に通って描画開始位置Aに戻る線からなる1つのオブジェクトを描画する描画内容が取得される(図8参照)。 Specifically, according to the XML document shown in FIG. 7, the drawing start position A (x = 50, y = 50) is specified by the description of the line number “3”, and the drawing start is performed by the description of the line number “4”. The drawing content for drawing one object consisting of a line returning from the position A to the drawing start position A in order through the positions B (150, 50), C (150, 150), and D (50, 150) is acquired. (See FIG. 8).
このようにして、XMLパース部220は、XMLドキュメントをパースすることにより、1つのオブジェクトからなる描画内容を描画するための描画命令及び描画開始位置を取得する。
In this way, the
なお、図7,8の例では図形のオブジェクトを描画する場合の一例について説明したが、XMLドキュメントの描画内容としてはこれに限られることなく、XMLドキュメントの描画内容はテキストやビットマップ形式などのイメージであってもよい。 In the examples of FIGS. 7 and 8, an example of drawing a graphic object has been described. However, the drawing contents of an XML document are not limited to this, and the drawing contents of an XML document include text and bitmap formats. It may be an image.
次に、ステップS220では、XMLパース部220は、ワーキング領域22aに記憶した描画命令を制御部210に受け渡す(図3(4)参照)。なお、ここで受け渡す描画命令は、描画命令をワーキング領域22aに記憶したアドレスを指定したデータである。すなわち、XMLパース部220が受け渡す描画命令は、描画命令の実データではなく、アドレス指定の形式になっている。
Next, in step S220, the
ステップS220にて描画命令を制御部210に受け渡すと、ステップS200に処理が戻って、XMLドキュメントに含まれる未処理のデータから次の描画命令を取得して制御部210に受け渡す処理を繰り返す。受け渡されたXMLドキュメントの全ての記述について処理を終えると(ステップS200:No)、ステップS230に進んで、XMLパース部220はデータ終了通知を制御部210に受け渡す。
When the drawing command is transferred to the
このように、XMLパース部220は受け取ったXMLドキュメントを解釈して、アドレス指定の描画命令を制御部210に受け渡す処理を行っている。
In this way, the
次に、図4のフローチャートに戻って、制御部210がXMLパース部220からデータを受け取った際に行う処理手順について説明する。
Next, returning to the flowchart of FIG. 4, a processing procedure performed when the
制御部210は、上記したXMLドキュメントの入力処理(ステップS100及びステップS110)を終了したタイミングでステップS120の処理を開始している。ステップS120では、データ制御部212は、XMLパース部220から受け渡されるデータを監視するようにして、XMLパース部220からデータを受信したか否かを判断し続けている。データを受信していなければ(ステップS120:No)、再びステップS120の処理を行うようにして監視を続行する。そして、XMLパース部220からデータを受信すると(ステップS120:Yes)、ステップS130に進む。
The
ステップS130に処理が進むと、データ制御部212は、受信したデータが描画命令であるか否かを判断する。受信したデータが描画命令であれば(ステップS130:Yes)、ステップS140に進む。描画命令でなければ(ステップS130:No)、ステップS150に進む。
When the process proceeds to step S130, the
ステップS140に処理が進むと、データ制御部212は、描画命令に示されるアドレス指定先のワーキング領域22aにアクセスして、描画命令の実データを読み出し(図3(5)参照)、描画命令の実データをレンダリング部230に受け渡す(図3(6)参照)。
When the processing proceeds to step S140, the
ステップS140において描画命令がレンダリング部230に受け渡されると、ステップS120に処理が戻るようにして、データ制御部212は次にXMLパース部220から送信されるデータの監視を続行する。
When the drawing command is transferred to the
また、ステップS130の処理において受信したデータが描画命令でなければ(ステップS130:No)、ステップS150に処理が進んで、受信したデータがデータ終了通知であるか否かを判断する。受信したデータがデータ終了通知でなければ(ステップS150:No)、ステップS120に戻ってデータの監視を続行する。データ終了通知であれば(ステップS150:Yes)、ステップS160に進み、データ終了通知を、レンダリング部230に通知する。そして、入力されたXMLドキュメントに対して制御部210が行う図4に示した処理を終了する。
If the data received in the process of step S130 is not a drawing command (step S130: No), the process proceeds to step S150 to determine whether the received data is a data end notification. If the received data is not a data end notification (step S150: No), the process returns to step S120 to continue monitoring the data. If it is a data end notification (step S150: Yes), the process proceeds to step S160, and a data end notification is notified to the
このように、制御部210は、XMLパース部220から描画命令を受け取った場合には、アドレス指定された描画命令を読み出して、描画命令の実データをレンダリング部230に受け渡す処理を行っている。
As described above, when the
次に、レンダリング部230が行う処理手順について、図6のフローチャートに従って説明する。
Next, the processing procedure performed by the
図6に示す処理を開始すると、ステップS300において、レンダリング部230は制御部210からデータを受けとったか否かを判断して、新たにデータを受け取っていなければ(ステップS300:No)、所定の時間経過後に再びステップS300の判断を行うようにして、新たにデータを受け取っていればステップS310に進む(ステップS300:Yes)。
When the process shown in FIG. 6 is started, in step S300, the
ステップS310に処理が進むと、レンダリング部230は受け取ったデータが描画命令であるか否かを判断する。描画命令であれば(ステップS310:Yes)、ステップS320に進む。描画命令でなければ(ステップS310:No)、ステップS370に進む。
When the process proceeds to step S310, the
ステップS320に処理が進むと、レンダリング部230は受け取った描画命令が未登録であるか否かを判断する。具体的な判断手法としては、キャッシュ領域22bに登録された描画命令を参照して、受け取った描画命令と同じ描画命令を探索することにより行う。描画命令の種類及びその描画内容が、受け取った描画命令に一致する命令が登録されていれば、登録済みであると判断し、描画命令の種類及びその描画内容が一致する命令が登録されていなければ、未登録と判断する。
When the process proceeds to step S320, the
ここで、同じ描画命令の判断に際しては、描画開始位置に対する相対的な描画内容が一致する描画命令、すなわち、描画開始位置のみが異なる描画内容の描画命令は同じ命令と判断する。また、描画命令に、描画内容の重なり表現(アルファブレンド)を規定するアルファ値やROP関数、又は色などがさらに設定されていれば、これらの条件も含めて一致する描画命令を同じ描画命令と判断することが望ましい。 Here, when determining the same drawing command, a drawing command having the same relative drawing content with respect to the drawing start position, that is, a drawing command having different drawing content only in the drawing start position is determined to be the same command. If the drawing command further includes an alpha value, ROP function, or color that defines the overlapping expression (alpha blending) of the drawing content, the matching drawing command including these conditions is the same drawing command. It is desirable to judge.
受け取った描画命令が未登録であれば(ステップS320:Yes)、ステップS330に処理が進んで、受け取った描画命令に従う描画を行うことにより、ビットマップ形式のオブジェクト画像に展開する。そして、ステップS340において、展開データ登録部232は、展開したオブジェクト画像を表す展開データをキャッシュ領域22bに登録する(図3(7)参照)。
If the received drawing command is not registered (step S320: Yes), the process proceeds to step S330, and drawing according to the received drawing command is performed to develop an object image in a bitmap format. In step S340, the development
受け取った描画命令が登録済みであれば(ステップS320:No)、ステップS350に処理が進んで、受け取った描画命令に対応する展開データをキャッシュ領域22bより読み出して取得する(図3(8)参照)。
If the received drawing command has been registered (step S320: No), the process proceeds to step S350, and the expanded data corresponding to the received drawing command is read from the
ステップS340又はステップS350の処理を終えると、ステップS360に処理が進んで、レンダリング実行部231は、読み出した展開データのオブジェクト画像については、受け取った描画命令の描画開始位置に合わさるように描画位置の座標変換を行って、受け取った描画命令の描画開始位置にオブジェクト画像を配置するようにして、ビットマップ形式の画像データにオブジェクト画像を埋め込む処理を行う。このレンダリング処理により、処理対象の描画命令を反映させたビットマップ形式の画像データが得られる。ステップS360の処理を終えると、ステップS310に戻って次に受け取るデータについての処理を行う。
When the process of step S340 or step S350 is completed, the process proceeds to step S360, and the
また、ステップS310において受け取ったデータが描画データでなければ(ステップS310:No)、ステップS370に処理が進んで、レンダリング部230は、データ終了通知であるか否かを判断する。データ終了通知でなければ(ステップS370:No)、ステップS310に戻って、次に受け取るデータについて処理を行う。
If the data received in step S310 is not drawing data (step S310: No), the process proceeds to step S370, and the
受け取ったデータがデータ終了通知であれば(ステップS370:Yes)、制御部210から次々に受け取る描画データに対してステップS320〜ステップS360の処理を次々に行うようにして、XMLドキュメント全体に対応する画像データが生成済みであるので、生成した画像データをデータ制御部212に受け渡してから(ステップS380)、図6に示した処理を終了する。制御部210は、受け取った画像データを通信I/F26を介してプリンタ3に送信することにより、ホストコンピュータ2はプリンタ3にXMLドキュメントの内容を印刷させる。
If the received data is a data end notification (step S370: Yes), the processing from step S320 to step S360 is sequentially performed on the drawing data received from the
なお、ステップS100及びステップS110の処理が入力工程、ステップS200〜ステップS220の処理が解釈工程、ステップS310〜ステップS330及びステップS350、ステップS360の処理が展開工程、ステップS340の処理が登録工程に相当する。 Note that the processes in steps S100 and S110 correspond to the input process, the processes in steps S200 to S220 correspond to the interpretation process, the processes in steps S310 to S330 and steps S350 and S360 correspond to the development process, and the process in step S340 corresponds to the registration process. To do.
以上に説明したように、XMLドキュメントから取得した描画命令は、同じ描画命令の展開データが未登録であれば、レンダリング部230において、当該描画命令を展開したオブジェクト画像をキャッシュ領域22bに登録して、同じ描画命令の展開データが登録済みであれば、キャッシュ領域22bから読み出した展開データのオブジェクト画像を用いてレンダリングを行うようにしている。
As described above, if the rendering command acquired from the XML document is not registered, the
以下、本実施形態の効果を記載する。 Hereinafter, effects of the present embodiment will be described.
(1)レンダリング部230は、描画命令が登録済みの場合には、描画命令に従う描画を行うことなく、展開後のオブジェクト画像を表す展開データをRAM22から読み出し、オブジェクト画像を配置するようにしてレンダリング処理を行うことができる。したがって、XMLドキュメントを解釈結果に同じ描画命令が複数個含まれていれば、XMLドキュメントを画像データに展開する処理効率が良くなり、より高速に処理することが可能になる。
(1) When the rendering command has been registered, the
(2)XMLドキュメントを解釈して、描画位置が異なっても描画内容が同じ描画命令については同じ描画命令として登録するので、登録した描画命令を読み出してレンダリング処理を行う確率が高まり、より高速に処理することが可能になる。 (2) Interpreting an XML document and registering drawing commands with the same drawing contents even if the drawing positions are different as the same drawing command is registered, so that the probability that the registered drawing command is read and the rendering process is performed is increased, and the speed is increased. It becomes possible to process.
以上、本発明の一実施形態を説明したが、本発明はこうした実施の形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内において様々な形態で実施することもできる。以下、変形例を挙げて説明する。 Although one embodiment of the present invention has been described above, the present invention is not limited to such an embodiment, and can be implemented in various forms without departing from the spirit of the present invention. Hereinafter, a modification will be described.
(変形例1)上記実施形態では、展開データ登録部232は未登録の全ての描画命令について展開後のオブジェクト画像を登録するようにしたが、描画命令の出現頻度を判断して、出現頻度が高い描画命令のみを登録対象としてもよい。例えば、XMLドキュメントに含まれる複数のタグについて、描画命令ごとにタグで囲まれたライン数(図7の例では、4行目の描画命令に対して、3行目からm行目のライン数「m−3」)を算出しておく。そして、XMLドキュメントにおけるライン数の出現頻度が所定の回数若しくは比率以上となる描画命令を登録対象とする。このようにすれば、タグに囲まれた命令を複数種類含むXMLドキュメントを処理する際に、出現頻度の高い描画命令から登録がなされる。これにより、登録した描画命令を読み出すようにして利用する確率が高まるので、簡易な処理によりキャッシュ領域22bの利用効率を向上させながら、従来に比べてより高速な処理を実現することができる。なお、出現頻度の分散が高いときには、登録した描画命令を利用する可能性が低くなるので、登録しないようにしてもよい。
(Modification 1) In the above embodiment, the development
(変形例2)XMLドキュメントを解釈した描画命令に、オブジェクト画像の透かしなどの重なり表現(アルファブレンド)を規定するためのアルファ値やROP関数などの合成条件が設定されている場合、アルファ値やROP関数を参照して、登録対象とする描画命令を決定してもよい。例えば、展開したオブジェクト画像に対して一定のアルファ値が設定されている描画命令を登録の対象として、オブジェクト画像内の位置に応じてアルファ値が変化する描画命令を登録対象から外すことにより、登録対象の描画命令を簡易に判断して、重なり表現を再現したレンダリング処理をより高速に行うことが可能になる。 (Modification 2) When a rendering command that interprets an XML document is set with an alpha value or ROP function or the like for defining an overlapping expression (alpha blend) such as a watermark of an object image, A drawing command to be registered may be determined with reference to the ROP function. For example, by registering a drawing command in which a certain alpha value is set for a developed object image as a registration target, by removing from the registration command a drawing command whose alpha value changes according to the position in the object image It is possible to perform a rendering process that reproduces the overlapping expression more quickly by simply determining the target drawing command.
(変形例3)上記実施形態では、1つの描画命令に対して1つの展開画像を登録するようにしたが、複数の描画命令を展開して得られる1つの展開画像を登録するようにしてもよい。すなわち、展開データ登録部232は、繰り返し用いられる複数の描画命令からなる描画命令群を探索して、描画命令群の各描画命令を展開することにより得られる1つの画像についての展開データを登録する。そして、レンダリング実行部231は、同じ描画命令群を受け取ると、登録した展開データを読み出すようにして、描画処理を行う。このようにすれば、繰り返し出現する複数の描画命令を纏めて処理することができるので、さらに高速な処理を実現することが可能になる。
(Modification 3) In the above embodiment, one developed image is registered for one drawing command. However, one developed image obtained by developing a plurality of drawing commands may be registered. Good. That is, the development
(変形例4)上記実施形態では、印刷制御装置としてのホストコンピュータ側のプリンタドライバ200が、パース及びレンダリングの処理を行ったが、本発明はこの態様に限られない。例えば、ホストコンピュータ側でパースの処理を行い、プリンタ側でレンダリングの処理を行うようにしてもよい。すなわち、図9(a)に示すように、印刷システム1は、制御部210及びXMLパース部220を有するプリンタドライバ200を備えたホストコンピュータ2と、レンダリング部230、印刷処理部300、及び印刷エンジン310を備えたプリンタ3とを具備する。
(Modification 4) In the above embodiment, the
この印刷システム1において、制御部210は、XMLパース部220からの描画命令を通信I/Fによりプリンタ3に受け渡して、プリンタ3側のレンダリング部230は、未登録の描画命令についてはプリンタ3内部のメモリ(図示なし)に展開データを登録しておく。レンダリング部230は、受け取った描画命令を展開した展開データ、又はメモリから読み出した展開データを用いて、画像データを生成する。そして、印刷処理部300が画像データを印刷エンジン310に対応する画像信号に変換して、印刷エンジン310はこの画像信号に従って印刷を行う。これにより、上記実施形態と同様の効果を奏する印刷システムを得ることができる。
In this
また、プリンタ側に、データ処理装置を有したシステムであってもよい。すなわち、図9(b)に示すように、プリンタ3は、XMLパース部220、レンダリング部230、印刷処理部300、及び印刷エンジン310を備えている。この場合、ホストコンピュータ2はXMLドキュメントを含む印刷データをプリンタ3に送信して、XMLパース部220及びレンダリング部230を有するプリンタ側のデータ処理装置がパース及びレンダリングを行う。
Also, a system having a data processing device on the printer side may be used. That is, as shown in FIG. 9B, the
(変形例5)展開後のデータ形式はビットマップ形式に限られない。例えば、バンドごとに描画内容の命令を示した中間コードのデータを受け渡す印刷システムであれば、レンダリング部230は描画命令を、中間コードデータ(画像データ)に展開するとよい。
(Modification 5) The data format after expansion is not limited to the bitmap format. For example, in a printing system that delivers intermediate code data indicating a rendering content command for each band, the
(変形例6)前記実施形態では、XML形式のデータを処理する例について説明したが、HTML(Hypertext Markup Language)やXHTML(Extensible Hypertext Markup Language)などのマークアップ言語で記述されたデータを処理するようにしてもよい。 (Modification 6) In the above embodiment, an example of processing XML format data has been described. However, data described in a markup language such as HTML (Hypertext Markup Language) or XHTML (Extensible Hypertext Markup Language) is processed. You may do it.
(変形例7)本発明は、プリンタに限られることなく、複写機やファックスに適用することもできる。また、XMLドキュメントをビットマップなどの画像データに展開する処理であれば、上記した機器に限られることなく、様々な用途に用いることも可能である。 (Modification 7) The present invention is not limited to a printer, but can also be applied to a copying machine or a fax machine. Further, as long as the XML document is processed into image data such as a bitmap, the present invention is not limited to the above-described device, and can be used for various purposes.
1…印刷システム、2…印刷制御装置としてのホストコンピュータ、3…印刷装置としてのプリンタ、4…ネットワークサーバ、5…記録媒体としてのCD−ROM、20…CPU、21…ROM、22…記憶手段としてのRAM、22a…ワーキング領域、22b…キャッシュ領域、23…ハードディスク、24…CD−ROMドライブ、25…ネットワークインターフェイス、26…通信インターフェイス、100…アプリケーション、200…データ処理装置としてのプリンタドライバ、210…制御部、211…入力手段としてのXMLドキュメント入力部、212…データ制御部、220…解釈手段としてのXMLパース部、230…レンダリング部、231…展開手段としてのレンダリング実行部、232…登録手段としての展開データ登録部、300…印刷処理部、310…印刷エンジン。
DESCRIPTION OF
Claims (12)
前記入力データを解釈して、前記入力データから描画命令を次々に取得する解釈手段と、
前記描画命令を展開画像に展開し、前記展開画像を配置することによる描画処理を、前記取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す画像データを生成する展開手段と、
前記展開画像を記憶手段に登録する登録手段とを備え、
前記展開手段は、前記描画処理の処理対象とする描画命令と同じ描画命令の展開画像が前記記憶手段に登録済みであった場合に、当該処理対象の描画命令については、前記同じ描画命令の展開画像を前記記憶手段から読み出し、前記読み出した展開画像を配置することにより描画処理を行うことを特徴とするデータ処理装置。 An input means for receiving input data in which the drawing content is described in a markup language;
Interpreting means for interpreting the input data and successively obtaining drawing commands from the input data;
The drawing command is developed into a developed image, and a drawing process by arranging the developed image is sequentially executed for the acquired drawing command to generate image data representing an image in which a plurality of developed images are arranged. Deployment means to
Registration means for registering the developed image in a storage means,
The expansion unit expands the same drawing command for the processing target drawing command when a developed image of the same drawing command as the processing target of the drawing process has been registered in the storage unit. A data processing apparatus that performs drawing processing by reading an image from the storage unit and arranging the read developed image.
前記解釈手段は、前記入力データを解釈して前記描画命令の描画位置を取得し、前記描画位置のみが異なる描画命令を同じ描画命令とし、
前記展開手段は、前記処理対象の描画命令と同じ描画命令の展開画像を前記記憶手段から読み出し、前記読み出した展開画像を前記処理対象の描画命令の描画位置に応じて配置することにより描画処理を行うことを特徴とするデータ処理装置。 The data processing apparatus according to claim 1,
The interpretation means interprets the input data to obtain a drawing position of the drawing command, and draw commands that differ only in the drawing position as the same drawing command,
The unfolding unit reads a unfolded image of the same drawing command as the drawing command to be processed from the storage unit, and arranges the read unfolded image according to the drawing position of the drawing command to be processed to perform the drawing process. A data processing apparatus that performs the processing.
前記解釈手段は、前記取得した描画命令ごとに前記入力データにおける出現頻度を算出し、前記出現頻度の度数に応じて前記展開画像の登録対象とする描画命令を決定することを特徴とするデータ処理装置。 The data processing apparatus according to claim 1 or 2,
The interpretation unit calculates an appearance frequency in the input data for each of the acquired drawing commands, and determines a drawing command to be registered in the developed image according to the frequency of the appearance frequency apparatus.
前記解釈手段は、前記入力データにおいて前記描画命令に相当する部分に含まれるタグのライン数を、前記描画命令ごとに算出し、前記タグのライン数を前記描画命令の出現頻度とすることを特徴とするデータ処理装置。 The data processing apparatus according to claim 3, wherein
The interpreter calculates the number of tag lines included in a portion corresponding to the drawing command in the input data for each drawing command, and sets the number of tag lines as the appearance frequency of the drawing command. A data processing device.
前記解釈手段が、既に配置済みの展開画像により表現される背景画像と前記展開画像とを合成するための合成条件が設定された描画命令を取得した場合、
前記展開手段は、前記合成条件を含めて同じ描画命令を同じ描画命令として扱って、前記描画命令の展開画像に前記合成条件を反映させ、
前記登録手段は、前記合成条件を反映した展開画像を前記記憶手段に登録することを特徴とするデータ処理装置。 In the data processing device according to any one of claims 1 to 4,
When the interpreting unit obtains a drawing command in which a synthesis condition for synthesizing the developed image with the background image represented by the deployed image already arranged is set,
The expanding means treats the same drawing command including the combining condition as the same drawing command, and reflects the combining condition in the expanded image of the drawing command,
The data processing apparatus according to claim 1, wherein the registration unit registers a developed image reflecting the synthesis condition in the storage unit.
前記入力データから、所定の矩形領域を有するバンドごとの画像データを生成する場合、
前記解釈手段及び前記展開手段は、前記バンドごとに処理することを特徴とするデータ処理装置。 The data processing apparatus according to any one of claims 1 to 5,
When generating image data for each band having a predetermined rectangular area from the input data,
The data processing apparatus characterized in that the interpreting means and the expanding means perform processing for each band.
前記マークアップ言語は、XML、HTML又はXHTMLのいずれかであることを特徴とするデータ処理装置。 The data processing apparatus according to any one of claims 1 to 6,
The data processing apparatus according to claim 1, wherein the markup language is one of XML, HTML, and XHTML.
描画内容をマークアップ言語で記述した入力データを受け付ける入力手段と、
前記入力データを解釈して、前記入力データから描画命令を次々に取得する解釈手段と、
前記描画命令を展開画像に展開し、前記展開画像を配置することによる描画処理を、前記取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す画像データを生成する展開手段と、
前記展開画像を記憶手段に登録する登録手段とを備え、
前記展開手段は、前記描画処理の処理対象とする描画命令と同じ描画命令の展開画像が前記記憶手段に登録済みであった場合に、当該処理対象の描画命令については、前記同じ描画命令の展開画像を前記記憶手段から読み出して、前記読み出した展開画像を配置することにより描画処理を行うことを特徴とする印刷制御装置。 A printing control device that supplies image data for printing to a printing device,
An input means for receiving input data in which the drawing content is described in a markup language;
Interpreting means for interpreting the input data and successively obtaining drawing commands from the input data;
The drawing command is developed into a developed image, and a drawing process by arranging the developed image is sequentially executed for the acquired drawing command to generate image data representing an image in which a plurality of developed images are arranged. Deployment means to
Registration means for registering the developed image in a storage means,
The expansion unit expands the same drawing command for the processing target drawing command when a developed image of the same drawing command as the processing target of the drawing process has been registered in the storage unit. A printing control apparatus that performs drawing processing by reading an image from the storage unit and arranging the read developed image.
前記印刷制御装置は、
描画内容をマークアップ言語で記述した入力データを受け付ける入力手段と、
前記入力データを解釈して、前記入力データから描画命令を次々に取得する解釈手段とを備え、
前記印刷装置は、
前記描画命令を展開画像に展開し、前記展開画像を配置することによる描画処理を、前記取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す印刷用の画像データを生成する展開手段と、
前記展開画像を記憶手段に登録する登録手段とを備え、
前記展開手段は、前記描画処理の処理対象とする描画命令と同じ描画命令の展開画像が前記記憶手段に登録済みであった場合に、当該処理対象の描画命令については、前記同じ描画命令の展開画像を前記記憶手段から読み出して、前記読み出した展開画像を配置することにより描画処理を行うことを特徴とする印刷システム。 A printing system comprising a printing device and a printing control device for controlling the printing device,
The print control device includes:
An input means for receiving input data in which the drawing content is described in a markup language;
Interpretation means for interpreting the input data and sequentially obtaining drawing commands from the input data;
The printing apparatus includes:
An image for printing representing an image in which a plurality of developed images are arranged by executing drawing processing by expanding the drawing command into a developed image and arranging the developed image one after another for the acquired drawing command. Expansion means for generating data;
Registration means for registering the developed image in a storage means,
The expansion unit expands the same drawing command for the processing target drawing command when a developed image of the same drawing command as the processing target of the drawing process has been registered in the storage unit. A printing system that performs drawing processing by reading an image from the storage unit and arranging the read developed image.
前記入力データを解釈して、前記入力データから描画命令を次々に取得する解釈工程と、
前記描画命令を展開画像に展開し、前記展開画像を配置することによる描画処理を、前記取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す画像データを生成する展開工程と、
前記展開画像を記憶手段に登録する登録工程とを備え、
前記展開工程において、前記描画処理の処理対象とする描画命令と同じ描画命令の展開画像が前記記憶手段に登録済みであった場合に、当該処理対象の描画命令については、前記同じ描画命令の展開画像を前記記憶手段から読み出して、前記読み出した展開画像を配置することにより描画処理を行うことを特徴とするデータ処理方法。 An input process for receiving input data in which a drawing content is described in a markup language;
Interpreting the input data and sequentially obtaining drawing commands from the input data;
The drawing command is developed into a developed image, and a drawing process by arranging the developed image is sequentially executed for the acquired drawing command to generate image data representing an image in which a plurality of developed images are arranged. Deployment process to
A registration step of registering the developed image in a storage means,
In the expanding step, when a developed image of the same drawing command as the drawing command to be processed in the drawing process has been registered in the storage unit, the same drawing command is expanded for the processing target drawing command. A data processing method comprising: performing drawing processing by reading an image from the storage unit and arranging the read developed image.
描画内容をマークアップ言語で記述した入力データを受け付ける入力手段、
前記入力データを解釈して、前記入力データから描画命令を次々に取得する解釈手段、
前記描画命令を展開画像に展開し、前記展開画像を配置することによる描画処理を、前記取得された描画命令について次々に実行して、複数の展開画像が配置された画像を表す画像データを生成する展開手段、
前記展開画像を記憶手段に登録する登録手段、として機能させ、
前記展開手段は、前記描画処理の処理対象とする描画命令と同じ描画命令の展開画像が前記記憶手段に登録済みであった場合に、当該処理対象の描画命令については、前記同じ描画命令の展開画像を前記記憶手段から読み出して、前記読み出した展開画像を配置することにより描画処理を行うことを特徴とするデータ処理プログラム。 Computer
An input means for receiving input data in which the drawing content is described in a markup language;
Interpreting means for interpreting the input data and sequentially obtaining drawing commands from the input data;
The drawing command is developed into a developed image, and a drawing process by arranging the developed image is sequentially executed for the acquired drawing command to generate image data representing an image in which a plurality of developed images are arranged. Deployment means,
Function as registration means for registering the developed image in the storage means,
The expansion unit expands the same drawing command for the processing target drawing command when a developed image of the same drawing command as the processing target of the drawing process has been registered in the storage unit. A data processing program for performing drawing processing by reading out an image from the storage means and arranging the read out developed image.
A computer-readable recording medium on which the data processing program according to claim 11 is recorded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006167040A JP2007334720A (en) | 2006-06-16 | 2006-06-16 | Data processor, printing controller, printing system, data processing method, data processing program and recording medium having the program recorded thereon |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006167040A JP2007334720A (en) | 2006-06-16 | 2006-06-16 | Data processor, printing controller, printing system, data processing method, data processing program and recording medium having the program recorded thereon |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007334720A true JP2007334720A (en) | 2007-12-27 |
Family
ID=38934132
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006167040A Withdrawn JP2007334720A (en) | 2006-06-16 | 2006-06-16 | Data processor, printing controller, printing system, data processing method, data processing program and recording medium having the program recorded thereon |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007334720A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010221422A (en) * | 2009-03-19 | 2010-10-07 | Konica Minolta Business Technologies Inc | Printing apparatus and program |
JP2012210815A (en) * | 2012-06-08 | 2012-11-01 | Konica Minolta Business Technologies Inc | Printer and program |
-
2006
- 2006-06-16 JP JP2006167040A patent/JP2007334720A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010221422A (en) * | 2009-03-19 | 2010-10-07 | Konica Minolta Business Technologies Inc | Printing apparatus and program |
US8437017B2 (en) | 2009-03-19 | 2013-05-07 | Konica Minolta Business Technologies, Inc. | Printing apparatus and computer program product for displaying bitmap of operation screen from rasterized PDL and controlling layout |
JP2012210815A (en) * | 2012-06-08 | 2012-11-01 | Konica Minolta Business Technologies Inc | Printer and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3835322B2 (en) | Printing system, printing device, web server, progress display data providing server, program | |
JP2004178284A (en) | Image processor | |
JP5261250B2 (en) | Print data processing apparatus, method, and computer-readable medium for processing page description language | |
JP2007329919A (en) | Image forming apparatus and control method therefor | |
JP5077105B2 (en) | Image processing apparatus, image processing program, and image processing system | |
US7973956B2 (en) | High speed printing method and apparatus | |
JP4761535B2 (en) | Document management apparatus and method, program | |
JP2007334720A (en) | Data processor, printing controller, printing system, data processing method, data processing program and recording medium having the program recorded thereon | |
JP4136917B2 (en) | Document processing apparatus and document processing method | |
JP2006079192A (en) | Information processor, image processing system, image processing method, storage medium with computer readable program stored therein and program | |
JP4770609B2 (en) | PRINT CONTROL DEVICE, DRIVER PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM | |
JP2009269179A (en) | Printer, program and recording medium | |
JP2007328493A (en) | Data processor, print control device, print system, data processing method, data processing program and recording medium with the program recorded thereon | |
JP4775673B2 (en) | Drawing processing device, image output device, program | |
JP2009289121A (en) | Information processor, output device, output processing method and program | |
JP2009071737A (en) | Image processor, image processing system, image processing method, program, and recording medium | |
JP2008009593A (en) | Printing control device, printing system, method for controlling printing device, driver program, and recording medium with program recorded | |
JP3919547B2 (en) | Form printing system, terminal device, printing method, computer-readable storage medium, and computer program | |
JP2009003832A (en) | Printing system, printing control device, printing control method, printing control program, and recording medium recording of the program | |
JP2002335393A (en) | Print data generating method and its print system | |
JP2009005131A (en) | Image processing apparatus, image processing method, image processing program, and recording medium recording the program | |
JP2003173446A (en) | Image processing device, system and method, storage medium and program | |
JP2006065373A (en) | Printing system, printing method, and storage medium | |
JPH07144444A (en) | Communication controller | |
JP2006053814A (en) | Image processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20090901 |