JP3775555B2 - Printer, printing system, and printer process monitoring method - Google Patents

Printer, printing system, and printer process monitoring method Download PDF

Info

Publication number
JP3775555B2
JP3775555B2 JP19364799A JP19364799A JP3775555B2 JP 3775555 B2 JP3775555 B2 JP 3775555B2 JP 19364799 A JP19364799 A JP 19364799A JP 19364799 A JP19364799 A JP 19364799A JP 3775555 B2 JP3775555 B2 JP 3775555B2
Authority
JP
Japan
Prior art keywords
job
print
information
printer
host computer
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
JP19364799A
Other languages
Japanese (ja)
Other versions
JP2001022546A (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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP19364799A priority Critical patent/JP3775555B2/en
Publication of JP2001022546A publication Critical patent/JP2001022546A/en
Application granted granted Critical
Publication of JP3775555B2 publication Critical patent/JP3775555B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、プリンタの技術に関し、特に、プリンタに投入されたプリントジョブデータの印刷処理状況をユーザに提示するための技術に関する。
【従来技術】
近年、ネットワーク技術の発達に伴い、プリンタは、LANなどのネットワークに接続され、複数のホストコンピュータによって共用されるようになった。
【0002】
このようなネットワーク対応型のプリンタは、ホストコンピュータとの間で所定の通信プロトコルに従った通信を行うことで、プリントジョブデータを受信し、これを内部のバッファ装置(プリントスプーラ)に記憶する。プリンタは、このバッファ装置に記憶したプリントジョブデータを読み出し、解釈してイメージデータを生成し、これをイメージメモリに展開する。そして、プリンタは、イメージメモリ上に展開されたイメージデータを印刷実行部分である印刷エンジンに供給する。これにより、プリンタは、印刷記録媒体(用紙)に対する印刷を実現する。
【発明が解決しようとする課題】
ネットワーク対応型のプリンタは、複数のホストコンピュータからプリントジョブデータをそれぞれ受信した場合には、それらをバッファ装置に順に記憶した後、印刷処理を行っている。
【0003】
この場合、ユーザは、現在プリントアウトされている印刷記録媒体がどのホストコンピュータからのプリントジョブデータであるかを、ホストコンピュータ上で確認することはできなかった。また、ユーザは、印刷に際して自身が投入したプリントジョブデータが、現在、どの段階の印刷処理を経ているのかを確認することができなかった。
【0004】
そこで、本発明は、ホストコンピュータから送信されるプリントジョブデータに対する印刷処理の状況を管理するプリンタを提供することを目的とする。
【0005】
また、本発明は、このようなプリントジョブデータに対する印刷処理の状況を管理するプリンタにおいて、ホストコンピュータから送信される、特定のプリントジョブデータに対する印刷処理の状況に関する問い合わせに対して応答し、ユーザにその印刷処理の状況を提示することのできるプリンタを提供することを目的とする。
【課題を解決するための手段】
上記課題を解決するために、本発明は以下のように特定される。
【0006】
すなわち、本発明は、ホストコンピュータから送られる、所定の識別情報を有するプリントジョブデータに対して所定の印刷処理を行うプリンタであって、前記ホストコンピュータから送られるジョブ情報の取得要求を受け取った場合に、前記取得要求によって指定される所定の識別情報に対応するプリントジョブデータのジョブ情報を、前記ホストコンピュータに返答することを特徴とするプリンタである。
【0007】
より具体的には、本発明は、第1の識別情報を有するプリントジョブデータを受信するために、ホストコンピュータとの間で通信を行う第1の通信手段と、前記第1の通信手段によって受信されるプリントジョブデータに基づいて所定の印刷処理を行い、前記所定の印刷処理に基づく所定のジョブ情報を出力する印刷処理手段と、前記印刷処理手段によって出力されるジョブ情報を、前記プリントジョブデータごとに記憶するジョブ情報記憶手段と、前記ホストコンピュータとの間で前記ジョブ情報に関する通信を行う第2の通信手段と、前記第2の通信手段によって受信される所定の取得要求に基づいて、前記ジョブ情報記憶手段から所定のジョブ情報を読み出して、前記第2の通信手段に出力する印刷管理手段とを備えたことを特徴とするプリンタである。
【0008】
ここで、前記印刷処理手段は、前記第1の通信手段からプリントジョブデータを受け取った場合に、前記プリントジョブデータに第2の識別情報を割り当て、前記ジョブ情報記憶手段は、前記第2の識別情報に対応する所定の領域に前記プリントジョブデータのジョブ情報を記憶する。これにより、プリンタは、第2の識別情報に従ってプリントジョブデータを管理することができる。
【0009】
また、前記印刷管理手段は、前記所定の取得要求が前記第2の識別情報の取得要求である場合に、前記第1の識別情報と前記第2の識別情報とを関連付けて、前記第2の通信手段に出力することが好ましい。これにより、ホストコンピュータは、自身内の第1の識別情報に対応するプリンタ内の第2の識別情報を取得することができる。
【0010】
さらに、前記印刷管理手段は、前記第2の識別情報に従って前記ジョブ情報記憶手段から前記ジョブ情報を読み出すことが好ましい。
【0011】
また、前記印刷処理手段は、前記プリントジョブデータに対する印刷処理の進捗の度合いを示す情報をジョブ情報として出力することが好ましい。さらにまた、前記印刷処理手段は、前記プリントジョブデータに対する印刷処理に要する消費に関する情報をジョブ情報として出力することが好ましい。なお、印刷処理に要する消費に関する情報は、例えば、トナーの消費量、用紙の消費量などが上げられる。
【0012】
また、本発明は、アプリケーションプログラムから送られるアプリケーションデータに基づいてプリントジョブデータを生成する生成手段と、前記生成手段によって生成されるプリントジョブデータに対して第1の識別情報を割り当てる割当手段と、前記生成手段によって生成されたプリントジョブデータを、前記割当手段によって割り当てられた第1の識別情報とともにプリンタに送る送信手段と、前記割当手段により割り当てられた第1の識別情報に基づいて、前記プリンタから前記プリントジョブデータのジョブ情報を取得する取得手段と、前記取得手段により取得されたジョブ情報をユーザに提示するユーザインターフェース手段と、を備えたことを特徴とするホストコンピュータである。
【0013】
さらに、本発明は、ホストコンピュータに所定の機能を実現させるプログラムとしても成立する。具体的には、本発明は、ホストコンピュータに所定の機能を実現する制御プログラムを記録した記録媒体であって、前記制御プログラムは、アプリケーションプログラムから送られるアプリケーションデータに基づいてプリントジョブデータを生成する生成手段と、前記生成手段によって生成されるプリントジョブデータに対してジョブ識別情報を割り当て、前記プリントジョブデータとともにジョブ識別情報をプリンタに対して出力する割当手段と、前記割当手段により割り当てられたジョブ識別情報に基づいて、前記プリンタから前記プリントジョブデータのジョブ情報を取得する取得手段と、を備えたことを特徴とする制御プログラムを記録した記録媒体であってもよい。これらの手段は、1つのプリンタドライバとして構成され、または、複数のモジュールとして構成される。
【0014】
また、本発明は、ホストコンピュータとプリンタとを備えたプリントシステムであって、前記ホストコンピュータは、アプリケーションプログラムから送られるアプリケーションデータに基づいてプリントジョブデータを生成する生成手段と、前記生成手段によって生成されるプリントジョブデータに対して第1の識別情報を割り当てる割当手段と、前記生成手段によって生成されたプリントジョブデータを、前記割当手段によって割り当てられた第1の識別情報とともに前記プリンタに送る送信手段と、前記割当手段により割り当てられた第1の識別情報に基づいて、前記プリンタから前記プリントジョブデータのジョブ情報を取得する取得手段と、前記取得手段により取得されたジョブ情報をユーザに提示するユーザインターフェース手段と、を備え、前記プリンタは、前記ホストコンピュータから送られるプリントジョブデータに基づいて所定の印刷処理を行い、前記所定の印刷処理に基づく所定のジョブ情報を出力する印刷処理手段と、前記印刷処理手段によって出力されるジョブ情報を、前記プリントジョブデータごとに記憶するジョブ情報記憶手段と、前記ホストコンピュータから送られる所定の取得要求に基づいて、前記ジョブ情報記憶手段から所定のジョブ情報を読み出して、前記ホストコンピュータに対して出力する印刷管理手段とを備えたことを特徴とするプリントシステム。
【0015】
また、本発明は方法の発明としても成立する。具体的には、本発明は、ホストコンピュータから第1の通信プロトコルに従って第1の識別情報を有するプリントジョブデータを受け取り、前記受信したプリントジョブデータに基づいて所定の印刷処理を行うとともに、前記所定の印刷処理に基づく所定のジョブ情報を出力し、前記出力したジョブ情報を、前記プリントジョブデータごとに記憶しておき、前記ホストコンピュータから第2の通信プロトコルに従って所定の取得要求を受け取り、前記所定の取得要求に基づいて前記ジョブ情報記憶手段から所定のジョブ情報を読み出し、前記読み出した所定のジョブ情報を前記ホストコンピュータに送ることを特徴とするプリンタの制御方法である。
【0016】
なお、前記記録媒体とは、例えば、ハードディスク(HD)、DVD−RAM、フレキシブルディスク(FD)やCD−ROM等のほかに、RAMやROM等のメモリを含む。また、前記ホストコンピュータとは、例えば、CPUやMPUといったいわゆる中央処理装置がプログラムを解釈することで所定の処理を行う、いわゆるマイクロコンピュータや制御装置等をも含む。
【発明の実施の形態】
次に、本発明の実施の形態について、図面を参照しつつ説明する。
【0017】
図1は、本実施形態に係るプリントシステムの全体構成を示すブロックダイアグラムである。同図に示すように、本実施形態に係るプリントシステムは、ネットワークNを介して相互に接続されたホストコンピュータ1とプリンタ2とによって構成される。なお、同図では、それぞれ代表する1台のみを示している。
【0018】
ホストコンピュータ1は、アプリケーションプログラムの実行体(以下「アプリケーション」という。)11と、アプリケーション11との間でユーザが対話的に操作を行うためのユーザインターフェース部(以下「ユーザI/F部」という。)12と、アプリケーション11が扱うデータをプリントジョブデータに変換するプリンタドライバの実行体(以下「プリンタドライバ」という。)13と、ネットワーク通信を行うための通信インターフェース部(以下「通信I/F部」という。)14a、プリンタ2に投入したプリントジョブデータの印刷状況をプリンタ2から取得する監視プログラム15とを備える。
【0019】
一方、プリンタ2は、ネットワーク通信を行うための通信I/F部14bと、ネットワークNを介してホストコンピュータ1から送られるプリントジョブデータに従って印刷処理を行う印刷処理部16と、印刷処理部16から出力される印刷処理の状況を記憶し、ホストコンピュータ1の監視プログラム15からの印刷処理の状況に関する問い合わせに応答して、その状況をホストコンピュータ1に返答するための印刷管理部17とを備える。
【0020】
アプリケーション11は、典型的には、テキストデータやイメージデータを作成・編集することのできるワードプロセッサなどであり、図示しないCPUが、オペレーティングシステムの制御の下、アプリケーションプログラムを実行することにより、他のハードウェアと共働してその機能を実現する。ユーザI/F部12は、典型的には、ディスプレイ、キーボード、マウスなどのハードウェア並びにこれらのハードウェアを制御する制御プログラム(デバイスドライバと呼ばれることもある。)およびオペレーティングシステムなどから構成され、ユーザとの間の対話的な操作を実現する。プリンタドライバ13は、アプリケーション11上のデータを、特定のプリンタ1が解釈するためのプリントジョブデータに変換する。監視プログラム15は、プリンタ2に投入したプリントジョブデータに対する印刷処理の状況を監視(モニタリング)するための機能を有し、典型的にはいわゆるデーモンプログラムとして動作する。通信I/F部14は、LANドライバおよび各種ハードウェアによって実現され、所定の通信プロトコルに従って、ネットワーク通信を行う。本実施形態における通信I/F部14は、ホストコンピュータ1がプリントジョブデータをプリンタ2に送り込む(投入する)ための第1の通信プロトコルと、ホストコンピュータ1がプリンタ2内のプリントジョブデータに対する印刷処理の状況を監視するための第2の通信プロトコルとを備えることが好ましい。より具体的には、通信I/F部14は、例えば、TCP/IPベース上では、プリントジョブデータの送信(投入)にlprを用い、プリントジョブデータの監視のための通信にSNMP(Simple Network Management Protocol)を用いることができる。なお、SNMPは、RFC(Request For Comments)1157に記述されている。
【0021】
印刷処理部16は、ホストコンピュータ1から送られるプリントジョブデータを解釈してイメージデータを生成し、これをプリントエンジンに供給することにより、印刷を実現する。印刷管理部17は、印刷処理部16の実行により得られる印刷処理の状況に関する情報(以下「ジョブ情報」という。)を管理するとともに、ホストコンピュータ1からの問い合わせに応答して、このジョブ情報をホストコンピュータ1に返答する。この印刷管理部17の詳細については、後述する。
【0022】
図2は、本実施形態に係るホストコンピュータ1の構成を示すブロックダイアグラムである。同図は、図1に示したプリンタドライバ13、通信I/F部14aおよび監視プログラム15をより詳細に示したものである。同図において、ジョブ生成部131は、印刷しようとするデータをアプリケーション11から受け取ると、プリンタ2が解釈可能なプリントジョブデータを生成する。ジョブ生成部132は、生成したプリントジョブデータをジョブID生成部132に送る。ジョブID割当部132は、送られてきたプリントジョブデータに対するジョブIDを発行し、割り当てる。ジョブIDは、各ホストコンピュータ1内でユニークに識別される情報であり、例えば、英数字の組み合わせで表現される。ジョブID割当部132は、ジョブIDを割り当てたプリントジョブデータを通信I/F部14のジョブ投入I/F部141aに送るとともに、割り当てたジョブIDをジョブ監視マネージャ151に通知する。ジョブ監視マネージャ151は、通知されたジョブIDをジョブDB152に格納する。また、ジョブ監視マネージャ151は、ジョブDB152に格納されているジョブIDに対応するプリントジョブデータのジョブ情報をプリンタ2から取得して、これをユーザI/F部12に送る。ジョブDB152は、図3に示すように、ジョブIDとインデックス番号とを対応付けて記憶する。ここで、インデックス番号は、プリンタ2自身がプリントジョブデータをユニークに識別するための情報である。つまり、ジョブIDは各ホストコンピュータ内ではユニークであっても、プリンタ2には任意のホストコンピュータからプリントジョブデータが到着するため、プリンタ2内ではユニークでない場合も想定される。従って、プリンタ2は、ホストコンピュータ1から受け取ったプリントジョブデータに対して自身の中でユニークな識別情報として、インデックス番号を割り当てている。このインデックス番号は、後述するように、ジョブ監視マネージャ151によってプリンタ2から取得される。通信I/F部14は、プリントジョブデータをプリンタ2に送り込むための通信を行うジョブ投入I/F部141aおよびジョブ情報に関する通信を行うジョブ情報I/F部142aを備える。ジョブ投入I/F部141aは、ジョブIDが割り当てられたプリントジョブデータをプリンタ2に送り込むために、例えばlprなどによってプリンタ2のジョブ投入I/F部141bとの間で通信を行うものである。一方、ジョブ監視I/F部142aは、プリンタ2から特定のプリントジョブデータに関するジョブ情報を取得するために、好ましくは、SNMPによってプリンタ2のジョブ監視I/F部142bとの間で通信を行うものである。
【0023】
図4は、本実施形態に係るプリンタ2の構成を示すブロックダイアグラムである。同図において、ジョブ投入I/F部141bおよびジョブ監視I/F部142bは、図2に示したホストコンピュータ1のジョブ投入I/F部141aおよびジョブ監視I/F部142aに対応し、これらとの間で、ネットワーク通信を行う。
【0024】
印刷処理部16は、典型的には、ジョブバッファ部161と、イメージ生成部162と、エンジン制御部163と、プリントエンジン164とを備える。ジョブバッファ部161は、ジョブ投入I/F部141a,141bを介してホストコンピュータ1からプリントジョブデータを受け取ると、プリントジョブデータごとに記憶する。ジョブバッファ部161は、プリントジョブデータを記憶すると、このプリントジョブデータに対するジョブ情報をジョブ情報記憶部162の所定の領域に出力する。具体的には、ジョブバッファ部161は、まず、プリンタ内で固有のインデックス番号を発行する。インデックス番号は、例えば、0〜232−1までの整数値であり、1つずつカウントアップされる。このインデックス番号は、プリンタ2の電源がOFFになっても現在値がリセットされないように、不揮発性RAMに保持される。次に、ジョブバッファ部161は、このインデックス番号で管理されるジョブ情報記憶部162の所定の領域に、そのプリントジョブデータに割り当てられているジョブIDおよびそのプリントジョブデータに対する印刷処理のステータス情報(以下「ジョブの状態」という。)をジョブ情報として出力する。この場合、ジョブの状態は、プリントジョブデータが印刷待機中であることを示す値(例えば、“1”)が出力される。イメージ生成部162は、ジョブバッファ部161に記憶されたプリントジョブデータを順次読み出してこれを解釈し、ラスタ形式のイメージデータに変換し、図示しないイメージメモリに展開する。プリンタ2がカラー対応である場合には、イメージ生成部162は、CMYK各色のイメージデータを生成することになる。イメージ生成部162は、イメージデータの生成処理を開始した場合には、ジョブ情報記憶部162に記憶されたそのプリントジョブデータのジョブの状態を、印刷中であることを示す値(例えば、“2”)に変更する。エンジン制御部163は、イメージメモリに展開されたイメージデータを読み出して、プリントエンジン164に送出する。プリントエンジン164は、印刷記録媒体に印刷を行うものである。プリントエンジン164は、例えばレーザプリンタであれば、レーザ照射機構や感光体ドラム、熱定着機構、用紙送り機構等により構成される。エンジン制御部163は、プリントエンジン164に送出する際に得られるジョブ情報をジョブ情報記憶部162に出力する。エンジン制御部163が出力するジョブ情報は、トナー(インク)の消費量や用紙サイズ、用紙の消費枚数などである。また、カラー印刷の場合には、トナーの消費量は、YMCK各色ごとにジョブ情報記憶部162に出力される。エンジン制御部163は、また、プリントエンジン153による印刷が正常に終了した場合には、ジョブの状態として正常印刷終了であることを示す値(例えば、“3”)を出力する。
【0025】
ジョブ監視エージェント171は、ジョブ情報I/F部142bから送られるジョブ情報取得要求に対して、ジョブ情報記憶部172の所定の記憶領域からジョブ情報を抽出し、これをジョブ情報I/F部142bに返答する。ジョブ情報記憶部172は、印刷処理部16の各部から送られるジョブ情報をプリントジョブデータごとに記憶する。
【0026】
図5は、ジョブ情報記憶部172に記憶されるジョブ情報の一例を示している。ジョブ情報は、「インデックス番号」、「ジョブID」、「ジョブの状態」、「印刷面数」、YMCKごとの「トナー消費量」および「用紙サイズ/消費枚数」の要素から構成されるが、これに限る趣旨ではない。「インデックス番号」は、上述したように、プリンタ自身の中でプリントジョブデータを識別するためのものである。「ジョブID」は、ホストコンピュータ1によって割り当てられたホストコンピュータ1自身の中でプリントジョブデータを識別するためのものである。つまり、ホストコンピュータ1ごとに固有のジョブIDが割り当てられた場合であっても、複数のホストコンピュータ1に共用されるプリンタ2ではジョブIDの衝突が生じる可能性があるため、プリンタ2は、インデックス番号によってプリントジョブデータを識別する。「ジョブの状態」は、投入されたプリントジョブデータに対する印刷処理の進捗の状況を示すものである。進捗の状況は、例えば、印刷待機中、印刷中、印刷終了または中断終了などがあり、それぞれ数値で示されるものとする。「印刷面数」は、エラーなく正常に印刷した面数(ページ数)である。「トナー消費量」は、イメージデータに基づいて算出され、またはプリントエンジン機構に設けられたトナー残量センサによって示されるトナーの消費量である。「用紙サイズ/消費枚数」は、用紙サイズごとの消費枚数、つまり、排出される紙の枚数である。ジョブ情報記憶部172は、プリントジョブデータごとに記憶領域を確保し、そこにジョブ情報を記憶する。なお、本実施形態においては、ジョブ情報記憶部172は、16個の記憶領域を有し、直近に投入された16個分のプリントジョブデータのジョブ情報を記憶するものとする。
【0027】
図6は、印刷処理部16の各部がジョブ情報記憶部172にジョブ情報をセットする様子を示している。すなわち、ジョブバッファ部161は、プリントジョブデータを記憶した場合、「インデックス番号」、「ジョブID」、「ジョブの状態」および「印刷面数」をそれぞれセットする(同図(a))。次に、イメージ生成部151がイメージデータを生成し始めた時点で、イメージ生成部151は「ジョブの状態」を“2”にセットする(同図(b))。そして、エンジン制御部163は、プリントジョブデータに基づく印刷中の間、ジョブ情報記憶部172の内容を適宜更新する(同図(c))。
【0028】
本実施形態に係るプリントシステムは、ホストコンピュータ1がプリンタ2のジョブ情報を監視できるようにするために、SNMPを用いるものとする。つまり、ホストコンピュータ1上に構成されるSNMPマネージャは、ジョブ監視マネージャ151、ジョブDB152およびジョブ監視I/F部142aによって実現される。一方、プリンタ2上に構成されるSNMPエージェントは、ジョブ監視エージェント171、ジョブ情報記憶部172およびジョブ監視I/F部142bによって実現される。SNMPでは、管理情報が記述されるデータベースの構造は、MIB(Management Information Base)によって規定される。つまり、本実施形態におけるジョブ情報の各要素は、MIBにおける各オブジェクトに対応する。図7は、本実施形態において定義されたMIB構造の一部を示している。なお、同図において、MIB構造の上位空間は、省略されているものとする。図6に示したジョブ情報の各要素は、オブジェクトIDによって特定される。SNMPマネージャは、取得しようとするジョブ情報のオブジェクトIDを指定し、SNMPエージェントに所定の取得要求を送ることによって、SNMPエージェントから所望のジョブ情報を取得することができる。
【0029】
例えば、SNMPマネージャがSNMPエージェントから所定のジョブID“dfA204”に対するインデックス番号を取得する場合には、SetRequestコマンドにより、オブジェクトID“1.3.6.1.0”に“dfA204”をセットする。次に、SNMPマネージャは、GetRequestコマンドにより、オブジェクトID“1.3.6.2.0”を送ると、SNMPエージェントからGetResponceコマンドにより、“dfA204=5”が返答される。これにより、SNMPマネージャはインデックス番号を取得することができる。なお、SNMPマネージャは、自身が送ったジョブIDとSNMPエージェントから取得したジョブIDとを比較して、これらが一致していないと判断する場合には、一致するまで上記処理を繰り返す。
【0030】
SNMPマネージャは、インデックス番号を取得した場合には、このインデックス番号を用いてオブジェクトIDを指定し、GetRequestコマンドにより、ジョブ情報を収集する。例えば、SNMPマネージャは、GetRequestコマンドにより、オブジェクトID“1.3.6.4.5”を送ると、SNMPエージェントからGetResponceコマンドにより、ジョブの状態として“2”を取得する。また、SNMPマネージャは、GetRequestコマンドにより、オブジェクトID“1.3.6.3.5”を送ると、SNMPエージェントからGetResponceコマンドにより、正常に印刷された面数として“8”を取得する。以後、SNMPマネージャは、必要なだけ上記処理を繰り返し、ジョブ情報を収集する。
【0031】
図8は、ホストコンピュータ1によるプリントジョブデータの投入処理を説明するためのフローチャートである。まず、ジョブ生成部131は、アプリケーション11からデータが引き渡されると、これをプリントジョブデータに変換する(STEP801)。次に、ジョブID割当部132は、ジョブIDを発行し、これをプリントジョブデータとともに通信I/F部14に送り(STEP802)、また、ジョブ監視エージェント133に通知する。そして、ジョブ監視エージェント133は、ジョブIDをジョブDB152に登録する(STEP803)。
【0032】
図9は、ホストコンピュータ1によるジョブ情報の取得処理を説明するためのフローチャートである。ジョブ監視マネージャ151は、所定のジョブIDによって指定されるジョブ情報の取得指示をユーザI/F部12から受け取ると、まず、ジョブDB152を参照し(STEP901)、そのジョブIDに対応するインデックス番号がすでにプリンタ2から取得されているか否かをチェックする(STEP902)。ジョブ監視マネージャ151は、インデックス番号をまだ取得していないと判断する場合には、プリンタ2に対してジョブIDのセットを行い(STEP903)、プリンタ2から“ジョブID=インデックス番号”の形式で返答を受け取る(STEP904)。ジョブ監視マネージャ151は、プリンタ2に対してセットしたジョブIDとプリンタ2から取得したジョブIDとを比較し(STEP905)、これらが一致していないと判断する場合には、STEP903に移行する。ジョブ監視マネージャ151は、2つのジョブIDが一致していると判断する場合には、取得したインデックス番号をジョブID134に登録する(STEP906)。ジョブ監視マネージャ151は、インデックス番号を取得した後は、このインデックス番号を用いて、プリンタ2に対してジョブ情報の収集を行う(STEP907)。ジョブ情報の収集は、ジョブ情報の要素すべてであってよいし、ユーザに指定された要素のみでもよい。ただし、印刷処理の進捗の状況によってはすべて取得できない場合もある。ジョブ監視マネージャ151は、プリンタ2からジョブ情報を取得すると、これをユーザI/F部12に送る(STEP908)。これにより、ジョブ情報は、ユーザI/F部12によってユーザに提示され、ユーザは、指定したプリントジョブデータの現在のジョブ情報を把握することができるようになる。
【0033】
図10は、ホストコンピュータ1から送られるジョブ情報の取得要求に対するプリンタ2による応答処理を説明するためのフローチャートである。同図に示すように、ジョブ監視エージェント171は、ジョブ情報I/F部142bからジョブ情報に関する所定の要求を受け取った場合には、これがジョブIDのセット要求であるか否かを判断する(STEP1001)。ジョブ監視エージェント171は、ジョブIDのセット要求であると判断する場合には、このジョブIDをジョブ情報記憶部172の所定の記憶領域に書き込む(STEP1002)。ジョブ監視エージェント171は、STEP1001でNoと判断する場合、次に、この要求がインデックス番号の取得要求であるか否かを判断する(STEP1003)。ジョブ監視エージェント171は、インデックス番号の取得要求であると判断する場合には、ジョブIDに対するインデックス番号を検索し、“ジョブID=インデックス番号”の形式で返答する(STEP1004)。ジョブ監視エージェント171は、STEP1003でNoと判断する場合には、次に、この要求がジョブ情報の取得要求であるか否かを判断する(STEP1005)。ジョブ監視エージェント171は、ジョブ情報の取得要求であると判断する場合には、ジョブ情報記憶部172からインデックス番号に対応するプリントジョブデータのジョブ情報を検索し、これを返答する(STEP1006)。ジョブ監視エージェント171は、終了指示があるまで上記処理を繰り返す。
【0034】
以上のように、本実施形態によれば、プリンタ2は、ホストコンピュータ1から投入されたプリントジョブデータのジョブ情報をジョブ情報記憶部172に出力する。この場合に、プリンタ2は、プリントジョブデータごとにインデックス番号を割り当てるので、プリントジョブデータごとにジョブ情報を管理することができるようになる。
【0035】
また、本実施形態によれば、ホストコンピュータ1は、このようなジョブ情報を管理するプリンタ2に対して、所定の通信プロトコルに従って、ジョブ情報の取得要求を行い、プリンタ2は、この取得要求に応答して所定のジョブ情報をホストコンピュータ1に返答する。これにより、ホストコンピュータ1は、特定のプリントジョブデータに対するジョブ情報をプリンタ2から取得することができることになる。
【0036】
特に、本実施形態では、SNMPを用いてジョブ情報に関する通信を行うので、ホストコンピュータ1は、複雑な機構を必要とすることなく、きわめて簡単に、プリンタ2からジョブ情報を取得することができる。
【0037】
上記実施形態は、本発明を説明するための例示であり、本発明を上記実施形態にのみ限定する趣旨ではない。本発明は、その要旨を逸脱しない限り、さまざまな形態で実施することができる。例えば、上記機能実現手段の動作をシーケンシャルに説明したが、特にこれにこだわるものではない。従って、動作に矛盾が生じない限り、処理の順序を入れ替えまたは並行動作するように構成しても良い。
【0038】
また、上記実施形態は、プリンタドライバ13と監視プログラム15とをそれぞれ独立の実行体として説明したがこれにこだわるものではない。例えば、プリンタドライバ13は、アプリケーション11上のデータを、特定のプリンタ1が解釈するためのプリントジョブデータに変換するとともに、プリンタ2における印刷処理の状況を監視するように構成しても良い。
【発明の効果】
本発明によれば、ホストコンピュータは、プリンタに送ったプリントジョブデータに対する印刷処理の状況を取得することができる。これにより、ユーザは、プリンタに送った自身のプリントジョブデータに対する印刷処理の状況を把握することができるようになる。
【図面の簡単な説明】
【図1】プリントシステムの全体構成を示すブロックダイアグラム
【図2】ホストコンピュータ1の構成を示すブロックダイアグラム
【図3】ジョブDB154の内容を示す図
【図4】プリンタ2の構成を示すブロックダイアグラム
【図5】ジョブ情報の一例を示す図
【図6】印刷処理部16がジョブ情報記憶部172にジョブ情報をセットする様子を示す図
【図7】MIB構造の一部を示す図
【図8】ホストコンピュータ1によるプリントジョブデータの投入処理を説明するためのフローチャート
【図9】ホストコンピュータ1によるジョブ情報の取得処理を説明するためのフローチャート
【図10】ジョブ情報取得要求に対するプリンタ2による応答処理を説明するためのフローチャート
【符号の説明】
1…ホストコンピュータ
2…プリンタ
11…アプリケーションプログラム
12…ユーザインターフェース部
13…プリンタドライバ
14…通信インターフェース部
15…監視プログラム
16…印刷処理部
17…印刷管理部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a printer technique, and more particularly to a technique for presenting a user with a print processing status of print job data input to a printer.
[Prior art]
In recent years, with the development of network technology, printers are connected to a network such as a LAN and are shared by a plurality of host computers.
[0002]
Such a network compatible printer receives print job data by communicating with a host computer in accordance with a predetermined communication protocol, and stores it in an internal buffer device (print spooler). The printer reads out and interprets the print job data stored in the buffer device, generates image data, and develops it in the image memory. Then, the printer supplies the image data developed on the image memory to the print engine which is a print execution part. Thus, the printer realizes printing on the print recording medium (paper).
[Problems to be solved by the invention]
When the network compatible printer receives print job data from a plurality of host computers, it stores them in the buffer device in order, and then performs print processing.
[0003]
In this case, the user cannot confirm on the host computer from which host computer the print recording medium currently printed out is. In addition, the user cannot confirm which stage of print processing the print job data submitted by himself / herself is currently undergoing.
[0004]
SUMMARY An advantage of some aspects of the invention is that it provides a printer that manages the status of print processing for print job data transmitted from a host computer.
[0005]
The present invention also provides a printer that manages the status of print processing for such print job data in response to an inquiry about the status of print processing for specific print job data sent from the host computer to the user. An object of the present invention is to provide a printer capable of presenting the status of the printing process.
[Means for Solving the Problems]
In order to solve the above problems, the present invention is specified as follows.
[0006]
That is, the present invention is a printer that performs predetermined print processing on print job data having predetermined identification information sent from a host computer, and receives a job information acquisition request sent from the host computer In addition, the printer returns job information of print job data corresponding to predetermined identification information designated by the acquisition request to the host computer.
[0007]
More specifically, in the present invention, in order to receive print job data having the first identification information, the first communication means for communicating with the host computer and the first communication means receive the print job data. Print processing means for performing predetermined print processing based on the print job data to be output, and outputting predetermined job information based on the predetermined print processing; and job information output by the print processing means, the print job data Based on a predetermined acquisition request received by the second communication unit, a second communication unit that performs communication related to the job information between the job information storage unit that stores the job information, and the host computer, And print management means for reading predetermined job information from the job information storage means and outputting it to the second communication means. A printer.
[0008]
Here, when the print processing means receives print job data from the first communication means, the print processing means assigns second identification information to the print job data, and the job information storage means assigns the second identification information. Job information of the print job data is stored in a predetermined area corresponding to the information. Thereby, the printer can manage the print job data according to the second identification information.
[0009]
The print management unit associates the first identification information with the second identification information when the predetermined acquisition request is an acquisition request for the second identification information, and It is preferable to output to the communication means. Thereby, the host computer can acquire the second identification information in the printer corresponding to the first identification information in itself.
[0010]
Further, it is preferable that the print management unit reads the job information from the job information storage unit according to the second identification information.
[0011]
Further, it is preferable that the print processing means outputs information indicating a degree of progress of print processing for the print job data as job information. Furthermore, it is preferable that the print processing means outputs information relating to consumption required for the print processing for the print job data as job information. Note that information related to consumption required for the printing process includes, for example, toner consumption, paper consumption, and the like.
[0012]
Further, the present invention provides a generating unit that generates print job data based on application data sent from an application program, an assigning unit that allocates first identification information to the print job data generated by the generating unit, Based on the transmission means for sending the print job data generated by the generating means to the printer together with the first identification information assigned by the assigning means, and the printer based on the first identification information assigned by the assigning means A host computer comprising: acquisition means for acquiring job information of the print job data from the user; and user interface means for presenting the job information acquired by the acquisition means to the user.
[0013]
Furthermore, the present invention is also realized as a program for causing a host computer to realize a predetermined function. Specifically, the present invention is a recording medium on which a control program for realizing a predetermined function is recorded in a host computer, and the control program generates print job data based on application data sent from the application program Generating means, assigning means for assigning job identification information to the print job data generated by the generating means, and outputting the job identification information together with the print job data to a printer; and the job assigned by the assigning means It may be a recording medium on which a control program is recorded, comprising: an acquisition unit that acquires job information of the print job data from the printer based on identification information. These means are configured as a single printer driver or configured as a plurality of modules.
[0014]
The present invention is a print system including a host computer and a printer, wherein the host computer generates print job data based on application data sent from an application program, and the generation unit generates the print job data. Assigning means for assigning first identification information to the print job data to be performed, and sending means for sending the print job data generated by the generating means to the printer together with the first identification information assigned by the assigning means And an acquisition unit that acquires job information of the print job data from the printer based on the first identification information allocated by the allocation unit, and a user that presents the job information acquired by the acquisition unit to the user Interface hand And the printer performs a predetermined printing process based on print job data sent from the host computer, and outputs predetermined job information based on the predetermined printing process, and the printing process Job information storage means for storing job information output by the means for each print job data, and reading predetermined job information from the job information storage means based on a predetermined acquisition request sent from the host computer. And a print management means for outputting to the host computer.
[0015]
The present invention is also established as a method invention. Specifically, the present invention receives print job data having first identification information from a host computer according to a first communication protocol, performs predetermined print processing based on the received print job data, and Predetermined job information based on the printing process is output, the output job information is stored for each print job data, a predetermined acquisition request is received from the host computer according to a second communication protocol, and the predetermined job information is received. The printer control method further comprises: reading predetermined job information from the job information storage unit based on the acquisition request, and sending the read predetermined job information to the host computer.
[0016]
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 computer includes, for example, a so-called microcomputer or control device in which a so-called central processing unit such as a CPU or MPU performs predetermined processing by interpreting a program.
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
[0017]
FIG. 1 is a block diagram showing the overall configuration of the printing system according to the present embodiment. As shown in the figure, the print system according to the present embodiment includes a host computer 1 and a printer 2 connected to each other via a network N. In the figure, only one representative device is shown.
[0018]
The host computer 1 is a user interface unit (hereinafter referred to as “user I / F unit”) that allows a user to interactively operate between an application program execution body (hereinafter referred to as “application”) 11 and the application 11. .) 12, a printer driver execution body (hereinafter referred to as “printer driver”) 13 that converts data handled by the application 11 into print job data, and a communication interface unit (hereinafter referred to as “communication I / F”) for network communication. A monitoring program 15 that acquires the print status of the print job data input to the printer 2 from the printer 2.
[0019]
On the other hand, the printer 2 includes a communication I / F unit 14 b for performing network communication, a print processing unit 16 that performs print processing according to print job data sent from the host computer 1 via the network N, and a print processing unit 16. A print management unit 17 is provided for storing the status of the output print processing and responding to an inquiry about the status of the print processing from the monitoring program 15 of the host computer 1 and returning the status to the host computer 1.
[0020]
The application 11 is typically a word processor or the like that can create and edit text data and image data. A CPU (not shown) executes an application program under the control of the operating system, thereby causing other hardware. The function is realized in cooperation with the wear. The user I / F unit 12 typically includes hardware such as a display, a keyboard, and a mouse, a control program that controls these hardware (sometimes referred to as a device driver), an operating system, and the like. Realize interactive operation with the user. The printer driver 13 converts the data on the application 11 into print job data that the specific printer 1 interprets. The monitoring program 15 has a function for monitoring the status of print processing for print job data input to the printer 2 and typically operates as a so-called daemon program. The communication I / F unit 14 is realized by a LAN driver and various hardware, and performs network communication according to a predetermined communication protocol. In this embodiment, the communication I / F unit 14 includes a first communication protocol for the host computer 1 to send (input) print job data to the printer 2, and printing for the print job data in the printer 2 by the host computer 1. It is preferable to provide a second communication protocol for monitoring the processing status. More specifically, for example, on the TCP / IP base, the communication I / F unit 14 uses lpr for transmission (input) of print job data, and SNMP (Simple Network) for communication for monitoring print job data. Management Protocol) can be used. SNMP is described in RFC (Request For Comments) 1157.
[0021]
The print processing unit 16 interprets the print job data sent from the host computer 1 to generate image data, and supplies this to the print engine, thereby realizing printing. The print management unit 17 manages information on the status of print processing (hereinafter referred to as “job information”) obtained by execution of the print processing unit 16, and in response to an inquiry from the host computer 1, Reply to the host computer 1. Details of the print management unit 17 will be described later.
[0022]
FIG. 2 is a block diagram showing the configuration of the host computer 1 according to the present embodiment. This figure shows the printer driver 13, the communication I / F unit 14a, and the monitoring program 15 shown in FIG. 1 in more detail. In the figure, when receiving data to be printed from the application 11, the job generation unit 131 generates print job data that can be interpreted by the printer 2. The job generation unit 132 sends the generated print job data to the job ID generation unit 132. The job ID assigning unit 132 issues and assigns a job ID for the sent print job data. The job ID is information uniquely identified in each host computer 1 and is expressed by a combination of alphanumeric characters, for example. The job ID assignment unit 132 sends the print job data to which the job ID is assigned to the job input I / F unit 141a of the communication I / F unit 14 and notifies the job monitoring manager 151 of the assigned job ID. The job monitoring manager 151 stores the notified job ID in the job DB 152. Further, the job monitoring manager 151 acquires job information of print job data corresponding to the job ID stored in the job DB 152 from the printer 2 and sends it to the user I / F unit 12. As shown in FIG. 3, the job DB 152 stores a job ID and an index number in association with each other. Here, the index number is information for the printer 2 itself to uniquely identify the print job data. In other words, even if the job ID is unique within each host computer, print job data arrives at the printer 2 from an arbitrary host computer. Therefore, the printer 2 assigns an index number to the print job data received from the host computer 1 as identification information unique to itself. This index number is acquired from the printer 2 by the job monitoring manager 151 as will be described later. The communication I / F unit 14 includes a job input I / F unit 141 a that performs communication for sending print job data to the printer 2 and a job information I / F unit 142 a that performs communication related to job information. The job input I / F unit 141a communicates with the job input I / F unit 141b of the printer 2 by, for example, lpr in order to send print job data to which the job ID is assigned to the printer 2. . On the other hand, the job monitoring I / F unit 142a preferably communicates with the job monitoring I / F unit 142b of the printer 2 by SNMP in order to acquire job information related to specific print job data from the printer 2. Is.
[0023]
FIG. 4 is a block diagram showing a configuration of the printer 2 according to the present embodiment. In the figure, a job submission I / F unit 141b and a job monitoring I / F unit 142b correspond to the job submission I / F unit 141a and the job monitoring I / F unit 142a of the host computer 1 shown in FIG. Network communication with the.
[0024]
The print processing unit 16 typically includes a job buffer unit 161, an image generation unit 162, an engine control unit 163, and a print engine 164. When the job buffer unit 161 receives print job data from the host computer 1 via the job input I / F units 141a and 141b, it stores each print job data. When the job buffer unit 161 stores the print job data, the job buffer unit 161 outputs job information for the print job data to a predetermined area of the job information storage unit 162. Specifically, the job buffer unit 161 first issues a unique index number within the printer. The index number is, for example, an integer value from 0 to 232-1 and is counted up one by one. The index number is held in the nonvolatile RAM so that the current value is not reset even when the printer 2 is turned off. Next, the job buffer unit 161 stores, in a predetermined area of the job information storage unit 162 managed by this index number, the job ID assigned to the print job data and the print processing status information for the print job data ( (Hereinafter referred to as “job status”) is output as job information. In this case, a value (for example, “1”) indicating that the print job data is waiting for printing is output as the job status. The image generation unit 162 sequentially reads the print job data stored in the job buffer unit 161, interprets it, converts it into raster format image data, and develops it in an image memory (not shown). When the printer 2 is color-compatible, the image generation unit 162 generates image data for each color of CMYK. When the image generation unit 162 starts the image data generation process, the image status of the print job data stored in the job information storage unit 162 is a value indicating that printing is in progress (for example, “2 ”). The engine control unit 163 reads the image data expanded in the image memory and sends it to the print engine 164. The print engine 164 performs printing on a print recording medium. For example, in the case of a laser printer, the print engine 164 includes a laser irradiation mechanism, a photosensitive drum, a thermal fixing mechanism, a paper feed mechanism, and the like. The engine control unit 163 outputs job information obtained at the time of sending to the print engine 164 to the job information storage unit 162. The job information output by the engine control unit 163 includes toner (ink) consumption, paper size, paper consumption, and the like. In the case of color printing, the toner consumption is output to the job information storage unit 162 for each color of YMCK. In addition, when printing by the print engine 153 is normally completed, the engine control unit 163 outputs a value (for example, “3”) indicating that normal printing is completed as a job state.
[0025]
In response to a job information acquisition request sent from the job information I / F unit 142b, the job monitoring agent 171 extracts job information from a predetermined storage area of the job information storage unit 172, and extracts this job information I / F unit 142b. Reply to The job information storage unit 172 stores job information sent from each unit of the print processing unit 16 for each print job data.
[0026]
FIG. 5 shows an example of job information stored in the job information storage unit 172. The job information is composed of elements of “index number”, “job ID”, “job status”, “number of printed pages”, “toner consumption” and “paper size / consumption number” for each YMCK. The purpose is not limited to this. As described above, the “index number” is for identifying print job data in the printer itself. The “job ID” is for identifying print job data in the host computer 1 assigned by the host computer 1 itself. In other words, even when a unique job ID is assigned to each host computer 1, there is a possibility that a job ID conflict occurs in the printer 2 shared by a plurality of host computers 1. The print job data is identified by the number. The “job status” indicates the progress status of the printing process for the input print job data. The progress status includes, for example, waiting for printing, printing, termination of printing, termination of interruption, and the like, and each is indicated by a numerical value. “Number of printed pages” is the number of pages (number of pages) printed normally without error. The “toner consumption amount” is a toner consumption amount calculated based on image data or indicated by a toner remaining amount sensor provided in the print engine mechanism. “Paper size / number of consumed sheets” is the number of consumed sheets for each sheet size, that is, the number of discharged sheets. The job information storage unit 172 secures a storage area for each print job data and stores the job information there. In the present embodiment, the job information storage unit 172 has 16 storage areas, and stores job information of 16 print job data items most recently input.
[0027]
FIG. 6 shows how each part of the print processing unit 16 sets job information in the job information storage unit 172. In other words, when storing the print job data, the job buffer unit 161 sets “index number”, “job ID”, “job state”, and “number of printed pages”, respectively (FIG. 5A). Next, when the image generation unit 151 starts to generate image data, the image generation unit 151 sets “job state” to “2” ((b) in the figure). Then, the engine control unit 163 appropriately updates the contents of the job information storage unit 172 during printing based on the print job data ((c) in the figure).
[0028]
The print system according to the present embodiment uses SNMP to enable the host computer 1 to monitor the job information of the printer 2. That is, the SNMP manager configured on the host computer 1 is realized by the job monitoring manager 151, the job DB 152, and the job monitoring I / F unit 142a. On the other hand, the SNMP agent configured on the printer 2 is realized by the job monitoring agent 171, the job information storage unit 172, and the job monitoring I / F unit 142b. In SNMP, the structure of a database in which management information is described is defined by MIB (Management Information Base). That is, each element of the job information in the present embodiment corresponds to each object in the MIB. FIG. 7 shows a part of the MIB structure defined in the present embodiment. In the figure, it is assumed that the upper space of the MIB structure is omitted. Each element of the job information shown in FIG. 6 is specified by an object ID. The SNMP manager can acquire desired job information from the SNMP agent by designating the object ID of the job information to be acquired and sending a predetermined acquisition request to the SNMP agent.
[0029]
For example, when the SNMP manager obtains an index number for a predetermined job ID “dfA204” from the SNMP agent, “dfA204” is set in the object ID “1.3.3.6.1.0” by the SetRequest command. Next, when the SNMP manager sends the object ID “1.3.6.2.0” by the GetRequest command, “dfA204 = 5” is returned from the SNMP agent by the GetResponce command. Thereby, the SNMP manager can acquire the index number. Note that the SNMP manager compares the job ID sent by itself with the job ID acquired from the SNMP agent and determines that they do not match, the process is repeated until they match.
[0030]
When the SNMP manager acquires the index number, the SNMP manager designates the object ID using the index number, and collects job information by the GetRequest command. For example, when the SNMP manager sends the object ID “1.3.6.4.5” by the GetRequest command, the SNMP manager acquires “2” as the job status by the GetResponce command from the SNMP agent. Further, when the SNMP manager sends the object ID “1.3.3.6.3.5” by the GetRequest command, the SNMP manager acquires “8” as the number of normally printed pages by the GetResponce command from the SNMP agent. Thereafter, the SNMP manager repeats the above process as many times as necessary to collect job information.
[0031]
FIG. 8 is a flowchart for explaining print job data input processing by the host computer 1. First, when data is delivered from the application 11, the job generation unit 131 converts it into print job data (STEP 801). Next, the job ID assigning unit 132 issues a job ID, sends it to the communication I / F unit 14 together with the print job data (STEP 802), and notifies the job monitoring agent 133 of it. Then, the job monitoring agent 133 registers the job ID in the job DB 152 (STEP 803).
[0032]
FIG. 9 is a flowchart for explaining job information acquisition processing by the host computer 1. When the job monitoring manager 151 receives an acquisition instruction for job information designated by a predetermined job ID from the user I / F unit 12, the job monitoring manager 151 first refers to the job DB 152 (STEP 901), and an index number corresponding to the job ID is obtained. It is checked whether or not it has already been acquired from the printer 2 (STEP 902). If the job monitoring manager 151 determines that an index number has not yet been acquired, the job monitoring manager 151 sets a job ID for the printer 2 (STEP 903), and returns a response in the form of “job ID = index number” from the printer 2. Is received (STEP 904). The job monitoring manager 151 compares the job ID set for the printer 2 with the job ID acquired from the printer 2 (STEP 905), and if it is determined that they do not match, the process proceeds to STEP 903. If the job monitoring manager 151 determines that the two job IDs match, the job monitoring manager 151 registers the acquired index number in the job ID 134 (STEP 906). After obtaining the index number, the job monitoring manager 151 collects job information for the printer 2 using this index number (STEP 907). Collection of job information may be all elements of job information or only elements specified by the user. However, depending on the progress of the printing process, it may not be possible to obtain all of them. When the job monitoring manager 151 obtains job information from the printer 2, it sends it to the user I / F unit 12 (STEP 908). Thereby, the job information is presented to the user by the user I / F unit 12, and the user can grasp the current job information of the designated print job data.
[0033]
FIG. 10 is a flowchart for explaining response processing by the printer 2 in response to a job information acquisition request sent from the host computer 1. As shown in the figure, when receiving a predetermined request for job information from the job information I / F unit 142b, the job monitoring agent 171 determines whether this is a job ID setting request (STEP 1001). ). When the job monitoring agent 171 determines that the request is a job ID setting request, the job monitoring agent 171 writes the job ID in a predetermined storage area of the job information storage unit 172 (STEP 1002). If the job monitoring agent 171 determines NO in STEP 1001, it next determines whether or not this request is an index number acquisition request (STEP 1003). If the job monitoring agent 171 determines that the request is an index number acquisition request, the job monitoring agent 171 searches for the index number for the job ID and returns a response in the form of “job ID = index number” (STEP 1004). If the job monitoring agent 171 determines NO in STEP 1003, it next determines whether or not this request is a job information acquisition request (STEP 1005). If the job monitoring agent 171 determines that the request is a job information acquisition request, the job monitoring agent 171 searches the job information of the print job data corresponding to the index number from the job information storage unit 172, and returns this (STEP 1006). The job monitoring agent 171 repeats the above processing until an end instruction is given.
[0034]
As described above, according to this embodiment, the printer 2 outputs job information of print job data input from the host computer 1 to the job information storage unit 172. In this case, since the printer 2 assigns an index number for each print job data, the job information can be managed for each print job data.
[0035]
Further, according to the present embodiment, the host computer 1 issues a job information acquisition request to the printer 2 that manages such job information according to a predetermined communication protocol, and the printer 2 responds to the acquisition request. In response, predetermined job information is returned to the host computer 1. As a result, the host computer 1 can acquire job information for specific print job data from the printer 2.
[0036]
In particular, in the present embodiment, since communication related to job information is performed using SNMP, the host computer 1 can acquire job information from the printer 2 very easily without requiring a complicated mechanism.
[0037]
The said embodiment is an illustration for demonstrating this invention, and is not the meaning which limits this invention only to the said 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.
[0038]
Moreover, although the said embodiment demonstrated the printer driver 13 and the monitoring program 15 as an independent execution body, respectively, it does not stick to this. For example, the printer driver 13 may be configured to convert the data on the application 11 into print job data for interpretation by a specific printer 1 and to monitor the status of print processing in the printer 2.
【The invention's effect】
According to the present invention, the host computer can acquire the status of print processing for print job data sent to the printer. As a result, the user can grasp the status of the printing process for his / her own print job data sent to the printer.
[Brief description of the drawings]
FIG. 1 is a block diagram showing the overall configuration of a printing system.
FIG. 2 is a block diagram showing the configuration of the host computer 1
FIG. 3 is a diagram showing the contents of a job DB 154
FIG. 4 is a block diagram showing the configuration of the printer 2
FIG. 5 is a diagram showing an example of job information
6 is a diagram illustrating a state in which the print processing unit 16 sets job information in the job information storage unit 172. FIG.
FIG. 7 shows a part of the MIB structure.
FIG. 8 is a flowchart for explaining print job data input processing by the host computer 1;
FIG. 9 is a flowchart for explaining job information acquisition processing by the host computer 1;
FIG. 10 is a flowchart for explaining response processing by the printer 2 with respect to a job information acquisition request;
[Explanation of symbols]
1 ... Host computer
2. Printer
11 ... Application program
12 ... User interface part
13. Printer driver
14. Communication interface part
15 ... Monitoring program
16: Print processing section
17. Print management department

Claims (10)

各ホストコンピュータ内でユニークに識別される第1の識別情報を有するプリントジョブデータを受信するために、ホストコンピュータとの間で通信を行う第1の通信手段と、
前記第1の通信手段によって受信されるプリントジョブデータに基づいて所定の印刷処理を行い、前記所定の印刷処理に基づく所定のジョブ情報を出力する印刷処理手段と、
前記印刷処理手段によって出力されるジョブ情報を、前記プリントジョブデータごとに前記第1の識別情報と対応付けて記憶するジョブ情報記憶手段と、
前記ホストコンピュータとの間で前記ジョブ情報に関する通信を行う第2の通信手段と、
前記第2の通信手段によって受信される所定の取得要求に基づいて、前記ジョブ情報記憶手段から所定のジョブ情報を読み出して、前記第2の通信手段に出力する印刷管理手段とを備えたことを特徴とするプリンタ。
First communication means for communicating with a host computer to receive print job data having first identification information uniquely identified in each host computer ;
Print processing means for performing predetermined print processing based on print job data received by the first communication means and outputting predetermined job information based on the predetermined print processing;
Job information storage means for storing job information output by the print processing means in association with the first identification information for each print job data;
Second communication means for communicating the job information with the host computer;
Print management means for reading predetermined job information from the job information storage means based on a predetermined acquisition request received by the second communication means, and outputting the read job information to the second communication means. Features printer.
前記印刷処理手段は、
前記第1の通信手段からプリントジョブデータを受け取った場合に、前記プリントジョブデータにプリンタ自身が前記プリントジョブデータをユニークに識別するための第2の識別情報を割り当て、
前記ジョブ情報記憶手段は、
前記第2の識別情報に対応する所定の領域に前記プリントジョブデータのジョブ情報を記憶することを特徴とする請求項1記載のプリンタ。
The print processing means includes
When receiving print job data from the first communication means, the printer itself assigns second identification information for uniquely identifying the print job data to the print job data ;
The job information storage means includes
2. The printer according to claim 1, wherein job information of the print job data is stored in a predetermined area corresponding to the second identification information.
前記印刷管理手段は、
前記所定の取得要求が前記第2の識別情報の取得要求である場合に、前記第1の識別情報と前記第2の識別情報とを関連付けて、前記第2の通信手段に出力することを特徴とする請求項2記載のプリンタ。
The print management means includes
When the predetermined acquisition request is an acquisition request for the second identification information, the first identification information and the second identification information are associated with each other and output to the second communication unit. The printer according to claim 2.
前記印刷管理手段は、
前記第2の識別情報に従って前記ジョブ情報記憶手段から前記ジョブ情報を読み出すことを特徴とする請求項3記載のプリンタ。
The print management means includes
4. The printer according to claim 3, wherein the job information is read from the job information storage unit according to the second identification information.
前記印刷処理手段は、
前記プリントジョブデータに対する印刷処理の進捗の度合いを示す情報をジョブ情報として出力することを特徴とする請求項1乃至4記載のプリンタ。
The print processing means includes
5. The printer according to claim 1, wherein information indicating a degree of progress of print processing for the print job data is output as job information.
前記印刷処理手段は、
前記プリントジョブデータに対する印刷処理に要する消費に関する情報をジョブ情報として出力することを特徴とする請求項1乃至5記載のプリンタ。
The print processing means includes
6. The printer according to claim 1, wherein information relating to consumption required for a printing process for the print job data is output as job information.
アプリケーションプログラムから送られるアプリケーションデータに基づいてプリントジョブデータを生成する生成手段と、
前記生成手段によって生成されるプリントジョブデータに対して各ホストコンピュータ内でユニークに識別される第1の識別情報を割り当てる割当手段と、
前記生成手段によって生成されたプリントジョブデータを、前記割当手段によって割り当てられた第1の識別情報とともにプリンタに送る送信手段と、
前記割当手段により割り当てられた第1の識別情報に基づいて、前記プリンタから前記プリントジョブデータのジョブ情報を取得する取得手段と、前記取得手段により取得されたジョブ情報をユーザに提示するユーザインターフェース手段と、を備えたことを特徴とするホストコンピュータ。
Generating means for generating print job data based on application data sent from an application program;
Assigning means for assigning first identification information uniquely identified in each host computer to the print job data generated by the generating means;
Sending means for sending the print job data generated by the generating means to the printer together with the first identification information assigned by the assigning means;
An acquisition unit that acquires job information of the print job data from the printer based on the first identification information allocated by the allocation unit, and a user interface unit that presents the job information acquired by the acquisition unit to the user And a host computer.
ホストコンピュータに所定の機能を実現する制御プログラムを記録した記録媒体であって、前記制御プログラムは、
アプリケーションプログラムから送られるアプリケーションデータに基づいてプリントジョブデータを生成する生成手段と、
前記生成手段によって生成されるプリントジョブデータに対して各ホストコンピュータ内でユニークに識別されるジョブ識別情報を割り当て、前記プリントジョブデータとともにジョブ識別情報をプリンタに対して出力する割当手段と、
前記割当手段により割り当てられたジョブ識別情報に基づいて、前記プリンタから前記プリントジョブデータのジョブ情報を取得する取得手段と、を備えたことを特徴とする制御プログラムを記録した記録媒体。
A recording medium recording a control program for realizing a predetermined function in a host computer, wherein the control program is
Generating means for generating print job data based on application data sent from an application program;
Allocating means for assigning job identification information uniquely identified in each host computer to print job data generated by the generating means, and outputting job identification information to the printer together with the print job data;
An acquisition means for acquiring job information of the print job data from the printer based on the job identification information assigned by the assignment means.
ホストコンピュータとプリンタとを備えたプリントシステムであって、
前記ホストコンピュータは、
アプリケーションプログラムから送られるアプリケーションデータに基づいてプリントジョブデータを生成する生成手段と、
前記生成手段によって生成されるプリントジョブデータに対して各ホストコンピュータ内でユニークに識別される第1の識別情報を割り当てる割当手段と、
前記生成手段によって生成されたプリントジョブデータを、前記割当手段によって割り当てられた第1の識別情報とともに前記プリンタに送る送信手段と、
前記割当手段により割り当てられた第1の識別情報に基づいて、前記プリンタから前記プリントジョブデータのジョブ情報を取得する取得手段と、
前記取得手段により取得されたジョブ情報をユーザに提示するユーザインターフェース手段と、を備え、
前記プリンタは、
前記ホストコンピュータから送られるプリントジョブデータに基づいて所定の印刷処理を行い、前記所定の印刷処理に基づく所定のジョブ情報を出力する印刷処理手段と、
前記印刷処理手段によって出力されるジョブ情報を、前記プリントジョブデータごとに前記第1の識別情報と対応付けて記憶するジョブ情報記憶手段と、
前記ホストコンピュータから送られる所定の取得要求に基づいて、前記ジョブ情報記憶手段から所定のジョブ情報を読み出して、前記ホストコンピュータに対して出力する印刷管理手段と、
を備えたことを特徴とするプリントシステム。
A printing system comprising a host computer and a printer,
The host computer
Generating means for generating print job data based on application data sent from an application program;
Assigning means for assigning first identification information uniquely identified in each host computer to the print job data generated by the generating means;
Sending means for sending the print job data generated by the generating means to the printer together with the first identification information assigned by the assigning means;
Obtaining means for obtaining job information of the print job data from the printer based on the first identification information assigned by the assigning means;
User interface means for presenting the job information obtained by the obtaining means to the user,
The printer is
Print processing means for performing predetermined print processing based on print job data sent from the host computer and outputting predetermined job information based on the predetermined print processing;
Job information storage means for storing job information output by the print processing means in association with the first identification information for each print job data;
Print management means for reading predetermined job information from the job information storage means based on a predetermined acquisition request sent from the host computer, and outputting the read job information to the host computer;
A printing system characterized by comprising:
ホストコンピュータから第1の通信プロトコルに従って各ホストコンピュータ内でユニークに識別される第1の識別情報を有するプリントジョブデータを受け取り、
前記受信したプリントジョブデータに基づいて所定の印刷処理を行うとともに、前記所定の印刷処理に基づく所定のジョブ情報を出力し、
前記出力したジョブ情報を、前記プリントジョブデータごとに前記第1の識別情報と対応付けて記憶しておき、
前記ホストコンピュータから第2の通信プロトコルに従って所定の取得要求を受け取り、
前記所定の取得要求に基づいて前記ジョブ情報記憶手段から所定のジョブ情報を読み出し、
前記読み出した所定のジョブ情報を前記ホストコンピュータに送ることを特徴とするプリンタの制御方法。
Receiving print job data having first identification information uniquely identified in each host computer according to a first communication protocol from the host computer;
Performs predetermined printing processing based on the received print job data, and outputs predetermined job information based on the predetermined printing processing,
The output job information is stored in association with the first identification information for each print job data,
Receiving a predetermined acquisition request from the host computer according to a second communication protocol;
Read predetermined job information from the job information storage means based on the predetermined acquisition request,
A printer control method, comprising: transmitting the read predetermined job information to the host computer.
JP19364799A 1999-07-07 1999-07-07 Printer, printing system, and printer process monitoring method Expired - Fee Related JP3775555B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19364799A JP3775555B2 (en) 1999-07-07 1999-07-07 Printer, printing system, and printer process monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19364799A JP3775555B2 (en) 1999-07-07 1999-07-07 Printer, printing system, and printer process monitoring method

Publications (2)

Publication Number Publication Date
JP2001022546A JP2001022546A (en) 2001-01-26
JP3775555B2 true JP3775555B2 (en) 2006-05-17

Family

ID=16311432

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19364799A Expired - Fee Related JP3775555B2 (en) 1999-07-07 1999-07-07 Printer, printing system, and printer process monitoring method

Country Status (1)

Country Link
JP (1) JP3775555B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5258182B2 (en) 2006-01-27 2013-08-07 セイコーエプソン株式会社 Ink jet printer, ink charging system, and control method of ink jet printer
JP5728246B2 (en) 2011-02-21 2015-06-03 キヤノン株式会社 Printing system, printing apparatus, control method therefor, and program
JP7069958B2 (en) * 2018-03-29 2022-05-18 ブラザー工業株式会社 Printing equipment and systems

Also Published As

Publication number Publication date
JP2001022546A (en) 2001-01-26

Similar Documents

Publication Publication Date Title
JP5444881B2 (en) Information processing apparatus and information processing system
US6894800B2 (en) Information processing apparatus and information display method for displaying job information relating to an output job
US7283266B2 (en) Information processing apparatus and print control apparatus, data processing method, storage medium and program
US20070229877A1 (en) Technology for dealing with errors in printing device
JPH1153139A (en) Network system, network managing method, interface device, recording medium recording program for operating interface device and terminal equipment
CN100409167C (en) Status information processor
JP2008257632A (en) Information management device, information management method and program
US8270001B2 (en) Printing apparatus and canceling method
US20120188602A1 (en) Printing system, control method of the same, print server, control method of the print server, and storage medium
JP3775555B2 (en) Printer, printing system, and printer process monitoring method
JP2004070871A (en) Network printer and data sharing printing system
JPH1021021A (en) Print system and print control method
JP3508752B2 (en) Printing system, method and printer
JPH11149354A (en) Printing system/method and printer
CN101489008B (en) Device setting system, device setting method
JP2009140063A (en) File management module, printing device, file management method, file management program
JP2008046858A (en) Usb device, printer, and control method and program of usb device
US8880750B2 (en) Peripheral device, information processing system, control method, and storage medium
JPH086746A (en) Printer device
JP2001047706A (en) Imaging system in network environment
JPH11115282A (en) Printer system and control method thereof, information processing device and controlling method thereof, and computer readable memory
JP3810238B2 (en) Print job management apparatus, print job management method, and recording medium recording program
JPH08156371A (en) Image output device, host computer and network housing both of them
JP2004126943A (en) Printing processor, printing processing method, and printing processing program
JP2002163083A (en) Network printer management method, printing system, and information processing device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051114

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060215

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100303

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100303

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110303

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120303

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120303

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130303

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140303

Year of fee payment: 8

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