JP3897539B2 - Print data generation method and apparatus - Google Patents
Print data generation method and apparatus Download PDFInfo
- Publication number
- JP3897539B2 JP3897539B2 JP2001140697A JP2001140697A JP3897539B2 JP 3897539 B2 JP3897539 B2 JP 3897539B2 JP 2001140697 A JP2001140697 A JP 2001140697A JP 2001140697 A JP2001140697 A JP 2001140697A JP 3897539 B2 JP3897539 B2 JP 3897539B2
- Authority
- JP
- Japan
- Prior art keywords
- page
- pattern
- data
- composite
- 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
Landscapes
- Record Information Processing For Printing (AREA)
- Editing Of Facsimile Originals (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は印刷データ生成方法及びその装置、すなわち、情報伝達用の文書データと機能表示用の模様データとを含む印刷データを作成する印刷データ生成方法及びその装置、特にアプリケーションが出力した文書等の1ページ分の印刷データを、複数枚の記録媒体上に分割して画像を形成するように印刷する機能を持つ印刷データ生成方法及びその装置に関するものである。
【0002】
【従来の技術】
情報伝達用の印刷データと機能表示用の印刷データとを含む印刷データを作成する一例として、プリンタが扱うことのできる印刷用紙のサイズより大きな印刷結果を得ようとする場合がある。一般に、プリンタが扱うことのできる印刷用紙のサイズより大きな印刷結果を得る場合には、印刷データを部分的に分割し複数回に分けて印刷することにより分割印刷を行い、印刷された複数枚の用紙を適当に配置して互いに貼り合わせることで、もとの印刷用紙に納まるように印刷した印刷結果より大きいサイズの印刷結果を得ることが可能で、ポスター印刷と呼ばれている。
【0003】
このポスター印刷を実現するため、例えばアプリケーションが扱う文書のページを拡大して複数枚の用紙に分割して印刷する場合、貼り合わせ作業を容易にするために、各用紙の少なくとも一辺に糊代用の余白を設けて印刷を行っていた。また、プリンタによっては印刷可能領域が用紙のサイズより小さいため印刷後の用紙には余白が残り、貼り合わせの際には不要領域となって極端な場合には貼り合わせにより印刷情報が覆われるため、余白部分を切り落とせるように予め切取用の余白を設けて印刷を行っていた。
【0004】
また更に、切り取り作業や貼り合わせ作業を容易にするため糊代用余白と切取用余白の印刷データ側に破線を描画したり、糊代用余白には「のりしろ」切取用余白には「切り取り」等と文字列を描画したり、或いは文字列ではなくて糊代と切取をあらわすようなアイコン等の図形を余白に描画したりしていた。以下、この明細書ではこれらの文字列やアイコン等の図形を総称して模様と呼ぶ。
【0005】
【発明が解決しようとする課題】
ところで、前記のような従来の技術には、次のような解決すべき課題があった。
【0006】
模様付きの文書印刷を実行する場合、従来は、プリンタドライバにより模様のビットマップデータを生成し、文書の各ページのビットマップデータと重ね合わせた後のデータをプリンタに送っていた。従って、プリンタドライバがビットマップデータを合成するために大量の記憶領域を使用する欠点がある。
【0007】
加えて、ネットワーク環境において、クライアント側でアプリケーションが印刷データを作成し、サーバ側でプリンタドライバが動作する場合に、クライアント側でユーザが指定した模様の文字列のフォントやアイコンの画像等がサーバに存在しない場合は、模様を付加した印刷が出来ない欠点がある。
【0008】
本発明は、前記従来の欠点を除去し、情報伝達用の文書データと機能表示用の模様データ(糊代や切取など)とを含む印刷データをプリントする場合に、必要とする記憶領域の容量を小さくし、ネットワークにかかる負荷を低減出来、サーバに必要なフォント等が存在しなくても印刷が可能となる印刷データ生成方法及びその装置を提供する。
【0009】
【問題を解決するための手段】
前記の目的を達成するために、本発明の印刷データ生成方法及びその装置は、システムによる印刷イベントの通知を利用し模様ページをアプリケーションに成り代わり描画し、アプリケーションの文書ページの間に挿入することで、システム標準のスプールファイルに保存され、デスプーリングにおいてプリントプロセッサにより重ね合わせを行い、プリンタグラフィクスドライバは重ね合わせ処理が行われた印刷データをビットマップイメージに変換しプリンタに供給する。
【0010】
すなわち、本発明の印刷データ生成方法は、アプリケーションで作成された文書ページのデータが格納されるスプールファイルから文書ページのデータを読み込み、読み込まれた文書ページのデータに基づきプリンタに供給されるビットマップデータを生成する印刷データ生成方法であって、模様ページ生成手段が、前記アプリケーションからの印刷開始のイベントに応じて、文書ページ上に模様を付加するよう指示する模様設定がある場合に、前記スプールファイルに格納される模様ページのデータを生成する模様ページ生成ステップと、合成ページ作成手段が、前記スプールファイルから文書ページのデータを読み込み拡大して描画し、前記スプールファイルから模様ページのデータを読み込み、前記拡大して描画した文書ページのデータに重ねて描画することにより、合成ページのデータを作成する合成ページ作成ステップと、ビットマップデータ生成手段が、前記合成ページ作成ステップで作成された合成ページのデータから、ビットマップデータを生成するビットマップデータ生成ステップとを有することを特徴とする。ここで、前記合成ページ作成ステップでは、前記スプールファイルから文書ページのデータと模様ページのデータとを読み出し、合成ページのデータを作成して、グラフィックデバイスインタフェースに供給し、前記ビットマップデータ生成ステップでは、作成された合成ページのデータから、前記グラフィックデバイスインタフェースが生成した描画コマンドに基づき、ビットマップデータを生成する。また、前記模様ページは、のりしろを示す模様を含む。また、前記模様ページは、切り取りを示す模様を含む。また、前記模様ページ生成ステップでは、更に、印刷設定の変更のイベントに応じて、模様ページのデータを生成する。
【0011】
又、前記模様ページ生成ステップは、ユーザインタフェースドライバが実行し、前記合成ページ作成ステップは、プリントプロサッセが実行し、前記ビットマップデータ生成ステップは、プリンタグラフィックドライバが実行する。
【0012】
又、本発明の印刷データ生成装置は、アプリケーションで作成された文書ページのデータが格納されるスプールファイルから文書ページのデータを読み込み、読み込まれた文書ページのデータに基づきプリンタに供給されるビットマップデータを生成する印刷データ生成装置であって、前記アプリケーションからの印刷開始のイベントに応じて、文書ページ上に模様を付加するよう指示する模様設定がある場合に、前記スプールファイルに格納される模様ページのデータを生成する模様ページ生成手段と、前記スプールファイルから文書ページのデータを読み込み拡大して描画し、前記スプールファイルから模様ページのデータを読み込み、前記拡大して描画した文書ページのデータに重ねて描画することにより、合成ページのデータを作成する合成ページ作成手段と、前記合成ページ作成手段により作成された合成ページのデータから、ビットマップデータを生成するビットマップデータ生成手段とを有することを特徴とする。ここで、前記合成ページ作成手段は、前記スプールファイルから文書ページのデータと模様ページのデータとを読み出し、合成ページのデータを作成して、グラフィックデバイスインタフェースに供給し、前記ビットマップデータ生成手段は、作成された合成ページのデータから、前記グラフィックデバイスインタフェースが生成した描画コマンドに基づき、ビットマップデータを生成する。また、前記模様ページは、のりしろを示す模様を含む。また、前記模様ページは、切り取りを示す模様を含む。また、前記模様ページ生成手段は、更に、印刷設定の変更のイベントに応じて、模様ページのデータを生成する。
【0013】
又、前記模様ページ生成手段は、ユーザインタフェースドライバにより実現され、前記合成ページ作成手段は、プリントプロサッセにより実現され、前記ビットマップデータ生成手段は、プリンタグラフィックドライバにより実現される。
【0016】
又、本発明のコンピュータプログラムは、アプリケーションで作成された文書ページのデータが格納されるスプールファイルから文書ページのデータを読み込み、読み込まれた文書ページのデータに基づきプリンタに供給されるビットマップデータを生成する印刷データ生成方法を実現させるためのコンピュータプログラムであって、前記アプリケーションからの印刷開始のイベントに応じて、文書ページ上に模様を付加するよう指示する模様設定がある場合に、前記スプールファイルに格納させる模様ページのデータを生成する模様ページ生成ステップと、前記スプールファイルから文書ページのデータを読み込み拡大して描画し、前記スプールファイルから模様ページのデータを読み込み、前記拡大して描画した文書ページのデータに重ねて描画することにより、合成ページのデータを作成する合成ページ作成ステップと、前記合成ページ作成ステップで作成された合成ページのデータから、ビットマップデータを生成するビットマップデータ生成ステップとを、コンピュータに実行させる。
【0017】
かかる構成により、
(1)模様ページの印刷データと文書ページの印刷データとを重ね合わせ合成した後でビットマップデータに変換しプリンタに送るので、記憶領域の使用量を抑えられコンピュータの負荷が減り印刷速度も向上する。
【0018】
(2)スプールファイル中に挿入される模様ページの数は、アプリケーションが発行した印刷ページ数に依存しないのでスプールされるデータサイズが小さくて済む。
【0019】
(3)ネットワーク環境における印刷では、クライアントからサーバへ模様ページを転送する特別な手法を用いる必要が無く、データ転送時間が短くなりネットワークにかける付加が小さくなる。
【0020】
【発明の実施の形態】
以下、本発明の実施の形態を、具体例を用いて説明する。
【0021】
<実施形態1>
(本実施形態の印刷システムの構成例)
図1は、本発明による印刷システムの実施形態を示すブロック図である。図において、特に本発明の実現に関るモジュールは、模様設定処理部と模様ページ生成処理部を兼備するユーザインタフェースドライバ3と、模様ページ合成処理部として機能するプリントプロセッサ5である。なお、本実施形態ではオペレーティングシステムとしてWindowsを用いた場合を示すが、本発明はこれに限定されない。
【0022】
図1の印刷システムは、上位装置であるパーソナルコンピュータ等でアプリケーション1が作成した情報伝達にための文書等の印刷用データを、GDI2を通じてEMFスプールファイル4に一時保持し、これをビットマップデータに変換してプリンタ7に供給し印刷するよう構成されている。ここで、GDIとはグラフィックデバイスインタフェースのことでWindowsのグラフィクスエンジンである。また、EMFとはEnhanced Meta Fileの略でWindowsにおける描画データの論理的な格納形式であり、EMFスプールファイル4には印刷データがEMF形式で格納される。
【0023】
ユーザインタフェースドライバ3は、一般に印刷に使用する用紙サイズや印刷方向、その他の属性を設定する機能を提供する。同時に、本実施形態におけるユーザインタフェースドライバ3は、用紙サイズ等の属性の他にポスター印刷の切取余白や糊代余白部分の模様の属性を設定する機能を提供する模様設定処理部を有し、模様の属性が設定された場合、アイコンを用いる模様ならばアイコン画像が格納されているファイル名等の設定値をアプリケーション1に返却する。また、余白部分の切取作業や張付作業をする際の位置合わせを容易にするトンボ線や余白部分を示す破線等を用いる場合においても、それらの設定値をアプリケーション1に返却する。
【0024】
アプリケーション1は、任意の文書を作成し、印刷するために印刷システムに印刷開始を通知する。ここで、GDI2は、ユーザインタフェースドライバ3にアプリケーション1による印刷開始の印刷イベントを通知する。ユーザインタフェースドライバ3は、印刷開始の印刷イベントを受け取ると、アプリケーション1に成り代わり模様のみ描画されたページを生成する。
【0025】
続いて、アプリケーション1は任意の文書のページデータをGDI2に供給し、印刷処理を続行する。ここでGDI2を経由した印刷データは、EMFスプールファイル4に格納される。従って、EMFスプールファイル4には、ユーザインタフェースドライバ3が生成した模様ページの描画データとアプリケーション1が生成した文書ページの描画データとが格納される。
【0026】
プリントプロセッサ5は、Windowsにおいて、印刷時にEMFスプールファイル4から印刷出力情報と印刷データとを読込み、印刷データを1ページずつGDI2を介してプリンタグラフィクスドライバ6に供給して印刷を行うモジュールである。本実施形態におけるプリントプロセッサ5は、同時に模様ページ合成処理部の機能を有し、EMFスプールファイル4から印刷するべき文書データのページと、ユーザインタフェースドライバ3が作成した模様ページとを読み出し、これらを重ね合わせて新たに合成ページを作成してGDI2に供給する。ここで、プリントプロセッサ5は、アプリケーション1の文書データの1ページを複数ページに分割して印刷するため、模様ページ合成処理において文書ページを拡大した描画データと模様ページとを重ね合わせて合成ページを作成する作業を、複数回繰り返す。
【0027】
イメージ生成処理部の機能を有するプリンタグラフィックドライバ6は、プリントプロセッサ5が供給した合成ページの印刷データを基に、GDI2が生成したグラフィック描画コマンドからビットマップデータを生成するモジュールであり、生成したビットマップデータを図に示していないデータ送信部を介してプリンタ7に供給する。
【0028】
出力デバイスであるプリンタ7は、例えば、プリンタグラフィックドライバ6から渡された、印刷データのページ12が拡大描画されたイメージと模様ページ9とが重ね合わされたビットマップデータを用紙8に対し印刷する機能を持つ。
【0029】
本実施形態で模様の属性に文字列を設定する場合には、予めユーザインタフェースドライバ3で文字列を描画した模様ページを作成しEMFスプールファイル4に格納しておき、プリントプロセッサ5で模様ページの印刷データとアプリケーション1からの文書ページの印刷データとを重ね合わせた合成ページの印刷データを、プリンタグラフィクスドライバ6に供給して、印刷すべき文書ページと模様ページとが重ね合わされた状態のビットマップを生成し、そのビットマップをプリンタ7に供給する。
【0030】
図1の例には、アプリケーション1の文書ページを2分割する(すなわち、印刷データを2倍に拡大する)場合を示しており、ユーザインタフェースドライバ3は模様ページとして「切り取り」文字列のみを描画した模様ページ9と「のりしろ」文字列のみを描画した模様ページ10とを、アプリケーション1の印刷に先立って作成し、プリントプロセッサ5はアプリケーショ 1の文書ページを拡大した描画データと模様ページ9とを重ね合わせた合成ページを作成する。同様に、アプリケーション1の文書ページを拡大した描画データと模様ページ10とを重ね合わせた合成ページを作成して、GDI2を介してプリンタグラフィックドライバ6に供給する。こうして、出力デイバイスであるプリンタ7からは2枚の用紙8, 9が印刷される。図1では2分割のポスター印刷の例を示したが任意の分割数に対しても同様の印刷方法をとる。尚、以下で説明するように、「切り取り」及び「のりしろ」の配置は、分割数に対応してそれぞれ設定される。
【0031】
(本実施形態の印刷システムの動作手順例)
図2には、実施形態1のユーザインタフェースドライバ3の動作フローチャートを示す。また図3には、実施形態1のプリントプロセッサ5の動作フローチャートを示す。これらの図を用いて、図1に示す印刷システムの全体的な動作を説明する。
【0032】
まず、図2を用いて模様ページ生成処理の動作を説明する。ユーザインタフェースドライバ3による模様ページ生成処理は、GDI2から印刷イベントを受け取った時に行われる。
【0033】
まず、ステップS1においてGDI2によって通知された印刷イベントがプリントプロセッサ5による印刷イベントかアプリケーション1による印刷イベントかを判断し、プリントプロセッサ5による印刷イベントの場合には処理は行わず終了する。アプリケーション1の印刷イベントの場合はステップS2に移る。ステップS2では印刷イベントの種別を判定し、印刷開始を示す印刷イベントの場合はステップS3に進む。これら以外の印刷イベントの場合は処理は行わず終了する。次に、ステップS3では印刷設定に模様の設定があるかどうかを判定し、模様の設定がされている場合はステップS4に進む。模様の設定がされていない場合は終了する。
【0034】
ステップS4では、アプリケーション1に成り代わり模様ページを描画・作成するため印刷システムに1ページ印刷開始を通知する。印刷システムはこの通知をアプリケーション1による通知として扱うため、この後ユーザインタフェースドライバ3が描画する模様ページは、アプリケーション1が描画する文書ページと同様に扱われる。次に、ステップS5ではユーザにより設定された模様の属性の設定値が正当化かどうかを判定する。例えば模様にアイコンを用いる場合、画像ファイルが存在するかどうかなどを判定する。設定値が正当ならばステップS6に進む。設定値が不正ならば模様の描画は行わずステップS7に移り、模様が描画されていないページを作成する。
【0035】
ステップS6では、GDI2を介しアプリケーション1に代わって、切取用余白、糊代用余白のそれぞれに模様の属性の設定値に従い様々な模様を適切に描画する。たとえば模様に文字列が指定されている場合は、フォントの設定値に従い文字列を描画する。また模様に画像を用いる場合は、拡大/縮小処理や濃度変換等を行い描画する。ステップS7では、アプリケーションに成り代わり印刷システムに1ページ印刷終了の通知を行う。これにより、ユーザインタフェースドライバ3が描画・作成した模様ページがEMFスプールファイル4に格納される。
【0036】
次に、図3を用いて模様ページ合成処理の動作を説明する。プリントプロセッサ5による模様ページ合成処理は印刷ジョブごとに行われる。
【0037】
まず、ステップS21で模様の設定がなされているかどうかを判定する。模様設定がある場合はEMFスプールファイル4に格納されているページの印刷データ、模様設定がない場合はステップS26に移り通常の印刷を開始する。
【0038】
ステップS22からS25は、EMFスプールファイル 4に格納されている各ページ間の設定の相違からスプールファイル中のページ番号と対応するアプリケーション1の文書ページ番号を記録するループを示す。ステップS23では連続する2つのページデータの印刷設定を比較し、印刷設定が途中で変更されたか判定する。変更がなければステップS25へ移る。変更があればステップS24に進む。ステップS24では、EMFスプールファイル4中のページ番号と対応するアプリケーション1のリストに保存し、次に調査するスプールページ番号をユーザインタフェースドライバ3が挿入した模様ページの枚数だけスキップする。ステップS25ではスプールファイル4中のページデータを全て調査したならばステップS26に進み、調査していないページが残っていれば、次のページの印刷設定が変更されたか調査するためステップS22に戻りループを繰り返す。
【0039】
ステップS26では、プリントプロセッサ5が作成するページを実際に印刷するため、印刷システムに印刷開始を通知する。
【0040】
ステップS27からS33は、印刷されるべき最終物理ページまで各文書ページを印刷するためのループである。各物理ページの印刷処理はステップS28に続く。全ての物理ページを印刷した後は、ステップS34に進み印刷システムに印刷処理終了を通知する。
【0041】
各物理ページの印刷処理はステップS28から始まり、まず印刷システムに1ページ印刷開始を通知する。続いて、ステップS29で印刷すべき物理ページ番号に対応するアプリケーション1の文書ページ番号を計算し、アプリケーションの文書ページ番号に対応するEMFスプールファイル4中のページ番号を前記ページ対応リストから取得し、EMFスプールファイル4から前記文書ページを読込み拡大描画する。
【0042】
ステップS30では、印刷すべき文書ページに模様が設定されているか判定し、模様が設定されていなければステップS32に移り物理ページの印刷を終了する。模様が設定されていればステップS31に進む。ステップS31では、アプリケーション 1の印刷すべき文書ページ番号に対応するEMFスプールファイル4中の模様ページの番号を前記ページ対応リストから取得し、EMFスプールファイル4から前記模様ページを読込み描画する。この後、物理ページの印刷を終了するためにステップS32に進む。ステップS32では、印刷システムに1ページ印刷終了を通知して物理ページの印刷を終了する。
【0043】
以上で図3に示した模様ページ合成処理が終了する。ステップS32でプリントプロセッサ5が合成ページを作成し物理ページの終了を通知するごとに、プリンタグラフィクスドライバ6が合成ページをビットマップデータに変換し、ビットマップデータは図には示さない所定のデータ送信処理を介してプリンタ7に供給され合成されたページが印刷される。
【0044】
(本実施形態の印刷例)
次に、図4にはEMFスプールファイル4に格納される模様ページと文書ページの状態と、用紙に印刷される物理ページの関係の概念図を示す。ここで、アプリケーション1は印刷の途中で印刷設定を変更せずに文書ページを3ページ印刷し、印刷設定として2分割のポスターで切取領域と糊代領域とに文字列模様が指定されていることを条件とする。
【0045】
図4の(A)はEMFスプールファイル4に格納されるページ順を示している。EMFスプールファイル4に格納される先頭2ページはユーザインタフェースドライバ3が作成した模様ページとなり、アプリケーション1が作成した文書ページはEMFスプールファイル4中の3〜5ページ目に格納される。プリントプロセッサ5は各文書ページに最適な模様ページとしてスプールページ1とスプールページ2を採用し、各文書ページを拡大印刷した時、文書ページの上端半分に当たる模様ページにはスプールページ1を重ね合わせ、文書ページの下端半分に当たる模様ページにはスプールページ2を重ね合わせて描画することで、図4の(B) に示されるように印刷結果である物理ページ1〜6が得られる。
【0046】
次に、図5には模様ページと文書ページに重ね合わせて描画するプリントプロセッサ5の模様ページ合成処理の概念図を示す。ここでは、2分割のポスター印刷でアプリケーション1の文書ページの上端半分を印刷する際を例に挙げる。
【0047】
最初にアプリケーション1の文書ページを拡大描画し、次に模様ページを重ね合わせて描画することで、印刷される合成ページを作成する。図5では模様ページに切取領域の「切り取り」文字列と切り取り領域の切り取り線を示したが、画像を用いてもよい。図示していない文書ページの下端半分には糊代領域があり「のりしろ」文字列等を用いる。また、2分割より大きい分割数におけるポスター印刷では、1つの模様ページに切取領域と糊代領域の両方が存在してもよい。
【0048】
(本実施形態の印刷システムのハードウエア構成例)
次に、本発明の印刷システムのハードウェアブロック図を説明する。
【0049】
図6は、本実施形態における印刷システムのハードウエア構成を示すブロック図である。
【0050】
図において、61は、CRT表示装置であり、図1に示すユーザインタフェースドライバが提供するプロパティ設定ウィンドウ等を表示する。62はCRTCで表示装置用のコントローラである。63は、キーボードなどのデータ入力装置であり、64は、キーボードコントローラである。65は、ポインティングデバイス等の座標入力装置であり、66は、ポインティングデバイスコントローラである。
【0051】
67は、装置全体の制御を司るCPUである。68は、ブートプログラムなどを記憶しているROMである。69は、OSや各アプリケーションプログラム、図1のシステム構成と図2、3のフローチャートに関るプリンタドライバプログラムを格納したり、さらにはワークエリアとしても利用されるRAMである。
【0052】
70は、OS、各アプリケーションプログラム、図1のシステム構成図と図2、3のフローチャートに関るプログラムを含むプリンタドライバプログラム、フォントデータ、さらにはデータファイル(模様に用いられる画像)等を記憶しているハードディスク装置であり、71はハードディスクコントローラである。72は、可搬性記憶媒体の駆動装置であるフロッピーディスク装置であり、73はフロッピーディスクコントローラである。74は、インターフェースであり、インターフェースケーブルを介してインクジェットプリンタなどの印刷装置75に接続される。76は、各デバイスを接続するバスである。尚、可搬性記憶媒体はフロッピーディスクに限らず、CDやMO、DVD、あるいは磁気や光カード、メモリカード等であってもよい。
【0053】
本装置に電源が投入されると、CPU67はROM68に格納されているブートプログラムに従って起動し、ハードディスク装置70からOSをロードし、操作者の操作待ち状態になる。そして、操作者からKB63またはPD65からアプリケーションを介して印刷指示やプリンタドライバの印刷設定変更指示を受けた場合、もしくは自動的に起動するように設定されている場合は、ハードディスク装置70に格納されているプリンタドライバプログラムがRAM69にロードされ、本実施形態の処理が実行される。
【0054】
<実施形態1の効果>
以上のように、プリントプロセッサ5において印刷すべきアプリケーション1が作成した文書ページとユーザインタフェースドライバ3が作成した模様ページとを重ね合わせた後、プリンタグラフィクスドライバ6に供給するようにしたので、模様ページの数は文書ページの数に依存しなくなりEMFスプールファイル4が必要とする記憶領域の容量は小さくて済む。また、ネットワーク環境では文書ページの数が多くなっても模様ページの数は変わらないのでネットワークにかかる負荷を低減出来る。また、模様ページはクライアントでユーザインタフェースドライバ3により作成されるので、サーバにおけるプリンタグラフィクスドライバ6実行時に模様を描画するのに必要なフォント等が存在しなくても印刷が可能となる。
【0055】
<実施形態2>
文書を印刷すべき用紙のサイズが常に一定ではなく、一部に異なるサイズの用紙が含まれているような文書を印刷することがある。こうした場合、実施形態1で説明したような処理を行うと、常に最初にユーザインタフェースドライバ3が作成した大きさの模様ページが用いられるので、模様の位置がずれたり模様の一部がはみだしたりして、好ましくない印刷結果になる場合がある。例えば用紙の向きが印刷中に変更された場合に、模様が一部印刷されない問題も生じる。本実施形態は、用紙サイズがまちまちの場合においても、ポスターを良好に印刷できる例を説明する。
【0056】
図1を用いて実施形態2のシステムを説明する。実施形態2では印刷開始の印刷イベントが通知された時と、印刷設定変更の印刷イベントが通知された時とに、ユーザインタフェースドライバ3がアプリケーション1に成り代わり模様ページを生成することが、実施形態1との違いである。また、プリントプロセッサ5はアプリケーション1が印刷設定を変更してから作成した文書ページに最適な模様ページとを重ね合わせる。
【0057】
次に、図2を用いて実施形態2のユーザインタフェースドライバの動作を説明する。ステップS1は実施形態1と同一の動作である。ステップS2では印刷イベントの種別を判定し、印刷開始を示す印刷イベント、または印刷設定変更を示す印刷イベントの場合はステップS3に進む。これら以外の印刷イベントの場合は処理は行わず終了する。印刷設定変更イベントでは、印刷設定が変更された直後に模様ページ挿入処理を行うので、アプリケーション1が変更した印刷設定をもちいて描画することができる。他のステップは実施形態1と同一の動作である。
【0058】
次に、図7には印刷中に印刷設定が変更された場合の、EMFスプールファイル4に格納される模様ページと文書ページの状態と、用紙に印刷される物理ページの関係の概念図を示す。ここで、アプリケーション1は印刷中に文書ページ2と文書ページ3の間で印刷設定を変更し、用紙の向きを変えてから文書ページ3を印刷し、印刷設定として2分割のポスター印刷で文字列模様が指定されていることを条件とする。
【0059】
図7の(A)はEMF スプールファイル4に格納されるページ順を示している。スプールファイルに格納される先頭2ページはユーザインタフェースドライバ3が作成した印刷開始イベントに対応する模様ページとなり、続いてアプリケーション1が作成した文書ページ1, 2はEMFスプールファイル4中のスプールページ3, 4に格納され、続いてユーザインタフェースドライバ 3 が作成した印刷設定変更イベントに対応する模様ページがスプールページ5, 6に格納され, 最後に文書ページ3がスプールページ7に格納される。ここで、アプリケーション1は文書ページ2と文書ページ3の間で印刷設定を変更し用紙の向きを変えたので文書ページ3に対応する模様ページはスプールページ5, 6に格納されている。ここでユーザインタフェースドライバ 3は印刷設定変更イベントにより用紙の向きが変更されたことが通知されるので、用紙サイズが変更されてもバランスよく文字列を描画することが可能である。プリントプロセッサ5は各文書ページに最適な模様ページとして文書ページ1,2にはスプールページ1, 2を採用し、文書ページ3 にはスプールページ5, 6をそれぞれ採用し、各文書ページの上に重ね合わせて描画することで図7の(B)に示される印刷結果である物理ページ1〜6が得られる。また、用紙サイズや模様の配置設定が変更された場合においても、印刷設定変更イベントに対応して、ユーザインタフェースドライバ 3が適切に描画を行うことにより、好ましい配置で模様ページを作成し、良好な出力結果が得られる。
【0060】
尚、図7では示されていないが、例えば、図7の(b)で出力用紙がアプリケーション1からEMF スプールファイル4に格納される文書ページの2倍のサイズであると、図7の(b)には「のりしろ」も「切り取り」もない1枚の用紙で出力が可能である。一方、出力用紙が文書ページの半分のサイズであると、2倍のポスター印刷であっても4枚で1つの文書ページを印刷することになり、「のりしろ」や「切り取り」の配置は同じサイズの用紙に対する場合と異なってくる。更に、等倍でない文書と用紙、例えば文書ページと印刷用紙がA版とB版とで異なる場合には、ポスター印刷が複数の用紙に収まるように用紙が配置される。これらの種々のサイズによっても、用紙の配置に従って「のりしろ」や「切り取り」が適切に配置されるようになる。これらも、本発明に含まれる。
【0061】
<実施形態2の効果>
前記のように、ユーザインタフェースドライバ3で用紙サイズや模様の配置設定に対応させた模様ページを生成し処理するので、用紙の大きさが切り替わったり、様々な状況の変化があっても、それに応じて適切な位置に模様の印刷が可能となる。
【0062】
<実施形態3>
実施形態1、実施形態2の手法を用いるとユーザインタフェースドライバ3が作成する模様ページの総数は、アプリケーション1が作成する文書ページのページ数には依存しないが、ポスター印刷の分割数に比例して増大することになり、例えば16分割のポスター印刷の場合はユーザインタフェースドライバ3は16枚の模様ページを作成するのでEMFスプールファイル 4のサイズが大きくなる。本実施形態では、ユーザインタフェースドライバ3が作成する模様ページをポスター印刷の分割数に依存させないようにする例を説明する。
【0063】
図8に印刷中に印刷設定が変更された場合の、EMFスプールファイル4に格納される模様ページと文書ページの状態と、用紙に印刷される物理ページの関係の概念図を示す。ここで、アプリケーション1は文書ページを1ページを印刷し、印刷設定として4分割のポスター印刷で文字列模様が指定されていることを条件とする。
【0064】
図8の(A)はEMFスプールファイル4に格納されるページ順を示している。スプールファイル4に格納される先頭ページはユーザインタフェースドライバ3が作成した印刷開始イベントに対応する模様ページとなり、続いてアプリケーション1が作成した文書ページが格納される。プリントプロセッサ5は文書ページ1に最適な模様ページとしてユーザインタフェースドライバ3が作成したスプールページ1を採用し、拡大した文書ページの上に模様ページを重ね合わせる際、必要な糊代領域と切取領域以外は描画データが反映されないようにクリッピングする。ここで、プリントプロセッサ5は模様ページ合成処理の際に糊代領域と切取領域の境界線を描画してもよい。以上のように模様ページ合成処理を行うことで、図8の(B)に示される印刷結果である物理ページ1〜4が得られる。
【0065】
また、印刷システムの制限によりプリントプロセッサ5によりクリッピングできない場合は、図9に示すように模様ページを重ね合わせる際に位置を平行移動させてもよい。図中の91はプリントプロセッサによる重ね合わせ処理で作成される合成ページであり、92はユーザインタフェースドライバ3により作成された模様ページである。94は拡大した文書ページであり、95は糊代領域である。プリントプロセッサ5は、模様ページ合成処理の際に糊代領域のみに模様ページが重なるように模様ページを92の位置に配置して重ね合わせう。96は切取領域であり、切取領域のみに模様頁が重なるように模様ページを93の位置に配置し重ね合わせる。このように制御することで、クリッピング出来ない場合でも良好な結果を得られ、図8の(C)に示される印刷結果である物理ページ1〜4が得られる。ここで、プリントプロセッサは模様ページ合成処理の際に糊代領域と切取領域の境界線を描画してもよい。
【0066】
なお、本実施形態3のシステムや他の処理の流れは、上述の実施形態と等しいので説明を省略する。
【0067】
<実施形態3の効果>
前記のように、ユーザインタフェースドライバ3によりページの四辺の切取領域と糊代領域に模様を描画した模様ページを作成することにより、ポスター印刷の分割数に関らず、印刷開始時と印刷設定変更時に作成する模様ページは1枚となり、EMFスプールファイルの大きさを抑えることが可能である。また、印刷システムの制限によりプリントプロセッサ5がクリッピング出来ない場合でも本手法によれば、模様ページ数を抑えることができる。
【0068】
なお、本発明は、複数の機器(例えばホストコンピュータ,インタフェイス機器,リーダ,プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置に適用してもよい。
【0069】
また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0070】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROMなどを用いることができる。
【0071】
また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0072】
さらに、記憶媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0073】
本発明を前記記憶媒体に適用する場合、その記憶媒体には、先に説明したフローチャートに対応するプログラムコードを含むプログラムを格納することになる。
【0074】
【発明の効果】
本発明により、情報伝達用の文書データと機能表示用の模様データ(糊代や切取など)とを含む印刷データをプリントする場合に、文書ページと模様ページをスプールし、スプールファイルから読み出した文書ページと模様パージを合成してビットマップデータ生成手段に供給するので、模様ページの数が文書ページの数に依存しなくなり、スプールファイルの記憶容量を少なくでき、ネットワークにかかる負荷を低減出来、サーバに必要なフォント等が存在しなくても印刷が可能となる印刷データ生成方法及びその装置を提供できる。
【0075】
すなわち、プリントプロセッサ5において印刷すべきアプリケーション1が作成した文書ページとユーザインタフェースドライバ3が作成した模様ページとを重ね合わせた後、プリンタグラフィクスドライバ6に供給するようにしたので、模様ページの数は文書ページの数に依存しなくなりEMFスプールファイル4が必要とする記憶領域の容量は小さくて済む。また、ネットワーク環境では文書ページの数が多くなっても模様ページの数は変わらないのでネットワークにかかる負荷を低減出来る。また、模様ページはクライアントでユーザインタフェースドライバ3により作成されるので、サーバにおけるプリンタグラフィクスドライバ6実行時に模様を描画するのに必要なフォント等が存在しなくても印刷が可能となる。
【0076】
また、ユーザインタフェースドライバ3で用紙サイズや模様の配置設定に対応させた模様ページを生成し処理するので、用紙の大きさが切り替わったり、様々な状況の変化があっても、それに応じて適切な位置に模様の印刷が可能となる。また、ユーザインタフェースドライバ3によりページの四辺の切取領域と糊代領域に模様を描画した模様ページを作成することにより、ポスター印刷の分割数に関らず、印刷開始時と印刷設定変更時に作成する模様ページは1枚となり、EMFスプールファイルの大きさを抑えることが可能である。また、印刷システムの制限によりプリントプロセッサ5がクリッピング出来ない場合でも本手法によれば、模様ページ数を抑えることができる。
【図面の簡単な説明】
【図1】本実施形態に係わる印刷システムのブロック図である。
【図2】本発明の実施形態1に関るユーザインタフェースドライバの模様ページ生成処理方法を示すフローチャートである。
【図3】本発明の実施形態1に関るプリントプロセッサの模様ページ合成処理方法を示すフローチャートである。
【図4】本発明の実施形態1に関るEMFスプールファイルに格納される模様ページと文書ページの状態と、用紙に印刷される物理ページの関係の概念図である。
【図5】本発明の実施形態に関る模様を文書ページに重ね合わせて描画する、プリントプロセッサの模様ページ合成処理の概念図である。
【図6】本発明の印刷システムのハードウェアブロック図であり、本実施形態における印刷システムの構成図である。
【図7】本発明の実施形態2に関るEMFスプールファイルに格納される模様ページと文書ページの状態と、用紙に印刷される物理ページの関係の概念図である。
【図8】本発明の実施形態3に関るEMFスプールファイルに格納される模様ページと文書ページの状態と、用紙に印刷される物理ページの関係の概念図である。
【図9】本発明の実施形態3に関る模様を文書ページに重ね合わせて描画する、プリントプロセッサの模様ページ合成処理の概念図である。[0001]
BACKGROUND OF THE INVENTION
The present inventionPrint data generation method and apparatus, ie,For information transmissiondocumentsFor data and function displaypatternPrint data to create print data including dataGenerationMethod and itsapparatusIn particular, print data with a function to print one page of print data such as a document output by an application to divide it onto multiple recording media to form an imageGenerationMethod and itsapparatusIt is about.
[0002]
[Prior art]
As an example of creating print data including print data for information transmission and print data for function display, there is a case where a print result larger than the size of print paper that can be handled by the printer is obtained. In general, when obtaining a print result larger than the size of the printing paper that can be handled by the printer, the print data is partially divided and divided into multiple times to perform divided printing. It is possible to obtain a printing result having a size larger than the printing result printed so as to fit on the original printing paper by appropriately arranging the sheets and sticking them together, which is called poster printing.
[0003]
In order to realize this poster printing, for example, when a document page handled by an application is enlarged and divided into a plurality of sheets to be printed, a paste substitute is provided on at least one side of each sheet in order to facilitate the pasting operation. Printing was performed with a margin. Also, depending on the printer, the printable area is smaller than the paper size, so margins remain on the printed paper, which becomes an unnecessary area when pasting, and in extreme cases the print information is covered by pasting. In order to cut off the margin part, a margin for cutting was previously provided and printing was performed.
[0004]
Furthermore, in order to facilitate the cutting and pasting operations, a broken line is drawn on the print data side of the margin margin and the margin for cutting, “paste” for the margin margin, “cut” for the margin for cutting, etc. A character string is drawn, or a graphic such as an icon representing a margin and a cut is drawn in the margin instead of a character string. Hereinafter, in this specification, these character strings, icons, and other graphics are collectively referred to as patterns.
[0005]
[Problems to be solved by the invention]
By the way, the conventional techniques as described above have the following problems to be solved.
[0006]
Conventionally, when printing a document with a pattern, pattern bitmap data is generated by a printer driver, and the data after being superimposed on the bitmap data of each page of the document is sent to the printer. Therefore, there is a drawback that a large amount of storage area is used by the printer driver to synthesize bitmap data.
[0007]
In addition, in a network environment, when an application creates print data on the client side and the printer driver operates on the server side, the character string font or icon image specified by the user on the client side is stored on the server. If it does not exist, there is a drawback that printing with a pattern cannot be performed.
[0008]
The present invention eliminates the above-mentioned conventional drawbacks and provides information transmission.documentsFor data and function displaypatternWhen printing print data including data (such as glue margins and cutouts), the required storage area can be reduced, the load on the network can be reduced, and even if the necessary fonts do not exist on the server Print data that can be printedGenerationMethod and itsapparatusI will provide a.
[0009]
[Means for solving problems]
In order to achieve the above object, the print data of the present invention is used.GenerationMethod and itsapparatusDraws a pattern page on behalf of the application using the print event notification by the system, inserts it between the application's document pages, saves it in the system's standard spool file, and overlays it by the print processor in despooling Then, the printer graphics driver converts the print data subjected to the overlay processing into a bitmap image and supplies it to the printer.
[0010]
That is, the print data of the present inventionGenerationThe method isBitmap supplied to the printer based on the read document page data by reading the document page data from the spool file that stores the document page data created by the applicationDataGenerationPrint dataGenerationA method,When there is a pattern setting instructing to add a pattern on a document page in response to a print start event from the application, the pattern page generation unit stores the pattern page stored in the spool file.DataGenerate pattern page generation step and,The composite page creation means reads the document page data from the spool file and enlarges and draws it, reads the pattern page data from the spool file, and draws it on the enlarged and drawn document page data. A composite page creation step for creating composite page data; and a bitmap data generation means that generates a bitmap from the composite page data created in the composite page creation step.DataGenerationDoA bitmap data generation step.It is characterized by that. here,In the composite page creation step, the document page data and the pattern page data are read from the spool file, the composite page data is created and supplied to the graphic device interface, and the bitmap data generation step is created. Bitmap data is generated from the synthesized page data based on the drawing command generated by the graphic device interface.Also, the abovePattern pageIsShow marginIncludes a pattern. Also, the abovePattern pageIsShow cutIncludes a pattern.In the pattern page generation step, pattern page data is further generated in response to a print setting change event.
[0011]
or,The pattern page generation step is executed by a user interface driver, the composite page generation step is executed by a print process, and the bitmap data generation step is executed by a printer graphic driver.
[0012]
The printing of the present inventionData generatorIsBitmap supplied to the printer based on the read document page data by reading the document page data from the spool file that stores the document page data created by the applicationDataGenerationPrintingData generatorBecauseWhen there is a pattern setting for instructing to add a pattern on a document page in response to a print start event from the application, the pattern page stored in the spool fileDataGenerate pattern pageMeans,Document page data is read from the spool file and enlarged and drawn, and pattern page data is read from the spool file and drawn over the enlarged and drawn document page data. From the composite page creation means to be created and the composite page data created by the composite page creation means, a bitmap is created.DataGenerationDoBitmap data generation meansIt is characterized by that. here,The composite page creation means reads out document page data and pattern page data from the spool file, creates composite page data, and supplies the composite page data to the graphic device interface. The bitmap data generation means Bitmap data is generated from the synthesized page data based on the drawing command generated by the graphic device interface.Also, the abovePattern pageIsShow marginIncludes a pattern. Also, the abovePattern pageIsShow cutIncludes a pattern.The pattern page generation unit further generates pattern page data in response to a print setting change event.
[0013]
or,The pattern page generation means is realized by a user interface driver, the composite page generation means is realized by a print process, and the bitmap data generation means is realized by a printer graphic driver.
[0016]
In addition, the present inventionComputer programIsImplementation of a print data generation method that reads document page data from a spool file in which document page data created by an application is stored, and generates bitmap data to be supplied to the printer based on the read document page data A computer program for generating pattern page data to be stored in the spool file when there is a pattern setting instructing to add a pattern on a document page in response to a print start event from the application A pattern page generation step to be performed, and the document page data is read from the spool file and enlarged and drawn, and the pattern page data is read from the spool file and drawn on the enlarged and drawn document page data. To A synthesis page creation step of creating a data, from the data of the composite page created by the combining page creation step, the bit map data generating step of generating bit map data, causes the computer to execute.
[0017]
With this configuration,
(1) The print data of the pattern page and the print data of the document page are superimposed and synthesized, then converted to bitmap data and sent to the printer, so the amount of storage space used can be reduced, the load on the computer is reduced, and the printing speed is improved. To do.
[0018]
(2) Since the number of pattern pages inserted in the spool file does not depend on the number of print pages issued by the application, the spooled data size can be small.
[0019]
(3) In printing in a network environment, it is not necessary to use a special method for transferring a pattern page from the client to the server, and the data transfer time is shortened and the addition to the network is reduced.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described using specific examples.
[0021]
<
(Configuration example of printing system of this embodiment)
FIG. 1 is a block diagram showing an embodiment of a printing system according to the present invention. In the figure, the modules particularly related to the implementation of the present invention are a
[0022]
The printing system shown in FIG. 1 temporarily stores printing data such as documents created by the
[0023]
The
[0024]
The
[0025]
Subsequently, the
[0026]
The
[0027]
The printer
[0028]
The printer 7 as an output device, for example, has a function of printing on the
[0029]
When a character string is set as a pattern attribute in this embodiment, a pattern page in which a character string is drawn in advance by the
[0030]
The example in FIG. 1 shows a case where the document page of
[0031]
(Example of operation procedure of printing system of this embodiment)
FIG. 2 shows an operation flowchart of the
[0032]
First, the operation of the pattern page generation process will be described with reference to FIG. The pattern page generation process by the
[0033]
First, in step S1, it is determined whether the print event notified by the GDI2 is a print event by the
[0034]
In step S4, the printing system is notified of the start of printing one page in order to draw and create a pattern page instead of the
[0035]
In step S6, instead of the
[0036]
Next, the operation of the pattern page composition process will be described with reference to FIG. The pattern page composition processing by the
[0037]
First, it is determined in step S21 whether a pattern is set. If there is a pattern setting, the print data of the page stored in the
[0038]
Steps S22 to S25 show a loop for recording the document page number of the
[0039]
In step S26, the printing system is notified of the start of printing in order to actually print the page created by the
[0040]
Steps S27 to S33 are a loop for printing each document page up to the final physical page to be printed. The printing process for each physical page continues to step S28. After printing all physical pages, the process proceeds to step S34 to notify the printing system of the end of the printing process.
[0041]
The printing process for each physical page starts from step S28, and first notifies the printing system of the start of printing one page. Subsequently, in step S29, the document page number of the
[0042]
In step S30, it is determined whether a pattern is set on the document page to be printed. If no pattern is set, the process proceeds to step S32 and printing of the physical page is terminated. If the pattern is set, the process proceeds to step S31. In step S31, the pattern page number in the
[0043]
Thus, the pattern page composition process shown in FIG. 3 is completed. Each time the
[0044]
(Print example of this embodiment)
Next, FIG. 4 shows a conceptual diagram of the relationship between the state of the pattern page and the document page stored in the
[0045]
FIG. 4A shows the order of pages stored in the
[0046]
Next, FIG. 5 shows a conceptual diagram of a pattern page composition process of the
[0047]
First, the document page of
[0048]
(Hardware configuration example of printing system of this embodiment)
Next, a hardware block diagram of the printing system of the present invention will be described.
[0049]
FIG. 6 is a block diagram illustrating a hardware configuration of the printing system according to the present embodiment.
[0050]
In the figure, 61 is a CRT display device, which displays a property setting window provided by the user interface driver shown in FIG.
[0051]
[0052]
70 stores an OS, each application program, a printer driver program including a program related to the system configuration diagram of FIG. 1 and the flowcharts of FIGS. 2 and 3, font data, and data files (images used for patterns). 71 is a hard disk controller.
[0053]
When the power of the apparatus is turned on, the
[0054]
<Effect of
As described above, the document page created by the
[0055]
<
There are cases where the size of the paper on which the document is to be printed is not always constant, and a document in which different sizes of paper are included in part is printed. In such a case, when the processing described in the first embodiment is performed, the pattern page having the size created by the
[0056]
A system according to the second embodiment will be described with reference to FIG. In the second embodiment, the
[0057]
Next, the operation of the user interface driver according to the second embodiment will be described with reference to FIG. Step S1 is the same operation as in the first embodiment. In step S2, the type of the print event is determined, and in the case of a print event indicating the start of printing or a print event indicating a change in print settings, the process proceeds to step S3. In the case of other print events, the process is terminated without performing the process. In the print setting change event, the pattern page insertion process is performed immediately after the print setting is changed, so that the
[0058]
Next, FIG. 7 shows a conceptual diagram of the relationship between the state of the pattern page and document page stored in the
[0059]
FIG. 7A shows the order of pages stored in the
[0060]
Although not shown in FIG. 7, for example, if the output sheet in FIG. 7B is twice the size of the document page stored in the
[0061]
<Effect of
As described above, since the
[0062]
<
When the methods of the first and second embodiments are used, the total number of pattern pages created by the
[0063]
FIG. 8 shows a conceptual diagram of the relationship between the state of the pattern page and document page stored in the
[0064]
FIG. 8A shows the page order stored in the
[0065]
Further, when the
[0066]
In addition, since the system of this
[0067]
<Effect of
As described above, by creating a pattern page in which the
[0068]
Note that the present invention may be applied to a system constituted by a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) or an apparatus constituted by a single device.
[0069]
Another object of the present invention is to supply a storage medium storing software program codes for implementing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in the. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
[0070]
As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
[0071]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) operating on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0072]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0073]
When the present invention is applied to the storage medium, the storage medium stores a program including a program code corresponding to the flowchart described above.
[0074]
【The invention's effect】
According to the present invention, for information transmissiondocumentsFor data and function displaypatternWhen printing print data including data (such as glue margin and cutout),Since the document page and the pattern page are spooled, and the document page read from the spool file and the pattern purge are combined and supplied to the bitmap data generation means, the number of pattern pages does not depend on the number of document pages. You can reduce the storage capacity,Print data that can reduce the load on the network and can be printed without the necessary fonts on the serverGenerationMethod and itsapparatusCan provide.
[0075]
That is, since the document page created by the
[0076]
In addition, since the
[Brief description of the drawings]
FIG. 1 is a block diagram of a printing system according to an embodiment.
FIG. 2 is a flowchart showing a pattern page generation processing method of the user interface driver according to the first embodiment of the present invention.
FIG. 3 is a flowchart showing a pattern page composition processing method of the print processor according to the first embodiment of the present invention;
FIG. 4 is a conceptual diagram showing a relationship between a state of a pattern page and a document page stored in an EMF spool file according to
FIG. 5 is a conceptual diagram of a pattern page composition process of a print processor that draws a pattern according to an embodiment of the present invention on a document page.
FIG. 6 is a hardware block diagram of the printing system of the present invention, and is a configuration diagram of the printing system in the present embodiment.
FIG. 7 is a conceptual diagram of a relationship between a pattern page and a document page stored in an EMF spool file according to
FIG. 8 is a conceptual diagram of a relationship between a pattern page and a document page stored in an EMF spool file according to
FIG. 9 is a conceptual diagram of a pattern page synthesis process of a print processor that draws a pattern related to
Claims (18)
模様ページ生成手段が、前記アプリケーションからの印刷開始のイベントに応じて、文書ページ上に模様を付加するよう指示する模様設定がある場合に、前記スプールファイルに格納される模様ページのデータを生成する模様ページ生成ステップと、
合成ページ作成手段が、前記スプールファイルから文書ページのデータを読み込み拡大して描画し、前記スプールファイルから模様ページのデータを読み込み、前記拡大して描画した文書ページのデータに重ねて描画することにより、合成ページのデータを作成する合成ページ作成ステップと、
ビットマップデータ生成手段が、前記合成ページ作成ステップで作成された合成ページのデータから、ビットマップデータを生成するビットマップデータ生成ステップとを有することを特徴とする印刷データ生成方法。A print data generation method that reads document page data from a spool file that stores document page data created by an application, and generates bitmap data to be supplied to a printer based on the read document page data. ,
Is a pattern page generation unit, in response to a print start event from the application, when there is a pattern set that instructs to add a pattern on a document page, and generates a data pattern pages to be stored in the spool file A pattern page generation step ;
The composite page creation means reads and enlarges the document page data from the spool file, draws it, reads the pattern page data from the spool file, and draws it on the enlarged and drawn document page data. A composite page creation step for creating composite page data;
A print data generation method , wherein the bitmap data generation means includes a bitmap data generation step for generating bitmap data from the composite page data generated in the composite page generation step .
前記ビットマップデータ生成ステップでは、作成された合成ページのデータから、前記グラフィックデバイスインタフェースが生成した描画コマンドに基づき、ビットマップデータを生成することを特徴とする請求項1記載の印刷データ生成方法。 2. The print data generation method according to claim 1, wherein, in the bitmap data generation step, bitmap data is generated from the generated composite page data based on a drawing command generated by the graphic device interface.
前記合成ページ作成ステップは、プリントプロサッセが実行し、 The composite page creation step is executed by a print process,
前記ビットマップデータ生成ステップは、プリンタグラフィックドライバが実行することを特徴とする請求項1記載の印刷データ生成方法。 The print data generation method according to claim 1, wherein the bitmap data generation step is executed by a printer graphic driver.
前記アプリケーションからの印刷開始のイベントに応じて、文書ページ上に模様を付加するよう指示する模様設定がある場合に、前記スプールファイルに格納される模様ページのデータを生成する模様ページ生成手段と、
前記スプールファイルから文書ページのデータを読み込み拡大して描画し、前記スプールファイルから模様ページのデータを読み込み、前記拡大して描画した文書ページのデータに重ねて描画することにより、合成ページのデータを作成する合成ページ作成手段と、
前記合成ページ作成手段により作成された合成ページのデータから、ビットマップデータを生成するビットマップデータ生成手段とを有することを特徴とする印刷データ生成装置。A print data generation device that reads document page data from a spool file that stores document page data created by an application, and generates bitmap data to be supplied to a printer based on the read document page data. ,
A pattern page generating unit configured to generate data of a pattern page stored in the spool file when there is a pattern setting instructing to add a pattern on a document page in response to a print start event from the application ;
Document page data is read from the spool file and enlarged and drawn, and pattern page data is read from the spool file and drawn over the enlarged and drawn document page data, thereby combining composite page data. A composite page creation means to create,
A print data generation apparatus comprising: bitmap data generation means for generating bitmap data from composite page data created by the composite page creation means .
前記ビットマップデータ生成手段は、作成された合成ページのデータから、前記グラフィックデバイスインタフェースが生成した描画コマンドに基づき、ビットマップデータを生成することを特徴とする請求項7記載の印刷データ生成装置。 8. The print data generation apparatus according to claim 7, wherein the bitmap data generation unit generates bitmap data from the generated composite page data based on a drawing command generated by the graphic device interface.
前記合成ページ作成手段は、プリントプロサッセにより実現され、 The composite page creation means is realized by a print process,
前記ビットマップデータ生成手段は、プリンタグラフィックドライバにより実現されることを特徴とする請求項7記載の印刷データ生成装置。 8. The print data generation apparatus according to claim 7, wherein the bitmap data generation means is realized by a printer graphic driver.
前記アプリケーションからの印刷開始のイベントに応じて、文書ページ上に模様を付加するよう指示する模様設定がある場合に、前記スプールファイルに格納される模様ページのデータを生成する模様ページ生成ステップと、 A pattern page generation step of generating pattern page data stored in the spool file when there is a pattern setting instructing to add a pattern on a document page in response to a print start event from the application;
前記スプールファイルから文書ページのデータを読み込み拡大して描画し、前記スプールファイルから模様ページのデータを読み込み、前記拡大して描画した文書ページのデータに重ねて描画することにより、合成ページのデータを作成する合成ページ作成ステップと、 Document page data is read from the spool file and enlarged and drawn, and pattern page data is read from the spool file and drawn over the enlarged and drawn document page data. A composite page creation step to create,
前記合成ページ作成ステップで作成された合成ページのデータから、ビットマップデータを生成するビットマップデータ生成ステップとを、コンピュータに実行させるためのコンピュータプログラム。 A computer program for causing a computer to execute a bitmap data generation step of generating bitmap data from data of a synthesis page created in the synthesis page creation step.
前記ビットマップデータ生成ステップでは、作成された合成ページのデータから、前記グラフィックデバイスインタフェースが生成した描画コマンドに基づき、ビットマップデータを生成することを特徴とする請求項13記載のコンピュータプログラム。 14. The computer program according to claim 13, wherein, in the bitmap data generation step, bitmap data is generated from the generated composite page data based on a drawing command generated by the graphic device interface.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001140697A JP3897539B2 (en) | 2001-05-10 | 2001-05-10 | Print data generation method and apparatus |
US10/138,484 US7298510B2 (en) | 2001-05-10 | 2002-05-06 | Image enlargement through poster printing by combining pattern data with image data |
EP02253243A EP1256903B1 (en) | 2001-05-10 | 2002-05-09 | Method and system for combining print data |
AT02253243T ATE335249T1 (en) | 2001-05-10 | 2002-05-09 | METHOD AND SYSTEM FOR COMBINING PRINT DATA |
DE60213505T DE60213505D1 (en) | 2001-05-10 | 2002-05-09 | Method and system for combining print data |
US11/473,900 US7495803B2 (en) | 2001-05-10 | 2006-06-23 | Method and system for creating print data of superimposed document and pattern page read from spool file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001140697A JP3897539B2 (en) | 2001-05-10 | 2001-05-10 | Print data generation method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002335393A JP2002335393A (en) | 2002-11-22 |
JP3897539B2 true JP3897539B2 (en) | 2007-03-28 |
Family
ID=18987257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001140697A Expired - Fee Related JP3897539B2 (en) | 2001-05-10 | 2001-05-10 | Print data generation method and apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3897539B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8537388B2 (en) | 2008-05-13 | 2013-09-17 | Canon Kabushiki Kaisha | Information processing apparatus for image processing on a character stamp by embedding an image rendering a character string of a stamp |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4532872B2 (en) * | 2003-10-01 | 2010-08-25 | キヤノン株式会社 | Document processing method and document processing apparatus |
WO2020161790A1 (en) * | 2019-02-05 | 2020-08-13 | 三菱電機株式会社 | Packing material |
-
2001
- 2001-05-10 JP JP2001140697A patent/JP3897539B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8537388B2 (en) | 2008-05-13 | 2013-09-17 | Canon Kabushiki Kaisha | Information processing apparatus for image processing on a character stamp by embedding an image rendering a character string of a stamp |
Also Published As
Publication number | Publication date |
---|---|
JP2002335393A (en) | 2002-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7495803B2 (en) | Method and system for creating print data of superimposed document and pattern page read from spool file | |
JP3862652B2 (en) | Printing control method and information processing apparatus | |
JP3873427B2 (en) | Intermediate file processing apparatus in printer control system and recording medium recorded with control program thereof | |
US7688459B2 (en) | Document processing method | |
JP3673643B2 (en) | Print layout apparatus, print layout method, and storage medium | |
US7916339B2 (en) | Print layout and apparatus and method | |
US7453595B2 (en) | Print control apparatus and method, computer program, computer-readable storage medium, preview apparatus and method, printer driver, and preview method thereof | |
JP2001063155A (en) | Printer host, print command generator and medium storing program | |
JPH11298717A (en) | Printing system | |
JP2001038978A (en) | Apparatus and method for controlling printing | |
JP2003162406A (en) | Data processing apparatus | |
US8332749B2 (en) | Adjusting tables in a document to avoid overlap with last page graphics | |
JP3897539B2 (en) | Print data generation method and apparatus | |
US8035846B2 (en) | Print attribute setting apparatus, print attribute setting method, and print attribute setting program | |
JP4109836B2 (en) | Print data generation method, print data generation apparatus, computer program, and storage medium | |
WO2021131979A1 (en) | Control method and information processing device | |
JPH11185019A (en) | Device and method for processing image | |
JP3627415B2 (en) | Printing system | |
JP3711795B2 (en) | Printer driver, electronic computer, print information setting method, and recording medium | |
JP2006197210A (en) | Information processing device, printing system, printing operation assisting method, and program | |
JP2005215895A (en) | Print control method and device, printer driver program, and storage medium | |
JP4545903B2 (en) | Information processing apparatus, information processing method, and storage medium | |
JP2006128821A (en) | Printer and print method | |
JP2006343877A (en) | Print system, control method and program | |
JP2005148927A (en) | Information processor and print control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20041214 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060908 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060912 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061113 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20061208 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061219 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 3897539 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110105 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120105 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130105 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140105 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |