JP3667067B2 - Print processing apparatus, control method therefor, and storage medium - Google Patents

Print processing apparatus, control method therefor, and storage medium Download PDF

Info

Publication number
JP3667067B2
JP3667067B2 JP36384497A JP36384497A JP3667067B2 JP 3667067 B2 JP3667067 B2 JP 3667067B2 JP 36384497 A JP36384497 A JP 36384497A JP 36384497 A JP36384497 A JP 36384497A JP 3667067 B2 JP3667067 B2 JP 3667067B2
Authority
JP
Japan
Prior art keywords
data
print
printed
routine
page
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 - Lifetime
Application number
JP36384497A
Other languages
Japanese (ja)
Other versions
JPH11179993A (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 Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP36384497A priority Critical patent/JP3667067B2/en
Publication of JPH11179993A publication Critical patent/JPH11179993A/en
Application granted granted Critical
Publication of JP3667067B2 publication Critical patent/JP3667067B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、複数の文書データを合成して印刷する場合の印刷処理技術に関する。
【0002】
【従来の技術】
従来、パーソナルコンピュータ等の情報処理装置上でアプリケーションプログラム(以下、アプリケーションという)により作成した文書データを、該情報処理装置に接続されたプリンタにより印刷すべく、上記アプリケーション上で印刷を指示すると、1回の印刷指示で指示された印刷データは、印刷開始命令から印刷終了命令で挟まれた1つの印刷ジョブとして処理される。
【0003】
また、複数の文書データ等を印刷する場合には、オペーレータは各文書データに対して個別に印刷を指示するが、この場合にも、プリンタ側では、個別に印刷指示された各印刷データは、それぞれ1つの印刷ジョブとして処理され、印刷ジョブの最後、すなわち印刷終了命令を受取ると物理ページの紙送りを行い、次の印刷ジョブを受取ったときには、物理ページの先頭から印刷を開始する。
【0004】
また、一般に、或る印刷ジョブを受付けている間は他の印刷ジョブを受付けないように構成されている。また、文書データ等の印刷実行の際、印刷形態として、2ページ、或いは4ページなど複数の論理ページ(Nページ)を縮小配置し、物理ページ1ページに印刷するN−UP印刷機能が実現されている。さらに、両面印刷機能を備えたプリンタにおいては、両面印刷の実行モードを情報処理装置側で指定してプリンタに送信すると、情報処理装置側で他の特別な処理を行うことなく、プリンタ側で両面印刷を実行するように構成されている。
【0005】
【発明が解決しようとする課題】
しかし、従来技術では、複数の文書データを1つのまとまった文晝データとして連続して印刷したいとき、文書データ数分の印刷実行を指示すると、印刷データは複数の印刷ジョブとしてプリンタに送られるため、印刷ジョブと印刷ジョブの間に、予期しない他の印刷ジョブが割込む可能性がある。この問題は、ネットワーク上で共有しているプリンタを用いて印刷する際に特に顕著であり、連続して印刷しようとした印刷ジョブの間に、ネットワーク上の他の情報処理装置により指示された印刷ジョブが割込まれて印刷されてしまい、意図する連続印刷を行えない場合があり、このような場合には、最終的に印刷された物理ページを振り分ける作業を行う必要があった。
【0006】
また、複数の文書データをN−UP印刷すべく、文書データ数分の印刷実行を指示すると、印刷データは複数の印刷ジョブとしてプリンタに送られるため、印刷ジョブと印刷ジョブの問に物理ページの紙送りを行ってしまう。このため、Nで割り切れないページ数で構成された文書データの次の文書データの先頭ページは、新しい物理ページの先頭に印刷されてしまい、意図する連続したN−UP印刷を行うことができなかった。
【0007】
また、複数の文書データを両面印刷すべく、文書データ数分の印刷実行を指示した場合にも、印刷データは複数の印刷ジョブとしてプリンタに送られるため、印刷ジョブと印刷ジョブの問に物理ページの紙送りを行ってしまう。このため、奇数ペ−ジの文書データの次の文書データの先頭ページは、前の文書データの最終ページの裏面には印刷されず、新しい物理ペ−ジの表面に印刷されてしまい、意図する連続した両面印刷を行うことができなかった。
【0008】
本発明は、このような背景の下になされたもので、その課題は、複数の所望の文書データを所望の形態で確実に連続的に印刷できるようにすることにある。
【0009】
【課題を解決するための手段】
上記課題を解決するため、本発明は、 アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置であって、前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存手段と、前記保存手段により保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定手段と、前記複数の印刷対象のデータを合成するための合成モードとして、N−UP印刷を行うページハンドリングの指示と、複数の印刷対象のデータ間で改ページを行うか否かを指示する指示手段と、前記指示手段により複数の印刷対象のデータ間で改ページを行う指示がなされている場合に、各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れるか判断する判断手段と、前記指定手段により指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを前記指示手段で指示されたページハンドリング処理を実行して合成した印刷データを生成する合成手段と、前記合成手段により生成された印刷データを1つの印刷ジョブとして出力する出力手段とを備え、前記合成手段は、前記判断手段により各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れないと判断された場合に、各印刷対象のデータの出力後に改ページ命令を出力して合成された印刷データを生成するように構成されている
【0011】
また、本発明は、 アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置であって、前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存手段と、前記保存手段により保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定手段と、前記指定手段により指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを合成した印刷データを生成する合成手段と、前記合成手段により生成された印刷データを1つの印刷ジョブとして出力する出力手段とを備え、前記指定手段は、複数の印刷対象のデータを前記合成手段により合成する合成モードを設定するためのユーザインターフェイス画面を表示する表示制御手段を含み、前記表示制御手段は、前記合成モード時に複数の印刷対象のデータ間で改ページを行うか否かを指定させるためのユーザインターフェイス画面を表示し、前記合成手段は、前記指定手段により改ページ指示がなされている場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを異なる用紙上に配置し、前記指定手段により改ページ指示がなされていない場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを連続して配置するように構成されている。
【0012】
また、本発明は、アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置の制御方法であって、前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存工程と、前記保存工程により保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定工程と、前記複数の印刷対象のデータを合成するための合成モードとして、N−UP印刷を行うページハンドリングの指示と、複数の印刷対象のデータ間で改ページを行うか否かを指示する指示工程と、前記指示工程により複数の印刷対象のデータ間で改ページを行う指示がなされている場合に、各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れるか判断する判断工程と、前記指定工程により指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを前記指示工程で指示されたページハンドリング処理を実行して合成した印刷データを生成する合成工程と、前記合成工程により生成された印刷データを1つの印刷ジョブとして出力する出力工程とを備え、前記合成工程は、前記判断工程により各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れないと判断された場合に、各印刷対象のデータの出力後に改ページ命令を出力して合成された印刷データを生成するように構成されている
【0014】
また、本発明は、アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置の制御方法であって、前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存工程と、前記保存工程により保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定工程と、前記指定工程により指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを合成した印刷データを生成する合成工程と、前記合成工程により生成された印刷データを1つの印刷ジョブとして出力する出力工程とを備え、前記指定工程は、複数の印刷対象のデータを前記合成工程により合成する合成モードを設定するためのユーザインターフェイス画面を表示する表示制御工程を含み、前記表示制御工程は、前記合成モード時に複数の印刷対象のデータ間で改ページを行うか否かを指定させるためのユーザインターフェイス画面を表示し、前記合成工程は、前記指定工程により改ページ指示がなされている場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを異なる用紙上に配置し、前記指定工程により改ページ指示がなされていない場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを連続して配置するように構成されている。
【0015】
また、本発明は、 アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置により実行される制御プログラムを記憶する記憶媒体であって、前記制御プログラムは、前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存ルーチンと、前記保存ルーチンにより保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定ルーチンと、前記複数の印刷対象のデータを合成するための合成モードとして、N−UP印刷を行うページハンドリングの指示と、複数の印刷対象のデータ間で改ページを行うか否かを指示する指示ルーチンと、前記指示ルーチンにより複数の印刷対象のデータ間で改ページを行う指示がなされている場合に、各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れるか判断する判断ルーチンと、前記指定ルーチンにより指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを前記指示ルーチンで指示されたページハンドリング処理を実行して合成した印刷データを生成する合成ルーチンと、前記合成ルーチンにより生成された印刷データを1つの印刷ジョブとして出力する出力ルーチンとを備え、前記合成ルーチンは、前記判断ルーチンにより各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れないと判断された場合に、各印刷対象のデータの出力後に改ページ命令を出力して合成された印刷データを生成するように構成されている
【0017】
また、本発明は、 アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置により実行される制御プログラムを記憶する記憶媒体であって、前記制御プログラムは、前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存ルーチンと、前記保存ルーチンにより保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定ルーチンと、前記指定ルーチンにより指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを合成した印刷データを生成する合成ルーチンと、前記合成ルーチンにより生成された印刷データを1つの印刷ジョブとして出力する出力ルーチンとを備え、前記指定ルーチンは、複数の印刷対象のデータを前記合成ルーチンにより合成する合成モードを設定するためのユーザインターフェイス画面を表示する表示制御ルーチンを含み、前記表示制御ルーチンは、前記合成モード時に複数の印刷対象のデータ間で改ページを行うか否かを指定させるためのユーザインターフェイス画面を表示し、前記合成ルーチンは、前記指定ルーチンにより改ページ指示がなされている場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを異なる用紙上に配置し、前記指定ルーチンにより改ページ指示がなされていない場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを連続して配置するように構成されている。
【0023】
【発明の実施の形態】
以下、図面を参照しながら本発明の実施の形態を詳細に説明する。
【0024】
[第1の実施の形態]
図1は、本発明の実施の形態における印刷処理装置の概略構成を示すブロック図である。図1中、1はパーソナルコンピュータ等の情報処理装置であり、ビデオメモリ(VRAM)3、表示部(CRT)4、キーボード(KBD)5、ポインティングデバイス(PD)6、ディスクコントローラ部7、フロッピーディスク(FD)8、ハードディスク装置(HD)9、接続部10、CPU11、RAM12、及びROM13を主要な構成要素とし、これらの構成要素がシステムバス2を介して互いに接続されている。 CPU11は後述する図2等のフローチャートで表わされるプログラムに従って情報処理装置1全体を制御するものである。また、RAM12は、CPU11の主メモリとしてプログラムを格納すると共に、CPU11による制御実行時にワークデータエリアとして利用される。
【0025】
ディスクコントローラ部7は、フロッピーディスク8、ハードディスク装置9等の外部記憶装置とのアクセス制御を行うものである。ハードディスク装置9及びフロッピーディスク8は、ディスク上の磁気記憶媒休にデータを読み書きする装置であり、各種図形データや文書データ、更にはRAM13にダウンロードされて実行される情報処理装置1のブートプログラム、CPU11の制御プログラムであるオペレーティングシステム(OS)、各種アプリケーション・プログラム(以下、アプリケーションという)、プリンタ制御コマンド(印刷データ)生成プログラム(プリンタドライバ)、及び印刷データの合成機能等を有する印刷システムプログラムなどを記憶する。なお、この外部記憶装置としては、ハードディスク装置やフロッピーディスクだけでなく、磁気テープ、CD−ROM、1Cメモリカード、DVD等を使用することも可能である。
【0026】
ROM13は内部メモリであり、前述のハードディスク装置9やフロッピーディスク8等と同様に各種データや基本I/Oプログラム等のプログラムを記憶している。また、表示部4は、情報処理装置1において文字、図形等により構成される文書データやコマンドメニュー等のユーザインターフェイス(UI)、オペレータへのメッセージ等を表示するものであり、CRT(陰極線管)、液晶ディスプレイ等により構成されている。ビデオメモリ3は、表示部4に表示すべきデータをビットマップデータとして記憶している。
【0027】
キーボード5、及びポインティングデバイス6は、各種のデータやコマンド、或は印刷モード等の設定情報を入力するものである。この際、キーボード5、またはポインティングデバイス6により、表示部4の表示画面に表示されたコマンドメニューのコマンドイメージ等を選択することにより、そのコマンドの実行や印刷モードを指示することができる。
【0028】
10は接続部であり、セントロニクスインターフェイスや、ネットワークインターフェイス等の所定の双方向インターフェース14を介してプリンタ装置15の接続部17に接続し、プリンタ制御コマンド(印刷データ)を送信するなど、プリンタ装置15との通信制御処理を実行する。
【0029】
プリンタ装置15は、接続部17、印刷部(プリンタエンジン)18、操作部19、外部メモリ20、CPU21、RAM22、及びROM23を主要な構成要素とし、これらの構成要素がシステムバス16を介して互いに接続されている。CPU21は、プリンタ製置15全体を制御するものである。CPU21は、ROM23、或いは外部メモリ20に記憶された制御プログラムに従って、接続部17で受信したプリンタ制御コマンド(印刷データ)に基づいて画像信号を生成し、印刷部18に出力する。
【0030】
RAM22は、CPU21の主メモリとして機能し、CPU21による制御実行時にワークデータエリア等として使用される。外部メモリ20は、オプションとして搭載することも可能であり、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。
【0031】
ROM23はプリンタ内部メモリであり、外部メモリ20と同様に、各種データや本プリンタ装置15を制御するプリンタ制御プログラム等を記憶している。また、印刷部18は、プリンタエンジンであり、CPU21の制御の下にシステムバス16を介して出力された画像信号に基づいて、実際の印刷動作を行う。
【0032】
操作部19は、操作パネルや操作スイッチ等の入力部、及び操作内容等を表示するLED、液晶パネル等の表示部等により構成され、本プリンタ装置15の各種設定を指示したり確認するために利用される。接続部17は、双方向インターフェース14を介して情報処理装置1からプリンタ制御コマンド(印刷データ)を受信し、プリンタ内部の状態等を通知するために利用される。
【0033】
次に、図2、図3を参照しながら、本印刷処理装置が動作を行うための前処理を説明する。
【0034】
情報処理装置1の電源がONされると、まず、ROM13に格納された基本1/Oプログラム中のイニシャルプログラムローディング(IPL)機能により、ハードディスク9、或いはフロッピーディスク8等の外部記憶メモリに記憶されたオペレーティングシステム(OS)がRAM12に読込まれて起動され、表示部4の表示画面にコマンドメニューのコマンドイメージ等が表示される。
【0035】
次に、キーボード5、ポインティングデバイス6の操作により、表示に係るコマンドメニューの中からアプリケーションの実行が選択されると、ハードディスク9、或いはフロッピーディスク8等の外部記憶装置に記憶されたアプリケーションがRAM12に読込まれて起動される。そして、アプリケーション上で印刷が指示されると、ハードディスク9、或いはフロッピーディスク8等の外部記憶装置に記憶された印刷データ(文書データファイル)の合成機能等を有する印刷処理プログラム、およびプリンタ制御コマンド生成プログラム(プリンタドライバ)がRAM12に読込まれ、印刷処理プログラムが起動される。
【0036】
本形態では、印刷処理プログラム及び関連データはフロッピーディスク8に記憶されており、その記憶内容を図3に示す。フロッピーディスク8に記憶された印刷処理プログラム及び関連データは、ディスクコントローラ部7を通じて情報処理装置1にロードされる。すなわち、フロッピーディスク8をディスクコントローラ部7にセットすると、OS及び基本1/Oプログラムの制御のもとに印刷処理プログラム及び関連データがフロッピーディスク8から読出され、RAM12にロードされて印刷処理が可能となる。図2は、印刷処理プログラムがRAM12にロードされ実行可能となった状態でのRAM12のメモリマップを示したものである。
【0037】
次に、本形態に特有な印刷データの合成機能を含む印刷処理の概要を説明する。図2のメモリマップの状態で、アプリケーションにより文書データの印刷処理を指定し、更に印刷ジョブの保存モードを指定すると、印刷ジョブを保存するファイルの名称を指定するためのUI画面が表示される。そこで、このUI画面上で保存ファイル名称を指示すると、アプリケーションから受取った文書データが中間データ書込みプログラムにより中間データに変換され、指定に係るファィル名で保存される。
【0038】
一方、アプリケーションにより文書データの印刷処理を指定し、更に印刷ジョブの合成モードを指定すると、印刷ジョブ(中間データ)のファイル名称、及び合成順序を指示するためのUI画面が表示される。そこで、合成したいファイル名称及び順序を指示すると、指定された複数の中間データファイルを合成可能か否かのチェックが中間データ合成プログラムにより行われ、合成可能ならば、中間データ書込みプログラムにより、アプリケーションから今回受取った文書データを中間データに変換して一時保存し、合成ファイルとして指定された中間データファイルを指定された順序に従って合成して新たな中間データとし、さらに一時保存された今回の中間データと上記合成に係る新たな中間データとを合成し、この合成された中間データをプリンタ制御コマンド生成プログラム(プリンタドライバ)、或はその前段ステップに介在するプログラムに順次出力し、最終的に前記プリンタ制御コマンド生成プログラム(プリンタドライバ)により、上記中間データに基づいてプリンタ制御コマンド(印刷データ)が生成されて印刷が実行される。
【0039】
次に、図4のフローチャートに従って、印刷処理を説明する。まず、図4のステップS401で、印刷モードとして、印刷ジョブ合成モード、印刷ジョブ保存モードのいずれかを指定する。 次に、ステップS402で印刷を指定する。この印刷モードおよび印刷の指定は、表示部3に表示されたUI画面上のコマンドメニユ−のコマンドイメージ等を、キーボード5及びポインティングデバイス6の操作により選択することにより行う。
【0040】
次に、ステップS401で指定した印刷モードが合成モード、保存モードのいずれであるかを判別する(ステップS403)。その結果、印刷モードが保存モードであれば、現在印刷指定されているジョブ、すなわちアプリケーションから受取った文書データを中間データに変換し、その中間データをフロッピーディスク8、またはハードディスク装置9に保存して(ステップS404)、終了する。
【0041】
一方、合成モードが指定されている場合は、現在印刷指定されている印刷ジョブについて中間データを生成し、RAM12に一時保存する(ステップS405)。そして、一時保存された中間データとステップS401で指定された保存ファイルの合成結果とを合成して新たな中間データを生成し、その新たな中間データを次のステップS407で読込み可能な命令に変換して出力する(ステップS406)。ステップS407では、ステップS406で合成され出力された命令をプリンタ制御コマンド(印刷データ)に変換し、プリンタ装置15に出力する。すなわち、ステップS406で出力された中間データの各レコードに対応する描画命令を順次入力し、プリンタ制御コマンド(印刷データ)に変換してプリンタ装置15に出力して、印刷処理を終了する。このステップS407で行われる処理は、プリンタ制御コマンド生成プログラム(プリンタドライバ)が請け負う通常の印刷処理である。
【0042】
次に、上記ステップS401での印刷モードの指定方法を、図5、図6を用いて詳細に説明する。
【0043】
図5は、図4のステップS401において、印刷モードを指定する際の印刷モード指定用UI画面を示したものである。図5中、aは印刷ジョブ保存を指定するボタンスイッチであり、bは印刷ジョブ合成を指定するボタンスイッチである。a、bのスイッチは背反であり。どちらか一方のモードを選択的に指定可能となっている。図5では、デフォルトのモードとしてジョブ保存モードを示しており、ジョブ保存ボタンスイッチaが黒に反転している。また、cはジョブ保存のとき保存するファイル名を指定するエリアである。このエリアcで指定されたファイル名が上記ステップS404での中間データ保存の際の保存ファイル名称となる。この保存ファイル名を指定するエリアcは、上記ジョブ保存ボタンスイッチaが選択されているときに表示される。
【0044】
図5中のdは、OKボタンスイッチであり、指定した印刷モード、保存ファイル名を確定するときに選択する。また、eはキャンセルボタンであり、指定した印刷モード、保存ファイル名をキャンセルするときに選択するものである。
【0045】
図6は、図4のステップS401において、印刷モードを指定する際のジョブ合成モードの指定用UI画面を示したものである。このUI画面は図5の印刷モード指定用UI画面でジョブ合成用のボタンスイッチbを選択した場合に表示される。図6中、fは合成すべきファイルのファイル名を指定するエリアである。この合成ファイル名指定エリアfは、番号表示エリアとそれに対応したファイル名称を入力する2つのエリアにより構成されている。この番号表示エリアに表示された番号は、合成するファイルの合成順番を示している。すなわち、番号1と対応して入力された合成対象のファイルを先頭に、番号2、3、…と対応して入力された合成対象のファイルの順に合成し、この合成内容と現在印刷指定されている印刷ジョブとを合成すること示している。また、図6中のgは参照ボタンであり、合成ファイル名入力エリアfに入力すべき合成ファイル名をキーボードから入力するのではなく、一覧から選択して入力させるためのリストを表示するものである。すなわち、この参照ボタンgを選択すると、フロッピーディスク8、またはハードディスク装置9に保存された中間データの保存ファイルのー覧、或いは保存場所のディレクトリ構成の一覧等のリストが、合成対象の文書データの候補として表示され、そのリスト中のファイル名を選択するとカレントの合成ファイル名入力欄に選択したファイル名が入力される。
【0046】
図5、図6のUI画面においてOKボタンdを選択して印刷モードや各種指定内容を確定すると、印刷モード及び保存ファイル名、或いは合成ファイル名等の情報は一時的にRAM12のワーク領域に格納され、後のステップで参照可能となる。なお、プリンタ装置15が両面印刷機能をサポートしている場合は、このUI画面で両面印刷を指示することも可能である。
【0047】
次に、図4のステップS404での中間データ生成方法について、図7、図8を用いて詳細に説明する。
【0048】
図7は、図4のステップS402において、アプリケーション等から印刷実行を指定した時に印刷処理プログラムに渡される文書データの捕画命令を示したものである。描画命令は、図7に示すように、「ジョブ開始命令」から始まり「ジョブ終了命令」で終わる。プリンタ初期化命令部は、「ジョブ開始命令」の次に現れる命令群であり、「用紙サイズ指定命令」、「印刷方向指定命令」等からなっている。
【0049】
プリンタ初期化命令部の次に現れる描画命令部は、「文字印字命令」、「色指定命令」、「図形描画命令」、「イメージ描画命令」、「改ページ命令」等により構成されている。「色指定命令」は「文字印字命令」、「図形描画命令」の対象となる文字、図形の色を予め指定しておく命令であり、RGB形式で指定する。また、「イメージ描画命令」には、一般的なイメージデータ形式として、データ部にRGB形式のカラーデータテーブルが含まれており、イメージ描画の際の各ピクセルの色は、各ピクセル値がこのカラーテーブルのインデックスを示すことで指定される。「イメージ描画命令」には、他に、ビットマップデータおよび幅、高さ、描画位置座標情報等が含まれている。また、「文字印字命令」には、文字種、文字コード、文字印字位置座標、文字幅、文字高さ、文字送り幅、行送り高き等の情報が含まれ、「図形描画命令」には、描画図形の種類、属種、描画位置座標情報等が含まれている。
【0050】
図4のステップS404における中間データ生成処理では、図7に示した描画命令を順に入力し、それに対する中間レコード(図8参照)を順にファイル出力することで中間データを生成する。すなわち、図7における「ジョブ関始命令」は「ジョブ開始レコード」として、「ジョブ終了命令」は「ジョブ終了レコード」として、それぞれファイルの先頭及び最後に記述されている。また、プリンタ初期化命令部、および描画命令部の各命令も、それぞれ対応したレコードとしてそれぞれ順番に記述されている。なお、複数の描画命令を1つにまとめたレコードにすることも可能である。
【0051】
図8に示す中間データのレコードは、ステップS401で指定された保存ファイル名をつけて、ハードディスク装置9等の記憶装置に記憶される。
【0052】
次に、図4のステップS406での中間データ合成方法について、図9、図10を用いて詳細に説明する。
【0053】
図9は、図4のステップS406における中間データ合成/出力処理を示すフローチャートである。まず、ステップS901にて、図4のステップS401で合成対象として指定された中間データファイルの全てをチェックする。すなわち、各中間データファイルには、図8に示したように、例えば、用紙サイズ情報といったプリンタ初期化レコードが記述されているので、合成対象の中間データファイル中のプリンタ初期化レコード部を調べ、用紙サイズ情報等のプリンタ初期化情報が一致しているか否かをチェックし、一致していればチェックフラグをOKにセットし、−致していなければNGにセットする。
【0054】
次に、上記チェックフラグがOKにセットされているか否かを判別する(ステップS902)。その結果、チェックフラグがNGにセットされていれば、本印刷処理を中断すべく、ステップS903に進んで「合成すべきファイル中のデータの属性が一致しないため合成できません」等のメッセージを表示し、終了する。
【0055】
一方、チェックフラグにOKがセットされていれば、図4のステップS407で読込み可能なジョブ開始命令を出力する(ステップS904)。そして、ステップS901でチェックしたプリンタ初期化レコードを図4のステップS407で読込み可能なプリンタ初期化命令に変換して出力する(ステップS905)。次に、指定された合成対象のファイル名に相当する中間データファイルを図6の番号順に1つずつオープンする(ステップS906)。なお、このステップS906では、図4のステップS405で一時保存したカレントの印刷ジョブに対する中間データファイルのオープン処理をも最後に行う。
【0056】
次に、オープンした中間データファイルの描画レコード部を読込み(ステップS907)、図4のステップS407で読込み可能な描画命令に変換して出力する。次に、現在オープンしている中間データファイルをクローズし(ステップS909)、図6で指定された合成対象のファイルのうち、ステップS906〜S909の処理を行っていないファイルが存在するか否かを判別する(ステップS910)。その結果、処理を行っていない合成対象のファイルが存在する場合には、そのファイルについて同様の処理を行うべくステップS906に戻る。なお、ステップS910では、図4のステップS405で一時保存したカレントの印刷ジョブに係る中間データファイルに対して、ステップS906〜S909の処理を行ったか否かの判別処理をも行い、このファィルに対して処理を行っていない場合には、同様にステップS906に戻る。すなわち、ステップS906〜S910のサイクリックな処理により、複数の印刷ジョブ(文書データ)の合成処理がなされることとなる。
【0057】
ステップS910にて、カレントの印刷ジョブの中間デ−タファイルも合成し終えたと判別された場合には、図4のステップS407で読込み可能なジョブ終了命令を出力して(ステップS911)、終了する。
【0058】
図10は、図4のステップS406(図9の処理)で最終的に出力された全命令を例示した図である。図10の描画命令部1は、図6で第1番目として指定された合成対象のファイル名に相当する中間データファイルの描画レコード部を、図9のステップS908で描画命令に変換したものである。また、描画命令部2は、同様に、第2番目として指定された中間データファイルの描画レコード部を描画命令に変換したものである。さらに、描画命令部3は、図4のステップS406で一時保存されたカレントな印刷ジョブの中間データファイルの描画レコード部を描画命令に変換したものである。
【0059】
これらプリンタ初期化命令部と描画命令部とは、図9のステップS904で出力したジョブ開始命令と同ステップS911で出力したジョブ終了命令とで挟まれており、図4のステップS407以降では1つの印刷ジョブとして認識される。
【0060】
図11は、上記の印刷処理による印刷結果例を示す概念図であり、図11(a)は、通常の片面印刷例を示し、図11(b)は、両面印刷例を示している。図11(a)、(b)において、J1−L1は合成前の印刷ジョブ1の1ページ目を意味し、J2−L1は合成前の印刷ジョブ2の1ペ−ジ目、J2−L2は合成前の印刷ジョブ2の2ページ目を表している。すなわち、Jに続く番号は合成前の印刷ジョブの順番、Lに続く番号はその印刷ジョブ内のページ番号を表している。図11の例では、3つの印刷ジョブを合成した例を示しており、J1−L1からJ3−L3までを1つの印刷ジョブとして扱って連続して印刷した様子を表している。
【0061】
図11(b)の両面印刷の例において括弧で括られた部分は、裏面に印刷されていることを表している。この両面印刷の例においては、合成前の印刷ジョブ1の1ページ目(最終ページ)であるJ1−L1と印刷ジョブ2の1ページ目(先頭ページ)であるJ2−L1とが、同一用紙上の表面と裏面に印刷されている。また、J2−L4とJ3−L1も同一用紙上の表面と裏面に印刷されており、印刷ジョブ、すなわち文書データの間で区切れ(紙送り)がなく連続して印刷されている。
【0062】
このように、複数の印刷ジョブ(文書データファィル)を1つの纏まった文書データとして連続的に印刷するために、複数の文書データファィルが印刷対象として指定された場合に、それら文書データファィルを自動的に合成し、その合成データを1つの印刷ジョブとして印刷するように構成したので、印刷対象の文書データと文書データの間にオペレータが予期しない他の文書データが割込むことなく連続印刷を行うことが可能となる。また、複数の文書データを両面印刷する際に、文書データ間で物理ページの紙送りを行うことなく、奇数ページで構成された文書データの次の文書データの先頭ページをも、前の文書データの最終ページの裏面に連続して印刷することが可能となる。さらに、物理ページの紙送り回数が低減されるので、印刷用紙を節約することも可能となる。
【0063】
[第2の実施の形態]
第2の実施形態では、第1の実施形態のように複数の文書データを合成して1つの印刷ジョブとして連続印刷する場合に、複数の論理ページ(Nページ)を縮小配置して物理1ページに印刷するN−UP印刷、或いはN−UP印刷と両面印刷とを組合わせた印刷等のページハンドリングを指定できるように構成している。
【0064】
この第2の実施形態における処理が第1の実施形態における処理と異なる点は、図4のステップS401における印刷モード指定処理、及びステップS406における中間データ合成/出力処理のみであり、その他の処理は同じである。従って、ここでは、第2の実施形態における印刷モード指定処理を図12を用いて説明し、第2の実施形態における中間データ合成/出力処理を図13、図14を用いて説明し、残りの処理は説明を省略する。
【0065】
図12は、第2の実施形態において、印刷モードとしてジョブ合成モードを指定した場合のUI画面を示したものである。このUI画面は、図6に示した第1の実施形態におけるジョブ合成指定時のUI画面に、ページハンドリングを行うか否かを指定するスイッチボタンhを追加したものである。このページハンドリング指定用のスイッチボタンhは、トグルボタンであり、図12ではスイッチボタンhは黒に反転しており、ページハンドリングを行うモード(ONモード)であることを示している。ここで、スイッチボタンhがONにされた場合、ページハンドリングの詳細な設定、例えば2UP、4UP等のN−UP印刷におけるNの設定、及び配置方向、両面印刷との組合わせによる出力ページの制御方法等を細かく指定するUI画面を表示し、そのUI画面上で、それらの設定を行うようにするとよい。なお、これらUI画面上で設定された設定内容は、OKボタンdを選択して確定することにより、RAM12のワーク領域に一時的に格納され、後続のステップで参照可能となる。
【0066】
図13は、図4のステップS406における第2の実施形態での中間データ合成/出力処理を示すフローチャートである。本フローチャートは、第1の実施形態における図9のフローチャートにペ−ジハンドリング処理を付け加えたものであり、図13のステップS1301〜S1307は、図9のステップS901〜S9O7の処理内容と同じであり、図13のステップS1310〜S1313は、図9のステップS908〜S911と同じ処理内容である。従って、ここでは、ペ−ジハンドリング処理の部分であるステップS1308、S1309のみ説明し、その他のステップの説明は省略する。
【0067】
図13のステップS1307にて、ステップS1306でオープンした中間データファイルの描画レコード部を読込んだらステップS1308に進み、図4のステップS401で指定したページハンドリングフラグがONであるか否かを判別する。その結果、ページハンドリングフラグがOFFであれば、ページハンドリング処理を行うことなく、ステップS1310に進む。
【0068】
一方、ページハンドリングフラグがONであれば、ステップS1309ヘ進み、ページハンドリング処理を行う。このページハンドリング処理の例としては、2UPが指定されていたら、各ページの描画命令の座標パラメータを約50%に縮小し、読込んだ中間データファイルのページ順に、用紙の左側,右側、次の用紙の左側,右側といったように、中間データファイルを1ページ(1枚の用紙)に2ページ分ずつ、かつ複数の用紙に跨がって連続配置する処理方法がある。また、4UPが指定されていたら、各ページの描画命令の座標パラメータを約25%に縮小し、読込んだ中間データファイルのページ順に、用紙の左上、右上、左下、右下といったように、中間データファイルを1ページ(1枚の用紙)に4ページ分ずつ、かつ複数の用紙に跨がって連続配置する処理方法がある。
【0069】
図14は、図13のステップS1309でページハンドリング処理を施した場合の印刷結果例を示す概念図である。図14(a)、(b)は、ページハンドリング処理として、それぞれ上記の2UP処理、4UP処理を施した場合の印刷結果を示している。図14(a)、(b)において、J1−L1は合成前の印刷ジョブ1の1ページ目を表している。また、J2−L1は合成前の印刷ジョブ2の1ページ目、J2−L2は合成前の印刷ジョブ2の2ページ目を表している。このようにJに続く番号は合成前の印刷ジョブの順番、Lに続く番号はその印刷ジョブ内のページ番号を表している。図14の例では、3つの印刷ジョブを合成した例を示しており、J1−L1からJ3−L3までを1つの印刷ジョブとして扱って連続して印刷した様子を表している。
【0070】
図14(a)の2UPの例においては、合成前の印刷ジョブ1の1ページ目(最終ページ)であるJ1−L1と合成前の印刷ジョブ2の1ページ目(先頭ページ)であるJ2−L1が同一用紙上に配置されている。また、J2−L4とJ3−L1も同一用紙上に配置されており、合成前の印刷ジョブの間で区切れ(紙送り)がなく8ページが連続して印刷されている。図14(b)の4UPの例においては、合成前の印刷ジョブ1の1ページ目(最終ページ)であるJ1−L1と合成前の印刷ジョブ2の1〜3ページ目(先頭ページ)であるJ2−L1、J2−L2、J2−L3が同一用紙上に配置されている。また、合成前の印刷ジョブの間で区切れ(紙送り)がなく8ペ−ジが連続して印刷されている。
【0071】
このように、複数の印刷ジョブ(文書データファィル)をN−UP印刷する際に、N−UP印刷対象として指定された複数の文書データファィルをN−UP形式で自動的に合成し、その合成データを1つの印刷ジョブとして印刷するように構成したので、文書データ間で物理ページの紙送りを行うことなく、Nで割切れないページ数で構成された文書データの次の文書データの先頭ページを、前の文書データの最終の物理ページに割付けて連続したN−UP印刷を行うことが可能となる。また、物理ページの紙送り回数が低減されるので、印刷用紙を節約することも可能となる。
【0072】
[第3の実施形態]
第3の実施形態では、第2の実施形態のように複数の文書データを合成して1つのジョブとして印刷する場合に、複数の論理ページ(Nページ)を縮小配置して物理1ページに印刷するN−UP印刷、或いはN−UP印刷と両面印刷とを組合わせた印刷等のページハンドリングを指定できると共に、合成前のジョブの最終ページと次の合成前の先頭ページとの間で改ページを行えるように構成している。
【0073】
この第3の実施形態における処理が第1の実施形態における処理と異なる点は、図4のステップS401における印刷モード指定処理、及びステップS406における中間データ合成/出力処理のみであり、その他の処理は同じである。従って、ここでは、第3の実施形態における印刷モード指定処理を図15を用いて説明し、第3の実施形態における中間データ合成/出力処理を図16、図17を用いて説明し、残りの処理は説明を省略する。
【0074】
図15は、第3の実施形態において、印刷モードとしてジョブ合成モードを指定した場合のUI画面を示したものである。このUI画面は、図12に示した第2の実施形態におけるジョブ合成指定時のUI画面に、改ページを行うか否かを指定するスイッチボタンiを追加したものである。このスイッチボタンiは、トグルボタンであり、用紙の改ページ(紙送り)を行うか否かを指定する。図15中では、改ページ指定用のスイッチボタンiは黒に反転しており、改ページを行うモード(ONモード)であることを示している。また、ページハンドリング指定用のスイッチボタンhも黒に反転しており、ページハンドリング処理と改ページ処理とが指定されている状態となっている。そして、この改ページモード及びべ−ジハンドリングの詳細設定情報は、OKボタンdにより確定すると、RAM12のワーク領域にに一時的に格納され、後のステップで参照可能となる。
【0075】
図16は、図4のステップS406における第3の実施形態での中間データ合成/出力処理を示すフローチャートである。本フローチャートは、第2の実施形態における図13のフローチャートに改ページを付け加えたものであり、図16のステップS1601〜S1610は、図13のステップS1301〜S1310の処理内容と同じであり、図16のステップS1613〜S1615は、図13のステップS1311〜S1313と同じ処理内容である。従って、ここでは、改ペ−ジ処理の部分であるステップS1611、S1612のみ説明し、その他のステップの説明は省略する。
【0076】
図16のステップS1610において、ステップS1609で読込んだ描画レコード部を図4のステップS407で読込み可能な描画命令に順次変換して出力したら、ステップS1611に進み、図4のステップS401で指定した改ページフラグがONであるか否かを判別する。その結果、改ページフラグがOFFであれば、改ページ処理を行うことなくステップS1613に進む。
【0077】
一方、改ページフラグがONであれば、ステップS1612へ進み、改ページ処理を行う。この改ページ処理の例としては、ページハンドリングの設定でN−UPが指定されていた場合、各印刷ジョブj(j=1〜j)のページ数をL(j)とすると、L(j)がNで割り切れない場合は、当該印刷ジョブの最終ページL(j)の出力が終了したら、用紙送りを行うべく改ページ命令を出力する。L(j)がNで割り切れる場合は、当該印刷ジョブの最終ページL(j)の出力が終了したら、次の印刷ジョブの先頭ページは必然的に次の用紙に配置されるので、紙送りをする必要がなく改ページ命令を出力しないようにする。
【0078】
図17は、図16のステップS1609でページハンドリング処理を行い、ステップS1612で改ページ処理を施した場合の印刷結果例を示す概念図であり、図17(a)は、2UP処理と改ページ処理を施した場合、図17(b)は、4UP処理と改ページ処理を施した場合を示している。
【0079】
図17(a)、(b)において、J1−L1は合成前の印刷ジョブ1の1ページ目を意味している。また、J2−L1は合成前の印刷ジョブ2の1ページ目、J2−L2は合成前の印刷ジョブ2の2ページ目を表している。このようにJに続く番号は合成前の印刷ジョブの順番、Lに続く番号はその印刷ジョブ内のページ番号を表している。図17の例では、3つの印刷ジョブを合成した例を示しており、J1−L1からJ3−L3までを1つの印刷ジョブとして扱って連続して印刷した様子を表している。
【0080】
図17(a)の2UPの例においては、合成前の印刷ジョブ1の1ページ目(最終ページ)であるJ1−L1と合成前の印刷ジョブ2の1ページ目(先頭ページ)であるJ2−L1は改ページされて別の用紙上に配置されている。また、J2−L1とJ2−L2とは、合成前の同一ジョブに属し、かつ2UP処理が指定されているので、同一用紙上に配置されている。 また、図17(b)の4UPの例においては、合成前の印刷ジョブ1の1ページ目(最終ページ)であるJ1−L1と合成前の印刷ジョブ2の1ページ目(先頭ページ)であるJ2−L1は改ページされて別の用紙上に配置されている。また、J2−L1、J2−L2、J2−L3、J2−L4は、合成前の同一ジョブに属し、かつ4UP処理が指定されているので、同一用紙上に配置されている。
【0081】
このように、複数の印刷ジョブ(文書データファィル)を1つの印刷ジョブとして扱ってN−UP印刷する際に、改ページの指定に基づいて自動的に文書データ間で物理ページの紙送りを行うことができ、文書データ間での改ページを所望する場合に改ページ操作を何度も行う手間を省くことが可能となる。
【0082】
なお、本発明は、上記の実施形態に限定されることなく、例えば、情報処理部と印刷処理部とが一体に構成されたスタンドアロン型のプリンタ、ワードプロセッサ等に適用することも可能である。また、印刷処理プログラム及び関連データは、外部記憶装置から供給することなく、ROM等の内部メモリにプリセットしておくことも可能である。
【0083】
さらに、フロッピーディスクから印刷処理プログラム及び関連データを直接RAM12にロードして実行させることなく、フロッピーディスク8から印刷処理プログラムおよび関連データを一旦ハードディスク装置に格納(インストール)しておき、本印刷処理プログラムを動作させる時にハードディスク装置からRAM12にロードするようにしてもよい。
【0084】
【発明の効果】
以上説明したように、本発明によれば、アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置であって、前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存手段と、前記保存手段により保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定手段と、前記複数の印刷対象のデータを合成するための合成モードとして、N−UP印刷を行うページハンドリングの指示と、複数の印刷対象のデータ間で改ページを行うか否かを指示する指示手段と、前記指示手段により複数の印刷対象のデータ間で改ページを行う指示がなされている場合に、各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れるか判断する判断手段と、前記指定手段により指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを前記指示手段で指示されたページハンドリング処理を実行して合成した印刷データを生成する合成手段と、前記合成手段により生成された印刷データを1つの印刷ジョブとして出力する出力手段とを備え、前記合成手段は、前記判断手段により各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れないと判断された場合に、各印刷対象のデータの出力後に改ページ命令を出力して合成された印刷データを生成するように構成されているので、印刷対象の文書データと文書データの間にオペレータが予期しない他の文書データが割込むことなく連続印刷を行うことができる、また、複数の文書データを両面印刷する際に、文書データ間で物理ページの紙送りを行うことなく、奇数ページで構成された文書データの次の文書データの先頭ページをも、前の文書データの最終ページの裏面に連続して印刷することができる、さらに、Nで割切れないページ数で構成された文書データの次の文書データの先頭ページを、前の文書データの最終の物理ページに割付けて連続したN−UP印刷を行うことができる等、複数の所望の文書データを所望の形態で確実に連続的に印刷することが可能となる。
【図面の簡単な説明】
【図1】本発明の実施形態に係る印刷処理装置の概略構成を示すブロック図である。
【図2】印刷処理を実行する際のRAMのメモリマップである。
【図3】図2のメモリマップの記録内容の構成を示す図である。
【図4】印刷処理の概要を示すフローチャートである。
【図5】第1の実施形態におけるジョブ保存モード時のUI画面を示す図である。
【図6】第1の実施形態におけるジョブ合成モード時のUI画面を示す図である。
【図7】印刷対象の文書データの描画命令を示す概念図である。
【図8】合成された中間データのレコードを示す概念図である。
【図9】第1の実施形態における中間データの合成/出力処理を示すフローチャートである。
【図10】合成された文書データの描画命令を示す概念図である。
【図11】第1の実施形態における印刷結果を示す概念図である。
【図12】第2の実施形態におけるジョブ合成モード時のUI画面を示す図である。
【図13】第2の実施形態における中間データの合成/出力処理を示すフローチャートである。
【図14】第2の実施形態における印刷結果を示す概念図である。
【図15】第3の実施形態におけるジョブ合成モード時のUI画面を示す図である。
【図16】第3の実施形態における中間データの合成/出力処理を示すフローチャートである。
【図17】第3の実施形態における印刷結果を示す概念図である。
【符号の説明】
1…情報処理装置
4…表示部
5…キーボード
6…ポインティングデバイス
8…フロッピーディスク
9…ハードディスク装置
11…CPU
12…RAM
13…ROM
15…プリンタ装置
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a print processing technique when a plurality of document data are combined and printed.
[0002]
[Prior art]
Conventionally, when document data created by an application program (hereinafter referred to as an application) on an information processing apparatus such as a personal computer is printed on the application so as to be printed by a printer connected to the information processing apparatus, 1 The print data instructed by one print instruction is processed as one print job sandwiched between the print start instruction and the print end instruction.
[0003]
Further, when printing a plurality of document data, etc., the operator instructs printing individually for each document data. In this case as well, on the printer side, each print data individually instructed to print is Each is processed as one print job. When the end of the print job, that is, a print end command is received, the physical page is fed. When the next print job is received, printing is started from the top of the physical page.
[0004]
In general, while a certain print job is received, other print jobs are not accepted. Further, when printing document data or the like, an N-UP printing function is realized in which a plurality of logical pages (N pages) such as two pages or four pages are reduced and printed on one physical page as a printing form. ing. Furthermore, in a printer having a duplex printing function, when the execution mode of duplex printing is designated on the information processing apparatus side and transmitted to the printer, the duplex printing is performed on the printer side without performing any other special processing on the information processing apparatus side. It is configured to perform printing.
[0005]
[Problems to be solved by the invention]
However, in the prior art, when a plurality of document data is to be continuously printed as one piece of sentence data, if printing execution is instructed for the number of document data, the print data is sent to the printer as a plurality of print jobs. There is a possibility that another unexpected print job may be interrupted between the print jobs. This problem is particularly noticeable when printing is performed using a printer shared on the network, and printing is instructed by another information processing apparatus on the network during a print job to be continuously printed. In some cases, the job is interrupted and printed, and the intended continuous printing cannot be performed. In such a case, it is necessary to perform the work of distributing the finally printed physical pages.
[0006]
In addition, when printing execution for the number of document data is instructed for N-UP printing of a plurality of document data, the print data is sent to the printer as a plurality of print jobs. The paper is fed. For this reason, the first page of the document data next to the document data composed of pages that cannot be divided by N is printed at the top of the new physical page, and the intended continuous N-UP printing cannot be performed. It was.
[0007]
Also, when printing execution for the number of document data is instructed for duplex printing of multiple document data, the print data is sent to the printer as multiple print jobs. The paper will be fed. For this reason, the first page of the next document data after the odd page document data is not printed on the back side of the last page of the previous document data, but is printed on the front side of the new physical page. Continuous double-sided printing could not be performed.
[0008]
The present invention has been made under such a background, and an object thereof is to make it possible to reliably and continuously print a plurality of desired document data in a desired form.
[0009]
[Means for Solving the Problems]
  In order to solve the above problems, the present invention provides a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application, the print processing apparatus being created by the application. Storing the stored document data as data to be printed and stored by the storing unitpluralData to be printedA list of multiple data to be printedSpecifying means for specifying a plurality of print target data to be combined from among the above, and page handling for performing N-UP printing as a combination mode for combining the plurality of print target dataAnd whether or not to perform a page break between multiple data to be printedInstruction means toDetermining means for determining whether the number of pages of each print target data is divisible by N to be arranged on the same paper when the instruction means instructs to perform a page break between a plurality of print target data;When an instruction to combine a plurality of print target data designated by the designation unit is made, the page handling process instructed by the instruction unit is performed on the plurality of print target data using the printer driver. Combining means for generating the combined print data, and output means for outputting the print data generated by the combining means as one print job.The synthesizing unit outputs a page break command after the output of each print target data when the determination unit determines that the number of pages of each print target data is not divisible by N to be arranged on the same sheet. It is configured to generate print data that is output and combined..
[0011]
  Further, the present invention is a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application, wherein the document data created by the application is Saving means for saving the data to be printed and saved by the saving meanspluralData to be printedA list of multiple data to be printedA plurality of print target data to be combined from among a plurality of print target data, and a plurality of print target data specified by the specification unit when the print driver is instructed. Combining means for generating print data obtained by combining the print target data, and output means for outputting the print data generated by the combining means as one print job, wherein the specifying means includes a plurality of print target data. Display control means for displaying a user interface screen for setting a combining mode for combining data by the combining means, wherein the display control means performs page breaks between a plurality of print target data in the combining mode; Displays a user interface screen for specifying whether or notWhen the page break instruction is given by the designating unit, the combining unit arranges the last page of the preceding print target data and the first page of the subsequent print target data on different papers, When no page break instruction is given by the designating means, the last page of the preceding print target data and the first page of the subsequent print target data are arranged successively.
[0012]
  The present invention also provides a method for controlling a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application, the document created by the application The data is stored as a data to be printed, and the storage process stores the data.pluralData to be printedA list of multiple data to be printedSpecifying a plurality of print target data to be combined from the above, and page handling for performing N-UP printing as a combination mode for combining the plurality of print target dataAnd whether or not to perform a page break between multiple data to be printedAn instruction process to perform,A determination step of determining whether the number of pages of each print target data is divisible by N to be arranged on the same paper when an instruction to perform a page break between a plurality of print target data is made by the instruction step;When an instruction to combine a plurality of print target data designated in the designation step is performed, the printer driver is used to execute the page handling process designated in the instruction step for the plurality of print target data. A combining step for generating the combined print data, and an output step for outputting the print data generated by the combining step as one print job.And the combining step outputs a page break command after outputting each print target data when the determination step determines that the number of pages of each print target data is not divisible by N to be arranged on the same sheet. It is configured to generate print data that is output and combined..
[0014]
  The present invention also provides a method for controlling a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application, the document created by the application The data is stored as a data to be printed, and the storage process stores the data.pluralData to be printedA list of multiple data to be printedWhen a designation step for designating a plurality of print target data to be combined from among the plurality of print target data and a combination instruction for the plurality of print target data specified in the specification step are performed, the printer driver is used to A print process for generating print data obtained by combining the print target data, and an output process for outputting the print data generated by the composite process as a single print job. A display control step for displaying a user interface screen for setting a synthesis mode for synthesizing data by the synthesis step, wherein the display control step performs a page break between a plurality of print target data in the synthesis mode. Displays a user interface screen for specifying whether or notIn the composition step, when a page break is instructed in the designation step, the last page of the preceding print target data and the first page of the subsequent print target data are arranged on different papers, When no page break is instructed in the designation step, the last page of the preceding print target data and the first page of the subsequent print target data are sequentially arranged.
[0015]
  The present invention also provides a storage medium for storing a control program executed by a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application. The control program stores the document data created by the application as data to be printed and the storage routine.pluralData to be printedA list of multiple data to be printedSpecifying a plurality of print target data to be combined from the above, and page handling for performing N-UP printing as a combination mode for combining the plurality of print target dataAnd whether or not to perform a page break between multiple data to be printedAn instruction routine toA determination routine for determining whether the number of pages of data to be printed is divisible by N to be arranged on the same sheet when an instruction to perform a page break between a plurality of data to be printed is given by the instruction routine;When an instruction to combine a plurality of print target data designated by the designation routine is given, the printer driver is used to execute the page handling process designated by the instruction routine for the plurality of print target data. A synthesis routine for generating the combined print data, and an output routine for outputting the print data generated by the synthesis routine as one print job.And the composition routine issues a page break command after the output of each print target data when the determination routine determines that the number of pages of each print target data is not divisible by N to be arranged on the same sheet. It is configured to generate print data that is output and combined..
[0017]
  The present invention also provides a storage medium for storing a control program executed by a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application. The control program stores the document data created by the application as data to be printed and the storage routine.pluralData to be printedA list of multiple data to be printedWhen a designation routine for designating a plurality of print target data to be combined from among the plurality of print target data and a combination instruction for the plurality of print target data specified by the specification routine are used, the printer driver is used to A synthesis routine for generating print data obtained by combining the print target data, and an output routine for outputting the print data generated by the synthesis routine as a single print job. A display control routine for displaying a user interface screen for setting a synthesis mode for synthesizing data by the synthesis routine, wherein the display control routine performs page breaks between a plurality of print target data in the synthesis mode. Displays a user interface screen for specifying whether or notWhen the page break is instructed by the specifying routine, the composition routine arranges the last page of the preceding print target data and the first page of the subsequent print target data on different papers, When no page break is instructed by the designation routine, the last page of the preceding print target data and the first page of the subsequent print target data are sequentially arranged.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0024]
[First Embodiment]
FIG. 1 is a block diagram showing a schematic configuration of a print processing apparatus according to an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes an information processing apparatus such as a personal computer, which includes a video memory (VRAM) 3, a display unit (CRT) 4, a keyboard (KBD) 5, a pointing device (PD) 6, a disk controller unit 7, a floppy disk. (FD) 8, hard disk device (HD) 9, connection unit 10, CPU 11, RAM 12, and ROM 13 are main components, and these components are connected to each other via a system bus 2. The CPU 11 controls the entire information processing apparatus 1 according to a program represented by a flowchart of FIG. The RAM 12 stores a program as a main memory of the CPU 11 and is used as a work data area when the CPU 11 executes control.
[0025]
The disk controller unit 7 performs access control with an external storage device such as a floppy disk 8 and a hard disk device 9. The hard disk device 9 and the floppy disk 8 are devices for reading and writing data to and from the magnetic storage medium on the disk. Various graphic data and document data, as well as a boot program for the information processing device 1 downloaded to the RAM 13 and executed, An operating system (OS) that is a control program of the CPU 11, various application programs (hereinafter referred to as applications), a printer control command (print data) generation program (printer driver), a printing system program having a print data synthesis function, and the like Remember. As the external storage device, not only a hard disk device and a floppy disk but also a magnetic tape, a CD-ROM, a 1C memory card, a DVD, or the like can be used.
[0026]
The ROM 13 is an internal memory and stores various data and programs such as a basic I / O program as in the hard disk device 9 and the floppy disk 8 described above. The display unit 4 displays document data composed of characters, graphics, etc. in the information processing apparatus 1, a user interface (UI) such as a command menu, a message to an operator, etc., and a CRT (cathode ray tube). And a liquid crystal display or the like. The video memory 3 stores data to be displayed on the display unit 4 as bitmap data.
[0027]
The keyboard 5 and the pointing device 6 are used to input various data and commands, or setting information such as a print mode. At this time, by selecting a command image or the like of the command menu displayed on the display screen of the display unit 4 with the keyboard 5 or the pointing device 6, it is possible to instruct the execution of the command and the print mode.
[0028]
A connection unit 10 is connected to the connection unit 17 of the printer device 15 via a predetermined bidirectional interface 14 such as a Centronics interface or a network interface, and transmits a printer control command (print data). The communication control process with is executed.
[0029]
The printer device 15 includes a connection unit 17, a printing unit (printer engine) 18, an operation unit 19, an external memory 20, a CPU 21, a RAM 22, and a ROM 23, and these components are mutually connected via a system bus 16. It is connected. The CPU 21 controls the entire printer manufacturing unit 15. The CPU 21 generates an image signal based on a printer control command (print data) received by the connection unit 17 in accordance with a control program stored in the ROM 23 or the external memory 20 and outputs the image signal to the printing unit 18.
[0030]
The RAM 22 functions as a main memory of the CPU 21 and is used as a work data area or the like when the control is executed by the CPU 21. The external memory 20 can be installed as an option, and stores font data, an emulation program, form data, and the like.
[0031]
The ROM 23 is a printer internal memory and stores various data, a printer control program for controlling the printer device 15, and the like, similar to the external memory 20. The printing unit 18 is a printer engine, and performs an actual printing operation based on an image signal output via the system bus 16 under the control of the CPU 21.
[0032]
The operation unit 19 includes an input unit such as an operation panel and an operation switch, an LED for displaying operation contents, a display unit such as a liquid crystal panel, and the like. The operation unit 19 instructs and confirms various settings of the printer device 15. Used. The connection unit 17 is used for receiving a printer control command (print data) from the information processing apparatus 1 via the bidirectional interface 14 and notifying the internal state of the printer.
[0033]
Next, preprocessing for the operation of the print processing apparatus will be described with reference to FIGS. 2 and 3.
[0034]
When the information processing apparatus 1 is turned on, it is first stored in the external storage memory such as the hard disk 9 or the floppy disk 8 by the initial program loading (IPL) function in the basic 1 / O program stored in the ROM 13. The operating system (OS) is read into the RAM 12 and started up, and a command menu command image or the like is displayed on the display screen of the display unit 4.
[0035]
Next, when execution of an application is selected from a command menu related to display by operating the keyboard 5 and the pointing device 6, the application stored in the external storage device such as the hard disk 9 or the floppy disk 8 is stored in the RAM 12. It is read and activated. When printing is instructed on the application, a print processing program having a synthesis function of print data (document data file) stored in an external storage device such as the hard disk 9 or the floppy disk 8 and printer control command generation A program (printer driver) is read into the RAM 12, and a print processing program is started.
[0036]
In this embodiment, the print processing program and related data are stored in the floppy disk 8, and the stored contents are shown in FIG. The print processing program and related data stored in the floppy disk 8 are loaded into the information processing apparatus 1 through the disk controller unit 7. That is, when the floppy disk 8 is set in the disk controller unit 7, the print processing program and related data are read from the floppy disk 8 under the control of the OS and the basic 1 / O program, and loaded into the RAM 12 for print processing. It becomes. FIG. 2 shows a memory map of the RAM 12 in a state where the print processing program is loaded into the RAM 12 and becomes executable.
[0037]
Next, an outline of print processing including a print data composition function unique to the present embodiment will be described. In the state of the memory map in FIG. 2, when the print processing of the document data is designated by the application and the print job save mode is designated, a UI screen for designating the name of the file for saving the print job is displayed. Therefore, when a save file name is designated on the UI screen, the document data received from the application is converted into intermediate data by the intermediate data writing program, and saved with the designated file name.
[0038]
On the other hand, when document data print processing is designated by the application and a print job composition mode is designated, a UI screen for instructing the file name and composition order of the print job (intermediate data) is displayed. Therefore, when the file name and order to be synthesized are instructed, the intermediate data synthesis program checks whether or not a plurality of designated intermediate data files can be synthesized. The document data received this time is converted to intermediate data and temporarily stored, the intermediate data file specified as the composite file is combined in the specified order to create new intermediate data, and the temporary intermediate data The new intermediate data related to the synthesis is synthesized, and the synthesized intermediate data is sequentially output to a printer control command generation program (printer driver) or a program intervening in the preceding step, and finally the printer control By command generation program (printer driver) It said based on the intermediate data printer control command (print data) is generated and printing is performed.
[0039]
Next, the printing process will be described with reference to the flowchart of FIG. First, in step S401 in FIG. 4, either the print job composition mode or the print job storage mode is designated as the print mode. In step S402, printing is designated. This print mode and print designation are performed by selecting a command image of a command menu on the UI screen displayed on the display unit 3 by operating the keyboard 5 and the pointing device 6.
[0040]
Next, it is determined whether the print mode designated in step S401 is the composition mode or the storage mode (step S403). As a result, if the print mode is the save mode, the currently designated job, that is, the document data received from the application is converted into intermediate data, and the intermediate data is stored in the floppy disk 8 or the hard disk device 9. (Step S404), the process ends.
[0041]
On the other hand, if the synthesis mode is designated, intermediate data is generated for the print job currently designated for printing, and is temporarily stored in the RAM 12 (step S405). Then, the intermediate data temporarily stored and the combined result of the storage file specified in step S401 are combined to generate new intermediate data, and the new intermediate data is converted into an instruction that can be read in the next step S407. And output (step S406). In step S407, the command synthesized and output in step S406 is converted into a printer control command (print data) and output to the printer device 15. That is, drawing commands corresponding to each record of the intermediate data output in step S406 are sequentially input, converted into a printer control command (print data), output to the printer device 15, and the printing process is terminated. The processing performed in step S407 is normal printing processing undertaken by the printer control command generation program (printer driver).
[0042]
Next, the printing mode designation method in step S401 will be described in detail with reference to FIGS.
[0043]
FIG. 5 shows a print mode designating UI screen for designating the print mode in step S401 of FIG. In FIG. 5, a is a button switch for designating print job storage, and b is a button switch for designating print job composition. The switches a and b are contradictory. Either one of the modes can be selectively specified. FIG. 5 shows a job storage mode as a default mode, and the job storage button switch a is inverted to black. Further, c is an area for designating a file name to be saved when saving a job. The file name designated in this area c becomes the saved file name when the intermediate data is saved in step S404. The area c for designating the save file name is displayed when the job save button switch a is selected.
[0044]
In FIG. 5, “d” is an OK button switch, which is selected when the designated print mode and the storage file name are confirmed. Also, e is a cancel button, which is selected when canceling the designated print mode and saved file name.
[0045]
FIG. 6 shows a job composition mode designation UI screen for designating the print mode in step S401 of FIG. The UI screen is displayed when the job composition button switch b is selected on the print mode designation UI screen of FIG. In FIG. 6, f is an area for designating the file name of the file to be synthesized. The composite file name designation area f is composed of a number display area and two areas for inputting a corresponding file name. The numbers displayed in this number display area indicate the order of combining the files to be combined. That is, the compositing target file input corresponding to number 1 is combined in the order of the compositing target file input corresponding to numbers 2, 3,... This indicates that the print job is combined. Further, g in FIG. 6 is a reference button, which displays a list for selecting and inputting a combined file name to be input to the combined file name input area f from the keyboard. is there. That is, when the reference button g is selected, a list such as a list of storage files of intermediate data stored in the floppy disk 8 or the hard disk device 9 or a list of directory configurations of storage locations is displayed on the document data to be synthesized. When a file name is displayed as a candidate and a file name in the list is selected, the selected file name is entered in the current composite file name input field.
[0046]
When the OK button d is selected on the UI screen of FIGS. 5 and 6 to confirm the print mode and various specified contents, information such as the print mode and the save file name or the composite file name is temporarily stored in the work area of the RAM 12. It can be referred to in later steps. If the printer device 15 supports the duplex printing function, it is possible to instruct duplex printing on this UI screen.
[0047]
Next, the intermediate data generation method in step S404 in FIG. 4 will be described in detail with reference to FIGS.
[0048]
FIG. 7 shows a document data capture command passed to the print processing program when printing execution is designated from an application or the like in step S402 of FIG. As shown in FIG. 7, the drawing command starts from a “job start command” and ends with a “job end command”. The printer initialization command section is a command group that appears after the “job start command”, and includes a “paper size designation command”, a “printing direction designation command”, and the like.
[0049]
The drawing command part that appears next to the printer initialization command part is composed of “character printing command”, “color designation command”, “graphic drawing command”, “image drawing command”, “page break command”, and the like. The “color designation command” is a command for designating in advance the characters and graphics colors that are the targets of the “character printing command” and “graphic drawing command”, and is designated in RGB format. In addition, the “image drawing command” includes a color data table in RGB format in the data portion as a general image data format, and the color of each pixel at the time of image drawing is the value of each pixel. Specified by indicating the index of the table. In addition, the “image drawing command” includes bitmap data, width, height, drawing position coordinate information, and the like. The “character print command” includes information such as character type, character code, character print position coordinates, character width, character height, character feed width, line feed height, etc. The figure type, genus type, drawing position coordinate information, and the like are included.
[0050]
In the intermediate data generation process in step S404 of FIG. 4, intermediate data is generated by sequentially inputting the drawing commands shown in FIG. 7 and sequentially outputting the intermediate records (see FIG. 8) corresponding thereto. That is, the “job related instruction” in FIG. 7 is described as “job start record”, and the “job end instruction” is described as “job end record” at the beginning and end of the file, respectively. In addition, each command of the printer initialization command section and the drawing command section is also described in turn as a corresponding record. It is also possible to record a plurality of drawing commands combined into one.
[0051]
The intermediate data record shown in FIG. 8 is stored in a storage device such as the hard disk device 9 with the storage file name designated in step S401.
[0052]
Next, the intermediate data synthesizing method in step S406 in FIG. 4 will be described in detail with reference to FIGS.
[0053]
FIG. 9 is a flowchart showing the intermediate data composition / output process in step S406 of FIG. First, in step S901, all the intermediate data files designated as the synthesis target in step S401 in FIG. 4 are checked. That is, as shown in FIG. 8, for example, a printer initialization record such as paper size information is described in each intermediate data file. Therefore, the printer initialization record portion in the intermediate data file to be combined is checked, It is checked whether or not the printer initialization information such as the paper size information matches. If they match, the check flag is set to OK, and if not, it is set to NG.
[0054]
Next, it is determined whether or not the check flag is set to OK (step S902). As a result, if the check flag is set to NG, the process proceeds to step S903 to interrupt the print processing, and a message such as "Cannot combine because the data attributes in the file to be combined do not match" is displayed. ,finish.
[0055]
On the other hand, if OK is set in the check flag, a job start command that can be read in step S407 in FIG. 4 is output (step S904). The printer initialization record checked in step S901 is converted into a printer initialization command that can be read in step S407 in FIG. 4 and output (step S905). Next, the intermediate data files corresponding to the designated file names to be combined are opened one by one in the numerical order of FIG. 6 (step S906). In step S906, the intermediate data file opening process for the current print job temporarily stored in step S405 of FIG. 4 is finally performed.
[0056]
Next, the drawing record portion of the opened intermediate data file is read (step S907), converted into a drawing command that can be read in step S407 of FIG. 4, and output. Next, the currently opened intermediate data file is closed (step S909), and it is determined whether or not there is a file that has not been subjected to the processing of steps S906 to S909 among the synthesis target files specified in FIG. A determination is made (step S910). As a result, if there is a file to be combined that has not been processed, the process returns to step S906 to perform similar processing on the file. In step S910, it is also determined whether or not the processing in steps S906 to S909 has been performed on the intermediate data file related to the current print job temporarily stored in step S405 in FIG. If the process is not performed, the process returns to step S906 in the same manner. That is, a plurality of print jobs (document data) are combined by the cyclic processing in steps S906 to S910.
[0057]
If it is determined in step S910 that the intermediate data file of the current print job has also been combined, a job end command that can be read in step S407 in FIG. 4 is output (step S911), and the process ends.
[0058]
FIG. 10 is a diagram illustrating all instructions finally output in step S406 of FIG. 4 (processing of FIG. 9). The drawing command part 1 in FIG. 10 is obtained by converting the drawing record part of the intermediate data file corresponding to the file name to be synthesized designated as the first in FIG. 6 into a drawing command in step S908 in FIG. . Similarly, the drawing command part 2 is obtained by converting the drawing record part of the intermediate data file designated as the second into a drawing command. Further, the drawing command unit 3 is obtained by converting the drawing record portion of the intermediate data file of the current print job temporarily stored in step S406 of FIG. 4 into a drawing command.
[0059]
These printer initialization command section and drawing command section are sandwiched between the job start command output in step S904 in FIG. 9 and the job end command output in step S911. Recognized as a print job.
[0060]
FIG. 11 is a conceptual diagram illustrating an example of a printing result obtained by the above-described printing process. FIG. 11A illustrates an example of normal single-sided printing, and FIG. 11B illustrates an example of double-sided printing. 11A and 11B, J1-L1 means the first page of print job 1 before composition, J2-L1 is the first page of print job 2 before composition, and J2-L2 is This represents the second page of print job 2 before composition. That is, the number following J represents the order of the print job before composition, and the number following L represents the page number in the print job. The example of FIG. 11 shows an example in which three print jobs are combined, and shows a state in which J1-L1 to J3-L3 are handled as one print job and continuously printed.
[0061]
In the example of double-sided printing in FIG. 11B, the part enclosed in parentheses indicates that it is printed on the back side. In this double-sided printing example, J1-L1 which is the first page (last page) of print job 1 before composition and J2-L1 which is the first page (first page) of print job 2 are on the same sheet. Printed on the front and back of the. J2-L4 and J3-L1 are also printed on the front and back sides of the same sheet, and are printed continuously without any separation (paper feed) between print jobs, that is, document data.
[0062]
As described above, in order to continuously print a plurality of print jobs (document data files) as one set of document data, when a plurality of document data files are designated as print targets, the document data files are automatically processed. Since the combined data is printed as a single print job, continuous printing is performed without interrupting other document data unexpected by the operator between the document data to be printed and the document data. It becomes possible. In addition, when performing double-sided printing of multiple document data, the first page of the document data next to the document data composed of odd pages is also transferred to the previous document data without transferring the physical pages between the document data. It is possible to print continuously on the back side of the last page. Furthermore, since the number of physical page feeding times is reduced, printing paper can be saved.
[0063]
[Second Embodiment]
In the second embodiment, when a plurality of document data are combined and continuously printed as one print job as in the first embodiment, a plurality of logical pages (N pages) are reduced and arranged in a physical page. Page handling such as N-UP printing to be printed on or a combination of N-UP printing and double-sided printing can be designated.
[0064]
The process in the second embodiment is different from the process in the first embodiment only in the print mode designation process in step S401 and the intermediate data composition / output process in step S406 in FIG. The same. Therefore, here, the print mode designation process in the second embodiment will be described with reference to FIG. 12, the intermediate data composition / output process in the second embodiment will be described with reference to FIGS. Description of the processing is omitted.
[0065]
FIG. 12 shows a UI screen when the job composition mode is designated as the print mode in the second embodiment. This UI screen is obtained by adding a switch button h for designating whether or not to perform page handling to the UI screen at the time of job composition designation in the first embodiment shown in FIG. The switch button h for designating page handling is a toggle button, and in FIG. 12, the switch button h is inverted to black, indicating that it is a mode (ON mode) in which page handling is performed. Here, when the switch button h is turned on, detailed page handling settings, for example, N setting in N-UP printing such as 2UP and 4UP, and control of the output page by combining the layout direction and double-sided printing. A UI screen for finely designating a method or the like may be displayed, and those settings may be performed on the UI screen. The setting contents set on the UI screen are temporarily stored in the work area of the RAM 12 by selecting and confirming the OK button d, and can be referred to in subsequent steps.
[0066]
FIG. 13 is a flowchart showing intermediate data composition / output processing in the second embodiment in step S406 of FIG. This flowchart is obtained by adding page handling processing to the flowchart of FIG. 9 in the first embodiment, and steps S1301 to S1307 of FIG. 13 are the same as the processing contents of steps S901 to S9O7 of FIG. Steps S1310 to S1313 in FIG. 13 have the same processing contents as steps S908 to S911 in FIG. Accordingly, only steps S1308 and S1309, which are parts of the page handling process, will be described here, and descriptions of other steps will be omitted.
[0067]
If the drawing record portion of the intermediate data file opened in step S1306 is read in step S1307 in FIG. 13, the process advances to step S1308 to determine whether or not the page handling flag specified in step S401 in FIG. 4 is ON. . As a result, if the page handling flag is OFF, the process proceeds to step S1310 without performing the page handling process.
[0068]
On the other hand, if the page handling flag is ON, the process advances to step S1309 to perform page handling processing. As an example of this page handling processing, if 2UP is specified, the coordinate parameter of the drawing command of each page is reduced to about 50%, and the left side, the right side, and the next page of the intermediate data file are read in the page order. There is a processing method in which an intermediate data file is continuously arranged across two or more pages on one page (one sheet), such as the left side and the right side of the sheet. If 4UP is specified, the coordinate parameter of the drawing command for each page is reduced to about 25%, and the intermediate data file is read in the order of the pages, such as upper left, upper right, lower left, lower right, etc. There is a processing method in which a data file is continuously arranged for four pages per page (one sheet) and across a plurality of sheets.
[0069]
FIG. 14 is a conceptual diagram illustrating an example of a print result when the page handling process is performed in step S1309 in FIG. FIGS. 14A and 14B show printing results when the above-described 2UP processing and 4UP processing are performed as page handling processing, respectively. 14A and 14B, J1-L1 represents the first page of the print job 1 before composition. J2-L1 represents the first page of print job 2 before composition, and J2-L2 represents the second page of print job 2 before composition. Thus, the number following J represents the order of the print job before composition, and the number following L represents the page number in the print job. The example in FIG. 14 shows an example in which three print jobs are combined, and shows a state in which J1-L1 to J3-L3 are handled as one print job and are continuously printed.
[0070]
In the example of 2UP in FIG. 14A, J1-L1 which is the first page (last page) of print job 1 before composition and J2-L1 which is the first page (first page) of print job 2 before composition. L1 is arranged on the same sheet. J2-L4 and J3-L1 are also arranged on the same sheet, and there are no separation (paper feed) between print jobs before composition, and 8 pages are printed continuously. In the example of 4UP in FIG. 14B, it is J1-L1 which is the first page (last page) of the print job 1 before composition and the first to third pages (first page) of the print job 2 before composition. J2-L1, J2-L2, and J2-L3 are arranged on the same sheet. Further, there is no separation (paper feed) between print jobs before composition, and 8 pages are printed continuously.
[0071]
As described above, when N-UP printing a plurality of print jobs (document data files), a plurality of document data files designated as N-UP printing targets are automatically combined in the N-UP format, and the combination is performed. Since the data is printed as one print job, the first page of the document data next to the document data composed of the number of pages that cannot be divided by N without performing physical page feed between the document data. Can be assigned to the last physical page of the previous document data to perform continuous N-UP printing. Further, since the number of physical page feeding times is reduced, it is possible to save printing paper.
[0072]
[Third Embodiment]
In the third embodiment, when a plurality of document data are combined and printed as one job as in the second embodiment, a plurality of logical pages (N pages) are reduced and printed on one physical page. Page handling such as N-UP printing to be performed or a combination of N-UP printing and double-sided printing, and page breaks between the last page of the job before composition and the first page before composition It is configured to be able to do.
[0073]
The process in the third embodiment is different from the process in the first embodiment only in the print mode designation process in step S401 and the intermediate data composition / output process in step S406 in FIG. The same. Therefore, here, the print mode designation process in the third embodiment will be described with reference to FIG. 15, the intermediate data composition / output process in the third embodiment will be described with reference to FIGS. Description of the processing is omitted.
[0074]
FIG. 15 shows a UI screen when the job composition mode is designated as the print mode in the third embodiment. This UI screen is obtained by adding a switch button i for designating whether or not to perform a page break to the UI screen at the time of job composition designation in the second embodiment shown in FIG. This switch button i is a toggle button, and designates whether or not to perform page break (paper feed) of paper. In FIG. 15, the page break designation switch button i is inverted in black, indicating that the page break is in a mode (ON mode). In addition, the page handling designation switch button h is also inverted in black, and the page handling process and the page break process are designated. When the page break mode and page handling detailed setting information is confirmed by the OK button d, it is temporarily stored in the work area of the RAM 12 and can be referred to in a later step.
[0075]
FIG. 16 is a flowchart showing intermediate data composition / output processing in the third embodiment in step S406 of FIG. This flowchart is obtained by adding a page break to the flowchart of FIG. 13 in the second embodiment, and steps S1601 to S1610 of FIG. 16 are the same as the processing contents of steps S1301 to S1310 of FIG. Steps S1613 to S1615 are the same processing contents as steps S1311 to S1313 of FIG. Therefore, only steps S1611 and S1612, which are parts of the page modification process, will be described here, and descriptions of other steps will be omitted.
[0076]
In step S1610 of FIG. 16, when the drawing record portion read in step S1609 is sequentially converted into a drawing command that can be read in step S407 of FIG. It is determined whether or not the page flag is ON. As a result, if the page break flag is OFF, the process proceeds to step S1613 without performing the page break process.
[0077]
On the other hand, if the page break flag is ON, the process advances to step S1612 to perform page break processing. As an example of this page break processing, when N-UP is specified in the page handling setting, if the number of pages of each print job j (j = 1 to j) is L (j), then L (j) Is not divisible by N, when the output of the last page L (j) of the print job is completed, a page break command is output to feed the paper. When L (j) is divisible by N, when the output of the last page L (j) of the print job is finished, the first page of the next print job is necessarily placed on the next sheet, so that paper feed is performed. No page break command is output.
[0078]
FIG. 17 is a conceptual diagram illustrating an example of a print result when the page handling process is performed in step S1609 in FIG. 16 and the page break process is performed in step S1612. FIG. 17A illustrates the 2UP process and the page break process. FIG. 17B shows a case where 4UP processing and page break processing are performed.
[0079]
In FIGS. 17A and 17B, J1-L1 means the first page of the print job 1 before composition. J2-L1 represents the first page of print job 2 before composition, and J2-L2 represents the second page of print job 2 before composition. Thus, the number following J represents the order of the print job before composition, and the number following L represents the page number in the print job. The example of FIG. 17 shows an example in which three print jobs are combined, and shows a state in which J1-L1 to J3-L3 are handled as one print job and continuously printed.
[0080]
In the 2UP example of FIG. 17A, J1-L1 which is the first page (last page) of print job 1 before composition and J2-L1 which is the first page (first page) of print job 2 before composition. L1 is page-turned and placed on another sheet. Also, J2-L1 and J2-L2 belong to the same job before composition, and 2UP processing is designated, so they are arranged on the same sheet. In the example of 4UP in FIG. 17B, J1-L1 which is the first page (last page) of the print job 1 before composition and the first page (first page) of the print job 2 before composition. J2-L1 is page-turned and placed on another sheet. J2-L1, J2-L2, J2-L3, and J2-L4 belong to the same job before composition and 4UP processing is designated, so they are arranged on the same sheet.
[0081]
As described above, when N-UP printing is performed by handling a plurality of print jobs (document data files) as one print job, the physical page is automatically fed between the document data based on the page break designation. This makes it possible to save the trouble of performing page break operations many times when page breaks between document data are desired.
[0082]
The present invention is not limited to the above-described embodiment, and can be applied to, for example, a stand-alone printer, a word processor, or the like in which an information processing unit and a print processing unit are configured integrally. The print processing program and related data can be preset in an internal memory such as a ROM without being supplied from an external storage device.
[0083]
Further, the print processing program and the related data are stored in the hard disk device once (installed) from the floppy disk 8 without directly loading the print processing program and the related data from the floppy disk into the RAM 12 for execution. It is also possible to load the data from the hard disk device to the RAM 12 when operating.
[0084]
【The invention's effect】
  As described above, according to the present invention, a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application, which is created by the application. The stored document data as data to be printed, and stored by the storage unitpluralData to be printedA list of multiple data to be printedSpecifying means for specifying a plurality of print target data to be combined from among the above, and page handling for performing N-UP printing as a combination mode for combining the plurality of print target dataAnd whether or not to perform a page break between multiple data to be printedInstruction means toDetermining means for determining whether the number of pages of each print target data is divisible by N to be arranged on the same paper when the instruction means instructs to perform a page break between a plurality of print target data;When an instruction to combine a plurality of print target data designated by the designation unit is made, the page handling process instructed by the instruction unit is performed on the plurality of print target data using the printer driver. Combining means for generating the combined print data, and output means for outputting the print data generated by the combining means as one print job.The synthesizing unit outputs a page break command after the output of each print target data when the determination unit determines that the number of pages of each print target data is not divisible by N to be arranged on the same sheet. Since it is configured to generate print data that is output and combined,It is possible to perform continuous printing without interrupting other document data that the operator does not expect between the document data to be printed and the physical data between the document data when performing double-sided printing of multiple document data. The first page of the next document data of the document data composed of odd pages can be continuously printed on the back surface of the last page of the previous document data without feeding the pages. Further, N The first page of the document data next to the document data composed of pages that cannot be divided by the number of pages can be assigned to the last physical page of the previous document data, and continuous N-UP printing can be performed. The document data can be reliably and continuously printed in a desired form.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a print processing apparatus according to an embodiment of the present invention.
FIG. 2 is a memory map of a RAM when executing a printing process.
FIG. 3 is a diagram illustrating a configuration of recorded contents of a memory map of FIG. 2;
FIG. 4 is a flowchart illustrating an outline of print processing.
FIG. 5 is a diagram illustrating a UI screen in a job storage mode according to the first embodiment.
FIG. 6 is a diagram illustrating a UI screen in a job composition mode according to the first embodiment.
FIG. 7 is a conceptual diagram illustrating a drawing command for document data to be printed.
FIG. 8 is a conceptual diagram showing a record of synthesized intermediate data.
FIG. 9 is a flowchart showing intermediate data composition / output processing in the first embodiment;
FIG. 10 is a conceptual diagram illustrating a rendering command for synthesized document data.
FIG. 11 is a conceptual diagram illustrating a printing result in the first embodiment.
FIG. 12 is a diagram illustrating a UI screen in a job composition mode according to the second embodiment.
FIG. 13 is a flowchart showing intermediate data composition / output processing in the second embodiment;
FIG. 14 is a conceptual diagram illustrating a printing result in the second embodiment.
FIG. 15 is a diagram illustrating a UI screen in a job composition mode according to the third embodiment.
FIG. 16 is a flowchart showing intermediate data composition / output processing in the third embodiment;
FIG. 17 is a conceptual diagram illustrating a printing result in the third embodiment.
[Explanation of symbols]
1 Information processing device
4 ... Display section
5 ... Keyboard
6. Pointing device
8 Floppy disk
9. Hard disk device
11 ... CPU
12 ... RAM
13 ... ROM
15 ... Printer device

Claims (27)

アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置であって、
前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存手段と、
前記保存手段により保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定手段と、
前記複数の印刷対象のデータを合成するための合成モードとして、N−UP印刷を行うページハンドリングの指示と、複数の印刷対象のデータ間で改ページを行うか否かを指示する指示手段と、
前記指示手段により複数の印刷対象のデータ間で改ページを行う指示がなされている場合に、各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れるか判断する判断手段と、
前記指定手段により指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを前記指示手段で指示されたページハンドリング処理を実行して合成した印刷データを生成する合成手段と、
前記合成手段により生成された印刷データを1つの印刷ジョブとして出力する出力手段とを備え、
前記合成手段は、前記判断手段により各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れないと判断された場合に、各印刷対象のデータの出力後に改ページ命令を出力して合成された印刷データを生成することを特徴とする印刷処理装置。
A print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application,
Storage means for storing document data created by the application as data to be printed;
Designating means for designating data of a plurality of print object to be synthesized from among a list of data of a plurality of printed stored lists, the plurality of printed listed displayed data by said storage means,
As a combining mode for combining the plurality of print target data, a page handling instruction for performing N-UP printing, and an instruction unit for instructing whether or not to perform a page break between the plurality of print target data ;
Determining means for determining whether the number of pages of each print target data is divisible by N to be arranged on the same paper when the instruction means instructs to perform a page break between a plurality of print target data;
When an instruction to combine a plurality of print target data designated by the designation unit is made, the page handling process instructed by the instruction unit is performed on the plurality of print target data using the printer driver. Combining means for generating the combined print data,
Output means for outputting the print data generated by the synthesizing means as one print job ,
The synthesizing unit outputs a page break command after outputting each print target data when the determination unit determines that the number of pages of each print target data is not divisible by N to be arranged on the same sheet. A print processing apparatus for generating print data synthesized in this manner .
前記保存手段は、前記アプリケーションにより作成された文書データを中間データに変換し、印刷対象のデータとして保存することを特徴とする請求項1記載の印刷処理装置。  The print processing apparatus according to claim 1, wherein the storage unit converts document data created by the application into intermediate data and stores the data as print target data. 前記指定手段は、印刷モードとして、印刷対象の文書データを前記保存手段により保存する保存モードと、印刷対象の複数の文書データを前記合成手段により合成する合成モードとを設定するためのユーザインターフェイス画面を表示する表示制御手段を含むことを特徴とする請求項1または2記載の印刷処理装置。  The designating unit is a user interface screen for setting, as a print mode, a storage mode in which document data to be printed is stored by the storage unit, and a combination mode in which a plurality of document data to be printed are combined by the combination unit. The print processing apparatus according to claim 1, further comprising display control means for displaying. 前記表示制御手段は、前記保存モード時の前記ユーザインターフェイス画面上に、前記保存手段により文書データを保存する際のファィル名を指定する欄を表示することを特徴とする請求項3記載の印刷処理装置。  4. The printing process according to claim 3, wherein the display control unit displays a field for designating a file name when the document data is stored by the storage unit on the user interface screen in the storage mode. apparatus. 前記表示制御手段は、前記合成モード時の前記ユーザインターフェイス画面上に、前記保存手段により保存された文書データを合成対象の文書データの候補として一覧表示させるためのスイッチボタンを表示することを特徴とする請求項3または4記載の印刷処理装置。  The display control means displays a switch button for displaying a list of document data saved by the saving means as candidates for composition data on the user interface screen in the composition mode. The print processing apparatus according to claim 3 or 4. 前記表示制御手段は、前記合成モード時の前記ユーザインターフェイス画面上に、前記合成手段による合成順番を予め付した形で合成対象の複数の文書データを指定する欄を表示することを特徴とする請求項3乃至5のいずれかに記載の印刷処理装置。  The display control means displays, on the user interface screen in the composition mode, a column for designating a plurality of document data to be composed in a form pre-assigned with the composition order by the composition means. Item 6. The print processing apparatus according to any one of Items 3 to 5. 前記表示制御手段は、前記合成モード時の前記ユーザインターフェイス画面上に、前記ページハンドリング処理を行うか否かを指定するためのスイッチボタンを表示することを特徴とする請求項3乃至6のいずれかに記載の印刷処理装置。  The display control means displays a switch button for designating whether or not to perform the page handling process on the user interface screen in the composition mode. The print processing apparatus according to claim 1. アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置であって、
前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存手段と、
前記保存手段により保存されている複数の印刷対象のデータの一覧をリスト表示し、リ スト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定手段と、
前記指定手段により指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを合成した印刷データを生成する合成手段と、
前記合成手段により生成された印刷データを1つの印刷ジョブとして出力する出力手段とを備え、
前記指定手段は、複数の印刷対象のデータを前記合成手段により合成する合成モードを設定するためのユーザインターフェイス画面を表示する表示制御手段を含み、
前記表示制御手段は、前記合成モード時に複数の印刷対象のデータ間で改ページを行うか否かを指定させるためのユーザインターフェイス画面を表示し、
前記合成手段は、前記指定手段により改ページ指示がなされている場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを異なる用紙上に配置し、前記指定手段により改ページ指示がなされていない場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを連続して配置することを特徴とする印刷処理装置。
A print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application,
Storage means for storing document data created by the application as data to be printed;
A list of data of a plurality of printed stored lists by said storing means, designating means for designating data of a plurality of printed to be synthesized from data of a plurality of print target is list display ,
A combining unit that generates print data by combining the plurality of print target data using the printer driver when an instruction to combine the plurality of print target data specified by the specifying unit is made;
Output means for outputting the print data generated by the synthesizing means as one print job,
The designation means includes display control means for displaying a user interface screen for setting a synthesis mode in which a plurality of print target data is synthesized by the synthesis means,
The display control means displays a user interface screen for designating whether or not to perform a page break between a plurality of print target data in the composition mode ,
When the page is instructed by the specifying unit, the synthesizing unit arranges the last page of the preceding print target data and the first page of the subsequent print target data on different papers, and When a page break instruction is not issued by the means , a print processing apparatus is provided that continuously arranges a last page of preceding print target data and a first page of subsequent print target data .
前記出力手段は、前記合成手段により合成された文書データから生成される印刷データをジョブ開始命令とジョブ終了命令とで挟んで出力することにより、1つの印刷ジョブとして出力することを特徴とする請求項記載の印刷処理装置。The output unit outputs the print data generated from the document data combined by the combining unit as a single print job by outputting the print data between a job start command and a job end command. Item 9. The print processing apparatus according to Item 8 . アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置の制御方法であって、
前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存工程と、
前記保存工程により保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定工程と、
前記複数の印刷対象のデータを合成するための合成モードとして、N−UP印刷を行うページハンドリングの指示と、複数の印刷対象のデータ間で改ページを行うか否かを指示する指示工程と、
前記指示工程により複数の印刷対象のデータ間で改ページを行う指示がなされている場合に、各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れるか判断する判断工程と、
前記指定工程により指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを前記指示工程で指示されたページハンドリング処理を実行して合成した印刷データを生成する合成工程と、
前記合成工程により生成された印刷データを1つの印刷ジョブとして出力する出力工程とを備え、
前記合成工程は、前記判断工程により各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れないと判断された場合に、各印刷対象のデータの出力後に改ページ命令を出力して合成された印刷データを生成することを特徴とする印刷処理装置の制御方法。
A control method of a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application,
A storage step of storing the document data created by the application as data to be printed;
A designation step of said list of data of a plurality of printed stored by storing step lists to specify the data of a plurality of printed to be synthesized from the list displayed data of a plurality of printed were,
As a compositing mode for compositing the plurality of print target data, a page handling instruction for performing N-UP printing and an instruction step for instructing whether or not to perform a page break between the plurality of print target data ;
A determination step of determining whether the number of pages of each print target data is divisible by N to be arranged on the same paper when an instruction to perform a page break between a plurality of print target data is made by the instruction step;
When an instruction to combine a plurality of print target data designated in the designation step is performed, the printer driver is used to execute the page handling process designated in the instruction step for the plurality of print target data. A compositing process for generating print data composed by combining,
An output step of outputting the print data generated by the synthesis step as one print job ,
The composition step outputs a page break command after outputting each print target data when the determination step determines that the number of pages of each print target data is not divisible by N to be arranged on the same sheet. A print processing apparatus control method, comprising: generating print data synthesized in the above manner.
前記保存工程は、前記アプリケーションにより作成された文書データを中間データに変換し、印刷対象のデータとして保存することを特徴とする請求項10記載の印刷処理装置の制御方法。The method according to claim 10 , wherein the storing step converts document data created by the application into intermediate data and stores the data as print target data. 前記指定工程は、印刷モードとして、印刷対象の文書データを前記保存工程により保存する保存モードと、印刷対象の複数の文書データを前記合成工程により合成する合成モードとを設定するためのユーザインターフェイス画面を表示する表示制御工程を含むことを特徴とする請求項10または11記載の印刷処理装置の制御方法。The designating step includes a user interface screen for setting, as a print mode, a storage mode in which document data to be printed is stored in the storage step, and a composition mode in which a plurality of document data to be printed are combined in the composition step. 12. The method of controlling a print processing apparatus according to claim 10 or 11 , further comprising a display control step of displaying the image. 前記表示制御工程は、前記保存モード時の前記ユーザインターフェイス画面上に、前記保存工程により文書データを保存する際のファィル名を指定する欄を表示することを特徴とする請求項12記載の印刷処理装置の制御方法。13. The printing process according to claim 12 , wherein the display control step displays a field for designating a file name when the document data is saved by the saving step on the user interface screen in the saving mode. Control method of the device. 前記表示制御工程は、前記合成モード時の前記ユーザインターフェイス画面上に、前記保存工程により保存された文書データを合成対象の文書データの候補として一覧表示させるためのスイッチボタンを表示することを特徴とする請求項12または13記載の印刷処理装置の制御方法。The display control step displays a switch button for displaying a list of document data saved in the saving step as candidate document data to be synthesized on the user interface screen in the synthesis mode. A control method for a print processing apparatus according to claim 12 or 13 . 前記表示制御工程は、前記合成モード時の前記ユーザインターフェイス画面上に、前記合成工程による合成順番を予め付した形で合成対象の複数の文書データを指定する欄を表示することを特徴とする請求項12乃至14のいずれかに記載の印刷処理装置の制御方法。The display control step displays, on the user interface screen in the synthesis mode, a column for designating a plurality of document data to be synthesized in a pre-assigned order of synthesis by the synthesis step. Item 15. A control method for a print processing apparatus according to any one of Items 12 to 14 . 前記表示制御工程は、前記合成モード時の前記ユーザインターフェイス画面上に、前記ページハンドリング処理を行うか否かを指定するためのスイッチボタンを表示することを特徴とする請求項12乃至15のいずれかに記載の印刷処理装置の制御方法。Wherein the display control step, on the user interface screen of the synthesis mode, any one of claims 12 to 15, characterized in that to display switch button for specifying whether to perform the page handling process A control method for a print processing apparatus according to claim 1. アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置の制御方法であって、
前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存工程と、
前記保存工程により保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定工程と、
前記指定工程により指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを合成した印刷データを生成する合成工程と、
前記合成工程により生成された印刷データを1つの印刷ジョブとして出力する出力工程とを備え、
前記指定工程は、複数の印刷対象のデータを前記合成工程により合成する合成モードを設定するためのユーザインターフェイス画面を表示する表示制御工程を含み、
前記表示制御工程は、前記合成モード時に複数の印刷対象のデータ間で改ページを行うか否かを指定させるためのユーザインターフェイス画面を表示し、
前記合成工程は、前記指定工程により改ページ指示がなされている場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを異なる用紙上に配置し、前記指定工程により改ページ指示がなされていない場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを連続して配置することを特徴とする印刷処理装置の制御方法。
A control method of a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application,
A storage step of storing the document data created by the application as data to be printed;
A designation step of said list of data of a plurality of printed stored by storing step lists to specify the data of a plurality of printed to be synthesized from the list displayed data of a plurality of printed were,
A combining step of generating print data by combining the plurality of print target data using the printer driver when an instruction to combine the plurality of print target data specified in the specifying step is made;
An output step of outputting the print data generated by the synthesis step as one print job,
The designation step includes a display control step of displaying a user interface screen for setting a synthesis mode for synthesizing a plurality of print target data by the synthesis step,
The display control step displays a user interface screen for designating whether or not to perform a page break between a plurality of print target data during the composition mode ,
In the combining step, when a page break is instructed in the specifying step, the last page of the preceding print target data and the first page of the subsequent print target data are arranged on different sheets of paper and the specified A method for controlling a print processing apparatus, comprising: arranging a last page of preceding print target data and a subsequent first page of print target data in succession when a page break instruction is not issued in the process; .
前記出力工程は、前記合成工程により合成された文書データから生成される印刷データをジョブ開始命令とジョブ終了命令とで挟んで出力することにより、1つの印刷ジョブとして出力することを特徴とする請求項17記載の印刷処理装置の制御方法。The output step outputs the print data generated from the document data synthesized by the synthesis step as a single print job by outputting the print data sandwiched between a job start command and a job end command. Item 18. A control method for a print processing apparatus according to Item 17 . アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置により実行される制御プログラムを記憶する記憶媒体であって、
前記制御プログラムは、
前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存ルーチンと、
前記保存ルーチンにより保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定ルーチンと、
前記複数の印刷対象のデータを合成するための合成モードとして、N−UP印刷を行うページハンドリングの指示と、複数の印刷対象のデータ間で改ページを行うか否かを指示する指示ルーチンと、
前記指示ルーチンにより複数の印刷対象のデータ間で改ページを行う指示がなされている場合に、各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れるか判断する判断ルーチンと、
前記指定ルーチンにより指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを前記指示ルーチンで指示されたページハンドリング処理を実行して合成した印刷データを生成する合成ルーチンと、
前記合成ルーチンにより生成された印刷データを1つの印刷ジョブとして出力する出力ルーチンとを備え、
前記合成ルーチンは、前記判断ルーチンにより各印刷対象のデータのページ数が同一用紙上に配置すべきNで割り切れないと判断された場合に、各印刷対象のデータの出力後に改ページ命令を出力して合成された印刷データを生成することを特徴とする記憶媒体。
A storage medium for storing a control program executed by a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application,
The control program is
A storage routine for storing document data created by the application as data to be printed;
A specified routine for said list of data of a plurality of printed stored by saving routine lists, specifying the data of a plurality of printed to be synthesized from the list displayed data of a plurality of printed were,
As a combining mode for combining the plurality of print target data, a page handling instruction for performing N-UP printing, and an instruction routine for instructing whether or not to perform a page break between the plurality of print target data ,
A determination routine for determining whether the number of pages of data to be printed is divisible by N to be arranged on the same sheet when an instruction to perform a page break between a plurality of data to be printed is given by the instruction routine;
When an instruction to combine a plurality of print target data designated by the designation routine is given, the printer driver is used to execute the page handling process designated by the instruction routine for the plurality of print target data. A synthesis routine for generating print data synthesized by
An output routine for outputting the print data generated by the synthesis routine as one print job ,
The composition routine outputs a page break command after outputting each print target data when the determination routine determines that the number of pages of each print target data is not divisible by N to be placed on the same sheet. A storage medium for generating print data synthesized in this manner .
前記保存ルーチンは、前記アプリケーションにより作成された文書データを中間データに変換し、印刷対象のデータとして保存することを特徴とする請求項19載の記憶媒体。20. The storage medium according to claim 19 , wherein the saving routine converts document data created by the application into intermediate data and saves it as data to be printed. 前記指定ルーチンは、印刷モードとして、印刷対象の文書データを前記保存ルーチンにより保存する保存モードと、印刷対象の複数の文書データを前記合成ルーチンにより合成する合成モードとを設定するためのユーザインターフェイス画面を表示する表示制御ルーチンを含むことを特徴とする請求項19または20記載の記憶媒体。The designation routine is a user interface screen for setting a print mode as a save mode for saving document data to be printed by the save routine and a composition mode for combining a plurality of document data to be printed by the composition routine. 21. A storage medium according to claim 19 or 20 , further comprising a display control routine for displaying. 前記表示制御ルーチンは、前記保存モード時の前記ユーザインターフェイス画面上に、前記保存ルーチンにより文書データを保存する際のファィル名を指定する欄を表示することを特徴とする請求項21記載の記憶媒体。 22. The storage medium according to claim 21 , wherein the display control routine displays a field for designating a file name when document data is saved by the save routine on the user interface screen in the save mode. . 前記表示制御ルーチンは、前記合成モード時の前記ユーザインターフェイス画面上に、前記保存ルーチンにより保存された文書データを合成対象の文書データの候補として一覧表示させるためのスイッチボタンを表示することを特徴とする請求項21または22記載の記憶媒体。The display control routine displays on the user interface screen in the composition mode a switch button for displaying a list of document data stored by the storage routine as candidates for document data to be combined. The storage medium according to claim 21 or 22 . 前記表示制御ルーチンは、前記合成モード時の前記ユーザインターフェイス画面上に、前記合成ルーチンによる合成順番を予め付した形で合成対象の複数の文書データを指定する欄を表示することを特徴とする請求項21乃至23のいずれかに記載の記憶媒体。The display control routine displays, on the user interface screen in the synthesis mode, a column for designating a plurality of document data to be synthesized in a pre-assigned order of synthesis by the synthesis routine. Item 24. The storage medium according to any one of Items 21 to 23 . 前記表示制御ルーチンは、前記合成モード時の前記ユーザインターフェイス画面上に、前記ページハンドリング処理を行うか否かを指定するためのスイッチボタンを表示することを特徴とする請求項21乃至24のいずれかに記載の記憶媒体。Wherein the display control routine, the synthesis mode of the user interface screen, any of claims 21 to 24, characterized in that to display switch button for specifying whether to perform the page handling process The storage medium described in 1. アプリケーションにより作成される文書データに基づいて、印刷装置で印刷されるべき印刷データを生成するプリンタドライバを備える印刷処理装置により実行される制御プログラムを記憶する記憶媒体であって、
前記制御プログラムは、
前記アプリケーションにより作成された文書データを、印刷対象のデータとして保存する保存ルーチンと、
前記保存ルーチンにより保存されている複数の印刷対象のデータの一覧をリスト表示し、リスト表示された複数の印刷対象のデータの中から合成すべき複数の印刷対象のデータを指定する指定ルーチンと、
前記指定ルーチンにより指定された複数の印刷対象のデータの合成指示がなされた場合に、前記プリンタドライバを用いて、当該複数の印刷対象のデータを合成した印刷データを生成する合成ルーチンと、
前記合成ルーチンにより生成された印刷データを1つの印刷ジョブとして出力する出力ルーチンとを備え、
前記指定ルーチンは、複数の印刷対象のデータを前記合成ルーチンにより合成する合成モードを設定するためのユーザインターフェイス画面を表示する表示制御ルーチンを含み、
前記表示制御ルーチンは、前記合成モード時に複数の印刷対象のデータ間で改ページを行うか否かを指定させるためのユーザインターフェイス画面を表示し、
前記合成ルーチンは、前記指定ルーチンにより改ページ指示がなされている場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを異なる用紙上に配置し、前記指定ルーチンにより改ページ指示がなされていない場合には、先行する印刷対象のデータの最終ページと後続する印刷対象のデータの先頭ページとを連続して配置することを特徴とする記憶媒体。
A storage medium for storing a control program executed by a print processing apparatus including a printer driver that generates print data to be printed by a printing apparatus based on document data created by an application,
The control program is
A storage routine for storing document data created by the application as data to be printed;
A specified routine for said list of data of a plurality of printed stored by saving routine lists, specifying the data of a plurality of printed to be synthesized from the list displayed data of a plurality of printed were,
A combination routine for generating print data by combining the plurality of print target data using the printer driver when an instruction to combine the plurality of print target data specified by the specification routine is given;
An output routine for outputting the print data generated by the synthesis routine as one print job,
The designation routine includes a display control routine for displaying a user interface screen for setting a synthesis mode in which a plurality of print target data is synthesized by the synthesis routine.
The display control routine displays a user interface screen for designating whether or not to perform a page break between a plurality of print target data during the composition mode ,
If the page break instruction is given by the designation routine, the composition routine arranges the last page of the preceding print target data and the first page of the subsequent print target data on different papers, and the designation A storage medium , wherein when a page break instruction is not issued by a routine, a last page of preceding print target data and a first page of subsequent print target data are sequentially arranged .
前記出力ルーチンは、前記合成ルーチンにより合成された文書データから生成される印刷データをジョブ開始命令とジョブ終了命令とで挟んで出力することにより、1つの印刷ジョブとして出力することを特徴とする請求項26記載の記憶媒体。The output routine outputs the print data generated from the document data synthesized by the synthesis routine as a single print job by outputting the print data between a job start instruction and a job end instruction. Item 26. The storage medium according to Item 26 .
JP36384497A 1997-12-18 1997-12-18 Print processing apparatus, control method therefor, and storage medium Expired - Lifetime JP3667067B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36384497A JP3667067B2 (en) 1997-12-18 1997-12-18 Print processing apparatus, control method therefor, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36384497A JP3667067B2 (en) 1997-12-18 1997-12-18 Print processing apparatus, control method therefor, and storage medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2003133593A Division JP3782791B2 (en) 2003-05-12 2003-05-12 Print processing apparatus, method, and storage medium

Publications (2)

Publication Number Publication Date
JPH11179993A JPH11179993A (en) 1999-07-06
JP3667067B2 true JP3667067B2 (en) 2005-07-06

Family

ID=18480337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36384497A Expired - Lifetime JP3667067B2 (en) 1997-12-18 1997-12-18 Print processing apparatus, control method therefor, and storage medium

Country Status (1)

Country Link
JP (1) JP3667067B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU742641B2 (en) 1998-01-28 2002-01-10 Shionogi & Co., Ltd. Novel tricyclic compound
JP3619087B2 (en) 1999-11-02 2005-02-09 キヤノン株式会社 Information processing apparatus, information processing method, and storage medium storing computer-readable program
JP3937666B2 (en) 1999-11-02 2007-06-27 キヤノン株式会社 Printing control method and apparatus
EP2275920A1 (en) 1999-11-02 2011-01-19 Canon Kabushiki Kaisha Information processor, method for processing information and memory medium for storing program readable by computer
JP2001249773A (en) 2000-03-03 2001-09-14 Nec Corp Both-face printing system and recording medium with its program recorded and method for distributing printed matter using the system
JP4521935B2 (en) * 2000-06-06 2010-08-11 キヤノン株式会社 Image processing system, control method therefor, and storage medium
JP2008234221A (en) * 2007-03-19 2008-10-02 Ricoh Co Ltd Print control device, print control method, print control program, and recording medium
US8023135B2 (en) * 2008-02-29 2011-09-20 Sharp Laboratories Of America, Inc. Interface for building a print container

Also Published As

Publication number Publication date
JPH11179993A (en) 1999-07-06

Similar Documents

Publication Publication Date Title
JP4817986B2 (en) Information processing apparatus, print setting method, and computer-readable program
US7839531B2 (en) Printing control method
JP3805122B2 (en) Information processing apparatus, print setting method thereof, and storage medium storing computer-readable printer driver program
US20070211297A1 (en) Information processing apparatus, print data generating method, print control program, and computer-readable recording medium
US9519850B2 (en) Computer-readable recording medium, information processing apparatus, and printing system
JP3667067B2 (en) Print processing apparatus, control method therefor, and storage medium
JP3658174B2 (en) Data processing apparatus, print data processing method for data processing apparatus, and storage medium storing computer-readable program
US7428072B2 (en) Printing control program, printing control method, printing system and information processing apparatus
JP2005115683A (en) Print setting method and information processor
JP5371550B2 (en) Information processing apparatus, control method therefor, and computer program
JP3782791B2 (en) Print processing apparatus, method, and storage medium
JP3634680B2 (en) Information processing apparatus, control method therefor, and storage medium
US7253911B2 (en) Printing method and system for executing printing in plural print processes
JP7397652B2 (en) Program, information processing device, and method
JP4313974B2 (en) Print control program, print control method, and information processing apparatus
JP2010277245A (en) Printing system and print control method
JP2000035861A (en) Data processor, data processing method of data processor and storage medium storing computer readable program
EP4084456A1 (en) Printing control apparatus, printing control method, and program
US8160469B2 (en) Information processing apparatus, method for controlling the information processing apparatus, and storage medium
JPH06110630A (en) Data processor
JP4545903B2 (en) Information processing apparatus, information processing method, and storage medium
JP2000172461A (en) File print control method and program recording medium
JP2003256160A (en) Information processing device, printing control method, program, and recording medium
JPH04359382A (en) Method and device for processing document
JPH01130256A (en) Document processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040330

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040531

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: 20050322

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050405

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: 20090415

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090415

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100415

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110415

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130415

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130415

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140415

Year of fee payment: 9

S802 Written request for registration of partial abandonment of right

Free format text: JAPANESE INTERMEDIATE CODE: R311802

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term