JP2004287792A - Print control unit - Google Patents

Print control unit Download PDF

Info

Publication number
JP2004287792A
JP2004287792A JP2003078437A JP2003078437A JP2004287792A JP 2004287792 A JP2004287792 A JP 2004287792A JP 2003078437 A JP2003078437 A JP 2003078437A JP 2003078437 A JP2003078437 A JP 2003078437A JP 2004287792 A JP2004287792 A JP 2004287792A
Authority
JP
Japan
Prior art keywords
print
print job
printing
conditions
queue
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.)
Pending
Application number
JP2003078437A
Other languages
Japanese (ja)
Inventor
Hitoshi Ozaka
斉 尾坂
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 JP2003078437A priority Critical patent/JP2004287792A/en
Publication of JP2004287792A publication Critical patent/JP2004287792A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a print control unit capable of quickly obtaining a print output of conditions based on a user's intention even when the print conditions are inappropriate. <P>SOLUTION: In performing print jobs in order from the top of the queue, a server device puts a print job of which print conditions are inappropriate in a state of "suspension" without changing the order in the queue, demands correction of the print conditions, and performs the next print job until corrected and appropriate print conditions are returned. When the corrected and appropriate print conditions are returned, the server device corrects the print job and cancels the state of "suspension." When the print job being performed completes, the server device proceeds with printing the print job in the top of the queue or the print job of which print conditions were inappropriate. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワークを介してクライアント装置から受信した印刷ジョブを管理して印刷装置(複写機、複写機能や印刷機能を兼ね備えた複合機等の画像形成装置を含む)により実行させる印刷制御装置に関し、特に不適正な印刷条件を含む印刷ジョブの処理技術に関する。
【0002】
【従来の技術】
従来、この種の印刷制御装置では、各クライアント装置から受信した印刷ジョブを、その受信順等に応じて一旦、待ち行列に登録し、その登録順に当該印刷印刷ジョブで指定された印刷装置に供給していた。
【0003】
この印刷ジョブには、印刷対象のデータの他に、印刷を実行する印刷装置、印刷用紙の給紙口や両面印刷等の印刷条件が指定されているが、例えば、両面印刷が指定されているのに、指定された印刷装置は両面印刷機能を有していない等、指定された印刷条件が不適正な場合がある。
【0004】
このような印刷ジョブについては、エラーとして破棄したり、或いは不適正な指定を無視して印刷装置に適合する範囲の印刷条件だけを使用して、強制的に実行させたりしていた。不適正な印刷条件の印刷ジョブが破棄された場合は、印刷条件を適正に指定した印刷ジョブを再度発行する必要があった。また、印刷装置に適合する範囲の印刷条件だけを使用して、強制的に実行した場合は、ユーザの意図が全く反映されないので、ユーザの意図を反映した印刷条件を適正に指定した印刷ジョブを再度発行しなければならない場合もあった。
【0005】
また、印刷条件が不適正である旨をクライアント装置に通知し、適正な印刷条件を求める方式も提案されている(特許文献1参照)。この方式では、クライアント側は、サーバ装置からの通知を確認し、適正な印刷条件を指定した印刷ジョブを再度発行していた。
【0006】
【特許文献1】
特開平9−179704号公報
【0007】
【発明が解決しようとする課題】
しかし、上記の再発行された印刷ジョブは、サーバ装置において、新規の印刷ジョブとして待ち行列の最後尾に追加されることになる。すなわち、他の印刷ジョブよりも先に登録されて実行されるはずの印刷ジョブが、印刷条件の不備により、最後に実行されてしまうことになる。
【0008】
特に、1台の印刷装置を複数のクライアント装置が共有しているオフィス環境では、或る時間帯に多量の印刷ジョブが集中することも多く、僅かな印刷条件の不備により、印刷が完了するまで長時間待たされる可能性が高くなる。
【0009】
本発明は、このような問題に鑑みてなされたもので、その課題は、印刷条件が不適正であった場合でも、ユーザの意図に基づいた印刷条件での印刷出力を迅速に得られるようにした印刷制御装置を提供することにある。
【0010】
【課題を解決するための手段】
上記の課題を解決するため、本発明は、ネットワークを介してクライアント装置から受信した印刷ジョブを管理して印刷装置により実行させる印刷制御装置であって、印刷ジョブを実行する際に該印刷ジョブにおける印刷条件が適正である否かを判別する判別手段と、前記判別手段により印刷条件が適正でないと判別された場合に、当該印刷ジョブを送信したクライアント装置に対して印刷条件の訂正を要求する要求手段と、前記要求手段による訂正要求に応答して適正な印刷条件が返信されてきた場合に、前記印刷ジョブを返信に係る適正な印刷条件で優先的に実行させる優先実行手段とを有している。
【0011】
【発明の実施の形態】
以下、図面を参照しながら、本発明の実施の形態を詳細に説明する。
【0012】
図1は、本発明を適用した印刷システムのシステム構成図である。
【0013】
図1に示したように、ネットワークNには、1台のサーバ装置1と、複数のクライアント装置2a,2bと、複数の印刷装置3a,3bが互いに通信可能に接続されている。ただし、印刷装置は、必ずしもネットワークNに接続されている必要はなく、サーバ装置1やクライアント装置2a,2bに直接、ローカル接続されていてもよい。また、サーバ装置、クライアント装置、印刷装置の設置台数も任意である。
【0014】
印刷装置3ab3bとしては、印刷専用機としてのプリンタだけでなく、複写機、複写機能や印刷機能を兼ね備えた複合機、ファクシミリ装置等の画像形成装置が配備されている。
【0015】
サーバ装置1と各クライアント装置2a,2bのハードウェアの主要部は同一であり、図2のように構成されている。
【0016】
すなわち、サーバ装置1、各クライアント装置2は、CPU21、RAMおよびROMなどの内部メモリ22、フロッピー(登録商標)ディスク、ハードディスクなどの外部メモリ23、キーボードおよびマウスなどの入力装置24、液晶ディスプレイなどの表示装置25、ネットワークN等と接続するための外部入出力インターフェイス26を有し、これら構成要素はバス27に接続されている。
【0017】
本発明は、基本I/Oプログラム、OS、および本発明に特有な制御を行う制御プログラムをCPU21が実行することにより実現される。基本I/Oプログラムは、内部メモリ(ROM)22に格納され、OSは、外部メモリ23に格納されている。そして、本装置の電源がONされたときに、基本I/Oプログラム中のIPL(イニシャル・プログラム・ローディング)機能により、外部メモリ23からOSが内部メモリ(RAM)22にロードされて展開される。
【0018】
また、本発明に特有な制御を行う制御プログラムおよび関連データは、外部メモリ(フロッピー(登録商標)ディスク)23に格納されており、基本I/Oプログラム及びOSの制御の下に、内部メモリ(RAM)22にロードされて展開された後に実行される。この制御プログラムおよび関連データは、図3に示したように、ボリューム情報、ディレクトリ情報、制御プログラム実行ファイル、制御プログラム関連データファイルにより構成されている。
【0019】
なお、サーバ装置1で実行される制御プログラムには、後述する図6、図7のフローチャートに対応する制御プログラムの他に、各印刷装置3a,3bに対応するプリンタドライバが含まれている。また、サーバ装置1にロードされる制御プログラム関連データファイルには、各印刷装置3a,3bの識別情報、各種の機能(両面印刷機能、カラー印刷機能、後処理におけるパンチ孔開口機能等)、仕様(手差し、上段、下段等の給紙口の種類等)等、印刷ジョブ中で印刷条件として指定(設定)されるべき情報も格納されている。
【0020】
図4は、本制御プログラム等がRAMにロードされ実行可能となった状態のメモリマップを示している。本実施形態では、制御プログラム及び関連データをフロッピー(登録商標)ディスクから直接RAMにロードして実行させているが、フロッピー(登録商標)ディスクから制御プログラム及び関連データを予めハードディスクに格納しておき、本制御プログラムを実行させる時点で、ハードディスクからRAMにロードするようにしてもよい。
【0021】
また、本制御プログラムを予め記録しておく媒体は、FD以外にCD−ROM、ICメモリカードなどであってもよい。さらに、本プログラムを読取専用のROM22に記録しておき、これをメモリマップの一部をなすように構成し、CPU21が直接アクセスすることも可能である。
【0022】
次に、本発明の要点を図5に基づいて説明する。
【0023】
サーバ装置1は、待ち行列に登録した印刷ジョブを実行するに当たり、その印刷ジョブにおいて指定されている印刷条件をチェックし、不適正な印刷条件が指定されている場合は、当該印刷ジョブの実行を一旦保留し、当該印刷ジョブを発行したクライアント装置2a,2bに対して、印刷条件の訂正を要求する。この際、サーバ装置1は、不適正な印刷条件を指摘し、当該印刷ジョブ中で指定された印刷装置に対して指定可能な印刷条件をクライアント装置2a,2bに送信すると共に、次の印刷ジョブを実行する。
【0024】
クライアント装置2a,2bのユーザは、サーバ装置1から受信したデータに基づいて、適正な印刷条件を指定し、その適正な印刷条件をサーバ装置1に返信させる。
【0025】
サーバ装置1は、新たに指定された印刷条件が指定に係る印刷装置3a,3bに適合することを確認し、その印刷条件に基づいて当該印刷ジョブを訂正すると共に実行保留を解除し、現在実行中の印刷ジョブが完了するのを待って、訂正に係る印刷ジョブを優先的に実行する。
【0026】
なお、本実施形態では、サーバ装置1は、各クライアント装置2から受信した印刷ジョブを、指定に係る印刷装置3a,3bに対応する待ち行列に登録し、印刷装置3毎の待ち行列は、各々独立したスレッドに分けて実行処理されるものとする。また、印刷処理が行なわれている間も、受信した印刷ジョブを待ち行列に追加登録していくものとする。
【0027】
次に、サーバ装置1により印刷制御処理を、図6、図7のフローチャートに基づいて詳細に説明する。なお、図6、図7のフローチャートは、印刷装置3a,3b毎に分けられた1つのスレッドに係る処理を示している。
【0028】
サーバ装置1は、まず、待ち行列から先頭の印刷ジョブを取得する。(ステップS1)。次に、取得した印刷ジョブの状態が「保留」であるか否かを判別する。(ステップS2)。その結果、「保留」状態であれば、待ち行列から次の印刷ジョブを取得して(ステップS14)、ステップS2に戻る。
【0029】
一方、「保留」状態でなければ、取得した印刷ジョブから印刷条件を取り出すと共に(ステップS3)、当該印刷ジョブで指定されている印刷装置3a,3bに対して指定可能な印刷条件を内部メモリ22から取得する(ステップS4)。
【0030】
なお、本実施形態では、印刷条件を予め内部メモリ22、すなわちサーバ装置1内のメモリ資源に格納しておくことにより処理の迅速化を図っているが、印刷条件を予めサーバ装置1内のメモリ資源に格納しておくことなく、その都度、SNMP(Simple Network Management Protocol)などの通信プロトコルなどによって、印刷装置3a,3bから取得することも可能である。
【0031】
次に、印刷ジョブから取り出した印刷条件と指定可能な印刷条件とを比較し、全ての印刷条件が適正であるか否かを判別する(ステップS5)。その結果、全ての印刷条件が適正であれば、当該印刷ジョブを実行させた後、当該印刷ジョブを待ち行列から削除して(ステップS6,S7)、後述のステップS13に進む。
【0032】
一方、不適正な印刷条件が1つでも有れば、別スレッドを生成し、当該印刷ジョブの状態を「保留」に変更すると共に(ステップS8)、別スレッドを生成し、待ち行列から次の印刷ジョブを取得して(ステップS14)、ステップS2に戻る。
【0033】
なお、ステップS8では、印刷ジョブの状態を「保留」に変更するだけで、待ち行列での順位(先頭)は変更していない。
【0034】
このように、ステップS8において、待ち行列での順位(先頭)を変更することなく、当該印刷ジョブの状態を「保留」に変更した後は、当該印刷ジョブの送信元のクライアント装置2a,2bに対して、不適正な印刷条件のカテゴリと、当該印刷ジョブで指定されている印刷装置3a,3bに対して当該カテゴリ内で指定可能な印刷条件とを通知する(ステップS9)。
【0035】
この通知を受信したクライアント装置2a,2bは、受信した内容を解析し、図8に示すようなUI(User Interface)画面を表示する。ユーザは、このUI画面上で所望の印刷条件を指定し直して「送信」ボタンを押すことにより、適正な印刷条件をサーバ装置1に送信する。
【0036】
そこで、サーバ装置1は、クライアント装置2a,2bから適正な印刷条件を受信すると(ステップS10)、当該印刷ジョブの状態を「保留」から「処理可能」に戻すと共に、受信した適正な印刷条件に基づいて当該印刷ジョブの印刷条件を訂正する(ステップS11)。
【0037】
次に、現在実行中の印刷ジョブが有るか否かを判別する(ステップS12)。その結果、現在実行中の印刷ジョブが有れば、ステップS12に戻ることにより、その印刷ジョブが完了するのを待つ。
【0038】
一方、現在実行中の印刷ジョブが無ければ、待ち行列に印刷ジョブが残っているか否かを判別し(ステップS13)、印刷ジョブが残っていなければ、本処理を終了する。印刷ジョブが残っていれば、ステップS1に戻ることにより、残りの印刷ジョブに関して同様の処理を行う。
【0039】
この場合、印刷条件が不適正な印刷ジョブについては、訂正された適正な印刷条件が返信されてきたことにより、「保留」状態が解除され、印刷条件が訂正された状態で待ち行列の先頭に位置している。従って、上記のようにステップS1に戻った場合、印刷条件が不適正であった印刷ジョブが優先的に実行されることとなる。換言すれば、印刷条件が不適正であった場合でも、ユーザの意図に基づいた印刷条件での印刷出力を迅速に得ることができる。
【0040】
なお、本発明は、上記の実施形態に限定されるものではない。例えば、印刷条件と印刷装置が適合しない場合、実施形態のように印刷条件を訂正することなく、印刷装置を訂正することも可能である。
【0041】
このように印刷装置を訂正した場合、印刷装置毎の待ち行列において、元の印刷装置に係る待ち行列中の印刷ジョブは削除し、訂正後の印刷装置に係る待ち行列に当該印刷ジョブを登録し直すことになるが、当該印刷ジョブを優先的に実行するための手法としては、次のような手法が考えられる。
【0042】
すなわち、各印刷ジョブを受信順に待ち行列に登録する際に、その登録時刻(或いは受信時刻)を付加しておき、訂正後の印刷装置に係る待ち行列に当該印刷ジョブを登録し直す際には元の登録時刻を付与し、当該待ち行列中の印刷ジョブを登録時刻順に配列し直すことが考えられる。
【0043】
また、印刷装置毎に待ち行列を作成することなく、各印刷装置を渾然一体とした1つの待ち行列だけを作成することも可能である。
【0044】
さらに、本発明の目的は、上記実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。
【0045】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0046】
また、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。本発明を上記記憶媒体に適用する場合、その記憶媒体には、先に説明した図5、図6に対応するプログラムコードが格納されることになる。
【0047】
以下、本発明の要点を総括する。
【0048】
[実施形態1] ネットワークを介してクライアント装置から受信した印刷ジョブを管理して印刷装置により実行させる印刷制御装置であって、
印刷ジョブを実行する際に該印刷ジョブにおける印刷条件が適正である否かを判別する判別手段と、
前記判別手段により印刷条件が適正でないと判別された場合に、当該印刷ジョブを送信したクライアント装置に対して印刷条件の訂正を要求する要求手段と、
前記要求手段による訂正要求に応答して適正な印刷条件が返信されてきた場合に、前記印刷ジョブを返信に係る適正な印刷条件で優先的に実行させる優先実行手段と、
を有することを特徴とする印刷制御装置。
【0049】
[実施形態2] 前記クライアント装置から受信した印刷ジョブを受信した順に待ち行列に登録する登録手段と、前記待ち行列の先頭から印刷ジョブを取り出す取出手段とを有し、前記判別手段は、前記取出手段により取り出された印刷ジョブについて前記判別を行うことを特徴とする実施形態1に記載の印刷制御装置。
【0050】
[実施形態3] 前記登録手段は、印刷装置毎に用意された待ち行列に対して、各印刷装置に対応する印刷ジョブを登録することを特徴とする実施形態2に記載の印刷制御装置。
【0051】
[実施形態4] 前記優先実行手段は、前記判別手段により印刷条件が適正でないと判別された印刷ジョブを、前記待ち行列での順位を変更することなく実行保留状態に設定する設定手段を有することを特徴とする実施形態1〜3の何れかに記載の印刷制御装置。
【0052】
[実施形態5] 前記優先実行手段は、前記判別手段により印刷条件が適正でないと判別された印刷ジョブの印刷条件を前記要求手段による訂正要求に応答して返信されてきた適正な印刷条件に訂正し、前記設定手段により設定された実行保留状態を解除する解除手段を有することを特徴とする実施形態1〜4の何れかに記載の印刷制御装置。
【0053】
[実施形態6] 前記設定手段により前記印刷ジョブの実行保留状態が設定された場合に、当該印刷ジョブの次の印刷ジョブを前記判別手段による判別対象として指定する指定手段を有することを特徴とする実施形態4又は5に記載の印刷制御装置。
【0054】
[実施形態7] 前記優先実行手段は、前記要求手段による訂正要求に応答して適正な印刷条件が返信されてきた場合に、現在実行中の印刷ジョブが終了するのを待って、前記判別手段により適正でないと判別された印刷ジョブを、前記返信に係る適正な印刷条件で実行させることを特徴とする実施形態1〜6の何れかに記載の印刷制御装置。
【0055】
[実施形態8] 前記判別手段は、各印刷装置で指定可能な印刷条件を予め記憶した記憶手段を参照することにより、前記印刷ジョブにおける印刷条件が適正である否かを判別することを特徴とする実施形態1〜7の何れかに記載の印刷制御装置。
【0056】
[実施形態9] ネットワークを介してクライアント装置から受信した印刷ジョブを待ち行列に登録して印刷装置により実行させる印刷制御方法であって、
前記待ち行列の先頭から順に印刷ジョブを実行するに当たり、印刷条件が不適正な印刷ジョブについては、前記待ち行列での順位を変更することなく保留状態にして、前記クライアント装置に印刷条件の訂正を要求し、訂正された適正な印刷条件が返信されて来るまでの間は、次の印刷ジョブを実行し、訂正された適正な印刷条件が返信されてきた場合は、印刷ジョブ中の不適正な印刷条件を返信に係る適正な印刷条件に訂正すると共に保留状態を解除し、実行中の印刷ジョブが完了するのを待って、訂正に係る印刷ジョブを実行させることを特徴とする印刷制御方法。
【0057】
[実施形態10] ネットワークを介してクライアント装置から受信した印刷ジョブを待ち行列に登録して印刷装置により実行させるための制御プログラムであって、
前記待ち行列の先頭から順に印刷ジョブを実行するに当たり、印刷条件が不適正な印刷ジョブについては、前記待ち行列での順位を変更することなく保留状態にして、前記クライアント装置に印刷条件の訂正を要求し、訂正された適正な印刷条件が返信されて来るまでの間は、次の印刷ジョブを実行し、訂正された適正な印刷条件が返信されてきた場合は、印刷ジョブ中の不適正な印刷条件を返信に係る適正な印刷条件に訂正すると共に保留状態を解除し、実行中の印刷ジョブが完了するのを待って、訂正に係る印刷ジョブを実行させる内容を有することを特徴とする制御プログラム。
【0058】
【発明の効果】
以上説明したように、本発明によれば、印刷条件が不適正であった場合でも、ユーザの意図に基づいた印刷条件での印刷出力を迅速に得られるようにした印刷制御装置を提供することが可能となる。
【図面の簡単な説明】
【図1】本発明を適用した印刷システムのシステム構成図である。
【図2】サーバ装置とクライアント装置のハードウェアの主要部を示すブロック図である。
【図3】サーバ装置とクライアント装置の制御プログラム、関連データの構成を示す図である。
【図4】サーバ装置とクライアント装置における実行可能状態での記憶領域の構成例を示す図である。
【図5】本発明の要点を示すシーケンス図である。
【図6】サーバ装置による印刷制御処理を示すフローチャートである。
【図7】サーバ装置による印刷制御処理を示すフローチャートである。
【図8】印刷条件を訂正するためのUI画面例を示す図である。
【符号の説明】
1:サーバ装置
2a,2b:クライアント装置
3a,3b:印刷装置
21:CPU
22:内部メモリ(ROM、RAM)
23:外部メモリ(ハードディスク、フロッピー(登録商標)ディスク)
24:入力装置
25:表示装置
26:外部入出力インターフェイス
N:ネットワーク
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a print control apparatus that manages a print job received from a client apparatus via a network and executes the print job by a printing apparatus (including an image forming apparatus such as a copying machine and a multifunction peripheral having both a copying function and a printing function). In particular, the present invention relates to a technique for processing a print job including inappropriate printing conditions.
[0002]
[Prior art]
Conventionally, in a print control apparatus of this type, a print job received from each client apparatus is temporarily registered in a queue according to the order of reception and the like, and is supplied to the printing apparatus specified by the print print job in the registration order. Was.
[0003]
In this print job, in addition to the data to be printed, a printing device for performing printing, a printing paper feeding port, and printing conditions such as double-sided printing are specified. For example, double-sided printing is specified. However, the designated printing conditions may be inappropriate, such as the designated printing device does not have a duplex printing function.
[0004]
Such a print job has been discarded as an error, or has been forcibly executed by ignoring an incorrect specification and using only print conditions within a range suitable for the printing apparatus. When a print job with improper print conditions is discarded, it is necessary to reissue a print job that specifies print conditions properly. Also, if the print job is forcibly executed using only print conditions within a range compatible with the printing apparatus, the print job that properly specifies the print conditions that reflect the user's intention is not reflected at all. In some cases it had to be reissued.
[0005]
There has also been proposed a method of notifying a client device that printing conditions are inappropriate, and obtaining an appropriate printing condition (see Patent Document 1). In this method, the client confirms the notification from the server device and reissues a print job specifying appropriate printing conditions.
[0006]
[Patent Document 1]
JP 9-179704 A
[Problems to be solved by the invention]
However, the reissued print job is added to the end of the queue as a new print job in the server device. That is, a print job that is to be registered and executed before another print job is executed last due to insufficient printing conditions.
[0008]
Particularly, in an office environment in which a single printing device is shared by a plurality of client devices, a large number of print jobs are often concentrated in a certain time period, and the printing is not completed due to slight inadequate printing conditions. The possibility of waiting for a long time increases.
[0009]
The present invention has been made in view of such a problem, and an object of the present invention is to provide a method for quickly obtaining a print output under a print condition based on a user's intention even when the print condition is inappropriate. It is another object of the present invention to provide a print control device.
[0010]
[Means for Solving the Problems]
In order to solve the above-described problems, the present invention is a print control apparatus that manages a print job received from a client device via a network and causes the print apparatus to execute the print job. Determining means for determining whether the printing conditions are appropriate; and a request for correcting the printing conditions to the client device that transmitted the print job when the determining means determines that the printing conditions are not appropriate. Means and priority execution means for, when an appropriate printing condition is returned in response to the correction request by the requesting means, executing the print job preferentially with the appropriate printing condition according to the reply. I have.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0012]
FIG. 1 is a system configuration diagram of a printing system to which the present invention is applied.
[0013]
As shown in FIG. 1, a single server device 1, a plurality of client devices 2a and 2b, and a plurality of printing devices 3a and 3b are communicably connected to the network N. However, the printing device does not necessarily need to be connected to the network N, and may be directly locally connected to the server device 1 and the client devices 2a and 2b. Further, the number of server devices, client devices, and printing devices installed is also arbitrary.
[0014]
As the printing devices 3ab3b, not only printers as dedicated printing machines but also image forming apparatuses such as copiers, multifunction machines having both copying and printing functions, and facsimile machines are provided.
[0015]
The main parts of the hardware of the server device 1 and the client devices 2a and 2b are the same, and are configured as shown in FIG.
[0016]
That is, the server device 1 and each client device 2 include a CPU 21, an internal memory 22 such as a RAM and a ROM, an external memory 23 such as a floppy (registered trademark) disk and a hard disk, an input device 24 such as a keyboard and a mouse, and a liquid crystal display. The display device 25 has an external input / output interface 26 for connecting to a network N or the like. These components are connected to a bus 27.
[0017]
The present invention is realized by the CPU 21 executing a basic I / O program, an OS, and a control program for performing control unique to the present invention. The basic I / O program is stored in an internal memory (ROM) 22, and the OS is stored in an external memory 23. When the power of the apparatus is turned on, the OS is loaded from the external memory 23 to the internal memory (RAM) 22 and expanded by the IPL (initial program loading) function in the basic I / O program. .
[0018]
A control program for performing control specific to the present invention and related data are stored in an external memory (floppy (registered trademark) disk) 23, and are controlled by an internal memory (a floppy disk) under the control of a basic I / O program and an OS. This is executed after being loaded into the (RAM) 22 and expanded. As shown in FIG. 3, the control program and the related data are composed of volume information, directory information, a control program execution file, and a control program related data file.
[0019]
The control program executed by the server device 1 includes a printer driver corresponding to each of the printing apparatuses 3a and 3b, in addition to a control program corresponding to flowcharts shown in FIGS. The control program-related data file loaded into the server device 1 includes identification information of each of the printing devices 3a and 3b, various functions (double-sided printing function, color printing function, punch hole opening function in post-processing, etc.), specifications, and the like. The information to be designated (set) as a print condition in a print job, such as (type of paper feed port such as manual feed, upper row, lower row, etc.) is also stored.
[0020]
FIG. 4 shows a memory map in a state where the control program and the like are loaded into the RAM and are executable. In the present embodiment, the control program and related data are directly loaded from the floppy (registered trademark) disk into the RAM and executed. However, the control program and related data are stored in the hard disk in advance from the floppy (registered trademark) disk. Alternatively, when the control program is executed, the program may be loaded from the hard disk to the RAM.
[0021]
The medium on which the control program is recorded in advance may be a CD-ROM, an IC memory card, or the like in addition to the FD. Further, the program may be recorded in a read-only ROM 22, and may be configured to form a part of a memory map, so that the CPU 21 can directly access the program.
[0022]
Next, the gist of the present invention will be described with reference to FIG.
[0023]
When executing the print job registered in the queue, the server device 1 checks the print conditions specified in the print job, and if an incorrect print condition is specified, executes the print job. The print job is temporarily suspended, and a request is made to the client devices 2a and 2b that issued the print job to correct the print conditions. At this time, the server device 1 points out the improper print conditions, transmits print conditions that can be specified for the print device specified in the print job to the client devices 2a and 2b, and sets the next print job. Execute
[0024]
The user of each of the client devices 2a and 2b specifies an appropriate printing condition based on the data received from the server device 1, and causes the server device 1 to return the appropriate printing condition.
[0025]
The server device 1 confirms that the newly specified printing conditions match the printing devices 3a and 3b according to the specification, corrects the print job based on the printing conditions, cancels the execution hold, and executes the current execution. After the current print job is completed, the print job related to the correction is preferentially executed.
[0026]
In the present embodiment, the server device 1 registers the print job received from each client device 2 in a queue corresponding to the designated printing devices 3a and 3b, and the queue for each printing device 3 is It is assumed that the process is executed separately in an independent thread. Also, while the printing process is being performed, the received print job is additionally registered in the queue.
[0027]
Next, the print control processing by the server device 1 will be described in detail based on the flowcharts of FIGS. Note that the flowcharts of FIG. 6 and FIG. 7 show processing related to one thread divided for each of the printing devices 3a and 3b.
[0028]
The server device 1 first obtains the first print job from the queue. (Step S1). Next, it is determined whether or not the status of the acquired print job is “pending”. (Step S2). As a result, if the status is “hold”, the next print job is acquired from the queue (step S14), and the process returns to step S2.
[0029]
On the other hand, if the print job is not in the "hold" state, the print conditions are extracted from the acquired print job (step S3), and the print conditions that can be specified for the printing apparatuses 3a and 3b specified in the print job are stored in the internal memory 22. (Step S4).
[0030]
In the present embodiment, the processing is speeded up by storing the printing conditions in advance in the internal memory 22, that is, the memory resources in the server device 1. However, the printing conditions are stored in advance in the memory in the server device 1. Instead of storing them in resources, they can be acquired from the printing apparatuses 3a and 3b by a communication protocol such as SNMP (Simple Network Management Protocol) each time.
[0031]
Next, the print conditions extracted from the print job are compared with the print conditions that can be specified, and it is determined whether all the print conditions are appropriate (step S5). As a result, if all the printing conditions are appropriate, the print job is executed, the print job is deleted from the queue (steps S6 and S7), and the process proceeds to step S13 described later.
[0032]
On the other hand, if there is at least one improper printing condition, another thread is generated, the state of the print job is changed to “hold” (step S8), another thread is generated, and the next thread is generated from the queue. A print job is acquired (step S14), and the process returns to step S2.
[0033]
In step S8, only the status of the print job is changed to "pending", and the order (head) in the queue is not changed.
[0034]
As described above, in step S8, after changing the status of the print job to “hold” without changing the order (head) in the queue, the print job is transmitted to the client apparatuses 2a and 2b that have transmitted the print job. On the other hand, the category of the improper printing condition and the printing conditions that can be specified in the category are notified to the printing apparatuses 3a and 3b specified in the printing job (step S9).
[0035]
The client devices 2a and 2b that have received this notification analyze the received content and display a UI (User Interface) screen as shown in FIG. The user transmits the appropriate printing conditions to the server device 1 by re-designating the desired printing conditions on this UI screen and pressing the “Send” button.
[0036]
Therefore, when the server apparatus 1 receives the appropriate printing conditions from the client apparatuses 2a and 2b (step S10), the server changes the status of the print job from “hold” to “processable” and sets the received appropriate printing conditions to The printing condition of the print job is corrected based on the printing job (step S11).
[0037]
Next, it is determined whether or not there is a print job currently being executed (step S12). As a result, if there is a print job currently being executed, the process returns to step S12 to wait for the completion of the print job.
[0038]
On the other hand, if there is no print job currently being executed, it is determined whether or not a print job remains in the queue (step S13). If no print job remains, the process is terminated. If there are any remaining print jobs, the process returns to step S1 to perform the same processing for the remaining print jobs.
[0039]
In this case, for a print job with improper print conditions, the “correction” print condition is returned and the “hold” state is released, and the print condition is corrected and the print job is returned to the head of the queue. positioned. Therefore, when the process returns to step S1 as described above, the print job for which the print condition is inappropriate is preferentially executed. In other words, even if the printing conditions are inappropriate, it is possible to quickly obtain a print output under the printing conditions based on the intention of the user.
[0040]
Note that the present invention is not limited to the above embodiment. For example, when the printing condition and the printing device do not match, the printing device can be corrected without correcting the printing condition as in the embodiment.
[0041]
When the printing device is corrected in this way, in the queue for each printing device, the print job in the queue related to the original printing device is deleted, and the print job is registered in the queue related to the corrected printing device. As will be described later, the following method can be considered as a method for executing the print job preferentially.
[0042]
That is, when registering each print job in the queue in the order of reception, the registration time (or reception time) is added, and when registering the print job again in the queue related to the corrected printing apparatus, It is conceivable to assign the original registration time and rearrange the print jobs in the queue in the order of the registration time.
[0043]
Also, it is possible to create only one queue in which all the printing devices are integrated, without creating a queue for each printing device.
[0044]
Further, an object of the present invention is to supply a storage medium (or a recording medium) storing a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (or a CPU or an MPU) of the system or the apparatus. Needless to say, the above can also be achieved by reading and executing the program code stored in the storage medium.
[0045]
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0046]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion card 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 CPU or the like provided in the card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments. When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to FIGS. 5 and 6 described above.
[0047]
Hereinafter, the gist of the present invention will be summarized.
[0048]
First Embodiment A print control apparatus that manages a print job received from a client apparatus via a network and causes the print apparatus to execute the print job,
A determination unit configured to determine whether a printing condition in the print job is appropriate when executing the print job;
Requesting means for requesting the client device that transmitted the print job to correct the printing conditions when the determining unit determines that the printing conditions are not appropriate;
Priority execution means for executing the print job preferentially with appropriate print conditions according to the reply, when appropriate print conditions are returned in response to the correction request by the request means;
A print control device comprising:
[0049]
[Embodiment 2] A registration unit for registering print jobs received from the client device in a queue in the order in which they are received, and a removal unit for removing a print job from the head of the queue, the determination unit includes: The print control apparatus according to the first embodiment, wherein the determination is performed on a print job extracted by a unit.
[0050]
Third Embodiment The print control device according to the second embodiment, wherein the registration unit registers a print job corresponding to each printing device in a queue prepared for each printing device.
[0051]
[Embodiment 4] The priority execution unit includes a setting unit that sets a print job, for which a printing condition determined to be inappropriate by the determination unit is not appropriate, in an execution pending state without changing the order in the queue. The print control device according to any one of Embodiments 1 to 3, wherein
[0052]
[Embodiment 5] The priority executing unit corrects the printing condition of the print job for which the printing condition is determined to be inappropriate by the determining unit to an appropriate printing condition returned in response to the correction request by the requesting unit. The print control apparatus according to any one of the first to fourth embodiments, further comprising a release unit configured to release the execution suspension state set by the setting unit.
[0053]
[Embodiment 6] When an execution hold state of the print job is set by the setting unit, a designation unit that designates a print job next to the print job as a determination target by the determination unit is provided. The print control device according to the fourth or fifth embodiment.
[0054]
[Embodiment 7] When an appropriate printing condition is returned in response to a correction request from the requesting unit, the priority executing unit waits until a print job currently being executed is completed, and then executes the determining unit. The print control apparatus according to any one of the first to sixth embodiments, wherein a print job determined to be inappropriate by the above is executed under appropriate print conditions related to the reply.
[0055]
[Eighth Embodiment] The determination unit determines whether the printing conditions in the print job are appropriate by referring to a storage unit that stores printing conditions that can be specified by each printing apparatus in advance. The print control device according to any one of Embodiments 1 to 7.
[0056]
[Embodiment 9] A print control method in which a print job received from a client device via a network is registered in a queue and executed by the printer.
When executing a print job in order from the top of the queue, for print jobs with improper print conditions, the print job is put on hold without changing the order in the queue, and the client device corrects the print conditions. Until the requested and corrected correct printing conditions are returned, execute the next print job.If the corrected and correct printing conditions are returned, A print control method comprising: correcting a print condition to an appropriate print condition relating to a reply; releasing a hold state; and waiting for completion of a print job being executed, and executing the print job relating to the correction.
[0057]
[Embodiment 10] A control program for registering a print job received from a client device via a network in a queue and causing the print device to execute the print job,
When executing a print job in order from the top of the queue, for print jobs with improper print conditions, the print job is put on hold without changing the order in the queue, and the client device corrects the print conditions. Until the requested and corrected correct printing conditions are returned, execute the next print job.If the corrected and correct printing conditions are returned, A control characterized in that the print condition is corrected to an appropriate print condition related to the reply, the hold state is released, and the print job related to the correction is executed after the print job being executed is completed. program.
[0058]
【The invention's effect】
As described above, according to the present invention, it is possible to provide a print control device capable of promptly obtaining a print output under a print condition based on a user's intention even when the print condition is inappropriate. Becomes possible.
[Brief description of the drawings]
FIG. 1 is a system configuration diagram of a printing system to which the present invention is applied.
FIG. 2 is a block diagram illustrating main parts of hardware of a server device and a client device.
FIG. 3 is a diagram showing a configuration of a control program of a server device and a client device, and related data.
FIG. 4 is a diagram illustrating a configuration example of a storage area in an executable state in a server device and a client device.
FIG. 5 is a sequence diagram showing the gist of the present invention.
FIG. 6 is a flowchart illustrating a print control process performed by a server device.
FIG. 7 is a flowchart illustrating a print control process performed by a server device.
FIG. 8 is a diagram illustrating an example of a UI screen for correcting a printing condition.
[Explanation of symbols]
1: server devices 2a, 2b: client devices 3a, 3b: printing device 21: CPU
22: Internal memory (ROM, RAM)
23: External memory (hard disk, floppy (registered trademark) disk)
24: input device 25: display device 26: external input / output interface N: network

Claims (1)

ネットワークを介してクライアント装置から受信した印刷ジョブを管理して印刷装置により実行させる印刷制御装置であって、
印刷ジョブを実行する際に該印刷ジョブにおける印刷条件が適正である否かを判別する判別手段と、
前記判別手段により印刷条件が適正でないと判別された場合に、当該印刷ジョブを送信したクライアント装置に対して印刷条件の訂正を要求する要求手段と、
前記要求手段による訂正要求に応答して適正な印刷条件が返信されてきた場合に、前記印刷ジョブを返信に係る適正な印刷条件で優先的に実行させる優先実行手段と、
を有することを特徴とする印刷制御装置。
A print control device that manages a print job received from a client device via a network and causes the print device to execute the print job,
A determination unit configured to determine whether a printing condition in the print job is appropriate when executing the print job;
Requesting means for requesting the client device that transmitted the print job to correct the printing conditions when the determining unit determines that the printing conditions are not appropriate;
Priority execution means for executing the print job preferentially with appropriate print conditions according to the reply, when appropriate print conditions are returned in response to the correction request by the request means;
A print control device comprising:
JP2003078437A 2003-03-20 2003-03-20 Print control unit Pending JP2004287792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003078437A JP2004287792A (en) 2003-03-20 2003-03-20 Print control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003078437A JP2004287792A (en) 2003-03-20 2003-03-20 Print control unit

Publications (1)

Publication Number Publication Date
JP2004287792A true JP2004287792A (en) 2004-10-14

Family

ID=33292922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003078437A Pending JP2004287792A (en) 2003-03-20 2003-03-20 Print control unit

Country Status (1)

Country Link
JP (1) JP2004287792A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006110860A (en) * 2004-10-14 2006-04-27 Konica Minolta Business Technologies Inc Job execution device and job execution method
US20090262391A1 (en) * 2008-04-22 2009-10-22 Oki Data Corporation Image processing apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006110860A (en) * 2004-10-14 2006-04-27 Konica Minolta Business Technologies Inc Job execution device and job execution method
US7958278B2 (en) 2004-10-14 2011-06-07 Konica Minolta Business Technologies, Inc. Image forming apparatus, job execution apparatus, and job execution method
US20090262391A1 (en) * 2008-04-22 2009-10-22 Oki Data Corporation Image processing apparatus
JP2009267461A (en) * 2008-04-22 2009-11-12 Oki Data Corp Image processing apparatus

Similar Documents

Publication Publication Date Title
JP7355147B2 (en) application program
JP4938712B2 (en) Print scheduling system and method
JP6927276B2 (en) Information processing system, information processing device, information processing method and program
JP2004326603A (en) Print control system and device, function providing device, method for displaying print function, computer program, and computer readable recording medium
US8749826B2 (en) Information processing apparatus, control method and recording medium
US8605316B2 (en) Information processing apparatus and control method thereof, and storage medium
US20220027098A1 (en) Image forming apparatus, method for controlling the same, and storage medium
JP5361358B2 (en) Information processing apparatus, control method therefor, and program
US11842100B2 (en) Server system, information processing apparatus communicating with server system, control method, and computer-readable storage medium
JP5378554B2 (en) Network event notification system
JP2005288879A (en) Print management system, print management device and program for use therein
JP2021096869A (en) Information processing device, program, and method
JP2008036999A (en) Image forming apparatus and system
JP2004017470A (en) Imaging system, and imaging control method
EP2693329A1 (en) Image forming system sharing resources such as fonts
US9025190B2 (en) Box print realized by image forming apparatus having no auxiliary storage device
JP2008265135A (en) Print system and printer
US6873425B1 (en) Delayed printing of print jobs requiring special resources
JP2004287792A (en) Print control unit
US9179018B2 (en) Scanner-driven push operation realized by image forming apparatus having no auxiliary storage device
JP2005038011A (en) Network system and its control method
JP2021043547A (en) Information processing device and control method for information processing device, and program
EP2750023A1 (en) Box print realized by image forming apparatus having no auxiliary storage device
JP5173354B2 (en) Printing system and printing program
JP4498460B2 (en) Network device and control method thereof