JP3810238B2 - Print job management apparatus, print job management method, and recording medium recording program - Google Patents
Print job management apparatus, print job management method, and recording medium recording program Download PDFInfo
- Publication number
- JP3810238B2 JP3810238B2 JP34393399A JP34393399A JP3810238B2 JP 3810238 B2 JP3810238 B2 JP 3810238B2 JP 34393399 A JP34393399 A JP 34393399A JP 34393399 A JP34393399 A JP 34393399A JP 3810238 B2 JP3810238 B2 JP 3810238B2
- Authority
- JP
- Japan
- Prior art keywords
- print job
- data
- job management
- predetermined
- printer
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、プリントジョブデータを管理するための技術に関する。特に、本発明は、アプリケーションプログラムとネットワークインターフェースとの間に介在する、プリンタドライバおよびネットワークプリントプロバイダの改良に関する。
【0002】
【従来技術】
ホスト装置がプリンタを利用するためには、典型的には、ホスト装置はプリンタドライバ(プリンタ制御用プログラム)を必要とする。プリンタドライバは、アプリケーションプログラムからアプリケーションデータを受け取ると、そのプリンタ固有のプリントジョブデータ(プリントコマンド)に変換して、そのプリンタに対して出力する。プリンタは、このプリントジョブデータを受け取ると、これをスプールした後に、解釈してビットマップデータを生成し、印刷用紙に対するプリントを実現する。
【0003】
また、イーサネット(Ethernet)などにより構築されたLANに接続され、複数のホスト装置に共用されるネットワーク対応型のプリンタが知られている。ホスト装置は、所定のネットワークプロトコルに従ってプリンタとの間でネットワーク通信を行い、プリンタドライバから出力されるプリントジョブデータをプリンタに送り込む。ホスト装置がプリンタにプリントジョブデータを送り込むためのネットワークプロトコルには、例えば、TCP/IP上で実装されるLPRプロトコルなどがある。
【0004】
【発明が解決しようとする課題】
ところで、ホスト装置がプリンタに送り込んだプリントジョブデータの印刷状況を取得し、またはそのプリントジョブデータによる印刷を中止するなど、そのプリントジョブデータを管理できるようにすることが要求される。
【0005】
しかしながら、プリンタドライバにおいて、印刷しようとしているアプリケーションデータに関する情報をプリントジョブデータ中に記述した場合には、そのプリントジョブデータをプリンタが解釈しなければ、その情報を取得することはできなかった。したがって、ホスト装置は、プリンタ内にスプール中のプリントジョブデータや処理待ちのプリントジョブデータを管理することができないといった不都合があった。
【0006】
従って、このような不都合を避けるため、ネットワークのプロトコルを拡張し、プリントジョブ情報を投入する方式が提案されている。この場合、プリントデータを一旦プリンタドライバでファイルに変換し、ユーザがネットアプリケーション(例えばLPRなど)を使用して投入する必要がある。このため、このような処理を自動化するための各種プリントシステムが提供されている。しかしながら、既存のプラットホームを変更し、ホスト装置がプリンタに送り込んだプリントジョブデータを管理することができる新たなプリントシステムを提供することは、コスト的に高くなり、現実的ではない。
【0007】
そこで、本発明は、既存のプラットホームを大幅に変更することなく、プリントジョブデータをよりプリミティブなレベルで管理することができるシステムを提供することを目的とする。
【0008】
【課題を解決するための手段】
上記課題を解決するための発明は、以下のように特定される。
【0009】
すなわち、本発明は、印刷対象であるアプリケーションデータに基づいて、プリンタコマンドのコメント書式として記述された所定のジョブ管理情報を含むプリントジョブデータを生成するプリントジョブデータ生成手段と、前記プリントジョブデータ生成手段から前記プリントジョブデータを受け付ける受付手段と、ネットワーク通信に先立ち、前記受付手段により受け付けたプリントジョブデータから前記所定のジョブ管理情報を抽出する抽出手段と、前記抽出手段により抽出した前記所定のジョブ管理情報に対応するコントロールファイルを所定のデータフォーマットに従って作成し、前記プリントジョブデータを、前記作成したコントロールファイルをヘッダに含む上位層ネットワークプロトコルデータに変換する変換手段と、前記変換手段により変換した上位層ネットワークプロトコルデータに基づいて、指定されたプリンタとの間でネットワーク通信を行う通信手段と、を備えたことを特徴とするプリントジョブ管理装置である。
【0010】
前記プリントジョブ管理装置は、所定のジョブ管理情報に従って、前記プリンタに送られたプリントジョブデータに対するジョブを管理するジョブ管理手段をさらに備え、前記変換手段は、前記抽出したジョブ管理情報を前記ジョブ管理手段に通知することを特徴とする。
【0011】
前記プリントジョブデータ生成手段は、前記指定されたプリンタの識別情報、ユーザの識別情報および前記アプリケーションの識別情報のうち少なくとも1つをジョブ管理情報に含むプリントジョブデータを生成することを特徴とする。
【0012】
さらに、本発明は、ホスト装置に所定の機能を実現させるプログラムを記録した記録媒体であって、前記プログラムは、印刷対象であるアプリケーションデータに基づいて、プリンタコマンドのコメント書式として記述された所定のジョブ管理情報を含むプリントジョブデータを生成する第1の機能と、前記生成した前記プリントジョブデータを受け付ける第2の機能と、ネットワーク通信に先立ち、前記受け付けたプリントジョブデータから前記所定のジョブ管理情報を抽出する第3の機能と、前記抽出した前記所定のジョブ管理情報に対応するコントロールファイルを所定のデータフォーマットに従って作成し、前記プリントジョブデータを、前記作成したコントロールファイルをヘッダに含む上位層ネットワークプロトコルデータに変換する第4の機能と、指定されたプリンタとの間でネットワーク通信が行われるように、前記変換した上位層ネットワークプロトコルデータを、所定のネットワーク環境に出力する第5の機能を備えたことを特徴とするプログラムを記録した記録媒体である。
【0013】
さらに、上記物の発明は、方法の発明としても成立する。すなわち、印刷対象であるアプリケーションデータに基づいて、プリンタコマンドのコメント書式として記述された所定のジョブ管理情報を含むプリントジョブデータを生成する第1のステップと、前記生成した前記プリントジョブデータを受け付ける第2のステップと、ネットワーク通信に先立ち、前記受け付けたプリントジョブデータから前記所定のジョブ管理情報を抽出する第3のステップと、前記抽出した前記所定のジョブ管理情報に対応するコントロールファイルを所定のデータフォーマットに従って作成し、前記プリントジョブデータを、前記作成したコントロールファイルをヘッダに含む上位層ネットワークプロトコルデータに変換する第4のステップと、前記変換した上位層ネットワークプロトコルデータに基づいて、指定されたプリンタとの間でネットワーク通信を行う第5のステップと、前記抽出したジョブ管理情報に基づいて、前記指定されたプリンタに送られたプリントジョブデータに対するジョブを管理する第6のステップとからなることを特徴とするプリントジョブ管理方法である。
【0019】
なお、、前記記録媒体とは、例えば、ハードディスク(HD)、DVD−RAM、フレキシブルディスク(FD)やCD−ROM等のほかに、RAMやROM等のメモリを含む。また、前記ホスト装置とは、いわゆるパーソナルコンピュータなどの汎用コンピュータや、CPUやMPUといったいわゆる中央処理装置がプログラムを解釈することで所定の処理を行う、いわゆるマイクロコンピュータ等を備えた制御装置も含む。
【0020】
また、前記プログラムは、オペレーティングシステムなどの基本プログラムによって実現される機能を呼び出す機能を含んでいても良い。
【0021】
【発明の実施の形態】
次に、本発明の実施の形態について、図面を参照しつつ説明する。
【0022】
図1は、本実施形態に係るプリントシステムの概要を説明するための図である。同図に示すように、ホスト装置1とプリンタ2とはネットワークNを介して接続され、プリントシステムを構成している。なお、同図ではネットワークNに接続された複数のホスト装置1およびプリンタ2のうち、代表する1台をそれぞれ示している。
【0023】
アプリケーションプログラム11は、例えば、文書を作成するためのワードプロセッサなどである。今、ユーザインタフェース12から印刷指示が与えられると、アプリケーションプログラム11は、印刷対象であるそのアプリケーションデータをプリンタドライバ13に引き渡す。プリンタドライバ13は、このアプリケーションデータをプリンタ2で解釈するためのプリントジョブデータに変換し、ネットワークプロトコル管理部14に出力する。この場合において、プリンタドライバ13は、本来の印刷のためにプリンタが解釈するためのプリントコマンドに加え、プリントジョブデータを管理するための情報(ジョブ管理情報)を出力データ中に埋め込む。ネットワークプロトコル管理部14は、プリンタドライバ13から送られたプリントジョブデータを物理的/論理的に変換し、ネットワークインタフェース15に出力する。つまり、ネットワークプロトコル管理部14は、ネットワーク階層モデルでいうところの上位層プロトコルに位置付けられる通信サービスを実現するものである。本実施形態におけるネットワークプロトコル管理部14は、さらに、プリンタドライバ13によって埋め込まれたジョブ管理情報を抽出して、この抽出したジョブ管理情報をヘッダに持つデータをネットワークインタフェース15に出力する。ネットワークインタフェース15は、ネットワーク階層モデルでいうところの下位層プロトコルに位置付けられる通信サービスを実現する。ネットワークインタフェース15は、ネットワークNを介してプリンタ2のネットワークインタフェース15’にデータを送る。ジョブ管理マネージャ16は、プリンタ2のジョブ管理エージェント16’との間で所定のプロトコルに従って通信を行い、ジョブ管理エージェント16’を管理する。ジョブ管理エージェント16’は、プリンタ2に投入されたプリントジョブデータに対するジョブを管理する実行体である。これにより、ホスト装置1は、プリンタ2内のジョブを管理することができる。
【0024】
コントローラ17は、ネットワークインタフェース15’を介して受け取った下位層プロトコルのデータを解析してもとのプリントジョブデータに変換し、スプールする。コントローラ17は、スプールしたプリントジョブデータを解釈してビットマップデータを生成し、イメージメモリに展開する。コントローラ17は、ホスト装置1から送り込まれたデータを下位層プロトコルから上位層プロトコルに変換する過程において、ネットワークプロトコル管理部14によって埋め込まれたジョブ管理情報を認識する。イメージメモリに展開されたビットマップデータは、印刷実行部18に供給される。印刷実行部18は、供給されるビットマップデータに基づいて印刷用紙に対する印刷を実行する。ジョブ管理エージェント16’は、上述したように、ホスト装置1のジョブ管理マネージャ16から与えられる指示に従い、ジョブを管理する。ジョブの管理とは、例えば、プリントジョブデータに対する処理状態を収集し、またはプリントジョブデータを削除しあるいはプリントジョブデータに対する処理の順序を入れ替えるなどのプリントジョブデータに対する操作があげられる。
【0025】
図2は、本実施形態に係るホスト装置1のハードウェア構成の一例を示す図である。同図において、プロセッサ21は、オペレーティングシステムの管理の下、ROM22やRAM23に記憶された各種プログラムを実行する。つまり、各種プログラムはプロセッサ21によって実行されることにより、他のハードウェアと共働して、図1に示した機能をホスト装置1に実現させる。ユーザインターフェース24は、典型的には、表示装置およびキーボードやマウスなどの入力装置並びにそれらを制御するためのデバイスドライバによって構成される。これにより、ユーザインタフェース24は、ユーザによるインタラクティブな操作を実現する。ファイルシステム25は、例えば、ハードディスク装置やCD−ROM装置およびそれらのデバイスドライバなどによって構成されるいわゆる外部記憶装置であり、各種プログラムやデータを記憶する。ネットワークインタフェース26は、ネットワークNとホスト装置本体とを物理的に接続するためのネットワークボードである。ネットワークインタフェース26は、ホスト装置1内部のデータを物理的/論理的に変換してネットワークNに送出し、また、ネットワークN上を流れる自身宛のデータを抽出して、これを物理的/論理的に変換して内部バスに入力する。
【0026】
図3は、本実施形態に係るプリンタのハードウェア構成の一例を示す図である。同図において、プロセッサ31は、ROM32やRAM33に記憶された各種プログラムを実行する。つまり、各種プログラムがプロセッサ31に実行されることにより、他のハードウェアと共働して、プリンタに所定の機能を実現させる。ファイルシステム34は、ネットワークインタフェース35を介してホスト装置1から送られるプリントジョブデータをスプールする。イメージメモリ36は、プリントジョブデータに基づいて生成されたビットマップデータを記憶する。エンジンコントローラ37は、プリントエンジン38の動作を制御しながら、イメージメモリ36に展開されたビットマップデータを読み出して、プリントエンジン38に供給する。エンジンコントローラ37は、例えば、イメージメモリ36に所定のバンド幅のビットマップデータが展開された時点でコントローラ17から送られる印刷実行命令をトリガとして起動される。プリントエンジン38は、例えば、紙送り機構やプリントヘッドなどによって構成され、紙などの印刷記録媒体に印刷を行うものである。プリントエンジン38は、レーザプリンタやシリアルプリンタといったプリンタの種類に応じたものを用いることができる。
【0027】
図4は、本実施形態に係るホスト装置1の機能構成を示すブロックダイアグラムである。同図は、図1に示したホスト装置1をより詳細に示したものである。アプリケーションプログラム41(図1のアプリケーションプログラム101に相当する。)は、印刷指示が与えられると、印刷対象であるアプリケーションデータに従い、オブジェクトを描画してGDI(Graphics Device Interface)43のAPI(Application Program Interface)をコールする。GDI43は、グラフィック機能を実装しているオペレーティングシステムのコンポーネントである。GDI43は、オブジェクト描画に関するプリントコマンドを取得するために、プリンタドライバ44をコールする。
【0028】
プリンタドライバ44は、プリンタ2に印刷を行わせるためのプリントジョブデータを生成する。すなわち、プリンタドライバ44は、GDI43によるコールに対し、指定されたターゲットプリンタの設定情報をプロパティ情報記憶部42から取得して、印刷設定に関するプリンタコマンドとして出力するとともに、オブジェクト描画に関するプリントコマンドを出力する。プリンタの設定情報とは、例えば、用紙サイズおよび向き、解像度、印刷可能領域などに関する情報である。
【0029】
また、本実施形態におけるプリンタドライバ44は、プリンタドライバが提供するユーザインタフェース機能を介してユーザによって入力されたプリントジョブに関する情報をプリンタコマンドのコメント書式により出力する。ここで、プリントジョブに関する情報とは、例えば、ユーザ名、ドキュメント名、ホスト名および/またはプリントジョブ名などである。ユーザ名やプリントジョブ名などは、典型的には、プリンタドライバに設けられたユーザインタフェース機能を介してユーザによって入力される。また、ドキュメント名やホスト名などは、アプリケーションやオペレーティングシステムの機能を利用することにより取得される。プリントジョブに関する情報は、これらに限られるものではなく、プリントジョブを識別するために有効な情報であればよい。プリンタコマンドのコメント書式とは、プリンタコントローラ内の印刷実行部でプリンタコマンドを解釈する際に無効とされるように、予め決められている形式である。プリントジョブデータとは、ユーザが印刷要求を行ったドキュメント(アプリケーションデータ)を印刷するために必要なプリンタコマンドの集合であり、ここでは、印刷属性を制御するための専用コマンド、例えば、Hewlett-Packard社のPJL(Printer Job Language)もこれに含まれる。印刷属性とは、印刷品質の指定、両面印刷の指定、トナー使用料の指定、排紙トレイの指定、印刷モードの指定、紙サイズの指定、解像度の指定、印刷言語の指定などがある。
【0030】
本実施形態では、プリンタコマンドのコメント書式としてPJLのコメント形式を使用しているが、特にこれに限られるものではない。また、PJLなどによるユーザ名やドキュメント名を設定するコマンドとプリンタコマンドのコメント書式とを併用することも可能である。
【0031】
図5は、プリントジョブデータの一例を示す図である。同図において、左端の行番号は、説明の都合上、便宜的に付与されたものであり、また“[xx]”は制御コードを示している。同図に示すように、プリンタドライバ44は、印刷属性に関するプリントコマンド(行番号5〜12)に加え、プリンタにとって無効なプリンタコマンドとして定義されたコメントデータに関するプリントコマンド(行番号2〜4)を出力する。なお、同図では、コメントデータとして、プリンタ名、ドキュメント名およびユーザ名が記述されている。また、行番号13〜14は、Hewlett-Packard社のPCL言語による簡単な印刷例("Hellow World!")である。
【0032】
プリンタドライバ44からGDI43を介して出力されるプリントジョブデータは、スプーラ45にスプールされる。スプーラ45は、複数のプリントジョブデータを管理し、それらを順番にプリンタに送出する。スプーラ45は、例えば、ファイルシステム25の所定の記憶領域をスプール領域として利用する。プリントリクエストルータ46は、ターゲットプリンタに対してプリントジョブデータがルーティングされるように、制御する。例えば、ターゲットプリンタがネットワークプリンタである場合には、プリントリクエストルータ46は、プリントジョブデータを伴ってネットワークプリントプロバイダ47をコールし、また、ターゲットプリンタがローカルプリンタである場合には、ローカルプリントプロバイダ(図示せず)をコールする。ネットワークプリントプロバイダ47は、受け取ったプリントジョブデータをネットワーク階層モデルでいう上位層プロトコルデータに変換する。具体的には、プリントジョブデータ中のコメントデータに関するプリントコマンド(前述のPJLのコメント行)を抽出し、所定のデータフォーマットに従ってこれらをヘッダとする上位層プロトコルデータを出力する。なお、これらのデータフォーマットは、例えば、RFC1179に規定されるLPDプロトコル(Line Printer Daemon Protocol)に従うことが好ましい。ネットワークプリントプロバイダ47によって出力された上位層プロトコルデータは、さらにネットワーク通信のためのデータ変換が行われ、ネットワーク環境を介してプリンタ1に送信されることになる。なお、ここでいうネットワーク環境とは、ネットワークプリントプロバイダ47よりも下位層に位置付けられるソフトウェアおよび/またはハードウェアにより構成されるネットワーク環境をいうものとする。
【0033】
図6は、ネットワークプリントプロバイダ47の動作処理を説明するためのフローチャートである。同図に示すように、ネットワークプリントプロバイダ47は、プリントジョブデータを1行ずつ(例えば[LF]まで)読み込んで(STEP601)、これがコメントデータに関するプリンタコマンドであるか否かを判断する(STEP602)。STEP602において、コメントデータに関するプリンタコマンドであると判断する場合には、これがプリンタ名であるか否か、ファイル名であるか否かおよびユーザ名であるか否かを判断する(STEP603〜605)。これらのSTEPにおいていずれかの条件に合致する場合には、所定のデータフォーマットに従って対応するコントロールファイルを作成する(STEP606〜608)。ネットワークプリントプロバイダ47は、先頭から所定バイト数分読み込んだか否かを判断し(STEP609)、読み込んでいないと判断する場合にはSTEP601に戻り、読み込んだと判断する場合には、生成したコントロールファイルをヘッダに含む新たなデータを作成し(STEP610)、ネットワーク環境を介して、所定のネットワークプロトコルで通信を行う(STEP611)。
【0034】
図7は、ネットワークプリントプロバイダによって作成されたデータの一例を示す図である。同図に示すように、行番号1から5までの部分が、所定のデータフォーマットに従って新たに作成されたヘッダである。行番号6以降は、前述したプリントジョブデータの内容と同一である。
【0035】
図8は、本実施形態に係るプリンタ1の機能構成を示すブロックダイアグラムである。同図において、プリンタデーモン81は、ホスト装置1からネットワーク環境を介してデータを受け取ると、スプーラ82に出力する。プリンタデーモン81は、下位層プロトコルデータから上位層プロトコルデータに変換する過程において、そのプリントジョブデータのジョブ管理情報を抽出し、これをジョブ管理部74に通知する。スプーラ82は、複数のプリントジョブデータを管理し、それらを順番にジョブ解釈部83に送出する。ジョブ解釈部83は、スプーラ82から送られるプリントジョブデータを解釈して、ビットマップデータを生成し、これをイメージメモリ36に書き込む。この場合において、ジョブ解釈部83は、プリントコマンドのコメント書式であると判断した場合には、その行の終わりまで無視し、次のプリントコマンドに対する処理を行う。ジョブ管理エージェント16’は、ネットワークインターフェースからジョブ管理情報を受け取ると、これをホスト装置1に送信する。これにより、ホスト装置1のジョブ管理マネージャ16は、ジョブ管理エージェント16’を介して、ジョブ管理情報で示されるプリントジョブデータを管理することができるようになる。特に、本実施形態では、プリンタデーモン81が下位層プロトコルデータを上位層プロトコルデータに変換する過程においてジョブ管理情報を取得できるので、ジョブ解釈部73によりプリントジョブデータが解釈される前であっても、ジョブ管理情報に従いプリントジョブデータを特定し、これに対するジョブ管理を行うことができるようになる。例えば、複数のプリントジョブデータがスプーラ72にスプールされ、解釈待ちの特定のプリントジョブデータに対する処理を行うことができるようになる。また、プリンタデーモン81がスプーラ72にスプール中であっても、そのプリントジョブデータに対するジョブ管理を行うことができるようになる。
【0036】
上記実施形態は、本発明を説明するための例示であり、本発明をこの実施形態にのみ限定する趣旨ではない。本発明は、その要旨を逸脱しない限り、さまざまな形態で実施することができる。例えば、上記機能実現手段の動作をシーケンシャルに説明したが、特にこれにこだわるものではない。従って、動作に矛盾が生じない限り、処理の順序を入れ替えまたは並行動作するように構成しても良い。
【0037】
また、本明細書において、手段とは、単に物理的手段を意味するものではなく、その手段が有する機能をソフトウェアによって実現する場合も含む。また、1つの手段が有する機能が2つ以上の物理的手段により実現されても、2つ以上の手段の機能が1つの物理的手段により実現されても良い。
【0038】
【発明の効果】
本発明によれば、ネットワーク階層モデルでいうところの上位層プロトコルにおいてジョブ管理情報を新たに付加するので、プリンタはその上位層プロトコルのデータを解析する段階でジョブ管理情報を認識することができる。従って、プリントジョブデータを解釈する前であっても、そのプリントジョブデータに対するジョブを管理することができるようになる。
【0039】
また、プリンタドライバを使用しているユーザは、大規模なプリントシステムを新たに導入することなく、ジョブ管理機能を有するプリントシステムを低コストで構築することができるようになる。
【図面の簡単な説明】
【図1】プリントシステムの概要を説明するための図
【図2】ホスト装置のハードウェア構成の一例を示す図
【図3】プリンタのハードウェア構成の一例を示す図
【図4】ホスト装置の機能構成を示すブロックダイアグラム
【図5】プリントジョブデータの一例を示す図
【図6】ネットワークプリントプロバイダの動作処理を説明するためのフローチャート
【図7】ネットワークプリントプロバイダが出力するデータの一例を示す図
【図8】プリンタの機能構成を示すブロックダイアグラム
【符号の説明】
1…ホスト装置
2…プリンタ
11…アプリケーションプログラム
12…ユーザインタフェース
13…プリンタドライバ
14…ネットワークプロトコル管理部
15,15’…ネットワークインタフェース
16…ジョブ管理マネージャ
16’…ジョブ管理エージェント
17…コントローラ
18…印刷実行部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technique for managing print job data. In particular, the present invention relates to improvements in printer drivers and network print providers that are interposed between application programs and network interfaces.
[0002]
[Prior art]
In order for a host device to use a printer, the host device typically requires a printer driver (printer control program). When the printer driver receives application data from the application program, it converts it into print job data (print command) unique to the printer and outputs it to the printer. When the printer receives this print job data, it spools it, interprets it, generates bitmap data, and realizes printing on the printing paper.
[0003]
There is also known a network compatible printer that is connected to a LAN constructed by Ethernet or the like and is shared by a plurality of host devices. The host device performs network communication with the printer according to a predetermined network protocol, and sends print job data output from the printer driver to the printer. Examples of the network protocol for the host device to send print job data to the printer include the LPR protocol implemented on TCP / IP.
[0004]
[Problems to be solved by the invention]
By the way, it is required to be able to manage the print job data such as acquiring the print status of the print job data sent from the host device to the printer, or canceling printing by the print job data.
[0005]
However, when information about application data to be printed is described in the print job data in the printer driver, the information cannot be acquired unless the printer interprets the print job data. Therefore, the host device has a disadvantage that it cannot manage print job data being spooled or print job data waiting to be processed in the printer.
[0006]
Therefore, in order to avoid such inconvenience, a method of extending the network protocol and inputting print job information has been proposed. In this case, it is necessary that the print data is once converted into a file by a printer driver and input by a user using a network application (for example, LPR). For this reason, various printing systems for automating such processing are provided. However, providing a new printing system that can change the existing platform and manage the print job data sent from the host device to the printer is expensive and not practical.
[0007]
SUMMARY An advantage of some aspects of the invention is that it provides a system that can manage print job data at a more primitive level without significantly changing an existing platform.
[0008]
[Means for Solving the Problems]
The invention for solving the above problems is specified as follows.
[0009]
That is, the present invention provides a print job data generation unit that generates print job data including predetermined job management information described as a comment format of a printer command based on application data to be printed, and the print job data generation Receiving means for receiving the print job data from the means, extraction means for extracting the predetermined job management information from the print job data received by the receiving means prior to network communication, and the predetermined job extracted by the extracting means A control file corresponding to the management information is created according to a predetermined data format, and the print job data is converted into upper layer network protocol data including the created control file in a header; Based on the upper layer network protocol data converted by conversion means, a print job management apparatus characterized by comprising: a communication means for performing network communication, the between specified printer.
[0010]
The print job management apparatus further includes job management means for managing a job for print job data sent to the printer according to predetermined job management information, and the conversion means uses the extracted job management information as the job management information. The means is notified.
[0011]
The print job data generation unit generates print job data including at least one of the specified printer identification information, user identification information, and application identification information in job management information.
[0012]
Furthermore, the present invention is a recording medium on which a program for causing a host device to realize a predetermined function is recorded, and the program is based on application data to be printed, and a predetermined format described as a comment format of a printer command. A first function for generating print job data including job management information, a second function for receiving the generated print job data, and the predetermined job management information from the received print job data prior to network communication An upper layer network including a third function for extracting the control file, a control file corresponding to the extracted predetermined job management information in accordance with a predetermined data format, and including the generated control file in a header Change to protocol data And a fifth function for outputting the converted higher layer network protocol data to a predetermined network environment so that network communication is performed between the designated fourth printer and the designated printer. Is a recording medium on which the program is recorded.
[0013]
Furthermore, the invention of the above-mentioned object is also established as a method invention. That is, a first step of generating print job data including predetermined job management information described as a comment format of a printer command based on application data to be printed, and a first step of receiving the generated
[0019]
The recording medium includes, for example, a memory such as a RAM and a ROM in addition to a hard disk (HD), a DVD-RAM, a flexible disk (FD), a CD-ROM, and the like. The host device also includes a general-purpose computer such as a so-called personal computer, or a control device including a so-called microcomputer in which a so-called central processing unit such as a CPU or MPU performs predetermined processing by interpreting a program.
[0020]
The program may include a function for calling a function realized by a basic program such as an operating system.
[0021]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
[0022]
FIG. 1 is a diagram for explaining an overview of a print system according to the present embodiment. As shown in the figure, the
[0023]
The
[0024]
The
[0025]
FIG. 2 is a diagram illustrating an example of a hardware configuration of the
[0026]
FIG. 3 is a diagram illustrating an example of a hardware configuration of the printer according to the present embodiment. In the figure, a
[0027]
FIG. 4 is a block diagram showing a functional configuration of the
[0028]
The
[0029]
In addition, the
[0030]
In this embodiment, the PJL comment format is used as the comment format of the printer command, but the present invention is not limited to this. It is also possible to use a command for setting a user name or a document name by PJL or the like and a comment format of a printer command.
[0031]
FIG. 5 is a diagram illustrating an example of print job data. In the figure, the leftmost line number is given for convenience of explanation, and “[xx]” indicates a control code. As shown in the figure, the
[0032]
Print job data output from the
[0033]
FIG. 6 is a flowchart for explaining the operation process of the
[0034]
FIG. 7 is a diagram illustrating an example of data created by the network print provider. As shown in the figure, the parts from
[0035]
FIG. 8 is a block diagram showing a functional configuration of the
[0036]
The said embodiment is an illustration for demonstrating this invention, and is not the meaning which limits this invention only to this embodiment. The present invention can be implemented in various forms without departing from the gist thereof. For example, although the operation of the function realizing unit has been described sequentially, it is not particularly limited to this. Therefore, as long as there is no contradiction in operation, the processing order may be changed or the operation may be performed in parallel.
[0037]
In this specification, the term “means” does not simply mean a physical means, but also includes a case where the functions of the means are realized by software. Further, the function of one means may be realized by two or more physical means, or the functions of two or more means may be realized by one physical means.
[0038]
【The invention's effect】
According to the present invention, since job management information is newly added in the upper layer protocol in the network hierarchy model, the printer can recognize the job management information at the stage of analyzing the data of the upper layer protocol. Therefore, it is possible to manage jobs for the print job data even before interpreting the print job data.
[0039]
In addition, a user using a printer driver can construct a print system having a job management function at low cost without newly introducing a large-scale print system.
[Brief description of the drawings]
FIG. 1 is a diagram for explaining an outline of a printing system. FIG. 2 is a diagram illustrating an example of a hardware configuration of a host device. FIG. 3 is a diagram illustrating an example of a hardware configuration of a printer. FIG. 5 is a block diagram showing an example of print job data. FIG. 6 is a flowchart for explaining operation processing of the network print provider. FIG. 7 is a diagram showing an example of data output by the network print provider. FIG. 8 is a block diagram showing the functional configuration of the printer.
DESCRIPTION OF
Claims (5)
前記プリントジョブデータ生成手段から前記プリントジョブデータを受け付ける受付手段と、
ネットワーク通信に先立ち、前記受付手段により受け付けたプリントジョブデータから前記所定のジョブ管理情報を抽出する抽出手段と、
前記抽出手段により抽出した前記所定のジョブ管理情報に対応するコントロールファイルを所定のデータフォーマットに従って作成し、前記プリントジョブデータを、前記作成したコントロールファイルをヘッダに含む上位層ネットワークプロトコルデータに変換する変換手段と、
前記変換手段により変換した上位層ネットワークプロトコルデータに基づいて、指定されたプリンタとの間でネットワーク通信を行う通信手段と、
を備えたことを特徴とするプリントジョブ管理装置。Print job data generation means for generating print job data including predetermined job management information described as a comment format of a printer command based on application data to be printed;
Receiving means for receiving the print job data from the print job data generating means;
An extraction unit that extracts the predetermined job management information from the print job data received by the reception unit prior to network communication;
A conversion for creating a control file corresponding to the predetermined job management information extracted by the extraction unit according to a predetermined data format, and converting the print job data into upper layer network protocol data including the generated control file in a header Means,
Communication means for performing network communication with a designated printer based on the upper layer network protocol data converted by the conversion means;
A print job management apparatus comprising:
所定のジョブ管理情報に従って、前記プリンタに送られたプリントジョブデータに対するジョブを管理するジョブ管理手段をさらに備え、
前記変換手段は、
前記抽出したジョブ管理情報を前記ジョブ管理手段に通知することを特徴とする請求項1記載のプリントジョブ管理装置。The print job management apparatus
Job management means for managing a job for print job data sent to the printer according to predetermined job management information,
The converting means includes
The print job management apparatus according to claim 1, wherein the extracted job management information is notified to the job management unit.
前記指定されたプリンタの識別情報、ユーザの識別情報および前記アプリケーションの識別情報のうち少なくとも1つをジョブ管理情報に含むプリントジョブデータを生成することを特徴とする請求項1または2記載のプリントジョブ管理装置。The print job data generating means
3. The print job according to claim 1, wherein print job data including at least one of identification information of the designated printer, identification information of the user, and identification information of the application in job management information is generated. Management device.
印刷対象であるアプリケーションデータに基づいて、プリンタコマンドのコメント書式として記述された所定のジョブ管理情報を含むプリントジョブデータを生成する第1の機能と、
前記生成した前記プリントジョブデータを受け付ける第2の機能と、
ネットワーク通信に先立ち、前記受け付けたプリントジョブデータから前記所定のジョブ管理情報を抽出する第3の機能と、
前記抽出した前記所定のジョブ管理情報に対応するコントロールファイルを所定のデータフォーマットに従って作成し、前記プリントジョブデータを、前記作成したコントロールファイルをヘッダに含む上位層ネットワークプロトコルデータに変換する第4の機能と、
指定されたプリンタとの間でネットワーク通信が行われるように、前記変換した上位層ネットワークプロトコルデータを、所定のネットワーク環境に出力する第5の機能を備えたことを特徴とするプログラムを記録した記録媒体。A recording medium storing a program for causing a host device to realize a predetermined function, wherein the program is
A first function for generating print job data including predetermined job management information described as a comment format of a printer command based on application data to be printed;
A second function for receiving the generated print job data;
A third function for extracting the predetermined job management information from the received print job data prior to network communication;
A fourth function of creating a control file corresponding to the extracted predetermined job management information according to a predetermined data format, and converting the print job data into upper layer network protocol data including the generated control file in a header When,
A record recording a program characterized by having a fifth function of outputting the converted higher-layer network protocol data to a predetermined network environment so that network communication can be performed with a designated printer Medium.
前記生成した前記プリントジョブデータを受け付ける第2のステップと、
ネットワーク通信に先立ち、前記受け付けたプリントジョブデータから前記所定のジョブ管理情報を抽出する第3のステップと、
前記抽出した前記所定のジョブ管理情報に対応するコントロールファイルを所定のデータフォーマットに従って作成し、前記プリントジョブデータを、前記作成したコントロールファイルをヘッダに含む上位層ネットワークプロトコルデータに変換する第4のステップと、
前記変換した上位層ネットワークプロトコルデータに基づいて、指定されたプリンタとの間でネットワーク通信を行う第5のステップと、
前記抽出したジョブ管理情報に基づいて、前記指定されたプリンタに送られたプリントジョブデータに対するジョブを管理する第6のステップとからなることを特徴とするプリントジョブ管理方法。A first step of generating print job data including predetermined job management information described as a printer command comment format based on application data to be printed;
A second step of receiving the generated print job data;
A third step of extracting the predetermined job management information from the received print job data prior to network communication;
A fourth step of creating a control file corresponding to the extracted predetermined job management information according to a predetermined data format, and converting the print job data into upper layer network protocol data including the generated control file in a header. When,
A fifth step of performing network communication with a designated printer based on the converted upper layer network protocol data;
A print job management method comprising: a sixth step of managing a job for print job data sent to the designated printer based on the extracted job management information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP34393399A JP3810238B2 (en) | 1999-09-03 | 1999-12-02 | Print job management apparatus, print job management method, and recording medium recording program |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP24990399 | 1999-09-03 | ||
JP11-249903 | 1999-09-03 | ||
JP34393399A JP3810238B2 (en) | 1999-09-03 | 1999-12-02 | Print job management apparatus, print job management method, and recording medium recording program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001142658A JP2001142658A (en) | 2001-05-25 |
JP3810238B2 true JP3810238B2 (en) | 2006-08-16 |
Family
ID=26539544
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP34393399A Expired - Fee Related JP3810238B2 (en) | 1999-09-03 | 1999-12-02 | Print job management apparatus, print job management method, and recording medium recording program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3810238B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110764716B (en) * | 2018-12-04 | 2023-05-23 | 安天科技集团股份有限公司 | Flow-based network printer security detection method, device and storage medium |
-
1999
- 1999-12-02 JP JP34393399A patent/JP3810238B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2001142658A (en) | 2001-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7440134B2 (en) | Print control apparatus and method | |
US8045202B2 (en) | Information processing apparatus and print device control method | |
US7283266B2 (en) | Information processing apparatus and print control apparatus, data processing method, storage medium and program | |
US20060209343A1 (en) | Information processing apparatus, distributed printing method, and storage medium | |
US20070299905A1 (en) | System for setting print end notification either when data transmission ends or when printing ends based on print check ability of printing devices | |
US20020001104A1 (en) | Printer for managing a plurality of print job data | |
JP3452247B2 (en) | Printer, printer control method, and recording medium recording program | |
US20110019226A1 (en) | Server, printer, and computer readable medium | |
JP3039396B2 (en) | Print control apparatus and method | |
US20080266601A1 (en) | Information processing apparatus and job management method | |
US7643160B2 (en) | Spool file modifying device | |
JP4659938B2 (en) | Event-based printing | |
JP2006338411A (en) | Printing system, control method for printing system, and program | |
JP4110945B2 (en) | Image processing apparatus, image forming apparatus, and program | |
JP5268604B2 (en) | Information processing apparatus and information processing method | |
JP2023018114A (en) | Program, information processing device, and method for controlling information processing device | |
JP3810238B2 (en) | Print job management apparatus, print job management method, and recording medium recording program | |
JP3829798B2 (en) | Image forming apparatus and program | |
JP2004110337A (en) | Image forming method, image forming system, client terminal, server device, program and storage medium | |
JP2008046821A (en) | Image forming system, information processor, and print control method and program | |
JP2001109599A (en) | Information processor and method for data processing and storage medium | |
JP2008027217A (en) | Printing system with information processor and printing apparatus | |
JP4110021B2 (en) | Print processing program, information processing apparatus, information processing method, and storage medium for performing print processing with department management | |
JP2001260433A (en) | Printer and its control method | |
JP2000112684A (en) | Document printing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060413 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060523 |
|
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: 20100602 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110602 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110602 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120602 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130602 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130602 Year of fee payment: 7 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |