JP2006268797A - Output data generation device, output data generation method and output data generation program - Google Patents
Output data generation device, output data generation method and output data generation program Download PDFInfo
- Publication number
- JP2006268797A JP2006268797A JP2005090109A JP2005090109A JP2006268797A JP 2006268797 A JP2006268797 A JP 2006268797A JP 2005090109 A JP2005090109 A JP 2005090109A JP 2005090109 A JP2005090109 A JP 2005090109A JP 2006268797 A JP2006268797 A JP 2006268797A
- Authority
- JP
- Japan
- Prior art keywords
- data
- output data
- shared
- output
- interpreted
- 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
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000012546 transfer Methods 0.000 claims description 30
- 238000006243 chemical reaction Methods 0.000 claims description 26
- 230000006870 function Effects 0.000 claims description 11
- 238000004904 shortening Methods 0.000 abstract description 4
- 238000012545 processing Methods 0.000 description 19
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 9
- 238000013500 data storage Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
Images
Abstract
Description
本発明は、画像形成装置へ転送する出力データを生成する出力データ生成装置、出力データ生成方法、及び出力データ生成プログラムに関する。 The present invention relates to an output data generation device that generates output data to be transferred to an image forming apparatus, an output data generation method, and an output data generation program.
従来より、プリンタ等の画像形成装置で印刷を実行する場合、画像形成装置に接続されたパーソナルコンピュータ(以下、PCという)側では、印刷データから、印刷を実行する画像形成装置で解釈可能なPDL(Page Description Language:ページ記述言語)言語などで記述された出力データを生成して画像形成装置へ出力している(例えば、特許文献1参照)。この印刷データは、一般的に、XML等の逐次解釈に適したデータ形式となっており、この印刷データが逐次解釈されて、出力データに変換されている。
しかしながら、上記従来技術では、印刷データを逐次解釈して出力データに変換しているので、印刷データ内に、複数のページデータ間で共有される共有データと、この共有データを参照することを示す複数の参照情報が含まれている場合には、参照情報が解釈されるたびに、何度も同一の共有データについて解釈及び出力データへの変換が繰り返し行われ、出力データの生成に時間がかかるという問題があった。 However, in the above prior art, the print data is sequentially interpreted and converted into output data. Therefore, the shared data shared among a plurality of page data and the shared data are referred to in the print data. When multiple pieces of reference information are included, every time the reference information is interpreted, the same shared data is repeatedly interpreted and converted to output data, and it takes time to generate output data. There was a problem.
本発明は、上記問題点を解決するためになされたもので、画像形成装置へ出力する出力データの生成時間を短縮することができる出力データ生成装置、出力データ生成方法、及び出力データ生成プログラムを提供することを目的とする。 The present invention has been made to solve the above problems, and provides an output data generation device, an output data generation method, and an output data generation program capable of shortening the generation time of output data to be output to an image forming apparatus. The purpose is to provide.
上記目的を達成するために第1の発明の出力データ生成装置は、複数のページデータ間で共有する共有データ、及び前記共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを生成する印刷データ変換手段と、前記印刷データを解釈する解釈手段と、前記解釈手段によって解釈された共有データを、特定の言語で記述された出力データに変換する変換手段と、前記変換手段によって変換された前記出力データを記憶する記憶手段と、前記解釈手段によって、前記ページデータに含まれる前記参照情報が解釈されたときに、前記記憶手段から前記出力データを読出し、読出した該出力データを転送する転送手段と、を備えている。 In order to achieve the above object, an output data generation apparatus according to a first aspect of the present invention includes shared data shared among a plurality of page data and a plurality of page data including reference information indicating that the shared data is referred to. Print data conversion means for generating print data, interpretation means for interpreting the print data, conversion means for converting the shared data interpreted by the interpretation means into output data described in a specific language, and the conversion Storage means for storing the output data converted by the means, and when the reference information included in the page data is interpreted by the interpretation means, the output data is read from the storage means and the read output Transfer means for transferring data.
本発明の出力データ生成装置の解釈手段は、複数のページデータ間で共有する共有データ及び共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを解釈する。変換手段は、この印刷データに含まれる共有データを特定の言語で記述された出力データに変換し、変換された出力データは、記憶手段に記憶される。解釈手段によってページデータに含まれる参照情報が解釈されたときに、転送手段は、記憶手段に記憶された出力データを読出して画像形成装置へ転送する。 The interpretation means of the output data generation apparatus of the present invention interprets print data including a plurality of page data including shared data shared among a plurality of page data and reference information indicating that the shared data is referred to. The conversion unit converts the shared data included in the print data into output data described in a specific language, and the converted output data is stored in the storage unit. When the interpreter interprets the reference information included in the page data, the transfer unit reads out the output data stored in the storage unit and transfers it to the image forming apparatus.
このように、複数のページデータ間で共有する共有データ、及び前記共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを解釈し、共有データを解釈したときには出力データに変換して記憶手段へ記憶し、参照情報を解釈したときには、記憶手段から読出した出力データを転送するので、参照情報が解釈されるたびに、何度も同一の共有データについて、共有データの解釈及び出力データへの変換が繰り返し実行されることを防ぐことができ、出力データの生成時間の短縮を図ることができる。 In this way, output data when interpreting shared data shared between a plurality of page data and print data including a plurality of page data including reference information indicating that the shared data is referred to, and when the shared data is interpreted When the reference information is interpreted, the output data read from the storage means is transferred, so each time the reference information is interpreted, the same shared data is Interpretation and conversion to output data can be prevented from being repeatedly executed, and output data generation time can be shortened.
前記印刷データ変換手段は、画像出力に関する画像出力情報を更に含んだページデータを含んだ印刷データを生成し、前記変換手段は、前記解釈手段によって解釈された前記画像出力情報を特定の言語で記述された非共有出力データに変換し、前記転送手段は、前記変換手段によって変換された非共有出力データを転送することができる。 The print data conversion unit generates print data including page data further including image output information related to image output, and the conversion unit describes the image output information interpreted by the interpretation unit in a specific language. The transfer means can transfer the non-shared output data converted by the conversion means.
このように、解釈手段によって印刷データに含まれる参照情報が解釈されたときには、記憶手段から読出した出力データを画像形成装置へ転送し、印刷データに含まれる画像出力情報を解釈したときには、解釈結果に基づいて画像出力情報を特定の言語で記述された非共有出力データに変換して画像形成装置へ転送するので、出力データの生成時間の短縮を図ることができる。 As described above, when the reference information included in the print data is interpreted by the interpretation unit, the output data read from the storage unit is transferred to the image forming apparatus, and when the image output information included in the print data is interpreted, the interpretation result Therefore, the image output information is converted into non-shared output data described in a specific language and transferred to the image forming apparatus, so that the generation time of output data can be shortened.
第2の発明の印刷データ生成装置は、複数のページデータ間で共有する共有データを含む印刷データ、及び前記共有データを参照する回数を示す参照回数情報を取得する取得手段と、前記印刷データ中の前記共有データの位置を検索すると共に、検索結果に基づいて該共有データの前記印刷データ中の位置を示す位置情報を記憶する記憶手段と、前記印刷データを解釈する解釈手段と、前記解釈手段によって解釈された共有データを、特定の言語で記述された出力データに変換する変換手段と、前記解釈手段が前記共有データを解釈するときに、前記記憶手段に記憶された前記位置情報に基づいて前記共有データを参照して前記参照回数情報に応じた回数該共有データを解釈するように、前記解釈手段を制御する制御手段と、を備えている。 According to a second aspect of the present invention, there is provided a print data generation apparatus including: print data including shared data shared among a plurality of page data; acquisition means for acquiring reference number information indicating the number of times of reference to the shared data; Storing the position of the shared data and storing the position information indicating the position of the shared data in the print data based on the search result, the interpreting means for interpreting the print data, and the interpreting means Conversion means for converting the shared data interpreted by the data into output data described in a specific language, and when the interpretation means interprets the shared data, based on the position information stored in the storage means Control means for controlling the interpreting means so as to interpret the shared data a number of times according to the reference count information with reference to the shared data.
第2の発明の印刷データ生成装置の取得手段は、複数のページデータ間で共有する共有データを含む印刷データ及び共有データを参照する回数を示す参照回数情報を取得する。記憶手段は、印刷データ中に含まれる共有データの位置を検索すると共に、検索結果に基づいて、共有データの印刷データ中の位置を示す位置情報を記憶する。解釈手段によって印刷データが解釈されると、変換手段は、解釈された印刷データに含まれる共有データを特定の言語で記述された出力データに変換する。制御手段は、解釈手段が共有データを解釈するときには、記憶手段に記憶された位置情報に基づいて共有データを参照するとともに、取得手段によって取得された参照回数情報に応じた回数この共有データを解釈するように解釈手段を制御する。 The acquisition means of the print data generation apparatus of the second invention acquires print data including shared data shared among a plurality of page data and reference number information indicating the number of times the shared data is referred to. The storage means searches for the position of the shared data included in the print data, and stores position information indicating the position of the shared data in the print data based on the search result. When the print data is interpreted by the interpretation unit, the conversion unit converts the shared data included in the interpreted print data into output data described in a specific language. When the interpretation means interprets the shared data, the control means refers to the shared data based on the position information stored in the storage means, and interprets the shared data a number of times according to the reference number information acquired by the acquisition means. To control the interpretation means.
このように、共有データの印刷データ中の位置を示す位置情報を記憶して、この位置情報に基づいた位置から共有データを参照回数に応じた回数だけ解釈して、特定の言語で記述された出力データに変換することができるので、参照回数に応じた回数だけ共有データを印刷データの先頭から検索した後に解釈することなく、共有データを解釈することができるので、共有データの検索時間を短縮することができ、出力データ生成時間の短縮を図ることができる。 As described above, the position information indicating the position of the shared data in the print data is stored, the shared data is interpreted from the position based on the position information by the number of times corresponding to the reference count, and is described in a specific language. Since it can be converted into output data, the shared data can be interpreted without having to be interpreted after searching for the shared data from the beginning of the print data as many times as the number of references, thus reducing the search time for shared data Therefore, the output data generation time can be shortened.
なおこの出力データ処理装置は、ネットワーク上につながられたコントローラでもよく、その場合はPCからはPCの言語で出力し、ネットワーク上のコントローラで言語変換が行われる。この場合、出力データ処理装置による言語変換は複数の言語に変換されるものであってもよい。複数の言語の変換れたものをネットワーク上つながれた他の装置が解釈できる言語を転送してもよいし、変換されたものを出力データ処理装置内の他の手段に送り、蓄えておいて適宜使用してもよい。 The output data processing apparatus may be a controller connected to a network. In this case, the PC outputs data in the PC language, and language conversion is performed by the controller on the network. In this case, the language conversion by the output data processing device may be converted into a plurality of languages. Languages that can be interpreted by other devices connected on the network may be transferred after conversion of multiple languages, or the converted language may be sent to other means in the output data processing device, stored, and stored as appropriate May be used.
またこの出力データ処理装置の転送対象である他の手段は出力データ処理装置内にあってもよく、言い換えれば出力データ処理装置はある装置の一部であってもよい。例えば画像形成装置内に出力データ処理部がある場合には、PC言語をそのまま受け取っても、迅速に画像形成装置で処理可能な言語に変換することができる。 Further, the other means to be transferred by the output data processing apparatus may be in the output data processing apparatus. In other words, the output data processing apparatus may be a part of a certain apparatus. For example, when an output data processing unit is provided in the image forming apparatus, even if the PC language is received as it is, it can be quickly converted into a language that can be processed by the image forming apparatus.
なお、前記出力データ生成装置は、データを取得するデータ取得手段を更に備え、前記データ取得手段により取得したデータを前記印刷データ変換手段により変換するようにしてもよい。 The output data generation device may further include data acquisition means for acquiring data, and the data acquired by the data acquisition means may be converted by the print data conversion means.
また、出力データ生成装置本体に接続された出力データ生成装置本体以外の他の装置が解釈可能な言語を予め記憶した言語記憶手段を更に備え、
前記変換手段は、前記共有データを前記言語記憶手段に記憶された言語で記述された出力データ及び非共有出力データの何れか一方または双方に変換するようにしてもよい。
Further, it further comprises language storage means for storing in advance a language that can be interpreted by devices other than the output data generation device main body connected to the output data generation device main body,
The conversion unit may convert the shared data into one or both of output data described in a language stored in the language storage unit and non-shared output data.
なお、前記転送手段は、前記出力データ及び前記非出力データの何れか一方または双方を出力データ生成装置本体の外部へ転送するようにすれば、出力データ生成装置本体の外部で出力データを使用可能に提供することができる。 The transfer means can use the output data outside the output data generation device main body by transferring either one or both of the output data and the non-output data to the outside of the output data generation device main body. Can be provided.
また、前記特定の言語は、出力データ生成装置本体に接続された画像形成装置で解釈可能な言語であり、前記転送手段は、前記出力データ及び前記非出力データの何れか一方または双方を前記画像形成装置へ転送するようにしてもよい。 Further, the specific language is a language that can be interpreted by an image forming apparatus connected to an output data generation apparatus main body, and the transfer unit converts one or both of the output data and the non-output data to the image. It may be transferred to the forming apparatus.
なお、前記転送手段は、前記出力データ及び前記非出力データの何れか一方または双方を出力データ生成装置本体内の特定の部位へ転送するようにしてもよい。 The transfer means may transfer either one or both of the output data and the non-output data to a specific part in the output data generating apparatus main body.
なお、下記出力データ生成方法によって、出力データの生成時間の短縮を図ることができる。具体的には、出力データを生成する機能を有する出力データ生成装置の出力データ生成方法であって、複数のページデータ間で共有する共有データ、及び前記共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを生成し、前記印刷データを解釈し、前記解釈された共有データを、特定の言語で記述された出力データに変換し、前記変換された前記出力データを記憶し、前記ページデータに含まれる前記参照情報が解釈されたときに、前記記憶した前記出力データを読出し、読出した該出力データを転送する。 Note that the output data generation time can be reduced by the following output data generation method. Specifically, an output data generation method of an output data generation device having a function of generating output data, the shared data shared among a plurality of page data, and reference information indicating that the shared data is referred to Generating print data including a plurality of page data, interpreting the print data, converting the interpreted shared data into output data described in a specific language, and converting the converted output data When the reference information included in the page data is interpreted, the stored output data is read, and the read output data is transferred.
また、下記出力データ生成プログラムがコンピュータにおいて実行されることによって、出力データの生成時間の短縮を図ることができる。具体的には、コンピュータに、複数のページデータ間で共有する共有データ、及び前記共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを生成させ、前記印刷データを解釈させ、前記解釈させた共有データを、特定の言語で記述された出力データに変換させ、前記変換された前記出力データを記憶させ、前記ページデータに含まれる前記参照情報が解釈されたときに、前記記憶させた前記出力データを読出し、読出した該出力データを転送する。 Further, the output data generation program described below is executed on the computer, so that the output data generation time can be shortened. Specifically, the computer generates print data including a plurality of page data including shared data shared among a plurality of page data and reference information indicating that the shared data is referred to, and the print data is generated. When the interpreted shared data is converted into output data described in a specific language, the converted output data is stored, and the reference information included in the page data is interpreted Then, the stored output data is read, and the read output data is transferred.
以上説明したように、本発明の出力データ生成装置によれば、複数のページデータ間で共有する共有データ、及び前記共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを解釈し、共有データを解釈したときには出力データに変換して記憶手段へ記憶し、参照情報を解釈したときには、記憶手段から読出した出力データを転送するので、参照情報が解釈されるたびに、何度も同一の共有データについて、共有データの解釈及び出力データへの変換が繰り返し実行されることを防ぐことができ、出力データの生成時間の短縮を図ることができる、という効果が得られる。 As described above, according to the output data generation apparatus of the present invention, printing including a plurality of page data including shared data shared among a plurality of page data and reference information indicating that the shared data is referred to. When the data is interpreted and shared data is interpreted, it is converted into output data and stored in the storage means. When the reference information is interpreted, the output data read from the storage means is transferred. The same shared data can be prevented from being repeatedly interpreted and converted to output data, and the output data generation time can be shortened. .
以下、本発明の実施の形態を図面に基づき説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の出力データ生成装置を適用したパーソナルコンピュータ(以下、PCという)を含む印刷システム10の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a
印刷システム10は、PC12、及び画像形成装置としてのプリンタ14を含んで構成されている。PC12及びプリンタ14は、ネットワーク27を介してデータやコマンドを授受可能に接続されている。
The
PC12は、主に、後述する各種処理ルーチン(図5参照)や後述するプリンタドライバを主に記憶したROM及びスプール領域を備えた記憶部22、ユーザが各種指示入力を行うための操作部16、各種情報を表示するための表示部18、プリンタ14と後述する出力データ等の各種データの授受をネットワーク27を介して行うための通信部20及びCPUを含みPC12を構成する各部の動作を制御するための制御部24を含んで構成されている。これらの通信部20、表示部18、操作部16、記憶部22、及び制御部24は、データバスやアドレスバス等のバス26を介して、互いにデータやコマンドを授受可能に接続されている。
The PC 12 mainly includes a
プリンタ14は、ネットワーク27を介してPC12とデータ授受を行うための通信部28、プリンタ14を構成する各部の動作を制御するための制御部32、制御部32の制御によりPC12から送信された出力データを解釈して出力データに基づいた画像を出力する画像形成部30を備えている。これらの通信部28、画像形成部30、及び制御部32は、バス34を介して互いにデータやコマンドを授受可能に接続されている。
The
本実施の形態では、説明を簡略化するために、ネットワーク27には、1台のプリンタ14がPC12とデータの授受可能に接続された場合について説明するが、2台以上のプリンタがネットワーク27を介してPC12と各種データの授受可能に接続されるようにしてもよい。
In this embodiment, in order to simplify the description, a case will be described in which one
図2には、PC12の本発明の出力データ生成処理に関する機能ブロック図を示した。
FIG. 2 shows a functional block diagram related to the output data generation processing of the
PC12は、印刷データ(詳細後述)を生成するため印刷データ生成部40、プリンタドライバ42、及び記憶部22を含んで構成されている。印刷データ生成部40によって生成された印刷データは、EMF形式やRAW形式等のスプール形式で記憶部22のスプール領域に保存される。
The
プリンタドライバ42は、印刷データ生成部40で生成され、スプール領域に記憶された印刷データを解釈するための印刷データ解釈部44、印刷データ解釈部44の解釈結果に基づいて印刷データをプリンタ14側で解釈可能なPDL(Page Description Language:ページ記述言語)言語などで記述された出力データに変換するための出力データ生成部48、及び出力データ生成部48により生成された出力データを転送するための出力データ転送部52を含んで構成されている。出力データ転送部52によって転送された出力データは、通信部20を介してプリンタ14へ出力される。
The
記憶部22は、印刷データ解釈部44の解釈結果を記憶するための解釈結果記憶部46、及び出力データ生成部48による変換によって生成された出力データを記憶するための出力データ記憶部50を含んで構成されている。なお、記憶部22に、プリンタ14側で解釈可能なPDL言語等の言語を予め記憶し、記憶した言語に基づいて、出力データ生成部48で印刷データを出力データへ変換してもよい。
The
印刷データは、PC12に予めインストールされている文書作成ソフトや表計算ソフト等のアプリケーションによって生成された画像データと、この画像データの印刷指示内容を含み、プリンタ14で解釈可能な所定の言語(例えば、XML:Extensible Markup Language)で表現される。本実施の形態の印刷データは、図3に示すように、複数のページデータ621〜62nと、複数のページデータ621〜62n間で共有される共有リソース定義がなされた共有データ62と、を含んで構成されている。
The print data includes image data generated by an application such as document creation software or spreadsheet software installed in the
例えば、背景画像が同一の複数ページの画像データがアプリケーションによって作成された場合、印刷データには、図4に示すように、共有リソース定義開始及び共有リソースの定義番号"1"を示す区切り子<resouece kind="background" id="1">及び共有リソース定義終了を示す区切り子</resource>の間に、共有データとして背景の描画情報を示す「背景の描画コマンド」が記述されると共に、1ページ目のページデータの最初の区切りを示す区切り子<Page no="1">とページ終了を示す区切り子</Page>との間に、共有データを参照することを示す参照情報としての区切り子<ref kind="background" id="1">と「Page1の描画コマンド」が記述される。同様に2ページ目のページデータの最初の区切りを示す区切り子<Page no="2">とページ終了を示す区切り子</Page>との間に、共有データを参照することを示す参照情報としての区切り子<ref kind="background" id="1">と「Page2の描画コマンド」が記述される。 For example, when multiple pages of image data having the same background image are created by the application, the print data includes a delimiter <1 indicating the shared resource definition start and shared resource definition number “1” as shown in FIG. Between the resource kind = “background” id = “1”> and the delimiter </ resource> indicating the end of the shared resource definition, a “background drawing command” indicating background drawing information is described as shared data, and Between the delimiter <Page no = “1”> indicating the first delimiter of page data of the first page and the delimiter </ Page> indicating the end of the page, reference information indicating that reference is made to the shared data Delimiter <ref kind = "background" id = "1"> and "Page1 drawing command" are described The Similarly, between the delimiter <Page no = “2”> indicating the first delimiter of the page data of the second page and the delimiter </ Page> indicating the end of the page, reference information indicating that the shared data is referred to Delimiter <ref kind = “background” id = “1”> and “Page2 drawing command” are described.
なお、図3及び図4(A)の例では、印刷データには、2ページ分のページデータと共有リソース定義とが含まれる場合を説明したが、更に複数ページ分のページデータを含むようにしてもよい。また、図4(A)の例では、各ページデータには、参照情報のみが含まれる場合を示したが、参照情報以外の情報、例えば画像出力情報としての、共有データ以外の画像データや印刷指示データ等(以下、非共有データという)を含むようにしてもよい。このような画像出力情報も前記参照情報と同様に、例えば、画像出力情報開始を示す区切り子と終了を示す区切り子との間に、画像出力情報を記述するようにすればよい。 In the example of FIGS. 3 and 4A, the case has been described in which the print data includes page data for two pages and a shared resource definition. However, the print data may further include page data for a plurality of pages. Good. In the example of FIG. 4A, each page data includes only reference information, but information other than reference information, for example, image data other than shared data or print as image output information Instruction data or the like (hereinafter referred to as non-shared data) may be included. Similar to the reference information, for example, the image output information may be described between the delimiter indicating the start of the image output information and the delimiter indicating the end.
次に、図5を参照して本発明のPC12の制御部24で実行される処理について説明する。
Next, processing executed by the
図示を省略した電源スイッチによってPC12へ電力が供給されると、制御部24のCPUでは、所定時間毎に図5に示す処理ルーチンを実行してステップ100へ進み、ユーザの操作部16による操作指示によって、PC12にインストールされている複数のアプリケーションの内の何れか1つのアプリケーションが起動されて、このアプリケーションを介して作成された画像データとこの画像データの印刷指示内容を示す印刷指示情報が入力されるとステップ102へ進む。
When power is supplied to the
ステップ102では、上記ステップ100で入力された画像データ及び印刷指示情報に基づいて、図3及び図4(A)に示すような複数のページデータ621〜62nと、複数のページデータ621〜62n間で共有される共有リソース定義がなされた共有データ62と、を含んで構成される印刷データを生成する。
In
次のステップ104では、上記ステップ102で生成された印刷データの解釈の実行指示を示す解釈指示情報をプリンタドライバ42に出力した後に、本ルーチンを終了する。
In the
プリンタドライバ42では、制御部24のCPUから解釈指示情報が入力されると、図6に示す処理ルーチンを実行してステップ200へ進む。
In the
ステップ200では、上記ステップ102で生成された印刷データを解釈する。例えば、図4(A)に示す印刷データに記述されている各区切り子を上段から順次解釈する。
In
次のステップ202では、上記ステップ200の印刷データ解釈処理によって、共有リソース定義開始を示す区切り子が解釈されたか否かを判別し、肯定されるとステップ204へ進み、上記ステップ202で判別した共有リソースの定義開始を示す区切り子の後段に記述されている共有データを1行解釈する。なお、本実施の形態では1行づつ解釈を行う場合を説明するが、このような形態に限られるものではなく、開始を示す区切り子から終了を示す区切り子間に示される共有データ毎に解釈するようにしてもよい。
In the
次のステップ206では、上記ステップ204で解釈した1行分の共有データの解釈結果に基づいて、この解釈した1行の共有データをプリンタ14で解釈可能なPDL言語で記述された共有出力データに変換することによって、共有出力データを生成する。
In the
次のステップ208では、上記ステップ206で生成された共有出力データを出力データ記憶部50に、上記ステップ202で解釈した共有リソース定義開始を示す区切り子に記述されている共有リソースの定義番号(本実施の形態では"1")に対応付けて記憶する。
In the
次のステップ210では、次の後段の区切り子が共有リソースの定義終了を示す区切り子であるか否かを解釈し、否定されると上記ステップ204へ戻り、肯定されるとステップ212へ進む。
In the
ステップ212では、印刷データに含まれる全ての区切り子の解釈が終了したか否かを判別し、肯定されると本ルーチンを終了し、否定されると上記ステップ200へ戻る。
In
一方上記ステップ202で否定されると、ステップ214へ進み、上記ステップ200の印刷データ解釈処理によって、共有データを参照することを示す参照情報としての区切り子が解釈されたか否かを判断し、肯定されるとステップ216へ進み、参照情報を示す区切り子に示される共有リソースの定義番号に対応する共有出力データを、記憶部22から読出した後にステップ218へ進む。
On the other hand, if the result in
上記ステップ214で否定され、上記ステップ200で解釈した区切り子が、共有リソース定義開始を示す区切り子及び共有データを参照することを示す参照情報としての区切り子以外の区切り子、例えば、画像出力情報開始を示す区切り子である場合には、ステップ220へ進み、この区切り子の後段に示される画像出力情報などの非共有データを解釈する。
A delimiter other than the delimiter as reference information indicating that the delimiter denied in
次のステップ222では、上記ステップ220の解釈結果に基づいて非共有データから、プリンタ14で解釈可能な非共有出力データを生成した後にステップ218へ進む。
In the
ステップ218では、上記ステップ216で生成された共有出力データ及び上記ステップ220で生成された非共有出力データを出力データ転送部52によって転送した後に、上記ステップ212へ戻る。出力データ転送部52によって転送された出力データは、通信部20を介してプリンタ14へ送信される。
In
上記ステップ200からステップ222の処理が実行されることによって、図4に示す印刷データから図4(B)に示す出力データが生成されて出力データ転送部52から転送され、通信部20を介してプリンタ14へ出力される。
By executing the processing from
以上説明したように、本実施の形態のPC12によれば、複数のページデータ間で共有する共有データ及び共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを解釈し、この印刷データに含まれる共有データを解釈したときは、解釈結果に基づいて出力データに変換すると共に変換した出力データを記憶し、ページデータの参照情報を解釈したときは、記憶された出力データを読出して、出力データ転送部52及び通信部20を介してプリンタ14へ出力するので、参照情報が解釈されるたびに、何度も同一の共有データについて、共有データの解釈及び出力データの生成が繰り返し実行されることを防ぐことができ、出力データの生成時間の短縮を図ることができる。
As described above, according to the
[第2の実施の形態]
上記実施の形態では、複数のページデータ間で共有する共有データ及び共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを解釈し、この印刷データに含まれる共有データを解釈したときは、解釈結果に基づいて出力データを生成すると共に生成した出力データを記憶して、ページデータの参照情報を解釈したときは、記憶された出力データを読取って画像形成装置へ転送することによって、出力データの生成時間の短縮を図る場合を説明したが、本実施の形態では、プリンタ14及びPC12に拡大連写機能を設け、この拡大連写機能を用いた出力がユーザの操作部16の操作指示によって指示された場合の出力データ生成時間の短縮方法について説明する。
[Second Embodiment]
In the above embodiment, shared data shared between a plurality of page data and print data including a plurality of page data including reference information indicating that the shared data is referred to are interpreted, and the shared data included in the print data Is interpreted, the output data is generated based on the interpretation result, and the generated output data is stored. When the page data reference information is interpreted, the stored output data is read and transferred to the image forming apparatus. In this embodiment, the
なお、拡大連写機能とは、アプリケーションでは1ページとして作成されている画像データの画像を拡大して、プリンタ14による出力時には複数の用紙に分割してプリンタ14において出力し、この分割して出力された用紙を複数枚並べることで、プリンタ14側にセットされている用紙サイズより大きなサイズの出力結果を得るための機能である。
Note that the enlargement continuous shooting function enlarges an image of image data created as one page in the application, divides it into a plurality of sheets when output by the
例えば、図7に示すように、拡大連写機能を用いない場合にはA4用紙1枚に印刷される画像70の出力サイズを、2倍に拡大したA2サイズの画像72として出力するために、画像70を2倍に拡大するとともにA4サイズとなるように4分割した画像72A、72B、72C、及び72Dを、各々A4サイズの用紙に出力するように、本実施の形態のPC13のプリンタドライバ42側で出力データを作成する機能である。
For example, as shown in FIG. 7, when the enlarged continuous shooting function is not used, in order to output the output size of the
この拡大連写機能では、拡大コマンドと仮想用紙内の描画位置設定コマンドを変えながら、複数回同一のページの出力データをプリンタ14へ送信することが一般的である。図7の例では、同一内容の各ページの出力データを4回送信することが一般的である。 In this enlargement continuous shooting function, the output data of the same page is generally transmitted to the printer 14 a plurality of times while changing the enlargement command and the drawing position setting command in the virtual paper. In the example of FIG. 7, the output data of each page having the same content is generally transmitted four times.
なお本実施の形態におけるPC13は、第1の実施の形態で説明したPC12と同一の構成のため、同一の構成には同一の番号を付与して詳細な説明を省略する。本実施の形態のPC13の記憶部22には、図8に示すように、第1の実施の形態の記憶部22に拡大連写の設定情報を記憶するためのドライバ設定記憶部47が更に設けられている。拡大連写の設定情報には、具体的には、「2×2」、または「3×3」等の拡大連写サイズを示す情報がある。例えば、拡大連写サイズとして「2×2」を示す情報が設定されている場合には、画像を2倍に拡大して出力することを示している。
Note that the
本発明のPC13の制御部24のCPUは、第1の実施の形態と同様に、所定時間毎に図5に示す処理ルーチンを実行して、入力された画像データ及び印刷指示情報に基づいて印刷データを生成すると共に、生成した印刷データの解釈の実行指示を示す解釈指示情報をプリンタドライバ42へ出力する。
Similar to the first embodiment, the CPU of the
なお、第1の実施の形態と異なる点は、本実施の形態では、入力される印刷指示情報に、拡大連写サイズ等の拡大連写の設定情報、及び拡大連写指示を示す情報が含まれるとともに、画像データ及び印刷指示情報に基づいて作成される印刷データは、図9(A)に示すように、各ページ毎のページデータのみを含んで構成されている。印刷指示情報に含まれる拡大連写の設定情報は、ユーザの操作部16の操作指示によって入力され、ドライバ設定記憶部47に記憶される。印刷データは、例えば、1ページ目のページデータの最初の区切りを示す区切り子<Page no="1">とページ終了を示す区切り子</Page>との間に、「Page1の描画コマンド」が記述されている。同様に2ページ目のページデータの最初の区切りを示す区切り子<Page no="2">とページ終了を示す区切り子</Page>との間に、「Page1の描画コマンド」が記述されている。
Note that the difference from the first embodiment is that in this embodiment, the input print instruction information includes setting information for enlarged continuous shooting such as an enlarged continuous shooting size, and information indicating an enlarged continuous shooting instruction. In addition, as shown in FIG. 9A, the print data created based on the image data and the print instruction information includes only page data for each page. The enlarged continuous shooting setting information included in the print instruction information is input by an operation instruction of the
プリンタドライバ42では、制御部24のCPUから解釈指示情報が入力されると、図10に示す処理ルーチンが実行されてステップ300へ進む。
In the
ステップ300において、ドライバ設定記憶部47に記憶されている拡大設定情報に基づいて、拡大率及び用紙内の位置合わせをする出力データを生成する。
In
具体的には、拡大連写サイズとして「2×2」を示す情報が設定されている場合には、画像を2倍に拡大して出力することを示すと共に、下記の処理によって作成する各ページの出力データの画像が、拡大した後の仮想用紙のどこに配置されるべき画像であるかを示す情報を含む出力データを作成する。 Specifically, when information indicating “2 × 2” is set as the enlarged continuous shooting size, this indicates that the image is enlarged twice and output, and each page created by the following processing Output data including information indicating where the output data image is to be arranged on the enlarged virtual paper is created.
上記ステップ300の処理によって、図4(A)の印刷データに基づいて生成された出力データの一例を示す図9(B)の領域80に示される部分の出力データが生成される。
Through the processing in
次のステップ302では、印刷データを上段から解釈し、次のステッ303において、区切り子が解釈されるまで上記ステップ302へ戻り、肯定されるとステップ304へ進み、開始を示す区切り子の場所を解釈結果記憶部46へ記憶する。具体的には、図9(A)に示すページ開始の区切りを示す区切り子<Page no="1">の、印刷データ中の相対的な位置を示す情報を解釈結果記憶部46へ記憶する。
In the
次のステップ306では、区切り子の後段の1行分の記述内容を解釈し、解釈結果に基づいて、この解釈した1行分の記述内容をプリンタ14で解釈可能なPDL言語で記述された出力データを生成する。
In the
次のステップ308では、上記ステップ306で生成した出力データを出力データ転送部52によって転送する。ステップ308の処理により出力データ転送部52によって転送された出力データは、通信部20を介してプリンタ14へ送信される。
In the
次のステップ310では、次の後段の区切り子がページ終了の区切りを示す区切り子</Page>で有るか否かを解釈し、否定されると上記ステップ302へ戻り、肯定されるとステップ312へ進む。
In the
次のステップ312では、上記ステップ310で肯定された回数が、ドライバ設定記憶部47に記憶されている連写サイズに基づいて算出された転送回数と等しいか否かを判別し、否定されると、ステップ314へ進み、肯定されるとステップ316へ進む。なお、転送回数は、例えば、拡大連写サイズとして「2×2」を示す情報が記憶されている場合には、4回を転送回数として算出し、「3×3」を示す情報が記憶されている場合には、9回を転送回数として算出する。
In the
ステップ314では、上記ステップ304で解釈結果記憶部46に記憶した開始を示す区切り子の場所を示す情報に基づいて、この場所を次の解釈開始位置として設定した後に、上記ステップ300へ戻る。
In
一方、上記ステップ312で肯定されると、印刷データに含まれる全ての区切り子を解釈したか否かを判別し、否定されると上記ステップ300へ戻り、肯定されると、本ルーチンを終了する。
On the other hand, if the determination in
以上説明したように、本実施の形態の拡大連写機能を有するPC13によれば、拡大連写がユーザによって指示されたときは、印刷データの解釈時に、拡大連写の区切り位置を記憶し、次に印刷データの同一場所を解釈するときには、印刷データの先頭からこの拡大連写の区切り位置を検索するのではなく、記憶した拡大連写の開始を示す区切り子の場所へ戻り、この場所から再度印刷データを解釈することができる。
As described above, according to the
このため、従来の技術のように、拡大連写の設定回数に相当する回数、印刷データから拡大連写するページの開始位置を印刷データの先頭から繰り返し検索することなく、記憶されている拡大連写の区切り位置を示す場所にから容易に印刷データの解釈を繰り返すことができるので、拡大連写するページの開始位置の検索時間を短縮することができ、出力データ生成時間を短縮することができる。 Therefore, unlike the conventional technique, the number of times corresponding to the set number of times of enlargement continuous shooting is used, and the start position of the page to be enlarged continuously shot from the print data is not repeatedly searched from the top of the print data, and the stored enlargement continuous shooting is repeated. Interpretation of the print data can be easily repeated from the place where the copy delimiter position is indicated, so that the search time for the start position of the page to be enlarged continuously shot can be shortened, and the output data generation time can be shortened. .
40 印刷データ生成部
42 プリンタドライバ
44 印刷データ解釈部
46 解釈結果記憶部
47 ドライバ設定記憶部
48 出力データ生成部
50 出力データ記憶部
52 出力データ転送部
40 Print
Claims (10)
前記印刷データを解釈する解釈手段と、
前記解釈手段によって解釈された共有データを、特定の言語で記述された出力データに変換する変換手段と、
前記変換手段によって変換された前記出力データを記憶する記憶手段と、
前記解釈手段によって、前記ページデータに含まれる前記参照情報が解釈されたときに、前記記憶手段から前記出力データを読出し、読出した該出力データを転送する転送手段と、
を備えた出力データ生成装置。 Print data conversion means for generating print data including a plurality of page data including shared data shared among a plurality of page data and reference information indicating that the shared data is referred to;
Interpretation means for interpreting the print data;
Conversion means for converting the shared data interpreted by the interpretation means into output data described in a specific language;
Storage means for storing the output data converted by the conversion means;
Transfer means for reading the output data from the storage means and transferring the read output data when the reference information included in the page data is interpreted by the interpretation means;
An output data generation device.
前記変換手段は、前記解釈手段によって解釈された前記画像出力情報を特定の言語で記述された非共有出力データに変換し、
前記転送手段は、前記変換手段によって変換された非共有出力データを転送する請求項1に記載の出力データ生成装置。 The print data conversion means generates print data including page data further including image output information related to image output,
The converting means converts the image output information interpreted by the interpreting means into non-shared output data described in a specific language,
The output data generation apparatus according to claim 1, wherein the transfer unit transfers unshared output data converted by the conversion unit.
前記印刷データ中の前記共有データの位置を検索すると共に、検索結果に基づいて該共有データの前記印刷データ中の位置を示す位置情報を記憶する記憶手段と、
前記印刷データを解釈する解釈手段と、
前記解釈手段によって解釈された共有データを、特定の言語で記述された出力データに変換する変換手段と、
前記解釈手段が前記共有データを解釈するときに、前記記憶手段に記憶された前記位置情報に基づいて前記共有データを参照して前記参照回数情報に応じた回数該共有データを解釈するように、前記解釈手段を制御する制御手段と、
を備えた出力データ生成装置。 Acquisition means for acquiring print data including shared data shared among a plurality of page data, and reference number information indicating the number of times of reference to the shared data;
A storage unit for searching for a position of the shared data in the print data and storing position information indicating a position of the shared data in the print data based on a search result;
Interpretation means for interpreting the print data;
Conversion means for converting the shared data interpreted by the interpretation means into output data described in a specific language;
When interpreting the shared data, the interpreting means refers to the shared data based on the location information stored in the storage means, and interprets the shared data a number of times according to the reference count information. Control means for controlling the interpretation means;
An output data generation device.
前記データ取得手段により取得したデータを前記印刷データ変換手段により変換する請求項1乃至請求項3の何れか1項に記載の出力データ生成装置。 The output data generation device further includes data acquisition means for acquiring data,
The output data generation apparatus according to claim 1, wherein the data acquired by the data acquisition unit is converted by the print data conversion unit.
前記変換手段は、前記共有データを前記言語記憶手段に記憶された言語で記述された出力データ及び非共有出力データの何れか一方または双方に変換する請求項1乃至請求項4の何れか1項に記載の出力データ生成装置。 Language storage means for storing in advance a language that can be interpreted by another device other than the output data generating device connected to the output data generating device;
5. The conversion device according to claim 1, wherein the conversion unit converts the shared data into one or both of output data and non-shared output data described in a language stored in the language storage unit. The output data generation device described in 1.
複数のページデータ間で共有する共有データ、及び前記共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを生成し、
前記印刷データを解釈し、
前記解釈された共有データを、特定の言語で記述された出力データに変換し、
前記変換された前記出力データを記憶し、
前記ページデータに含まれる前記参照情報が解釈されたときに、前記記憶した前記出力データを読出し、読出した該出力データを転送する出力データ生成方法。 An output data generation method of an output data generation device having a function of generating output data,
Generating print data including a plurality of page data including shared data shared between a plurality of page data and reference information indicating that the shared data is referred to;
Interpreting the print data;
Converting the interpreted shared data into output data described in a specific language;
Storing the converted output data;
An output data generation method for reading the stored output data and transferring the read output data when the reference information included in the page data is interpreted.
複数のページデータ間で共有する共有データ、及び前記共有データを参照することを示す参照情報を含む複数のページデータを含んだ印刷データを生成させ、
前記印刷データを解釈させ、
前記解釈させた共有データを、特定の言語で記述された出力データに変換させ、
前記変換された前記出力データを記憶させ、
前記ページデータに含まれる前記参照情報が解釈されたときに、前記記憶させた前記出力データを読出し、読出した該出力データを転送する、
出力データ生成プログラム。 On the computer,
Generating print data including a plurality of page data including shared data shared among a plurality of page data and reference information indicating that the shared data is referred to;
Interpreting the print data;
The interpreted shared data is converted into output data described in a specific language,
Storing the converted output data;
When the reference information included in the page data is interpreted, the stored output data is read, and the read output data is transferred.
Output data generation program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005090109A JP2006268797A (en) | 2005-03-25 | 2005-03-25 | Output data generation device, output data generation method and output data generation program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005090109A JP2006268797A (en) | 2005-03-25 | 2005-03-25 | Output data generation device, output data generation method and output data generation program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2006268797A true JP2006268797A (en) | 2006-10-05 |
Family
ID=37204641
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005090109A Pending JP2006268797A (en) | 2005-03-25 | 2005-03-25 | Output data generation device, output data generation method and output data generation program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2006268797A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019164556A (en) * | 2018-03-19 | 2019-09-26 | 株式会社リコー | Information processor, image formation device, information processing system and program |
| JP2019164561A (en) * | 2018-03-19 | 2019-09-26 | 株式会社リコー | Information processing device, program and information processing system |
-
2005
- 2005-03-25 JP JP2005090109A patent/JP2006268797A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019164556A (en) * | 2018-03-19 | 2019-09-26 | 株式会社リコー | Information processor, image formation device, information processing system and program |
| JP2019164561A (en) * | 2018-03-19 | 2019-09-26 | 株式会社リコー | Information processing device, program and information processing system |
| JP7035674B2 (en) | 2018-03-19 | 2022-03-15 | 株式会社リコー | Information processing equipment, programs and information processing systems |
| JP7091748B2 (en) | 2018-03-19 | 2022-06-28 | 株式会社リコー | Information processing equipment, image forming equipment, information processing systems and programs |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4543340B2 (en) | Image processing apparatus, image forming system, and program | |
| JP5072676B2 (en) | Information processing apparatus, information processing method, and printing system | |
| JP5370044B2 (en) | Image processing apparatus, image forming apparatus, and program | |
| WO2021117278A1 (en) | Support program, information processing device, and printing method | |
| US10310788B2 (en) | Control method for generating data used for printing and information processing apparatus | |
| JP2010026895A (en) | Information processor, image forming apparatus, and program | |
| JP2006110998A (en) | Image forming apparatus, image forming method, and image forming program | |
| JP2007329919A (en) | Image forming apparatus and control method thereof | |
| JPH09114612A (en) | Printing apparatus and printing method | |
| JP4577907B2 (en) | Image processing apparatus, image forming apparatus, and printing system | |
| JP2006268797A (en) | Output data generation device, output data generation method and output data generation program | |
| JP2000066867A (en) | Printer device and storage medium storing program for page information printing control | |
| JP5488912B2 (en) | Control device, printing device, and computer program | |
| US8023124B2 (en) | Printing apparatus and printing method | |
| JP2010218325A (en) | Printing controller and printing system | |
| JP2010188598A (en) | Printing apparatus, driver program and printing system | |
| JP2005321886A (en) | Print supporting module, port monitor, recording medium and print job issuing method | |
| JP2002123378A (en) | Document print processing system and recording medium storing the program | |
| JP2010079620A (en) | Image forming system, information processing apparatus, print control method and program | |
| JP5640813B2 (en) | Image processing controller, image processing system, image processing controller or program for image processing system, recording medium, and image processing method | |
| JP2009128965A (en) | Electronic document printing system, printer, printing assist information generating device, and printing assist information generating program | |
| JP2009071352A (en) | Image forming apparatus | |
| JP5044031B2 (en) | Information processing apparatus, information processing method, and storage medium | |
| JP2008021004A (en) | Print processing system and print processing method | |
| JP2005346357A (en) | Data structure of print data, print control device, print control method, and print control program |