JP3902854B2 - Data processing apparatus, data processing method, and storage medium - Google Patents

Data processing apparatus, data processing method, and storage medium Download PDF

Info

Publication number
JP3902854B2
JP3902854B2 JP35869597A JP35869597A JP3902854B2 JP 3902854 B2 JP3902854 B2 JP 3902854B2 JP 35869597 A JP35869597 A JP 35869597A JP 35869597 A JP35869597 A JP 35869597A JP 3902854 B2 JP3902854 B2 JP 3902854B2
Authority
JP
Japan
Prior art keywords
printing
pages
print information
unit
copies
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35869597A
Other languages
Japanese (ja)
Other versions
JPH11191059A (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 JP35869597A priority Critical patent/JP3902854B2/en
Publication of JPH11191059A publication Critical patent/JPH11191059A/en
Application granted granted Critical
Publication of JP3902854B2 publication Critical patent/JP3902854B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、部単位印刷及びコピー部数が設定可能であり、かつ印刷装置が印刷可能なプリンタ言語の印刷情報を生成するプリンタドライバを有するデータ処理装置におけるデータ処理に関するものである。
【0002】
【従来の技術】
従来、情報処理装置に接続されたプリンタを制御して印刷文書を出力するプリンタドライバにおいて、例えばプリンタドライバのユーザ設定項目として、部単位印刷を行う際、プリンタの機能として部単位印刷を行う機能を有する場合、プリンタドライバでは、プリンタ側の部単位印刷指定およびコピー枚数を設定して、一部分のデータのみをプリンタに出力することで、複数部数のコピーを印刷装置に実行させるものが知られている。
【0003】
【発明が解決しようとする課題】
しかしながら、プリンタの部単位印刷はプリンタのメモリ資源やソータのような物理的な分配装置を利用して一旦全ページ分のデータを格納し、部単位印刷を行なっているため、部単位印刷処理可能なデータサイズ,ページ数,部数には限度があり、上記従来例では、一部分のデータがその限度を超えた場合、プリンタは正しい部単位印刷処理が行えないという問題点があった。
【0004】
一方、プリンタドライバ側でも部単位印刷は可能なので、プリンタドライバ側で部単位印刷を行うようにすればこの問題は解決するが、一般にプリンタ側で部単位印刷を行った方が処理速度が速いため、常にプリンタドライバ側で部単位印刷を行うのは処理速度が極めて低下して、印刷処理効率が悪くなるという問題点があった。
【0005】
本発明は、上記の課題を解決するためになされたもので、本発明の目的は、アプリケーションによって印刷が指示されたデータから変換される複数ページ分の印刷情報を記憶手段にスプールした後、スプールした印刷情報に対する部単位印刷処理を情報処理装置が有するプリンタドライバ側あるいは印刷装置側で実行することを適宜決定することで、設定された部単位印刷処理を効率よく行える仕組みを提供することである。
【0006】
【課題を解決するための手段】
本発明に係るデータ処理装置は、以下の特徴的構成を備える。
部単位印刷及びコピー部数が設定可能であり、かつ印刷装置が印刷可能なプリンタ言語の印刷情報を生成するプリンタドライバを有し、所定の通信媒体を介して前記印刷装置と通信可能なデータ処理装置であって、アプリケーションによって印刷が指示されたデータから変換される複数ページ分の印刷情報を記憶手段にスプールするスプール手段と、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大ページ数を、前記印刷装置と通信することにより取得する取得手段と、前記記憶手段にスプールされている印刷情報のページ数が前記取得手段により取得された前記最大ページ数を超えているかどうかを判定する判定手段と、前記判定手段が前記印刷情報のページ数が前記最大ページ数を超えていると判定し、かつ前記部単位印刷が設定されている場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定手段が前記印刷情報のページ数が前記最大ページ数を超えていないと判定し、かつ前記部単位印刷が設定されている場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する部単位印刷制御手段と、前記部単位印刷処理先がプリンタドライバである場合に、前記記憶手段にスプールされている複数ページ分の印刷情報を、前記コピー部数回分出力し、前記部数単位印刷処理先が印刷装置である場合に、前記印刷装置の部単位印刷モードを有効に設定し、前記コピー部数を部数に設定し、前記記憶手段にスプールされている複数ページ分の印刷情報を1回分だけ出力し、前記部単位印刷が設定されていない場合に、前記印刷装置の部単位印刷モードを無効に設定し、前記コピー部数を部数に設定し、前記記憶手段にスプールされている複数ページ分の印刷情報を1回分だけ出力する出力制御手段とを有することを特徴とする。
【0021】
【発明の実施の形態】
〔第1実施形態〕
図1は、本発明の第1実施形態を示すプリンタドライバが適用された印刷システムの構成を示すブロック図であり、コンピュータ端末1とプリンタ2とが所定の通信媒体、例えばセントロニクスインタフェース3を介して双方向通信可能に構成されている。
【0022】
図において、コンピュータ端末1は、コンピュータ端末CPU1a,RAM,ROM等で構成されるメモリ1b,CRT,LCD,FLC等で構成される表示装置1c,固定ディスク装置1d,取り外し可能なディスクドライブ1eおよびシステムクロック1fから構成される。なお、プリンタドライバ(実体は、印刷制御プログラムであって、アプリケーションからの出力情報をプリンタ2が解析可能な印刷コマンドや印刷データに変換処理して、プリンタ2に転送する)は、固定ディスク装置1d上にインストールされており、該プリンタドライバがメモリ1b上にロードされてOS等にコールされて動作するものである。
【0023】
プリンタ2は、プリンタCPU2a,RAMで構成される展開メモリ2b,プリンタエンジンを含む印刷ユニット2c,RAMで構成される受信メモリ2dから構成される。
【0024】
上記のように構成された印刷システムにおいて、コンピュータ端末1はセントロニクスインタフェース3を介してプリンタ2と接続され、コンピュータ端末1で動作しているプリンタドライバによりプリンタ2に印刷データを送信し、プリンタ2は全ページ分の画像データを展開メモリ2b上に展開する。コンピュータ端末1の上で動作しているプリンタドライバによって部単位印刷およびコピー部数が指示されると、プリンタ2は展開メモリ2b上の画像データを印刷ユニット2cにコピー部数分繰り返し出力し、部単位印刷を実行する。
【0025】
以下、本実施形態の特徴的構成について図1を参照して説明する。
【0026】
上記のように構成された所定の通信媒体(ネットワーク,インタフェースを含む)を介して印刷装置(プリンタ2)と所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバを有するデータ処理装置(コンピュータ端末1)とが通信可能な印刷システムであって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大ページ数を前記印刷装置から検知する検知手段(コンピュータ端末1がプリンタ2との通信により取得して検知する)と、前記プリンタドライバが部単位に印刷すべき前記印刷情報のページ数が前記検知手段が検知した前記最大ページ数を超えているかどうかを判定する判定手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して判定処理する)と、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報のページ数が前記検知手段が検知した前記最大ページ数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバ(固定ディスク装置1d等に印刷制御プログラムとして格納され、メモリ1bにロードされて機能する印刷制御モジュール)に決定し、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報のページ数が前記検知手段が検知した前記最大ページ数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する部単位印刷制御手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して制御する)とを有するので、印刷情報のページ数が検知する印刷装置における最大ページ数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報のページ数が検知する印刷装置における最大ページ数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理システム環境を自在に整備することができる。
【0027】
また、所定の描画情報を印刷装置が印刷可能な印刷情報に変換するプリンタドライバを有し、所定の通信媒体(ネットワーク,インタフェース)を介して前記印刷装置と通信可能なデータ処理装置であって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大ページ数を前記印刷装置から検知する検知手段(コンピュータ端末1がプリンタ2との通信により取得して検知する)と、前記プリンタドライバが部単位に印刷すべき前記印刷情報のページ数が前記検知手段が検知した前記最大ページ数を超えているかどうかを判定する判定手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して判定処理する)と、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報のページ数が前記検知手段が検知した前記最大ページ数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報のページ数が前記検知手段が検知した前記最大ページ数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する部単位印刷制御手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して制御する)とを有するので、印刷情報のページ数が検知する印刷装置における最大ページ数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報のページ数が検知する印刷装置における最大ページ数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理環境を自在に整備することができる。
【0028】
さらに、所定の通信媒体を介して印刷装置と通信して所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバ(固定ディスク装置1d等に印刷制御プログラムとして格納され、メモリ1bにロードされて機能する印刷制御モジュール)であって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大ページ数を前記印刷装置から検知する検知手段(印刷制御モジュールの検知処理手順に従って検知する)と、部単位に印刷すべき前記印刷情報のページ数が前記検知手段が検知した前記最大ページ数を超えているかどうかを判定する判定手段(印刷制御モジュールの判定処理手順に従って判定する)と、前記判定手段が部単位に印刷すべき前記印刷情報のページ数が前記検知手段が検知した前記最大ページ数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理を実行し、前記判定手段が部単位に印刷すべき前記印刷情報のページ数が前記検知手段が検知した前記最大ページ数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理を前記印刷装置に依頼する部単位印刷処理手段(印刷制御モジュールの印刷情報処理手順に従って処理する)とを有するので、印刷情報のページ数が検知する印刷装置における最大ページ数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報のページ数が検知する印刷装置における最大ページ数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理を効率よく行うことができる。
【0029】
図2は、本発明に係る印刷システムにおける第1のデータ処理手順の一例を示すフローチャートであり、コンピュータ端末1で動作するプリンタドライバによって実行される印刷処理ルーチンに対応する。なお、(1)〜(12)は各ステップを示す。
【0030】
まず、印刷文書の全ページ数を記憶するプリンタドライバ内部変換pageを値「0」に初期化する(1)。次に、コンピュータ端末1の上で印刷アプリケーションによって印刷が指示されたデータをプリンタ2が解釈できるプリンタ言語に変換する(2)。
【0031】
次に、1ページ分のデータがプリンタ言語に変換されたか否かを判別し(3)、1ページ分のプリンタ言語に変換されていると判別したとき、プリンタドライバ内部変数pageの値をインクリメントする(4)。
【0032】
一方、ステップ(3)で1ページ分のプリンタ言語の変換を終了していないと判別されたとき、ステップ(2)に戻る。
【0033】
次に、ステップ(2)およびステップ(3)で変換されたプリンタ言語を固定ディスク装置1d上のファイルにスプールする(5)。そして、全ページの作成が終了したか否かを判別し(6)、全ページの作成が終了していないと判別したときは、ステップ(2)に戻り、全ページの作成が終了していると判別したときは、さらに、プリンタドライバの設定が部単位印刷になっているか否かを判別し(7)、全ページの作成が終了していないとき、ステップ(2)に戻る。
【0034】
一方、ステップ(7)で、部単位印刷が設定されていると判別したときは、プリンタドライバ内部変数pageの値があらかじめ設定されている最大部単位処理可能ページ数MAXPAGEより大きいか否か判別し(8)、プリンタドライバ内部変数pageが最大部単位処理可能ページ数MAXPAGEより大きいと判別した場合は、固定ディスク装置1d上のファイルにスプールされたプリンタ言語を部数回分セントロニクスインタフェース3を介してプリンタ2に出力して(9)、処理を終了する。
【0035】
一方、ステップ(8)でプリンタドライバ内部変数pageが最大部単位処理可能ページ数MAXPAGEより大きくないと判定した場合は、プリンタ2の部単位印刷モードを「ON」に設定し(10)、コピー枚数設定を部数に設定し、固定ディスク装置1d上のファイルにスプールされたプリンタ言語を1回分だけ、セントロニクスインタフェース3を介してプリンタ2に出力して、部単位コピー印刷を実行して(11)、処理を終了する。
【0036】
一方、ステップ(7)で、部単位印刷が設定されていないと判定した場合は、プリンタの部単位印刷モードを「OFF」に設定し(12)、ステップ(11)に移行する。
【0037】
これにより、ステップ(11)でコピー枚数が指示されると、展開メモリ2b上の画像データが印刷ユニット2cにコピー枚数分出力され、コピー印刷が出力される。
【0038】
〔第2実施形態〕
前記第1実施形態では、セントロニクスインタフェース3が片方向通信処理を行う印刷システムを利用する場合について説明したが、プリンタドライバが適用された印刷システムの構成は第1実施形態と同様であって、セントロニクスインタフェース3が双方向通信が可能である場合にも本発明を適用することができる。以下、本実施形態の特徴的構成について説明する。
【0039】
上記のように構成された所定の通信媒体を介して印刷装置(プリンタ2)と所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバ(固定ディスク装置1d等に印刷制御プログラムとして格納され、メモリ1bにロードされて機能する印刷制御モジュール)を有するデータ処理装置(コンピュータ端末1)とが通信可能な印刷システムであって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大データ数を前記印刷装置から検知する検知手段(コンピュータ端末1がプリンタ2との通信により取得して検知する)と、前記プリンタドライバが部単位に印刷すべき前記印刷情報の全データ数が前記検知手段が検知した前記最大データ数を超えているかどうかを判定する判定手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して判定処理する)と、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全データ数が前記検知手段が検知した前記最大データ数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全データ数が前記検知手段が検知した前記最大データ数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する部単位印刷制御手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して制御する)とを有するので、印刷情報のデータ数が検知する印刷装置における最大データ数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報のデータ数が検知する印刷装置における最大データ数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理システム環境を自在に整備することができる。
【0040】
また、所定の描画情報を印刷装置が印刷可能な印刷情報に変換するプリンタドライバ(固定ディスク装置1d等に印刷制御プログラムとして格納され、メモリ1bにロードされて機能する印刷制御モジュール)を有し、所定の通信媒体(ネットワーク,インタフェース)を介して前記印刷装置(プリンタ2)と通信可能なデータ処理装置(コンピュータ端末1)であって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大データ数を前記印刷装置から検知する検知手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行してプリンタ2との通信により取得して検知処理する)と、前記プリンタドライバが部単位に印刷すべき前記印刷情報の全データ数が前記検知手段が検知した前記最大データ数を超えているかどうかを判定する判定手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して判定処理する)と、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全データ数が前記検知手段が検知した前記最大データ数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全データ数が前記検知手段が検知した前記最大データ数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する部単位印刷制御手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して判定処理する)とを有するので、印刷情報のデータ数が検知する印刷装置における最大データ数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報のデータ数が検知する印刷装置における最大データ数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理環境を自在に整備することができる。
【0041】
さらに、所定の通信媒体を介して印刷装置と通信して所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバ(固定ディスク装置1d等に印刷制御プログラムとして格納され、メモリ1bにロードされて機能する印刷制御モジュール)であって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大データ数を前記印刷装置から検知する検知手段(印刷制御モジュールの検知処理手順に従って検知する)と、部単位に印刷すべき前記印刷情報の全データ数が前記検知手段が検知した前記最大データ数を超えているかどうかを判定する判定手段(印刷制御モジュールの判定処理手順に従って判定する)と、前記判定手段が前部単位に印刷すべき前記印刷情報の全データ数が前記検知手段が検知した前記最大データ数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理を実行し、前記判定手段が部単位に印刷すべき前記印刷情報の全データ数が前記検知手段が検知した前記最大データ数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理を前記印刷装置に依頼する部単位印刷処理手段(印刷制御モジュールの印刷情報処理手順に従って処理する)とを有するので、印刷情報のデータ数が検知する印刷装置における最大データ数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報のデータ数が検知する印刷装置における最大データ数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理を効率よく行うことができる。
【0042】
図3は、本発明に係る印刷システムにおける第2のデータ処理手順の一例を示すフローチャートであり、コンピュータ端末1で動作するプリンタドライバによって実行される印刷処理ルーチンに対応する。なお、(1)〜(13)は各ステップを示す。
【0043】
まず、双方向のセントロニクスインタフェース3を使用して、プリンタに対し最大格納可能なページデータサイズを問い合わせ、その結果をプリンタドライバ内部変数max_data_sizeに設定する(1)。次に、プリンタドライバ内部変数data_sizeの値を「0」に設定する(2)。
【0044】
次に、コンピュータ端末1の上で印刷アプリケーションから印刷が指示されたデータをプリンタ2が解釈できるプリンタ言語に変換する(3)。そして、1ページ分のデータがプリンタ言語に変換されたか否かを判別し(4)、1ページ分のプリンタ言語の変換を終了していないと判別されたとき、ステップ(3)に戻る。
【0045】
一方、ステップ(4)で、1ページ分のデータがプリンタ言語に変換されていると判別したとき、プリンタドライバ内部変数data_sizeの値に1ページ分のデータサイズを加算する(5)。次に、ステップ(4)で変換されたプリンタ言語を固定ディスク装置1d上のファイルにスプールする(6)。そして、全ページがプリンタ言語に変換されたか否かを判別し(7)、全ページ分プリンタ言語に変換されていないと判別したときは、ステップ(3)に戻る。
【0046】
一方、ステップ(7)で、全ページ分プリンタ言語に変換されていると判別したときは、プリンタドライバの設定が部単位印刷になっているか否かを判別し(8)、部単位印刷が設定されていると判別したとき、プリンタドライバ内部変数data_sizeとプリンタドライバ内部変数max_data_sizeの値とを比較し(9)、等しいか、プリンタドライバ内部変数data_sizeの方が小さいと判別した場合は、部単位印刷設定コマンドを用いて部単位印刷モードを「ON」にし(10)、コピー枚数設定コマンドを用いてコピー部数設定し、変換された全印刷ページのプリンタ言語をセントロニクスインタフェース3を介してプリンタ2に出力し、印刷を指示して(11)、本ルーチンを終了する。
【0047】
一方、ステップ(9)で、プリンタドライバ内部変数data_sizeの方が大きいと判別したときは、変換された全印刷ページのプリンタ言語をセントロニクスインタフェース3を介してプリンタ2に部数回出力してプリンタ2に印刷を指示して(12)、処理を終了する。
【0048】
一方、ステップ(8)で部単位に設定されていないと判別したとき、部単位印刷設定コマンドを用いて部単位印刷モードを「OFF」にし(13)、ステップ(11)に移行する。
【0049】
これにより、ステップ(11)でコピー枚数設定が指示されると、プリンタ2はページ格納メモリ2b上の画像データを印刷ユニット2cに部数分出力し、コピー印刷を実行する。
【0050】
〔第3実施形態〕
上記実施形態では、プリンタ2が印刷された出力用紙をそのまま排紙するプリンタに本発明を適用する場合について説明したが、ステイプラ機能付きのソータユニットを着脱可能なプリンタに本発明を適用することも可能である。以下、本実施形態の特徴的構成について説明する。
【0051】
上記のように構成された所定の通信媒体を介して印刷装置(プリンタ2)と所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバ(固定ディスク装置1d等に印刷制御プログラムとして格納され、メモリ1bにロードされて機能する印刷制御モジュール)を有するデータ処理装置(コンピュータ端末1)とが通信可能な印刷システムであって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大部数を前記印刷装置から検知する検知手段(コンピュータ端末1がプリンタ2との通信により取得して検知する)と、前記プリンタドライバが部単位に印刷すべき前記印刷情報の全部数が前記検知手段が検知した前記最大部数を超えているかどうかを判定する判定手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して判定処理する)と、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全部数が前記検知手段が検知した前記最大部数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全部数が前記検知手段が検知した前記最大部数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する部単位印刷制御手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して制御する)とを有するので、印刷情報の全部数が検知する印刷装置における最大部数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報の全部数が検知する印刷装置における最大部数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理システム環境を自在に整備することができる。
【0052】
また、所定の描画情報を印刷装置が印刷可能な印刷情報に変換するプリンタドライバ(固定ディスク装置1d等に印刷制御プログラムとして格納され、メモリ1bにロードされて機能する印刷制御モジュール)を有し、所定の通信媒体を介して前記印刷装置(プリンタ2)と通信可能なデータ処理装置(コンピュータ端末1)であって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大部数を前記印刷装置から検知する検知手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行してプリンタ2との通信により取得して検知処理する)と、前記プリンタドライバが部単位に印刷すべき前記印刷情報の全部数が前記検知手段が検知した前記最大部数を超えているかどうかを判定する判定手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して判定処理する)と、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全部数が前記検知手段が検知した前記最大部数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定手段が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全部数が前記検知手段が検知した前記最大部数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する部単位印刷制御手段(コンピュータ端末1のCPU1aがメモリ1bあるいは固定ディスク装置1dに記憶された制御プログラムを実行して制御する)とを有するので、印刷情報の全部数が検知する印刷装置における最大部数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報の全部数が検知する印刷装置における最大部数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理環境を自在に整備することができる。
【0053】
さらに、所定の通信媒体を介して印刷装置と通信して所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバで(固定ディスク装置1d等に印刷制御プログラムとして格納され、メモリ1bにロードされて機能する印刷制御モジュール)あって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大部数を前記印刷装置から検知する検知手段(印刷制御モジュールの検知処理手順に従って検知する)と、部単位に印刷すべき前記印刷情報の全部数が前記検知手段が検知した前記最大部数を超えているかどうかを判定する判定手段(印刷制御モジュールの判定処理手順に従って判定する)と、前記判定手段が部単位に印刷すべき前記印刷情報の全部数が前記検知手段が検知した前記最大部数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理を実行し、前記判定手段が部単位に印刷すべき前記印刷情報の全部数が前記検知手段が検知した前記最大部数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理を前記印刷装置に依頼する部単位印刷処理手段(印刷制御モジュールの印刷情報処理手順に従って処理する)とを有するので、印刷情報の全部数が検知する印刷装置における最大部数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報の全部数が検知する印刷装置における最大部数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理を効率よく行うことができる。
【0054】
図4は、本発明の第3実施形態を示すプリンタドライバが適用された印刷システムの構成を示すブロック図であり、コンピュータ端末1とプリンタ2とが所定の通信媒体、例えばセントロニクスインタフェース3を介して双方向通信可能に構成されている。なお、図1と同一のものには同一の符号を付してある。
【0055】
プリンタ2は、プリンタCPU2a,展開メモリ2b,印刷ユニット2c,受信メモリ2d,ステープラ機能付きのソータユニット2eから構成される。3はセントロニクスインタフェースである。
【0056】
上記のように構成された印刷システムにおいて、コンピュータ端末1はセントロニクスインタフェース3を介してプリンタ2と接続され、コンピュータ端末1で動作しているプリンタドライバによりプリンタ2に印刷データを送信し、プリンタ2はページの画像データを展開メモリ2b上に展開する。コンピュータ端末1の上で動作しているプリンタドライバによって部単位印刷およびコピー部数が指示されると、プリンタ2は展開メモリ2b上の1ページ分の画像データを印刷ユニット2cにコピー部数分出力しながら、全ページ分の出力を行い、ソータユニット2eで出力ビンを切り替えることにより、部単位印刷を実行する。
【0057】
図5は、本発明に係る印刷システムにおける第3のデータ処理手順の一例を示すフローチャートであり、コンピュータ端末1で動作するプリンタドライバによって実行される印刷処理ルーチンに対応する。なお、(1)〜(10)は各ステップを示す。
【0058】
まず、コンピュータ端末1の上で印刷アプリケーションによって印刷が指示されたデータをプリンタ2が解釈できるプリンタ言語に変換する(1)。次に、1ページ分のデータがプリンタ言語に変換されたか否かを判別し(2)、1ページ分のプリンタ言語の変換を終了していないと判別されたとき、ステップ(1)に戻る。
【0059】
一方、ステップ(2)で、1ページ分のプリンタ言語の変換を終了していると判別した場合は、ステップ(1)で変換されたプリンタ言語を固定ディスク装置1d上のファイルにスプールする(3)。
【0060】
次に、全ページの作成が終了したか否かを判別し(4)、全ページの作成が終了していないとき、ステップ(1)に戻り、全ページの作成が終了していると判別したときは、プリンタドライバの設定が部単位印刷になっているか否かを判別し(5)、部単位印刷が設定されていると判別したときは、コピー部数の設定値copiesがあらかじめ設定されている最大部単位処理可能部数MAXCOPIESより大きいか否か判別し(6)、コピー部数の設定値copiesが最大部単位処理可能部数MAXCOPIESより大きいと判別した場合は、固定ディスク装置1d上のファイルにスプールされたプリンタ言語を部数回分セントロニクスインタフェース3を介してプリンタ2に出力して(7)、処理を終了する。
【0061】
一方、ステップ(6)で、コピー部数の設定値copiesが最大部単位処理可能部数MAXCOPIESより大きくないと判別した場合、プリンタの部単位印刷モードを「ON」に設定し(8)、コピー枚数設定を部数に設定し、固定ディスク装置1d上のファイルにスプールされたプリンタ言語を1回分だけ、セントロニクスインタフェース3を介してプリンタ2に出力して(9)、処理を終了する。
【0062】
一方、ステップ(5)で、部単位印刷が設定されていないと判別した場合は、プリンタの部単位印刷モードを「OFF」に設定し(10)、ステップ(9)に移行する。
【0063】
これにより、ステップ(9)でコピー枚数が指示されると、展開メモリ2b上の画像データが印刷ユニット2cにコピー枚数分出力され、ソータユニット2eで部単位にソーティングされて、部単位コピー印刷が実行される。
【0064】
〔他の実施形態〕
上記第1〜第3実施形態では、プリンタドライバとプリンタ2の接続は、セントロニクスインタフェース3を介して行う場合について説明したが、RS232Cなどのシリアルインタフェースであっても構わないし、イーサネットのようなネットワーク接続であっても構わない。
【0065】
また、上記各実施形態における印刷ユニット2cは、レーザビームプリンタ,インクジェットプリンタ,熱転写プリンタ,ドットインパクトプリンタなどのようなプリンタであっても構わないが、紙単位のコピー印刷機能を有することが必要である。
【0066】
以下、本実施形態の特徴的構成について図2,図3,図5等を参照して説明する。
【0067】
上記のように構成された所定の通信媒体(ネットワーク,インタフェースを含む)を介して印刷装置と所定の描画情報を前記印刷装置(プリンタ2)が印刷可能な印刷情報に変換するプリンタドライバを有するデータ処理装置(コンピュータ端末1)とが通信可能な印刷システムのデータ処理方法であって、あるいは所定の通信媒体を介して印刷装置と所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバを有するデータ処理装置とが通信可能な印刷システムを制御するコンピュータが読み出し可能なプログラムを格納した記憶媒体であって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大ページ数を前記印刷装置から検知する検知工程(図示しない工程)と、前記プリンタドライバが部単位に印刷すべき前記印刷情報のページ数が前記検知工程が検知した前記最大ページ数を超えているかどうかを判定する判定工程(図2のステップ(8))と、前記判定工程が前記プリンタドライバが部単位に印刷すべき前記印刷情報のページ数が前記検知工程が検知した前記最大ページ数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定工程が前記プリンタドライバが部単位に印刷すべき前記印刷情報のページ数が前記検知工程が検知した前記最大ページ数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する決定工程(図2のステップ10)あるいはステップ(9))と有するので、印刷情報のページ数が検知する印刷装置における最大ページ数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報のページ数が検知する印刷装置における最大ページ数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理システム環境を自在整備することができる。
【0068】
また、所定の通信媒体(ネットワーク,インタフェースを含む)を介して印刷装置と所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバを有するデータ処理装置とが通信可能な印刷システムのデータ処理方法であって、あるいは所定の通信媒体を介して印刷装置と所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバを有するデータ処理装置とが通信可能な印刷システムを制御するコンピュータが読み出し可能なプログラムを格納した記憶媒体であって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大データ数を前記印刷装置から検知する検知工程(図示しない工程)と、前記プリンタドライバが部単位に印刷すべき前記印刷情報の全データ数が前記検知工程が検知した前記最大データ数を超えているかどうかを判定する判定工程(図3のステップ(9))と、前記判定工程が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全データ数が前記検知工程が検知した前記最大データ数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定工程が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全データ数が前記検知工程が検知した前記最大データ数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する決定工程(図3のステップ(10)あるいはステップ(12))とを有するので、印刷情報のページ数が検知する印刷装置における最大ページ数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報のページ数が検知する印刷装置における最大ページ数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理環境を自在整備することができる。
【0069】
さらに、所定の通信媒体(ネットワーク,インタフェース等)を介して印刷装置と所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバを有するデータ処理装置とが通信可能な印刷システムのデータ処理方法であって、あるいは所定の通信媒体を介して印刷装置と所定の描画情報を前記印刷装置が印刷可能な印刷情報に変換するプリンタドライバを有するデータ処理装置とが通信可能な印刷システムを制御するコンピュータが読み出し可能なプログラムを格納した記憶媒体であって、前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大部数を前記印刷装置から検知する検知工程(図示しない工程)と、前記プリンタドライバが部単位に印刷すべき前記印刷情報の全部数が前記検知工程が検知した前記最大部数を超えているかどうかを判定する判定工程(図5のステップ(6))と、前記判定工程が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全部数が前記検知工程が検知した前記最大部数を超えていると判定した場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定工程が前記プリンタドライバが部単位に印刷すべき前記印刷情報の全部数が前記検知工程が検知した前記最大部数を超えていないと判定した場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する決定工程(図5のステップ(8)または(7)))とを有するので、印刷情報のページ数が検知する印刷装置における最大ページ数を超えているかに基づいて部単位印刷先をデータ処理装置側か印刷装置側かのいずれかに決定するため、極力印刷処理を落とさないように印刷装置側での部単位印刷処理を維持して部単位印刷処理を高速化するとともに、印刷情報のページ数が検知する印刷装置における最大ページ数を超える場合には、印刷処理速度は落としても、部単位印刷処理を実行することができる部単位印刷処理を効率よく行うことができる。
【0070】
以下、図6に示すメモリマップを参照して本発明に係る印刷システムで読み出し可能なデータ処理プログラムの構成について説明する。
【0071】
図6は、本発明に係る印刷システムで読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【0072】
なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。
【0073】
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。
【0074】
本実施形態における図2,図3,図5に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。
【0075】
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0076】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0077】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピーディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROM,EEPROM等を用いることができる。
【0078】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0079】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0080】
なお、上記実施形態では、図2,図3,図5に示すフローチャートとともに、印刷システムのデータ処理方法について説明したが、それぞれの手順をデータ処理装置の処理手順とすることも、プリンタドライバの処理手順として構成することは当然可能である。
【0081】
【発明の効果】
以上説明したように、本発明によれば、アプリケーションによって印刷が指示されたデータから変換される複数ページ分の印刷情報を記憶手段にスプールした後、スプールした印刷情報に対する部単位印刷処理を情報処理装置が有するプリンタドライバ側あるいは印刷装置側で実行することを適宜決定することで、設定された部単位印刷処理を効率よく行える。
【図面の簡単な説明】
【図1】本発明の第1実施形態を示すプリンタドライバが適用された印刷システムの構成を示すブロック図である。
【図2】本発明に係る印刷システムにおける第1のデータ処理手順の一例を示すフローチャートである。
【図3】本発明に係る印刷システムにおける第2のデータ処理手順の一例を示すフローチャートである。
【図4】本発明の第3実施形態を示すプリンタドライバが適用された印刷システムの構成を示すブロック図である。
【図5】本発明に係る印刷システムにおける第3のデータ処理手順の一例を示すフローチャートである。
【図6】本発明に係る印刷システムで読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【符号の説明】
1 コンピュータ端末
1a コンピュータ端末CPU
1b メモリ
1c 表示装置
1d 固定ディスク装置
2 プリンタ
2a プリンタCPU
2b 展開メモリ
2d 受信メモリ
2c 印刷ユニット
2e ソータユニット
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to data processing in a data processing apparatus having a printer driver that can set copy printing and the number of copies and can generate printing information in a printer language that can be printed by the printing apparatus.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a printer driver that controls a printer connected to an information processing apparatus and outputs a print document, for example, as a user setting item of the printer driver, when performing unit printing, a function of performing unit printing as a printer function is provided. In such a case, a printer driver is known in which a printer unit copies and sets the number of copies and outputs only a part of the data to the printer, thereby causing the printing apparatus to execute a plurality of copies. .
[0003]
[Problems to be solved by the invention]
However, printer copy printing uses the printer's memory resources and a physical distribution device such as a sorter to temporarily store data for all pages and perform copy printing, so copy printing is possible. There is a limit to the data size, the number of pages, and the number of copies. In the above conventional example, when a part of the data exceeds the limit, there is a problem that the printer cannot perform the correct copy printing process.
[0004]
On the other hand, since it is possible to perform copy printing on the printer driver side as well, this problem can be solved by performing copy printing on the printer driver side. However, generally, it is faster to perform copy printing on the printer side. However, when the unit printing is always performed on the printer driver side, there is a problem that the processing speed is extremely reduced and the printing processing efficiency is deteriorated.
[0005]
The present invention has been made in order to solve the above-described problems. An object of the present invention is to spool print information for a plurality of pages converted from data instructed to be printed by an application into a storage unit, and then spool the spool. It is to provide a mechanism capable of efficiently performing set copy processing by appropriately determining that the print processing for the print information is executed on the printer driver side or the printing device side of the information processing apparatus. .
[0006]
[Means for Solving the Problems]
The data processing apparatus according to the present invention has the following characteristic configuration.
A data processing apparatus that can set the number of copies and the number of copies, and has a printer driver that generates print information in a printer language that can be printed by the printing apparatus, and can communicate with the printing apparatus via a predetermined communication medium A spool unit that spools print information for a plurality of pages converted from data instructed to be printed by an application into a storage unit, and a maximum print processable amount for determining the unit printing capability of the printing apparatus. An acquisition unit that acquires the number of pages by communicating with the printing apparatus; and determines whether the number of pages of print information spooled in the storage unit exceeds the maximum number of pages acquired by the acquisition unit And a determination unit that determines that the number of pages of the print information exceeds the maximum number of pages, and the unit When printing is set, the printer driver is determined as a unit print processing destination for the print information, and the determination unit determines that the number of pages of the print information does not exceed the maximum number of pages; and When the unit printing is set, the unit printing control means for determining the printing device as a unit printing processing destination for the print information, and when the unit printing processing destination is a printer driver, Printing information for a plurality of pages spooled in the storage means is output for the number of copies, and when the copy unit print processing destination is a printing device, the copy unit print mode of the printing device is set to be valid, When the number of copies is set to the number of copies, the printing information for a plurality of pages spooled in the storage means is output only once, and the unit printing is not set. And output control means for setting the copy mode of the printing apparatus to be invalid, setting the number of copies to be the number of copies, and outputting print information for a plurality of pages spooled in the storage means only once. It is characterized by having.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
[First Embodiment]
FIG. 1 is a block diagram showing a configuration of a printing system to which a printer driver according to the first embodiment of the present invention is applied. A computer terminal 1 and a printer 2 are connected via a predetermined communication medium, for example, a Centronics interface 3. It is configured to allow bidirectional communication.
[0022]
In the figure, a computer terminal 1 includes a computer terminal CPU 1a, a memory 1b composed of RAM, ROM, etc., a display device 1c composed of CRT, LCD, FLC, etc., a fixed disk device 1d, a removable disk drive 1e and a system. It is composed of a clock 1f. The printer driver (actually a print control program, which converts output information from the application into a print command or print data that can be analyzed by the printer 2 and transfers it to the printer 2) is transferred to the fixed disk device 1d. Installed above, the printer driver is loaded onto the memory 1b and called by the OS or the like to operate.
[0023]
The printer 2 includes a printer CPU 2a, a development memory 2b including a RAM, a printing unit 2c including a printer engine, and a reception memory 2d including a RAM.
[0024]
In the printing system configured as described above, the computer terminal 1 is connected to the printer 2 via the Centronics interface 3, and print data is transmitted to the printer 2 by the printer driver operating on the computer terminal 1. The image data for all pages is expanded on the expansion memory 2b. When the copy printing and the number of copies are instructed by the printer driver operating on the computer terminal 1, the printer 2 repeatedly outputs the image data on the development memory 2b to the printing unit 2c by the number of copies to print the copies. Execute.
[0025]
The characteristic configuration of the present embodiment will be described below with reference to FIG.
[0026]
Data having a printer (printer 2) via a predetermined communication medium (including a network and an interface) configured as described above and a printer driver that converts predetermined drawing information into print information that can be printed by the printing apparatus A printing system capable of communicating with a processing device (computer terminal 1), and detecting means (computer terminal) for detecting from the printing device a maximum number of pages that can be subjected to print processing for determining the printing capability of a copy unit of the printing device 1 is acquired and detected by communication with the printer 2), it is determined whether or not the number of pages of the print information that the printer driver should print per copy exceeds the maximum number of pages detected by the detection unit Determination means (the control program stored in the memory 1b or the fixed disk device 1d by the CPU 1a of the computer terminal 1) When the determination unit determines that the number of pages of the print information to be printed by the printer driver in units of copies exceeds the maximum number of pages detected by the detection unit The copy processing destination for the print information is determined as the printer driver (a print control module stored as a print control program in the fixed disk device 1d or the like and loaded into the memory 1b to function), and the determination means When the printer driver determines that the number of pages of the print information to be printed in copies does not exceed the maximum number of pages detected by the detection unit, the copy print destination for the print information is set in the printing apparatus. The unit printing control means to be determined (the CPU 1a of the computer terminal 1 is stored in the memory 1b or the fixed disk device 1d. Control by executing a control program), and based on whether the number of pages of print information exceeds the maximum number of pages in the printing device to be detected, whether the unit printing destination is the data processing device side or the printing device side Therefore, the maximum number of pages in print information that can be detected by the number of pages of print information is maintained while maintaining the copy printing process on the printing device side so as not to drop the printing process as much as possible. When the number of pages is exceeded, even if the print processing speed is reduced, a copy unit print processing system environment capable of executing copy print processing can be freely provided.
[0027]
A data processing apparatus having a printer driver for converting predetermined drawing information into print information printable by the printing apparatus, and capable of communicating with the printing apparatus via a predetermined communication medium (network, interface); Detecting means for detecting from the printing apparatus the maximum number of pages that can be printed for determining the unit printing capability of the printing apparatus (the computer terminal 1 obtains and detects it through communication with the printer 2), and the printer Determination means for determining whether or not the number of pages of the print information to be printed by the driver in units of copies exceeds the maximum number of pages detected by the detection means (the CPU 1a of the computer terminal 1 stores the memory 1b or the fixed disk device 1d). A determination process is executed by executing a stored control program), and the determination unit is configured to copy the printer driver When it is determined that the number of pages of the print information to be printed exceeds the maximum number of pages detected by the detection unit, a unit print processing destination for the print information is determined in the printer driver, and the determination unit If the printer driver determines that the number of pages of the print information to be printed in copies does not exceed the maximum number of pages detected by the detection means, the copy processing destination for the print information is set as the print destination. The unit printing control means determined by the apparatus (the CPU 1a of the computer terminal 1 executes and controls the control program stored in the memory 1b or the fixed disk device 1d), so that the number of pages of print information is detected. Based on whether the maximum number of pages in the device has been exceeded, either the data processing device side or the printing device side is set as the copy destination In order to determine the maximum number of pages in the printing device that the number of pages of print information can be detected while maintaining the unit printing processing on the printing device side so as not to drop the printing processing as much as possible, In the case of exceeding, it is possible to freely prepare a unit print processing environment capable of executing the unit print process even if the print processing speed is lowered.
[0028]
Further, a printer driver that communicates with a printing apparatus via a predetermined communication medium and converts predetermined drawing information into print information that can be printed by the printing apparatus (stored as a print control program in the fixed disk device 1d or the like, and is stored in the memory 1b. A printing control module that is loaded and functions in the printing apparatus, and detects from the printing apparatus a maximum number of pages that can be printed in order to determine the unit printing capability of the printing apparatus (a detection process of the printing control module) Detecting according to the procedure), and determining means for determining whether the number of pages of the print information to be printed per copy exceeds the maximum number of pages detected by the detecting means (determined according to the determination processing procedure of the print control module) The number of pages of the print information that should be printed by the determination unit in units of copies is the maximum number of pages detected by the detection unit. The maximum number of pages of the print information to be printed by the determination unit when the determination unit detects that the number of pages of the print information to be printed is set. When it is determined that the number does not exceed the number, the unit print processing unit (processing according to the print information processing procedure of the print control module) requesting the printing apparatus to perform the unit print process for the print information. Based on whether the number of information pages exceeds the maximum number of pages detected by the printing device, the copy destination is determined to be either the data processing device side or the printing device side, so as not to drop the printing process as much as possible. While maintaining the unit printing process on the printing device side to speed up the unit printing process, the maximum number of pages in the printing device detected by the number of pages of print information When obtaining, even down printing speed, Collate process capable of performing sort printing process can be efficiently performed.
[0029]
FIG. 2 is a flowchart showing an example of a first data processing procedure in the printing system according to the present invention, and corresponds to a print processing routine executed by a printer driver operating on the computer terminal 1. In addition, (1)-(12) shows each step.
[0030]
First, a printer driver internal conversion page that stores the total number of pages of a print document is initialized to a value “0” (1). Next, the data instructed to be printed by the printing application on the computer terminal 1 is converted into a printer language that can be interpreted by the printer 2 (2).
[0031]
Next, it is determined whether or not the data for one page has been converted into the printer language (3). When it is determined that the data has been converted into the printer language for one page, the value of the printer driver internal variable page is incremented. (4).
[0032]
On the other hand, when it is determined in step (3) that the conversion of the printer language for one page has not been completed, the process returns to step (2).
[0033]
Next, the printer language converted in step (2) and step (3) is spooled to a file on the fixed disk device 1d (5). Then, it is determined whether or not the creation of all pages has been completed (6). If it is determined that the creation of all pages has not been completed, the process returns to step (2) to complete the creation of all pages. Is determined, it is further determined whether or not the setting of the printer driver is set to copy printing (7). When the creation of all pages is not completed, the process returns to step (2).
[0034]
On the other hand, if it is determined in step (7) that copy printing is set, it is determined whether or not the value of the printer driver internal variable page is greater than the preset maximum copyable page count MAXPAGE. (8) If it is determined that the printer driver internal variable page is larger than the maximum number of pages that can be processed in the unit of copying MAXPAGE, the printer language spooled in the file on the fixed disk device 1d is copied several times through the Centronics interface 3 to the printer 2 (9) to finish the process.
[0035]
On the other hand, if it is determined in step (8) that the internal variable page of the printer driver is not larger than the maximum number of pages that can be processed per copy MAXPAGE, the copy printing mode of the printer 2 is set to “ON” (10) and the number of copies is set. The setting is set to the number of copies, and the printer language spooled in the file on the fixed disk device 1d is output to the printer 2 through the Centronics interface 3 only once, and copy copy printing is executed (11). The process ends.
[0036]
On the other hand, if it is determined in step (7) that the unit printing is not set, the printer unit printing mode is set to "OFF" (12), and the process proceeds to step (11).
[0037]
Thus, when the number of copies is instructed in step (11), the image data on the development memory 2b is output to the printing unit 2c by the number of copies, and copy printing is output.
[0038]
[Second Embodiment]
In the first embodiment, the case where the Centronics interface 3 uses a printing system that performs one-way communication processing has been described. However, the configuration of the printing system to which the printer driver is applied is the same as that of the first embodiment, and the Centronics interface is used. The present invention can also be applied when the interface 3 is capable of bidirectional communication. Hereinafter, a characteristic configuration of the present embodiment will be described.
[0039]
A printing device (printer 2) via a predetermined communication medium configured as described above and a printer driver that converts predetermined drawing information into print information that can be printed by the printing device (print control program in fixed disk device 1d, etc.) Is a printing system capable of communicating with a data processing apparatus (computer terminal 1) having a printing control module that is stored in the memory 1b and functions by being loaded into the memory 1b, and for determining the unit printing capability of the printing apparatus Detection means for detecting the maximum number of data that can be printed from the printing apparatus (the computer terminal 1 obtains and detects it by communication with the printer 2), and all of the print information that the printer driver should print in copies. Determination means (computer terminal) for determining whether the number of data exceeds the maximum number of data detected by the detection means The CPU 1a executes a control program stored in the memory 1b or the fixed disk device 1d for determination processing), and the determination means detects the total number of print information to be printed by the printer driver in units of copies. If it is determined that the maximum number of data detected by the means is exceeded, the printer driver is determined as a copy processing destination for the print information, and the determination means is configured to print the copy by the printer driver. A unit printing control unit (computer) that determines the printing unit as a unit printing processing destination for the printing information when it is determined that the total number of print information data does not exceed the maximum number of data detected by the detecting unit The CPU 1a of the terminal 1 executes and controls the control program stored in the memory 1b or the fixed disk device 1d. In order to determine the unit printing destination on the data processing apparatus side or the printing apparatus side as much as possible based on whether the number of print information data exceeds the maximum number of data detected in the printing apparatus. In order to speed up the unit printing process by maintaining the unit printing process on the printing device side so as not to drop the printing process, and when the number of print information data exceeds the maximum number of data in the printing device to be detected, Even if the print processing speed is lowered, it is possible to freely prepare a copy unit print processing system environment capable of executing copy print processing.
[0040]
A printer driver that converts predetermined drawing information into print information that can be printed by the printing device (a print control module that is stored as a print control program in the fixed disk device 1d or the like and is loaded into the memory 1b and functions); A data processing apparatus (computer terminal 1) capable of communicating with the printing apparatus (printer 2) via a predetermined communication medium (network, interface), and a printing process for determining the unit printing capability of the printing apparatus Detection means for detecting the maximum possible number of data from the printing device (the CPU 1a of the computer terminal 1 executes a control program stored in the memory 1b or the fixed disk device 1d and obtains it by communication with the printer 2 for detection processing) ), And the total number of print information to be printed by the printer driver in units of copies is Determination means for determining whether or not the maximum number of data detected by the knowledge means is exceeded (the CPU 1a of the computer terminal 1 executes a control program stored in the memory 1b or the fixed disk device 1d for determination processing); When the determination unit determines that the total number of pieces of print information to be printed by the printer driver in units of copies exceeds the maximum number of data detected by the detection unit, a unit print processing destination for the print information Is determined as the printer driver, and when the determination unit determines that the total number of data of the print information to be printed by the printer driver in units of copies does not exceed the maximum number of data detected by the detection unit, The unit printing control means (C of the computer terminal 1) determines the unit of printing processing for the printing information to the printing apparatus. U1a executes a control program stored in the memory 1b or the fixed disk device 1d) and determines whether the number of print information data exceeds the maximum number of data in the detected printing device. Since the unit printing destination is determined to be either the data processing apparatus side or the printing apparatus side, the unit printing process on the printing apparatus side is maintained so as not to drop the printing process as much as possible, thereby speeding up the unit printing process. At the same time, when the number of print information data exceeds the maximum number of data detected by the printing apparatus, a copy-unit print processing environment capable of executing copy-unit print processing is freely prepared even if the print processing speed is reduced. be able to.
[0041]
Further, a printer driver that communicates with a printing apparatus via a predetermined communication medium and converts predetermined drawing information into print information that can be printed by the printing apparatus (stored as a print control program in the fixed disk device 1d or the like, and is stored in the memory 1b. A print control module that is loaded and functions in the printing apparatus, and that detects from the printing apparatus the maximum number of data that can be subjected to print processing for determining the unit printing capability of the printing apparatus (detection process of the print control module) Detecting according to the procedure), and determining means for determining whether the total number of data of the print information to be printed in copies exceeds the maximum number of data detected by the detecting means (according to the determination processing procedure of the print control module) Determination), and the detection means detects the total number of data of the print information to be printed in front unit. When it is determined that the number of large data has been exceeded, a copy unit printing process is performed on the print information, and the determination unit detects the total number of data of the print information to be printed in copy units. When it is determined that the maximum number of data has not been exceeded, it has a unit print processing unit (processing according to the print information processing procedure of the print control module) that requests the printing apparatus to perform unit print processing for the print information. Because the print destination is determined to be either the data processing device side or the printing device side based on whether the number of print information data exceeds the maximum number of data detected by the printing device, the printing process is not dropped as much as possible In this way, the unit printing process on the printing apparatus side is maintained to speed up the unit printing process, and the maximum data in the printing apparatus that detects the number of print information data is If more than data number, when dropped print processing speed, Collate process capable of performing sort printing process can be efficiently performed.
[0042]
FIG. 3 is a flowchart showing an example of a second data processing procedure in the printing system according to the present invention, and corresponds to a print processing routine executed by the printer driver operating on the computer terminal 1. In addition, (1)-(13) shows each step.
[0043]
First, the bidirectional Centronics interface 3 is used to inquire the printer about the maximum storable page data size, and the result is set in the printer driver internal variable max_data_size (1). Next, the value of the printer driver internal variable data_size is set to “0” (2).
[0044]
Next, data instructed to be printed from the printing application on the computer terminal 1 is converted into a printer language that can be interpreted by the printer 2 (3). Then, it is determined whether or not the data for one page has been converted into the printer language (4). When it is determined that the conversion of the printer language for one page has not been completed, the process returns to step (3).
[0045]
On the other hand, when it is determined in step (4) that the data for one page has been converted into the printer language, the data size for one page is added to the value of the printer driver internal variable data_size (5). Next, the printer language converted in step (4) is spooled to a file on the fixed disk device 1d (6). Then, it is determined whether or not all pages have been converted into the printer language (7). When it is determined that all pages have not been converted into the printer language, the process returns to step (3).
[0046]
On the other hand, if it is determined in step (7) that all pages have been converted into the printer language, it is determined whether or not the printer driver setting is set to copy printing (8), and copy printing is set. If it is determined that the printer driver internal variable data_size is compared with the value of the printer driver internal variable max_data_size (9), and if it is determined that the printer driver internal variable data_size is smaller, the unit printing is performed. Set the copy mode to “ON” using the setting command (10), set the number of copies using the copy number setting command, and output the printer language of all the converted print pages to the printer 2 via the Centronics interface 3 Then, printing is instructed (11), and this routine is terminated.
[0047]
On the other hand, if it is determined in step (9) that the printer driver internal variable data_size is larger, the printer language of all the converted print pages is output to the printer 2 several times via the Centronics interface 3 and output to the printer 2. Printing is instructed (12), and the process is terminated.
[0048]
On the other hand, when it is determined in step (8) that the copy unit is not set, the copy unit print mode is set to “OFF” using the copy unit print setting command (13), and the process proceeds to step (11).
[0049]
Thus, when the setting of the number of copies is instructed in step (11), the printer 2 outputs the image data on the page storage memory 2b to the printing unit 2c by the number of copies, and executes copy printing.
[0050]
[Third Embodiment]
In the above-described embodiment, the case where the present invention is applied to a printer that directly discharges output paper on which the printer 2 is printed has been described. However, the present invention may be applied to a printer in which a sorter unit with a stapler function is detachable. Is possible. Hereinafter, a characteristic configuration of the present embodiment will be described.
[0051]
A printing device (printer 2) via a predetermined communication medium configured as described above and a printer driver that converts predetermined drawing information into print information that can be printed by the printing device (print control program in fixed disk device 1d, etc.) Is a printing system capable of communicating with a data processing apparatus (computer terminal 1) having a printing control module that is stored in the memory 1b and functions by being loaded into the memory 1b, and for determining the unit printing capability of the printing apparatus Detection means for detecting the maximum number of copies that can be printed from the printing apparatus (the computer terminal 1 acquires and detects it through communication with the printer 2), and the total number of print information that the printer driver should print in copies. Determining means for determining whether or not the maximum number of copies detected by the detecting means exceeds the CPU 1 of the computer terminal 1 When the determination unit executes the control program stored in the memory 1b or the fixed disk device 1d), the determination unit detects the total number of pieces of the print information to be printed by the printer driver in units of copies. When it is determined that the maximum number of copies has been exceeded, the printer driver is determined as the copy processing destination for the print information, and the determination unit is configured to print all the print information that the printer driver should print in copies. When it is determined that the number does not exceed the maximum number of copies detected by the detection unit, the unit printing control unit (the CPU 1a of the computer terminal 1 stores the memory) 1b or the control program stored in the fixed disk device 1d). Based on whether the total number exceeds the maximum number of copies in the printing device to be detected, the printing unit side is determined so as not to drop the printing process as much as possible because the copy destination is determined to be either the data processing device side or the printing device side. To maintain the unit printing process at the same time to speed up the unit printing process, and if the total number of print information exceeds the maximum number of copies in the printing device to detect, the unit printing is performed even if the print processing speed is reduced It is possible to freely prepare a copy unit printing processing system environment capable of executing processing.
[0052]
A printer driver that converts predetermined drawing information into print information that can be printed by the printing device (a print control module that is stored as a print control program in the fixed disk device 1d or the like and is loaded into the memory 1b and functions); A data processing apparatus (computer terminal 1) capable of communicating with the printing apparatus (printer 2) via a predetermined communication medium, and the maximum number of copies that can be printed for determining the unit printing capability of the printing apparatus. Detection means for detecting from the printing device (the CPU 1a of the computer terminal 1 executes a control program stored in the memory 1b or the fixed disk device 1d and obtains it through communication with the printer 2 for detection processing), and the printer driver The total number of print information to be printed in copies exceeds the maximum number of copies detected by the detection means. Determining means (the CPU 1a of the computer terminal 1 executes a control program stored in the memory 1b or the fixed disk device 1d for determination processing), and the determining means prints the printer driver in units of copies. When it is determined that the total number of print information to be exceeded exceeds the maximum number of copies detected by the detection means, the copy driver for the print information is determined as the printer driver, and the determination means determines the printer When the driver determines that the total number of pieces of print information to be printed in copies does not exceed the maximum number of copies detected by the detection unit, the printing apparatus is determined as a copy processing destination for the print information. Copy printing control means (CPU 1a of computer terminal 1 is stored in memory 1b or fixed disk device 1d Control the program by executing the control program), so that either the data processing device side or the printing device side sets the unit printing destination based on whether the total number of print information exceeds the maximum number of copies in the printing device to be detected. Therefore, the maximum number of copies in the printing device that can be detected by the total number of print information, while maintaining the copy processing on the printing device side so as not to drop the printing processing as much as possible. In the case of exceeding the print processing speed, even if the print processing speed is lowered, the copy printing environment that can execute the copy printing process can be freely provided.
[0053]
Furthermore, a printer driver that communicates with a printing device via a predetermined communication medium and converts predetermined drawing information into print information that can be printed by the printing device (stored as a print control program in the fixed disk device 1d, etc. A printing control module loaded in 1b and functioning), and detecting means for detecting the maximum number of copies that can be printed for determining the printing capability of the printing unit of the printing apparatus from the printing apparatus (detection processing procedure of the printing control module) And determining means for determining whether or not the total number of print information to be printed per copy exceeds the maximum number of copies detected by the detecting means (determined according to the determination processing procedure of the print control module) And the total number of pieces of the print information to be printed by the determination unit in units of copies exceeds the maximum number of copies detected by the detection unit. If it is determined that the print information is to be printed, the determination unit determines that the total number of print information to be printed in units of copies does not exceed the maximum number of copies detected by the detection unit. In this case, since it has a unit print processing means (processing according to the print information processing procedure of the print control module) for requesting the printing apparatus to perform unit print processing for the print information, the total number of print information is detected. Based on whether the maximum number of copies in the printing device has been exceeded, the copy destination is determined to be either the data processing device side or the printing device side. While maintaining the processing to speed up the copy printing process, if the total number of print information exceeds the maximum number of copies in the printing device to be detected, the print processing speed is reduced. Even, Collate process capable of performing sort printing process can be efficiently performed.
[0054]
FIG. 4 is a block diagram showing the configuration of a printing system to which the printer driver according to the third embodiment of the present invention is applied. The computer terminal 1 and the printer 2 are connected via a predetermined communication medium, for example, the Centronics interface 3. It is configured to allow bidirectional communication. In addition, the same code | symbol is attached | subjected to the same thing as FIG.
[0055]
The printer 2 includes a printer CPU 2a, a development memory 2b, a printing unit 2c, a reception memory 2d, and a sorter unit 2e with a stapler function. Reference numeral 3 denotes a Centronics interface.
[0056]
In the printing system configured as described above, the computer terminal 1 is connected to the printer 2 via the Centronics interface 3, and print data is transmitted to the printer 2 by the printer driver operating on the computer terminal 1. The image data of the page is expanded on the expansion memory 2b. When the copy printing and the number of copies are instructed by the printer driver operating on the computer terminal 1, the printer 2 outputs image data for one page on the development memory 2b to the printing unit 2c by the number of copies. Then, all pages are output, and the sorter unit 2e switches the output bins, thereby executing copy printing.
[0057]
FIG. 5 is a flowchart showing an example of a third data processing procedure in the printing system according to the present invention, and corresponds to a print processing routine executed by the printer driver operating on the computer terminal 1. In addition, (1)-(10) shows each step.
[0058]
First, data instructed to be printed by a printing application on the computer terminal 1 is converted into a printer language that can be interpreted by the printer 2 (1). Next, it is determined whether or not the data for one page has been converted into the printer language (2). When it is determined that the conversion of the printer language for one page has not been completed, the process returns to step (1).
[0059]
On the other hand, if it is determined in step (2) that the conversion of the printer language for one page has been completed, the printer language converted in step (1) is spooled to a file on the fixed disk device 1d (3). ).
[0060]
Next, it is determined whether or not the creation of all pages has been completed (4). When the creation of all pages has not been completed, the process returns to step (1) to determine that the creation of all pages has been completed. When it is determined that the setting of the printer driver is set to the unit printing (5), and it is determined that the unit printing is set, the setting value copies of the number of copies is set in advance. It is determined whether or not the maximum number of copies that can be processed is larger than MAXCOPIES (6). The printer language is output several times to the printer 2 via the Centronics interface 3 (7), and the process is terminated.
[0061]
On the other hand, if it is determined in step (6) that the set value copies of the number of copies is not greater than the maximum number of copies that can be processed MAXCOPY, the printer unit print mode is set to “ON” (8) and the number of copies is set. Is set to the number of copies, and the printer language spooled in the file on the fixed disk device 1d is output to the printer 2 through the Centronics interface 3 only once (9), and the process is terminated.
[0062]
On the other hand, if it is determined in step (5) that the unit printing is not set, the unit printing mode of the printer is set to “OFF” (10), and the process proceeds to step (9).
[0063]
As a result, when the number of copies is instructed in step (9), the image data on the development memory 2b is output to the printing unit 2c by the number of copies, and sorted by the sorter unit 2e to perform copy copy printing. Executed.
[0064]
[Other Embodiments]
In the first to third embodiments, the connection between the printer driver and the printer 2 has been described with reference to the Centronics interface 3. However, a serial interface such as RS232C or a network connection such as Ethernet may be used. It does not matter.
[0065]
In addition, the printing unit 2c in each of the above embodiments may be a printer such as a laser beam printer, an ink jet printer, a thermal transfer printer, a dot impact printer, or the like, but it is necessary to have a paper unit copy printing function. is there.
[0066]
The characteristic configuration of this embodiment will be described below with reference to FIGS.
[0067]
Data having a printer driver that converts printing apparatus and predetermined drawing information into print information that can be printed by the printing apparatus (printer 2) via a predetermined communication medium (including a network and an interface) configured as described above. A data processing method of a printing system capable of communicating with a processing device (computer terminal 1), or converting a printing device and predetermined drawing information into print information printable by the printing device via a predetermined communication medium. A storage medium storing a computer-readable program for controlling a printing system capable of communicating with a data processing apparatus having a printer driver, and capable of performing a printing process for determining a unit printing capability of the printing apparatus A detection step (step not shown) for detecting the number of pages from the printing apparatus; A determination step (step (8) in FIG. 2) for determining whether the number of pages of the print information to be printed exceeds the maximum number of pages detected by the detection step, and the determination step is performed by the printer driver. When it is determined that the number of pages of the print information to be printed in copies exceeds the maximum number of pages detected in the detection step, a copy processing destination for the print information is determined in the printer driver, When the determination step determines that the number of pages of the print information to be printed by the printer driver in units of copies does not exceed the maximum number of pages detected by the detection step, the unit print processing destination for the print information Is determined by the printing apparatus (step 10 in FIG. 2 or step (9)), and the printing apparatus detects the number of pages of print information. Based on whether or not the maximum number of pages is exceeded, the unit of printing is determined to be either the data processing unit side or the printing unit side. To speed up the copy printing process, and if the number of pages of print information exceeds the maximum number of pages detected by the printing device, execute the copy printing process even if the print processing speed is reduced. This makes it possible to freely set up an environment for the printing system for each unit.
[0068]
A printing system capable of communicating with a printing apparatus and a data processing apparatus having a printer driver for converting predetermined drawing information into print information that can be printed by the printing apparatus via a predetermined communication medium (including a network and an interface). A data processing method, or a printing system capable of communicating via a predetermined communication medium with a data processing apparatus having a printer driver that converts predetermined drawing information into print information that can be printed by the printing apparatus A storage medium storing a computer-readable program for controlling the printing apparatus, and detecting a maximum number of data that can be printed from the printing apparatus for determining the printing capability of each unit of the printing apparatus (not shown) Step), and the total number of print information to be printed by the printer driver in units of copies is detected step A determination step (step (9) in FIG. 3) for determining whether or not the detected maximum number of data is exceeded, and the total number of data of the print information that the determination step is to be printed by the printer driver in units of copies is When it is determined that the maximum number of data detected by the detection process is exceeded, the copy processing destination for the print information is determined for the printer driver, and the determination process should be performed by the printer driver for each copy. If it is determined that the total number of data of the print information does not exceed the maximum number of data detected by the detection step, a determination step (in FIG. Step (10) or step (12)), based on whether the number of pages of print information exceeds the maximum number of pages in the printing apparatus to be detected. Since the copy destination is determined to be either the data processing device side or the printing device side, the print device side keeps the copy processing on the printing device side so that the printing process is not lost as much as possible. In addition, if the number of pages of print information exceeds the maximum number of pages in the printing device that can be detected, the copy processing environment that can execute copy printing even if the print processing speed is reduced is freely prepared. can do.
[0069]
Further, a printing system capable of communicating with a printing apparatus and a data processing apparatus having a printer driver that converts predetermined drawing information into print information that can be printed by the printing apparatus via a predetermined communication medium (network, interface, etc.). A printing system capable of communicating with a data processing method or a data processing apparatus having a printer driver that converts predetermined drawing information into print information that can be printed by the printing apparatus via a predetermined communication medium A detection process (not shown) for detecting, from the printing apparatus, a maximum number of copies that can be printed on a storage medium storing a program that can be read by a computer to be controlled, and for determining the printing capability of the printing apparatus. And the detection step detects the total number of pieces of print information that the printer driver should print in units of copies. The determination step (step (6) in FIG. 5) for determining whether or not the maximum number of copies has been exceeded, and the detection step detects the total number of print information that the determination step should be printed by the printer driver. When it is determined that the maximum number of copies has been exceeded, the printer driver is determined as a copy processing destination for the print information, and the determination step includes all the print information that the printer driver should print in copies. When it is determined that the number does not exceed the maximum number of copies detected by the detection step, a determination step (step (8) in FIG. ))), The print unit is printed on the data processing device side based on whether the number of pages of print information exceeds the maximum number of pages detected by the printing device. Therefore, it is possible to increase the speed of the unit printing process by maintaining the unit printing process on the printing apparatus side so as not to drop the printing process as much as possible, and to detect the number of pages of print information. When the maximum number of pages in the printing apparatus is exceeded, even if the print processing speed is reduced, the unit printing process that can execute the unit printing process can be performed efficiently.
[0070]
The configuration of a data processing program that can be read by the printing system according to the present invention will be described below with reference to the memory map shown in FIG.
[0071]
FIG. 6 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the printing system according to the present invention.
[0072]
Although not particularly illustrated, information for managing a program group stored in the storage medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed. Icons may also be stored.
[0073]
Further, data depending on various programs is also managed in the directory. In addition, a program for installing various programs in the computer, and a program for decompressing when the program to be installed is compressed may be stored.
[0074]
The functions shown in FIG. 2, FIG. 3, and FIG. 5 in this embodiment may be performed by a host computer by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Is.
[0075]
As described above, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the programmed program code.
[0076]
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0077]
As a storage medium for supplying the program code, for example, a floppy disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, an EEPROM, or the like is used. it can.
[0078]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0079]
Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0080]
In the above embodiment, the data processing method of the printing system has been described together with the flowcharts shown in FIGS. 2, 3, and 5. However, each procedure may be set as the processing procedure of the data processing apparatus. It is naturally possible to configure as a procedure.
[0081]
【The invention's effect】
As described above, according to the present invention, after printing information for a plurality of pages converted from data instructed to be printed by an application is spooled in a storage unit, the copy processing for the spooled print information is processed as information processing. By appropriately determining to be executed on the printer driver side or the printing apparatus side of the apparatus, the set unit printing process can be performed efficiently.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a printing system to which a printer driver according to a first embodiment of the invention is applied.
FIG. 2 is a flowchart illustrating an example of a first data processing procedure in the printing system according to the present invention.
FIG. 3 is a flowchart illustrating an example of a second data processing procedure in the printing system according to the present invention.
FIG. 4 is a block diagram illustrating a configuration of a printing system to which a printer driver according to a third embodiment of the present invention is applied.
FIG. 5 is a flowchart showing an example of a third data processing procedure in the printing system according to the present invention.
FIG. 6 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the printing system according to the present invention.
[Explanation of symbols]
1 Computer terminal
1a Computer terminal CPU
1b memory
1c Display device
1d fixed disk device
2 Printer
2a Printer CPU
2b expanded memory
2d receiving memory
2c printing unit
2e Sorter unit

Claims (3)

部単位印刷及びコピー部数が設定可能であり、かつ印刷装置が印刷可能なプリンタ言語の印刷情報を生成するプリンタドライバを有し、所定の通信媒体を介して前記印刷装置と通信可能なデータ処理装置であって、
アプリケーションによって印刷が指示されたデータから変換される複数ページ分の印刷情報を記憶手段にスプールするスプール手段と、
前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大ページ数を、前記印刷装置と通信することにより取得する取得手段と、
前記記憶手段にスプールされている印刷情報のページ数が前記取得手段により取得された前記最大ページ数を超えているかどうかを判定する判定手段と、
前記判定手段が前記印刷情報のページ数が前記最大ページ数を超えていると判定し、かつ前記部単位印刷が設定されている場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定手段が前記印刷情報のページ数が前記最大ページ数を超えていないと判定し、かつ前記部単位印刷が設定されている場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する部単位印刷制御手段と、
前記部単位印刷処理先がプリンタドライバである場合に、前記記憶手段にスプールされている複数ページ分の印刷情報を、前記コピー部数回分出力し、前記部数単位印刷処理先が印刷装置である場合に、前記印刷装置の部単位印刷モードを有効に設定し、前記コピー部数を部数に設定し、前記記憶手段にスプールされている複数ページ分の印刷情報を1回分だけ出力し、前記部単位印刷が設定されていない場合に、前記印刷装置の部単位印刷モードを無効に設定し、前記コピー部数を部数に設定し、前記記憶手段にスプールされている複数ページ分の印刷情報を1回分だけ出力する出力制御手段と、
を有することを特徴とするデータ処理装置
A data processing device capable of setting the number of copies and the number of copies and having a printer driver for generating print information in a printer language that can be printed by the printing device and capable of communicating with the printing device via a predetermined communication medium Where
Spool means for spooling print information for a plurality of pages converted from data instructed to be printed by an application to a storage means;
An acquisition means for acquiring the maximum number of pages that can be printed for determining the unit printing capability of the printing apparatus by communicating with the printing apparatus;
Determining means for determining whether the number of pages of print information spooled in the storage means exceeds the maximum number of pages acquired by the acquiring means ;
Said determination means determines that the number of pages of the print information exceeds the maximum number of pages, and when the unit sort printing is set, the Collate processing destination for the print information to the printer driver determined, the determination means determines that the number of pages of the print information does not exceed the maximum number of pages, and when the unit sort printing is set, said Collate processing destination for the print information A unit printing control means to determine the printing apparatus;
When the copy processing destination is a printer driver, print information for a plurality of pages spooled in the storage unit is output for the number of copies, and the copy processing destination is a printing apparatus. The copy unit printing mode of the printing apparatus is set to be effective, the number of copies is set to the number of copies, print information for a plurality of pages spooled in the storage unit is output only once, and the copy printing is performed. If it is not set, the copy mode of the printing apparatus is set to be invalid, the number of copies is set to the number of copies, and print information for a plurality of pages spooled in the storage unit is output only once. Output control means;
A data processing apparatus comprising:
部単位印刷及びコピー部数が設定可能であり、かつ印刷装置が印刷可能なプリンタ言語の印刷情報を生成するプリンタドライバを有し、所定の通信媒体を介して前記印刷装置と通信可能なデータ処理装置におけるデータ処理方法であって、
アプリケーションによって印刷が指示されたデータから変換される複数ページ分の印刷情報を記憶手段にスプールするスプール工程と、
前記印刷装置の部単位印刷能力を判定するための印刷処理可能な最大ページ数を、前記印刷装置と通信することにより取得する取得工程と、
前記記憶手段にスプールされている印刷情報のページ数が前記取得工程により取得された前記最大ページ数を超えているかどうかを判定する判定工程と、
前記判定工程が前記印刷情報のページ数が前記最大ページ数を超えていると判定し、かつ前記部単位印刷が設定されている場合に、前記印刷情報に対する部単位印刷処理先を前記プリンタドライバに決定し、前記判定工程が前記印刷情報のページ数が前記最大ページ数を超えていないと判定し、かつ前記部単位印刷が設定されている場合に、前記印刷情報に対する部単位印刷処理先を前記印刷装置に決定する部単位印刷制御工程と、
前記部単位印刷処理先がプリンタドライバである場合に、前記記憶手段にスプールされている複数ページ分の印刷情報を、前記コピー部数回分出力し、前記部数単位印刷処理先が印刷装置である場合に、前記印刷装置の部単位印刷モードを有効に設定し、前記コピー部数を部数に設定し、前記記憶手段にスプールされている複数ページ分の印刷情報を1回分だけ出力し、前記部単位印刷が設定されていない場合に、前記印刷装置の部単位印刷モードを無効に設定し、前記コピー部数を部数に設定し、前記記憶手段にスプールされている複数ページ分の印刷情報を1回分だけ出力する出力制御工程と、
を有することを特徴とするデータ処理方法。
A data processing apparatus that can set the number of copies and the number of copies, and has a printer driver that generates print information in a printer language that can be printed by the printing apparatus, and can communicate with the printing apparatus via a predetermined communication medium A data processing method in
A spooling step of spooling print information for a plurality of pages converted from data instructed to be printed by an application into a storage unit;
An acquisition step of acquiring the maximum number of pages that can be printed for determining the unit printing capability of the printing apparatus by communicating with the printing apparatus;
A determination step of determining whether the number of pages of print information spooled in the storage means exceeds the maximum number of pages acquired by the acquisition step;
When the determination step determines that the number of pages of the print information exceeds the maximum number of pages and the unit printing is set, the unit print processing destination for the print information is set to the printer driver. When the determination step determines that the number of pages of the print information does not exceed the maximum number of pages, and the copy unit print is set, the copy unit print processing destination for the print information is A unit printing control process to be determined by the printing apparatus;
When the copy printing destination is a printer driver, print information for a plurality of pages spooled in the storage means is output for the number of copies, and the copy printing destination is a printing apparatus. The copy unit printing mode of the printing apparatus is set to be effective, the number of copies is set to the number of copies, print information for a plurality of pages spooled in the storage unit is output only once, and the copy printing is performed. If it is not set, the copy unit printing mode of the printing apparatus is set to be invalid, the number of copies is set to the number of copies, and print information for a plurality of pages spooled in the storage unit is output only once. An output control process;
A data processing method characterized by comprising:
請求項2記載のデータ処理方法をコンピュータに実行させるためのプログラムを格納したことを特徴とするコンピュータが読み取り可能な記憶媒体。  A computer-readable storage medium storing a program for causing a computer to execute the data processing method according to claim 2.
JP35869597A 1997-12-26 1997-12-26 Data processing apparatus, data processing method, and storage medium Expired - Fee Related JP3902854B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35869597A JP3902854B2 (en) 1997-12-26 1997-12-26 Data processing apparatus, data processing method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35869597A JP3902854B2 (en) 1997-12-26 1997-12-26 Data processing apparatus, data processing method, and storage medium

Publications (2)

Publication Number Publication Date
JPH11191059A JPH11191059A (en) 1999-07-13
JP3902854B2 true JP3902854B2 (en) 2007-04-11

Family

ID=18460639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35869597A Expired - Fee Related JP3902854B2 (en) 1997-12-26 1997-12-26 Data processing apparatus, data processing method, and storage medium

Country Status (1)

Country Link
JP (1) JP3902854B2 (en)

Also Published As

Publication number Publication date
JPH11191059A (en) 1999-07-13

Similar Documents

Publication Publication Date Title
US8325378B2 (en) Information processing apparatus and method for generating print data for a book with a cover sheet
US20010048533A1 (en) Data processing apparatus and method thereof, and memory medium
JPH10285421A (en) Printer color-processing mode automatic controller, method receiver system and storage device therefor
US7362465B2 (en) Information processing apparatus and control method therefor
US7315387B2 (en) Print control method and apparatus, and print system
US6175426B1 (en) Printing apparatus and print control method
US6999186B2 (en) Multi-copy printing apparatus and it's control method
US7746494B2 (en) Data processing apparatus, data processing method, printer driver, print control apparatus, print control method, and printing system
JP3962606B2 (en) Printing command generation apparatus and method, printing apparatus and control method thereof, information processing apparatus, and printing system
US7155669B1 (en) System, method and apparatus for changing output size of an electronically transmitted document
JP4383696B2 (en) Printing system and control method thereof, and print management apparatus and method
US6496279B2 (en) Image processing apparatus, method and memory medium therefor
JP3902854B2 (en) Data processing apparatus, data processing method, and storage medium
US7764394B2 (en) Data processing apparatus, data processing method, and data processing program
JP4854144B2 (en) Printing system, management method, and printing apparatus
US20040223188A1 (en) Printing control method and apparatus
JP3902853B2 (en) Data processing apparatus, data processing method, and storage medium
JP3896619B2 (en) Print control system
JP2000305744A (en) Information processor, method and system for controlling printing and storage medium
JP3715765B2 (en) Band memory size determination method and recording medium
JP3073921B2 (en) Print control device and data processing method of print control device
JPH1134410A (en) Printer driver, printer, printing apparatus, data processor, and printing method
JP3840002B2 (en) Information processing apparatus, print control apparatus, print control method, and storage medium storing computer-readable program
JP2000148418A (en) Printer
KR100338750B1 (en) Method of controlling the priority process order for waited printing job

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060626

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070105

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120112

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130112

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20140112

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees