JP2005215895A - Print control method and device, printer driver program, and storage medium - Google Patents
Print control method and device, printer driver program, and storage medium Download PDFInfo
- Publication number
- JP2005215895A JP2005215895A JP2004020383A JP2004020383A JP2005215895A JP 2005215895 A JP2005215895 A JP 2005215895A JP 2004020383 A JP2004020383 A JP 2004020383A JP 2004020383 A JP2004020383 A JP 2004020383A JP 2005215895 A JP2005215895 A JP 2005215895A
- Authority
- JP
- Japan
- Prior art keywords
- page
- application
- printing
- print data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
Description
本発明は、アプリケーションが出力した文書等の1ページ分の印刷データを、複数枚の記録媒体上に分割して画像を形成するように印刷する機能を持つ印刷制御方法および装置に関する。 The present invention relates to a print control method and apparatus having a function of printing print data for one page such as a document output by an application on a plurality of recording media so as to form an image.
プリンタが扱うことのできる印刷用紙のサイズより大きな印刷結果を得たい場合には、印刷データを複数の部分に分割し、各部分をそれぞれ異なる用紙に印刷し、印刷された複数枚の用紙を適当に配置して互いに貼り合わせることで、そのような大きなサイズの印刷結果を得ることができる。このような目的で印刷データを複数の部分に分割し、各部分をそれぞれ異なる用紙に印刷する印刷処理は、「ポスター印刷」と呼ばれている。 If you want to obtain a print result that is larger than the size of the printing paper that the printer can handle, divide the print data into multiple parts, print each part on different paper, and use multiple printed sheets as appropriate Such a large size printing result can be obtained by arranging them together and bonding them together. A printing process in which print data is divided into a plurality of parts for such purposes and each part is printed on different paper is called “poster printing”.
従来のポスター印刷では、例えばアプリケーションが扱う文書のページを拡大し複数枚の用紙に分割して印刷する場合、貼り合わせ作業を容易にするために、各用紙の少なくとも一辺に糊代用の余白を設けて印刷を行っていた。 In conventional 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 margin is provided on at least one side of each sheet for easy pasting. Was printing.
また、プリンタによっては印刷可能領域が用紙のサイズより小さいため印刷後の用紙に余白が残る。この余白は、貼り合わせた際に邪魔な不要領域となるため、この余白部分を切り落とせるように予め切取用の余白を設けて印刷を行っていた。 Also, depending on the printer, the printable area is smaller than the size of the paper, so a margin remains on the printed paper. Since this margin becomes an unneeded unnecessary area when pasted together, printing was performed by providing a margin for cutting in advance so that this margin portion could be cut off.
さらに、切り取り作業や貼り合わせ作業を容易にするため、糊代用余白と切取用余白の印刷データ側に破線を描画したり、糊代用余白には「のりしろ」、切取用余白には「切り取り」等と文字列を描画したり、或いは文字列ではなくて糊代と切取を表すようなアイコン等を余白に描画するものもあった。以下、この明細書ではこれらの文字列やアイコン等を総称して模様と呼ぶ。 In addition, in order to facilitate 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. In some cases, a character string is drawn, or an icon or the like 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 the like are collectively referred to as patterns.
なお、この種の印刷システムを開示する文献としては、以下のものがある。 The following documents disclose this type of printing system.
ところで、上記のような従来の技術には次のような解決すべき課題があった。 By the way, the conventional techniques as described above have the following problems to be solved.
切取・糊代の模様付きのポスター印刷をネットワーク環境において実行する際に、サーバでプリンタドライバが文書ページの印刷データを拡大処理してビットマップデータを作成すると共に、切取・糊代模様を追加する処理系では、クライアントで指定した切取・糊代模様のフォントやビットマップ等がサーバに存在しないことがあり、クライアントでユーザが指定した模様をサーバで付加出来ない欠点がある。加えて、従来は、上記ネットワーク環境においても適切に動作するようにアプリケーションが文書の印刷処理を行なうと同時にプリンタドライバがアプリケーションに代わってポスター印刷の模様の印刷データを含むページを挿入するようにしていたが、アプリケーションが印刷処理を行なったページ以外にも、プリンタドライバによるページ挿入が行われるために、印刷ジョブの総ページ数が実際の文書のページ数とは異なってしまい、ユーザを混乱させてしまうという問題があった。 When executing poster printing with cut and paste patterns in a network environment, the printer driver enlarges the print data of the document page on the server and creates bitmap data, and adds cut and paste patterns. In the processing system, there are cases in which the font or bitmap of the cut / glue pattern specified by the client does not exist on the server, and the pattern specified by the user on the client cannot be added by the server. In addition, conventionally, an application performs a document printing process so that it operates properly in the network environment, and at the same time, a printer driver inserts a page including print data of a poster printing pattern on behalf of the application. However, because the page is inserted by the printer driver in addition to the pages that the application has processed for printing, the total number of pages in the print job differs from the actual number of pages in the document, confusing the user. There was a problem that.
本発明は、上述した欠点を除去し、サーバ側に切取・糊代用のフォントやアイコンの画像等が無くても、切取・糊代用の模様が付加された画像を印刷できるようにするとともに、印刷データに切取・糊代用の模様の印刷データを付加しても、印刷ジョブの総ページ数が実際の文書のページ数と異ならないように処理することのできる印刷方法および装置を提供することを目的とする。 The present invention eliminates the drawbacks described above, and enables printing of an image with a pattern for cutting / glue substitution added even if there is no image of a font / icon for cutting / glue substitution on the server side. An object of the present invention is to provide a printing method and apparatus capable of processing so that the total number of pages of a print job does not differ from the actual number of pages of a document even if print data of a pattern for cutting and pasting is added to the data. And
上記した課題は、本発明の印刷制御方法および装置によって解決される。本発明の一側面は、印刷後の各用紙の所定位置同士を貼り合わせると所望の画像が得られるように、アプリケーションによって作成された文書の1ページを複数の領域に分割し、各領域を拡大して別々の用紙に印刷するようプリンタを制御する印刷制御方法に係り、前記アプリケーションに代わって、前記アプリケーションが描画した各ページの余白位置に、糊代・切り取りを示す模様を追加的に描画し、この模様が付加された印刷データをスプールファイルとして保存するステップと、デスプール時において、取得した前記印刷データのうち前記アプリケーションが描画した1ページの文書を前記複数の領域に分割し、各領域を拡大して別々のページに配置するとともに、各ページの余白位置に、前記複数の領域の分割数およびそのページ位置に応じた態様で前記糊代・切り取りを示す模様を追加的に配置することで合成ページを生成するステップと、前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するステップとを有することを特徴とする。 The above-described problems are solved by the printing control method and apparatus of the present invention. One aspect of the present invention divides one page of a document created by an application into a plurality of areas and enlarges each area so that a desired image can be obtained by pasting predetermined positions on each sheet after printing. Then, instead of the application, in addition to the application, a pattern indicating glue margin / cutting is additionally drawn at the margin position of each page drawn by the application. Storing the print data with the pattern added as a spool file, and at the time of despooling, dividing one page document drawn by the application from the acquired print data into the plurality of areas, Enlarge and place on separate pages, and at the margin position of each page, the number of divisions of the plurality of areas and the page Generating a composite page by additionally arranging a pattern indicating the margin and cutting in a mode according to the position; generating bitmap data of the composite page and supplying the bitmap data to the printer; It is characterized by having.
本発明の別の側面に係る印刷制御方法は、ユーザからの指示に基づいて印刷属性の設定を行うステップと、設定された前記印刷属性の内容に基づいて、前記アプリケーションが発行した第1の描画命令と、通知される印刷イベントに応じ糊代・切り取りを示す模様を印刷可能領域の外側に描画するための第2の描画命令とを含む印刷データを生成するステップと、前記印刷データをスプール領域に一時的に格納するステップと、前記スプール領域に格納された印刷データを取得し、その印刷データにおける前記第1の描画命令による画像を拡大、分割し、その拡大、分割された各画像と前記第2の描画命令による前記糊代・切り取りを示す模様とを合成することで合成ページを生成するステップと、前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するステップとを有することを特徴とする。 The printing control method according to another aspect of the present invention includes a step of setting a print attribute based on an instruction from a user, and a first drawing issued by the application based on the content of the set print attribute Generating print data including a command and a second drawing command for drawing a pattern indicating glue margin / cutting outside the printable area according to the notified print event; and Temporarily storing the print data stored in the spool area, magnifying and dividing the image according to the first drawing command in the print data, the enlarged and divided images and the Generating a synthesized page by synthesizing the pattern indicating the margin and cutting by the second drawing command; and generating bitmap data of the synthesized page. And characterized by having a step of supplying it to the printer.
本発明の更に別の側面は、印刷後の各用紙の所定位置同士を貼り合わせると所望の画像が得られるように、アプリケーションによって作成された文書の1ページを複数の領域に分割し、各領域を拡大して別々の用紙に印刷するようプリンタを制御する印刷制御装置に係り、前記アプリケーションに代わって、前記アプリケーションが描画した各ページの余白位置に、糊代・切り取りを示す模様を追加的に描画し、この模様が付加された印刷データをスプールファイルとして記憶する記憶手段と、デスプール時において、前記記憶手段より取得した前記印刷データのうち前記アプリケーションが描画した1ページの文書を前記複数の領域に分割し、各領域を拡大して別々のページに配置するとともに、各ページの余白位置に、前記複数の領域の分割数およびそのページ位置に応じた態様で前記糊代・切り取りを示す模様を追加的に配置することで合成ページを生成する合成ページ生成手段と、前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するビットマップデータ生成手段とを有することを特徴とする。 According to still another aspect of the present invention, one page of a document created by an application is divided into a plurality of areas so that a desired image can be obtained by pasting predetermined positions on each sheet after printing. In addition to the application, in addition to the application, a pattern indicating glue margin / cutting is additionally displayed at the margin position of each page drawn by the application. Storage means for drawing and storing print data to which the pattern is added as a spool file, and at the time of despooling, one page document drawn by the application among the print data acquired from the storage means is the plurality of areas. Each area is enlarged and arranged on a separate page, and the plurality of areas are arranged at the margin position of each page. A composite page generating means for generating a composite page by additionally arranging a pattern indicating the paste margin / cutting in a manner according to a divisor and the page position; and generating bitmap data of the composite page, And bitmap data generation means for supplying the data to the printer.
本発明の更に別の側面に係る印刷制御装置は、ユーザからの指示に基づいて印刷属性の設定を行う設定手段と、設定された前記印刷属性の内容に基づいて、前記アプリケーションが発行した第1の描画命令と、通知される印刷イベントに応じ糊代・切り取りを示す模様を印刷可能領域の外側に描画するための第2の描画命令とを含む印刷データを生成する印刷データ生成手段と、前記印刷データをスプールファイルとして記憶する記憶手段と、前記記憶手段に格納された前記印刷データを取得し、その印刷データにおける前記第1の描画命令による画像を拡大、分割し、その拡大、分割された各画像と前記第2の描画命令による前記糊代・切り取りを示す模様とを合成することで合成ページを生成する合成ページ生成手段と、前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するビットマップデータ生成手段とを有することを特徴とする。 According to still another aspect of the present invention, a print control apparatus includes a setting unit configured to set a print attribute based on an instruction from a user, and a first issued by the application based on the set content of the print attribute. Print data generation means for generating print data including a drawing command of the second and a second drawing command for drawing a pattern indicating a margin / cut according to a notified print event outside the printable area; A storage unit that stores print data as a spool file; and the print data stored in the storage unit is acquired, and an image according to the first drawing command in the print data is enlarged and divided, and the enlarged and divided A synthesized page generating means for generating a synthesized page by synthesizing each image and the pattern indicating the margin / cut by the second drawing command; and the synthesized page It generates bitmap data, and having a bit map data generating means for supplying it to the printer.
本発明の更に別の側面は、ユーザからの指示に基づいて印刷属性の設定を行うとともに、その印刷属性の内容に応じて、前記アプリケーションが発行した第1の描画命令に対し第2の描画命令を追加的に発行するユーザインタフェースドライバと、前記第1および第2の描画命令を含む印刷データをスプールファイルとしてメモリに格納するスプーラと、前記メモリに格納された印刷データをページ単位でレイアウトするプリントプロセッサと、前記プリントプロセッサから供給された印刷データに基づいてビットマップデータを生成してプリンタに供給するプリンタグラフィクスドライバとを有する印刷制御装置に係る。ここで、前記ユーザインタフェースドライバは、前記印刷属性の内容に基づいて、通知される印刷イベントに応じ糊代・切り取りを示す模様を印刷可能領域の外側に描画するための描画命令を前記第2の描画命令として発行し、前記プリントプロセッサは、前記スプールファイルに格納された印刷データを取得し、その印刷データにおける前記第1の描画命令による画像を拡大、分割し、その拡大、分割された各画像と前記第2の描画命令による前記糊代・切り取りを示す模様とを合成することで合成ページを得て、これを前記プリンタグラフィクスドライバに供給する。 According to still another aspect of the present invention, a print attribute is set based on an instruction from a user, and a second drawing command is issued with respect to the first drawing command issued by the application according to the contents of the print attribute. A user interface driver that additionally issues a print data, a spooler that stores print data including the first and second drawing commands as a spool file in a memory, and a print that lays out the print data stored in the memory in units of pages The present invention relates to a print control apparatus that includes a processor and a printer graphics driver that generates bitmap data based on print data supplied from the print processor and supplies the bitmap data to a printer. Here, the user interface driver, based on the contents of the print attribute, generates a drawing command for drawing a pattern indicating a margin / cut according to a notified print event outside the printable area. Issued as a drawing command, the print processor acquires print data stored in the spool file, enlarges and divides an image according to the first drawing command in the print data, and expands and divides each image Are combined with the pattern indicating the margin / cut by the second drawing command to obtain a composite page, which is supplied to the printer graphics driver.
本発明によれば、サーバ側に切取・糊代用のフォントやアイコンの画像等が無かったとしても、印刷データに切取・糊代の模様を付加することができ、加えて、印刷データに切取・糊代文字列の印刷データを付加しても、印刷ジョブの総ページ数が実際の文書のページ数とは異ならないような処理が実現される。 According to the present invention, it is possible to add a cut / paste allowance pattern to print data even if there is no cut / paste substitute font or icon image on the server side. Even when the paste character string print data is added, a process is realized in which the total number of pages of the print job does not differ from the actual number of pages of the document.
以下、図面を参照して本発明の好適な実施形態について詳細に説明する。 DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
図2は、本実施形態における印刷システムのハードウェア構成を示すブロック図である。同図において、201は、CRT表示装置であり、図3A〜Cに示すようなユーザインタフェースドライバ102が提供する印刷設定ダイアログ等を表示する。202はCRT表示装置201の表示を制御するCRTコントローラ(CRTC)である。203はキーボードなどのデータ入力装置であり、204はキーボードコントローラである。205は、ポインティングデバイス等の座標入力装置であり、206は、ポインティングデバイスコントローラである。207は、装置全体の制御を司るCPUである。
FIG. 2 is a block diagram illustrating a hardware configuration of the printing system according to the present embodiment. In the figure,
208はブートプログラムなどを記憶しているROM、209は主記憶装置として機能するRAMである。210は、OSをはじめ、各アプリケーションプログラム、ならびに、図4、図5に示すようなフローチャートに係るプログラムを含むプリンタドライバプログラムや、フォントデータ等を記憶するとともに、さらにはスプールファイル等を一時的に記憶するハードディスク装置である。また、211はハードディスクコントローラである。212は、可搬性記憶媒体の駆動装置であるフロッピディスク装置であり、213はフロッピディスクコントローラである。214はインターフェース(I/F)であり、インターフェースケーブルを介してインクジェットプリンタなどのプリンタ109に接続される。216は、各デバイスを接続するバスである。
A
本装置に電源が投入されると、CPU207はROM208に格納されているブートプログラムに従って起動し、ハードディスク装置210からOSをRAM209にロードし、操作者の操作待ち状態になる。そして、操作者からキーボード203またはポインティングデバイス205からアプリケーションを介して印刷指示やプリンタドライバの印刷設定変更指示を受けた場合、もしくは自動的に起動するように設定されている場合は、ハードディスク装置210に格納されているプリンタドライバプログラムがRAM209にロードされ実行される。
When the power of the apparatus is turned on, the
図1は、本実施形態における印刷システムのソフトウェア構成を示す図である。なお本実施形態ではオペレーティングシステム(以下OSと略す)としてMicrosoft WINDOWS(登録商標)を用いた場合を示すが、本発明はこれに限定されるものではない。 FIG. 1 is a diagram illustrating a software configuration of a printing system according to the present embodiment. In the present embodiment, a case where Microsoft WINDOWS (registered trademark) is used as an operating system (hereinafter abbreviated as OS) is shown, but the present invention is not limited to this.
同図において、とりわけ本発明の実現に係るモジュールは、ユーザインタフェースドライバ102とプリントプロセッサ107とプリンタグラフィクスドライバ108であり、これらによってプリンタドライバが構成される。印刷システムを構成する101〜108はプリンタ109の上位装置であるパーソナルコンピュータ等で動作し、アプリケーション101が作成した文書の印刷データはGDI103とスプーラ104を介して一時的にEMF形式でスプールファイル105に一時保持され、これをプリンタ109が解釈可能な印刷コマンド形式のビットマップデータに変換しプリンタ109に供給して印刷するよう構成されている。ここでGDIとはグラフィックデバイスインタフェースのことでWINDOWSのグラフィクスエンジンである。またEMFとはEnhanced Meta Fileの略でWINDOWSにおける描画データの論理的な格納形式であり、スプールファイルには印刷データがEMF形式で格納される。なお、WINDOWSが提供するモジュールはGDI103とスプーラ104とデスプーラ106である。
In the figure, the modules relating to the implementation of the present invention are the
ユーザインタフェースドライバ102は、印刷に使用する用紙サイズやアプリケーション文書の用紙サイズと印刷の向き、その他の印刷属性を設定する機能を提供する。ユーザはこのユーザインタフェースドライバ102を介して対話的に印刷設定の各設定項目を変更することが可能である。ユーザインタフェースドライバ102は、設定値を印刷設定構造に格納し、この印刷設定構造をアプリケーション101に返却する。このユーザインタフェースドライバ102と印刷設定構造の詳細については後述する。
The
アプリケーション101は印刷設定構造を作成し、必要に応じユーザインタフェースドライバ102を介してユーザに印刷設定を行なわせ印刷設定構造を獲得し、としてGDI103に供給する。GDI103はアプリケーション101の印刷操作に伴い印刷イベントをユーザインタフェースドライバ102に通知する。これに応じてユーザインタフェースドライバ102は、アプリケーション101がページ印刷処理を終了する直前のイベントが通知された時に、アプリケーション101が発行した描画命令に対し、ポスター印刷における切取・糊代の文字列がアプリケーションの印刷可能領域外に配置されるような描画命令を追加的に発行する。
The
スプーラ104はGDI103を介してアプリケーション101が作成した文書の描画命令とユーザインタフェースドライバ102が追加した描画命令とを印刷データとしてスプールファイル105に格納する。またスプーラ104は、アプリケーション101が印刷に用いた印刷設定構造もスプールファイル105に格納する機能も有する。
The
デスプーラ106は印刷時にスプールファイル105から印刷設定構造と印刷データを抽出しプリントプロセッサ107に渡す機能を有する。また、このデスプーラ106は、スプールファイル105に格納された印刷データをページ単位で扱えるような形式でプリントプロセッサ107に供給する機能も有する。
The
プリントプロセッサ107は、印刷時にスプールファイル105から印刷設定構造と印刷データを取得し、印刷データを1ページずつレイアウトし、レイアウト後の印刷データをGDI103を介してプリンタグラフィクスドライバ108に供給し印刷を行うモジュールである。このプリントプロセッサ107は模様合成処理部の機能も有し、ポスター印刷の場合、取得した印刷データのうち印刷可能領域に含まれているアプリケーション101が描画した領域を拡大して配置し、さらに印刷可能領域外に含まれているユーザインタフェースドライバ102が切取・糊代の文字列を描画した領域を拡大せずに、所定の位置に重なるように合成処理を行ない合成ページを作成し、合成ページの印刷データをプリンタグラフィクスドライバ108に供給する。
The
プリンタグラフィクスドライバ108はイメージ生成処理部としての機能を有するモジュールで、プリントプロセッサ107から供給された印刷データをもとにGDI103が生成したグラフィック描画コマンドからビットマップデータを生成する。そして、生成したビットマップデータをプリンタが解釈できる印刷コマンド形式にして、図に示していないデータ送信部を介してプリンタ109に供給する。
The
出力デバイスであるプリンタ109は、プリンタグラフィクスドライバ108から渡された印刷コマンド形式のビットマップデータを印刷用紙121、122に対し印刷する機能を持つ。たとえば、印刷設定構造にはポスター印刷が選ばれており分割数が2、切取・糊代を示す文字列が模様として指定されている場合、アプリケーション101の文書ページ120は出力用紙121と出力用紙122の2枚の用紙に分割して印刷され、出力用紙121には糊代領域130が付加され、出力用紙122には切取領域131が付加される。プリントプロセッサ107は、糊代領域130と切取領域131にユーザインタフェースドライバ102が追加した切取・糊代の文字列が重なるように印刷データを配置したので、このような結果が得られることになる。
The
図7に印刷設定構造の概念図を示す。実施形態における印刷設定構造は、同図(A)に示されるようにパブリック構造とプライベート構造とで構成され、パブリック構造には一般的な印刷に必要な設定項目の情報が格納される。図示の例では、印刷の向き、印刷品位、アプリケーションの原稿の用紙サイズ、プリンタにセットされているメディアの種類、メディアがセットされている給紙口をパブリック構造の設定項目として例に挙げている。一方、プライベート構造にはプリンタドライバ固有の情報が格納されており、同図(A)の例では、ハーフトーン手法、ポスター印刷の分割数、プリンタにセットされているメディアのサイズ、スタンプ機能、背景機能を設定項目の例に挙げている。一般アプリケーションからはパブリック構造は参照可能であるがプライベート構造の内容は参照できない。しかし、プリントプロセッサ107は、ポスター印刷の分割数等のプライベート構造の一部の内容について、ユーザインタフェースドライバ102に問い合わせることによって取得することが可能である。アプリケーション101は、図3Aに示されるようなユーザインタフェースドライバ102による印刷設定ダイアログを表示し、ユーザは設定項目を変更するために印刷設定ダイアログを操作し、その結果印刷設定ダイアログの各設定項目の設定値が印刷設定構造に格納される(図7の(B)を参照。)。
FIG. 7 shows a conceptual diagram of the print setting structure. The print setting structure in the embodiment is composed of a public structure and a private structure as shown in FIG. 6A, and information on setting items necessary for general printing is stored in the public structure. In the illustrated example, the print direction, print quality, paper size of the application document, the type of media set in the printer, and the paper feed port on which the media is set are given as examples of setting items of the public structure. . On the other hand, information specific to the printer driver is stored in the private structure. In the example of FIG. 5A, the halftone method, the number of poster printing divisions, the size of the media set in the printer, the stamp function, the background Functions are listed as examples of setting items. From the general application, the public structure can be referenced, but the contents of the private structure cannot be referenced. However, the
図3Aは、本実施形態におけるユーザインタフェースドライバ102が提供する、各種印刷設定を行う際に表示される印刷設定ダイアログの一例を示す図である。この印刷設定ダイアログによりユーザによる上記設定内容の変更指示や入力を受け付ける。同図において、301が印刷設定ダイアログであり、302〜331の各表示エリアで構成される。印刷設定では表示する項目が非常に多いため、タブシートを使用して設定項目を内容ごとに分けて見やすい構成にするのが通例である。本実施形態でもタブを使用する。302は基本設定タブであり、印刷の基本に関する内容を表示する。詳細については後述する。303はページ設定のタブであり、印刷レイアウトに関する内容を表示する。詳細については後述する。304はスタンプ/背景のタブであり、印刷文書に対して文字を重ねるスタンプ機能や、画像を重ねる背景機能という、印刷文書を変更することなしに印刷時に付加するパターンの選択画面を表示する。305は特殊効果のタブであり、各種画像補整やセピア調など特殊な効果を画像に与える場合に使用する機能の選択画面を表示する。306はお気に入りのタブであり頻繁に使用する印刷設定などの保存と呼び出し機能を選択させる画面を表示する。307はユーティリティのタブであり、ヘッドの調整やクリーニングなどの機能の選択画面を表示する。
FIG. 3A is a diagram illustrating an example of a print setting dialog provided when the
同図は基本設定タブ302がアクティブにされた状態を示している。320は基本設定の簡易表示エリアであり、文字情報だけでなく視覚に訴える形で、設定された情報を表示する。321はプリントアドバイザであり印刷目的から最適な印刷設定を段階的に導く機能を持つサブダイアログを表示する。322は用紙種類選択部であり用紙種類を表示するとともに選択することができ、ドロップダウンメニューとなっており普段は選択されている用紙種類が表示され、クリックすることで選択可能な用紙種類がリストされる。選択可能な用紙種類はプリンタで印刷可能な用紙である。323はプリンタ本体が用紙を給紙する給紙方法を表示選択することができ、たとえば自動給紙口である給紙トレイや給紙カセットが選択できる。324は印刷の品位を設定する項目である。325は印刷の色や濃度を調整するための項目である。326は印刷文書がカラーであっても印刷結果をグレースケールにするためのチェックボックスである。327は実際に印刷する前に印刷結果のプレビュー画像を表示するためのチェックボックスである。330は本ダイアログを表示するドライバのバージョンを示すサブダイアログを表示する。331は基本設定302の設定を標準(出荷時設定)に戻す機能をもつ。ユーザは各項目を選択した後にOKボタン308を押下することで印刷設定ダイアログ301を閉じ、選択した印刷設定を印刷に反映させることができる。つまりOKボタン308が押下されたことによりユーザが操作した印刷設定ダイアログの情報を、印刷設定構造の設定項目として格納することになる。キャンセルボタン309を押下すると印刷設定ダイアログ301が閉じ、選択した設定項目の内容は破棄され印刷に反映されることはない。適用ボタン310は印刷設定ダイアログ301は開いたままで選択した印刷設定を印刷に反映させることができる。ヘルプボタン311は基本設定302の各設定項目に関する説明文を別ウィンドウで表示させることができる。
This figure shows a state in which the
図3Bは印刷設定ダイアログでページ設定タブ303がアクティブにされたときの一例を表示している。340はページ設定の簡易表示エリアであり、文字情報だけでなく視覚に訴える形で、設定された情報を表示する。341はアプリケーションが文書を作成するにあたり使用する用紙サイズを設定する項目である。この設定項目を変更することでアプリケーションが使用する用紙サイズを変更することができる。342はアプリケーションの用紙の印刷の向きを設定する項目である。印刷の向きが縦の場合は用紙サイズの縦横がアプリケーションに返却される用紙サイズと一致する。印刷の向きが縦の場合は用紙サイズの縦横を回転したサイズがアプリケーションに返却される。343はプリンタにセットされている出力用紙サイズを設定する。出力用紙サイズを設定することにより、アプリケーションの用紙サイズとは異なるサイズの印刷用紙に印刷することが可能である。344は印刷種類の設定であり、図示ではポスター印刷に設定されている。ここでは、ポスター印刷の他に割付印刷(N−up印刷)や拡大縮小印刷等を選ぶことができる。345は印刷の種類に関する詳細な設定を行なうダイアログを表示するためのボタンである。ポスター印刷における詳細設定のダイアログについては後述する。346はフチ無し全面印刷を行なうためのチェックボックスである。347はフチ無し全面印刷を行なう際のはみ出し量を設定するスライドバーである。348は両面印刷のためのチェックボックスであり、349のラジオボタンにより長辺とじ、短辺とじを選択することができる。350は印刷部数を設定するためのフィールドである。351は逆順印刷のためのチェックボックスであり、352は部単位印刷を行なうためのチェックボックスである。353はページ設定303の設定を標準(出荷時設定)に戻す機能をもつ。本図では印刷の種類にポスター印刷を設定しており、分割数は4としているので簡易表示エリア340には文書の1ページが拡大され、4枚の印刷用紙に分割されて印刷されるように表示される。
FIG. 3B shows an example when the
図3Cは本実施形態におけるユーザインタフェースドライバ102が提供する、ポスター印刷の詳細設定ダイアログの一例である。360がポスター印刷の詳細設定ダイアログであり、361〜368の各表示エリアで構成される。365はポスター印刷における分割数を指定するためのドロップダウンリストである。4分割(2x2)の他に2分割、9分割、16分割等がある。366は印刷後に各印刷結果の用紙を貼り合わせる際に、どの領域を切り離し、どの領域をのり付けすればよいのかを表すための模様を印刷するためのチェックボックスである。本実施形態ではこの模様を切取・糊代の文字列として説明する。367は印刷後に各印刷結果の用紙を貼り合わせる際に、切り取る領域と貼り合わせる領域を示すための線を印刷するかどうかを指定するためのチェックボックスである。368は分割されたページのどの部分を印刷するかを指定するためのラジオボタンと入力フィールドである。例えば4分割なら「1−4」と指定することで分割された全てのページを印刷することができる。また例えば「1、4」と指定することで分割されたページのうち、左上と右下のページを印刷することができる。ユーザは各項目を選択した後にOKボタン361を押下することで詳細設定ダイアログ360を閉じ、選択した印刷設定を印刷に反映させることができる。つまりOKボタン360が押下されたことによりユーザが操作した詳細設定ダイアログの情報を、印刷設定構造の設定項目として格納することになる。キャンセルボタン362を押下すると詳細設定ダイアログ360が閉じ、選択した設定項目の内容は破棄され印刷に反映されることはない。363は詳細設定360の設定を標準(出荷時設定)に戻す機能をもつ。ヘルプボタン364は詳細設定360の各設定項目に関する説明文を別ウィンドウで表示させることができる。
FIG. 3C is an example of a detailed setting dialog for poster printing provided by the
図6は本実施形態におけるアプリケーション101とGDI103とユーザインタフェースドライバ102のタイミングチャートを示している。本図を用いてポスター印刷時にユーザインタフェースドライバ102がアプリケーション101の文書ページに対応する印刷データに切取・糊代文字列の印刷データを追加する処理の流れを説明する。
FIG. 6 shows a timing chart of the
まず、1001でアプリケーション101が文書の印刷の開始をGDI103に通知すると、GDI103は文書の印刷開始処理を行なう前に、1002でユーザインタフェースドライバ102に文書の印刷処理開始直前イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1003で制御をGDI103に返す。GDI103は文書の印刷開始処理を行なった後、1004でユーザインタフェースドライバ102に文書の印刷開始処理直後イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1005で制御をGDI103に返し、続いてGDI103は1006でアプリケーション101に制御を返す。
First, when the
次に、アプリケーション101は文書の1ページを印刷するために、1007でページの印刷の開始をGDI103に通知すると、GDI103はページの印刷開始処理を行なう前に1008でユーザインタフェースドライバ102にページの印刷処理開始直前イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1009で制御をGDI103に返す。GDI103はページの印刷開始処理を行なった後、1010でユーザインタフェースドライバ102にページの印刷開始処理直後イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1011で制御をGDI103に返し、続いてGDI103は1012でアプリケーション101に制御を返す。
Next, in order to print one page of the document, the
以上の処理でページの印刷準備が出来たので、アプリケーション101は文書のページ描画処理を行ない、ページ内の全ての描画を行なった後に1013でGDI103にページの印刷の終了を通知する。GDI103はページの印刷終了処理を行なう前に1014でユーザインタフェースドライバ102にページの印刷処理終了直前イベントを通知する。この時、GDI103はページの印刷終了処理はまだ行なっていないため、新たに描画を行なうことで印刷データの追加が可能である。そこでユーザタインタフェースドライバ102でポスター印刷の切取・糊代文字列が印刷可能領域の外側に配置されるように描画を行ない印刷データの追加を行なった後、1015で制御をGDI103に返す。GDI103はページの印刷終了処理を行なった後、1016でユーザインタフェースドライバ102にページの印刷終了処理直後イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1017で制御をGDI103に返し、続いてGDI103は1018でアプリケーション101に制御を返す。アプリケーション101の文書が複数ページあるときは上記1007から1018を印刷するページの数だけ繰り返す。
Since the page is ready for printing by the above processing, the
最後に、1019でアプリケーション101が文書の印刷の終了をGDI103に通知すると、GDI103は文書の印刷終了処理を行なう前に1020でユーザインタフェースドライバ102に文書の印刷処理終了直前イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1021で制御をGDI103に返す。GDI103は文書の印刷終了処理を行なった後、1022でユーザインタフェースドライバ102に文書の印刷開始処理直後イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1023で制御をGDI103に返し、続いてGDI103は1024でアプリケーション103に制御を返す。
Finally, when the
以上のようにして切取・糊代文字列が付加される。 As described above, the cut / glue character string is added.
続いて、図8〜図11を用いて、プリントプロセッサ107による印刷データの合成処理について説明する。
Next, print data composition processing by the
図9の(A)は、本実施形態におけるユーザインタフェースドライバ102による切取・糊代文字列の配置を示している。このようにアプリケーション101が作成した文書ページの印刷データに切取・糊代文字列が付加された印刷データが1ページとしてスプールファイル105に格納される。
FIG. 9A shows the arrangement of the cut and paste character strings by the
図8は、プリントプロセッサ107による印刷データの合成処理の概念図である。本図では説明を簡単にするために2分割のポスター印刷を例に説明する。まず801で示すように印刷データ中の印刷可能領域にあるアプリケーション101の文書ページに相当する部分を拡大して配置し、次に802で示すようにユーザインタフェースドライバ102が追加した印刷可能領域外にある切取・糊代文字列が所定位置に重なるように配置することにより、803で示される合成ページを作成しプリンタグラフィクスドライバ102に供給する。本図では2分割のポスターの例であるので文字列の合成処理は各印刷用紙につき一回行なえばよい。
FIG. 8 is a conceptual diagram of print data synthesis processing by the
図10は、4分割以上のポスター印刷における文字列合成処理の概念図であり、各印刷用紙につき文字列の合成処理を複数回行なう例を示している。4分割以上のポスター印刷における左上の用紙では文字列合成処理を2回行なう必要がある。ここでは印刷可能領域中のデータをまず拡大し、用紙の右側に糊代文字列、用紙の下側に切取文字列が配置されるように合成処理を行なう場合を図示している。切取・糊代文字列は印刷可能領域の外側に描画されているので、重ね合わされる文字列の印刷可能領域は図示のように、概念的に印刷用紙の外側に配置される。 FIG. 10 is a conceptual diagram of character string composition processing in poster printing of four or more divisions, and shows an example in which character string composition processing is performed a plurality of times for each print sheet. It is necessary to perform the character string synthesizing process twice on the upper left sheet in the poster printing of four or more divisions. Here, a case is shown in which the data in the printable area is first enlarged, and the combining process is performed so that the paste character string is arranged on the right side of the sheet and the cut character string is arranged on the lower side of the sheet. Since the cut and paste character string is drawn outside the printable area, the printable area of the superimposed character string is conceptually arranged outside the print sheet as shown in the figure.
図9の(B)は4分割のポスター印刷における出力結果の例を示しており、各用紙では文字列合成処理が2回行われ、切取・糊代文字列が合成されていることが分かる。図9の(C)は9分割のポスター印刷における出力結果の例を示しており、用紙1、用紙3、用紙7、用紙9では文字列合成処理が2回行われ、用紙2、用紙4、用紙6、用紙8では文字列合成処理が3回行われ、用紙5では文字列合成処理が4回行われていることが分かる。
FIG. 9B shows an example of the output result in the four-part poster printing. It can be seen that the character string synthesizing process is performed twice on each sheet, and the cut and paste margin character strings are synthesized. FIG. 9C shows an example of an output result in the nine-division poster printing. In the
図11は2分割のポスター印刷の例を示している。同図(A)は、ユーザインタフェースドライバ102による切取・糊代文字列の配置を示している。このようにアプリケーション101が作成した文書ページの印刷データに切取・糊代文字列が付加された印刷データが1スプールページとしてスプールファイル105に格納される。ここでは、アプリケーション101の文書が2ページで構成されており、用紙サイズが互いに異なっている場合を示している。そして、(B)が2分割のポスター印刷の出力結果を示している。用紙1〜用紙4で文字列合成処理が1回ずつ行われ、ユーザは切取・糊代文字列に従うことで用紙1と用紙2、用紙3と用紙4を結合できることがわかる。
FIG. 11 shows an example of poster printing divided into two. FIG. 4A shows the arrangement of the cut / glue character strings by the
このように、ポスター印刷における分割数およびページ位置に応じた態様で切取・糊代文字列が付加される。 In this manner, the cut / glue character string is added in a manner corresponding to the number of divisions and the page position in poster printing.
図4は、本実施形態におけるユーザインタフェースドライバ102によるポスター印刷の切取・糊代文字列の描画処理のフローチャートである。本フローチャートはGDI103から印刷イベントが通知された場合を想定している。
FIG. 4 is a flowchart of the poster printing cut / glue character string drawing process by the
まずS401で、通知された印刷イベントが、アプリケーション101の印刷動作による印刷イベントか、プリントプロセッサ107の印刷動作による印刷イベントかを判断する。ポスター印刷の切取・糊代文字列の追加処理はアプリケーション101の印刷イベントのみで行なえばよいので、プリントプロセッサ107による印刷イベントの場合は終了し、アプリケーション101の印刷イベントである場合はS402へ移る。
In step S <b> 401, it is determined whether the notified print event is a print event due to a print operation of the
S402では、ページの印刷終了処理直前の印刷イベントかどうかを判断する。ここで、ページの印刷終了処理直前の印刷イベントであると判断された場合はS403に移り、そうでない場合は終了する。 In step S402, it is determined whether the print event is immediately before the page print end process. If it is determined that the print event is immediately before the page print end process, the process proceeds to S403, and if not, the process ends.
S403では、印刷設定構造にポスター印刷の切取・糊代文字列が設定されているかどうかを判断する。ここで、切取・糊代文字列が設定されていない場合は終了し、設定されている場合はS405に移る。 In step S403, it is determined whether or not a poster print cut / glue character string is set in the print setting structure. If the cut / glue character string is not set, the process ends. If it is set, the process proceeds to S405.
S405では、アプリケーション101の印刷可能領域の外側に切取・糊代文字列を描画することでアプリケーション101の印刷データに切取・糊代の印刷データを追加する。
In step S <b> 405, the cut / paste margin print data is added to the print data of the
このように、アプリケーション101による印刷において文書の各ページの印刷データの作成が終了した時点で、ユーザインタフェースドライバ102が、印刷設定構造に格納されているポスター印刷の文字列の設定に応じ、切取・糊代文字列の印刷データを付加することができる。
As described above, when the creation of the print data for each page of the document in the printing by the
図5は、本実施形態におけるプリントプロセッサ107によるポスター印刷の切取・糊代文字列の合成処理のフローチャートを示している。プリントプロセッサ107は印刷ジョブのページの印刷データが1ページ以上スプールされた時にデスプーラ106により起動される。
FIG. 5 shows a flow chart of the poster printing cut and paste character string composition processing by the
まずS501で、ジョブの印刷処理開始をGDI103に通知する。続くS502〜S508が印刷用紙のループであり、印刷ジョブの処理が終わるまで印刷用紙を出力する。
First, in step S501, the
S503では、ページの印刷処理を行なうために、GDI103にページの印刷開始を通知する。次に、S504で、印刷用紙の番号からアプリケーション101の文書のページ番号と分割の位置を計算し、デスプーラ106を介してスプールファイルから該当するページ番号の印刷データを取得し、該当する分割の位置が印刷用紙に印刷されるように配置して描画する。
In step S503, the
続いて、S505で、該当するページ番号の印刷設定構造にポスター印刷の切取・糊代文字列の設定があるかどうかを判定する。ここで、切取・糊代文字列の設定があればS506に移り、設定がなければS507に移る。S506では文字列の合成処理を行なう。取得した印刷データの印刷可能領域の外側に位置する切取・糊代文字列が、所定の位置に重なるように印刷データを配置して描画を行ない、必要に応じて各辺に文字列が重なるように分割数と分割の位置に応じて1回〜4回、上記の合成処理を繰り返す。S507ではGDI103にページの印刷終了を通知し、文字列の合成処理を行なった結果をプリンタグラフィクスドライバ108に供給する。
In step S505, it is determined whether the print setting structure for the corresponding page number has a setting for a cutout / post paste character string for poster printing. Here, if there is a setting of a cut / glue character string, the process proceeds to S506, and if there is no setting, the process proceeds to S507. In step S506, character string composition processing is performed. Arrange the print data so that the cut and paste margin character string located outside the printable area of the acquired print data overlaps with the specified position, and draw the character string on each side as necessary The above synthesis process is repeated once to four times depending on the number of divisions and the division position. In step S <b> 507, the
上記のページの処理を最終印刷用紙まで繰り返した後、S509でGDI103に印刷ジョブの印刷処理終了を通知して終了する。
After the above-described page processing is repeated up to the final print sheet, in S509, the
以上説明した本発明の実施形態による効果は次のとおりである。 The effects of the embodiment of the present invention described above are as follows.
本実施形態によるポスター印刷において、切取・糊代の模様が付加されるのはスプール時である。すなわち、切取・糊代の模様の付加処理は、アプリケーションが動作するホストと同一のホストで動作するプリンタドライバのユーザインタフェースドライバが行なう。よって、クライアントでアプリケーションが印刷データを作成し、サーバでグラフィクスドライバが動作する、というネットワーク環境においても、クライアントでユーザが指定した模様の文字列のフォントやアイコンの画像等が必ずスプールファイルに格納されるので、サーバ側にフォントやアイコンの画像等が無くてもサーバで確実に切取・糊代の領域の合成処理を行なうことができる。 In the poster printing according to the present embodiment, the cut and paste pattern is added at the time of spooling. That is, the cutting / glue pattern addition processing is performed by a user interface driver of a printer driver that operates on the same host as the host on which the application operates. Therefore, even in a network environment where the application creates print data on the client and the graphics driver operates on the server, the character string font or icon image specified by the user on the client is always stored in the spool file. Therefore, even if there is no font or icon image on the server side, it is possible to reliably perform the cutting / glue area composition processing on the server.
さらに、アプリケーションによる文書の各ページの印刷に伴い、ユーザインタフェースドライバがアプリケーションが発行した印刷データに切取・糊代文字列の印刷データを付加するので、スプールされるページ数はアプリケーションが印刷処理を行なったページ数と等しくなり、印刷ジョブの総ページ数が実際の文書のページ数とは異なることはなく、ユーザをいたずらに混乱させることが無くなる。 Furthermore, as each page of the document is printed by the application, the user interface driver adds the print data of the cut and paste character string to the print data issued by the application, so that the number of pages to be spooled is processed by the application. The total number of pages of the print job is not different from the actual number of pages of the document, and the user is not confused.
なお、上述の実施形態では分割数が2、4、9であるポスター印刷について説明したが、これらに限らず、一般に言うM×N 分割のポスター印刷においても同様の効果が得られることは言うまでもない。 In the above-described embodiment, the poster printing with the number of divisions of 2, 4, and 9 has been described. However, the present invention is not limited to these, and it is needless to say that the same effect can be obtained in the M × N division poster printing. .
また、上述の実施形態では切取・糊代領域に文字列を配置する例を示したが、文字列ではなくアイコンやビットマップなどでも、上述の処理により文字列と同様に効率的に配置でき、適切な印刷結果が得られることは言うまでもない。 Moreover, in the above-described embodiment, an example in which a character string is arranged in the cutting / glue area has been shown. However, an icon or a bitmap instead of a character string can be arranged efficiently like the character string by the above-described processing, Needless to say, appropriate printing results can be obtained.
(他の実施形態)
以上、本発明の実施形態を詳述したが、本発明は、複数の機器から構成されるシステムに適用してもよいし、また、一つの機器からなる装置に適用してもよい。
(Other embodiments)
As mentioned above, although embodiment of this invention was explained in full detail, this invention may be applied to the system comprised from several apparatuses, and may be applied to the apparatus which consists of one apparatus.
なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムを、システムあるいは装置に直接あるいは遠隔から供給し、そのシステムあるいは装置のコンピュータがその供給されたプログラムコードを読み出して実行することによっても達成される。その場合、プログラムの機能を有していれば、その形態はプログラムである必要はない。 In the present invention, a software program that realizes the functions of the above-described embodiments is directly or remotely supplied to a system or apparatus, and the computer of the system or apparatus reads and executes the supplied program code. Is also achieved. In that case, as long as it has the function of a program, the form does not need to be a program.
従って、本発明の機能処理をコンピュータで実現するために、そのコンピュータにインストールされるプログラムコード自体およびそのプログラムを格納した記憶媒体も本発明を構成することになる。つまり、本発明の特許請求の範囲には、本発明の機能処理を実現するためのコンピュータプログラム自体、およびそのプログラムを格納した記憶媒体も含まれる。 Therefore, in order to realize the functional processing of the present invention with a computer, the program code itself installed in the computer and the storage medium storing the program also constitute the present invention. In other words, the claims of the present invention include the computer program itself for realizing the functional processing of the present invention and a storage medium storing the program.
その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。 In this case, the program may be in any form as long as it has a program function, such as an object code, a program executed by an interpreter, or script data supplied to the OS.
プログラムを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などがある。 As a storage medium for supplying the program, for example, flexible disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R).
その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、そのホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記憶媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明のクレームに含まれるものである。 As another program supply method, a client computer browser is used to connect to an Internet homepage, and the computer program of the present invention itself or a compressed file including an automatic installation function is downloaded from the homepage to a storage medium such as a hard disk. Can also be supplied. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the claims of the present invention.
また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせ、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. It is also possible to execute the encrypted program by using the key information and install the program on a computer.
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。 In addition to the functions of the above-described embodiments being realized by the computer executing the read program, the OS running on the computer based on the instruction of the program is a part of the actual processing. Alternatively, the functions of the above-described embodiment can be realized by performing all of them and performing the processing.
さらに、記憶媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現される。 Furthermore, after the program read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board or The CPU or the like provided in 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.
Claims (11)
前記アプリケーションに代わって、前記アプリケーションが描画した各ページの余白位置に、糊代・切り取りを示す模様を追加的に描画し、この模様が付加された印刷データをスプールファイルとして保存するステップと、
デスプール時において、取得した前記印刷データのうち前記アプリケーションが描画した1ページの文書を前記複数の領域に分割し、各領域を拡大して別々のページに配置するとともに、各ページの余白位置に、前記複数の領域の分割数およびそのページ位置に応じた態様で前記糊代・切り取りを示す模様を追加的に配置することで合成ページを生成するステップと、
前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するステップと、
を有することを特徴とする印刷制御方法。 Divide one page of a document created by the application into multiple areas and print each sheet on a separate sheet so that the desired image can be obtained by pasting together the predetermined positions on each sheet after printing. A print control method for controlling a printer to perform
Instead of the application, additionally drawing a pattern indicating glue margin / cutting at the margin position of each page drawn by the application, and storing the print data with the pattern added as a spool file;
At the time of despooling, the one-page document drawn by the application in the acquired print data is divided into the plurality of areas, each area is enlarged and arranged on a separate page, and the margin position of each page is set. Generating a composite page by additionally arranging a pattern indicating the margin and cutting in a manner corresponding to the number of divisions of the plurality of regions and the page position;
Generating bitmap data for the composite page and supplying it to the printer;
A printing control method characterized by comprising:
ユーザからの指示に基づいて印刷属性の設定を行うステップと、
設定された前記印刷属性の内容に基づいて、前記アプリケーションが発行した第1の描画命令と、通知される印刷イベントに応じ糊代・切り取りを示す模様を印刷可能領域の外側に描画するための第2の描画命令とを含む印刷データを生成するステップと、
前記印刷データをスプール領域に一時的に格納するステップと、
前記スプール領域に格納された印刷データを取得し、その印刷データにおける前記第1の描画命令による画像を拡大、分割し、その拡大、分割された各画像と前記第2の描画命令による前記糊代・切り取りを示す模様とを合成することで合成ページを生成するステップと、
前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するステップと、
を有することを特徴とする印刷制御方法。 A print control method for controlling a printer to divide one page of a document created by an application into a plurality of areas, enlarge each area, and print on separate paper,
Setting print attributes based on instructions from the user;
Based on the contents of the set print attribute, a first drawing command issued by the application and a pattern for showing a margin / cut according to the notified print event are drawn outside the printable area. Generating print data including two drawing commands;
Temporarily storing the print data in a spool area;
The print data stored in the spool area is acquired, the image according to the first drawing command in the print data is enlarged and divided, the enlarged and divided images, and the glue margin according to the second drawing command. Generating a composite page by compositing with a pattern indicating cutting;
Generating bitmap data for the composite page and supplying it to the printer;
A printing control method characterized by comprising:
前記アプリケーションに代わって、前記アプリケーションが描画した各ページの余白位置に、糊代・切り取りを示す模様を追加的に描画し、この模様が付加された印刷データをスプールファイルとして記憶する記憶手段と、
デスプール時において、前記記憶手段より取得した前記印刷データのうち前記アプリケーションが描画した1ページの文書を前記複数の領域に分割し、各領域を拡大して別々のページに配置するとともに、各ページの余白位置に、前記複数の領域の分割数およびそのページ位置に応じた態様で前記糊代・切り取りを示す模様を追加的に配置することで合成ページを生成する合成ページ生成手段と、
前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するビットマップデータ生成手段と、
を有することを特徴とする印刷制御装置。 Divide one page of a document created by the application into multiple areas and print each sheet on a separate sheet so that the desired image can be obtained by pasting together the predetermined positions on each sheet after printing. A print control device for controlling the printer to
In place of the application, a storage unit that additionally draws a pattern indicating paste margin / cutting at a margin position of each page drawn by the application, and stores print data to which the pattern is added as a spool file;
At the time of despooling, the one-page document drawn by the application in the print data acquired from the storage unit is divided into the plurality of areas, and the areas are enlarged and arranged on separate pages. A composite page generating means for generating a composite page by additionally arranging a pattern indicating the margin and cutting in a mode according to the number of divisions of the plurality of regions and the page position at a margin position;
Bitmap data generating means for generating bitmap data of the composite page and supplying the bitmap data to the printer;
A printing control apparatus comprising:
ユーザからの指示に基づいて印刷属性の設定を行う設定手段と、
設定された前記印刷属性の内容に基づいて、前記アプリケーションが発行した第1の描画命令と、通知される印刷イベントに応じ糊代・切り取りを示す模様を印刷可能領域の外側に描画するための第2の描画命令とを含む印刷データを生成する印刷データ生成手段と、
前記印刷データをスプールファイルとして記憶する記憶手段と、
前記記憶手段に格納された前記印刷データを取得し、その印刷データにおける前記第1の描画命令による画像を拡大、分割し、その拡大、分割された各画像と前記第2の描画命令による前記糊代・切り取りを示す模様とを合成することで合成ページを生成する合成ページ生成手段と、
前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するビットマップデータ生成手段と、
を有することを特徴とする印刷制御装置。 A print control apparatus that controls a printer to divide one page of a document created by an application into a plurality of areas, enlarge each area, and print on separate paper,
Setting means for setting print attributes based on an instruction from the user;
Based on the contents of the set print attribute, a first drawing command issued by the application and a pattern for showing a margin / cut according to the notified print event are drawn outside the printable area. Print data generation means for generating print data including two drawing commands;
Storage means for storing the print data as a spool file;
The print data stored in the storage means is acquired, the image according to the first drawing command in the print data is enlarged and divided, the enlarged and divided images and the glue according to the second drawing command A composite page generating means for generating a composite page by combining a pattern indicating a margin / cutting;
Bitmap data generating means for generating bitmap data of the composite page and supplying the bitmap data to the printer;
A printing control apparatus comprising:
ユーザからの指示に基づいて印刷属性の設定を行うとともに、その印刷属性の内容に応じて、前記アプリケーションが発行した第1の描画命令に対し第2の描画命令を追加的に発行するユーザインタフェースドライバと、
前記第1および第2の描画命令を含む印刷データをスプールファイルとしてメモリに格納するスプーラと、
前記メモリに格納された印刷データをページ単位でレイアウトするプリントプロセッサと、
前記プリントプロセッサから供給された印刷データに基づいてビットマップデータを生成してプリンタに供給するプリンタグラフィクスドライバと、
を有し、
前記ユーザインタフェースドライバは、
前記印刷属性の内容に基づいて、通知される印刷イベントに応じ糊代・切り取りを示す模様を印刷可能領域の外側に描画するための描画命令を前記第2の描画命令として発行し、
前記プリントプロセッサは、
前記スプールファイルに格納された印刷データを取得し、その印刷データにおける前記第1の描画命令による画像を拡大、分割し、その拡大、分割された各画像と前記第2の描画命令による前記糊代・切り取りを示す模様とを合成することで合成ページを得て、これを前記プリンタグラフィクスドライバに供給する
ことを特徴とする印刷制御装置。 A print control apparatus having a function of dividing one page of a document created by an application into a plurality of areas, expanding each area, and printing on separate sheets,
A user interface driver that sets a printing attribute based on an instruction from a user and additionally issues a second drawing command to the first drawing command issued by the application according to the contents of the printing attribute When,
A spooler that stores print data including the first and second drawing commands in a memory as a spool file;
A print processor for laying out print data stored in the memory in units of pages;
A printer graphics driver that generates bitmap data based on the print data supplied from the print processor and supplies the bitmap data to the printer;
Have
The user interface driver is
Based on the contents of the print attribute, issue a drawing command for drawing a pattern indicating glue margin / cutout outside the printable area according to the notified print event as the second drawing command,
The print processor
The print data stored in the spool file is acquired, the image according to the first drawing command in the print data is enlarged and divided, the enlarged and divided images and the glue margin according to the second drawing command A print control apparatus characterized in that a combined page is obtained by combining a pattern indicating cutting and is supplied to the printer graphics driver.
前記アプリケーションに代わって、前記アプリケーションが描画した各ページの余白位置に、糊代・切り取りを示す模様を追加的に描画し、この模様が付加された印刷データをスプールファイルとして保存するためのコードと、
デスプール時において、取得した前記印刷データのうち前記アプリケーションが描画した1ページの文書を前記複数の領域に分割し、各領域を拡大して別々のページに配置するとともに、各ページの余白位置に、前記複数の領域の分割数およびそのページ位置に応じた態様で前記糊代・切り取りを示す模様を追加的に配置することで合成ページを生成するためのコードと、
前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するためのコードと、
を含むことを特徴とするプリンタドライバプログラム。 Divide one page of a document created by the application into multiple areas and print each sheet on a separate sheet so that the desired image can be obtained by pasting together the predetermined positions on each sheet after printing. A printer driver program for controlling a printer to
In place of the application, a code for additionally drawing a pattern indicating glue margin / cutting at the margin position of each page drawn by the application, and storing the print data with the pattern added as a spool file; ,
At the time of despooling, the one-page document drawn by the application in the acquired print data is divided into the plurality of areas, each area is enlarged and arranged on a separate page, and the margin position of each page is set. A code for generating a composite page by additionally arranging a pattern indicating the paste margin / cutting in a manner according to the number of divisions of the plurality of regions and the page position;
Code for generating bitmap data for the composite page and supplying it to the printer;
A printer driver program comprising:
ユーザからの指示に基づいて印刷属性の設定を行うためのコードと、
設定された前記印刷属性の内容に基づいて、前記アプリケーションが発行した第1の描画命令と、通知される印刷イベントに応じ糊代・切り取りを示す模様を印刷可能領域の外側に描画するための第2の描画命令とを含む印刷データを生成するためのコードと、
前記印刷データをスプール領域に一時的に格納するためのコードと、
前記スプール領域に格納された印刷データを取得し、その印刷データにおける前記第1の描画命令による画像を拡大、分割し、その拡大、分割された各画像と前記第2の描画命令による前記糊代・切り取りを示す模様とを合成することで合成ページを生成するためのコードと、
前記合成ページのビットマップデータを生成し、これを前記プリンタに供給するためのコードと、
を含むことを特徴とするプリンタドライバプログラム。 A printer driver program for controlling a printer to divide one page of a document created by an application into a plurality of areas, enlarge each area, and print on separate paper,
A code for setting print attributes based on an instruction from the user;
Based on the contents of the set print attribute, a first drawing command issued by the application and a pattern for showing a margin / cut according to the notified print event are drawn outside the printable area. A code for generating print data including two drawing commands;
A code for temporarily storing the print data in a spool area;
The print data stored in the spool area is acquired, the image according to the first drawing command in the print data is enlarged and divided, the enlarged and divided images, and the glue margin according to the second drawing command. -A code for generating a composite page by compositing a pattern indicating cutting,
Code for generating bitmap data for the composite page and supplying it to the printer;
A printer driver program comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004020383A JP2005215895A (en) | 2004-01-28 | 2004-01-28 | Print control method and device, printer driver program, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004020383A JP2005215895A (en) | 2004-01-28 | 2004-01-28 | Print control method and device, printer driver program, and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005215895A true JP2005215895A (en) | 2005-08-11 |
Family
ID=34904319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004020383A Withdrawn JP2005215895A (en) | 2004-01-28 | 2004-01-28 | Print control method and device, printer driver program, and storage medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005215895A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012078894A (en) * | 2010-09-30 | 2012-04-19 | Fuji Xerox Co Ltd | Print data generation device and program |
JP2019205095A (en) * | 2018-05-24 | 2019-11-28 | キヤノン株式会社 | Control unit, control method, and program |
-
2004
- 2004-01-28 JP JP2004020383A patent/JP2005215895A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012078894A (en) * | 2010-09-30 | 2012-04-19 | Fuji Xerox Co Ltd | Print data generation device and program |
JP2019205095A (en) * | 2018-05-24 | 2019-11-28 | キヤノン株式会社 | Control unit, control method, and program |
JP7102229B2 (en) | 2018-05-24 | 2022-07-19 | キヤノン株式会社 | Controls, control methods and programs |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7426057B2 (en) | Document processing method | |
US8451490B2 (en) | Printing control method | |
US8089653B2 (en) | Document processing apparatus, method and program for variable printing with document file dividing | |
US8218190B2 (en) | Document processing apparatus and method | |
US8243324B2 (en) | Document processing system, information processing apparatus, and setting methods therefor | |
JP4630847B2 (en) | Information processing apparatus, information processing method, and program | |
JP4095512B2 (en) | Document conversion method and apparatus | |
US8395806B2 (en) | Information processing apparatus, method, and program for bookbinding with selected cover layout type | |
WO2010143621A1 (en) | Image processing apparatus, image processing method and storage medium | |
US9519850B2 (en) | Computer-readable recording medium, information processing apparatus, and printing system | |
JP2006260384A (en) | Printing data editing device, and printing data editing program | |
JP2005115683A (en) | Print setting method and information processor | |
JP2007114990A (en) | Print control program | |
JP2008165467A (en) | Printing system, printing method, program and computer-readable recording medium | |
JP2005215895A (en) | Print control method and device, printer driver program, and storage medium | |
JP2005182694A (en) | Layout printing system | |
JP3897539B2 (en) | Print data generation method and apparatus | |
JP2004104161A (en) | Image processing method, image processing apparatus, storage medium, and program | |
JP4506371B2 (en) | Image forming method and image forming apparatus | |
US8160469B2 (en) | Information processing apparatus, method for controlling the information processing apparatus, and storage medium | |
JP2005148927A (en) | Information processor and print control method | |
JP2005149212A (en) | Document processing method and document processing apparatus | |
JP4794812B2 (en) | Preview display method and preview display device | |
JP2005071140A (en) | Information processing apparatus, information processing method, record medium for the same, and program | |
JP2006338166A (en) | Information processor, its control method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070403 |