JP4011044B2 - PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM - Google Patents

PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM Download PDF

Info

Publication number
JP4011044B2
JP4011044B2 JP2004188166A JP2004188166A JP4011044B2 JP 4011044 B2 JP4011044 B2 JP 4011044B2 JP 2004188166 A JP2004188166 A JP 2004188166A JP 2004188166 A JP2004188166 A JP 2004188166A JP 4011044 B2 JP4011044 B2 JP 4011044B2
Authority
JP
Japan
Prior art keywords
print
request
copies
printing
printer driver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004188166A
Other languages
Japanese (ja)
Other versions
JP2006011830A (en
Inventor
龍男 吉田
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 Marketing Japan Inc
Original Assignee
Canon Marketing Japan 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 Marketing Japan Inc filed Critical Canon Marketing Japan Inc
Priority to JP2004188166A priority Critical patent/JP4011044B2/en
Publication of JP2006011830A publication Critical patent/JP2006011830A/en
Application granted granted Critical
Publication of JP4011044B2 publication Critical patent/JP4011044B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、指定部数の丁合い印刷を行うために印刷開始要求から印刷終了要求をする間に1部分の印刷要求データを前記指定部数分生成するアプリケーションプログラムからの印刷要求データに基づいて複数部数の丁合い印刷処理を実行可能な印刷装置に送信するための印刷ジョブデータを生成可能な印刷制御装置および印刷制御方法およびプログラムおよび記録媒体に関する。 The present invention provides a plurality of copies based on print request data from an application program that generates one portion of print request data for the specified number of copies while making a print end request from a print start request to perform collated printing of the specified number of copies. The present invention relates to a print control apparatus, a print control method, a program, and a recording medium that can generate print job data to be transmitted to a printing apparatus capable of executing the collation printing process.

近年、プリンタはハードディスクドライブ(HDD)など、容量の大きい外部メモリを搭載し、膨大なデータ量をプリンタ内部で処理したり、印刷文書を部毎に仕分けたり、ステープルするなどの様々の排紙機能を持つプリンタが多くなっている。   In recent years, printers are equipped with large-capacity external memory such as hard disk drives (HDD), and various paper discharge functions such as processing huge amounts of data inside the printer, sorting printed documents by copy, and stapling There are many printers with.

複数部数の印刷文書の仕分けには、ページ単位で複数部数出力するケースと、文書単位で複数部数出力するケース(丁合い印刷)とがある。例えば、3ページの文書をページ単位で3部印刷する場合には、1−1−1−2−2−2−3−3−3と印刷結果が出力され、3ページの文書を文書単位で(丁合い印刷で)3部印刷する場合には、1−2−3−1−2−3−1−2−3と印刷結果が出力される(数字はページ数を表す)。   Assorting a plurality of copies of a printed document, there are a case of outputting a plurality of copies in page units and a case of outputting a plurality of copies in document units (collate printing). For example, when three copies of a three-page document are printed in units of pages, the printing result is output as 1-1-1-2-2-2-3-3-3, and the three-page document is output in units of documents. When three copies are printed (by collation printing), 1-2-3-1-2-3-1-2-3 and the print result are output (numbers represent the number of pages).

丁合い印刷は、ページ単位の部数印刷に比べ、印刷後にページを手作業により仕分けする必要がないため利便性が高い。   Collate printing is more convenient than page number of copies printing because it is not necessary to manually sort pages after printing.

この丁合い印刷をプリンタ側で実現する場合、プリンタドライバは、プリンタに、上記例の場合、1−2−3のページ描画データ,3部という情報,丁合い印刷を指示する情報を含む印刷ジョブデータを送るだけで良い。なお、プリンタ側では、一旦、全ページ分のデータを1部分保存し、指定部数分繰り返し出力処理する必要があるため、全ページ分のデータを1部分保存するだけの領域がプリンタに必要となるが、容量の大きい外部メモリをプリンタが搭載することで該機能が実現可能となっている。もしくは、プリンタが排紙機能として、複数トレイ(ビン)を保有し、1ページ毎にトレイ(ビン)を機械的に切り替えながら部数分巡回することで、上記丁合い印刷が実現可能となっている。   When this collation printing is realized on the printer side, the printer driver sends a print job including page drawing data of 1-2-3, information of 3 copies, and information for instructing collation printing to the printer in the above example. Just send the data. On the printer side, it is necessary to temporarily store a part of the data for all pages and repeatedly output the data for the designated number of copies. Therefore, the printer needs an area for storing a part of the data for all pages. However, this function can be realized by installing a large capacity external memory in the printer. Alternatively, the printer has a plurality of trays (bins) as a paper discharge function, and the above-described collation printing can be realized by circulating the number of copies while mechanically switching the trays (bins) for each page. .

プリンタ側で丁合い印刷可能な場合には、通常、図21に示すプリンタドライバの詳細設定用のユーザインタフェース(UI)のように該丁合い印刷機能を有効にするためのコントロール401が用意されている。   When collation printing is possible on the printer side, a control 401 for enabling the collation printing function is usually prepared like a user interface (UI) for detailed setting of the printer driver shown in FIG. Yes.

図21は、プリンタドライバの詳細設定用のユーザインタフェース(UI)の一例を示す模式図である。   FIG. 21 is a schematic diagram illustrating an example of a user interface (UI) for detailed setting of the printer driver.

一方、図22に示すアプリケーションプログラムの印刷指示ユーザインタフェース(UI)のように、アプリケーションプログラムでも、丁合い印刷を指定するコントロール502が用意されているものがある。   On the other hand, as in the print instruction user interface (UI) of the application program shown in FIG. 22, some application programs also have a control 502 for specifying collate printing.

図22は、アプリケーションの印刷指示ユーザインタフェース(UI)の一例を示す模式図である。   FIG. 22 is a schematic diagram illustrating an example of an application print instruction user interface (UI).

なお、図22に示すアプリケーションが有する部数の設定のコントロール501については、アプリケーションが印刷データを作成する上で参照される。   Note that the copy setting control 501 of the application shown in FIG. 22 is referred to when the application creates print data.

なお、実際に印刷処理を実行した場合に、プリンタドライバへの部数指定がここで設定したものであるとは限らない。上述した、プリンタドライバとアプリケーションの丁合い印刷を指定するための各コントロール401,502は、それぞれ丁合い印刷を実現するためのものであるが、プリンタドライバ側での設定とアプリケーション側での設定とが連動せず、それぞれ独立に機能していることがある。   Note that when the printing process is actually executed, the designation of the number of copies to the printer driver is not necessarily set here. The above-described controls 401 and 502 for designating collation printing between the printer driver and the application are for realizing collation printing, respectively. The settings on the printer driver side and the settings on the application side May not be linked and function independently.

そのため、アプリケーションが独自に丁合い印刷の処理を行った場合には、プリンタドライバ側で用意されている丁合い印刷のための機能は有効とならず、アプリケーション側の仕様に依存した丁合い印刷が行われる。   For this reason, when an application performs its own collation printing process, the collation printing function prepared on the printer driver side is not effective, and collation printing that depends on the specifications on the application side is not possible. Done.

特許文献1には、アプリケーションの丁合い印刷仕様に関わらず、プリンタの丁合い印刷機能を有効にする手段の1つとして、プリントデータの変換と判別を行うプリントデータ変換システムが開示されている。   Patent Document 1 discloses a print data conversion system that performs conversion and discrimination of print data as one of means for enabling a collation printing function of a printer regardless of an application collation printing specification.

このシステムにおいては、特許文献1の段落番号<0004>等に記載されているように、例えば、3ページの文書を3部印刷する場合、印刷の際には1部に設定した上で、1−2−3−1−2−3−1−2−3の9ページ分のデータが1ジョブとして印刷されるようなプリンタ側で各部毎の分類ができない印刷要求データを生成するアプリケーション仕様に対しての発明である。   In this system, as described in paragraph number <0004> of Patent Document 1, for example, when three copies of a three-page document are printed, the number of prints is set to 1 after printing. For application specifications that generate print request data that cannot be classified for each copy on the printer side so that nine pages of data of 2-3-1-2-3-1-2-3 are printed as one job It is all inventions.

また、同様に特許文献1の段落番号<0024>乃至<0050>にもアプリケーションから要求される複数部数の丁合いデータに対しての1部分の判断方法とプリントデータの変換方法について詳細に記載されている。
特開平11−353143号公報
Similarly, paragraph numbers <0024> to <0050> of Patent Document 1 describe in detail a method for determining one part and a method for converting print data for a plurality of copies of collation data required by an application. ing.
Japanese Patent Laid-Open No. 11-353143

しかしながら、特許文献1に記載のプリントデータ変換システムにおいては、上述したように1ジョブで丁合い印刷を行ってくるアプリケーション仕様には対応は可能であるが、アプリケーションの丁合い印刷仕様は、上述したようなものだけではない。具体的には、アプリケーション仕様による丁合い印刷には、例えば、3ページの文書を3部印刷する場合、印刷の際には、1部に設定した上で、[1−2−3],[1−2−3],[1−2−3](数字はページ数を表し、[ ]は1つのジョブを表す)と部毎に同じ内容の印刷要求データを生成する(即ち、部毎にジョブ分割し、部数分の印刷要求データを生成する)ものがある。   However, in the print data conversion system described in Patent Document 1, as described above, it is possible to cope with the application specification that performs collation printing in one job, but the collation printing specification of the application is described above. It's not just like that. Specifically, for collation printing according to the application specification, for example, when printing three copies of a three-page document, after setting to one copy at the time of printing, [1-2-3], [ 1-2-3] and [1-2-3] (numbers represent the number of pages, [] represents one job) and print request data having the same content is generated for each copy (that is, for each copy) There are jobs that divide jobs and generate print request data for the number of copies.

特許文献1に記載のプリントデータ変換システムにおいては、このようなアプリケーションの印刷要求に対しては対応できないという問題点があった。   The print data conversion system described in Patent Document 1 has a problem that it cannot respond to a print request of such an application.

このように部毎にジョブが分かれてしまう場合、ホストコンピュータからプリンタへの送信データ量がプリンタの丁合い印刷機能を活用するのであれば本来、1ジョブ分で済むところが、指定部数分の倍数の印刷ジョブデータが発行されてしまい、ネットワークのトラフィックに影響を与えてしまう。   When jobs are divided for each copy in this way, if the amount of data sent from the host computer to the printer uses the collate printing function of the printer, one job is essentially sufficient, but a multiple of the specified number of copies. Print job data is issued, affecting network traffic.

また、ホストコンピュータからプリンタの処理中の印刷ジョブデータを確認可能な機能を有する場合、アプリケーション上からは一度の印刷操作であっても、指定部数分の印刷ジョブデータに分割されているため、1部の同じ印刷ジョブデータが指定部数分確認されてしまう。   Further, when the host computer has a function capable of confirming print job data being processed by the printer, even if it is a single print operation from the application, it is divided into print job data for the specified number of copies. The same number of copies of the print job data is confirmed.

さらに、ジョブが分割されて指定部数分の印刷ジョブデータが発行されてしまうため、プリンタにジョブの保存機能がある場合には、指定部数分の同じジョブが保存されてしまい、メモリ資源を圧迫してしまう。   Furthermore, because the job is divided and print job data for the specified number of copies is issued, if the printer has a job storage function, the same job for the specified number of copies will be stored, squeezing memory resources. End up.

また、プリンタにジョブの保存機能がある場合や、処理中のジョブに対し、プリンタ側で印刷属性を変更する機能を有していても、分割されたジョブ全てを纏めて変更することはできない。   Further, even if the printer has a job storage function or has a function of changing print attributes on the printer side for a job being processed, it is not possible to change all divided jobs at once.

さらに、ジョブが分割されて複数の印刷ジョブデータが、ホストコンピュータからプリンタに送信されるため、プリンタは印刷処理の起動処理、終了処理を指定部数分繰り返さなければならず、起動、終了処理にかかる時間がオーバヘッドとなってしまう。また、印刷ジョブデータの展開処理も部数分行わなければならず、プリンタの混雑の原因となってしまう可能性がある。   Further, since the job is divided and a plurality of print job data is transmitted from the host computer to the printer, the printer must repeat the start processing and end processing of the print processing for the specified number of copies, and the start and end processing is required. Time is overhead. Also, the expansion processing of the print job data must be performed for the number of copies, which may cause printer congestion.

また、ネットワーク環境における複数のクライアントコンピュータが1つのプリンタに印刷を行うような場合、印刷ジョブが分割されることにより、その分割の分かれ目で、他のクライアントコンピュータからの印刷ジョブに割り込まれる可能性があり、他の印刷ジョブと混在して出力されてしまう恐れがある。   In addition, when a plurality of client computers in a network environment print on a single printer, the print job is divided, and there is a possibility that a print job from another client computer is interrupted at the division point. Yes, there is a risk of being mixed with other print jobs.

さらに、プリンタ側で複数の排紙トレイを使用して仕分け印刷を行う場合、印刷ジョブが分割されることで、プリンタ側では別々のジョブとして扱われてしまうため仕分け機能が働かず、全てのジョブが1つの排紙トレイに出力されてしまう等の問題点があった。   Furthermore, when sorting printing is performed using multiple output trays on the printer side, the print job is divided, so that the printer side handles it as a separate job, so the sorting function does not work, and all jobs Is output to one paper discharge tray.

本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、複数部数の丁合い印刷が指定された場合に、部数分のジョブに分割して丁合い印刷を実現しようとするアプリケーションの仕様に関わらずプリンタの有する丁合い印刷機能により丁合い印刷を実行することを可能にし、複数部数の丁合い印刷を実現するために1部に設定された同じ内容の印刷ジョブが複数に分割されてプリンタに送信されてしまうことに起因する従来の各種問題点を解決する仕組を提供することである。 The present invention has been made to solve the above problems, an object of the present invention, when the collated printing multiple copies are specified, the collation printing by dividing the job number of copies Regardless of the specification of the application to be realized, collation printing can be executed by the collation printing function of the printer, and printing of the same contents set as one copy in order to realize collation printing of a plurality of copies The present invention provides a mechanism for solving various conventional problems caused by jobs being divided into a plurality of jobs and transmitted to a printer.

本発明は、指定部数の丁合い印刷を行うために印刷開始要求から印刷終了要求をする間に1部分の印刷要求データを前記指定部数分生成するアプリケーションプログラムからの印刷要求データに基づいて複数部数の丁合い印刷処理を実行可能な印刷装置に送信するための印刷ジョブデータを生成する生成手段を有する印刷制御装置であって、前記アプリケーションプログラムから受信する印刷設定の部数が1部であるかを判定する判定手段と、前記判定手段により1部であると判定された場合、前記アプリケーションからの印刷終了要求に続き印刷開始要求を受信する回数をカウントするカウント手段と、前記アプリケーションからの印刷開始要求を受信してから印刷終了要求を受信するまでの間に生成された印刷ジョブデータを、印刷終了要求の受信後も前記印刷装置に送信することなく一時的に保存する印刷ジョブデータ保存手段と、前記印刷終了要求の受信後、アプリケーションからの破棄要求に基づいた指示を受信した場合、前記保存された1部分の印刷ジョブデータに前記カウントされた値に応じた部数コマンドを含む印刷ジョブデータを前記複数部数の丁合い印刷処理を実行可能な印刷装置に送信する送信手段とを有することを特徴とする。 The present invention provides a plurality of copies based on print request data from an application program that generates one portion of print request data for the specified number of copies while making a print end request from a print start request to perform collated printing of the specified number of copies. A print control apparatus having generation means for generating print job data to be transmitted to a printing apparatus capable of executing the collation printing process, wherein the number of copies of the print setting received from the application program is 1 A determination means for determining, a counting means for counting the number of times a print start request is received following the print end request from the application, and a print start request from the application when the determination means determines that the number of copies is one. Print job data generated between the receipt of a print request and the receipt of a print termination request. A print job data storage unit that temporarily stores the request without receiving the request even after receiving the request; and after receiving the print end request, the command is stored when receiving an instruction based on a discard request from the application. Transmitting means for transmitting print job data including a copy command corresponding to the counted value to one part of print job data to a printing apparatus capable of executing the multiple copies of collation printing processing. To do.

本発明によれば、複数部数の丁合い印刷が指定された場合に、部数分のジョブに分割して丁合い印刷を実現しようとするアプリケーションの仕様に関わらずプリンタの有する丁合い印刷機能により丁合い印刷を実行することを可能とする。 According to the present invention, when the collated printing multiple copies is specified by collating the printing function possessed by the printer regardless of the application specification of which is divided into job number of copies to be realized collated printing It is possible to perform collation printing.

従って、複数部数の丁合い印刷を実現するために1部に設定された同じ内容の印刷ジョブが複数に分割されてプリンタに送信されてしまうことに起因する従来の各種問題点を解決することができ、プリンタの丁合い印刷機能や仕分け印刷機能を有効利用するスマートな丁合い印刷環境を構築することができる等の効果を奏する。   Accordingly, it is possible to solve various conventional problems caused by a print job having the same content set as one copy being divided into a plurality of pieces and transmitted to the printer in order to realize a multi-page collation printing. In addition, there is an effect that it is possible to construct a smart collation printing environment that effectively uses the collation printing function and the sorting printing function of the printer.

以下、図面を参照して、本発明の実施形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

本発明は、特に、印刷制御装置に関するものである。   The present invention particularly relates to a print control apparatus.

図1は、本発明の一実施形態を示す印刷制御装置を適用可能な印刷システムの構成例を説明するブロック図である。   FIG. 1 is a block diagram illustrating a configuration example of a printing system to which a printing control apparatus according to an embodiment of the present invention can be applied.

図1において、3000はホストコンピュータである。このホストコンピュータ3000において、1はCPUで、ROM3のプログラム用ROMあるいは外部メモリ11に記憶されたCPU1の制御プログラムであるオペレーティングシステムプログラム(以下OS),印刷関連モジュール(OS内に含まれるものもある)等をRAM2上で実行して、システムバス4に接続される各デバイスを総括的に制御する。   In FIG. 1, 3000 is a host computer. In this host computer 3000, reference numeral 1 denotes a CPU, an operating system program (hereinafter referred to as OS) which is a control program of the CPU 1 stored in the ROM for program in the ROM 3 or the external memory 11, and a print-related module (some are included in the OS). ) And the like are executed on the RAM 2 to collectively control each device connected to the system bus 4.

また、CPU1は、ROM3のプログラム用ROMあるいは外部メモリ11に記憶された文書処理プログラム等のアプリケーションプログラムに基づいて図形、イメージ、文字、表(表計算等を含む)等が混在した文書処理を実行する。   The CPU 1 executes document processing in which graphics, images, characters, tables (including spreadsheets), etc. are mixed based on application programs such as document processing programs stored in the ROM 3 program ROM or the external memory 11. To do.

また、CPU1は、ROM3のプログラム用ROMあるいは外部メモリ11に記憶された印刷関連モジュール(グラフィックエンジン,プリンタドライバ,プリントサブシステム)等をRAM2上で実行して、文書処理プログラムから出力された印刷要求に基づく印刷ジョブをプリンタ1500に出力することができる。   Further, the CPU 1 executes a print-related module (graphic engine, printer driver, print subsystem) or the like stored in the program ROM of the ROM 3 or the external memory 11 on the RAM 2 and print request output from the document processing program. Can be output to the printer 1500.

これらの処理の場合、制御の主体は、ハードウェア上はCPU1である。一方、ソフトウェア上の制御の主体は、アプリケーションプログラム及びプリンタへの印刷指示機能を備えた印刷関連モジュール(グラフィックエンジン,プリンタドライバ,プリントサブシステム)等である。よって、以下、実施形態の説明において、処理の主体として、アプリケーションプログラム,グラフィックエンジン,プリンタドライバ,プリントサブシステムを用いるが、ハードウェア的には、アプリケーションプログラム,グラフィックエンジン,プリンタドライバ,プリントサブシステムを実行するCPU1が実際の処理を実行していることとなる。   In these processes, the subject of control is the CPU 1 in hardware. On the other hand, the main control of software is an application program and a print-related module (graphic engine, printer driver, print subsystem) having a print instruction function for the printer. Therefore, in the following description of the embodiments, an application program, a graphic engine, a printer driver, and a print subsystem are used as the main processing, but the application program, graphic engine, printer driver, and print subsystem are used in terms of hardware. The CPU 1 to be executed is actually executing the process.

ROM3のフォント用ROMあるいは外部メモリ11には上記文書処理の際に使用するフォントデータ等を記憶し、ROM3のデータ用ROMあるいは外部メモリ11には上記文書処理等を行う際に使用する各種データ(例えば、ディレクトリ情報、プリンタドライバテーブル等)を記憶する。   The font ROM or the external memory 11 of the ROM 3 stores font data used for the document processing, and the ROM 3 data ROM or the external memory 11 stores various data (such as the document processing used for the document processing). For example, directory information, a printer driver table, etc.) are stored.

RAM2は、CPU1の主メモリ、ワークエリア等として機能する。5はキーボードコントローラ(KBC)で、キーボード(KB)9や不図示のポインティングデバイスからのキー入力を制御する。6はCRTコントローラ(CRTC)で、CRTディスプレイ(CRT)10の表示を制御する。7はディスクコントローラ(DKC)で、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、プリンタへの印刷指示を行うプログラム等を記憶するハードディスク(HD)、フロッピー(登録商標)ディスク(FD)等の外部メモリ11とのアクセスを制御する。   The RAM 2 functions as a main memory and work area for the CPU 1. A keyboard controller (KBC) 5 controls key input from a keyboard (KB) 9 or a pointing device (not shown). Reference numeral 6 denotes a CRT controller (CRTC) which controls display on a CRT display (CRT) 10. A disk controller (DKC) 7 is a hard disk (HD) for storing a boot program, various applications, font data, user files, editing files, a program for instructing printing to a printer, and a floppy (registered trademark) disk (FD). ) And the like are controlled.

8はプリンタコントローラ(PRTC)で、所定の双方向性インタフェース(インタフェース)21を介してプリンタ1500に接続されて、プリンタ1500との通信制御処理を実行する。なお、CPU1は、例えばRAM2上に設定された表示情報RAMへのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT10上でのWYSIWYGを可能としている。また、CPU1は、CRT10上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のウインドウを開き、種々のデータ処理を実行する。   A printer controller (PRTC) 8 is connected to the printer 1500 via a predetermined bidirectional interface (interface) 21 and executes communication control processing with the printer 1500. The CPU 1 executes, for example, an outline font rasterization process on the display information RAM set on the RAM 2 to enable WYSIWYG on the CRT 10. The CPU 1 opens various windows registered based on commands instructed by a mouse cursor (not shown) on the CRT 10 and executes various data processing.

プリンタ1500において、12はプリンタCPUで、ROM13のプログラム用ROMに記憶された制御プログラム等あるいは外部メモリ14に記憶された制御プログラム等に基づいてシステムバス15に接続される印刷部(プリンタエンジン)17に出力情報としての画像信号を出力する。また、このROM13のプログラム用ROMには、CPU12の制御プログラム等を記憶する。ROM13のフォント用ROMには上記出力情報を生成する際に使用するフォントデータ等を記憶し、ROM13のデータ用ROMにはハードディスク等の外部メモリ14がないプリンタの場合には、ホストコンピュータ上で利用される情報等を記憶している。   In the printer 1500, reference numeral 12 denotes a printer CPU, which is a printing unit (printer engine) 17 connected to the system bus 15 based on a control program stored in the program ROM of the ROM 13 or a control program stored in the external memory 14. An image signal is output as output information. Further, a control program of the CPU 12 is stored in the program ROM of the ROM 13. The font ROM of the ROM 13 stores font data used when generating the output information, and the ROM 13 data ROM is used on the host computer in the case of a printer without the external memory 14 such as a hard disk. Information to be stored is stored.

CPU12は入力部18を介してホストコンピュータとの通信処理が可能となっており、プリンタ内の情報等をホストコンピュータ3000に通知可能に構成されている。19は前記CPU12の主メモリ、ワークエリア等として機能するRAM(プリンタ内蔵RAM)で、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。なお、RAM19は、出力情報展開領域、環境データ格納領域、NVRAM等に用いられる。   The CPU 12 can communicate with the host computer via the input unit 18 and is configured to notify the host computer 3000 of information in the printer. Reference numeral 19 denotes a RAM (printer built-in RAM) that functions as a main memory, work area, and the like of the CPU 12, and is configured such that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 19 is used as an output information expansion area, environment data storage area, NVRAM, and the like.

前述したハードディスク(HD)、ICカード等の外部メモリ14は、ディスクコントローラ(DKC)20によりアクセスを制御される。外部メモリ14は、オプションとして接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。また、1501は操作パネルで、操作のためのスイッチおよびLED表示器等が配されている。   Access to the external memory 14 such as the hard disk (HD) and the IC card is controlled by a disk controller (DKC) 20. The external memory 14 is connected as an option and stores font data, an emulation program, form data, and the like. Reference numeral 1501 denotes an operation panel on which operation switches, an LED display, and the like are arranged.

また、前述した外部メモリ14は1個に限らず、少なくとも1個以上備え、内蔵フォントに加えてオプションフォントカード、言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続できるように構成されていてもよい。さらに、図示しないNVRAMを有し、操作パネル1501からのプリンタモード設定情報を記憶するようにしてもよい。   The external memory 14 described above is not limited to one, and at least one external memory 14 is provided. In addition to the built-in font, an optional font card and a plurality of external memories storing programs for interpreting printer control languages with different language systems can be connected. It may be configured. Furthermore, an NVRAM (not shown) may be provided to store printer mode setting information from the operation panel 1501.

なお、本実施形態のプリンタ1500は、印刷部数と丁合い印刷を指定した印刷ジョブデータを受信した場合に、プリンタ1500側で、前記印刷ジョブデータに設定された印刷部数の丁合い印刷処理もしくは複数の排紙トレイを使って文書単位の仕分け印刷処理を実行可能なプリンタである。   When the printer 1500 of this embodiment receives print job data designating the number of copies and collation printing, the printer 1500 side performs collation printing processing for the number of print copies set in the print job data or a plurality of print job data. This is a printer that can execute sort printing processing in units of documents using the paper discharge tray.

図2は、図1に示したホストコンピュータ3000からプリンタ1500に印刷ジョブデータを送信する際の流れを示した主要な機能ブロック図である。   FIG. 2 is a main functional block diagram showing a flow when transmitting print job data from the host computer 3000 shown in FIG. 1 to the printer 1500.

ホストコンピュータ3000におけるアプリケーションプログラム(以下、アプリケーション)201、グラフィックエンジン202、プリンタドライバ203及びプリントサブシステム204は、それぞれ図1に示した外部メモリ11に保存されたファイルとして存在し、実行される際に、OSやそのモジュールを利用するモジュールによってRAM2にロードされ実行されるプログラムモジュールである。   An application program (hereinafter referred to as an application) 201, a graphic engine 202, a printer driver 203, and a print subsystem 204 in the host computer 3000 exist as files stored in the external memory 11 shown in FIG. , A program module that is loaded into the RAM 2 and executed by the OS or a module that uses the module.

なお、アプリケーション201及びプリンタドライバ203は、外部メモリ11のFDや不図示のCD−ROMあるいは後述するネットワークを経由して外部メモリ11のハードディスク(HD)に追加可能になっている。   Note that the application 201 and the printer driver 203 can be added to the hard disk (HD) of the external memory 11 via the FD of the external memory 11, a CD-ROM (not shown), or a network described later.

外部メモリ11に保存されているアプリケーション201は、CPU1によってRAM2にロードされて実行される。このアプリケーション201からプリンタ1500に対して印刷を行わせる際には、同様にCPU1によってRAM2にロードされて実行されるグラフィックエンジン202を利用して出力(描画)を行う。   The application 201 stored in the external memory 11 is loaded into the RAM 2 and executed by the CPU 1. When printing is performed from the application 201 to the printer 1500, output (rendering) is similarly performed using the graphic engine 202 that is loaded into the RAM 2 by the CPU 1 and executed.

グラフィックエンジン202は、印刷装置毎に用意されたプリンタドライバ203を起動する(これにより、プリンタドライバ203は、CPU1によって外部メモリ11からRAM2にロードさせて実行される)。グラフィックエンジン202は、このプリンタドライバ203を用いて、アプリケーション201の出力をプリンタ記述言語(PDL)によるプリンタ制御命令に変換する。   The graphic engine 202 activates a printer driver 203 prepared for each printing apparatus (the printer driver 203 is loaded from the external memory 11 to the RAM 2 and executed by the CPU 1). The graphic engine 202 uses the printer driver 203 to convert the output of the application 201 into a printer control command in a printer description language (PDL).

プリンタドライバ203により変換されたプリンタ制御コマンドは、プリントサブシステム204を経てインタフェース21経由でプリンタ1500に出力される仕組みとなっている。   The printer control command converted by the printer driver 203 is output to the printer 1500 via the interface 21 via the print subsystem 204.

なお、このプリントサブシステム204は、OSによって起動されて、CPU1によって外部メモリ11からRAM2にロードされて実行されるものであり、印刷ジョブのスケジューリング、プリンタとのホストコンピュータと接続制御やプリンタのステータスの管理を行っている。   The print subsystem 204 is activated by the OS, loaded from the external memory 11 to the RAM 2 and executed by the CPU 1, and executes print job scheduling, printer host computer connection control, and printer status. Management.

なお、プリンタドライバ203は、前述した、アプリケーションから指示された印字や描画命令の出力に対しプリンタ制御コマンドを生成しプリント出力に反映されるようプリンタに指示するだけでなく、プリンタドライバ203やプリンタ1500本体が持つ機能を制御するための設定を行う機能(ユーザインタフェース(〔背景技術〕の欄で示した図21のUI))と、その設定を記憶する機能、プリンタドライバ203やプリンタ1500本体が持つ能力をアプリケーションやOSに情報提供する機能、上記ユーザインタフェースで設定された機能がプリンタの有する機能の場合にプリンタ制御命令を生成する機能、また、ユーザインタフェースで設定された機能がプリンタドライバ独自で行う機能の場合にその機能を実現する機能等を有する。   Note that the printer driver 203 not only instructs the printer to generate a printer control command for the output of the printing or drawing command instructed by the application described above and reflect it in the print output, but also the printer driver 203 or the printer 1500. A function for performing settings for controlling the functions of the main body (user interface (UI in FIG. 21 shown in the [Background Technology] column)), a function for storing the settings, and the printer driver 203 and the printer 1500 main body have A function that provides information to the application and OS, a function that generates a printer control command when the function set in the user interface is a function that the printer has, and a function that is set in the user interface is performed by the printer driver. In the case of a function, a function that realizes the function A.

なお、図1では、ホストコンピュータ3000とプリンタ1500がインタフェース21を介して直接接続される構成について説明したが、図3に示すようにネットワークを介して接続されるように構成してもよい。   In FIG. 1, the configuration in which the host computer 3000 and the printer 1500 are directly connected via the interface 21 has been described. However, the host computer 3000 and the printer 1500 may be configured to be connected via a network as illustrated in FIG. 3.

図3は、図1に示したホストコンピュータ3000,プリンタ1500を適用可能な印刷システムの一例を示すシステム構成図である。   FIG. 3 is a system configuration diagram showing an example of a printing system to which the host computer 3000 and the printer 1500 shown in FIG. 1 can be applied.

図3において、301はネットワークであり、複数のクライアントコンピュータとしてのホストコンピュータ3000,プリンタ1500,プリントサーバコンピュータ4000が接続されている。   In FIG. 3, reference numeral 301 denotes a network to which a host computer 3000, a printer 1500, and a print server computer 4000 as a plurality of client computers are connected.

この場合、ホストコンピュータ3000のPRTC8はネットワークインタフェースカード(NIC)の機能を有するものとする。   In this case, it is assumed that the PRTC 8 of the host computer 3000 has a function of a network interface card (NIC).

プリンタ1500は、セントロニクスやUSB等のローカルインタフェース302を介してプリントサーバコンピュータ4000と接続されて該プリントサーバコンピュータ4000を介してネットワーク3000に接続される形態であっても、ネットワーク3000に直接接続される形態であってもよい。なお、ネットワーク301に直接接続されているプリンタ1500の入力部18は、ネットワークインタフェースカード(NIC)の機能を有するものとする。   The printer 1500 is directly connected to the network 3000 even when connected to the print server computer 4000 via the local interface 302 such as Centronics or USB and connected to the network 3000 via the print server computer 4000. Form may be sufficient. Note that the input unit 18 of the printer 1500 directly connected to the network 301 has a function of a network interface card (NIC).

上記プリントサーバコンピュータ4000を介してネットワーク301に接続されるプリンタ1500に各クライアントとしてのホストコンピュータ3000から印刷ジョブを送信する場合、まず各ホストコンピュータ3000は、プリントサブシステム204を介して、プリントサーバコンピュータ4000へ印刷ジョブを送信する。そして、プリントサーバコンピュータ4000は、各ホストコンピュータ3000から送信されてきた印刷ジョブを、不図示のプリントサーバコンピュータ4000上のプリントサブシステムを介して、プリンタ1500へ送信する。これにより、各ホストコンピュータ3000は、プリントサーバコンピュータ4000を介して印刷ジョブをプリンタ1500へ送信することができる。   When a print job is transmitted from the host computer 3000 as each client to the printer 1500 connected to the network 301 via the print server computer 4000, each host computer 3000 first receives the print server computer via the print subsystem 204. The print job is transmitted to 4000. Then, the print server computer 4000 transmits the print job transmitted from each host computer 3000 to the printer 1500 via a print subsystem on the print server computer 4000 (not shown). Accordingly, each host computer 3000 can transmit a print job to the printer 1500 via the print server computer 4000.

また、ネットワーク301に直接接続されるプリンタ1500に各ホストコンピュータ3000から印刷ジョブを送信する場合、各ホストコンピュータ3000は、プリントサブシステム204を介して、ネットワーク301に直接接続されるプリンタ1500へ印刷ジョブを送信する。   When a print job is transmitted from each host computer 3000 to the printer 1500 directly connected to the network 301, each host computer 3000 sends a print job to the printer 1500 directly connected to the network 301 via the print subsystem 204. Send.

なお、本実施形態のプリンタドライバ203は、アプリケーションプログラムにより生成される印刷要求データに基づいて複数部数の丁合い印刷処理もしくは複数の排紙トレイを使って文書単位の仕分け印刷処理を実行可能なプリンタ1500に送信するための印刷ジョブデータを生成可能なプリンタドライバである。   The printer driver 203 according to the present exemplary embodiment is a printer that can execute a collation printing process of a plurality of copies or a document-by-document sort printing process using a plurality of paper discharge trays based on print request data generated by an application program. A printer driver capable of generating print job data to be transmitted to 1500.

次に、図4のタイミングチャートを用いて、本発明の印刷制御装置における基本的な処理の流れについて説明する。   Next, the basic processing flow in the print control apparatus of the present invention will be described with reference to the timing chart of FIG.

図4は、本発明の印刷制御装置における印刷を行う場合の基本的な処理の流れを示すステータス図であり、特に、図2に示したアプリケーション201,グラフィックエンジン202,プリンタドライバ203の処理に対応する。なお、図2と同一のものには同一の符号を付してある。   FIG. 4 is a status diagram showing the flow of basic processing when printing is performed in the print control apparatus of the present invention, and particularly corresponds to the processing of the application 201, graphic engine 202, and printer driver 203 shown in FIG. To do. In addition, the same code | symbol is attached | subjected to the same thing as FIG.

図2に示したように、アプリケーション201は、プリンタドライバ203と直接やり取りを行うのではなく、OSの持つグラフィックエンジン202を介して行うため、アプリケーション201自体は、実際にはグラフィックエンジン202とやり取りを行う。グラフィックエンジン202はアプリケーション201から指示を受け、プリンタドライバ203に対して指示を行う。   As shown in FIG. 2, since the application 201 does not directly communicate with the printer driver 203 but via the graphic engine 202 of the OS, the application 201 actually exchanges with the graphic engine 202. Do. The graphic engine 202 receives an instruction from the application 201 and instructs the printer driver 203.

まず、アプリケーション201は、丁合い印刷のON/OFFや部数設定などの印刷のための設定をRAM2に確保されたメモリを介してグラフィックエンジン202に通知し、プリンタドライバ203は、グラフィックエンジン202より、その印刷設定とその印刷設定を元にプリンタドライバ203が印刷処理を行う上で必要な情報を格納する新たにRAM2上に確保されたメモリ領域の初期化要求を受信する(S601)。これにより、プリンタドライバ203は、そのプリンタドライバ203が印刷処理を行うために必要な情報(プリンタドライバ情報)を保持するメモリ領域を確保し、印刷設定に従ってそのメモリ領域を初期化する。   First, the application 201 notifies the graphic engine 202 of settings for printing such as collation printing ON / OFF and the number of copies setting via the memory secured in the RAM 2, and the printer driver 203 receives the graphic engine 202 from the graphic engine 202. Based on the print settings and the print settings, the printer driver 203 receives a request for initializing a memory area newly secured in the RAM 2 for storing information necessary for performing the printing process (S601). As a result, the printer driver 203 secures a memory area for holding information (printer driver information) necessary for the printer driver 203 to perform print processing, and initializes the memory area in accordance with the print settings.

プリンタドライバ203は、プリンタドライバ203が参照する情報メモリの初期化処理要求の受信により必要な処理を完了すると、ステップS601で受信した印刷設定に応じたプリンタドライバ203の印刷能力をグラフィックエンジン202に通知する。アプリケーション201は、グラフィックエンジン202より、最終的にプリンタ1500に送信される印刷ジョブとその印刷ジョブに反映する印刷設定とを関連付けるために必要なハンドル値を取得する(S602)。   When the printer driver 203 completes the necessary processing by receiving the information memory initialization processing request referred to by the printer driver 203, the printer driver 203 notifies the graphic engine 202 of the printing capability of the printer driver 203 according to the print setting received in step S601. To do. The application 201 acquires a handle value necessary for associating the print job finally transmitted to the printer 1500 and the print setting reflected in the print job from the graphic engine 202 (S602).

次に、アプリケーション201が、印刷の開始要求をグラフィックエンジン202に行うと、プリンタドライバ203は、グラフィックエンジン202より印刷開始要求を受信する(S603)。これにより、プリンタドライバ203は、プリンタ記述言語の生成処理を開始し、まず、プリンタ1500が印刷開始に必要なプリンタ命令を生成する。ただし、プリンタ1500が印刷開始に必要なプリンタ命令を生成処理は、最初のページ(1ページ目)の印刷処理が開始された時点(アプリケーションからの最初のページの描画指示を受信した時点)であっても良い。   Next, when the application 201 makes a print start request to the graphic engine 202, the printer driver 203 receives the print start request from the graphic engine 202 (S603). As a result, the printer driver 203 starts a printer description language generation process. First, the printer 1500 generates a printer command necessary for starting printing. However, the printer 1500 generates a printer command necessary for starting printing at the time when the printing process for the first page (first page) is started (when the drawing instruction for the first page from the application is received). May be.

アプリケーション201は、文字やイメージ等描画オブジェクトの描画を実現するための描画指示をグラフィックエンジン202に対して行う。プリンタドライバ203は、その描画指示をグラフィックエンジン202より受信する(S604)。これにより、プリンタドライバ203は、指定された描画オブジェクトや改ページをプリンタ1500からの出力結果に反映させるためのプリンタ命令を生成する。なお、印刷するページ数はアプリケーション201からの指定に因る。   The application 201 issues a drawing instruction for realizing drawing of a drawing object such as a character or an image to the graphic engine 202. The printer driver 203 receives the drawing instruction from the graphic engine 202 (S604). As a result, the printer driver 203 generates a printer command for reflecting the designated drawing object or page break in the output result from the printer 1500. Note that the number of pages to be printed depends on the designation from the application 201.

次に、アプリケーション201が、印刷の終了要求をグラフィックエンジン202に行うと、プリンタドライバ203は、グラフィックエンジン202より印刷終了要求を受信する(S605)。これにより、プリンタドライバ203は、プリンタ1500が印刷終了に必要なプリンタ命令を生成し、プリンタ記述言語の生成処理を終了する。   Next, when the application 201 makes a print end request to the graphic engine 202, the printer driver 203 receives the print end request from the graphic engine 202 (S605). As a result, the printer driver 203 generates a printer command necessary for the printer 1500 to end printing, and ends the printer description language generation processing.

次に、アプリケーション201は、ステップS602で取得したハンドル値の破棄要求をグラフィックエンジン202に通知し、プリンタドライバ203は、グラフィックエンジン202より、プリンタドライバ203が印刷処理を行う上で必要な情報を格納するメモリ領域にある情報(プリンタドライバ情報)の破棄要求を受信する(S606)。これにより、プリンタドライバ203は、上記プリンタドライバ情報の破棄処理を行う。   Next, the application 201 notifies the graphic engine 202 of the handle value discard request acquired in step S602, and the printer driver 203 stores information necessary for the printer driver 203 to perform print processing from the graphic engine 202. A request to discard information (printer driver information) in the memory area to be received is received (S606). Accordingly, the printer driver 203 performs a process for discarding the printer driver information.

以上示した、ステップS603〜S605の処理により、プリンタ1500へ送信するための1つのジョブが生成されることになる。   One job for transmission to the printer 1500 is generated by the processing of steps S603 to S605 described above.

次に、図5,図6のフローチャートを参照して、丁合い印刷のために印刷ジョブを部数分分割するような印刷要求を行うアプリケーション201の基本的な処理について説明する。   Next, with reference to the flowcharts of FIGS. 5 and 6, basic processing of the application 201 that makes a print request for dividing a print job by the number of copies for collation printing will be described.

図5は、図1に示したホストコンピュータ3000上で実行される丁合い印刷のために印刷ジョブを部数分分割するような印刷要求を行うアプリケーション201の丁合い印刷処理手順の一例を示すフローチャートである。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるアプリケーション201をRAM2上で実行することにより実現される。以下、処理の主体を、CPU1により実行されるアプリケーション201として説明する。また、図中S701〜S707は各ステップを示す。   FIG. 5 is a flowchart showing an example of a collation print processing procedure of the application 201 that issues a print request for dividing a print job for the collation printing executed on the host computer 3000 shown in FIG. is there. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the application 201 stored in the external memory 11 on the RAM 2. Hereinafter, the subject of processing will be described as the application 201 executed by the CPU 1. In addition, S701 to S707 in the figure indicate each step.

まず、通常、図22に示したアプリケーションの設定画面にあるような丁合い印刷の設定のためのコントロール502をマウス等によるユーザ指示により有効にし、また、部数の設定のためのコントロール501において、印刷する部数の設定もユーザ指示により行う。   First, normally, the control 502 for collation printing setting on the application setting screen shown in FIG. 22 is enabled by a user instruction using a mouse or the like, and the control 501 for setting the number of copies performs printing. The number of copies to be set is also set by a user instruction.

このようなアプリケーションの設定が行われ、印刷指示がアプリケーション201に入力されると(S701)、アプリケーション201は、印刷を行う上で必要な設定をグラフィックエンジン202に通知しハンドル値を取得する。その際、グラフィックエンジン202に通知する部数情報を1部にする(S702)。   When such application settings are made and a print instruction is input to the application 201 (S701), the application 201 notifies the graphic engine 202 of the settings necessary for printing and acquires a handle value. At that time, the number of copies to be notified to the graphic engine 202 is set to 1 (S702).

次に、アプリケーション201は、印刷処理を開始するための印刷開始要求をグラフィックエンジン202に対して行う(S703)。   Next, the application 201 makes a print start request for starting print processing to the graphic engine 202 (S703).

続いて、アプリケーション201上で作成・編集された図形,イメージ,文字,表等の描画オブジェクトやページ構成を印刷結果に反映するための指示をグラフィックエンジン202に対して行う(S704)。   Subsequently, an instruction is given to the graphic engine 202 to reflect drawing objects such as figures, images, characters, and tables created and edited on the application 201 and the page configuration in the print result (S704).

次に、アプリケーション201は、印刷処理を終了するための印刷終了要求をグラフィックエンジン202に対して行う(S705)。この処理後、プリンタドラバ203では、通常、1つのジョブが生成されることになる。   Next, the application 201 makes a print end request for ending the print processing to the graphic engine 202 (S705). After this processing, the printer driver 203 normally generates one job.

そして、アプリケーション201は、ステップS703〜S705の処理回数がステップS701で設定された部数回行われたか(指定部数分印刷を行ったか)判断し(S706)、未だステップS701で設定された部数回に満たないと判断した場合には、ステップS703に戻り、ステップS703〜S706にて同じ処理を繰り返す。   Then, the application 201 determines whether the number of times of processing in steps S703 to S705 has been performed the number of copies set in step S701 (whether printing has been performed for the specified number of copies) (S706), and still reaches the number of copies set in step S701. If it is determined that the condition is not satisfied, the process returns to step S703, and the same processing is repeated in steps S703 to S706.

一方、ステップS706で、アプリケーション201は、ステップS703〜S705の処理回数がステップS701で設定された部数回行われたと判断した場合には、ステップS702で取得したハンドルの破棄要求をグラフィックエンジン202に対して行い(S707)、本フローチャートの処理を終了する。   On the other hand, if the application 201 determines in step S706 that the number of processing steps S703 to S705 has been performed the number of times set in step S701, the application 201 issues a handle discard request acquired in step S702 to the graphic engine 202. (S707), and the process of this flowchart is terminated.

つまり、アプリケーション201は、図4で示したステップS603〜S605の処理を、ステップS701で設定された部数回繰り返すことで、例えば、3ページの文書を3部丁合い印刷したい場合には、[1−2−3],[1−2−3],[1−2−3](数字はページ数を表し、[ ]は1つのジョブを表す)といった3つの印刷ジョブがプリンタドライバ203で生成されることになるので、プリンタ1500にて、丁合い印刷が実現されることになる。   In other words, the application 201 repeats the processing of steps S603 to S605 shown in FIG. 4 several times as set in step S701. -2-3], [1-2-3], and [1-2-3] (numbers represent the number of pages, [] represents one job) are generated by the printer driver 203. Therefore, collation printing is realized by the printer 1500.

以上示したように、アプリケーション201は、指定部数の丁合い印刷を行うために1部の印刷を行うための印刷要求データ(本実施形態では、アプリケーション201で発行される、「印刷開始要求」で始まり「印刷終了要求」で終了する(「印刷開始要求」と「印刷終了要求」の間に、描画要求,改ページ要求等を含む)1ジョブのデータを印刷要求データと称する)を前記指定部数分生成するアプリケーションプログラムである。   As described above, the application 201 uses the print request data for printing one copy in order to perform the specified number of collated prints (in this embodiment, the “print start request” issued by the application 201). The specified number of copies starts and ends with a “print end request” (data of one job is referred to as print request data between a “print start request” and a “print end request”). This is an application program that generates a minute.

上述したようなアプリケーション201の処理に対し、プリンタドライバ203が行う本実施形態の印刷ジョブデータ変換処理の一例を以下に詳細に説明する。   An example of the print job data conversion process of the present embodiment performed by the printer driver 203 with respect to the process of the application 201 as described above will be described in detail below.

まず、アプリケーション201がグラフィックエンジン202を介してプリンタドライバ203に行う印刷要求に対して、プリンタドライバ203が生成する印刷ジョブを保存する処理と、アプリケーション201が実現しようとしている部数をカウントする処理とを図6のフローチャートを用いて説明する。   First, in response to a print request made by the application 201 to the printer driver 203 via the graphic engine 202, a process for saving a print job generated by the printer driver 203 and a process for counting the number of copies that the application 201 intends to realize are performed. This will be described with reference to the flowchart of FIG.

図6は、本発明の印刷制御装置における第1の制御処理手順の一例を示すフローチャートであり、図1に示したホストコンピュータ3000上で実行されるプリンタドライバ203による部数をカウントする処理と印刷ジョブを保存する処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S801〜S810は各ステップを示す。   FIG. 6 is a flowchart showing an example of a first control processing procedure in the print control apparatus of the present invention. Processing for counting the number of copies by the printer driver 203 executed on the host computer 3000 shown in FIG. Corresponds to the process of saving. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. In the figure, S801 to S810 indicate steps.

前述したように、まずアプリケーション201がグラフィックエンジン202に対して、印刷設定の通知を行うと、プリンタドライバ203は、グラフィックエンジン202から送信される印刷設定を受信する(S801)。この印刷設定は、RAM2に確保されたメモリ領域に設定されて受け渡され、例えば、印刷部数、印刷サイズ、用紙の向きといった情報を含んでいる。   As described above, when the application 201 first notifies the graphic engine 202 of print settings, the printer driver 203 receives the print settings transmitted from the graphic engine 202 (S801). This print setting is set in a memory area secured in the RAM 2 and transferred, and includes information such as the number of copies, print size, and paper orientation, for example.

次に、アプリケーション201が丁合い印刷実現のために印刷ジョブを分割するような印刷要求を行う場合には、印刷設定の部数情報を1部に設定してくるので、プリンタドライバ203は、ステップS801で受信した印刷設定の印刷部数の情報が1部かどうかを判断し(S802)、1部であると判断した場合には、本実施形態の印刷ジョブデータ変換処理(ステップS804〜S810の処理)を実行する。なお、本実施形態の印刷ジョブデータ変換処理を実行するかどうかの判断は、ステップS802の1部であるか否かの判断のみに限られるものではなく、指定部数の丁合い印刷を行うために1部の印刷を行うための印刷要求を前記指定部数分生成するアプリケーションを外部メモリ11に登録しておき、アプリケーション201が登録しているアプリケーションかどうかの判断や、プリンタドライバ203が用意するUIの設定に本実施形態の印刷ジョブデータ変換処理を有効にする設定を設け、その設定が有効にされているかどうかの判断の何れか、もしくは、各判断を組み合わせた判断をステップS802の判断条件に加えて、より厳密に判断するように構成してもよい。   Next, when the application 201 makes a print request to divide a print job for collation printing, the number of copies in the print setting is set to one, so the printer driver 203 executes step S801. In step S802, it is determined whether the number of copies of the print setting received in step S802 is one. If it is determined that the number of copies is 1, the print job data conversion process according to the present embodiment (steps S804 to S810). Execute. Note that the determination as to whether or not to execute the print job data conversion process of the present embodiment is not limited to the determination as to whether or not it is one copy in step S802, but to perform collated printing for a specified number of copies. An application that generates a print request for printing one copy for the designated number of copies is registered in the external memory 11 to determine whether or not the application 201 is registered, and the UI of the printer driver 203 prepares. In the setting, a setting for enabling the print job data conversion processing of the present embodiment is provided, and any of the determination as to whether the setting is enabled or a combination of the determinations is added to the determination condition of step S802 Thus, it may be configured to judge more strictly.

一方、ステップS802で、ステップS801で受信した印刷設定の印刷部数の情報が1部でないと判断した場合には、本実施形態の印刷ジョブデータ変換処理を実行しないと判断して、通常プリンタドライバが行っている通りの印刷処理を行う(S803)。   On the other hand, if it is determined in step S802 that the information on the number of copies of the print setting received in step S801 is not one, it is determined that the print job data conversion process of this embodiment is not executed, and the normal printer driver The printing process as performed is performed (S803).

次に、ステップS804において、プリンタドライバ203は、ステップS801で受信した印刷設定を元に、プリンタドライバ203が印刷処理を行う上で必要な情報を格納するメモリ領域を初期化する。このメモリ領域には、印刷部数をカウントしておく部数カウンタ(CP)が存在し、この部数カウンタは「0」で初期化しておく。   In step S804, the printer driver 203 initializes a memory area for storing information necessary for the printer driver 203 to perform print processing based on the print settings received in step S801. In this memory area, there is a copy counter (CP) for counting the number of copies to be printed, and this copy counter is initialized with “0”.

次に、アプリケーション201が、ステップS801で設定された印刷設定を元に、実際に印刷処理を開始する印刷開始要求をグラフィックエンジン202に対して行うと、プリンタドライバ203は、グラフィックエンジン202より印刷開始要求を受信する(S805)。なお、図6内には示していないが、プリンタドライバ203は、印刷開始要求の受信に続いて描画要求(改ページ要求)等をグラフィックエンジン202より受信するものである。   Next, when the application 201 makes a print start request to the graphic engine 202 to actually start the printing process based on the print setting set in step S801, the printer driver 203 starts printing from the graphic engine 202. A request is received (S805). Although not shown in FIG. 6, the printer driver 203 receives a drawing request (page break request) or the like from the graphic engine 202 following reception of the print start request.

次に、プリンタドライバ203は、部数カウンタ(CP)が「0」か否かを判断して印刷ジョブの保存処理を行うかどうかを判断する。なお、部数カウンタ(CP)が「0」である場合には、未だ1部分の印刷ジョブの保存が完了していないことを表し、また、部数カウンタ(CP)が「0」でない場合には、既に1部分の印刷ジョブの保存は完了していることを表す。   Next, the printer driver 203 determines whether or not the number of copies counter (CP) is “0” to determine whether or not to save the print job. When the number of copies counter (CP) is “0”, it means that the printing job for one portion has not been completed yet, and when the number of copies counter (CP) is not “0”, This indicates that the storage of one part of the print job has already been completed.

ステップS806で、プリンタドライバ203が、部数カウンタ(CP)が「0」であると判断した場合には、未だ1部分の印刷ジョブの保存を行っていないため、1部分の印刷ジョブの保存が完了するまで、後述の図7に示す印刷ジョブの保存処理を実行し(S807)、ステップS808に進む。   If the printer driver 203 determines in step S806 that the copy counter (CP) is “0”, the print job for one part has not been saved yet, and thus the print job for one part has been completed. Until this is done, a print job storage process shown in FIG. 7 described later is executed (S807), and the process proceeds to step S808.

一方、ステップS806で、プリンタドライバ203が、部数カウンタ(CP)が「0」でないと判断した場合には、1部分の印刷ジョブの保存は完了しているため、印刷ジョブの保存処理は実行せず、そのまま、ステップS808に進む。   On the other hand, if the printer driver 203 determines in step S806 that the copy counter (CP) is not “0”, the print job storage process has been completed, so the print job storage process cannot be executed. Instead, the process proceeds to step S808.

次に、アプリケーション201が1ジョブ分の印刷処理を終えてグラフィックエンジン202に対して印刷終了要求を行うと、プリンタドライバ203は、グラフィックエンジン202より、印刷終了要求を受信する(S808)。   Next, when the application 201 finishes the printing process for one job and makes a print end request to the graphic engine 202, the printer driver 203 receives the print end request from the graphic engine 202 (S808).

プリンタドライバ203は、ステップS808で印刷終了要求を受信すると、部数カウンタ(CP)に「1」を加算する(S809)。なお、アプリケーション201は、印刷部数分、印刷開始要求から印刷終了要求までの印刷要求を繰り返すため、繰り返された回数、つまり、アプリケーション201が実現しようとしている部数が最終的に部数カウンタ(CP)に設定されることになる。   Upon receiving the print end request in step S808, the printer driver 203 adds “1” to the copy counter (CP) (S809). Since the application 201 repeats the print request from the print start request to the print end request for the number of print copies, the number of repetitions, that is, the number of copies that the application 201 is trying to realize finally becomes the copy counter (CP). Will be set.

なお、図6内には示していないが、プリンタドライバ203は、ステップS808で印刷終了要求を受信した際にも、印刷ジョブを終了させるために必要となるプリンタ記述言語の生成処理を行い、部数カウンタ(CP)を加算する前の値が「0」であれば、該プリンタ記述言語を保存中の印刷ジョブに追加し、印刷ジョブの保存を完了することになる。   Although not shown in FIG. 6, even when the printer driver 203 receives a print end request in step S808, the printer driver 203 performs processing for generating a printer description language necessary for ending the print job, and the number of copies. If the value before adding the counter (CP) is “0”, the printer description language is added to the print job being saved, and the save of the print job is completed.

次に、ステップS810において、プリンタドライバ203は、グラフィックスエンジン202から印刷開始要求を受信したか判断し、印刷開始要求を受信したと判断した場合には、ステップS806の処理に戻り、ステップS806〜S810の処理を繰り返す。   In step S810, the printer driver 203 determines whether a print start request has been received from the graphics engine 202. If the printer driver 203 determines that a print start request has been received, the process returns to step S806, and steps S806 to S806 are performed. The process of S810 is repeated.

一方、ステップS810で、プリンタドライバ203が、グラフィックエンジン202から印刷開始要求を受信しない場合には、印刷処理は終了となるため、本フローチャートの処理を終了する。   On the other hand, if the printer driver 203 does not receive a print start request from the graphic engine 202 in step S810, the printing process ends, and the process of this flowchart ends.

以上説明したように、本実施形態のプリンタドライバ203は、アプリケーション201により印刷要求データ発行前に発行される印刷設定情報を受信(S801に相当)してから、前記アプリケーション201により前記印刷要求データ発行後に発行される前記印刷設定情報の破棄要求を受信(S810のYesに相当)するまでの間、前記アプリケーション201により連続して生成される1部の印刷を行うための前記印刷要求データ(S805(S810)〜S808に相当)をRAM2内に保持される部数カウンタ(CP)をカウントアップすることによりカウントし(S809に相当)、前記いずれか1つの印刷要求データに対応する印刷ジョブデータのみを生成保存する(S807に相当)ものである。   As described above, the printer driver 203 of this embodiment receives the print setting information issued before the print request data is issued by the application 201 (corresponding to S801), and then issues the print request data by the application 201. The print request data (S805 (S805)) for printing one copy continuously generated by the application 201 until a request for discarding the print setting information to be issued later is received (corresponding to Yes in S810). (Corresponding to S810) to S808) is counted by counting up the copy counter (CP) held in the RAM 2 (corresponding to S809), and only print job data corresponding to any one of the print request data is generated. Save (corresponding to S807).

以下、プリンタドライバ203が、まだ1部分の印刷ジョブが保存されていない場合、ステップS807において、プリンタドライバ203は、印刷開始要求を受信した時点から印刷終了要求を受信して印刷終了処理を完了するまでの間、生成したプリンタ記述言語を保存していくことになる。そのステップS807の印刷ジョブの保存処理を図7のフローチャートを用いて説明する。   Hereinafter, if the printer driver 203 has not yet saved one part of the print job, in step S807, the printer driver 203 receives the print end request from the time when the print start request is received, and completes the print end process. Until then, the generated printer description language is stored. The print job storage process in step S807 will be described with reference to the flowchart of FIG.

図7は、本発明の印刷制御装置における第2の制御処理手順の一例を示すフローチャートであり、図6のステップS807に示した印刷ジョブの保存処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S901〜S902は各ステップを示す。   FIG. 7 is a flowchart showing an example of a second control processing procedure in the print control apparatus of the present invention, and corresponds to the print job storage processing shown in step S807 of FIG. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. Further, S901 to S902 in the figure indicate each step.

まず、プリンタドライバ203は、アプリケーション201からグラフィックエンジン202を介してプリンタドライバ203に順次送られる印刷要求に基づいて、該各印刷要求をプリンタ1500による印刷出力結果に反映させるためのプリンタ記述言語を通常の印刷処理時と同様に生成する(S901)。   First, the printer driver 203 normally uses a printer description language for reflecting each print request in a print output result by the printer 1500 based on print requests sequentially sent from the application 201 to the printer driver 203 via the graphic engine 202. (S901).

プリンタドライバ203は、最初に生成したプリンタ記述言語を外部メモリに保存し、2回目以降、生成したプリンタ記述言語をその保存データに追加保存していくことで(S902)、最終的には、図8に示すようなプリンタ記述言語群によって1つの印刷ジョブとして形成されることになる。   The printer driver 203 saves the first generated printer description language in the external memory, and additionally stores the generated printer description language in the saved data after the second time (S902). The printer description language group as shown in FIG.

なお、図7には示していないが、ステップS901,S902の処理は、ステップS808で、印刷終了要求を受信するまで繰り返し実行されるものとする。   Although not shown in FIG. 7, the processes in steps S901 and S902 are repeatedly executed until a print end request is received in step S808.

より具体的に示すと、プリンタドライバ203は、ジョブの開始命令をプリンタ記述言語で生成し、外部メモリに保存し、次に、RAM2のメモリ領域に格納される印刷設定情報等に基づいて、丁合い印刷指定命令(この時点では不定),部数設定命令(この時点では「1部」),用紙サイズ(及び用紙向き)の指定命令等をプリンタ記述言語で生成し、外部メモリに保存し、次に、図形、イメージ、文字、表等の描画命令、改ページ命令をプリンタ記述言語で生成して外部メモリに保存する処理をページ数だけ繰り返し行い、グラフィックエンジン202から印刷終了要求を受信すると、最後に、ジョブの終了命令をプリンタ記述言語で生成し、外部メモリに保存する。   More specifically, the printer driver 203 generates a job start instruction in a printer description language, saves it in an external memory, and then, based on the print setting information stored in the memory area of the RAM 2, etc. Generate a printing specification command (undefined at this time), a number of copies setting command (“1 copy” at this time), a paper size (and paper orientation) specification command, etc. in the printer description language, save it in the external memory, In addition, when a drawing termination request for graphics, images, characters, tables, etc. and a page break command are generated in the printer description language and stored in the external memory are repeated for the number of pages, a print end request is received from the graphic engine 202. In addition, a job end command is generated in the printer description language and stored in the external memory.

図8は、図1に示したプリンタドライバ203が生成する印刷ジョブデータのデータ構造の一例を示す模式図である。   FIG. 8 is a schematic diagram illustrating an example of a data structure of print job data generated by the printer driver 203 illustrated in FIG.

図8に示すように、印刷ジョブデータは、丁合い印刷指定命令,部数設定命令,用紙サイズの指定命令,図形、イメージ、文字、表等の描画命令、改ページ命令、ジョブの終了命令等を含んでいる。   As shown in FIG. 8, the print job data includes a collation print designation command, a copy number setting command, a paper size designation command, a drawing command for graphics, images, characters, tables, etc., a page break command, a job end command, etc. Contains.

続いて、アプリケーション201は、指定部数分の印刷要求を完了すると、前述した取得しておいた印刷のために必要なハンドルの破棄要求をグラフィックエンジン202に対して行う(図5のステップS707に相当)。つまり、この時点で、アプリケーションは印刷要求が全て終了していることになり、プリンタドライバ203側では、部数のカウントと印刷ジョブの保存は完了しているので、プリンタドライバ203は、プリンタ1500へ印刷ジョブを送信する処理を実行することができる。以下、図9を用いて、プリンタドライバ203が保存した印刷ジョブをプリンタ1500に送信するための処理を説明する。   Subsequently, when the application 201 completes the print request for the designated number of copies, the application 201 makes a request for discarding the handle necessary for the acquired printing to the graphic engine 202 (corresponding to step S707 in FIG. 5). ). In other words, at this point, the application has completed all print requests, and the printer driver 203 has completed counting the number of copies and storing the print job, so the printer driver 203 prints to the printer 1500. Processing to send a job can be executed. Hereinafter, a process for transmitting a print job saved by the printer driver 203 to the printer 1500 will be described with reference to FIG.

図9は、本発明の印刷制御装置における第3の制御処理手順の一例を示すフローチャートであり、プリンタドライバ203による印刷ジョブの送信処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S1101〜S1106は各ステップを示す。   FIG. 9 is a flowchart showing an example of a third control processing procedure in the print control apparatus of the present invention, and corresponds to a print job transmission process by the printer driver 203. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. Also, S1101 to S1106 in the figure indicate each step.

まず、プリンタドライバ203は、アプリケーション201がグラフィックエンジン202に対してハンドルの破棄要求を行うと、プリンタドライバ203は、プリンタドライバ203が印刷処理を行う上で必要な情報を格納するメモリ領域のプリンタドライバ情報を破棄するための要求をグラフィックエンジン202より受信する(S1101)。   First, when the application 201 issues a handle discard request to the graphic engine 202, the printer driver 203 is a printer driver in a memory area that stores information necessary for the printer driver 203 to perform print processing. A request for discarding information is received from the graphic engine 202 (S1101).

次に、プリンタドライバ203は、ステップS1101でプリンタドライバ情報破棄要求を受信した際、図7に示した印刷ジョブ保存処理により1部分の保存が完了した印刷ジョブデータをプリンタドライバ203がRAM2に確保したメモリ領域に読み込む(S1102)。   Next, when the printer driver 203 receives the printer driver information discard request in step S1101, the printer driver 203 secures the RAM 2 with the print job data that has been stored in one part by the print job storage process shown in FIG. Reading into the memory area (S1102).

次に、プリンタドライバ203は、読み込んだ印刷ジョブデータの変換処理(詳細は後述する図10に示す)を行う(S1103)。   Next, the printer driver 203 performs conversion processing of the read print job data (details are shown in FIG. 10 described later) (S1103).

次に、プリンタドライバ203は、変更した印刷ジョブデータをプリントサブシステム204を介してプリンタ1500へ送信する処理を実行する。(S1104)
次に、印刷ジョブのプリンタ1500への送信が完了すれば、図9で示した印刷ジョブ保存処理において保存しておいた印刷ジョブデータは不要になるため、プリンタドライバ203は、保存しておいた印刷ジョブデータを破棄する。(S1105)
次に、プリンタドライバ203は、プリンタドライバ203が印刷処理を行う上で必要な情報を格納するメモリ領域のプリンタドライバ情報の破棄処理を行い(S1106)、本フローチャートの処理を終了する。
Next, the printer driver 203 executes processing for transmitting the changed print job data to the printer 1500 via the print subsystem 204. (S1104)
Next, when the transmission of the print job to the printer 1500 is completed, the print job data saved in the print job saving process shown in FIG. 9 becomes unnecessary, so the printer driver 203 saves it. Discard print job data. (S1105)
Next, the printer driver 203 discards the printer driver information in the memory area for storing information necessary for the printer driver 203 to perform printing processing (S1106), and ends the processing of this flowchart.

また、丁合い印刷を、1つの印刷ジョブで実現するためには、プリンタの制御コマンドにて、丁合い印刷を指定するための命令(丁合い印刷指定命令)を「ON」にすることと、部数を設定する命令(部数設定命令)にて出力する部数情報の設定を行う必要がある。そこで、以下に図10を参照して、図7のステップS807で説明した1部分の保存が完了した印刷ジョブを丁合い印刷を実現するための印刷ジョブに変換する処理について説明する。   In order to realize collation printing with one print job, a command for specifying collation printing (collation printing designation command) is set to “ON” by a printer control command; It is necessary to set the number of copies information to be output by a command for setting the number of copies (number of copies setting command). Therefore, with reference to FIG. 10, a process for converting the print job in which the saving of one part described in step S807 of FIG. 7 is completed into a print job for realizing collated printing will be described below.

図10は、本発明の印刷制御装置における第4の制御処理手順の一例を示すフローチャートであり、図9のステップS1103に示した印刷ジョブデータ変換処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S1201〜S1207は各ステップを示す。   FIG. 10 is a flowchart showing an example of a fourth control processing procedure in the print control apparatus of the present invention, and corresponds to the print job data conversion processing shown in step S1103 of FIG. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. Also, S1201 to S1207 in the figure indicate each step.

図8で示した印刷ジョブデータは、プリンタ記述言語と呼ばれる印刷対象となるプリンタが解釈できるような決められた文法の命令群の集合である。そこでまず、プリンタドライバ203は、印刷ジョブデータの命令群の中から、部数を設定する命令(部数設定命令)を見つけ出すための検索を行う(S1201)。次に、検索した命令が部数を設定する命令(部数設定命令)かどうか確認する(S1202)。   The print job data shown in FIG. 8 is a set of commands having a predetermined grammar that can be interpreted by a printer to be printed, called a printer description language. Therefore, first, the printer driver 203 performs a search for finding out a command for setting the number of copies (copy number setting command) from the command group of the print job data (S1201). Next, it is confirmed whether or not the retrieved instruction is an instruction to set the number of copies (copy setting instruction) (S1202).

ステップS1202で、プリンタドライバ203は、検索した命令が部数を設定する命令(部数設定命令)であると判断した場合には、その命令で指定する部数情報を、図6のステップS809の処理によりカウントしていた部数カウンタ(CP)の値に変更する(S1203)。   If the printer driver 203 determines in step S1202 that the retrieved command is a command for setting the number of copies (copy setting command), the number of copies specified by the command is counted by the processing in step S809 in FIG. The value is changed to the value of the copy counter (CP) that has been used (S1203).

次に、プリンタドライバ203は、検索完了した(丁合い印刷を指定するための命令(丁合い印刷指定命令)の検索が既に終わっている)か否かを判断し(S1204)、検索完了したと判断した場合には、そのまま本フローチャートの処理を終了する。   Next, the printer driver 203 determines whether or not the search has been completed (the search for an instruction for specifying collation printing (collation print designation instruction) has already been completed) (S1204). If it is determined, the process of this flowchart is terminated as it is.

一方、ステップS1204で、プリンタドライバ203が、検索完了していないと判断した場合には、ステップS1201の処理に戻る。   On the other hand, if the printer driver 203 determines in step S1204 that the search has not been completed, the process returns to step S1201.

一方、ステップS1202で、プリンタドライバ203が、検索した命令が部数を設定する命令(部数設定命令)でないと判断した場合には、プリンタドライバ203は、検索した命令が丁合い印刷を指定するための命令(丁合い印刷指定命令)かどうか確認する(S1205)。   On the other hand, if the printer driver 203 determines in step S1202 that the searched command is not a command to set the number of copies (copy setting command), the printer driver 203 uses the searched command to specify collate printing. It is confirmed whether it is a command (collation printing designation command) (S1205).

ステップS1205で、プリンタドライバ203は、検索した命令が丁合い印刷を指定するための命令(丁合い印刷指定命令)であると判断した場合には、丁合い印刷をプリンタで行うためのモードが有効になるように、丁合い印刷を指定するための命令(丁合い印刷指定命令)を「ON」に変更する(S1206)。   If the printer driver 203 determines in step S1205 that the retrieved command is a command for specifying collation printing (collation printing designation command), the mode for performing collation printing on the printer is valid. The command for designating collation printing (collation printing designation command) is changed to “ON” (S1206).

次に、プリンタドライバ203は、検索完了した(部数を設定する命令(部数設定命令)の検索が既に終わっている)か否かを判断し(S1207)、検索完了したと判断した場合には、そのまま本フローチャートの処理を終了する。   Next, the printer driver 203 determines whether or not the search has been completed (search for the number of copies setting command (number of copies setting command) has already been completed) (S1207). The processing of this flowchart is finished as it is.

一方、プリンタドライバ203が、検索完了していないと判断した場合には、ステップS1201の処理に戻る。   On the other hand, if the printer driver 203 determines that the search has not been completed, the process returns to step S1201.

一方、ステップS1205で、プリンタドライバ203が、検索した命令が丁合い印刷を指定するための命令(丁合い印刷指定命令)でないと判断した場合には、ステップS1201の処理に戻る。   On the other hand, if the printer driver 203 determines in step S1205 that the retrieved command is not a command for specifying collation printing (collation printing designation command), the process returns to step S1201.

なお、部数設定命令と丁合い印刷指定命令の検索順序はどちらが先でも良いことはいうまでもない。   Needless to say, the search order of the number of copies setting command and the collation print designation command may be either first.

以上説明したように、本実施形態のプリタンドライバ203は、受信したいずれかの印刷要求データから生成された印刷ジョブデータ内の部数設定命令を検索し、該検索されたにカウント値(CPの値)を設定するとともに、前記印刷ジョブデータ内の丁合い指示情報を検索し、該検索された丁合い印刷指示命令に丁合い印刷指示を有効とする情報(ON)を設定するように前記印刷ジョブデータを変更するものである。   As described above, the print driver 203 of the present embodiment searches for the copy number setting command in the print job data generated from any received print request data, and the searched count value (CP value). ) And the collation instruction information in the print job data is retrieved, and the print job is configured to set information (ON) for validating the collation print instruction to the retrieved collation print instruction instruction. Change data.

従って、例えば、3ページのデータを3部印刷する場合に、アプリケーション201の処理によって[(1部)1−2−3],[(1部)1−2−3],[(1部)1−2−3](数字は、ページ数を表し、[ ]は1つのジョブを表し、また、( )は印刷ジョブ中に指定される部数を表す)のように、3つのジョブに分割されるような印刷要求データが発行されたとしても、プリンタドライバ203が該3つのジョブに分割されようとしている印刷要求から、[(丁合い印刷ON,3部)1−2−3]のような1つの印刷ジョブデータを生成するので、従来、アプリケーションから3つのジョブに分割して発行される印刷要求から生成される3つの印刷ジョブデータ([(1部)1−2−3],[(1部)1−2−3],[(1部)1−2−3])と、同じ部数の出力結果をプリンタ1500から得ることができる。   Therefore, for example, when printing 3 copies of 3 pages of data, [(1 copy) 1-2-3], [(1 copy) 1-2-3], [(1 copy) by processing of the application 201. 1-2-3] (numbers represent the number of pages, [] represents one job, and () represents the number of copies specified in the print job). Even if such print request data is issued, the print request from the printer driver 203 about to be divided into the three jobs is [(collate print ON, 3 copies) 1-2-3]. Since one print job data is generated, conventionally, the three print job data ([(1) 1-2-2], [( 1 part) 1-2-3], [(1 part) 1-2 -3]), the same number of output results can be obtained from the printer 1500.

ところで、図4のステップS601で示したアプリケーション201が通知する印刷設定は、常に印刷処理中同じものが使われるわけではなく、アプリケーション201は印刷開始要求後に、例えば、1ページ目はA4用紙で、2ページ目の時点では、A3用紙に変更したい場合など印刷設定を変更したい場合、印刷しようとしている任意のページが変わるタイミングで変更することが可能となっている。   By the way, the same print settings notified by the application 201 shown in step S601 in FIG. 4 are not always used during the printing process. The application 201 requests, for example, A4 paper on the first page after a print start request. At the time of the second page, when it is desired to change the print setting, such as when changing to A3 paper, it is possible to change at the timing when an arbitrary page to be printed changes.

例えば、1ページ目の用紙サイズがA4、2ページ目の用紙サイズがA3、3ページ目の用紙サイズがB4の場合、1(A4)−2(A3)−3(B4)といった印刷ジョブが発行される(数字はページ数を表し、( )は用紙サイズを表す)。   For example, when the paper size of the first page is A4, the paper size of the second page is A3, and the paper size of the third page is B4, a print job such as 1 (A4) -2 (A3) -3 (B4) is issued (The number represents the number of pages, and () represents the paper size.)

このように、アプリケーション201が印刷設定を変更した場合、プリンタドライバ203が印刷処理を行うために必要なプリンタドライバ情報を保持するメモリ領域も更新されることになる。   As described above, when the application 201 changes the print setting, the memory area holding the printer driver information necessary for the printer driver 203 to perform print processing is also updated.

以下、図11のフローチャートを用いて、アプリケーション201が印刷設定の変更要求をグラフィックエンジン202に対して行った場合のプリンタドライバ203の基本的な処理(印刷処理を行うために必要なプリンタドライバ情報を保持するメモリ領域を更新する処理)について説明する。   Hereinafter, with reference to the flowchart of FIG. 11, basic processing of the printer driver 203 when the application 201 makes a print setting change request to the graphic engine 202 (printer driver information necessary for performing printing processing). A process for updating the memory area to be held will be described.

図11は、本発明の印刷制御装置における第5の制御処理手順の一例を示すフローチャートであり、アプリケーション201が印刷設定の変更要求をグラフィックエンジン202に対して行った場合のプリンタドライバ203の基本的な処理(印刷処理を行うために必要なプリンタドライバ情報を保持するメモリ領域を更新する処理)に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S1301〜S1306は各ステップを示す。   FIG. 11 is a flowchart showing an example of a fifth control processing procedure in the print control apparatus of the present invention. The basic operation of the printer driver 203 when the application 201 makes a print setting change request to the graphic engine 202. This process corresponds to a process (a process of updating a memory area holding printer driver information necessary for performing a printing process). Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. Also, S1301 to S1306 in the figure indicate each step.

図12は、アプリケーション201が印刷設定を変更する場合の処理の流れを示すステータス図である。   FIG. 12 is a status diagram showing the flow of processing when the application 201 changes print settings.

以下、図11のフローチャートの処理に沿って説明する。   Hereinafter, a description will be given along the processing of the flowchart of FIG.

アプリケーション201がページの変わるタイミングで印刷設定を変更しようとした場合には、アプリケーション201は、変更する印刷設定の通知と印刷設定変更要求をグラフィックエンジン202に対して行う。これにより、プリンタドライバ203は、グラフィックエンジン202から送信される、変更する印刷設定の通知とプリンタドライバ初期化要求を受信する(図11のS1301,図12のステップS1405)。   When the application 201 tries to change the print setting at the timing when the page changes, the application 201 sends a notification of the print setting to be changed and a print setting change request to the graphic engine 202. Accordingly, the printer driver 203 receives the notification of the print setting to be changed and the printer driver initialization request transmitted from the graphic engine 202 (S1301 in FIG. 11 and step S1405 in FIG. 12).

次に、プリンタドライバ203は、設定変更後の印刷処理を行うために必要なRAM2上の確保されたメモリ領域(メモリ1)のプリンタドライバ情報の初期化を行い(図11のS1302)、設定変更後の印刷設定に応じたプリンタドライバ203の印刷能力をグラフィックエンジン202に通知する。(図12のS1406)
次に、グラフィックエンジン202が、それまで印刷に使用していた印刷のために必要なプリンタドライバ情報を保持しているメモリ領域(メモリ2)中の必要なプリンタドライバ情報をメモリ1に引き継ぐことができるタイミング(メモリ引継ぎ要求)を発行すると、プリンタドライバ203は、該メモリ引継ぎ要求をグラフィックエンジン202より受信する(図11のS1303,図12のステップS1407)。なお、上記メモリ1とメモリ2は同じフォーマットの情報領域を持つ。
Next, the printer driver 203 initializes the printer driver information in the memory area (memory 1) secured on the RAM 2 necessary for performing the printing process after changing the setting (S1302 in FIG. 11), and changes the setting. The graphic engine 202 is notified of the printing capability of the printer driver 203 corresponding to the subsequent print settings. (S1406 in FIG. 12)
Next, the graphic engine 202 may take over the necessary printer driver information in the memory area (memory 2) holding the printer driver information necessary for printing that has been used for printing to the memory 1 until then. When a possible timing (memory takeover request) is issued, the printer driver 203 receives the memory takeover request from the graphic engine 202 (S1303 in FIG. 11 and step S1407 in FIG. 12). The memory 1 and the memory 2 have information areas having the same format.

以後の印刷処理では、メモリ2のプリンタドライバ情報は参照されなくなるため、グラフィックエンジン202から、プリンタドライバ203がそれまで印刷に使用していた印刷のために必要なプリンタドライバ情報を保持しているメモリ2のプリンタドライバ情報破棄要求が発行されると、プリンタドライバ203は、該プリンタドライバ情報破棄要求をグラフィックエンジン202より受信する(図11のS1305,図12のステップS1408)。   In the subsequent printing process, the printer driver information in the memory 2 is not referred to, so the memory that holds the printer driver information necessary for printing that the printer driver 203 has used so far from the graphic engine 202. When the printer driver information discard request 2 is issued, the printer driver 203 receives the printer driver information discard request from the graphic engine 202 (S1305 in FIG. 11 and step S1408 in FIG. 12).

次に、プリンタドライバ203は、メモリ2のプリンタドライバ情報の破棄処理を実行し(S1306)、本フローチャートの処理を終了する。   Next, the printer driver 203 executes a process for discarding the printer driver information in the memory 2 (S1306), and ends the process of this flowchart.

つまり、アプリケーション201が印刷設定を変更する場合、図4で示したアプリケーション201,グラフィックエンジン202,プリンタドライバ203のステート図は、図12に示すようになる。その説明は、前述の図4と図12の説明と同様であるため詳細な説明は割愛する。   That is, when the application 201 changes the print setting, the state diagram of the application 201, the graphic engine 202, and the printer driver 203 shown in FIG. 4 is as shown in FIG. Since the description is the same as the description of FIGS. 4 and 12, the detailed description is omitted.

図9で示したように、プリンタドライバ203としては、プリンタドライバ203が印刷処理を行う上で必要なプリンタドライバ情報を格納するメモリ領域のプリンタドライバ情報を破棄するための要求をグラフィックエンジン203より受信した時点で保存しておいたジョブのプリンタ1500への送信処理を行うことになるが、上述した通り、アプリケーション201が印刷途中で印刷設定を変更しようとした場合にも、プリンタドライバ203は、メモリ領域のプリンタドライバ情報の破棄要求を受信してしまう。そのため、図9に示した処理のままでは、印刷ジョブの保存が完了していなくても印刷ジョブのプリンタ1500への送信処理を行おうとしてしまうため、印刷ジョブの送信処理を行わないように制御する必要がある。   As shown in FIG. 9, the printer driver 203 receives from the graphic engine 203 a request for discarding the printer driver information in the memory area that stores the printer driver information necessary for the printer driver 203 to perform print processing. When the application 201 attempts to change print settings during printing, as described above, the printer driver 203 stores the memory stored in the printer 1500 in the memory. A request to discard the printer driver information in the area is received. For this reason, if the process shown in FIG. 9 is used as it is, the print job transmission process to the printer 1500 is attempted even if the print job has not been saved, so that the print job transmission process is not performed. There is a need to.

つまり、プリンタドライバ203は、プリンタドライバ情報の破棄要求を受信したとき、それが、アプリケーション201の印刷設定変更要求によるものだった場合には、印刷ジョブのプリンタ1500への送信処理に実行しないように制御する必要がある。   That is, when the printer driver 203 receives the request for discarding the printer driver information, if the request is due to the print setting change request of the application 201, the printer driver 203 does not execute the print job transmission process to the printer 1500. Need to control.

以下、図13のフローチャートを用いて、アプリケーション201が印刷開始要求後、ページが変わるタイミングで、印刷設定の変更要求を行った場合のプリンタドライバ203による処理について説明する。   Hereinafter, a process performed by the printer driver 203 when the application 201 issues a print setting change request at a timing when the page changes after the print start request is described with reference to the flowchart of FIG. 13.

図13は、本発明の印刷制御装置における第6の制御処理手順の一例を示すフローチャートであり、アプリケーション201が印刷開始要求後、ページが変わるタイミングで印刷設定の変更要求を行った場合のプリンタドライバ203による処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S1501〜S1511は各ステップを示す。なお、図9のS1102〜S1105と、図13のS1508〜S1511とは同様のため、その説明は省略する。   FIG. 13 is a flowchart showing an example of a sixth control processing procedure in the print control apparatus of the present invention. The printer driver when the application 201 makes a print setting change request at a timing when the page changes after a print start request is made. This corresponds to the processing by 203. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. Also, S1501 to S1511 in the figure indicate each step. Since S1102 to S1105 in FIG. 9 and S1508 to S1511 in FIG. 13 are the same, description thereof is omitted.

アプリケーション201がグラフィックエンジン202に対して、印刷設定の変更要求を行った場合、プリンタドライバ203は、グラフィックエンジン202より変更対象の印刷設定を受信する(S1501)。   When the application 201 makes a print setting change request to the graphic engine 202, the printer driver 203 receives the print setting to be changed from the graphic engine 202 (S1501).

次に、プリンタドライバ203は、印刷設定を受信した際にプリンタドライバ203が印刷処理を行う上で必要なプリンタドライバ情報を格納するRAM2上に確保されたメモリ領域(メモリ1)を初期化する。メモリ1は、1部分の印刷ジョブを保存しているかどうかを判断するフラグ(SR1)を持ち、プリンタドライバ203は、SR1を「OFF」で初期化しておく(S1502)。   Next, when the printer driver 203 receives print settings, the printer driver 203 initializes a memory area (memory 1) secured on the RAM 2 that stores printer driver information necessary for the printer driver 203 to perform print processing. The memory 1 has a flag (SR1) for determining whether one print job is stored, and the printer driver 203 initializes SR1 to “OFF” (S1502).

次に、プリンタドライバ203は、グラフィックエンジン202より、新たに印刷処理に使われるのに必要なプリンタドライバ情報を格納するメモリ領域(メモリ1)と、これまで印刷処理に使われていたプリンタドライバ情報を格納していたRAM2上に確保されているメモリ領域(メモリ2)を渡され、メモリ2からメモリ1へ必要なプリンタドライバ情報を引き継ぐための引継ぎ要求を受信する(S1503)。   Next, the printer driver 203 receives, from the graphic engine 202, a memory area (memory 1) for storing printer driver information necessary for new print processing, and printer driver information used so far for print processing. Is transferred to the memory area (memory 2) secured on the RAM 2 and the handover request for transferring the necessary printer driver information from the memory 2 to the memory 1 is received (S1503).

次に、プリンタドライバ203は、メモリ2が持つ保存フラグ(SR2)をメモリ1が持つ保存フラグ(SR1)にコピーする。つまり、それまでの印刷処理において、1部分に印刷ジョブが保存されていれば、SR2には「ON」が設定されており、そのプリンタドライバ情報が以後の印刷処理に使われるSR1に引き継がれる。次に、SR2の設定は「OFF」にしておくように制御する。更に、メモリ2が持っていた部数カウンタCP2の値もメモリ1が持つ部数カウンタCP1にコピーしておく(S1504)。   Next, the printer driver 203 copies the save flag (SR2) held in the memory 2 to the save flag (SR1) held in the memory 1. In other words, if a print job is stored in one part in the print processing so far, “ON” is set in SR2, and the printer driver information is taken over by SR1 used in the subsequent print processing. Next, control is performed so that the setting of SR2 is set to “OFF”. Further, the value of the copy counter CP2 held in the memory 2 is also copied to the copy counter CP1 held in the memory 1 (S1504).

次に、プリンタドライバ203は、グラフィックエンジン202より、それまでの印刷処理に使われていたメモリ2のプリンタドライバ情報の破棄要求を受信する(S1505)。   Next, the printer driver 203 receives, from the graphic engine 202, a request for discarding the printer driver information in the memory 2 that has been used for the printing process so far (S1505).

次に、プリンタドライバ203は、メモリ2が持つSR2の値を確認し(S1506)、メモリ2が持つSR2に「ON」が設定されている(SR2に「OFF」が設定されていない)と判断した場合には、保存した印刷ジョブをプリンタ1500への送信する処理(S1508〜S1511)を行うが、ここでの説明では、ステップS1504にて、SR2は「OFF」に設定されているため送信処理は行われず(ステップS1507に移行するため)、1部分の保存ジョブは維持されたままにできる。   Next, the printer driver 203 confirms the value of SR2 that the memory 2 has (S1506), and determines that “ON” is set to SR2 that the memory 2 has (“OFF” is not set to SR2). In this case, processing (S1508 to S1511) for transmitting the saved print job to the printer 1500 is performed. In this description, since SR2 is set to “OFF” in step S1504, transmission processing is performed. Is not performed (because the process proceeds to step S1507), one part of the stored job can be maintained.

次に、プリンタドライバ203は、メモリ2のプリンタドライバ情報破棄処理を行う(S1507)。   Next, the printer driver 203 performs a printer driver information discarding process in the memory 2 (S1507).

以下、図14のフローチャートを用いて、図6の処理に図13での処理を考慮した場合の処理について説明する。   Hereinafter, the processing in the case where the processing in FIG. 13 is considered in the processing in FIG. 6 will be described using the flowchart in FIG.

図14は、本発明の印刷制御装置における第7の制御処理手順の一例を示すフローチャートであり、アプリケーション201が印刷開始要求後に、ページが変わるタイミングで印刷設定の変更要求を行うことを考慮したプリンタドライバ203による処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S1601〜S1615は各ステップを示す。なお、図6のステップS801〜S803と図14のステップS1601〜S1603とは同様のため、その説明は省略する。   FIG. 14 is a flowchart illustrating an example of a seventh control processing procedure in the print control apparatus according to the present invention. The printer 201 considers that the application 201 issues a print setting change request at a page change timing after a print start request. This corresponds to processing by the driver 203. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. Also, S1601 to S1615 in the figure indicate each step. Since steps S801 to S803 in FIG. 6 and steps S1601 to S1603 in FIG. 14 are the same, description thereof is omitted.

プリンタドライバ203は、グラフィックエンジン202から印刷設定を受信した際、プリンタドライバが印刷処理を行う上で必要なプリンタドライバ情報を格納するRAM2上に確保されたメモリ領域を初期化する。このメモリ領域には、印刷部数をカウントしておく部数カウンタ(CP)が存在し、プリンタドライバ203は、この部数カウンタ(CP)を「0」で初期化しておく。また、同メモリ領域には1部分のジョブを保存したかどうかを判断する保存フラグ(SR)が存在し、プリンタドライバ203は、この保存フラグ(SR)を「OFF」で初期化しておく(S1604)。   When the printer driver 203 receives print settings from the graphic engine 202, the printer driver 203 initializes a memory area secured on the RAM 2 that stores printer driver information necessary for the printer driver to perform print processing. In this memory area, there is a copy counter (CP) for counting the number of copies to be printed, and the printer driver 203 initializes this copy counter (CP) with “0”. Further, there is a storage flag (SR) for determining whether or not one part of the job has been stored in the memory area, and the printer driver 203 initializes the storage flag (SR) with “OFF” (S1604). ).

次のステップS1605については、図6のステップS805と同様のため、その説明は省略する。   Since the next step S1605 is the same as step S805 in FIG. 6, the description thereof is omitted.

次に、プリンタドライバ203は、グラフィックエンジン202より、印刷開始要求を受信した場合、これから1部分のジョブの保存を開始するか、もしくは既に1部分のジョブは保存されているかを示すため、保存フラグ(SR)にONを設定し(S1606)、プリンタドライバ203は、1ページ分の印刷処理を開始する(S1607)。   Next, when the printer driver 203 receives a print start request from the graphic engine 202, the printer driver 203 indicates whether to start saving one part of the job from now on or whether one part of the job has already been saved. (SR) is set to ON (S1606), and the printer driver 203 starts print processing for one page (S1607).

続いてのステップS1608,S1609については、図6のステップS806,S807と同様のため、その説明は省略するが、ステップS1609では、1ページ分の印刷ジョブの保存処理のみを行うものとする。   The subsequent steps S1608 and S1609 are the same as steps S806 and S807 in FIG. 6 and will not be described. However, in step S1609, only a print job storage process for one page is performed.

ステップS1610において、プリンタドライバ203は、1ページ分の印刷処理を終了する。   In step S1610, the printer driver 203 ends the printing process for one page.

アプリケーション201が印刷設定の変更要求をグラフィックエンジン202に対して行った場合、プリンタドライバ203は、グラフィックエンジン202より、変更対象の印刷設定を受信することになるため、ステップS1611において、プリンタドライバ203は、変更対象の印刷設定を受信したか否かを判断する。   When the application 201 makes a print setting change request to the graphic engine 202, the printer driver 203 receives the print setting to be changed from the graphic engine 202. In step S1611, the printer driver 203 Then, it is determined whether or not the print setting to be changed has been received.

ステップS1611で、プリンタドライバ203が、変更対象の印刷設定を受信したと判断した場合には、プリンタドライバ203は、印刷設定変更後の印刷処理を行う上で必要なプリンタドライバ情報を格納するRAM2上に確保されたメモリ領域(メモリ1)を初期化する。この時、ステップS1604と同様に、プリンタドライバ203は、このメモリ1に存在する部数カウンタ(CP<NEW>)は「0」で初期化するる。また、プリンタドライバ203は、同メモリ1に存在する保存フラグ((SR<NEW>)も「OFF」で初期化する(S1612)。   If the printer driver 203 determines in step S <b> 1611 that the print setting to be changed has been received, the printer driver 203 stores the printer driver information necessary for performing print processing after changing the print setting on the RAM 2. Initialize the memory area (memory 1) reserved in At this time, as in step S 1604, the printer driver 203 initializes the copy counter (CP <NEW>) existing in the memory 1 with “0”. The printer driver 203 also initializes the save flag ((SR <NEW>)) existing in the memory 1 with “OFF” (S1612).

次に、プリンタドライバ203は、グラフィックエンジン202より、新たに印刷処理に使われるのに必要なプリンタドライバ情報を格納するメモリ領域(メモリ1)と、これまで印刷処理に使われていたプリンタドライバ情報を格納していたメモリ領域(メモリ2)を渡され、メモリ2からメモリ1へ必要なプリンタドライバ情報を引き継ぐための要求をグラフィックエンジン202より受信する(S1613)。   Next, the printer driver 203 receives, from the graphic engine 202, a memory area (memory 1) for storing printer driver information necessary for new print processing, and printer driver information used so far for print processing. Is received from the graphic engine 202 (S1613). The graphic engine 202 receives a request for transferring the necessary printer driver information from the memory 2 to the memory 1 (S1613).

そして、プリンタドライバ203は、これまで印刷処理に使われていたプリンタドライバ情報を格納していたメモリ領域(メモリ2)が持つ保存フラグ(SR)をプリンタドライバが印刷設定変更後の印刷処理を行う上で必要なプリンタドライバ情報を格納するメモリ領域(メモリ1)が持つ保存フラグ(SR<NEW>)にコピーする。また、プリンタドライバ203は、保存フラグSRの設定を「OFF」にしておく。更に、後にメモリ2のプリンタドライバ情報は参照できなくなるため、プリンタドライバ203は、メモリ2が持っていた部数カウンタ(CP)の値もメモリ1が持つ部数カウンタ(CP<NEW>)にコピーしておく(S1614)。   Then, the printer driver 203 performs the printing process after the printer driver has changed the print setting based on the storage flag (SR) of the memory area (memory 2) in which the printer driver information that has been used for the printing process has been stored. Copy to the save flag (SR <NEW>) of the memory area (memory 1) for storing the printer driver information necessary above. In addition, the printer driver 203 sets the save flag SR to “OFF”. Further, since the printer driver information in the memory 2 cannot be referred to later, the printer driver 203 copies the value of the copy counter (CP) held in the memory 2 to the copy counter (CP <NEW>) held in the memory 1. (S1614).

次に、プリンタドライバ203は、グラフィックエンジン202より、これまで印刷処理に使われていたプリンタドライバ情報を格納していたメモリ領域(メモリ2)のプリンタドライバ情報を破棄するための要求(現在のプリンタドライバ情報破棄要求)を受信すると(S1615)、続いて、プリンタドライバ203は、これまで印刷処理に使われていたプリンタドライバ情報を格納していたメモリ領域(メモリ2)のプリンタドライバ情報を破棄するための処理(後述する図16に示すプリンタドライバ情報破棄処理)を実行し(S1616)、ステップS1617に移行する。なお、メモリ2のプリンタドライバ情報破棄後は、メモリ1が印刷処理を行う際に参照されることになるため、新たに印刷処理に使われるのに必要なプリンタドライバ情報を格納するメモリ領域(メモリ1)の部数カウンタ(CP<NEW>)や保存フラグ(SR<NEW>)は、印刷処理中に参照される部数カウンタ(CP)や保存カウンタ(SR)として扱われることになる。   Next, the printer driver 203 receives a request (current printer) from the graphic engine 202 to discard the printer driver information in the memory area (memory 2) in which the printer driver information that has been used for print processing has been stored. When the driver information discard request is received (S1615), the printer driver 203 discards the printer driver information in the memory area (memory 2) in which the printer driver information that has been used for the print processing is stored. For this purpose (printer driver information discarding process shown in FIG. 16 described later) is executed (S1616), and the process proceeds to step S1617. Note that after the printer driver information in the memory 2 is discarded, the memory 1 is referred to when performing printing processing, so a memory area (memory for storing printer driver information necessary for new printing processing) The copy counter (CP <NEW>) and save flag (SR <NEW>) of 1) are handled as the copy counter (CP) and save counter (SR) referred to during the printing process.

次に、プリンタドライバ203は、印刷終了要求を受信したか否かを判断し(S1617)、受信していないと判断した場合(即ち、アプリケーション201が次のページの印刷処理を実施する場合)には、プリンタドライバ203は、次のページの印刷処理を行うため、ステップS1607に戻り、次のページを印刷するための処理を繰り返す。   Next, the printer driver 203 determines whether or not a print end request has been received (S1617), and if it is determined that it has not been received (that is, when the application 201 performs a print process for the next page). In step S1607, the printer driver 203 returns to step S1607 to repeat the process for printing the next page.

一方、ステップS1617で、プリンタドライバ203が、印刷終了要求を受信したと判断した場合には、印刷終了するための処理(ステップS1618,S1619)を実行する。なお、図14内には示していないが、プリンタドライバ203は、ステップS1617において印刷終了要求を受信した際にも、印刷ジョブを終了させるために必要となるプリンタ記述言語の生成処理を行い、部数カウンタ(CP)が「0」であれば、該プリンタ記述言語を保存中の印刷ジョブに追加し、印刷ジョブの保存を完了することになる。ここで、ステップS1618,S1619については、図6のステップS809,S810と同様のため、その説明は省略する。   On the other hand, if the printer driver 203 determines in step S1617 that a print end request has been received, processing for ending printing (steps S1618 and S1619) is executed. Although not shown in FIG. 14, when the printer driver 203 receives a print end request in step S1617, the printer driver 203 performs processing for generating a printer description language necessary for ending the print job, and the number of copies. If the counter (CP) is “0”, the printer description language is added to the print job being saved, and the save of the print job is completed. Here, steps S1618 and S1619 are the same as steps S809 and S810 in FIG.

次に、図9の処理に図13での処理を考慮した場合の処理を図15で示すフローチャートを用いて説明する。   Next, processing when the processing of FIG. 13 is considered in the processing of FIG. 9 will be described using the flowchart shown in FIG.

図15は、本発明の印刷制御装置における第8の制御処理手順の一例を示すフローチャートであり、アプリケーションによりハンドルの破棄要求が発生され、プリンタドライバ203がプリンタドライバ情報破棄要求を受信した場合の、アプリケーション201が印刷設定の変更要求を行うことを考慮した、プリンタドライバの処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S1701〜S1702は各ステップを示す。   FIG. 15 is a flowchart showing an example of an eighth control processing procedure in the print control apparatus of the present invention. In the case where a handle discard request is generated by the application and the printer driver 203 receives the printer driver information discard request, This corresponds to the processing of the printer driver considering that the application 201 makes a print setting change request. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. Also, S1701 to S1702 in the figure indicate each step.

まず、アプリケーション201がグラフィックエンジン202に対してハンドルの破棄要求を行うと、プリンタドライバ203は、プリンタドライバ203が印刷処理を行う上で必要なプリンタドライバ情報を格納するメモリ領域のプリンタドライバ情報を破棄するための要求をグラフィックエンジン202より受信する(S1701)。   First, when the application 201 makes a handle discard request to the graphic engine 202, the printer driver 203 discards the printer driver information in a memory area that stores printer driver information necessary for the printer driver 203 to perform print processing. A request for this is received from the graphic engine 202 (S1701).

次に、プリンタドライバ203は、これまで印刷処理に使われていたプリンタドライバ情報を格納していたメモリ領域のプリンタドライバ情報を破棄するための処理(後述する図16で示すプリンタドライバ情報破棄処理)を実施し(S1702)、本フローチャートの処理を終了する。   Next, the printer driver 203 discards the printer driver information in the memory area in which the printer driver information that has been used for the printing process has been stored (printer driver information discarding process shown in FIG. 16 described later). (S1702), and the process of this flowchart is terminated.

図16は、本発明の印刷制御装置における第9の制御処理手順の一例を示すフローチャートであり、図14のステップS1616,図15のステップS1702に示したプリンタドライバ情報破棄処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S1801〜S1806は各ステップを示す。   FIG. 16 is a flowchart showing an example of a ninth control processing procedure in the print control apparatus of the present invention, and corresponds to the printer driver information discarding processing shown in step S1616 in FIG. 14 and step S1702 in FIG. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. Further, S1801 to S1806 in the figure indicate each step.

まず、プリンタドライバ203は、プリンタドライバ203が印刷処理を行う上で必要なプリンタドライバ情報を格納するメモリ領域に保持する保存フラグ(SR)に「ON」が設定されているか否かを判断し(S1801)、「ON」に設定されていない(「OFF」に設定されていると判断した場合には、アプリケーション201から印刷処理が継続中であることを表すため、ステップS1806に処理を移行し、プリンタドライバ203は、印刷処理を行う上で必要なプリンタドライバ情報を格納するメモリ領域のプリンタドライバ情報の破棄処理のみを行い、本フローチャートの処理を終了する。   First, the printer driver 203 determines whether or not “ON” is set in a storage flag (SR) held in a memory area for storing printer driver information necessary for the printer driver 203 to perform print processing ( S1801) If it is determined that “ON” is not set (“OFF” is set), the process proceeds to step S1806 to indicate that the printing process is being continued from the application 201. The printer driver 203 performs only the discarding process of the printer driver information in the memory area for storing the printer driver information necessary for performing the printing process, and ends the process of this flowchart.

一方、ステップS1801で、プリンタドライバ203が、プリンタドライバ203が印刷処理を行う上で必要なプリンタドライバ情報を格納するメモリ領域に保持する保存フラグ(SR)に「ON」が設定されていると判断した場合には、アプリケーション201の印刷要求が全て終わっていることになるので、プリンタドライバ203は、1部分の印刷ジョブをプリンタに送信するための処理を実行することになり、図14のステップS1609で示した1部分の保存が完了した印刷ジョブを、プリンタドライバ203が確保したメモリ領域に読み込む(S1802)。   On the other hand, in step S1801, the printer driver 203 determines that “ON” is set in the storage flag (SR) held in the memory area for storing printer driver information necessary for the printer driver 203 to perform print processing. In this case, since all the print requests of the application 201 have been completed, the printer driver 203 executes a process for transmitting a part of the print job to the printer, and step S1609 in FIG. The print job in which the saving of one part shown in FIG. 4 is completed is read into the memory area secured by the printer driver 203 (S1802).

続く、ステップS1803〜S1806の処理は、図9のステップS1103〜S1106と同様であるので、その説明は省略する。   The subsequent processes in steps S1803 to S1806 are the same as steps S1103 to S1106 in FIG.

従って、アプリケーション201が印刷開始要求後に印刷設定を変更する場合にも、保存フラグ(SR)の判断により、プリンタドライバ203は、印刷ジョブの保存中にはプリンタ1500への印刷ジョブの送信処理を行わずに、アプリケーション201からの印刷処理が全て完了し、印刷ジョブが完成した段階で適切にプリンタ1500への印刷ジョブの送信処理を行うことができる。   Therefore, even when the application 201 changes print settings after requesting to start printing, the printer driver 203 performs processing for transmitting a print job to the printer 1500 while the print job is being saved, based on the determination of the save flag (SR). In addition, when all the print processing from the application 201 is completed and the print job is completed, the print job transmission processing to the printer 1500 can be appropriately performed.

以上説明したように、本実施形態のプリントドライバ203は、印刷要求データの終了(図14のS1617でYes相当)前にプリンタドライバ破棄要求を受信した場合(図14のS1615に相当)には、印刷ジョブデータの送信(図16)は行わず、前記印刷要求データの終了後に前記破棄要求を受信するまで(図14のS1619がNoになるまで)、前記印刷要求データのカウントを続行する(図14のステップS1606〜S1619を繰り返す)ものである。   As described above, when the print driver 203 of this embodiment receives a printer driver discard request (corresponding to S1615 in FIG. 14) before the end of the print request data (corresponding to Yes in S1617 in FIG. 14), Transmission of print job data (FIG. 16) is not performed, and the count of the print request data is continued until the discard request is received after the end of the print request data (until S1619 in FIG. 14 becomes No) (FIG. 16). 14 steps S1606 to S1619 are repeated).

以上、実施形態例を詳述したが、本発明の機能が実行されるのであれば、単体の機器であっても、複数の機器からなるシステムであっても、LAN,WAN等のネットワークを介して接続がなされ処理が行われるシステムであっても本発明を適用できることはいうまでもない。   The embodiment has been described in detail. However, as long as the functions of the present invention are executed, a single device or a system composed of a plurality of devices may be used via a network such as a LAN or WAN. Needless to say, the present invention can be applied to a system in which connection is made and processing is performed.

また、本発明は、丁合い印刷に関するものであるが、例え、印刷しようとしているアプリケーションの文書データが1ページだけで構成されるものであっても適用できることはいうまでもない。   Although the present invention relates to collation printing, it goes without saying that the present invention can be applied even if the document data of an application to be printed is composed of only one page.

〔他の実施形態〕
上述の図10で示した印刷ジョブの変換処理において、図7で示した印刷ジョブを保存する時点では、図6又は図14に示した処理が実行されているため、プリンタドライバ203は、プリンタに丁合い印刷を指示することは分かっている。
[Other Embodiments]
In the print job conversion process shown in FIG. 10 described above, when the print job shown in FIG. 7 is saved, the process shown in FIG. 6 or 14 is executed. It is known to direct collate printing.

そのため、この印刷ジョブを保存する時点で、丁合い印刷を指示する命令を「ON」にして印刷ジョブデータを生成しておいてもよい。より具体的に示すと、プリンタドライバ203は、RAM2のメモリ領域に格納される印刷設定情報等に基づいて、丁合い印刷指定命令,部数設定命令,用紙サイズ(及び用紙向き)の指定命令等をプリンタ記述言語で生成する際に、丁合い印刷指定命令を「ON」として生成するようにする。この場合、図10に示したフローチャートは、図17のフローで示すように、印刷ジョブに変換するために必要なプリンタ記述言語による印刷ジョブの変更処理は、部数を設定する命令を変更する処理だけとなる。その場合の処理を図17のフローチャートを用いて説明する。   For this reason, at the time of storing this print job, the print job data may be generated by setting the instruction for collating printing to “ON”. More specifically, the printer driver 203 issues a collate print designation command, a copy number setting command, a paper size (and paper orientation) designation command, etc. based on the print setting information stored in the memory area of the RAM 2. When generating in the printer description language, the collation print designation command is generated as “ON”. In this case, as shown in the flowchart of FIG. 17, in the flowchart shown in FIG. 10, the change process of the print job in the printer description language necessary for conversion into the print job is only the process of changing the command for setting the number of copies. It becomes. Processing in that case will be described with reference to the flowchart of FIG.

図17は、本発明の印刷制御装置における第10の制御処理手順の一例を示すフローチャートであり、図14のステップS1616,図15のステップS1702に示したプリンタドライバ情報破棄処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S1901〜S1903は各ステップを示す。   FIG. 17 is a flowchart showing an example of a tenth control processing procedure in the print control apparatus of the present invention, and corresponds to the printer driver information discarding processing shown in step S1616 in FIG. 14 and step S1702 in FIG. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. Also, S1901 to S1903 in the figure indicate each step.

まず、プリンタドライバ203は、印刷ジョブデータの命令群の中から、部数を設定する命令(部数設定命令)を見つけ出すための検索を行う(S1901)。次に、検索した命令が部数を設定する命令(部数設定命令)かどうか確認する(S1902)。   First, the printer driver 203 performs a search to find a command for setting the number of copies (number of copies setting command) from the command group of the print job data (S1901). Next, it is confirmed whether or not the retrieved instruction is an instruction for setting the number of copies (copy setting instruction) (S1902).

ステップS1902で、プリンタドライバ203は、検索した命令が部数を設定する命令(部数設定命令)であると判断した場合には、その命令で指定する部数情報を、図6のステップS809又は図14のステップS1608の処理によりカウントしていた部数カウンタ(CP)の値に変更し(S1903)、本フローチャートの処理を終了する。   If the printer driver 203 determines in step S1902 that the retrieved command is a command for setting the number of copies (copy setting command), the number of copies specified by the command is stored in step S809 in FIG. 6 or in FIG. The value is changed to the value of the copy counter (CP) counted in step S1608 (S1903), and the process of this flowchart ends.

一方、ステップS1902で、プリンタドライバ203が、検索した命令が部数を設定する命令(部数設定命令)でないと判断した場合には、ステップS1901の処理に戻り、検索処理を繰り返す。   On the other hand, if the printer driver 203 determines in step S1902 that the searched command is not a command for setting the number of copies (copy number setting command), the process returns to step S1901 to repeat the search processing.

さらに、図10や図17で示した印刷ジョブデータ変換処理において、検索処理を行わず、図7で示した印刷ジョブを保存していく過程で、部数を設定する命令(部数設定命令)や丁合い印刷を指示する命令(丁合い印刷指定命令)を保存する際に、保存ジョブの先頭からのオフセット等、その命令を保存した位置を、プリンタドライバ203が印刷処理を行う上で必要なプリンタドライバ情報を格納するメモリ領域に記憶しておき、図9のステップS1103又は、図13のステップS1509、図16のステップS1803の印刷ジョブデータ変換処理時に、上記記憶した位置(部数設定命令保存位置,丁合い印刷指示命令保存位置)にあるプリンタ記述言語(部数設定命令,丁合い印刷指示命令)を直接変更するように構成してもよい。その場合、図7で示す印刷ジョブの保存処理のフローは、以下、図18に示すフローチャートの処理となる。   Further, in the process of converting the print job data shown in FIGS. 10 and 17, the search process is not performed and the print job shown in FIG. A printer driver necessary for the printer driver 203 to perform print processing for the position where the command is saved, such as an offset from the head of the saved job, when saving a command for instructing printing (collation printing designation command) The information is stored in a memory area in which information is stored, and the above-described stored position (copy setting command storage position, position in the step S1103 in FIG. 9, or step S1509 in FIG. 13, and step S1803 in FIG. The printer description language (copy setting instruction, collate printing instruction command) in the collation printing instruction command storage position) may be directly changed.In that case, the flow of the print job storage process shown in FIG. 7 is the process of the flowchart shown in FIG.

図18は、本発明の印刷制御装置における第11の制御処理手順の一例を示すフローチャートであり、図6のステップS807,図14のステップS1609に示した印刷ジョブの保存処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S2001〜S2006は各ステップを示す。   FIG. 18 is a flowchart showing an example of an eleventh control processing procedure in the print control apparatus of the present invention, and corresponds to the print job storage processing shown in step S807 of FIG. 6 and step S1609 of FIG. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. In the figure, S2001 to S2006 indicate each step.

ステップS2001,S2002は、図7で示したステップS901,S902と同様であるため、その説明は省略する。   Steps S2001 and S2002 are the same as steps S901 and S902 shown in FIG.

次に、プリンタドライバ203は、ステップS2002で保存したプリンタ記述言語が、部数を設定する命令(部数設定命令)だったか否かを確認し(S2003)、部数を設定する命令(部数設定命令)だったと判断した場合には、プリンタドライバ203は、その命令を保存しているジョブのどの位置に保存したかの情報を、部数設定命令位置として、プリンタドライバ203が印刷処理を行う上で必要な情報を格納するメモリ領域に設定する(S2004)。   Next, the printer driver 203 confirms whether or not the printer description language saved in step S2002 is a command for setting the number of copies (copy setting command) (S2003), and is a command for setting the number of copies (copy setting command). If the printer driver 203 determines that the command has been stored, the printer driver 203 uses the information on which position of the job storing the command as the copy setting command position as information necessary for the printer driver 203 to perform print processing. Is set in the memory area for storing (S2004).

一方、ステップS2003で、プリンタドライバ203は、ステップS2002で保存したプリンタ記述言語が、部数を設定する命令(部数設定命令)でなかったと判断した場合には、プリンタドライバ203は、ステップS2002で保存したプリンタ記述言語が、丁合い印刷を指示する命令(丁合い印刷指示命令)だったか否かを確認する(S2005)。   On the other hand, if the printer driver 203 determines in step S2003 that the printer description language saved in step S2002 is not a command for setting the number of copies (copy number setting command), the printer driver 203 saves it in step S2002. It is checked whether or not the printer description language is a command for instructing collation printing (collation printing instruction command) (S2005).

ステップS2005で、プリンタドライバ203が、ステップS2002で保存したプリンタ記述言語が、丁合い印刷を指示する命令(丁合い印刷指示命令)だったと判断した場合には、プリンタドライバ203は、その命令を保存しているジョブのどの位置に保存したかの情報を丁合い印刷指示命令位置として、格納するメモリ領域に設定する(S2006)。   If the printer driver 203 determines in step S2005 that the printer description language saved in step S2002 is a command for collating printing (collated printing command), the printer driver 203 saves the command. Information on which position of the job is stored is set as a collation print instruction command position in the memory area to be stored (S2006).

一方、ステップS2005で、プリンタドライバ203が、ステップS2002で保存したプリンタ記述言語が、丁合い印刷を指示する命令(丁合い印刷指示命令)でなかったと判断した場合には、丁合い印刷指示命令位置の記憶は行わない。   On the other hand, if the printer driver 203 determines in step S2005 that the printer description language saved in step S2002 is not a command for instructing collation printing (collation printing instruction command), the collation printing instruction command position Is not memorized.

従って、プリンタドライバ203は、印刷ジョブデータの変換処理時には、プリンタドライバ203が印刷処理を行う上で必要な情報を格納するメモリ領域を参照し、そこに設定された位置情報を元に、部数設定命令と丁合い印刷指示命令に対応するプリンタ記述言語を置き換えればよいだけとなる。   Accordingly, the printer driver 203 refers to a memory area for storing information necessary for the printer driver 203 to perform print processing during print job data conversion processing, and sets the number of copies based on the position information set there. It is only necessary to replace the printer description language corresponding to the command and the collate print instruction command.

以上説明したように、本実施形態のプリンタドライバ203は、印刷ジョブデータの生成時に、前記印刷ジョブデータ内の部数設定命令位置,丁合い印刷指示命令位置とをRAM2内の印刷処理を行う上で必要な情報を格納するメモリ領域に記憶しておき、該記憶される前記印刷ジョブデータ内の部数設定命令位置,丁合い印刷指示命令位置に、部数カウンタ(CP)のカウント値,丁合い印刷指示を有効にする情報を設定するように前記印刷ジョブデータを変更するものである。   As described above, the printer driver 203 according to the present embodiment performs the print processing in the RAM 2 using the copy setting command position and the collate print instruction command position in the print job data when generating the print job data. Necessary information is stored in a memory area, and the copy counter (CP) count value and collate print instruction are set at the copy setting instruction position and collate print instruction instruction position in the stored print job data. The print job data is changed so as to set information for enabling the.

また、図17で示したように、印刷ジョブを保存する時点で、丁合い印刷を指示する命令を「ON」として発行しておく場合においては、部数設定命令の位置情報のみを記憶しておき、印刷ジョブデータの変換処理時には、プリンタドライバ203が印刷処理を行う上で必要な情報を格納するメモリ領域を参照し、そこに設定された位置情報を元に、部数設定命令に対応するプリンタ記述言語を置き換えればよいことはいうまでもない。   In addition, as shown in FIG. 17, when a command to instruct collate printing is issued as “ON” at the time of saving a print job, only the position information of the number setting command is stored. When the print job data is converted, the printer driver 203 refers to a memory area for storing information necessary for the print process, and based on the position information set there, the printer description corresponding to the copy setting command Needless to say, the language can be replaced.

また、プリンタドライバ203は、図7に示した印刷ジョブを保存していく過程で、部数設定命令や丁合い印刷指定命令を保存せず、図10で示した印刷ジョブデータ変換処理、プリンタ1500が丁合い印刷を実現するために必要な箇所に該プリンタ記述言語を追加するように構成してもよい。   The printer driver 203 does not store the copy number setting command or the collate print designation command in the process of storing the print job shown in FIG. 7, and the print job data conversion process shown in FIG. You may comprise so that this printer description language may be added to the location required in order to implement | achieve collate printing.

また、図7で示した処理により保存される印刷ジョブは、1部分のみとしたが、プリンタドライバ203は、図6のステップS806や図14のステップS1608の判断を行わず、常に、図6のステップS807や図14のステップS1609の処理を行うようにし、全部数のジョブを個々に保存し、その中から1つだけを選択して印刷ジョブデータの変換処理を施した上で、プリンタ1500への送信処理を行うように構成してもよい。つまり、プリンタドライバ203は、印刷開始要求を受信した場合、常に、新たに保存ジョブを作成していくことで、最終的には部数分の保存ジョブが作成されることになる。その場合、図6で示したフローチャートの処理は、図19に示すフローチャートの処理となる。   Further, although the print job saved by the processing shown in FIG. 7 is only one part, the printer driver 203 does not make the determination in step S806 in FIG. 6 or step S1608 in FIG. Processing in step S807 and step S1609 in FIG. 14 is performed, all the jobs are individually stored, and only one of them is selected and subjected to print job data conversion processing, and then to the printer 1500. The transmission process may be performed. That is, when the printer driver 203 receives a print start request, the printer driver 203 always creates a new saved job, so that finally, the saved jobs for the number of copies are created. In that case, the process of the flowchart shown in FIG. 6 is the process of the flowchart shown in FIG.

図19は、本発明の印刷制御装置における第12の制御処理手順の一例を示すフローチャートであり、図1に示したホストコンピュータ3000上で実行されるプリンタドライバ203による部数をカウントする処理と印刷ジョブを保存する処理に対応する。なお、このフローチャートの処理は、図1に示したホストコンピュータ3000のCPU1が外部メモリ11に記憶されるプリンタドライバ203をRAM2上で実行することにより実現される。また、図中S801〜S805,S807,S808,S810は各ステップを示す。   FIG. 19 is a flowchart showing an example of a twelfth control processing procedure in the print control apparatus according to the present invention. Processing for counting the number of copies by the printer driver 203 executed on the host computer 3000 shown in FIG. Corresponds to the process of saving. Note that the processing of this flowchart is realized by the CPU 1 of the host computer 3000 shown in FIG. 1 executing the printer driver 203 stored in the external memory 11 on the RAM 2. In the figure, S801 to S805, S807, S808, and S810 indicate steps.

各ステップS801〜S805,S807,S808,S810は、図6と同様のため、その説明は割愛する。   Steps S801 to S805, S807, S808, and S810 are the same as in FIG.

図19のフローチャートの処理により、保存ジョブの量が増えることにより、スループットの低下が予想されるが、丁合い印刷実現のために、それぞれのジョブは同一のはずであり、それぞれのジョブが同一に作成できたかどうかの確認を厳密に行うことが可能である。   Through the processing of the flowchart of FIG. 19, a decrease in throughput is expected due to an increase in the amount of stored jobs. However, in order to realize collate printing, each job should be the same, and each job should be the same. It is possible to strictly check whether it has been created.

また、その場合、図6のステップS809で示すように印刷終了要求の受信回数を部数カウンタ(CP)によりカウントアップすることにより保存したジョブ数をカウントするステップを設けてもよいが、部数カウンタ(CP)の参照は行わず、図10のステップS1203や図17のステップS1903において、部数を設定する命令の部数情報を変換する時点で、保存された印刷ジョブの保存数を確認(カウント)し、その確認した印刷ジョブの保存数で印刷ジョブデータ変換を行ってもよい。   In this case, as shown in step S809 in FIG. 6, there may be provided a step of counting the number of stored jobs by counting up the number of reception of the print end request by the number of copies counter (CP). In step S1203 in FIG. 10 and step S1903 in FIG. 17, the number of copies of the saved print job is confirmed (counted) at the time when the number of copies information of the command for setting the number of copies is converted. The print job data conversion may be performed with the confirmed number of stored print jobs.

また、図19のフローチャートは、図6のフローの変形として説明したが、図14のフローについても同様に変形して実行することが可能である。   Further, although the flowchart of FIG. 19 has been described as a modification of the flow of FIG. 6, the flow of FIG. 14 can be similarly modified and executed.

即ち、プリンタドライバ203は、図14のステップS1608の判断を行わず、常に、図14のステップS1609の処理を行うようにし、全部数のジョブを個々に保存し、その中から1つだけを選択して印刷ジョブデータの変換処理を施した上で、プリンタ1500への送信処理を行うように構成する。   That is, the printer driver 203 does not make the determination in step S1608 in FIG. 14, but always performs the process in step S1609 in FIG. 14, saves all the jobs individually, and selects only one of them. Then, after the print job data conversion process is performed, the transmission process to the printer 1500 is performed.

なお、上記実施形態では、プリンタ1500が、印刷部数と丁合い印刷を指定した印刷ジョブデータを受信した場合に、プリンタ1500側で、前記印刷ジョブデータに設定された印刷部数の丁合い印刷処理もしくは印刷部数分の排紙トレイを使って文書単位の仕分け印刷処理を実行可能なプリンタである場合について説明したが、本実施形態のプリンタドライバ203は、プリンタの機能情報をプリンタから取得し(又は、予めプリンタドライバの詳細情報に設定しておき、該詳細情報から取得し)、該プリンタがプリンタ側で前記丁合い印刷処理,前記仕分け印刷処理のいずれも実行できないプリンタであると判断した場合には、指定部数の丁合い印刷を行うために1部の印刷を行うための印刷要求を前記指定部数分生成するアプリケーションプログラムにより連続して生成される前記印刷要求データを受信した場合でも、印刷ジョブデータのカウント,変換は行わず、各印刷要求データ毎に印刷ジョブデータを生成し、指定印刷部数分の印刷ジョブデータをプリンタに送信するように構成してもよい。   In the above embodiment, when the printer 1500 receives print job data specifying the number of copies and collation printing, the printer 1500 side performs collation printing processing of the number of print copies set in the print job data or The printer driver 203 according to the present embodiment acquires the printer function information from the printer (or the printer driver 203 in the present embodiment). If it is determined in advance that the printer driver is incapable of performing either the collate printing process or the sort printing process on the printer side, the printer driver is previously set in the detailed information of the printer driver and obtained from the detailed information) An application that generates a print request for performing one copy for the specified number of copies in order to perform the collation printing for the specified number of copies. Even when the print request data continuously generated by the print program is received, the print job data is not counted and converted, print data is generated for each print request data, and print job data for the specified number of print copies. May be configured to be transmitted to the printer.

これにより、前記丁合い印刷機能や前記仕分け印刷機能がオプション機能となっているプリンタにおいて、該オプション機能が搭載されていないプリンタにも適用可能とすることができ、後付けで前記丁合い印刷機能や前記仕分け印刷機能のオプションを搭載した後も、同一のプリンタドライバにより、該プリンタ側の丁合い印刷機能や仕分け印刷機能を用いた丁合い印刷を行うことができる。   Accordingly, in the printer in which the collation printing function or the sorting printing function is an optional function, it can be applied to a printer not equipped with the optional function. Even after the option of the sorting printing function is installed, the same printer driver can perform the collating printing using the collating printing function and the sorting printing function on the printer side.

なお、図3に示したプリントサーバコンピュータ4000に上述したプリンタドライバ203と同等の機能を備えるように構成してもよい。   Note that the print server computer 4000 shown in FIG. 3 may have a function equivalent to that of the printer driver 203 described above.

詳細には、従来のプリンタドライバにより、指定部数の丁合い印刷を行うために1部の印刷を行うための印刷要求を前記指定部数分生成するアプリケーションプログラムにより連続して生成される前記印刷要求データから各印刷要求データ毎に生成され送信される前記指定部数分の印刷ジョブデータを、プリントサーバコンピュータ4000が受信した場合に、該プリントサーバコンピュータ4000は、該受信した前記指定部数分の印刷ジョブデータをカウントし、いずれか1つの印刷ジョブデータを選択し、該選択した印刷ジョブデータの部数設定命令に前記カウント値を変更設定するとともに、前記印刷ジョブデータの丁合い印刷指示命令として丁合い印刷指示を有効とする情報(ON)を変更設定するように前記いずれかの印刷ジョブデータを変更し、該変更した印刷ジョブデータのみを、プリントサーバコンピュータ4000のプリントサブシステムを介してプリントサーバコンピュータ4000にローカル接続されるプリンタ1500に送信するように構成してもよい。   Specifically, the print request data continuously generated by an application program for generating a print request for performing one copy for the purpose of collating printing of a specified number of copies by a conventional printer driver. When the print server computer 4000 receives the specified number of print job data generated and transmitted for each print request data from the print server computer 4000, the print server computer 4000 receives the specified number of print job data. , Select any one of the print job data, change and set the count value to the number of copies setting instruction of the selected print job data, and also perform a collate print instruction as a collate print instruction instruction of the print job data One of the print jobs is changed so that the information (ON) that enables the Change the data, only the print job data the changes, it may be configured to transmit to the print server computer 4000 via the printing subsystem of the print server computer 4000 to the printer 1500 which is locally connected.

なお、上記各実施形態及び各変形例のいずれか又は全てを合わせた構成も全て本発明に含まれるものである。   In addition, all the structures which combined any one or all of said each embodiment and each modification are also contained in this invention.

以上、各実施形態について示したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記録媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。   As described above, each embodiment has been described. However, the present invention can take an embodiment as a system, apparatus, method, program, recording medium, or the like, and specifically includes a plurality of devices. The present invention may be applied to a system including a single device.

以上説明したように、丁合い印刷機能もしくは、複数の排紙トレイを使って文書単位の仕分け印刷を機能として有するプリンタと、そのプリンタに接続されたパーソナルコンピュータ等の情報処理装置からなるシステムにおいて、アプリケーションが丁合い印刷を実現するために、同じ内容の印刷ジョブが複数分割されるような印刷要求を行ってくる場合に、アプリケーションが丁合い印刷のために、部数分生成しようとしている印刷ジョブ数を判断し、生成しようとしている部数分の印刷ジョブの中から1部分の印刷ジョブを取り出して保存し、1ジョブで丁合い印刷を実現するために、前記保存した印刷ジョブの部数設定情報を、アプリケーションが部数分生成しようといていた印刷ジョブ数に変更設定し、プリンタで丁合い印刷を実行するために、前記保存した印刷ジョブの丁合い印刷指示情報を、プリンタに丁合い印刷を指示する情報に変更設定して、指定部数を丁合い印刷する1つの印刷ジョブデータとしてプリンタに送信することを可能にすることにより、指定部数の丁合い印刷指示を、部数分のジョブに分割して丁合い印刷を実現しようとするアプリケーションの仕様に関わらず、プリンタの有する丁合い印刷機能を用いて前記指定部数の丁合い印刷を実行することができ、指定部数の丁合い印刷を実現するために1部に設定された同じ内容の印刷ジョブが複数に分割されてプリンタに送信されてしまうことに起因する従来の各種問題点を解決することができる。   As described above, in a system including a collation printing function or a printer having a function of sorting printing in units of documents using a plurality of discharge trays, and an information processing device such as a personal computer connected to the printer, The number of print jobs that the application is trying to generate for collation printing when the application makes a print request that divides multiple print jobs with the same content in order to achieve collation printing. In order to take out and save one print job from the print jobs for the number of copies to be generated and realize collation printing with one job, the copy setting information of the saved print job is Change the number of print jobs that the application was trying to generate for the number of copies, and execute collate printing on the printer. Therefore, the collation print instruction information of the stored print job is changed to information for instructing the printer to perform collation printing, and the designated number of copies is transmitted to the printer as one print job data to be collated. The collation printing instruction for the specified number of copies is divided into jobs for the number of copies and the collation printing function of the printer is used to perform the above-mentioned collation printing function. It is possible to execute collated printing of the specified number of copies, and the same content print job set as one copy in order to realize the specified number of collated prints is divided into a plurality of parts and transmitted to the printer It is possible to solve various conventional problems.

従って、丁合い印刷のために部数分の印刷ジョブが分けられるようなアプリケーションプログラムからの印刷要求に対し、1ジョブでその部数の丁合い印刷を実現することができる等の効果を奏する。   Therefore, there is an effect that, for a print request from an application program that can divide a print job for the number of copies for collation printing, the collation printing for the number of copies can be realized with one job.

以下、図20に示すメモリマップを参照して本発明に係る印刷制御装置であるホストコンピュータ3000等の情報処理装置で読み取り可能なデータ処理プログラムの構成について説明する。   The configuration of a data processing program that can be read by an information processing apparatus such as the host computer 3000, which is a print control apparatus according to the present invention, will be described below with reference to the memory map shown in FIG.

図20は、本発明に係る印刷制御装置であるホストコンピュータ3000等の情報処理装置で読み取り(読み出し)可能な各種データ処理プログラムを格納する記録媒体(記憶媒体)のメモリマップを説明する図である。   FIG. 20 is a diagram for explaining a memory map of a recording medium (storage medium) that stores various data processing programs that can be read (read) by an information processing apparatus such as the host computer 3000 which is a print control apparatus according to the present invention. .

なお、特に図示しないが、記録媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。   Although not specifically shown, information for managing a program group stored in the recording medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.

さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、インストールするプログラムやデータが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。   Further, data depending on various programs is also managed in the directory. In addition, when a program or data to be installed is compressed, a program to be decompressed may be stored.

本実施形態における図6,図7,図9,図10,図11,図13,図14,図15,図16,図17,図18,図19に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記録媒体により、あるいはネットワークを介して外部の記録媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。   6, 7, 9, 10, 11, 13, 14, 15, 16, 17, 18, and 19 in the present embodiment are executed by a program installed from the outside. May be performed by a host computer. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a recording medium such as a CD-ROM, a flash memory, or an FD, or from an external recording medium via a network. Is.

以上のように、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   As described above, a recording medium in which a program code of software for realizing the functions of the above-described embodiments is recorded is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus is stored in the recording medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the program code.

この場合、記録媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記録媒体は本発明を構成することになる。   In this case, the program code itself read from the recording medium realizes the novel function of the present invention, and the recording medium storing the program code constitutes the present invention.

プログラムコードを供給するための記録媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,DVD−ROM,磁気テープ,不揮発性のメモリカード,ROM,EEPROM,シリコンディスク等を用いることができる。   As a recording medium for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, DVD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, A silicon disk or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Furthermore, after the program code read from the recording medium is written in a memory provided in a function expansion board inserted in the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

また、本発明は、複数の機器から構成されるシステムに適用しても、1つの機器からなる装置に適用してもよい。また、本発明は、システムあるいは装置にプログラムを供給することによって達成される場合にも適応できることは言うまでもない。この場合、本発明を達成するためのソフトウェアによって表されるプログラムを格納した記録媒体を該システムあるいは装置に読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   Further, the present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Needless to say, the present invention can be applied to a case where the present invention is achieved by supplying a program to a system or apparatus. In this case, by reading a recording medium storing a program represented by software for achieving the present invention into the system or apparatus, the system or apparatus can enjoy the effects of the present invention.

さらに、本発明を達成するためのソフトウェアによって表されるプログラムをネットワーク上のサーバ,データベース等から通信プログラムによりダウンロードして読み出すことによって、そのシステムあるいは装置が、本発明の効果を享受することが可能となる。   Furthermore, by downloading and reading out a program represented by software for achieving the present invention from a server, database, etc. on a network using a communication program, the system or apparatus can enjoy the effects of the present invention. It becomes.

本発明の一実施形態を示す印刷制御装置を適用可能な印刷システムの構成例を説明するブロック図である。1 is a block diagram illustrating a configuration example of a printing system to which a printing control apparatus showing an embodiment of the present invention can be applied. 図1に示したホストコンピュータからプリンタに印刷ジョブデータを送信する際の流れを示した主要な機能ブロック図である。FIG. 2 is a main functional block diagram showing a flow when transmitting print job data from a host computer shown in FIG. 1 to a printer. 図1に示したホストコンピュータ,プリンタを適用可能な印刷システムの一例を示すシステム構成図である。FIG. 2 is a system configuration diagram illustrating an example of a printing system to which the host computer and the printer illustrated in FIG. 1 can be applied. 本発明の印刷制御装置における印刷を行う場合の基本的な処理の流れを示すステータス図である。FIG. 6 is a status diagram illustrating a flow of basic processing when printing is performed in the print control apparatus of the present invention. 図1に示したホストコンピュータ上で実行される丁合い印刷のために印刷ジョブを部数分分割するような印刷要求を行うアプリケーションの丁合い印刷処理手順の一例を示すフローチャートである。3 is a flowchart illustrating an example of a collation print processing procedure of an application that makes a print request for dividing a print job by the number of copies for collation printing executed on the host computer illustrated in FIG. 1. 本発明の印刷制御装置における第1の制御処理手順の一例を示すフローチャートである。5 is a flowchart illustrating an example of a first control processing procedure in the print control apparatus of the present invention. 本発明の印刷制御装置における第2の制御処理手順の一例を示すフローチャートである。6 is a flowchart illustrating an example of a second control processing procedure in the print control apparatus of the present invention. 図1に示したプリンタドライバが生成する印刷ジョブデータのデータ構造の一例を示す模式図である。FIG. 2 is a schematic diagram illustrating an example of a data structure of print job data generated by the printer driver illustrated in FIG. 1. 本発明の印刷制御装置における第3の制御処理手順の一例を示すフローチャートである。10 is a flowchart illustrating an example of a third control processing procedure in the print control apparatus of the present invention. 本発明の印刷制御装置における第4の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 4th control processing procedure in the printing control apparatus of this invention. 本発明の印刷制御装置における第5の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 5th control processing procedure in the printing control apparatus of this invention. アプリケーションが印刷設定を変更する場合の処理の流れを示すステータス図である。FIG. 10 is a status diagram illustrating a processing flow when an application changes print settings. 本発明の印刷制御装置における第6の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 6th control processing procedure in the printing control apparatus of this invention. 本発明の印刷制御装置における第7の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 7th control processing procedure in the printing control apparatus of this invention. 本発明の印刷制御装置における第8の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 8th control processing procedure in the printing control apparatus of this invention. 本発明の印刷制御装置における第9の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 9th control processing procedure in the printing control apparatus of this invention. 本発明の印刷制御装置における第10の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 10th control processing procedure in the printing control apparatus of this invention. 本発明の印刷制御装置における第11の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 11th control processing procedure in the printing control apparatus of this invention. 本発明の印刷制御装置における第12の制御処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the 12th control processing procedure in the printing control apparatus of this invention. 本発明に係る印刷制御装置であるホストコンピュータ等の情報処理装置で読み取り(読み出し)可能な各種データ処理プログラムを格納する記録媒体(記憶媒体)のメモリマップを説明する図である。It is a figure explaining the memory map of the recording medium (storage medium) which stores the various data processing program which can be read (read) with information processing apparatuses, such as a host computer which is a printing control apparatus concerning this invention. プリンタドライバの詳細設定用のユーザインタフェース(UI)の一例を示す模式図である。3 is a schematic diagram illustrating an example of a user interface (UI) for detailed setting of a printer driver. FIG. アプリケーションの印刷指示ユーザインタフェース(UI)の一例を示す模式図である。FIG. 3 is a schematic diagram illustrating an example of an application print instruction user interface (UI).

符号の説明Explanation of symbols

3000 ホストコンピュータ
1 CPU
2 RAM
11 外部メモリ
1500 プリンタ
19 RAM
201 アプリケーション
202 グラフィックエンジン
203 プリンタドライバ
204 プリントサブシステム
301 ネットワーク
3000 Host computer 1 CPU
2 RAM
11 External memory 1500 Printer 19 RAM
201 Application 202 Graphic Engine 203 Printer Driver 204 Print Subsystem 301 Network

Claims (13)

指定部数の丁合い印刷を行うために印刷開始要求から印刷終了要求をする間に1部分の印刷要求データを前記指定部数分生成するアプリケーションプログラムからの印刷要求データに基づいて複数部数の丁合い印刷処理を実行可能な印刷装置に送信するための印刷ジョブデータを生成する生成手段を有する印刷制御装置であって、
前記アプリケーションプログラムから受信する印刷設定の部数が1部であるかを判定する判定手段と、
前記判定手段により1部であると判定された場合、前記アプリケーションからの印刷終了要求に続き印刷開始要求を受信する回数をカウントするカウント手段と、
前記アプリケーションからの印刷開始要求を受信してから印刷終了要求を受信するまでの間に生成された印刷ジョブデータを、印刷終了要求の受信後も前記印刷装置に送信することなく一時的に保存する印刷ジョブデータ保存手段と、
前記印刷終了要求の受信後、アプリケーションからの破棄要求に基づいた指示を受信した場合、前記保存された1部分の印刷ジョブデータに前記カウントされた値に応じた部数コマンドを含む印刷ジョブデータを前記複数部数の丁合い印刷処理を実行可能な印刷装置に送信する送信手段と、
を有することを特徴とする印刷制御装置。
Collation printing of a plurality of copies based on print request data from an application program that generates one portion of print request data for the specified number of copies while making a print end request from a print start request in order to perform a specified number of copies. A print control apparatus having a generation unit that generates print job data to be transmitted to a printing apparatus capable of executing processing,
Determination means for determining the number of copies of the print setting is part of receiving from the application program,
A counting unit that counts the number of times a print start request is received following a print end request from the application when the determination unit determines that the number of copies is one;
Print job data generated between receiving a print start request from the application and receiving a print end request is temporarily stored without being sent to the printing apparatus even after the print end request is received. Print job data storage means;
When receiving an instruction based on a discard request from an application after receiving the print end request, print job data including the number of copies command corresponding to the counted value is stored in the stored one-part print job data. Transmitting means for transmitting to a printing apparatus capable of executing a plurality of copies of collation printing processing;
A printing control apparatus comprising:
前記印刷ジョブデータ保存手段は、前記アプリケーションからの最初の印刷開始要求を受信してから最初の印刷終了要求を受信するまでの間に生成された印刷ジョブデータを、印刷終了要求受信後も前記印刷装置に送信することなく一時的に保存することを特徴とする請求項1に記載の印刷制御装置。The print job data storage unit prints the print job data generated between the time when the first print start request from the application is received and the time when the first print end request is received even after the print end request is received. The print control apparatus according to claim 1, wherein the print control apparatus is temporarily stored without being transmitted to the apparatus. 前記アプリケーションから1部分の印刷要求データを受信している間、前記アプリケーションからの変更印刷設定を受信した場合、現在のプリンタドライバ情報の破棄要求を受信する前に、印刷設定変更後の印刷処理を行う上で必要なプリンタドライバ情報を引き継ぐ引継ぎ手段を更に有することを特徴とする請求項1又は2に記載の印刷制御装置。If a changed print setting is received from the application while receiving a portion of the print request data from the application, the print processing after changing the print setting is performed before receiving a request to discard the current printer driver information. The print control apparatus according to claim 1, further comprising a takeover unit that takes over the printer driver information necessary for the execution. 前記送信手段は、アプリケーションからの破棄要求に基づいた指示を受信した場合、前記保存された1部分の印刷ジョブデータに、前記カウントされた値を部数設定情報として設定するとともに、丁合い印刷指示情報として丁合い印刷指示を有効とする情報を設定した印刷ジョブデータを前記複数部数の丁合い印刷処理を実行可能な印刷装置に送信することを特徴とする請求項1乃至3のいずれか1項に記載の印刷制御装置。When the transmission unit receives an instruction based on a discard request from an application, the transmission unit sets the counted value as the number of copies setting information in the saved print job data of one part, and the collate print instruction information 4. The print job data in which information for validating the collation printing instruction is transmitted to a printing apparatus capable of executing the plurality of copies of collation printing processing according to claim 1. The printing control apparatus described. 指定部数の丁合い印刷を行うために印刷開始要求から印刷終了要求をする間に1部分の印刷要求データを前記指定部数分生成するアプリケーションプログラムからの印刷要求データに基づいて複数部数の丁合い印刷処理を実行可能な印刷装置に送信するための印刷ジョブデータを生成する情報処理装置における印刷制御方法であって、Collation printing of a plurality of copies based on print request data from an application program that generates one portion of print request data for the specified number of copies while making a print end request from a print start request in order to perform a specified number of copies. A print control method in an information processing apparatus for generating print job data to be transmitted to a printing apparatus capable of executing processing,
前記アプリケーションプログラムから受信する印刷設定の部数が1部であるかを判定する判定ステップと、A determination step of determining whether the number of copies of the print setting received from the application program is one;
前記判定手段により1部であると判定された場合、前記アプリケーションからの印刷終了要求に続き印刷開始要求を受信する回数をカウントするカウントステップと、A counting step for counting the number of times a print start request is received following a print end request from the application when the determination unit determines that the number of copies is one;
前記アプリケーションからの印刷開始要求を受信してから印刷終了要求を受信するまでの間に生成された印刷ジョブデータを、印刷終了要求の受信後も前記印刷装置に送信することなく一時的に保存する印刷ジョブデータ保存ステップと、Print job data generated between receiving a print start request from the application and receiving a print end request is temporarily stored without being sent to the printing apparatus even after the print end request is received. A print job data storage step;
前記印刷終了要求の受信後、アプリケーションからの破棄要求に基づいた指示を受信した場合、前記保存された1部分の印刷ジョブデータに前記カウントされた値に応じた部数コマンドを含む印刷ジョブデータを前記複数部数の丁合い印刷処理を実行可能な印刷装置に送信する送信ステップと、When receiving an instruction based on a discard request from an application after receiving the print end request, print job data including the number of copies command corresponding to the counted value is stored in the stored one-part print job data. A transmission step of transmitting to a printing apparatus capable of performing a plurality of collation printing processes;
を有することを特徴とする印刷制御方法。A printing control method characterized by comprising:
前記印刷ジョブデータ保存ステップは、前記アプリケーションからの最初の印刷開始要求を受信してから最初の印刷終了要求を受信するまでの間に生成された印刷ジョブデータを、印刷終了要求受信後も前記印刷装置に送信することなく一時的に保存することを特徴とする請求項5に記載の印刷制御方法。In the print job data storage step, the print job data generated between the time when the first print start request from the application is received and the time when the first print end request is received is displayed after the print end request is received. The print control method according to claim 5, wherein the print control method is temporarily stored without being transmitted to the apparatus. 前記アプリケーションから1部分の印刷要求データを受信している間、前記アプリケーションからの変更印刷設定を受信した場合、現在のプリンタドライバ情報の破棄要求を受信する前に、印刷設定変更後の印刷処理を行う上で必要なプリンタドライバ情報を引き継ぐ引継ぎステップを更に有することを特徴とする請求項5又は6記載の印刷制御装置。If a changed print setting is received from the application while receiving a portion of the print request data from the application, the print processing after changing the print setting is performed before receiving a request to discard the current printer driver information. 7. The print control apparatus according to claim 5, further comprising a takeover step of taking over printer driver information necessary for execution. 前記送信ステップは、アプリケーションからの破棄要求に基づいた指示を受信した場合、前記保存された1部分の印刷ジョブデータに、前記カウントされた値を部数設定情報として設定するとともに、丁合い印刷指示情報として丁合い印刷指示を有効とする情報を設定した印刷ジョブデータを前記複数部数の丁合い印刷処理を実行可能な印刷装置に送信することを特徴とする請求項5乃至7のいずれか1項に記載の印刷制御方法。In the transmission step, when an instruction based on a discard request from the application is received, the counted value is set as the copy setting information in the saved print job data of one part, and the collate print instruction information 8. The print job data in which information for validating a collation printing instruction is set is transmitted to a printing apparatus capable of executing the plurality of copies of collation printing processing. The printing control method as described. 指定部数の丁合い印刷を行うために印刷開始要求から印刷終了要求をする間に1部分の印刷要求データを前記指定部数分生成するアプリケーションプログラムからの印刷要求データに基づいて複数部数の丁合い印刷処理を実行可能な印刷装置に送信するための印刷ジョブデータを生成する情報処理装置で実行可能なプログラムであって、Collation printing of a plurality of copies based on print request data from an application program that generates one portion of print request data for the specified number of copies while making a print end request from a print start request in order to perform a specified number of copies. A program executable by an information processing apparatus that generates print job data to be transmitted to a printing apparatus capable of executing processing,
前記情報処理装置を、The information processing apparatus;
前記アプリケーションプログラムから受信する印刷設定の部数が1部であるかを判定する判定手段、Determining means for determining whether the number of copies of the print setting received from the application program is one;
前記判定手段により1部であると判定された場合、前記アプリケーションからの印刷終了要求に続き印刷開始要求を受信する回数をカウントするカウント手段、A counting unit that counts the number of times a print start request is received following a print end request from the application when the determination unit determines that the number of copies is one;
前記アプリケーションからの印刷開始要求を受信してから印刷終了要求を受信するまでの間に生成された印刷ジョブデータを、印刷終了要求の受信後も前記印刷装置に送信することなく一時的にメモリに保存する印刷ジョブデータ保存手段、Print job data generated between the reception of the print start request from the application and the reception of the print end request is temporarily stored in the memory without being transmitted to the printing apparatus even after the print end request is received. Print job data storage means to store,
前記印刷終了要求の受信後、アプリケーションからの破棄要求に基づいた指示を受信した場合、前記保存された1部分の印刷ジョブデータに前記カウントされた値に応じた部数コマンドを含む印刷ジョブデータを前記複数部数の丁合い印刷処理を実行可能な印刷装置に送信する送信手段、When receiving an instruction based on a discard request from an application after receiving the print end request, print job data including the number of copies command corresponding to the counted value is stored in the stored one-part print job data. A transmission means for transmitting to a printing apparatus capable of executing a plurality of collation printing processes;
として機能させるためのプログラム。Program to function as.
前記印刷ジョブデータ保存手段は、前記アプリケーションからの最初の印刷開始要求を受信してから最初の印刷終了要求を受信するまでの間に生成された印刷ジョブデータを、印刷終了要求の受信後も前記印刷装置に送信することなく一時的にメモリに保存することを特徴とする請求項9に記載のプログラム。The print job data storage means stores print job data generated between the time when the first print start request is received from the application and the time when the first print end request is received after the print end request is received. The program according to claim 9, wherein the program is temporarily stored in a memory without being transmitted to the printing apparatus. 前記情報処理装置を、The information processing apparatus;
前記アプリケーションから1部分の印刷要求データを受信している間、前記アプリケーションからの変更印刷設定を受信した場合、現在のプリンタドライバ情報の破棄要求を受信する前に、印刷設定変更後の印刷処理を行う上で必要なプリンタドライバ情報を引き継ぐ引継ぎ手段、If a changed print setting is received from the application while receiving a portion of the print request data from the application, the print processing after changing the print setting is performed before receiving a request to discard the current printer driver information. Takeover means to take over the printer driver information necessary for performing,
として機能させることを特徴とする請求項9又は10記載のプログラム。The program according to claim 9 or 10, wherein the program is made to function as:
前記送信手段は、アプリケーションからの破棄要求に基づいた指示を受信した場合、前記保存された1部分の印刷ジョブデータに、前記カウントされた値を部数設定情報として設定するとともに、丁合い印刷指示情報として丁合い印刷指示を有効とする情報を設定した印刷ジョブデータを前記複数部数の丁合い印刷処理を実行可能な印刷装置に送信することを特徴とする請求項9乃至11のいずれか1項に記載のプログラム。When the transmission unit receives an instruction based on a discard request from an application, the transmission unit sets the counted value as the number of copies setting information in the saved one-part print job data, and the collation print instruction information The print job data in which information for validating the collation print instruction is transmitted to the printing apparatus capable of executing the plural copies of the collation print processing as claimed in claim 9. The listed program. 請求項9乃至12のいずれか1項に記載されたプログラムを記録したコンピュータが読み取り可能な記録媒体。A computer-readable recording medium on which the program according to any one of claims 9 to 12 is recorded.
JP2004188166A 2004-06-25 2004-06-25 PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM Expired - Fee Related JP4011044B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004188166A JP4011044B2 (en) 2004-06-25 2004-06-25 PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004188166A JP4011044B2 (en) 2004-06-25 2004-06-25 PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM

Publications (2)

Publication Number Publication Date
JP2006011830A JP2006011830A (en) 2006-01-12
JP4011044B2 true JP4011044B2 (en) 2007-11-21

Family

ID=35779029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004188166A Expired - Fee Related JP4011044B2 (en) 2004-06-25 2004-06-25 PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM

Country Status (1)

Country Link
JP (1) JP4011044B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8446077B2 (en) 2010-12-16 2013-05-21 Honda Motor Co., Ltd. 3-D woven active fiber composite

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4552918B2 (en) * 2006-09-28 2010-09-29 ブラザー工業株式会社 Image forming apparatus
JP7342577B2 (en) * 2019-09-30 2023-09-12 ブラザー工業株式会社 Support programs, information processing devices, and printing methods

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8446077B2 (en) 2010-12-16 2013-05-21 Honda Motor Co., Ltd. 3-D woven active fiber composite

Also Published As

Publication number Publication date
JP2006011830A (en) 2006-01-12

Similar Documents

Publication Publication Date Title
JP4669895B2 (en) Print control apparatus, print control method, and program
US7199890B2 (en) Print control method and apparatus
US6883981B2 (en) Printing control method and apparatus
US7609400B2 (en) Program, recording medium, information processing apparatus, and printing data processing method
US20030103236A1 (en) Information processing apparatus and information processing method
US7319533B2 (en) System for face-up printing from a duplex printer
JP2007179197A (en) Print system, print server, printing control server, printer, print method, program and recording medium
US9135528B2 (en) Information processing apparatus, job processing method in information processing apparatus, and storage medium
JP4401662B2 (en) Print control apparatus and print control method
EP1150200A2 (en) Print control apparatus, and storage medium
JP2002182878A (en) Printing controller, printing control method, printing system, computer program, and recording medium therefor
JP2010165261A (en) Printing control device and control method thereof
JP2002044344A (en) Information processor and information processing image, and storage medium for storing printing program and printing system
JP2006350443A (en) Printing system, print control method and program
JP5371550B2 (en) Information processing apparatus, control method therefor, and computer program
JP2009146277A (en) Information processing device, print control method and program
JP2009172887A (en) Image formation device, control method in image formation device, and program
JP4011044B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
JP3667043B2 (en) Information processing system, information processing apparatus, and print control method
JP2002014797A (en) Information processor, print controller and its control method, and storage medium and its control program
JP5053908B2 (en) Print management apparatus, print management method, and computer program
US7764394B2 (en) Data processing apparatus, data processing method, and data processing program
JP4539975B2 (en) Print setting control apparatus, control method thereof, and program
JP2004070521A (en) Control method for color and monochrome dispersed printing, program, storage medium, and device
JP3526255B2 (en) Information processing apparatus, print control method, print control system, and storage medium

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070226

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070904

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070904

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100914

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110914

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110914

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120914

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120914

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130914

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140914

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees