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 PDF

Info

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
print
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
Application number
JP2004020383A
Other languages
Japanese (ja)
Inventor
Hideo Natori
英夫 名取
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2004020383A priority Critical patent/JP2005215895A/en
Publication of JP2005215895A publication Critical patent/JP2005215895A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing method which not only adds a pattern image for a notch/pasting margin to print data on a system side and prints the pattern image without generating the addition of the above pattern image by use of an application but also makes the total number of pages of a printing job equal to the number of pages of an actual document even if a pattern for a notch/pasting margin is added. <P>SOLUTION: A driver 102 additionally draws, on behalf of an application 101, a pattern indicating a pasting margin/notch on the blank space of each page which the application 101 draws and stores the print data in a spool file via a spooler 104. A print processor 107 divides a one-page document, which the application 101 draws, among the print data into a plurality of areas at the time of printing, expands each of the areas, locates the expanded areas to different pages, and adds the pattern indicating a pasting margin/notch to the blank space of each page in a mode corresponding to the number of division of the plurality of areas and their page positions, and then generates a synthesized page. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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.

特開2002−335393号公報JP 2002-335393 A

ところで、上記のような従来の技術には次のような解決すべき課題があった。   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, reference numeral 201 denotes a CRT display device, which displays a print setting dialog and the like provided by the user interface driver 102 as shown in FIGS. Reference numeral 202 denotes a CRT controller (CRTC) that controls display on the CRT display device 201. Reference numeral 203 denotes a data input device such as a keyboard, and reference numeral 204 denotes a keyboard controller. Reference numeral 205 denotes a coordinate input device such as a pointing device, and 206 denotes a pointing device controller. Reference numeral 207 denotes a CPU that controls the entire apparatus.

208はブートプログラムなどを記憶しているROM、209は主記憶装置として機能するRAMである。210は、OSをはじめ、各アプリケーションプログラム、ならびに、図4、図5に示すようなフローチャートに係るプログラムを含むプリンタドライバプログラムや、フォントデータ等を記憶するとともに、さらにはスプールファイル等を一時的に記憶するハードディスク装置である。また、211はハードディスクコントローラである。212は、可搬性記憶媒体の駆動装置であるフロッピディスク装置であり、213はフロッピディスクコントローラである。214はインターフェース(I/F)であり、インターフェースケーブルを介してインクジェットプリンタなどのプリンタ109に接続される。216は、各デバイスを接続するバスである。   A ROM 208 stores a boot program and the like, and a RAM 209 functions as a main storage device. 210 stores an OS, each application program, a printer driver program including a program according to the flowcharts shown in FIGS. 4 and 5, font data, and the like, and temporarily stores a spool file and the like. It is a hard disk device for storing. Reference numeral 211 denotes a hard disk controller. Reference numeral 212 denotes a floppy disk device which is a drive device for a portable storage medium, and 213 denotes a floppy disk controller. Reference numeral 214 denotes an interface (I / F), which is connected to a printer 109 such as an ink jet printer via an interface cable. A bus 216 connects the devices.

本装置に電源が投入されると、CPU207はROM208に格納されているブートプログラムに従って起動し、ハードディスク装置210からOSをRAM209にロードし、操作者の操作待ち状態になる。そして、操作者からキーボード203またはポインティングデバイス205からアプリケーションを介して印刷指示やプリンタドライバの印刷設定変更指示を受けた場合、もしくは自動的に起動するように設定されている場合は、ハードディスク装置210に格納されているプリンタドライバプログラムがRAM209にロードされ実行される。   When the power of the apparatus is turned on, the CPU 207 starts up according to a boot program stored in the ROM 208, loads the OS from the hard disk device 210 to the RAM 209, and waits for an operation by the operator. When the operator receives a print instruction or a print setting change instruction for the printer driver from the keyboard 203 or the pointing device 205 via an application, or when it is set to start automatically, the hard disk device 210 The stored printer driver program is loaded into the RAM 209 and executed.

図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 user interface driver 102, the print processor 107, and the printer graphics driver 108, and these constitute a printer driver. 101 to 108 constituting the printing system operate on a personal computer or the like which is a host device of the printer 109, and print data of a document created by the application 101 is temporarily stored in the spool file 105 in the EMF format via the GDI 103 and the spooler 104. The image data is temporarily stored and converted into bitmap data in a print command format that can be interpreted by the printer 109, supplied to the printer 109, and printed. Here, GDI is a graphics device interface and is a WINDOWS graphics engine. EMF is an abbreviation for Enhanced Meta File, which is a logical storage format for drawing data in WINDOWS, and print data is stored in a spool file in EMF format. Note that modules provided by WINDOWS are the GDI 103, the spooler 104, and the despooler 106.

ユーザインタフェースドライバ102は、印刷に使用する用紙サイズやアプリケーション文書の用紙サイズと印刷の向き、その他の印刷属性を設定する機能を提供する。ユーザはこのユーザインタフェースドライバ102を介して対話的に印刷設定の各設定項目を変更することが可能である。ユーザインタフェースドライバ102は、設定値を印刷設定構造に格納し、この印刷設定構造をアプリケーション101に返却する。このユーザインタフェースドライバ102と印刷設定構造の詳細については後述する。   The user interface driver 102 provides a function for setting a paper size used for printing, a paper size and printing direction of an application document, and other printing attributes. The user can interactively change each setting item of the print setting via the user interface driver 102. The user interface driver 102 stores the setting value in the print setting structure, and returns this print setting structure to the application 101. Details of the user interface driver 102 and the print setting structure will be described later.

アプリケーション101は印刷設定構造を作成し、必要に応じユーザインタフェースドライバ102を介してユーザに印刷設定を行なわせ印刷設定構造を獲得し、としてGDI103に供給する。GDI103はアプリケーション101の印刷操作に伴い印刷イベントをユーザインタフェースドライバ102に通知する。これに応じてユーザインタフェースドライバ102は、アプリケーション101がページ印刷処理を終了する直前のイベントが通知された時に、アプリケーション101が発行した描画命令に対し、ポスター印刷における切取・糊代の文字列がアプリケーションの印刷可能領域外に配置されるような描画命令を追加的に発行する。   The application 101 creates a print setting structure, makes the user perform print settings via the user interface driver 102 as necessary, acquires the print setting structure, and supplies it to the GDI 103 as it. The GDI 103 notifies the user interface driver 102 of a print event accompanying the printing operation of the application 101. In response to this, when the event immediately before the application 101 finishes the page printing process is notified, the user interface driver 102 applies the character string of the cut / glue margin in the poster printing to the drawing command issued by the application 101. A drawing command that is placed outside the printable area is additionally issued.

スプーラ104はGDI103を介してアプリケーション101が作成した文書の描画命令とユーザインタフェースドライバ102が追加した描画命令とを印刷データとしてスプールファイル105に格納する。またスプーラ104は、アプリケーション101が印刷に用いた印刷設定構造もスプールファイル105に格納する機能も有する。   The spooler 104 stores the drawing command of the document created by the application 101 via the GDI 103 and the drawing command added by the user interface driver 102 in the spool file 105 as print data. The spooler 104 also has a function of storing the print setting structure used for printing by the application 101 in the spool file 105.

デスプーラ106は印刷時にスプールファイル105から印刷設定構造と印刷データを抽出しプリントプロセッサ107に渡す機能を有する。また、このデスプーラ106は、スプールファイル105に格納された印刷データをページ単位で扱えるような形式でプリントプロセッサ107に供給する機能も有する。   The despooler 106 has a function of extracting a print setting structure and print data from the spool file 105 at the time of printing, and passing them to the print processor 107. The despooler 106 also has a function of supplying the print data stored in the spool file 105 to the print processor 107 in a format that can be handled in units of pages.

プリントプロセッサ107は、印刷時にスプールファイル105から印刷設定構造と印刷データを取得し、印刷データを1ページずつレイアウトし、レイアウト後の印刷データをGDI103を介してプリンタグラフィクスドライバ108に供給し印刷を行うモジュールである。このプリントプロセッサ107は模様合成処理部の機能も有し、ポスター印刷の場合、取得した印刷データのうち印刷可能領域に含まれているアプリケーション101が描画した領域を拡大して配置し、さらに印刷可能領域外に含まれているユーザインタフェースドライバ102が切取・糊代の文字列を描画した領域を拡大せずに、所定の位置に重なるように合成処理を行ない合成ページを作成し、合成ページの印刷データをプリンタグラフィクスドライバ108に供給する。   The print processor 107 acquires the print setting structure and print data from the spool file 105 during printing, lays out the print data page by page, supplies the print data after layout to the printer graphics driver 108 via the GDI 103, and performs printing. It is a module. The print processor 107 also has a function of a pattern synthesis processing unit. In the case of poster printing, the print data 107 can be further enlarged by arranging an area drawn by the application 101 included in the printable area in the acquired print data and further printing is possible. The user interface driver 102 included outside the area does not enlarge the area where the character string of the cut / paste margin is drawn, and performs a composition process so as to overlap the predetermined position to create a composite page, and print the composite page Data is supplied to the printer graphics driver 108.

プリンタグラフィクスドライバ108はイメージ生成処理部としての機能を有するモジュールで、プリントプロセッサ107から供給された印刷データをもとにGDI103が生成したグラフィック描画コマンドからビットマップデータを生成する。そして、生成したビットマップデータをプリンタが解釈できる印刷コマンド形式にして、図に示していないデータ送信部を介してプリンタ109に供給する。   The printer graphics driver 108 is a module having a function as an image generation processing unit, and generates bitmap data from a graphic drawing command generated by the GDI 103 based on print data supplied from the print processor 107. The generated bitmap data is converted into a print command format that can be interpreted by the printer, and is supplied to the printer 109 via a data transmission unit (not shown).

出力デバイスであるプリンタ109は、プリンタグラフィクスドライバ108から渡された印刷コマンド形式のビットマップデータを印刷用紙121、122に対し印刷する機能を持つ。たとえば、印刷設定構造にはポスター印刷が選ばれており分割数が2、切取・糊代を示す文字列が模様として指定されている場合、アプリケーション101の文書ページ120は出力用紙121と出力用紙122の2枚の用紙に分割して印刷され、出力用紙121には糊代領域130が付加され、出力用紙122には切取領域131が付加される。プリントプロセッサ107は、糊代領域130と切取領域131にユーザインタフェースドライバ102が追加した切取・糊代の文字列が重なるように印刷データを配置したので、このような結果が得られることになる。   The printer 109 as an output device has a function of printing bitmap data in a print command format passed from the printer graphics driver 108 on the print sheets 121 and 122. For example, when poster printing is selected as the print setting structure, the number of divisions is 2, and a character string indicating cutting / glue is specified as a pattern, the document page 120 of the application 101 has an output sheet 121 and an output sheet 122. The output paper 121 has a glue margin area 130 added thereto, and the output paper 122 has a cutout area 131 added thereto. Since the print processor 107 arranges the print data so that the character string of the cut / paste margin added by the user interface driver 102 overlaps the paste margin area 130 and the cut area 131, such a result is obtained.

図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 print processor 107 can obtain the contents of a part of the private structure such as the number of poster printing divisions by inquiring the user interface driver 102. The application 101 displays a print setting dialog by the user interface driver 102 as shown in FIG. 3A, and the user operates the print setting dialog to change the setting item, and as a result, setting of each setting item of the print setting dialog is performed. The value is stored in the print setting structure (see FIG. 7B).

図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 user interface driver 102 according to the present embodiment performs various print settings. The print setting dialog accepts a change instruction or input of the setting contents from the user. In the figure, reference numeral 301 denotes a print setting dialog, which includes display areas 302 to 331. Since there are a large number of items to be displayed in the print settings, it is common to use a tab sheet to divide the setting items according to the contents so that they are easy to see. Tabs are also used in this embodiment. Reference numeral 302 denotes a basic setting tab, which displays contents related to printing basics. Details will be described later. Reference numeral 303 denotes a page setting tab, which displays contents related to the print layout. Details will be described later. Reference numeral 304 denotes a stamp / background tab, which displays a pattern selection screen to be added at the time of printing without changing the print document, such as a stamp function for superimposing characters on a print document and a background function for overlaying an image. Reference numeral 305 denotes a special effect tab, which displays a selection screen of functions used when special effects such as various image corrections and sepia tones are given to an image. Reference numeral 306 denotes a favorite tab, which displays a screen for selecting a save and call function such as frequently used print settings. Reference numeral 307 denotes a utility tab that displays a selection screen for functions such as head adjustment and cleaning.

同図は基本設定タブ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 basic setting tab 302 is activated. Reference numeral 320 denotes a basic setting simple display area, which displays not only character information but also set information in a form appealing visually. Reference numeral 321 denotes a print advisor that displays a sub-dialog having a function for guiding optimum print settings step by step from the print purpose. Reference numeral 322 denotes a paper type selection unit that displays and can select a paper type. A drop-down menu displays a normally selected paper type. A list of paper types that can be selected by clicking is displayed. Is done. The selectable paper type is paper that can be printed by the printer. A printer 323 can display and select a paper feed method for feeding paper by the printer main body. For example, a paper feed tray or a paper cassette as an automatic paper feed port can be selected. Reference numeral 324 denotes an item for setting the print quality. Reference numeral 325 denotes an item for adjusting the printing color and density. Reference numeral 326 denotes a check box for making the print result gray scale even if the print document is in color. Reference numeral 327 denotes a check box for displaying a preview image of the print result before actual printing. 330 displays a sub-dialog indicating the version of the driver that displays this dialog. Reference numeral 331 has a function of returning the setting of the basic setting 302 to the standard (shipment setting). The user closes the print setting dialog 301 by pressing an OK button 308 after selecting each item, and can reflect the selected print setting in printing. That is, the information of the print setting dialog operated by the user when the OK button 308 is pressed is stored as the setting item of the print setting structure. When the cancel button 309 is pressed, the print setting dialog 301 is closed and the content of the selected setting item is discarded and is not reflected in printing. The apply button 310 can reflect the selected print setting on printing while the print setting dialog 301 remains open. A help button 311 can display an explanatory text regarding each setting item of the basic setting 302 in a separate window.

図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 page setting tab 303 is activated in the print setting dialog. Reference numeral 340 denotes a simple display area for page setting, which displays not only the character information but also the set information in a form appealing visually. Reference numeral 341 denotes an item for setting a paper size used when the application creates a document. By changing this setting item, the paper size used by the application can be changed. An item 342 is used to set the paper printing direction of the application. When the printing orientation is portrait, the height and width of the paper size match the paper size returned to the application. If the printing orientation is portrait, the size of the paper size rotated vertically and horizontally is returned to the application. Reference numeral 343 sets the output paper size set in the printer. By setting the output paper size, it is possible to print on a printing paper having a size different from the paper size of the application. Reference numeral 344 denotes a print type setting, which is set to poster printing in the drawing. Here, in addition to poster printing, layout printing (N-up printing), enlargement / reduction printing, and the like can be selected. Reference numeral 345 denotes a button for displaying a dialog for performing detailed settings regarding the type of printing. A detailed setting dialog for poster printing will be described later. Reference numeral 346 denotes a check box for performing borderless full-page printing. Reference numeral 347 denotes a slide bar for setting the amount of protrusion when performing borderless full surface printing. Reference numeral 348 is a check box for double-sided printing, and a long side binding and a short side binding can be selected by a radio button 349. Reference numeral 350 denotes a field for setting the number of print copies. Reference numeral 351 denotes a check box for reverse order printing, and reference numeral 352 denotes a check box for performing copy printing. A function 353 has a function of returning the setting of the page setting 303 to the standard (setting at the time of shipment). In this figure, poster printing is set as the type of printing, and the number of divisions is 4, so that one page of the document is enlarged in the simple display area 340 and is divided into four printing sheets and printed. Is displayed.

図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 user interface driver 102 according to this embodiment. Reference numeral 360 denotes a detailed setting dialog for poster printing, which includes display areas 361 to 368. Reference numeral 365 denotes a drop-down list for designating the number of divisions in poster printing. In addition to 4 divisions (2 × 2), there are 2 divisions, 9 divisions, 16 divisions, and the like. Reference numeral 366 denotes a check box for printing a pattern for indicating which area is to be separated and which area is to be pasted when sheets of printing results are pasted after printing. In the present embodiment, this pattern will be described as a character string for cutting and paste. Reference numeral 367 denotes a check box for designating whether or not to print a line for indicating a region to be cut out and a region to be pasted when pasting sheets of print results after printing. Reference numeral 368 denotes a radio button and an input field for designating which portion of the divided page is to be printed. For example, in the case of four divisions, all the divided pages can be printed by specifying “1-4”. For example, by specifying “1, 4”, the upper left and lower right pages can be printed out of the divided pages. The user can select each item and then press the OK button 361 to close the detailed setting dialog 360 and reflect the selected print setting on printing. That is, the information of the detailed setting dialog operated by the user when the OK button 360 is pressed is stored as the setting item of the print setting structure. When the cancel button 362 is pressed, the detailed setting dialog 360 is closed, and the content of the selected setting item is discarded and is not reflected in printing. 363 has a function of returning the setting of the detailed setting 360 to the standard (setting at the time of shipment). The help button 364 can display an explanatory text regarding each setting item of the detailed setting 360 in a separate window.

図6は本実施形態におけるアプリケーション101とGDI103とユーザインタフェースドライバ102のタイミングチャートを示している。本図を用いてポスター印刷時にユーザインタフェースドライバ102がアプリケーション101の文書ページに対応する印刷データに切取・糊代文字列の印刷データを追加する処理の流れを説明する。   FIG. 6 shows a timing chart of the application 101, the GDI 103, and the user interface driver 102 in the present embodiment. A flow of processing in which the user interface driver 102 adds print data of a cut and paste character string to print data corresponding to a document page of the application 101 during poster printing will be described with reference to FIG.

まず、1001でアプリケーション101が文書の印刷の開始をGDI103に通知すると、GDI103は文書の印刷開始処理を行なう前に、1002でユーザインタフェースドライバ102に文書の印刷処理開始直前イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1003で制御をGDI103に返す。GDI103は文書の印刷開始処理を行なった後、1004でユーザインタフェースドライバ102に文書の印刷開始処理直後イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1005で制御をGDI103に返し、続いてGDI103は1006でアプリケーション101に制御を返す。   First, when the application 101 notifies the GDI 103 of the start of document printing in 1001, the GDI 103 notifies the user interface driver 102 of an event immediately before the start of document printing processing in 1002 before performing document printing start processing. At this time, since there is no processing to be performed by the user interface driver 102, control is returned to the GDI 103 at 1003. After performing the document printing start process, the GDI 103 notifies the user interface driver 102 of an event immediately after the document printing start process in 1004. At this time, since there is no processing to be performed by the user interface driver 102, the control is returned to the GDI 103 in 1005, and then the GDI 103 returns control to the application 101 in 1006.

次に、アプリケーション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 application 101 notifies the GDI 103 of the start of page printing in 1007, and the GDI 103 prints the page to the user interface driver 102 in 1008 before performing the page printing start processing. Notify the event just before the start of processing. At this time, since there is no processing to be performed by the user interface driver 102, control is returned to the GDI 103 in 1009. After performing the page printing start process, the GDI 103 notifies the user interface driver 102 of an event immediately after the page printing start process at 1010. At this time, since there is no processing to be performed by the user interface driver 102, the control is returned to the GDI 103 in 1011, and then the GDI 103 returns the control to the application 101 in 1012.

以上の処理でページの印刷準備が出来たので、アプリケーション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 application 101 performs page drawing processing of the document, and after drawing all the pages in the page, notifies the GDI 103 of the end of page printing in 1013. The GDI 103 notifies the user interface driver 102 of an event immediately before the end of the page printing process at 1014 before performing the page printing end process. At this time, since the GDI 103 has not yet finished the page printing process, it is possible to add print data by newly drawing. Therefore, the user interface driver 102 performs drawing so that the poster print cut / glue character string is arranged outside the printable area, adds print data, and returns the control to the GDI 103 at 1015. After performing the page printing end process, the GDI 103 notifies the user interface driver 102 of an event immediately after the page printing end process in 1016. At this time, since there is no processing to be performed by the user interface driver 102, the control is returned to the GDI 103 in 1017, and then the GDI 103 returns the control to the application 101 in 1018. When there are a plurality of pages in the document of the application 101, the above steps 1007 to 1018 are repeated for the number of pages to be printed.

最後に、1019でアプリケーション101が文書の印刷の終了をGDI103に通知すると、GDI103は文書の印刷終了処理を行なう前に1020でユーザインタフェースドライバ102に文書の印刷処理終了直前イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1021で制御をGDI103に返す。GDI103は文書の印刷終了処理を行なった後、1022でユーザインタフェースドライバ102に文書の印刷開始処理直後イベントを通知する。このときユーザタインタフェースドライバ102でやるべき処理は無いため、1023で制御をGDI103に返し、続いてGDI103は1024でアプリケーション103に制御を返す。   Finally, when the application 101 notifies the GDI 103 of the end of document printing in 1019, the GDI 103 notifies the user interface driver 102 of an event immediately before the end of document printing processing in 1020 before performing the document printing end processing. At this time, since there is no processing to be performed by the user interface driver 102, the control is returned to the GDI 103 in 1021. After performing the document printing end process, the GDI 103 notifies the user interface driver 102 of an event immediately after the document printing start process at 1022. At this time, since there is no processing to be performed by the user interface driver 102, the control is returned to the GDI 103 in 1023, and then the GDI 103 returns the control to the application 103 in 1024.

以上のようにして切取・糊代文字列が付加される。   As described above, the cut / glue character string is added.

続いて、図8〜図11を用いて、プリントプロセッサ107による印刷データの合成処理について説明する。   Next, print data composition processing by the print processor 107 will be described with reference to FIGS.

図9の(A)は、本実施形態におけるユーザインタフェースドライバ102による切取・糊代文字列の配置を示している。このようにアプリケーション101が作成した文書ページの印刷データに切取・糊代文字列が付加された印刷データが1ページとしてスプールファイル105に格納される。   FIG. 9A shows the arrangement of the cut and paste character strings by the user interface driver 102 in the present embodiment. In this way, the print data in which the cut and paste character string is added to the print data of the document page created by the application 101 is stored in the spool file 105 as one page.

図8は、プリントプロセッサ107による印刷データの合成処理の概念図である。本図では説明を簡単にするために2分割のポスター印刷を例に説明する。まず801で示すように印刷データ中の印刷可能領域にあるアプリケーション101の文書ページに相当する部分を拡大して配置し、次に802で示すようにユーザインタフェースドライバ102が追加した印刷可能領域外にある切取・糊代文字列が所定位置に重なるように配置することにより、803で示される合成ページを作成しプリンタグラフィクスドライバ102に供給する。本図では2分割のポスターの例であるので文字列の合成処理は各印刷用紙につき一回行なえばよい。   FIG. 8 is a conceptual diagram of print data synthesis processing by the print processor 107. In this figure, for the sake of simplicity, a two-part poster printing will be described as an example. First, as shown by 801, the portion corresponding to the document page of the application 101 in the printable area in the print data is enlarged and then placed outside the printable area added by the user interface driver 102 as shown by 802. A composite page indicated by reference numeral 803 is created and arranged to be supplied to the printer graphics driver 102 by arranging a certain cut / glue character string so as to overlap a predetermined position. In this figure, since it is an example of a two-part poster, the character string composition process may be performed once for each print sheet.

図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 paper 1, the paper 3, the paper 7, and the paper 9, the character string composition process is performed twice, and the paper 2, the paper 4, It can be seen that the character string synthesizing process is performed three times on the paper 6 and the paper 8, and the character string synthesizing process is performed four times on the paper 5.

図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 user interface driver 102. Thus, the print data in which the cut and paste character string is added to the print data of the document page created by the application 101 is stored in the spool file 105 as one spool page. In this example, the document of the application 101 is composed of two pages and the paper sizes are different from each other. And (B) has shown the output result of the 2-part poster printing. It is understood that the character string composition processing is performed once for each of the sheets 1 to 4, and the user can combine the sheet 1 and the sheet 2 and the sheet 3 and the sheet 4 by following the cut / glue character string.

このように、ポスター印刷における分割数およびページ位置に応じた態様で切取・糊代文字列が付加される。   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 user interface driver 102 according to this embodiment. This flowchart assumes a case where a print event is notified from the GDI 103.

まず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 application 101 or a print event due to a print operation of the print processor 107. Since the poster printing cut and paste character string addition process need only be performed by the print event of the application 101, the print event is terminated by the print processor 107, and if it is the print event of the application 101, the process proceeds to S402.

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 application 101 by drawing a cut / paste margin character string outside the printable area of the application 101.

このように、アプリケーション101による印刷において文書の各ページの印刷データの作成が終了した時点で、ユーザインタフェースドライバ102が、印刷設定構造に格納されているポスター印刷の文字列の設定に応じ、切取・糊代文字列の印刷データを付加することができる。   As described above, when the creation of the print data for each page of the document in the printing by the application 101 is completed, the user interface driver 102 performs the cut / It is possible to add print data for the margin character string.

図5は、本実施形態におけるプリントプロセッサ107によるポスター印刷の切取・糊代文字列の合成処理のフローチャートを示している。プリントプロセッサ107は印刷ジョブのページの印刷データが1ページ以上スプールされた時にデスプーラ106により起動される。   FIG. 5 shows a flow chart of the poster printing cut and paste character string composition processing by the print processor 107 in this embodiment. The print processor 107 is activated by the despooler 106 when print data of one or more pages of a print job is spooled.

まずS501で、ジョブの印刷処理開始をGDI103に通知する。続くS502〜S508が印刷用紙のループであり、印刷ジョブの処理が終わるまで印刷用紙を出力する。   First, in step S501, the GDI 103 is notified of the start of job print processing. The subsequent steps S502 to S508 are a print paper loop, and the print paper is output until the processing of the print job is completed.

S503では、ページの印刷処理を行なうために、GDI103にページの印刷開始を通知する。次に、S504で、印刷用紙の番号からアプリケーション101の文書のページ番号と分割の位置を計算し、デスプーラ106を介してスプールファイルから該当するページ番号の印刷データを取得し、該当する分割の位置が印刷用紙に印刷されるように配置して描画する。   In step S503, the GDI 103 is notified of the start of page printing in order to perform page printing processing. In step S <b> 504, the page number and division position of the document of the application 101 are calculated from the print sheet number, the print data of the corresponding page number is obtained from the spool file via the despooler 106, and the corresponding division position is obtained. Is drawn so as to be printed on the printing paper.

続いて、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 GDI 103 is notified of the end of page printing, and the result of character string composition processing is supplied to the printer graphics driver 108.

上記のページの処理を最終印刷用紙まで繰り返した後、S509でGDI103に印刷ジョブの印刷処理終了を通知して終了する。   After the above-described page processing is repeated up to the final print sheet, in S509, the GDI 103 is notified of the end of the print job print processing, and the processing ends.

以上説明した本発明の実施形態による効果は次のとおりである。   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.

実施形態における印刷システムの構成を示す図である。It is a figure which shows the structure of the printing system in embodiment. 実施形態における印刷システムのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the printing system in embodiment. 実施形態におけるユーザインタフェースドライバの画面例で、基本設定の場面を示す図である。It is a figure which shows the scene of a basic setting in the example of a screen of the user interface driver in embodiment. 実施形態におけるユーザインタフェースドライバの画面例で、ページ設定の場面を示す図である。It is a figure which shows the scene of a page setting in the example of a screen of the user interface driver in embodiment. 実施形態におけるポスター印刷の詳細設定ダイアログの一例を示す図である。It is a figure which shows an example of the detailed setting dialog of the poster printing in embodiment. 実施形態におけるユーザインタフェースドライバによる切取・糊代文字列描画処理のフローチャートである。It is a flowchart of the cutting and paste margin character string drawing processing by the user interface driver in the embodiment. 実施形態におけるプリントプロセッサによる切取・糊代文字列合成処理のフローチャートである。It is a flowchart of the cutting and paste margin character string synthesis processing by the print processor in the embodiment. 実施形態におけるポスター印刷処理に係るタイミングチャートである。It is a timing chart concerning poster printing processing in an embodiment. 実施形態における印刷設定構造の例を示す図である。6 is a diagram illustrating an example of a print setting structure in the embodiment. FIG. 実施形態におけるプリントプロセッサによる切取・糊代文字列の合成処理の概念図である。It is a conceptual diagram of the synthesis process of the cut and paste margin character string by the print processor in the embodiment. スプールページおよび、4分割、9分割のポスター印刷における印刷結果の例を示す図である。It is a figure which shows the example of the printing result in a spool page and poster printing of 4 divisions and 9 divisions. 4分割以上のポスター印刷において、各印刷用紙につき切取・糊代文字列の合成処理を複数回行なう例を示す図である。FIG. 10 is a diagram illustrating an example in which a cutting / glue character string synthesizing process is performed a plurality of times for each printing paper in poster printing of four or more divisions. 2分割のポスター印刷におけるスプールページおよび印刷結果の例を示す図である。It is a figure which shows the example of the spool page and printing result in 2 division | segmentation poster printing.

Claims (11)

印刷後の各用紙の所定位置同士を貼り合わせると所望の画像が得られるように、アプリケーションによって作成された文書の1ページを複数の領域に分割し、各領域を拡大して別々の用紙に印刷するようプリンタを制御する印刷制御方法であって、
前記アプリケーションに代わって、前記アプリケーションが描画した各ページの余白位置に、糊代・切り取りを示す模様を追加的に描画し、この模様が付加された印刷データをスプールファイルとして保存するステップと、
デスプール時において、取得した前記印刷データのうち前記アプリケーションが描画した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に記載の印刷制御方法。   The print control method according to claim 1, further comprising a step of designating a division number of the plurality of areas based on an operation input from a user. 前記糊代・切り取りを示す模様を描画するか否かを、ユーザからの操作入力に基づき指定するステップを更に有することを特徴とする請求項2に記載の印刷制御方法。   The print control method according to claim 2, further comprising a step of designating whether or not to draw a pattern indicating the glue margin / cutting based on an operation input from a user. アプリケーションによって作成された文書の1ページを複数の領域に分割し、各領域を拡大して別々の用紙に印刷するようプリンタを制御する印刷制御方法であって、
ユーザからの指示に基づいて印刷属性の設定を行うステップと、
設定された前記印刷属性の内容に基づいて、前記アプリケーションが発行した第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ページを前記複数の領域に分割するときの分割数を含むことを特徴とする請求項4に記載の印刷制御方法。   The print control method according to claim 4, wherein the print attribute includes a division number when dividing one page of a document created by an application into the plurality of areas. 印刷後の各用紙の所定位置同士を貼り合わせると所望の画像が得られるように、アプリケーションによって作成された文書の1ページを複数の領域に分割し、各領域を拡大して別々の用紙に印刷するようプリンタを制御する印刷制御装置であって、
前記アプリケーションに代わって、前記アプリケーションが描画した各ページの余白位置に、糊代・切り取りを示す模様を追加的に描画し、この模様が付加された印刷データをスプールファイルとして記憶する記憶手段と、
デスプール時において、前記記憶手段より取得した前記印刷データのうち前記アプリケーションが描画した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ページを複数の領域に分割し、各領域を拡大して別々の用紙に印刷するようプリンタを制御する印刷制御装置であって、
ユーザからの指示に基づいて印刷属性の設定を行う設定手段と、
設定された前記印刷属性の内容に基づいて、前記アプリケーションが発行した第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ページを複数の領域に分割し、各領域を拡大して別々の用紙に印刷させる機能を有する印刷制御装置であって、
ユーザからの指示に基づいて印刷属性の設定を行うとともに、その印刷属性の内容に応じて、前記アプリケーションが発行した第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ページを複数の領域に分割し、各領域を拡大して別々の用紙に印刷するようプリンタを制御するためのプリンタドライバプログラムであって、
前記アプリケーションに代わって、前記アプリケーションが描画した各ページの余白位置に、糊代・切り取りを示す模様を追加的に描画し、この模様が付加された印刷データをスプールファイルとして保存するためのコードと、
デスプール時において、取得した前記印刷データのうち前記アプリケーションが描画した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ページを複数の領域に分割し、各領域を拡大して別々の用紙に印刷するようプリンタを制御するためのプリンタドライバプログラムであって、
ユーザからの指示に基づいて印刷属性の設定を行うためのコードと、
設定された前記印刷属性の内容に基づいて、前記アプリケーションが発行した第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:
請求項9または10に記載のプリンタドライバプログラムを格納したコンピュータ読み取り可能な記憶媒体。   A computer-readable storage medium storing the printer driver program according to claim 9.
JP2004020383A 2004-01-28 2004-01-28 Print control method and device, printer driver program, and storage medium Withdrawn JP2005215895A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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