JP3706728B2 - Printing apparatus, printing system, status information transmission method, and apparatus to which the status information transmission method is applied - Google Patents

Printing apparatus, printing system, status information transmission method, and apparatus to which the status information transmission method is applied Download PDF

Info

Publication number
JP3706728B2
JP3706728B2 JP02155798A JP2155798A JP3706728B2 JP 3706728 B2 JP3706728 B2 JP 3706728B2 JP 02155798 A JP02155798 A JP 02155798A JP 2155798 A JP2155798 A JP 2155798A JP 3706728 B2 JP3706728 B2 JP 3706728B2
Authority
JP
Japan
Prior art keywords
address information
time
input
storage means
stored
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
JP02155798A
Other languages
Japanese (ja)
Other versions
JPH11203094A (en
Inventor
建 宇都宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP02155798A priority Critical patent/JP3706728B2/en
Publication of JPH11203094A publication Critical patent/JPH11203094A/en
Application granted granted Critical
Publication of JP3706728B2 publication Critical patent/JP3706728B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、印刷装置、印刷システム、状態情報送信方法、及び該状態情報送信方法が適用される機器に関する。
【0002】
【従来の技術】
従来、双方向インターフェースを介してホストコンピュータと印刷装置を接続して印刷装置の状態をホストコンピュータの画面に表示させるような印刷システムのにおいて、印刷装置の状態に関する情報を印刷装置から能動的にホストコンピュータに送信するときには、ネットワークに接続されている他の全ての装置に対して同様のデータを転送する手法(ブロードキャスト)が採用されていた。
【0003】
また、この種の印刷システムにおいて、印刷装置の状態に関する情報を印刷装置から能動的にホストコンピュータに送信する場合は、ホストコンピュータから入力される状態に関する情報の通知先アドレスに対して、印刷装置が状態に関する情報を通知するように構成されていた。
【0004】
【発明が解決しようとする課題】
しかしながら、ブロードキャストによって情報を送信する場合、ルータを越えて異なるセグメントのホストコンピュータに対して情報を送信することができなかった。また、ホストコンピュータから情報の通知先アドレスを入力する場合、ルータを越えて通知アドレスを入力することは可能であるが、ホストコンピュータ側のアプリケーションが異常終了した場合には通知アドレスの削除が行われないので、印刷装置側にその内容が残ってしまい、その結果、送信する必要のないホストコンピュータに対してまで情報が送信されてしまうという不具合があった。
【0005】
本発明は、上記点に着目してなされたもので、不必要なホストコンピュータへのデータ送信をなくすことができる印刷装置、印刷システム、状態情報送信方法、及び該状態情報送信方法が適用される機器を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記目的を達成するために、ネットワークを介して接続されている上位装置から送られてくる当該上位装置を特定するアドレス情報を入力する入力手段と、前記入力手段により入力されたアドレス情報を記憶する記憶手段と、自己装置の状態を検出する検出手段と、前記検出手段により検出された自己装置の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記上位装置に送信する送信手段とを有する印刷装置であって、前記上位装置から送られてきた前記アドレス情報が入力された時刻を当該アドレス情報に対応させて記憶する入力時刻記憶手段と、前記入力時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えているか否かを判別する判別手段と、前記判別手段により前記入力時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えていると判別された場合に、自己装置の状態に関する情報が前記送信手段により前記上位装置に送信されないようにするために、前記記憶された時刻に対応するアドレス情報を前記記憶手段から削除する削除手段と、前記入力時刻記憶手段に記憶された時刻を更新するために前記記憶手段に記憶されているアドレス情報と同じアドレス情報が前記入力手段により入力された場合、当該アドレス情報に対応する時刻を更新する時刻更新手段と、を備えることを特徴とする。
また、ネットワークを介して接続されているホストコンピュータから送られてくる当該ホストコンピュータを特定するアドレス情報を入力する入力手段と、前記入力手段により入力されたアドレス情報を記憶する記憶手段と、自己の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記ホストコンピュータに送信する送信手段と、前記入力手段により入力されたアドレス情報に対応させて時刻を記憶する時刻記憶手段と、前記入力手段によりアドレス情報が入力された場合、当該アドレス情報に対応する時刻として現在の時刻を設定する時刻設定手段と、前記時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えている場合に、前記時刻記憶手段に記憶された時刻に対応するアドレス情報を前記記憶手段から削除する削除手段と、前記時刻記憶手段に記憶された時刻を更新するために前記記憶手段に記憶されているアドレス情報と同じアドレス情報が前記入力手段により入力された場合、当該アドレス情報に対応する時刻を現在の時刻で更新する時刻更新手段と、を備えることを特徴とする。
また、ネットワークを介して接続されているホストコンピュータから送られてくる当該ホストコンピュータを特定するアドレス情報を入力する第1の入力手段と、前記第1の入力手段により入力されたアドレス情報を記憶する記憶手段と、自己の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記ホストコンピュータに送信する送信手段と、アドレス情報の登録を更新するために、ネットワークを介して接続されているホストコンピュータから送られてくる、前記記憶手段に記憶されているアドレス情報と同じアドレス情報を入力する第2の入力手段と、前記第1の入力手段によりアドレス情報が入力された後、当該アドレス情報と同じアドレス情報が前記第2の入力手段により入力されずに所定時間が経過した場合、当該アドレス情報を前記記憶手段から削除する削除手段と、を備えることを特徴とする。
【0007】
さらに、ネットワークを介して接続されている他のシステムから送られてくる当該他のシステムを特定するアドレス情報を入力する入力装置と、前記入力装置により入力されたアドレス情報を記憶する記憶装置と、自己印刷システムの状態を検出する検出装置と、前記検出装置により検出された状態に関する情報を前記記憶装置に記憶されたアドレス情報に従って前記他のシステムに送信する送信装置とを有する印刷システムであって、前記他のシステムから送られてきた前記アドレス情報が入力された時刻を当該アドレス情報に対応させて記憶する入力時刻記憶手段と、前記入力時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えているか否かを判別する判別手段と、前記判別手段により前記入力時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えていると判別された場合に、自己印刷システムの状態に関する情報が前記送信装置により前記他のシステムに送信されないようにするために、前記記憶された時刻に対応するアドレス情報を前記記憶装置にから削除する削除手段と、前記入力時刻記憶手段に記憶された時刻を更新するために前記記憶装置に記憶されているアドレス情報と同じアドレス情報が前記入力装置により入力された場合、当該アドレス情報に対応する時刻を更新する時刻更新手段と、を備えることを特徴とする。
【0008】
また、上記目的を達成するために、ネットワークを介して接続されている上位装置から送られてくる当該上位装置を特定するアドレス情報を入力し、入力されたアドレス情報を記憶手段に記憶し、自己装置の状態を検出し、前記検出された自己装置の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記上位装置に送信する印刷装置の状態情報送信方法であって、前記上位装置から送られてきた前記アドレス情報が入力された時刻を当該アドレス情報に対応させて記憶する工程と、前記記憶された時刻と現在の時刻との差が所定時間を超えているか否かを判別する工程と、前記記憶された時刻と現在の時刻との差が所定時間を超えていると判別された場合に、自己装置の状態に関する情報が前記上位装置に送信されないようにするために、前記記憶された時刻に対応するアドレス情報を削除する工程と、前記記憶された時刻を更新するために前記記憶手段に記憶されているアドレス情報と同じアドレス情報が入力された場合、当該アドレス情報に対応する時刻を更新する工程とを有することを特徴とする。
また、ネットワークを介して接続されているホストコンピュータから送られてくる当該ホストコンピュータを特定するアドレス情報を入力する工程と、入力されたアドレス情報を記憶手段に記憶する工程と、自己の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記ホストコンピュータに送信する工程と、アドレス情報が入力された場合、当該アドレス情報に対応する時刻として現在の時刻を設定する工程と、前記設定された時刻と現在の時刻との差が所定時間を超えている場合に、前記設定された時刻に対応するアドレス情報を前記記憶手段から削除する工程と、前記設定された時刻を更新するために前記記憶手段に記憶されているアドレス情報と同じアドレス情報が入力された場合、当該アドレス情報に対応する時刻を現在の時刻で更新する工程とを有することを特徴とする。
【0009】
さらに、ネットワークを介して接続されているホストコンピュータから送られてくる当該ホストコンピュータを特定するアドレス情報を入力する第1の入力工程と、前記第1の入力工程により入力されたアドレス情報を記憶手段に記憶する工程と、自己の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記ホストコンピュータに送信する工程と、アドレス情報の登録を更新するために、ネットワークを介して接続されているホストコンピュータから送られてくる、前記記憶手段に記憶されているアドレス情報と同じアドレス情報を入力する第2の入力工程と、前記第1の入力工程によりアドレス情報が入力された後、当該アドレス情報と同じアドレス情報が前記第2の入力工程により入力されずに所定時間が経過した場合、当該アドレス情報を前記記憶手段から削除する工程とを有することを特徴とする。
【0010】
【発明の実施の形態】
以下、本発明の実施の一形態を、図面を参照して説明する。
【0011】
図1は、本実施の形態に係る印刷装置の概略構成を示す断面図である。本実施の形態では、印刷装置の一例としてレーザビームプリンタ(LBP)(以下、「プリンタ」という)について説明する。
【0012】
同図において、1000はプリンタ本体であり、外部に接続されているホストコンピュータから供給される印刷情報(文字コード等)やフォーム情報あるいはマクロ命令等を記憶するとともに、それらの情報に従って対応する文字パターンやフォームパターン等を作成し、記録媒体である記録紙等に像を形成する。
【0013】
1012は操作のためのスイッチ及びLED表示器等が配置されている操作パネルであり、1001はプリンタ本体1000全体の制御を行うとともにホストコンピュータから供給される文字情報等を解析するプリンタ制御ユニットである。このプリンタ制御ユニット1001は、主に文字情報を対応する文字パターンのビデオ信号に変換してレーザドライバ1002に出力する。
【0014】
レーザドライバ1002は、半導体レーザ1003を駆動するための回路であり、プリンタ制御ユニット1001から入力されたビデオ信号に応じて半導体レーザ1003により発射されるレーザ光1004をオン・オフ制御する。
【0015】
レーザ光1004は回転多面鏡1005により左右方向に振らされて、静電ドラム1006上を走査・露光する。これにより、静電ドラム1006上には文字パターンの静電潜像が形成されることになる。この潜像は、静電ドラム1006周囲に配設された現像ユニット1007により現像された後、記録紙に転写される。
【0016】
記録紙にはカットシートが用いられる。カットシート記録紙はプリンタ1000に装着された用紙カセット1008に収納され、給紙ローラ1009及び搬送ローラ1010とにより、装置内に取り込まれて、静電ドラム1006に供給される。
【0017】
また、プリンタ本体1000には、図示しないカードスロットを少なくとも1個以上備え、内蔵フォントに加えてオプションフォントカード、言語系の異なる制御カード(エミュレーションカード)を接続可能に構成されている。
【0018】
図2は、図1に示したプリンタが接続されて構成されている、印刷システムの構成を示すブロック図である。
【0019】
同図において、3000はホストコンピュータであって、ROM3のプログラム用ROMに記憶された文書処理プログラム等に基づいて図形、イメージ、文字、表(表計算等を含む)等が混在した文書処理を実行可能なCPU1を備えている。CPU1は、システムデバイス4に接続される各デバイスを総括的に制御する。
【0020】
ROM3のプログラム用ROMにはCPU1の制御プログラム等が記憶され、ROM3のフォント用ROMには文書処理の際に使用されるフォントデータ等が記憶され、ROM3のデータ用ROMには文書処理等を行う際に使用される各種データが記憶されている。
【0021】
2はRAMであり、CPU1の主メモリ又はワークエリアとして機能する。
【0022】
5はキーボードコントローラ(KBC)であり、キーボード9や不図示のポインティングデバイスからのキー入力を制御する。
【0023】
6はCRTコントローラ(CRTC)であり、CRTディスプレイ(CRT)10の表示を制御する。
【0024】
7はメモリコントローラ(MC)であり、ブートプログラム、種々のアプリケーション、フォントデータ、ユーザファイル、編集ファイル等を記憶するハードディスク(HD)、フロッピーディスク(FD)等の外部メモリ11とのアクセスを制御する。
【0025】
8はプリンタコントローラ(PRTC)であり、所定の双方向性インターフェース(以下、「インターフェース」という)21を介してプリンタ1000に接続され、プリンタ1000との通信制御処理を実行する。
【0026】
なお、CPU1は、例えばRAM2上に設定された表示情報RAMへのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT10上でのWYSIWYGを可能としている。
【0027】
また、CPU1は、CRT10上の不図示のマウスカーソル等で指示されたコマンドに基づいて、登録されている種々のウインドウを開き、種々のデータ処理を実行する。
【0028】
プリンタ本体1000において、12はプリンタCPUであり、ROM13のプログラム用ROMに記憶された制御プログラム等あるいは外部メモリ14に記憶され制御された制御プログラム等に基づいてシステムバス15に接続される各種のデバイスとのアクセスを総括的に制御し、印刷部インターフェース16を介して接続される印刷部(プリンタエンジン)17に印刷出力情報としての画像信号を出力する。
【0029】
また、このROM13のプログラムROMには、CPU12が後述する図10〜図14に示すフローチャートを実行するための制御プログラムが記憶される。また、ROM13のフォント用ROMには上記出力情報を生成する際に使用するフォントデータ等が記憶される。また、ROM13のデータ用ROMにはハードディスク等の外部メモリ14を有していないプリンタの場合には、ホストコンピュータ3000上で利用される情報等が記憶される。
【0030】
CPU12は、入力部18を介してホストコンピュータ3000との通信処理が可能であり、プリンタ内の情報等をホストコンピュータ3000に通知可能に構成されている。
【0031】
19はCPU12の主メモリ、ワークメモリ等として機能するRAMであり、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。
【0032】
なお、RAM19は、出力情報展開領域、環境データ格納領域、NVRAM等として用いられる。
【0033】
前述したハードディスク(HD)、ICカード等の外部メモリ14は、メモリコントローラ(MC)20によりアクセスを制御される。外部メモリ14は、オプションとして接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。
【0034】
また、入力部18には、操作パネルにおける操作のためのスイッチ及びLED表示器等が配されている。
【0035】
また、前述した外部メモリは1個に限らず、少なくとも1個以上備えられており、内蔵フォントに加えてオプションフォントカード、言語系の異なるプリンタ制御言語を解釈するプログラムを格納した外部メモリを複数接続可能に構成されていてもよい。更に、図示しないNVRAMを有し、操作パネル1012からのプリンタモード設定情報を記憶するようにしてもよい。
【0036】
図3は、上述したホストコンピュータ3000上で動作するアプリケーションの画面の構成を示す説明図である。
【0037】
図3(a)において、3001は、ホストコンピュータ3000に備えられているCRTディスプレイ10の画面を示している。画面3001には、ネットワークに接続されているプリンタの一覧が、対象となるプリンタを選択するために表示されている。
【0038】
画面3001において、領域3002、3003及び3004には、現在ネットワークに接続されているプリンタが表示されており、領域3005、3006及び3007にはプリンタの名称が表示されている。なお、プリンタ名称は、プリンタ名称取得コマンド(不図示)により取得されるものとする。
【0039】
ポインティングデバイス(不図示)又はキーボード9からの入力によって領域3002、3003又は3004を選択することにより、操作者は、プリンタA、B又はCのいずれかを選択することができる。対象となるプリンタが選択されると、CRTディスプレイ10には画面3009が表示される。図3(b)に示す画面3009は、画面3001上で選択されたプリンタの状態を表示する画面である。
【0040】
画面3009はプリンタの状態を示すメッセージ部3010と、プリンタイメージビットマップ3011と終了ボタン3012とから構成されている。メッセージ部3010及び終了ボタン3012は、後述するようにノーティファイパケットの形式でプリンタから能動的に送られてくるステータスコードに応じて表示される。
【0041】
ここで、ステータスコードとメッセージ及びイメージビットマップとの対応付けは、後述するステータスコード対応テーブルに基づいて行われる。ステータスコードに対応するメッセージ文字列及びイメージビットマップは、予めホストコンピュータ3000のメモリ(ROM3又は外部メモリ11)内に格納されているものとする。また、ポインティングデバイス又はキーボード9からの入力によって終了ボタン3012が選択されると、図3(a)に示した画面3001が再度表示される。
【0042】
図4は、ステータスコードテーブルの概念図である。ステータスコードテーブルとは、プリンタのステータス(状態)とその状態を数値で示すステータス・コードとの対応を示すものである。この情報は予めプリンタ1000のメモリ(RAM19、ROM13又は外部メモリ14)内に格納されており、プリンタ1000のステータスが変化した時、プリンタ1000内のCPU12はその変化を検出し、後述するステータスコードを含むノーティファイパケットをホストコンピュータ3000へ送信する。
【0043】
図5は、ステータスコード対応テーブルの概念図である。ステータスコード対応テーブルは、プリンタから送られてくるステータスコードと、表示すべきメッセージ文字列及びイメージビットマップとの対応を示すものである。この情報は予めホストコンピュータ3000のメモリ内に格納されている。
【0044】
プリンタ1000からのノーティファイパケットを受信すると、ホストコンピュータ3000では、ノーティファイパケットに格納されているステータスコードが読み出され、該ステータスコードを参照してステータスコードに対応するメッセージ文字列及びイメージビットマップ番号が決定され、該決定されたメッセージ文字列及びイメージビットマップ番号に応じた表示が表示部10上になされる。イメージビットマップは複数存在し、核イメージビットマップは各々、予め番号付けされている。
【0045】
図6は、プリンタ1000からホストコンピュータ3000へ送信されるノーティファイパケットの構造を示す図である。
【0046】
同図に示すように、ノーティファイパケットは、情報の種類(Type)を示す領域6001と、データ部の長さ(Size)を示す領域6002と、データ(Data)を示す領域6003とから構成されている。本実施の形態では、領域6001には、プリンタ状態変化によるステータスコードの送信を意味する値STATUSが格納される。また、領域6003には、プリンタ1000からホストコンピュータ3000へ送信すべきプリンタの状態を示すステータスコードが格納されている。また、領域6002には、ステータスコードの長さとして4(バイト)が格納されている。
【0047】
図7は、ホストコンピュータ3000の動作手順を示すフローチャートである。このフローチャートを実行するためのアプリケーションプログラムは、ROM3のプログラムROMに格納されており、例えばホストコンピュータ3000の画面上でポインティングデバイスによって所定のアイコンが選択された場合又はキーボードから所定のコマンドが入力された場合等に処理が開始されるものとするが、印刷のために操作者により行われる操作と連動して処理が開始されるように構成してもよい。
【0048】
アプリケーションプログラムが起動されると、まず、図3(a)に示した画面がディスプレイ10に表示される(ステップS1)。そして、キーボード9又は不図示のポインティングデバイスから入力があるか否かが判別され(ステップS2)、入力がない場合は、入力があったと判別されるまでステップS2の手順が繰り返される。
【0049】
ステップS2の判別で、ポインティングデバイス又はキーボード9からの入力があった場合は、その入力が終了ボタン3008が押下されたことによるものか否かが判別され(ステップS3)、終了ボタン3008が押下されたことによる入力である場合は、表示画面がクリアされ(ステップS13)、本アプリケーションが直ちに終了される。
【0050】
ステップS3で、終了ボタン3008が押下されたことによるものではないと判別された場合は、ステップS2で検出された入力がプリンタを選択する入力であるか否かが判別される(ステップS4)。プリンタの選択は、図3(a)に示した画面3001において、プリンタA、B又はCを、プリンタの名称を表示する領域3002、3003又は3004をポインティングデバイス等により操作者が選択することによって行われる。
【0051】
ステップS4の判別で、入力された内容がプリンタ選択入力ではない場合には上記ステップS2の手順が繰り返される。
【0052】
ステップS4の判別で、プリンタ選択入力である場合は、その入力内容に基づいて選択プリンタが特定され(ステップS5)、その特定されたプリンタに対してアドレス登録コマンドが送信される(ステップS6)。アドレス送信時は、本アプリケーションが動作しているホストコンピュータのアドレスを送信する。これにより、特定したプリンタに何らかの状態の変化が生じた場合には、そのプリンタのステータスがノーティファイパケットの形式でホストコンピュータ3000へ送信されることになる。
【0053】
そして、ホストコンピュータ3000のディスプレイ10上に、図3(b)に示した画面3009が表示される(ステップS7)。
【0054】
ここで、終了ボタン3012が押下されたか否かが判別され(ステップS8)、押下されている場合は対象プリンタに対してアドレス削除コマンドが送信され(ステップS12)、上述したステップS1の手順に処理が戻る。また、終了ボタン3012が押下されていない場合にはノーティファイパケットがプリンタ1000から入力されたか否かが判別される(ステップS9)。
【0055】
ステップS9の判別で、対象プリンタからノーティファイパケットが入力されると、ノーティファイパケット内のステータスコードが読み出され、図5に示したステータスコード対応テーブルによって、対応するメッセージ文字列が決定され、そのメッセージが画面に表示される(ステップS10)。そして、ノーティファイパケット内のステータスコードが読み出され、図5に示したステータスコード対応テーブルにに基づいて対応するイメージビットマップが決定され、決定されたイメージビットマップが表示される(ステップS11)。メッセージ及びイメージビットマップが表示されると、上述したステップS8の手順に戻って、処理が継続される。
【0056】
図8は、プリンタ1000のアドレス登録テーブルの一例を示す説明図であり、図8(a)はアドレス登録テーブル全体の構成を示している。このアドレス登録テーブルにホストコンピュータから発行されたアドレスを登録をすることにより、登録されたアドレスに対してノーティファイパケットを送信することができる。
【0057】
本実施の形態では、アドレス登録テーブル8000には、N個のアドレス情報すなわち本プリンタ1000に接続されるN個のホストコンピュータのアドレス情報を登録することができる。なお、本実施の形態では、プロトコルタイプがTCP/IPである場合を示している。
【0058】
各アドレス情報は、図8(b)に示すように構成されている。すなわち、各アドレス情報は、そのアドレスに対応するホストコンピュータ3000が当該プリンタ1000を使用中であるとき即ちこのエントリが使用されているときにオンされるフラグUsedFlagが格納される領域8002と、本アドレス情報がアドレス登録テーブルに登録された時刻を示す値AccessTimeが格納される領域8003と、ネットワークプロトコルの種類を示すProtocolTypeが格納される領域8004と、IPアドレス(IPAdress)を示す領域8005と、ポート番号PortNumberを示す領域8006と、リザーブ領域(NULL)8007とから構成されている。
【0059】
図9は、ホストコンピュータ3000からプリンタ1000へ発行される、アドレス登録コマンド、アドレス削除コマンド及び時間更新コマンドの各構成の一例を示す説明図である。
【0060】
図9(a)はアドレス登録コマンド9000を示している。アドレス登録コマンド9000は、コマンド部9001とパラメータ部9002〜9005とから構成されている。パラメータ部9002〜9005は、プロトコルの種類(ProtocolType)を示す領域9002と、アドレスデータであるIPアドレス(IPAdress)を示す領域9004と、ポート番号PortNumberを示す領域9005と、アドレスデータであるIPAdress及びPortNumberのサイズDataSizeを示す領域9003とから構成されている。
【0061】
図9(b)はアドレス削除コマンド9006を示している。アドレス削除コマンド9006は、コマンド部9006とパラメータ部9007〜9011とから構成されている。パラメータ部9007〜9011は、プロトコルの種類(ProtocolType)を示す領域9007と、アドレスデータであるIPアドレス(IPAdress)を示す領域9010と、ポート番号PortNumberを示す領域9011と、アドレスデータであるIPAdress及びPortNumberのサイズDataSizeを示す領域9009とから構成されている。
【0062】
図9(c)は時間更新コマンド9012を示している。時間更新コマンド9012は、コマンド部9013と、パラメータ部9014〜9017とから構成されている。パラメータ部9014〜9017は、プロトコルの種類(ProtocolType)を示す領域9014と、アドレスデータであるIPアドレス(IPAdress)を示す領域9016と、ポート番号PortNumberを示す領域9017と、アドレスデータであるIPAdress及びPortNumberとのサイズDataSizeを示す領域9015とから構成されている。時間更新コマンドは、ホストコンピュータ3000が印字データをプリンタ1000に転送する際に、印字データに付加されて転送される。
【0063】
図10は、プリンタ1000のCPU12によるプリンタ動作の制御手順を示すフローチャートである。本フローチャートを実行するためのプログラムは、プリンタ1000の電源の投入によって起動される。
【0064】
まず、データの入力があるか否かが判別され(ステップS21)、データの入力がない場合は、入力があったと判別されるまでステップS21の手順が繰り返される。
【0065】
データが入力されるとそのデータの入力処理が行われ(ステップS22)、入力されたデータの解析処理が行われる(ステップS23)。
【0066】
ここで、ステップS23におけるデータ解析の結果、入力されたデータがアドレス情報登録コマンドであるか否かが判別され(ステップS24)、アドレス情報登録コマンドである場合はアドレス情報登録処理が行われる(ステップS33)。アドレス情報登録処理が終了すると、再び上述したステップS21の処理が行われる。
【0067】
ステップS24の判別で、入力されたデータがアドレス情報登録コマンドではない場合は、そのデータがアドレス情報削除コマンドであるか否かが判別される(ステップS25)。そして、データがアドレス情報削除コマンドであった場合は、アドレス情報削除処理が行われ(ステップS32)、その後再びステップS21の処理が行われる。
【0068】
また、データがアドレス情報削除コマンドではない場合は、そのデータが時間情報更新コマンドであるか否かが判別され(ステップS26)、時間情報更新コマンドである場合は時間情報更新処理が行われ(ステップS31)、時間情報更新コマンドではない場合はそのデータが排紙コマンドであるかが判別される(ステップS27)。排紙コマンドであると判別された場合は、印刷処理(ステップS29)及び排紙処理(ステップS30)が行われ、その後再びステップS21の処理が行われる。
【0069】
また、ステップS27において排紙コマンドではないと判別された場合は、そのデータに含まれている描画コマンドに応じて、描画処理が行われ(ステップS28)、その後上述したステップS21に処理が戻る。
【0070】
図11は、図10のステップS33において実行されるアドレス情報登録手順を示すフローチャートである。
【0071】
上述したステップS26で、入力されたデータが時間情報更新コマンドであると判別されると本フローチャートは開始され、まず、アドレス登録テーブルの最初のエントリが参照される(ステップS41)。そして、エントリがN+1であるか否かが判別され(ステップS42)その答が肯定(YES)の場合は直ちに本手順が終了される。
【0072】
また、ステップS42の判別で、エントリがN+1に達していない場合は、図8に示したアドレス登録テーブル8000の領域8002に格納されているフラグUsedFlagがオンであるか否かが判別され(ステップS43)、オンである場合は、登録しようとするアドレスとそのエントリにすでに登録されているアドレスとが同じであるか否かが判別される(ステップS47)。そして、登録しようとするアドレス(アドレス登録コマンドのパラメータ部において指定されたアドレス)とそのエントリにすでに登録されているアドレスとが同じである場合は登録する必要はないので、直ちに本手順が終了される。
【0073】
ステップS47の判別で、登録しようとするアドレスとそのエントリにすでに登録されているアドレスとが同じではない場合は、次のエントリが参照され(ステップS48)、上述したステップS42の処理が行われる。
【0074】
一方、ステップS43の判別で、フラグUsedFlagがオンではない場合は、アドレス情報が登録され(ステップS44)、フラグUsedFlagがオンにされ(ステップS45)、更に現在時刻がAccessTimeにセットされた後(ステップS46)、本手順が終了される。
【0075】
図12は、図10のステップS32において実行されるアドレス情報削除処理手順を示すフローチャートである。
【0076】
上述したステップS25において、入力されたデータがアドレス情報削除処理コマンドであると判別されると本フローチャートは開始され、まず、アドレス登録テーブルの最初のエントリが参照される(ステップS51)。そして、エントリがN+1であるか否かが判別され(ステップS52)、その答が肯定(YES)の場合は直ちに本手順が終了される。
【0077】
また、ステップS52の判別で、エントリがN+1に達していない場合は、現在参照しているアドレスと削除すべきアドレスとが同じであるか否かが判別される(ステップS53)。ここで、削除すべきアドレスとは、アドレス情報削除コマンドのパラメータ部において指定されたアドレスである。
【0078】
ステップS53の判別で、同じアドレスである場合はそのアドレス情報が削除され(ステップS55)、フラグUsedFlagがオフにされ(ステップS56)、本手順が終了される。
【0079】
また、ステップS53の判別で、同じアドレスではない場合は、次のエントリが参照され(ステップS54)、再びステップS52の処理が行われる。
【0080】
図13は、図10のステップS31において実行される時間更新処理手順を示すフローチャートである。
【0081】
上述したステップS26において、入力されたデータが時間情報更新コマンドであると判別されると本フローチャートは開始され、まず、アドレス登録テーブルの最初のエントリが参照される(ステップS61)。そして、エントリがN+1であるか否かが判別され(ステップS62)、その答が肯定(YES)の場合は直ちに本手順が終了される。
【0082】
また、ステップS62の判別で、エントリがN+1に達していない場合は、図8に示したアドレス登録テーブル8000の領域8002に格納されているフラグUsedFlagがオンであるか否かが判別され(ステップS63)、オンである場合は、現在参照しているアドレスと時間更新コマンドのパラメータとして指定されたアドレスとが同じであるか否かが判別される(ステップS64)。
【0083】
ステップS64の判別で、同じアドレスである場合は、現在時刻が取得され(ステップS65)、その現在時刻が指定されたアドレスにセットされる(ステップS66)。現在時刻のセットが完了すると、本手順は終了される。
【0084】
一方、ステップS64において、登録しようとするアドレスとそのエントリにすでに登録されているアドレスとが同じではないと判別された場合は、次のエントリが参照され(ステップS67)、上述したステップS62の処理が行われる。
【0085】
また、ステップS63において、フラグUsedFlagがオンではないと判別された場合も、次のエントリが参照され(ステップS67)、上述したステップS62の処理が行われる。
【0086】
図14は、プリンタ1000において行われるタイマ処理手順を示すフローチャートである。本手順は、所定時間毎に、CPU12によって実行される。
【0087】
まず、プリンタ1000に内蔵されているタイマから現在時刻が取得される(ステップS71)。そして、アドレス登録テーブルの最初のエントリが参照され(ステップS72)、エントリがN+1であるか否かが判別される(ステップS73)。
【0088】
ステップS73の判別で、エントリがN+1に達していない場合は、当該エントリのAccessTimeとステップS71で取得した現在時刻との差が時間Tより大きいか否か、すなわち当該エントリに対応するホストコンピュータからプリンタ1000に対して時間T以上アクセスがないか否かが判別される(ステップS74)。ここで、時間Tの値は予め定められる値であるが、操作者によって適宜変更可能としてもよい。
【0089】
ステップS74において、時間T以上アクセスがないと判別された場合は、そのエントリのアドレス情報(ProtcolType、IPAdress、PortNumber)が削除(クリア)され(ステップS75)、フラグUsedFlagがオフとされる(ステップS76)。そして、次のエントリが参照され(ステップS77)、再びステップS73の処理が行われる。また、ステップS74の判別で、時間T内にアクセスがあった場合は、ステップS75及びステップS76をスキップしてステップS77の処理が行われる。
【0090】
一方、ステップS74の判別で、エントリがN+1である場合は、全てのエントリに対してステップS74〜S77の処理が行われた状態である。ここで、プリンタ1000のステータスが取得され(ステップS78)、取得されたステータスが前回取得されたステータスから変化しているか否かが判別される(ステップS79)。なお、前回取得されたステータスは、プリンタ1000内のRAM19、ROM13内のデータROM、又は外部メモリ14のいずれかに記憶されている。
【0091】
ステップS78の判別で、ステータスが変化していない場合は、ステータスを接続されているホストコンピュータへ送信する必要がないので、直ちに本手順が終了される。
【0092】
また、ステップS78の判別で、ステータスが変化している場合は、図4に示したステータスコードテーブルに基づいてステータスコードが決定され(ステップS80)、そのステータスコードを含むノーティファイパケットが送信される(ステップS81)。ステップS81において、現在のプリンタのステータスを含むノーティファイパケットは、所定時間T以上アクセスがないホストコンピュータに対しては送信されず、アドレス情報が登録されている、所定時間T以内にアクセスがあったホストコンピュータに対してのみ送信される。
【0093】
以上説明したように、本実施の形態によれば、ホストコンピュータ3000においてアドレス情報を送るアプリケーションの異常等の原因によって、すでに接続が終了してしまっているホストコンピュータのアドレス情報の削除が行われないような場合であっても、プリンタ1000において所定時間T以上アクセスがないホストコンピュータ3000のアドレス情報を削除するようにしたので、不要なホストコンピュータへのデータ送信をなくすことができる。
【0094】
なお、ホストコンピュータ3000からプリンタ1000に送信されるプリンタステータス取得コマンドは、印字データと同じ論理チャネルに限られず、複数お論理チャネルを有するインターフェースにおいて、互いに異なるチャネルを使用するようにしてもよい。
【0095】
また、プリンタ1000のインターフェース部はプリンタ内蔵のインターフェースに限られず、プリンタ1000本体に脱着可能なインターフェースボードを使用してもよい。
【0096】
また、本実施の形態において、アドレス登録テーブルを格納するメモリは、プリンタ1000のRAM19、データROM13、外部メモリ14に限られず、他の不揮発性の二次記憶装置として構成することも可能である。
【0097】
更に、本実施の形態では1台のホストコンピュータと1台のプリンタとを接続し、当該プリンタにおいて上記処理が行われるように構成したが、本発明お機能が実行されるのであれば、単体の機器であっても複数の機器からなるプリンタシステムであっても本発明を適用できることはいうまでもない。
【0098】
【発明の効果】
以上説明したように、本発明によればアドレス情報を送るアプリケーションの異常等の原因によって、すでに接続が終了してしまっている上位装置又は他のシステムのアドレス情報が残っていても、所定時間以上アクセスがない上位装置または他のシステムのアドレス情報削除することができ、不要なデータ送信をなくすことができる
【図面の簡単な説明】
【図1】本発明の実施の一形態に係る印刷装置(プリンタ)の概略構成を示す断面図である。
【図2】図1に示したプリンタが接続されて構成されている印刷システムの構成を示すブロック図である。
【図3】図2に示したホストコンピュータ上で動作するアプリケーションの画面構成を示す説明図である。
【図4】ステータスコードテーブルの概念図である。
【図5】ステータスコード対応テーブルの概念図である。
【図6】ノーティファイパケットの構造を示す図である。
【図7】ホストコンピュータの動作手順を示すフローチャートである。
【図8】プリンタのアドレス登録テーブルの一例を示す説明図である。
【図9】アドレス登録コマンド、アドレス削除コマンド、及び時間更新コマンドの各構成の一例を示す説明図である。
【図10】プリンタにおいて行われるプリンタ制御手順を示すフローチャートである。
【図11】図10のステップS33において実行されるアドレス情報登録手順を示すフローチャートである。
【図12】図10のステップS32において実行されるアドレス情報削除処理手順を示すフローチャートである。
【図13】図10のステップS31において実行される時間更新処理手順を示すフローチャートである。
【図14】プリンタ1000において行われるタイマ処理手順を示すフローチャートである。
【符号の説明】
12 CPU (検出手段、判別手段、削除手段)
13 ROM (記憶手段、入力時刻記憶手段)
18 入力部 (入力手段、送信手段)
19 RAM (記憶手段、入力時刻記憶手段)
21 ネットワーク
1000 プリンタ (印刷装置)
3000 ホストコンピュータ (上位装置)
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to a printing apparatus and a printing system.The stateStatus information transmission method, And devices to which the state information transmission method is appliedAbout.
[0002]
[Prior art]
Conventionally, in a printing system in which a host computer and a printing device are connected via a bidirectional interface and the status of the printing device is displayed on the screen of the host computer, information regarding the status of the printing device is actively hosted from the printing device. When transmitting to a computer, a method (broadcast) of transferring similar data to all other devices connected to the network has been adopted.
[0003]
Also, in this type of printing system, when information relating to the state of the printing apparatus is actively transmitted from the printing apparatus to the host computer, the printing apparatus is in response to the notification destination address of the information relating to the state input from the host computer. It was configured to notify about status information.
[0004]
[Problems to be solved by the invention]
However, when information is transmitted by broadcast, information cannot be transmitted to a host computer in a different segment across a router. In addition, when entering the notification destination address of information from the host computer, it is possible to enter the notification address beyond the router, but if the application on the host computer side ends abnormally, the notification address is deleted. Therefore, the contents remain on the printing apparatus side, and as a result, there is a problem that information is transmitted even to a host computer that does not need to be transmitted.
[0005]
  The present invention has been made paying attention to the above points, and can eliminate unnecessary data transmission to a host computer.The stateStatus information transmission method, And devices to which the state information transmission method is appliedThe purpose is to provide.
[0006]
[Means for Solving the Problems]
  Over the network to achieve the above objectivesContactContinuedingInput means for inputting address information for identifying the host device sent from the host device;Input by input meansStorage means for storing address information, detection means for detecting the state of the self apparatus, and information related to the state of the self apparatus detected by the detection means is transmitted to the host apparatus according to the address information stored in the storage means A printing device having a transmission means, wherein the time when the address information sent from the host device is inputtedAddress informationInput time storage means for storing corresponding to the input time, determination means for determining whether or not a difference between the time stored in the input time storage means and the current time exceeds a predetermined time, and the determination means When it is determined that the difference between the time stored in the input time storage means and the current time exceeds a predetermined time,In order to prevent information related to the state of the own device from being transmitted to the higher-level device by the transmission means,Corresponding to the stored timeRuaDeleting means for deleting dress information from the storage means;When the same address information as the address information stored in the storage means is input by the input means in order to update the time stored in the input time storage means, the time for updating the time corresponding to the address information Update means;It is characterized by providing.
  An input unit for inputting address information for identifying the host computer sent from the host computer connected via the network; a storage unit for storing the address information input by the input unit; Transmission means for transmitting information relating to the state to the host computer in accordance with address information stored in the storage means; time storage means for storing time corresponding to the address information input by the input means; and the input means When address information is input, the time setting means for setting the current time as the time corresponding to the address information, and the difference between the time stored in the time storage means and the current time exceeds a predetermined time The address information corresponding to the time stored in the time storage means is stored in the storage means. If the same address information as the address information stored in the storage means for updating the deleting means to be deleted and the time stored in the time storage means is input by the input means, it corresponds to the address information Time update means for updating the time with the current time.
  Also, the first input means for inputting address information for identifying the host computer sent from the host computer connected via the network, and the address information input by the first input means are stored. A storage unit, a transmission unit that transmits information about its own state to the host computer according to the address information stored in the storage unit, and a host computer connected via a network to update registration of the address information The second input means for inputting the same address information as the address information stored in the storage means, and the same address information after the address information is input by the first input means. If a predetermined time has passed without the address information being input by the second input means, Characterized in that it comprises a deletion means for deleting said address information from said storing means.
[0007]
  furtherThrough the networkContactContinuedingAn input device for inputting address information identifying the other system sent from another system;Input by input deviceA storage device that stores address information, a detection device that detects the state of the self-printing system, and a transmission that transmits information about the state detected by the detection device to the other system according to the address information stored in the storage device A printing system having a device, the time when the address information sent from the other system is inputAddress informationInput time storage means for storing corresponding to the input time, determination means for determining whether or not a difference between the time stored in the input time storage means and the current time exceeds a predetermined time, and the determination means When it is determined that the difference between the time stored in the input time storage means and the current time exceeds a predetermined time,In order to prevent information about the status of the self-printing system from being sent by the sending device to the other system,Corresponding to the stored timeRuaDeleting means for deleting dress information from the storage device;When the same address information as the address information stored in the storage device is input by the input device in order to update the time stored in the input time storage means, the time for updating the time corresponding to the address information Update means;It is characterized by providing.
[0008]
  In order to achieve the above purpose,Over the networkContactContinuedingAddress information identifying the host device sent from the host deviceEnter the address informationA status information transmission method for a printing apparatus that stores information in a storage unit, detects a status of the own apparatus, and transmits information on the detected status of the own apparatus to the host apparatus according to address information stored in the storage unit. The time when the address information sent from the host device is inputAddress informationMemorize according toAnd the processDetermine whether the difference between the stored time and the current time exceeds a predetermined timeAnd the process, If it is determined that the difference between the stored time and the current time exceeds a predetermined time,In order to prevent information related to the status of its own device from being transmitted to the host device,Corresponding to the stored timeRuaDelete dress informationAnd when the same address information as the address information stored in the storage means is input to update the stored time, the time corresponding to the address information is updated.DoProcessIt is characterized by that.
  Also, a step of inputting address information for identifying the host computer sent from the host computer connected via the network, a step of storing the input address information in the storage means, and information relating to its own state Transmitting to the host computer according to the address information stored in the storage means, and when address information is input, setting the current time as the time corresponding to the address information, and the set time When the difference between the current time and the current time exceeds a predetermined time, the step of deleting the address information corresponding to the set time from the storage means, and the storage means for updating the set time When the same address information as the address information stored in is input, it corresponds to the address information Characterized in that a and a step of updating the current time.
[0009]
  further,A first input step for inputting address information for identifying the host computer sent from the host computer connected via the network, and storing the address information input in the first input step in the storage means A step of transmitting information about its own state to the host computer according to the address information stored in the storage means, and a host computer connected via a network to update registration of the address information. A second input step of inputting the same address information as the address information stored in the storage means, and the same address as the address information after the address information is input in the first input step When a predetermined time has passed without information being input by the second input step, Characterized by a step of deleting the address information from said storage means.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0011]
FIG. 1 is a cross-sectional view illustrating a schematic configuration of a printing apparatus according to the present embodiment. In this embodiment, a laser beam printer (LBP) (hereinafter referred to as “printer”) will be described as an example of a printing apparatus.
[0012]
In the figure, reference numeral 1000 denotes a printer main body, which stores print information (character code, etc.), form information, macro commands, etc. supplied from an externally connected host computer, and corresponding character patterns according to the information. And form patterns are formed, and an image is formed on recording paper, which is a recording medium.
[0013]
Reference numeral 1012 denotes an operation panel on which switches for operation, LED indicators, and the like are arranged. Reference numeral 1001 denotes a printer control unit that controls the entire printer main body 1000 and analyzes character information supplied from a host computer. . The printer control unit 1001 mainly converts character information into a video signal having a corresponding character pattern and outputs the video signal to the laser driver 1002.
[0014]
The laser driver 1002 is a circuit for driving the semiconductor laser 1003 and controls on / off of the laser light 1004 emitted from the semiconductor laser 1003 in accordance with the video signal input from the printer control unit 1001.
[0015]
The laser beam 1004 is swung in the left-right direction by the rotary polygon mirror 1005 to scan and expose the electrostatic drum 1006. As a result, an electrostatic latent image of a character pattern is formed on the electrostatic drum 1006. This latent image is developed by a developing unit 1007 disposed around the electrostatic drum 1006 and then transferred to a recording sheet.
[0016]
A cut sheet is used as the recording paper. The cut sheet recording paper is stored in a paper cassette 1008 mounted on the printer 1000, taken into the apparatus by a paper feed roller 1009 and a transport roller 1010, and supplied to the electrostatic drum 1006.
[0017]
Further, the printer main body 1000 includes at least one card slot (not shown), and is configured to be able to connect an optional font card and a control card (emulation card) having a different language system in addition to a built-in font.
[0018]
FIG. 2 is a block diagram showing the configuration of a printing system configured by connecting the printer shown in FIG.
[0019]
In the figure, reference numeral 3000 denotes a host computer, which executes document processing in which graphics, images, characters, tables (including spreadsheets), etc. are mixed based on a document processing program stored in the ROM 3 program ROM. A possible CPU 1 is provided. The CPU 1 comprehensively controls each device connected to the system device 4.
[0020]
The ROM 3 program ROM stores the CPU 1 control program, the ROM 3 font ROM stores font data used for document processing, and the ROM 3 data ROM performs document processing and the like. Various data used at the time are stored.
[0021]
Reference numeral 2 denotes a RAM which functions as a main memory or work area for the CPU 1.
[0022]
A keyboard controller (KBC) 5 controls key input from a keyboard 9 or a pointing device (not shown).
[0023]
Reference numeral 6 denotes a CRT controller (CRTC), which controls display on a CRT display (CRT) 10.
[0024]
A memory controller (MC) 7 controls access to the external memory 11 such as a hard disk (HD) or floppy disk (FD) that stores a boot program, various applications, font data, user files, edit files, and the like. .
[0025]
A printer controller (PRTC) 8 is connected to the printer 1000 via a predetermined bidirectional interface (hereinafter referred to as “interface”) 21 and executes communication control processing with the printer 1000.
[0026]
The CPU 1 executes, for example, an outline font rasterization process on the display information RAM set on the RAM 2 to enable WYSIWYG on the CRT 10.
[0027]
Further, the CPU 1 opens various registered windows based on commands instructed by a mouse cursor (not shown) on the CRT 10 and executes various data processing.
[0028]
In the printer main body 1000, reference numeral 12 denotes a printer CPU, and various devices connected to the system bus 15 based on a control program stored in the program ROM of the ROM 13 or a control program stored in the external memory 14 and controlled. And an image signal as print output information is output to a printing unit (printer engine) 17 connected via the printing unit interface 16.
[0029]
The program ROM of the ROM 13 stores a control program for the CPU 12 to execute flowcharts shown in FIGS. The font ROM of the ROM 13 stores font data used when generating the output information. The data ROM of the ROM 13 stores information used on the host computer 3000 in the case of a printer that does not have the external memory 14 such as a hard disk.
[0030]
The CPU 12 can communicate with the host computer 3000 via the input unit 18 and can notify the host computer 3000 of information in the printer.
[0031]
Reference numeral 19 denotes a RAM that functions as a main memory, work memory, and the like of the CPU 12, and is configured such that the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown).
[0032]
The RAM 19 is used as an output information expansion area, environment data storage area, NVRAM, and the like.
[0033]
Access to the above-described external memory 14 such as a hard disk (HD) or IC card is controlled by a memory controller (MC) 20. The external memory 14 is connected as an option and stores font data, an emulation program, form data, and the like.
[0034]
In addition, the input unit 18 is provided with a switch for operation on the operation panel, an LED display, and the like.
[0035]
In addition to the above-mentioned external memory, at least one external memory is provided. In addition to the built-in font, an optional font card and a plurality of external memories storing programs for interpreting printer control languages with different language systems are connected. It may be configured to be possible. Further, an NVRAM (not shown) may be provided, and printer mode setting information from the operation panel 1012 may be stored.
[0036]
FIG. 3 is an explanatory diagram showing the configuration of the screen of an application that runs on the host computer 3000 described above.
[0037]
3A, reference numeral 3001 denotes a screen of the CRT display 10 provided in the host computer 3000. On the screen 3001, a list of printers connected to the network is displayed for selecting a target printer.
[0038]
In the screen 3001, areas 3002, 3003, and 3004 display printers currently connected to the network, and areas 3005, 3006, and 3007 display printer names. The printer name is acquired by a printer name acquisition command (not shown).
[0039]
By selecting the area 3002, 3003 or 3004 by input from a pointing device (not shown) or the keyboard 9, the operator can select either the printer A, B or C. When a target printer is selected, a screen 3009 is displayed on the CRT display 10. A screen 3009 shown in FIG. 3B is a screen that displays the status of the printer selected on the screen 3001.
[0040]
A screen 3009 includes a message portion 3010 indicating a printer status, a printer image bitmap 3011, and an end button 3012. The message part 3010 and the end button 3012 are displayed according to the status code actively sent from the printer in the form of a notify packet as will be described later.
[0041]
Here, the association between the status code, the message, and the image bitmap is performed based on a status code correspondence table described later. It is assumed that the message character string and the image bitmap corresponding to the status code are stored in advance in the memory (ROM 3 or external memory 11) of the host computer 3000. When the end button 3012 is selected by input from the pointing device or the keyboard 9, the screen 3001 shown in FIG. 3A is displayed again.
[0042]
FIG. 4 is a conceptual diagram of the status code table. The status code table indicates the correspondence between the status (state) of the printer and the status code indicating the state in numerical values. This information is stored in advance in the memory (RAM 19, ROM 13 or external memory 14) of the printer 1000. When the status of the printer 1000 changes, the CPU 12 in the printer 1000 detects the change, and outputs a status code described later. The notify packet including the packet is transmitted to the host computer 3000.
[0043]
FIG. 5 is a conceptual diagram of the status code correspondence table. The status code correspondence table indicates the correspondence between the status code sent from the printer, the message character string to be displayed, and the image bitmap. This information is stored in advance in the memory of the host computer 3000.
[0044]
When receiving the notify packet from the printer 1000, the host computer 3000 reads the status code stored in the notify packet, refers to the status code, and sends a message character string and an image bitmap corresponding to the status code. A number is determined, and a display corresponding to the determined message character string and image bitmap number is displayed on the display unit 10. There are a plurality of image bitmaps, each of which is pre-numbered.
[0045]
FIG. 6 is a diagram showing a structure of a notify packet transmitted from the printer 1000 to the host computer 3000.
[0046]
As shown in the figure, the notify packet is composed of an area 6001 indicating the type of information (Type), an area 6002 indicating the length of the data part (Size), and an area 6003 indicating the data (Data). ing. In the present embodiment, the area 6001 stores a value STATUS indicating transmission of a status code due to a change in printer status. An area 6003 stores a status code indicating the status of the printer to be transmitted from the printer 1000 to the host computer 3000. In the area 6002, 4 (bytes) is stored as the length of the status code.
[0047]
FIG. 7 is a flowchart showing an operation procedure of the host computer 3000. An application program for executing this flowchart is stored in the program ROM of the ROM 3. For example, when a predetermined icon is selected by a pointing device on the screen of the host computer 3000 or a predetermined command is input from the keyboard. In some cases, the process is started. However, the process may be started in conjunction with an operation performed by the operator for printing.
[0048]
When the application program is activated, first, the screen shown in FIG. 3A is displayed on the display 10 (step S1). Then, it is determined whether or not there is an input from the keyboard 9 or a pointing device (not shown) (step S2). If there is no input, the procedure of step S2 is repeated until it is determined that there is an input.
[0049]
If it is determined in step S2 that there is an input from the pointing device or the keyboard 9, it is determined whether or not the input is due to the end button 3008 being pressed (step S3), and the end button 3008 is pressed. If it is an input due to an error, the display screen is cleared (step S13), and this application is immediately terminated.
[0050]
If it is determined in step S3 that the end button 3008 has not been pressed, it is determined whether or not the input detected in step S2 is an input for selecting a printer (step S4). The printer is selected by selecting the printer A, B, or C on the screen 3001 shown in FIG. 3A by selecting an area 3002, 3003, or 3004 for displaying the printer name with a pointing device or the like. Is called.
[0051]
If it is determined in step S4 that the input content is not a printer selection input, the procedure in step S2 is repeated.
[0052]
If it is determined in step S4 that the input is a printer selection, the selected printer is specified based on the input content (step S5), and an address registration command is transmitted to the specified printer (step S6). When sending an address, the address of the host computer on which this application is running is sent. As a result, when a change in state occurs in the specified printer, the status of the printer is transmitted to the host computer 3000 in the form of a notify packet.
[0053]
Then, the screen 3009 shown in FIG. 3B is displayed on the display 10 of the host computer 3000 (step S7).
[0054]
Here, it is determined whether or not the end button 3012 has been pressed (step S8), and if it has been pressed, an address deletion command is transmitted to the target printer (step S12), and the process of step S1 described above is performed. Will return. If the end button 3012 has not been pressed, it is determined whether or not a notify packet has been input from the printer 1000 (step S9).
[0055]
In step S9, when a notify packet is input from the target printer, the status code in the notify packet is read, and the corresponding message character string is determined by the status code correspondence table shown in FIG. The message is displayed on the screen (step S10). Then, the status code in the notify packet is read, the corresponding image bitmap is determined based on the status code correspondence table shown in FIG. 5, and the determined image bitmap is displayed (step S11). . When the message and the image bitmap are displayed, the process returns to the above-described step S8 and the processing is continued.
[0056]
FIG. 8 is an explanatory diagram showing an example of the address registration table of the printer 1000, and FIG. 8A shows the configuration of the entire address registration table. By registering the address issued from the host computer in this address registration table, a notify packet can be transmitted to the registered address.
[0057]
In this embodiment, the address registration table 8000 can register N pieces of address information, that is, address information of N host computers connected to the printer 1000. In the present embodiment, the protocol type is TCP / IP.
[0058]
Each address information is configured as shown in FIG. That is, each address information includes an area 8002 in which a flag UsedFlag that is turned on when the host computer 3000 corresponding to the address is using the printer 1000, that is, when this entry is used, and the present address. An area 8003 for storing a value AccessTime indicating the time when information is registered in the address registration table, an area 8004 for storing a ProtocolType indicating the type of network protocol, an area 8005 indicating an IP address (IPAddress), and a port number An area 8006 indicating a port number and a reserve area (NULL) 8007 are included.
[0059]
FIG. 9 is an explanatory diagram illustrating an example of each configuration of an address registration command, an address deletion command, and a time update command issued from the host computer 3000 to the printer 1000.
[0060]
FIG. 9A shows an address registration command 9000. The address registration command 9000 includes a command part 9001 and parameter parts 9002 to 9005. The parameter parts 9002 to 9005 include an area 9002 indicating a protocol type (ProtocolType), an area 9004 indicating an IP address (IPAddress) as address data, an area 9005 indicating a port number PortNumber, and IPAddress and PortNumber as address data. And an area 9003 indicating the size DataSize.
[0061]
FIG. 9B shows an address deletion command 9006. The address deletion command 9006 includes a command part 9006 and parameter parts 9007 to 9011. The parameter parts 9007 to 9011 include an area 9007 indicating a protocol type (ProtocolType), an area 9010 indicating an IP address (IPAddress) as address data, an area 9011 indicating a port number PortNumber, and IPAddress and PortNumber as address data. And an area 9009 indicating the size DataSize.
[0062]
FIG. 9C shows a time update command 9012. The time update command 9012 includes a command part 9013 and parameter parts 9014 to 9017. The parameter parts 9014 to 9017 include an area 9014 indicating a protocol type (ProtocolType), an area 9016 indicating an IP address (IPAddress) as address data, an area 9017 indicating a port number PortNumber, and IPAddress and PortNumber as address data. And a region 9015 indicating the size DataSize. The time update command is added to the print data and transferred when the host computer 3000 transfers the print data to the printer 1000.
[0063]
FIG. 10 is a flowchart showing a control procedure of the printer operation by the CPU 12 of the printer 1000. A program for executing this flowchart is activated when the printer 1000 is turned on.
[0064]
First, it is determined whether or not there is data input (step S21). If there is no data input, the procedure of step S21 is repeated until it is determined that there is an input.
[0065]
When the data is input, the data input process is performed (step S22), and the input data analysis process is performed (step S23).
[0066]
Here, as a result of the data analysis in step S23, it is determined whether or not the input data is an address information registration command (step S24). If it is an address information registration command, an address information registration process is performed (step S24). S33). When the address information registration process is completed, the process of step S21 described above is performed again.
[0067]
If it is determined in step S24 that the input data is not an address information registration command, it is determined whether the data is an address information deletion command (step S25). If the data is an address information deletion command, an address information deletion process is performed (step S32), and then the process of step S21 is performed again.
[0068]
If the data is not an address information deletion command, it is determined whether or not the data is a time information update command (step S26). If the data is a time information update command, a time information update process is performed (step S26). S31) If it is not a time information update command, it is determined whether the data is a paper discharge command (step S27). If it is determined that the command is a paper discharge command, the printing process (step S29) and the paper discharge process (step S30) are performed, and then the process of step S21 is performed again.
[0069]
If it is determined in step S27 that the command is not a paper discharge command, a drawing process is performed in accordance with a drawing command included in the data (step S28), and then the process returns to step S21 described above.
[0070]
FIG. 11 is a flowchart showing the address information registration procedure executed in step S33 of FIG.
[0071]
When it is determined in step S26 described above that the input data is a time information update command, this flowchart is started. First, the first entry in the address registration table is referred to (step S41). Then, it is determined whether or not the entry is N + 1 (step S42). If the answer is affirmative (YES), this procedure is immediately terminated.
[0072]
If it is determined in step S42 that the entry has not reached N + 1, it is determined whether or not the flag UsedFlag stored in the area 8002 of the address registration table 8000 shown in FIG. 8 is on (step S43). If it is ON, it is determined whether the address to be registered is the same as the address already registered in the entry (step S47). If the address to be registered (the address specified in the parameter part of the address registration command) is the same as the address already registered in the entry, it is not necessary to register, so this procedure is immediately terminated. The
[0073]
If it is determined in step S47 that the address to be registered is not the same as the address already registered in the entry, the next entry is referred to (step S48), and the process in step S42 described above is performed.
[0074]
On the other hand, if it is determined in step S43 that the flag UsedFlag is not on, the address information is registered (step S44), the flag UsedFlag is turned on (step S45), and the current time is set to AccessTime (step S44). S46), this procedure is terminated.
[0075]
FIG. 12 is a flowchart showing the address information deletion processing procedure executed in step S32 of FIG.
[0076]
In step S25 described above, when it is determined that the input data is an address information deletion processing command, this flowchart is started. First, the first entry in the address registration table is referred to (step S51). Then, it is determined whether or not the entry is N + 1 (step S52). If the answer is affirmative (YES), this procedure is immediately terminated.
[0077]
If it is determined in step S52 that the number of entries has not reached N + 1, it is determined whether or not the currently referred address is the same as the address to be deleted (step S53). Here, the address to be deleted is an address specified in the parameter part of the address information deletion command.
[0078]
If it is determined in step S53 that the addresses are the same, the address information is deleted (step S55), the flag UsedFlag is turned off (step S56), and this procedure ends.
[0079]
If it is determined in step S53 that the addresses are not the same, the next entry is referred to (step S54), and the process in step S52 is performed again.
[0080]
FIG. 13 is a flowchart showing the time update processing procedure executed in step S31 of FIG.
[0081]
In step S26 described above, when it is determined that the input data is a time information update command, this flowchart is started. First, the first entry in the address registration table is referred to (step S61). Then, it is determined whether or not the entry is N + 1 (step S62). If the answer is affirmative (YES), this procedure is immediately terminated.
[0082]
If it is determined in step S62 that the number of entries has not reached N + 1, it is determined whether or not the flag UsedFlag stored in the area 8002 of the address registration table 8000 shown in FIG. 8 is on (step S63). If it is ON, it is determined whether or not the currently referred address is the same as the address specified as the parameter of the time update command (step S64).
[0083]
If it is determined in step S64 that the addresses are the same, the current time is acquired (step S65), and the current time is set to the designated address (step S66). When the current time setting is completed, this procedure is terminated.
[0084]
On the other hand, if it is determined in step S64 that the address to be registered is not the same as the address already registered in the entry, the next entry is referred to (step S67), and the processing in step S62 described above is performed. Is done.
[0085]
If it is determined in step S63 that the flag UsedFlag is not on, the next entry is referred to (step S67), and the above-described processing in step S62 is performed.
[0086]
FIG. 14 is a flowchart illustrating a timer processing procedure performed in the printer 1000. This procedure is executed by the CPU 12 every predetermined time.
[0087]
First, the current time is acquired from a timer built in the printer 1000 (step S71). Then, the first entry in the address registration table is referred to (step S72), and it is determined whether or not the entry is N + 1 (step S73).
[0088]
If it is determined in step S73 that the entry has not reached N + 1, whether or not the difference between the access time of the entry and the current time acquired in step S71 is greater than time T, that is, from the host computer corresponding to the entry to the printer. It is determined whether or not 1000 has been accessed for time T or more (step S74). Here, the value of the time T is a predetermined value, but may be appropriately changed by the operator.
[0089]
If it is determined in step S74 that there is no access for time T or longer, the address information (ProtocolType, IPAddress, PortNumber) of the entry is deleted (cleared) (step S75), and the flag UsedFlag is turned off (step S76). ). Then, the next entry is referred to (step S77), and the process of step S73 is performed again. If it is determined in step S74 that there is an access within the time T, step S75 and step S76 are skipped, and the process of step S77 is performed.
[0090]
On the other hand, if it is determined in step S74 that the entry is N + 1, the processing in steps S74 to S77 is performed for all entries. Here, the status of the printer 1000 is acquired (step S78), and it is determined whether or not the acquired status has changed from the previously acquired status (step S79). The status acquired last time is stored in any of the RAM 19 in the printer 1000, the data ROM in the ROM 13, or the external memory 14.
[0091]
If it is determined in step S78 that the status has not changed, it is not necessary to transmit the status to the connected host computer, so this procedure is immediately terminated.
[0092]
If it is determined in step S78 that the status has changed, the status code is determined based on the status code table shown in FIG. 4 (step S80), and a notify packet including the status code is transmitted. (Step S81). In step S81, the notify packet including the current printer status is not transmitted to the host computer that has not been accessed for the predetermined time T or longer, and has been accessed within the predetermined time T in which the address information is registered. Sent only to the host computer.
[0093]
As described above, according to this embodiment, address information of a host computer that has already been connected is not deleted due to an abnormality of an application that sends address information in the host computer 3000. Even in such a case, since the address information of the host computer 3000 that has not been accessed for the predetermined time T or longer in the printer 1000 is deleted, unnecessary data transmission to the host computer can be eliminated.
[0094]
The printer status acquisition command transmitted from the host computer 3000 to the printer 1000 is not limited to the same logical channel as the print data, and different channels may be used in an interface having a plurality of logical channels.
[0095]
The interface unit of the printer 1000 is not limited to an interface built in the printer, and an interface board that can be attached to and detached from the printer 1000 main body may be used.
[0096]
In the present embodiment, the memory for storing the address registration table is not limited to the RAM 19, the data ROM 13, and the external memory 14 of the printer 1000, and can be configured as another nonvolatile secondary storage device.
[0097]
Further, in the present embodiment, one host computer and one printer are connected and the above processing is performed in the printer. However, if the functions of the present invention are executed, a single unit is used. Needless to say, the present invention can be applied to a printer system including a plurality of devices.
[0098]
【The invention's effect】
As explained above,The present inventionAccordingIfAddress information of the higher-level device or other system whose connection has already ended due to an error in the application that sends the dress informationIs leftThe address information of the higher-level device or other system that has not been accessed for a predetermined timeTheDeleteCanEliminate necessary data transmission.
[Brief description of the drawings]
FIG. 1 is a cross-sectional view illustrating a schematic configuration of a printing apparatus (printer) according to an embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of a printing system configured by connecting the printer illustrated in FIG. 1;
FIG. 3 is an explanatory diagram showing a screen configuration of an application that runs on the host computer shown in FIG. 2;
FIG. 4 is a conceptual diagram of a status code table.
FIG. 5 is a conceptual diagram of a status code correspondence table.
FIG. 6 is a diagram illustrating a structure of a notify packet.
FIG. 7 is a flowchart showing an operation procedure of the host computer.
FIG. 8 is an explanatory diagram illustrating an example of a printer address registration table.
FIG. 9 is an explanatory diagram showing an example of each configuration of an address registration command, an address deletion command, and a time update command.
FIG. 10 is a flowchart illustrating a printer control procedure performed in the printer.
FIG. 11 is a flowchart showing an address information registration procedure executed in step S33 of FIG.
12 is a flowchart showing an address information deletion processing procedure executed in step S32 of FIG.
13 is a flowchart showing a time update processing procedure executed in step S31 of FIG.
14 is a flowchart illustrating a timer processing procedure performed in the printer 1000. FIG.
[Explanation of symbols]
12 CPU (detection means, discrimination means, deletion means)
13 ROM (storage means, input time storage means)
18 Input unit (input means, transmission means)
19 RAM (storage means, input time storage means)
21 network
1000 Printer (Printing device)
3000 Host computer (host device)

Claims (15)

ネットワークを介して接続されている上位装置から送られてくる当該上位装置を特定するアドレス情報を入力する入力手段と、
前記入力手段により入力されたアドレス情報を記憶する記憶手段と、
自己装置の状態を検出する検出手段と、
前記検出手段により検出された自己装置の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記上位装置に送信する送信手段とを有する印刷装置であって、
前記上位装置から送られてきた前記アドレス情報が入力された時刻を当該アドレス情報に対応させて記憶する入力時刻記憶手段と、
前記入力時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えているか否かを判別する判別手段と、
前記判別手段により前記入力時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えていると判別された場合に、自己装置の状態に関する情報が前記送信手段により前記上位装置に送信されないようにするために、前記記憶された時刻に対応するアドレス情報を前記記憶手段から削除する削除手段と、
前記入力時刻記憶手段に記憶された時刻を更新するために前記記憶手段に記憶されているアドレス情報と同じアドレス情報が前記入力手段により入力された場合、当該アドレス情報に対応する時刻を更新する時刻更新手段と、
を備えることを特徴とする印刷装置。
Input means for inputting the address information for identifying the host device sent from the higher-level device which is connected via a network,
Storage means for storing address information input by the input means ;
Detection means for detecting the state of the self-device;
A printing apparatus and a transmitting means for transmitting information regarding the state of the self apparatus detected by said detection means to said host apparatus in accordance with the stored address information in the storage means,
Input time storage means for storing the time when the address information sent from the host device is input in correspondence with the address information ;
Discriminating means for discriminating whether or not the difference between the time stored in the input time storage means and the current time exceeds a predetermined time;
When it is determined by the determination means that the difference between the time stored in the input time storage means and the current time exceeds a predetermined time, information on the state of the own device is transmitted to the host device by the transmission means. in order to avoid sending a deleting means for deleting the luer dress information to correspond to the stored time from said storage means,
When the same address information as the address information stored in the storage means is input by the input means in order to update the time stored in the input time storage means, the time for updating the time corresponding to the address information Update means;
A printing apparatus comprising:
前記入力手段は、登録コマンドに対応するアドレス情報と、時刻更新コマンドに対応するアドレス情報とを入力し、The input means inputs address information corresponding to a registration command and address information corresponding to a time update command,
前記記憶手段は、前記登録コマンドに従って、前記登録コマンドに対応するアドレス情報を記憶し、The storage means stores address information corresponding to the registration command according to the registration command,
前記時刻更新手段は、前記更新コマンドに従って、前記時刻更新コマンドに対応するアドレス情報と同じアドレス情報に対応する時刻を更新することを特徴とする請求項1記載の印刷装置。The printing apparatus according to claim 1, wherein the time update unit updates a time corresponding to the same address information as the address information corresponding to the time update command according to the update command.
前記入力手段は、削除コマンドに対応するアドレス情報を入力し、
前記削除手段は、前記入力時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えていない場合でも、前記削除コマンドに従って、前記削除コマンドに対応するアドレス情報を前記記憶手段から削除することを特徴とする請求項1又は2記載の印刷装置。
The input means inputs address information corresponding to a delete command,
The deletion means is configured to obtain address information corresponding to the deletion command from the storage means in accordance with the deletion command even when the difference between the time stored in the input time storage means and the current time does not exceed a predetermined time. The printing apparatus according to claim 1, wherein the printing apparatus is deleted.
前記送信手段は、自己装置の状態が変化するのに応じて、自己装置の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記上位装置に送信することを特徴とする請求項1乃至3のいずれか1項に記載の印刷装置。4. The transmission unit according to claim 1, wherein the transmission unit transmits information related to the state of the own device to the higher-level device in accordance with address information stored in the storage unit according to a change in the state of the own device. The printing apparatus according to any one of the above. 前記削除手段は、アドレス情報を前記記憶手段から削除するために、前記記憶手段において当該アドレス情報を上書き可能な状態にすることを特徴とする請求項1乃至4のいずれかに記載の印刷装置。5. The printing apparatus according to claim 1, wherein the deleting unit sets the address information in an overwritable state in the storage unit in order to delete the address information from the storage unit. ネットワークを介して接続されているホストコンピュータから送られてくる当該ホストコンピュータを特定するアドレス情報を入力する入力手段と、Input means for inputting address information for identifying the host computer sent from the host computer connected via the network;
前記入力手段により入力されたアドレス情報を記憶する記憶手段と、Storage means for storing address information input by the input means;
自己の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記ホストコンピュータに送信する送信手段と、Transmitting means for transmitting information relating to its own state to the host computer according to address information stored in the storage means;
前記入力手段により入力されたアドレス情報に対応させて時刻を記憶する時刻記憶手段と、Time storage means for storing time corresponding to the address information input by the input means;
前記入力手段によりアドレス情報が入力された場合、当該アドレス情報に対応する時刻として現在の時刻を設定する時刻設定手段と、When address information is input by the input means, time setting means for setting the current time as the time corresponding to the address information;
前記時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えている場合に、前記時刻記憶手段に記憶された時刻に対応するアドレス情報を前記記憶手段から削除する削除手段と、Deleting means for deleting address information corresponding to the time stored in the time storage means from the storage means when the difference between the time stored in the time storage means and the current time exceeds a predetermined time; ,
前記時刻記憶手段に記憶された時刻を更新するために前記記憶手段に記憶されているアIn order to update the time stored in the time storage means, an application stored in the storage means is used. ドレス情報と同じアドレス情報が前記入力手段により入力された場合、当該アドレス情報に対応する時刻を現在の時刻で更新する時刻更新手段と、When the same address information as the dress information is input by the input means, time update means for updating the time corresponding to the address information with the current time;
を備えることを特徴とする機器。A device characterized by comprising:
前記入力手段は、登録コマンドに対応するアドレス情報と、時刻更新コマンドに対応するアドレス情報とを入力し、The input means inputs address information corresponding to a registration command and address information corresponding to a time update command,
前記記憶手段は、前記登録コマンドに従って、前記登録コマンドに対応するアドレス情報を記憶し、The storage means stores address information corresponding to the registration command according to the registration command,
前記時刻更新手段は、前記更新コマンドに従って、前記更新コマンドに対応するアドレス情報と同じアドレス情報に対応する時刻を更新することを特徴とする請求項6記載の機器。7. The device according to claim 6, wherein the time updating unit updates the time corresponding to the same address information as the address information corresponding to the update command in accordance with the update command.
前記削除手段は、アドレス情報を前記記憶手段から削除するために、前記記憶手段において当該アドレス情報を上書き可能な状態にすることを特徴とする請求項6又は7記載の機器。The device according to claim 6 or 7, wherein the deleting means sets the address information in a state in which the address information can be overwritten in the storage means in order to delete the address information from the storage means. ネットワークを介して接続されているホストコンピュータから送られてくる当該ホストコンピュータを特定するアドレス情報を入力する第1の入力手段と、First input means for inputting address information for identifying the host computer sent from the host computer connected via the network;
前記第1の入力手段により入力されたアドレス情報を記憶する記憶手段と、Storage means for storing address information input by the first input means;
自己の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記ホストコンピュータに送信する送信手段と、Transmitting means for transmitting information relating to its own state to the host computer according to address information stored in the storage means;
アドレス情報の登録を更新するために、ネットワークを介して接続されているホストコンピュータから送られてくる、前記記憶手段に記憶されているアドレス情報と同じアドレス情報を入力する第2の入力手段と、Second input means for inputting the same address information as the address information stored in the storage means, sent from a host computer connected via a network to update the registration of the address information;
前記第1の入力手段によりアドレス情報が入力された後、当該アドレス情報と同じアドレス情報が前記第2の入力手段により入力されずに所定時間が経過した場合、当該アドレス情報を前記記憶手段から削除する削除手段と、After address information is input by the first input means, if the same address information as the address information is not input by the second input means and a predetermined time has elapsed, the address information is deleted from the storage means Delete means to
を備えることを特徴とする機器。A device characterized by comprising:
前記第1の入力手段は、登録コマンドに対応するアドレス情報を入力し、The first input means inputs address information corresponding to a registration command,
前記第2の入力手段は、時刻更新コマンドに対応するアドレス情報を入力することを特徴とする請求項9記載の機器。The device according to claim 9, wherein the second input means inputs address information corresponding to a time update command.
前記削除手段は、アドレス情報を前記記憶手段から削除するために、前記記憶手段において当該アドレス情報を上書き可能な状態にすることを特徴とする請求項9又は10記載の機器。The device according to claim 9 or 10, wherein the deleting means sets the address information in a state in which the address information can be overwritten in the storage means in order to delete the address information from the storage means. ネットワークを介して接続されている他のシステムから送られてくる当該他のシステムを特定するアドレス情報を入力する入力装置と、
前記入力装置により入力されたアドレス情報を記憶する記憶装置と、
自己印刷システムの状態を検出する検出装置と、
前記検出装置により検出された状態に関する情報を前記記憶装置に記憶されたアドレス情報に従って前記他のシステムに送信する送信装置とを有する印刷システムであって、
前記他のシステムから送られてきた前記アドレス情報が入力された時刻を当該アドレス情報に対応させて記憶する入力時刻記憶手段と、
前記入力時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えているか否かを判別する判別手段と、
前記判別手段により前記入力時刻記憶手段に記憶された時刻と現在の時刻との差が所定時間を超えていると判別された場合に、自己印刷システムの状態に関する情報が前記送信装置により前記他のシステムに送信されないようにするために、前記記憶された時刻に対応するアドレス情報を前記記憶装置から削除する削除手段と、
前記入力時刻記憶手段に記憶された時刻を更新するために前記記憶装置に記憶されているアドレス情報と同じアドレス情報が前記入力装置により入力された場合、当該アドレス情報に対応する時刻を更新する時刻更新手段と、
を備えることを特徴とする印刷システム。
An input device for inputting address information for identifying the other systems coming from other systems that are connected via a network,
A storage device for storing address information input by the input device ;
A detection device for detecting the status of the self-printing system;
A printing system comprising: a transmission device that transmits information related to the state detected by the detection device to the other system according to address information stored in the storage device;
Input time storage means for storing the time at which the address information sent from the other system is input in correspondence with the address information ;
Discriminating means for discriminating whether or not the difference between the time stored in the input time storage means and the current time exceeds a predetermined time;
When it is determined by the determination means that the difference between the time stored in the input time storage means and the current time exceeds a predetermined time, information on the state of the self-printing system is transmitted by the transmission device to the other in order not sent to the system, and deleting means for deleting luer dress information to correspond to the stored time from said storage device,
When the same address information as the address information stored in the storage device is input by the input device in order to update the time stored in the input time storage means, the time for updating the time corresponding to the address information Update means;
A printing system comprising:
ネットワークを介して接続されている上位装置から送られてくる当該上位装置を特定するアドレス情報を入力し、入力されたアドレス情報を記憶手段に記憶し、自己装置の状態を検出し、前記検出された自己装置の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記上位装置に送信する印刷装置の状態情報送信方法であって、
前記上位装置から送られてきた前記アドレス情報が入力された時刻を当該アドレス情報に対応させて記憶する工程と
前記記憶された時刻と現在の時刻との差が所定時間を超えているか否かを判別する工程と
前記記憶された時刻と現在の時刻との差が所定時間を超えていると判別された場合に、自己装置の状態に関する情報が前記上位装置に送信されないようにするために、前記記憶された時刻に対応するアドレス情報を削除する工程と、
前記記憶された時刻を更新するために前記記憶手段に記憶されているアドレス情報と同じアドレス情報が入力された場合、当該アドレス情報に対応する時刻を更新する工程とを有することを特徴とする状態情報送信方法。
Enter the address information for identifying the host device sent from the higher-level device which is connected via a network, stores address information entered in the storage means, to detect the state of the self apparatus, the detection A status information transmission method for a printing apparatus that transmits information related to the status of the self-apparatus to the host apparatus according to address information stored in the storage means,
A step of storing the time at which the address information sent from the host device is input in correspondence to the address information,
A step difference between the stored time and the current time to determine whether it exceeds a predetermined time,
When it is determined that the difference between the stored time and the current time exceeds a predetermined time, the stored time is used to prevent information related to the state of the own device from being transmitted to the host device. and a step to remove the luer dress information to respond to,
A step of updating the time corresponding to the address information when the same address information as the address information stored in the storage means is input to update the stored time. Information transmission method.
ネットワークを介して接続されているホストコンピュータから送られてくる当該ホストコンピュータを特定するアドレス情報を入力する工程と、Inputting address information identifying the host computer sent from the host computer connected via the network;
入力されたアドレス情報を記憶手段に記憶する工程と、Storing the input address information in a storage means;
自己の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記ホストコンピュータに送信する工程と、Sending information about its own state to the host computer according to address information stored in the storage means;
アドレス情報が入力された場合、当該アドレス情報に対応する時刻として現在の時刻を設定する工程と、When the address information is input, a step of setting the current time as the time corresponding to the address information;
前記設定された時刻と現在の時刻との差が所定時間を超えている場合に、前記設定された時刻に対応するアドレス情報を前記記憶手段から削除する工程と、A step of deleting address information corresponding to the set time from the storage means when a difference between the set time and the current time exceeds a predetermined time;
前記設定された時刻を更新するために前記記憶手段に記憶されているアドレス情報と同じアドレス情報が入力された場合、当該アドレス情報に対応する時刻を現在の時刻で更新する工程とを有することを特徴とする状態情報送信方法。A step of updating the time corresponding to the address information with the current time when the same address information as the address information stored in the storage means is input to update the set time. A characteristic state information transmission method.
ネットワークを介して接続されているホストコンピュータから送られてくる当該ホストコンピュータを特定するアドレス情報を入力する第1の入力工程と、A first input step of inputting address information specifying the host computer sent from the host computer connected via the network;
前記第1の入力工程により入力されたアドレス情報を記憶手段に記憶する工程と、Storing the address information input in the first input step in a storage means;
自己の状態に関する情報を前記記憶手段に記憶されたアドレス情報に従って前記ホストコンピュータに送信する工程と、Sending information about its own state to the host computer according to address information stored in the storage means;
アドレス情報の登録を更新するために、ネットワークを介して接続されているホストコンピュータから送られてくる、前記記憶手段に記憶されているアドレス情報と同じアドレス情報を入力する第2の入力工程と、A second input step for inputting the same address information as the address information stored in the storage means sent from a host computer connected via a network in order to update the registration of the address information;
前記第1の入力工程によりアドレス情報が入力された後、当該アドレス情報と同じアドレス情報が前記第2の入力工程により入力されずに所定時間が経過した場合、当該アドレス情報を前記記憶手段から削除する工程とを有することを特徴とする状態情報送信方法。After the address information is input by the first input step, if the same address information as the address information is not input by the second input step and the predetermined time has elapsed, the address information is deleted from the storage unit And a state information transmitting method.
JP02155798A 1998-01-20 1998-01-20 Printing apparatus, printing system, status information transmission method, and apparatus to which the status information transmission method is applied Expired - Fee Related JP3706728B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02155798A JP3706728B2 (en) 1998-01-20 1998-01-20 Printing apparatus, printing system, status information transmission method, and apparatus to which the status information transmission method is applied

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02155798A JP3706728B2 (en) 1998-01-20 1998-01-20 Printing apparatus, printing system, status information transmission method, and apparatus to which the status information transmission method is applied

Publications (2)

Publication Number Publication Date
JPH11203094A JPH11203094A (en) 1999-07-30
JP3706728B2 true JP3706728B2 (en) 2005-10-19

Family

ID=12058319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02155798A Expired - Fee Related JP3706728B2 (en) 1998-01-20 1998-01-20 Printing apparatus, printing system, status information transmission method, and apparatus to which the status information transmission method is applied

Country Status (1)

Country Link
JP (1) JP3706728B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5006632B2 (en) 2006-03-29 2012-08-22 キヤノン株式会社 Data processing apparatus and data processing method
JP2007274588A (en) 2006-03-31 2007-10-18 Canon Inc Electronic apparatus and control method in the apparatus
JP2008123424A (en) * 2006-11-15 2008-05-29 Fuji Xerox Co Ltd Notification apparatus, notification system, and notification program
JP5031352B2 (en) 2006-12-13 2012-09-19 キヤノン株式会社 Information processing apparatus, information processing method, and program

Also Published As

Publication number Publication date
JPH11203094A (en) 1999-07-30

Similar Documents

Publication Publication Date Title
JP3563793B2 (en) Data processing method and apparatus
JP3165268B2 (en) Print information processing method and apparatus
US5751430A (en) Output apparatus and method capable of emulating a mode of received data
JP3706728B2 (en) Printing apparatus, printing system, status information transmission method, and apparatus to which the status information transmission method is applied
US6052204A (en) Output apparatus and output method
JPH08179974A (en) Method and device for processing data
JPH10187565A (en) Data processor and data processing method, and storage medium stored with computer-readable program
JPH11348380A (en) Image output method and apparatus, image processor and processing method, and memory medium
JPH05100804A (en) Print system
US6633397B2 (en) Output apparatus and output environment setting method in output apparatus
JPH1097395A (en) Print controller, print control method for printer device, and storage medium stored with computer-readable program
JP4109755B2 (en) Printing device
JP3283744B2 (en) Output system and data processing method
JPH08156371A (en) Image output device, host computer and network housing both of them
JP3950576B2 (en) Printing system and control method thereof
JPH1199730A (en) Printer and its control method
JP3281465B2 (en) PRINTING APPARATUS, ITS CONTROL METHOD, AND ITS STATUS DISPLAY METHOD
JPH07290794A (en) Printing device and control thereof
JP3267458B2 (en) Output device and output method
JPH07325681A (en) Printer, printing system and method for controlling data communication of printing system
JPH05338280A (en) Method and apparatus for printing
JP2000112677A (en) Communication controller, method for processing data of communication controller and storage medium in which program readable by computer is stored
JPH0872362A (en) Printing device and control method thereof
JPH07104952A (en) Printer
JPH0816343A (en) Printer controller and job control language switching method for the same

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050111

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050314

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050801

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100805

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120805

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120805

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130805

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees