JP4747624B2 - Print data generation apparatus and program - Google Patents
Print data generation apparatus and program Download PDFInfo
- Publication number
- JP4747624B2 JP4747624B2 JP2005084819A JP2005084819A JP4747624B2 JP 4747624 B2 JP4747624 B2 JP 4747624B2 JP 2005084819 A JP2005084819 A JP 2005084819A JP 2005084819 A JP2005084819 A JP 2005084819A JP 4747624 B2 JP4747624 B2 JP 4747624B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- print data
- image data
- encoded image
- document
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
この発明は、印刷データ生成装置及びプログラムに係り、特に、符号化画像データを含む文書データを印刷するための印刷データを生成する印刷データ生成装置及びプログラムに関する。 The present invention relates to a print data generation apparatus and program , and more particularly to a print data generation apparatus and program for generating print data for printing document data including encoded image data.
従来、文書データを画像形成装置で印刷する場合に、文書データをビットマップデータなどの印刷データに展開し、その印刷データが表す画像を記録用紙に形成している。この文書データには、符号化画像データが含まれている場合があり、この場合には、符号化画像データを復号するための復号処理プログラムを実行し、符号化画像データを復号した印刷データを生成する必要がある。 Conventionally, when document data is printed by an image forming apparatus, the document data is expanded into print data such as bitmap data, and an image represented by the print data is formed on a recording sheet. This document data may include encoded image data. In this case, a decoding processing program for decoding the encoded image data is executed, and print data obtained by decoding the encoded image data is stored. Need to be generated.
画像形成装置では、両面印刷などの指定された印刷方法を実行できない場合に、片面印刷などの処理可能な形態に変更して処理する画像処理装置が知られている(特許文献1)。 An image processing apparatus is known that performs processing by changing to a processable form such as single-sided printing when a designated printing method such as double-sided printing cannot be executed (Patent Document 1).
また、指定された用紙サイズの用紙がない等、プリントジョブの指示通りにプリントできない場合に、その印刷ジョブの印刷データを自動保持するデジタル複合機が知られている(特許文献2)。 Also, there is known a digital multi-function peripheral that automatically holds print data of a print job when printing cannot be performed according to the instruction of the print job, for example, when there is no paper having a designated paper size (Patent Document 2).
また、符号化画像データの符号化方式の種類は増加しており、画像形成装置が備えている復号処理プログラムが符号化画像データの符号化方式に対応していない場合にも、適切に対処する必要がある。
しかしながら、特許文献1に記載の画像処理装置及び特許文献2に記載のデジタル複合機では、符号化画像データを処理可能な場合しか想定しておらず、復号不可能な符号化画像データが入力された場合には、適切に処理できない、という問題がある。
However, the image processing apparatus described in
本発明は、上記の問題点を解決するためになされたもので、復号不可能な符号化画像データが入力された場合に、適切な処理を実行し、印刷データを生成することができる印刷データ生成装置及びプログラムを提供することを目的とする。 The present invention has been made to solve the above problems, and print data that can execute appropriate processing and generate print data when encoded image data that cannot be decoded is input. An object is to provide a generation device and a program .
上記の目的を達成するために、第1の発明に係る印刷データ生成装置は、符号化画像データを含む文書データの該符号化画像データが前記予め定められた符号化方式で符号化されているか否かを判断する判断手段と、前記符号化画像データが前記予め定められた符号化方式で符号化されていると判断された場合に、符号化画像データを復号して印刷データである画像印刷データを生成する第1の画像印刷データ生成手段と、前記符号化画像データが前記予め定められた符号化方式で符号化されていないと判断された場合に、該符号化画像データを記憶手段に記憶させる記憶制御手段と、前記符号化画像データを除いた文書データに基づいて部分文書印刷データを生成する部分文書印刷データ生成手段と、前記画像印刷データ及び前記部分文書印刷データの少なくとも一方のデータにより印刷データを生成し、該印刷データ、及び前記記憶手段に記憶された符号化画像データの少なくとも一方のデータを含む中間ファイルを生成するファイル生成手段と、前記中間ファイルに前記予め定められた符号化方式で符号化されていない符号化画像データが含まれる場合に、ネットワークを介して該符号化画像データを復号するための復号処理プログラムを取得し、該符号化画像データを復号して第2の画像印刷データを生成する第2の画像印刷データ生成手段と、前記第2の画像印刷データと前記中間ファイルに含まれる前記印刷データとを合成して、前記文書データに基づく印刷データである文書印刷データを生成する文書印刷データ生成手段と、を含んで構成されている。 In order to achieve the above object, the print data generation apparatus according to the first invention is that the encoded image data of the document data including the encoded image data is encoded by the predetermined encoding method. Determining means for determining whether or not the encoded image data is printed by decoding the encoded image data when it is determined that the encoded image data is encoded by the predetermined encoding method; a first image printing data generating means for generating data, when the coded image data is determined to the non-coded in a predetermined coding method, the storage means the coded image data a storage control unit to be stored, a partial document print data generating means for generating a partial document print data based on the document data excluding the coded image data, the image printing data and the partial document Generates print data by at least one of data of the printing data, and a file generating means for generating an intermediate file including at least one of data of the coded image data stored the print data, and said storage means, said intermediate file When the encoded image data not encoded by the predetermined encoding method is included in the image, a decoding processing program for decoding the encoded image data is obtained via a network, and the encoded image is acquired. A second image print data generation unit configured to decode the data to generate second image print data; And document print data generation means for generating document print data which is print data based on the above.
第1の発明に係る印刷データ生成装置によれば、判断手段によって、入力された符号化画像データを含む文書データの符号化画像データが予め定められた符号化方式で符号化されているか否かを判断し、符号化画像データが予め定められた符号化方式で符号化されていると判断された場合に、第1の画像印刷データ生成手段によって、符号化画像データを復号して印刷データである画像印刷データを生成し、符号化画像データが予め定められた符号化方式で符号化されていないと判断された場合に、記憶制御手段によって、該符号化画像データを記憶手段に記憶させる。 According to the print data generation apparatus of the first invention, whether or not the encoded image data of the document data including the input encoded image data is encoded by a predetermined encoding method by the determination unit. When the encoded image data is determined to have been encoded by a predetermined encoding method, the first image print data generation means decodes the encoded image data and uses the print data as the encoded image data. an image print data to generate, when the coded image data is judged not to be coded in a predetermined coding method, the storage control unit, and stores the encoded image data in the storage means.
そして、部分文書印刷データ生成手段によって、符号化画像データを除いた文書データに基づいて部分文書印刷データを生成し、ファイル生成手段によって、画像印刷データ及び前記部分文書印刷データの少なくとも一方のデータにより印刷データを生成し、該印刷データ、及び前記記憶手段に記憶された符号化画像データの少なくとも一方のデータを含む中間ファイルを生成する。
そして、第2の画像印刷データ生成手段によって、前記中間ファイルに前記予め定められた符号化方式で符号化されていない符号化画像データが含まれる場合に、ネットワークを介して該符号化画像データを復号するための復号処理プログラムを取得し、該符号化画像データを復号して第2の画像印刷データを生成する。文書印刷データ生成手段によって、前記第2の画像印刷データと前記中間ファイルに含まれる前記印刷データとを合成して、前記文書データに基づく印刷データである文書印刷データを生成する。
Then, the partial document print data generation unit generates partial document print data based on the document data excluding the encoded image data, and the file generation unit generates at least one of the image print data and the partial document print data. Print data is generated, and an intermediate file including at least one of the print data and encoded image data stored in the storage unit is generated .
Then, when the second image print data generation means includes the encoded image data not encoded by the predetermined encoding method in the intermediate file, the encoded image data is converted via the network. A decoding processing program for decoding is acquired, and the encoded image data is decoded to generate second image print data. The document print data generation unit combines the second image print data and the print data included in the intermediate file to generate document print data that is print data based on the document data.
従って、復号不可能な符号化画像データが入力されても適切な処理をし、印刷データを生成することができる。 Therefore, it is possible to decrypt non coded image data also appropriate processing is input, generates print data.
また、第1の発明に係る印刷データ生成装置は、判断手段の判断結果に基づいて、文書データの符号化画像データが予め定められた符号化方式で符号化されていない場合に、復号処理が不可能な符号化画像データが文書データに含まれていることをユーザに通知する通知手段を更に含んで構成することができる。これにより、ユーザは文書データの中に復号処理が不可能な符号化画像データが含まれていたことを知ることができ、ユーザは、必要な処置をとることができる。 The first inventions to such a print data generating device, when on the basis of the determination result of the determination means, encoded image data of the document data has not been encoded by a predetermined encoding method, decoding It is possible to further comprise notification means for notifying the user that the encoded image data that cannot be received is included in the document data. Thereby, the user can know that the encoded image data that cannot be decoded is included in the document data, and the user can take necessary measures.
第2の発明に係るプログラムは、コンピュータを、符号化画像データを含む文書データの該符号化画像データが前記予め定められた符号化方式で符号化されているか否かを判断する判断手段、前記符号化画像データが前記予め定められた符号化方式で符号化されていると判断された場合に、符号化画像データを復号して印刷データである画像印刷データを生成する第1の画像印刷データ生成手段、前記符号化画像データが前記予め定められた符号化方式で符号化されていないと判断された場合に、該符号化画像データを記憶手段に記憶させる記憶制御手段、前記符号化画像データを除いた文書データに基づいて部分文書印刷データを生成する部分文書印刷データ生成手段、前記画像印刷データ及び前記部分文書印刷データの少なくとも一方のデータにより印刷データを生成し、該印刷データ、及び前記記憶手段に記憶された符号化画像データの少なくとも一方のデータにより中間ファイルを生成するファイル生成手段、前記中間ファイルに前記予め定められた符号化方式で符号化されていない符号化画像データが含まれる場合に、ネットワークを介して該符号化画像データを復号するための復号処理プログラムを取得し、該符号化画像データを復号して第2の画像印刷データを生成する第2の画像印刷データ生成手段、及び前記第2の画像印刷データと前記中間ファイルに含まれる前記印刷データとを合成して、前記文書データに基づく印刷データである文書印刷データを生成する文書印刷データ生成手段として機能させるためのプログラムである。 According to a second aspect of the present invention, there is provided a program for determining whether the encoded image data of document data including encoded image data is encoded by the predetermined encoding method, First image print data that decodes the encoded image data and generates image print data that is print data when it is determined that the encoded image data is encoded by the predetermined encoding method Generating means, storage control means for storing the encoded image data in a storage means when it is determined that the encoded image data is not encoded by the predetermined encoding method, and the encoded image data A partial document print data generating means for generating partial document print data based on the document data excluding the image data, at least one of the image print data and the partial document print data A file generation means for generating an intermediate file from at least one of the print data and encoded image data stored in the storage means, and the predetermined code for the intermediate file When encoded image data that is not encoded by the encoding method is included, a decoding processing program for decoding the encoded image data is acquired via the network, and the encoded image data is decoded to obtain the second Second image print data generating means for generating the image print data, and a document which is print data based on the document data by combining the second image print data and the print data included in the intermediate file It is a program for causing a document print data generating means for generating print data to function.
以上説明したように、本発明の印刷データ生成装置及びプログラムによれば、復号不可能な符号化画像データが入力されても適切な処理をし、印刷データを生成することができる、という効果が得られる。 As described above, according to the print data generation apparatus and program of the present invention, also decrypt non coded image data is input to the appropriate processing, it is possible to generate print data, that the effect Is obtained.
以下に、本発明の実施の形態について図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1に示すように、第1の実施の形態に係る印刷データ生成システム10は、文書データを処理する文書処理サーバ12と、符号化画像データを画像処理する画像処理サーバ14と、複数のクライアントPC20と、電子写真プロセスによって記録用紙に画像を形成するプリンタ16とから構成されている。文書処理サーバ12はクライアントPC20とLAN54によって接続されており、また、画像処理サーバ14は、文書処理サーバ12とプリンタ16とに接続されている。
As shown in FIG. 1, a print
文書処理サーバ12には、各種プログラムやパラメータ等が記憶されたROM22、各種プログラムを実行するCPU24、CPU24による各種プログラムの実行時におけるワークエリア等として用いられるRAM26、入力された文書データを一時的に記憶するスプールとしてのHDD28、ネットワークインタフェース30、入出力インタフェース32、及びこれらを相互に接続するためのバス34が設けられている。また、画像処理サーバ14には、CPU36、ROM38、RAM40、HDD46、入出力インタフェース42、プリンタインタフェース48及びこれらを相互に接続するためのバス44が設けられている。
The
文書処理サーバ12では、文書データからビットマップデータなどの印刷データを作成するRIP処理が行われ、画像処理サーバ14では、符号化画像データの伸張・圧縮処理などの各種画像処理により、ビットマップデータが作成される。
The
画像処理サーバ14のプリンタインタフェース48には、プリンタ16が接続されており、文書処理サーバ12の入出力インタフェース32と文書処理サーバ12の入出力インタフェース42とは、配線50によって接続されている。なお、プリンタ16は、従来公知の一般的構成を備えたものであればよく、本実施の形態では、プリンタ16の一般的処理の説明を省略する。
The
また、文書処理サーバ12は、ネットワークインタフェース30を介して、クライアントPC20と接続されており、クライアントPC20には、各種のアプリケーションが設けられており、アプリケーションを用いて、画像の作成、加工、編集等の画像処理や文書作成等が行われる。なお、このようなクライアントPC20は、従来公知の一般的構成のパーソナルコンピュータを適用でき、本実施の形態では、クライアントPC20の詳細な構成の説明を省略する。また、文書処理サーバ12、画像処理サーバ14、及びクライアントPC20は、インターネット等のネットワークを介して接続されていてもよい。
Further, the
次に、第1の実施の形態の作用について説明する。クライアントPC20で、アプリケーションを用いて画像や文書などのデータの作成、編集や加工などの処理が行われ、圧縮・伸張方式である符号化方式で符号化された符号化画像データを含む文書データが文書処理サーバ12へ送信される。なお、文書データは、例えばページ記述言語で記述されたコードデータである。
Next, the operation of the first embodiment will be described. The client PC 20 performs processing such as creation, editing, and processing of data such as an image and a document using an application, and document data including encoded image data encoded by an encoding method that is a compression / decompression method. It is transmitted to the
次に、文書処理サーバ12で、図2に示す文書データ展開処理ルーチンが実行される。 Next, the document data expansion processing routine shown in FIG.
まず、ステップ100で、クライアントPC20からの文書データが入力されたか否かを判定し、入力されると判定が肯定され、ステップ102で、文書データに含まれる全ての符号化画像データを抽出し、そして、文書データを解析することにより、符号化画像データの領域を特定し、その特定された領域を空白部分とし、符号化画像データを除いた文書データを生成する。また、抽出された符号化画像データと、文書データがビットマップ展開されたときのビットマップデータ上での符号化画像データの領域とを表す領域データを生成する。
First, in
次のステップ104では、符号化画像データを除いた文書データをRIP処理することによりビットマップ展開を行い、符号化画像データを除いた文書データに基づく部分文書ビットマップデータを生成し、ステップ106で、ステップ104で生成された部分文書ビットマップデータと、ステップ102で抽出された符号化画像データと、領域データとを画像処理サーバ14へ入出力インタフェース32、42を介して出力して、文書データ展開処理ルーチンを終了する。
In the
次に、画像処理サーバ14で、図3に示す画像データ展開処理ルーチンが実行される。まず、ステップ120において、文書処理サーバ12からの部分文書ビットマップデータ、符号化画像データ、及び領域データが入力されたか否かを判定し、入力されると判定が肯定され、ステップ122において、初期化処理を行い、RAM40に設けられた未処理フラグをオフとする。そして、ステップ124において、1つ目の符号化画像データを復号することが可能か否かを判定する。例えば、HDD46に復号可能な符号化方式のリストを記憶しておき、符号化画像データの拡張子を参照することにより、符号化画像データの符号化方式がリストにあるか否かを判定する。復号可能な符号化方式であると判定が肯定され、ステップ126において、1つ目の符号化画像データを復号して、符号化画像データの画像ビットマップデータを生成し、領域データについて、1つ目の符号化画像データの領域に対応するデータをその画像ビットマップデータに設定する。
Next, the
一方、符号化画像データが復号不可能な符号化方式であるとステップ124の判定が否定され、ステップ128において、未処理フラグをオンにし、ステップ130において、1つ目の符号化画像データの領域を、予め定められた代替ビットマップデータに置換える。例えば、×印や「処理できない画像データが含まれています」という警告メッセージが表示され、かつ符号化画像データの領域と同じ大きさの代替ビットマップデータを生成し、領域データについて、1つ目の符号化画像データの領域に対応するデータを1つ目の符号化画像データからその代替ビットマップデータに置換える。そして、ステップ132では、符号化画像データの情報を含む復号不可能エラーメッセージを作成する。
On the other hand, if the encoded image data is an undecodable encoding method, the determination in
次のステップ134では、ステップ120で入力された符号化画像データのうち、上記のステップ124〜132の処理が実行されていない符号化画像データがあるか否かを判定し、未処理の符号化画像データがあると、判定が肯定され、ステップ124へ戻り、2つ目以降の符号化画像データについて上記のステップ124〜132の処理を繰り返し実行する。全ての符号化画像データについてステップ124〜132の処理が実行されると、ステップ134の判定が肯定され、ステップ138において、領域データに基づいて、ステップ120で入力された部分文書ビットマップデータ上に画像ビットマップデータ又は代替ビットマップデータを合成して合成ビットマップデータを生成する。そして、ステップ140において、未処理フラグがオンとなっているか否かを判定し、全ての符号化画像データが復号化されると、判定が否定され、ステップ144へ移行し、一方、復号化されなかった符号化画像データがあると、判定が肯定され、ステップ142において、ステップ132で作成された復号不可能エラーメッセージを文書処理サーバ12へ出力して、ステップ144へ移行する。
In the
ステップ144では、合成ビットマップデータをプリンタ16へ出力して、画像データ展開処理ルーチンを終了する。また、文書処理サーバ12では、入力された復号不可能エラーメッセージに基づいて、クライアントPC20のモニタ(図示省略)に復号不可能エラーメッセージの内容を表示させる。
In
以上説明したように、第1の実施の形態に係る印刷データ生成システムによれば、復号不可能な符号化画像データを含む文書データが入力された場合に、符号化画像データを代替ビットマップデータに置換することにより、文書データに基づくビットマップデータを生成することができるため、復号不可能な符号化画像データが入力されても適切な処理をし、ビットマップデータを生成することができる。 As described above, according to the print data generation system according to the first embodiment, when document data including encoded image data that cannot be decoded is input, the encoded image data is replaced with alternative bitmap data. Since the bitmap data based on the document data can be generated by replacing with the above, even if encoded image data that cannot be decoded is input, appropriate processing can be performed to generate the bitmap data.
また、復号不可能エラーメッセージに基づいて、クライアントPCのモニタにエラーメッセージを表示することにより、ユーザは文書データの中に復号処理が不可能な符号化画像データが含まれていたことを知ることができ、ユーザは、必要な処置をとることができる。 Also, by displaying an error message on the monitor of the client PC based on the undecodable error message, the user knows that the encoded image data that cannot be decoded is included in the document data. And the user can take the necessary action.
次に、本発明の第2の実施の形態について説明する。第1の実施の形態と同一構成である部分については、同一符号を付して説明を省略する。 Next, a second embodiment of the present invention will be described. Parts having the same configurations as those of the first embodiment are denoted by the same reference numerals and description thereof is omitted.
第2の実施の形態に係る印刷データ生成システム60では、図4に示すように、文書処理サーバ12とクライアントPC20とが接続されているLAN54に、ソフトウェアのバージョンアップ情報などを監視し、新しいソフトウェアを外部から取得し、記憶しておく監視サーバ52が接続されている点が第1の実施の形態と異なる。監視サーバ52には、符号化画像データを復号するための復号処理プログラムなどのプログラムが記憶されており、文書処理サーバ12からプログラムが要求されると、そのプログラムを記憶されているプログラムの中から検索し、文書処理サーバ12へ出力する。
In the print
次に、第2の実施の形態の作用について説明する。なお、第1の実施の形態の処理と同一な処理については、同一符号を付して詳細な説明を省略する。 Next, the operation of the second embodiment will be described. In addition, about the process same as the process of 1st Embodiment, the same code | symbol is attached | subjected and detailed description is abbreviate | omitted.
まず、第1の実施の形態と同様に、文書データがクライアントPC20から文書処理サーバ12に入力され、文書処理サーバ12において、上述した図2に示す文書データ展開処理ルーチンが実行される。
First, as in the first embodiment, document data is input from the
次に、画像処理サーバ14において、図5に示す画像データ展開処理ルーチンが実行される。まず、ステップ120において、文書処理サーバ12からの部分文書ビットマップデータ、符号化画像データ、及び領域データが入力されたか否かを判定し、ステップ122において、初期化処理を行い、未処理フラグをオフとする。そして、ステップ124において、1つ目の符号化画像データを復号することを可能か否かを判定し、判定が肯定されると、ステップ126において、1つ目の符号化画像データを復号して画像ビットマップデータを生成し、領域データについて、1つ目の符号化画像データの領域に対応するデータをその画像ビットマップデータに設定して、ステップ134へ移行する。
Next, the
一方、符号化画像データが復号不可能な符号化方式であるとステップ124の判定が否定され、ステップ128において、未処理フラグをオンにし、ステップ150で、1つ目の符号化画像データをRAM40に設けられた復号不可能データファイルに記憶する。そして、ステップ132では、符号化画像データの情報を含む復号不可能エラーメッセージを作成する。
On the other hand, if the encoded image data is an undecodable encoding method, the determination in
ステップ134では、ステップ120で入力された符号化画像データのうち、上記の処理が実行されていない符号化画像データがあるか否かを判定し、未処理の符号化画像データがあると、判定が肯定され、ステップ124へ戻り、2つ目以降の符号化画像データについて上記の処理を繰り返し実行する。全ての符号化画像データについて上記の処理が実行されると、ステップ134の判定が肯定され、ステップ154において、領域データに基づいて、ステップ120で入力された部分文書ビットマップデータ上の対応する領域に画像ビットマップデータを合成して合成ビットマップデータを生成する。そして、ステップ140において、未処理フラグがオンとなっているか否かを判定し、判定が肯定されると、ステップ154において、ステップ152で生成された合成ビットマップデータを含む合成データファイルとステップ150で復号不可能データファイルに記憶された符号化画像データからなる未処理データファイルとからなる中間ファイルを生成してHDD46に記憶し、ステップ142において、ステップ132で作成された復号不可能エラーメッセージを文書処理サーバ12へ出力し、画像データ展開処理ルーチンを終了する。
In
中間ファイルは、図6に示すように複数のファイルから構成されており、符号化画像データと部分文書ビットマップデータとが合成された合成ビットマップデータを含む合成データファイルと、各符号化方式で符号化されている符号化画像データから構成された未処理データファイルとから構成されている。未処理データファイルのファイルヘッダには、符号化方式の情報と領域データの情報とが含まれている。 The intermediate file is composed of a plurality of files as shown in FIG. 6, and a combined data file including combined bitmap data obtained by combining encoded image data and partial document bitmap data, and each encoding method. And an unprocessed data file composed of encoded image data that has been encoded. The file header of the unprocessed data file includes encoding method information and area data information.
一方、未処理フラグがオフになっていると、ステップ140の判定が否定され、ステップ144において、合成ビットマップデータをプリンタ16へ出力して、画像データ展開処理ルーチンを終了する。
On the other hand, if the unprocessed flag is off, the determination in
次に、文書処理サーバ12において、図7に示す未処理データ展開処理ルーチンを実行する。まず、ステップ170で、画像処理サーバ14からの復号不可能エラーメッセージが入力されたか否かを判定し、入力されると判定が肯定され、ステップ172において、復号不可能エラーメッセージから符号化画像データの符号化方式を解析し、その符号化方式で符号化されている符号化画像データを復号するための復号処理プログラムを監視サーバ52に要求する。次のステップ173では、復号不可能エラーメッセージに基づいて、クライアントPC20のモニタに、復号不可能な符号化画像データが含まれ、復号処理プログラムを取得中であることを表示させる。
Next, in the
そして、ステップ174において、監視サーバ52から応答があったか否かを判定し、応答があると判定が肯定され、ステップ175において、監視サーバ52から復号処理プログラムを取得したか否かを判定し、監視サーバ52に要求した復号処理プログラムがないと判定が否定され、ステップ190において、クライアントPC20のモニタに復号不可能エラーメッセージを表示させて、未処理データ展開処理ルーチンを終了する。
In
一方、復号処理プログラムを取得するとステップ175の判定が肯定され、ステップ176において、HDD28に復号処理プログラムを実行可能なプログラムとして組み込む。次のステップ178では、ステップ170で入力された復号不可能エラーメッセージに対応する中間ファイルを画像処理サーバ14に要求し、ステップ180において、画像処理サーバ14から中間ファイルを取得したか否かを判定する。取得すると判定が肯定され、ステップ182において、取得した中間ファイルから未処理データファイルを読込んで、ステップ184で、ステップ196で組み込んだ復号処理プログラムによって、未処理データファイルの符号化画像データを復号し、画像ビットマップデータを生成する。
On the other hand, when the decryption processing program is acquired, the determination in
次のステップ186では、未処理データファイルのファイルヘッダに記憶されている領域データの情報に基づいて、中間ファイルの合成データファイルの合成ビットマップデータ上に、ステップ184で得られた画像ビットマップデータを合成し、ステップ188で、合成したビットマップデータを画像処理サーバ14に出力して、未処理データ展開処理ルーチンを終了する。
In the
そして、画像処理サーバ14では、入力されたビットマップデータをプリンタ16へ出力し、ビットマップデータに基づいて印刷を実行させる。
Then, the
以上説明したように、第2の実施の形態に係る印刷データ生成システムによれば、復号不可能な符号化画像データを含む文書データが入力された場合に、復号不可能な符号化画像データを復号するための復号処理プログラムを文書処理サーバが取得し、符号化画像データを復号することにより、文書データに基づくビットマップデータを生成することができるため、復号不可能な符号化画像データが入力されても適切な処理をし、ビットマップデータを生成することができる。 As described above, according to the print data generation system according to the second embodiment, when document data including encoded image data that cannot be decoded is input, encoded image data that cannot be decoded is input. Since the document processing server obtains a decoding processing program for decoding and decodes the encoded image data, bitmap data based on the document data can be generated, so that encoded image data that cannot be decoded is input. However, it is possible to generate bitmap data by performing appropriate processing.
また、復号不可能な符号化画像データと合成ビットマップデータを中間ファイルに記憶することにより、復号処理プログラムを取得し、符号化画像データを復号することができるようになった際に、容易に文書データに基づくビットマップデータを生成することができる。 In addition, by storing encoded image data and composite bitmap data that cannot be decoded in an intermediate file, a decoding processing program can be acquired and encoded image data can be decoded easily. Bitmap data based on document data can be generated.
なお、中間ファイルが複数のファイルから構成されている場合を例に説明したが、これに限定されるものではなく、図8に示すように、合成ビットマップデータと符号化画像データとを1つのデータファイルとしてまとめてもよい。また、図5のように符号化方式毎に未処理データファイルを作るのではなく、復号化されなかった符号化画像データ毎に未処理データファイルを作成しても良い。 Although the case where the intermediate file is composed of a plurality of files has been described as an example, the present invention is not limited to this, and as shown in FIG. 8, the synthesized bitmap data and the encoded image data are combined into one. It may be collected as a data file. Further, instead of creating an unprocessed data file for each encoding method as shown in FIG. 5, an unprocessed data file may be created for each encoded image data that has not been decoded.
次に、本発明の第3の実施の形態について説明する。第3の実施の形態では、全ての符号化画像データの復号処理が画像処理サーバ14で実行される点が第2の実施の形態と異なる。なお、印刷データ生成システムの構成については、第2の実施の形態と同様であるので、同一符号を付して、説明を省略する。
Next, a third embodiment of the present invention will be described. The third embodiment is different from the second embodiment in that decoding processing of all encoded image data is executed by the
次に第3の実施の形態の作用について説明する。なお、第2の実施の形態と同じ処理については、同一符号を付して、説明を省略する。 Next, the operation of the third embodiment will be described. Note that the same processes as those in the second embodiment are denoted by the same reference numerals, and description thereof is omitted.
まず、文書処理サーバ12において、上述した図2に示す文書データ展開処理ルーチンを実行し、次に、画像処理サーバ14において、上述した図5に示す画像データ展開処理ルーチンを実行する。
First, the
そして、文書処理サーバ12において、図9に示す復号処理プログラム取得処理ルーチンが実行される。まず、ステップ170において、画像処理サーバ14からの復号不可能エラーメッセージが入力されたか否かを判定し、入力されると判定が肯定され、ステップ172において、復号不可能エラーメッセージの対象となっている符号化画像データの符号化方式の復号処理プログラムを監視サーバ52に要求する。次のステップ173では、クライアントPC20のモニタに、復号不可能な符号化画像データが含まれており、復号処理プログラムを取得中であることを表示させ、ステップ174において、監視サーバ52から応答があったか否かを判定し、判定が肯定されると、ステップ175において、監視サーバ52から復号処理プログラムを取得したか否かを判定し、判定が否定されると、ステップ190において、クライアントPC20のモニタに復号不可能エラーメッセージを表示させて、復号処理プログラム取得処理ルーチンを終了する。
Then, the
一方、監視サーバ52から復号処理プログラムを取得すると判定が肯定され、ステップ200において、復号処理プログラムを画像処理サーバ14に出力する。
On the other hand, when the decoding processing program is acquired from the monitoring
次に、画像処理サーバ14において、図10に示す未処理データ展開処理ルーチンが実行される。まず、ステップ202において、文書処理サーバ12からの復号処理プログラムが入力されたか否かを判定し、入力されると判定が肯定され、ステップ204において、HDD46に復号処理プログラムを実行可能なプログラムとして組み込む。次のステップ206では、HDD46に記憶した中間ファイルから未処理データファイルを読込んで、ステップ208で、ステップ204で組み込んだ復号処理プログラムによって、未処理データファイルの符号化画像データを復号し、符号化画像データの画像ビットマップデータを生成する。
Next, in the
次のステップ210では、未処理データファイルのファイルヘッダの領域データの情報に基づいて、中間ファイルの合成データファイルの合成ビットマップデータ上に、ステップ208で得られた画像ビットマップデータを合成し、ステップ212で、合成したビットマップデータをプリンタ16へ出力し、ビットマップデータに基づいて印刷を実行させて、未処理データ展開処理ルーチンを終了する。
In the
以上説明したように、本発明の第3の実施形態に係る印刷データ生成システムによれば、復号不可能な符号化画像データを含む文書データが入力された場合に、符号化画像データの符号化方式に対応する復号処理プログラムを文書処理サーバが取得し、復号処理プログラムを画像処理サーバに組み込み、画像処理サーバが符号化画像データを復号することにより、文書データに基づくビットマップデータを生成することができるため、復号不可能な符号化画像データが入力されても適切な処理をし、ビットマップデータを生成することができる。 As described above, the print data generation system according to the third embodiment of the present invention encodes encoded image data when document data including encoded image data that cannot be decoded is input. The document processing server obtains a decoding processing program corresponding to the method, incorporates the decoding processing program into the image processing server, and the image processing server decodes the encoded image data, thereby generating bitmap data based on the document data. Therefore, even if encoded image data that cannot be decoded is input, appropriate processing can be performed to generate bitmap data.
なお、本発明に係る印刷データ生成装置を、文書処理サーバ及び画像処理サーバからなる印刷データ生成システムで実現する場合を例に説明したが、文書処理サーバ及び画像処理サーバの何れか一方で実現するように構成してもよい。 Although the case where the print data generation apparatus according to the present invention is realized by a print data generation system including a document processing server and an image processing server has been described as an example, the print data generation apparatus is realized by either the document processing server or the image processing server. You may comprise as follows.
また、符号化画像データを復号するための復号処理プログラムをLANで接続された監視サーバから取得する場合を例に説明したが、インターネットを介して、復号処理プログラムを検索し、取得するようにしてもよい。 Moreover, although the case where the decoding processing program for decoding the encoded image data is acquired from the monitoring server connected via the LAN has been described as an example, the decoding processing program is searched and acquired via the Internet. Also good.
また、復号不可能エラーメッセージに基づいて、クライアントPCのモニタに警告メッセージを表示する場合を例に紹介したが、警告メッセージをプリンタに印刷させるようにしてもよい。 Further, the case where a warning message is displayed on the monitor of the client PC based on the undecryptable error message has been introduced as an example, but the warning message may be printed by a printer.
10、60 印刷データ生成システム
12 文書処理サーバ
14 画像処理サーバ
16 プリンタ
20 クライアントPC
52 監視サーバ
54 LAN
10, 60 Print
52
Claims (3)
前記符号化画像データが前記予め定められた符号化方式で符号化されていると判断された場合に、符号化画像データを復号して印刷データである画像印刷データを生成する第1の画像印刷データ生成手段と、
前記符号化画像データが前記予め定められた符号化方式で符号化されていないと判断された場合に、該符号化画像データを記憶手段に記憶させる記憶制御手段と、
前記符号化画像データを除いた文書データに基づいて部分文書印刷データを生成する部分文書印刷データ生成手段と、
前記画像印刷データ及び前記部分文書印刷データの少なくとも一方のデータにより印刷データを生成し、該印刷データ、及び前記記憶手段に記憶された符号化画像データの少なくとも一方のデータを含む中間ファイルを生成するファイル生成手段と、
前記中間ファイルに前記予め定められた符号化方式で符号化されていない符号化画像データが含まれる場合に、ネットワークを介して該符号化画像データを復号するための復号処理プログラムを取得し、該符号化画像データを復号して第2の画像印刷データを生成する第2の画像印刷データ生成手段と、
前記第2の画像印刷データと前記中間ファイルに含まれる前記印刷データとを合成して、前記文書データに基づく印刷データである文書印刷データを生成する文書印刷データ生成手段と、
を含む印刷データ生成装置。 Determining means for determining whether or not the encoded image data of the document data including the encoded image data is encoded by the predetermined encoding method;
First image printing that decodes the encoded image data to generate image print data that is print data when it is determined that the encoded image data is encoded by the predetermined encoding method Data generation means;
When the encoded image data is determined to the non-coded in a predetermined coding method, and storage control means for storing the coded image data in the storage means,
Partial document print data generating means for generating partial document print data based on document data excluding the encoded image data;
Print data is generated from at least one of the image print data and the partial document print data , and an intermediate file including the print data and at least one of the encoded image data stored in the storage unit is generated. File generation means;
When the intermediate file includes encoded image data not encoded by the predetermined encoding method, obtains a decoding processing program for decoding the encoded image data via a network; Second image print data generation means for decoding the encoded image data and generating second image print data;
Document print data generation means for combining the second image print data and the print data included in the intermediate file to generate document print data that is print data based on the document data;
A print data generation apparatus including:
符号化画像データを含む文書データの該符号化画像データが前記予め定められた符号化方式で符号化されているか否かを判断する判断手段、
前記符号化画像データが前記予め定められた符号化方式で符号化されていると判断された場合に、符号化画像データを復号して印刷データである画像印刷データを生成する第1の画像印刷データ生成手段、
前記符号化画像データが前記予め定められた符号化方式で符号化されていないと判断された場合に、該符号化画像データを記憶手段に記憶させる記憶制御手段、
前記符号化画像データを除いた文書データに基づいて部分文書印刷データを生成する部分文書印刷データ生成手段、
前記画像印刷データ及び前記部分文書印刷データの少なくとも一方のデータにより印刷データを生成し、該印刷データ、及び前記記憶手段に記憶された符号化画像データの少なくとも一方のデータにより中間ファイルを生成するファイル生成手段、
前記中間ファイルに前記予め定められた符号化方式で符号化されていない符号化画像データが含まれる場合に、ネットワークを介して該符号化画像データを復号するための復号処理プログラムを取得し、該符号化画像データを復号して第2の画像印刷データを生成する第2の画像印刷データ生成手段、及び
前記第2の画像印刷データと前記中間ファイルに含まれる前記印刷データとを合成して、前記文書データに基づく印刷データである文書印刷データを生成する文書印刷データ生成手段
として機能させるためのプログラム。 Computer
Determination means for determining whether or not the encoded image data of the document data including the encoded image data is encoded by the predetermined encoding method;
First image printing that decodes the encoded image data to generate image print data that is print data when it is determined that the encoded image data is encoded by the predetermined encoding method Data generation means,
When the encoded image data is determined to the non-coded in a predetermined coding method, the storage control means for storing the coded image data in the storage means,
Partial document print data generating means for generating partial document print data based on document data excluding the encoded image data;
A file that generates print data from at least one of the image print data and the partial document print data , and generates an intermediate file from at least one of the print data and encoded image data stored in the storage unit Generating means,
When the intermediate file includes encoded image data not encoded by the predetermined encoding method, obtains a decoding processing program for decoding the encoded image data via a network; Second image print data generation means for decoding the encoded image data and generating second image print data; and
Document print data generation means for generating document print data which is print data based on the document data by combining the second image print data and the print data included in the intermediate file
Program to function as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005084819A JP4747624B2 (en) | 2005-03-23 | 2005-03-23 | Print data generation apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005084819A JP4747624B2 (en) | 2005-03-23 | 2005-03-23 | Print data generation apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006270440A JP2006270440A (en) | 2006-10-05 |
JP4747624B2 true JP4747624B2 (en) | 2011-08-17 |
Family
ID=37205934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005084819A Expired - Fee Related JP4747624B2 (en) | 2005-03-23 | 2005-03-23 | Print data generation apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4747624B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2900386B2 (en) * | 1988-12-26 | 1999-06-02 | キヤノン株式会社 | Image playback device |
JP3324566B2 (en) * | 1999-05-27 | 2002-09-17 | 日本電気株式会社 | Image transfer system and method |
JP2004173084A (en) * | 2002-11-21 | 2004-06-17 | Canon Inc | Composite image taking device with communication function |
JP2004221825A (en) * | 2003-01-14 | 2004-08-05 | Matsushita Electric Ind Co Ltd | Device and method for decoding image data |
JP2005073123A (en) * | 2003-08-27 | 2005-03-17 | Canon Inc | Image coding apparatus, method, and storage medium having recorded program |
-
2005
- 2005-03-23 JP JP2005084819A patent/JP4747624B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006270440A (en) | 2006-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2264995B1 (en) | Image processing apparatus, image processing method, and computer program | |
JP4702947B2 (en) | Code information printing apparatus, printing method, restoration apparatus, restoration method, and computer program | |
JP4710763B2 (en) | Image processing program, instruction device, and image processing system | |
JP5388491B2 (en) | Printing apparatus, control method therefor, and control program | |
JP5536734B2 (en) | Watermark generation program | |
JP4747624B2 (en) | Print data generation apparatus and program | |
JP4835416B2 (en) | Print server, image forming apparatus, and image processing program | |
JP6060534B2 (en) | Image processing apparatus, image processing system, and printing method | |
JP2009100262A (en) | Code information processing apparatus and code information processing program | |
JP2005173923A (en) | Document processing device and method | |
JP5200791B2 (en) | Image processing apparatus, information processing method, computer program, and information recording medium | |
JP4586681B2 (en) | Printing control apparatus, printing system, and form overlay printing method thereof | |
US10264143B2 (en) | Image forming apparatus | |
JP4345623B2 (en) | Image processing device | |
JP4735128B2 (en) | Document processing device | |
JP2008287440A (en) | Image processor and program | |
JP2007328487A (en) | Two dimensional code generation device, two dimensional code generation method, two dimensional code generation program, information embedding device, information embedding method, information embedding program, and two dimensional code | |
JP6613872B2 (en) | Information processing apparatus, image reading apparatus, code image generating apparatus, and program | |
JP2005267084A (en) | Image processing method and device | |
JP5040570B2 (en) | Information processing apparatus and information processing program | |
JP2007005949A (en) | Image forming apparatus, method and program | |
JP2009230316A (en) | File management device, image forming system, and file management method | |
JP2011159219A (en) | Pdl data processor and pdl data processing program | |
JP2010050565A (en) | Data processing apparatus | |
JP2007172233A (en) | Image processing history management device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080221 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100907 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100914 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101110 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110419 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110502 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140527 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |