JP3415557B2 - Printer control method, printer device and printer system - Google Patents

Printer control method, printer device and printer system

Info

Publication number
JP3415557B2
JP3415557B2 JP2000101806A JP2000101806A JP3415557B2 JP 3415557 B2 JP3415557 B2 JP 3415557B2 JP 2000101806 A JP2000101806 A JP 2000101806A JP 2000101806 A JP2000101806 A JP 2000101806A JP 3415557 B2 JP3415557 B2 JP 3415557B2
Authority
JP
Japan
Prior art keywords
printer
printer device
response
print
new session
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
JP2000101806A
Other languages
Japanese (ja)
Other versions
JP2001290629A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2000101806A priority Critical patent/JP3415557B2/en
Publication of JP2001290629A publication Critical patent/JP2001290629A/en
Application granted granted Critical
Publication of JP3415557B2 publication Critical patent/JP3415557B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ノンストップ印刷
を簡単な構成で効率よく実現するためのプリンタ制御方
法およびプリンタ装置およびプリンタシステムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer control method, a printer device and a printer system for efficiently realizing non-stop printing with a simple structure.

【0002】[0002]

【従来の技術】従来のノンストップ印刷をサービスする
ためのプリンタシステムでは、ノンストップ印刷である
プリントサービス提供を目的としたサーバマシンを設置
し、複数のプリンタ装置に対して印刷ジョブの割り振り
を行う特別なソフトウェアを前記サーバマシン上で動作
させることで印刷処理の連続性を保っていた。
2. Description of the Related Art In a conventional printer system for servicing non-stop printing, a server machine is provided for the purpose of providing a non-stop printing print service, and print jobs are allocated to a plurality of printer devices. By running special software on the server machine, the continuity of the printing process is maintained.

【0003】[0003]

【発明が解決しようとする課題】従来のプリンタ制御方
法およびプリンタ装置およびプリンタシステムは以上の
ように構成されており、サーバマシンのオペレーティン
グシステムが提供する印刷サービスにとって、障害時の
プリンタ切り替え機能は必ず必要となるものではない。
このため、ノンストップ印刷であるプリントサービス提
供を目的としたサーバマシンにおいて前記障害時のプリ
ンタ切り替え機能を実現するためには、前記障害時のプ
リンタ切り替え機能を提供するソフトウェアを前記サー
バマシンのオペレーティングシステムに導入しなければ
ならない課題があった。
The conventional printer control method, printer device, and printer system are configured as described above, and the printer switching function at the time of failure must be provided for the print service provided by the operating system of the server machine. It is not necessary.
Therefore, in order to realize the printer switching function at the time of the failure in the server machine for the purpose of providing the print service which is the non-stop printing, the software for providing the printer switching function at the time of the failure is installed in the operating system of the server machine. There was a problem that had to be introduced in.

【0004】また、プリンタ装置自体にはノンストップ
化を実現する機能が無いため、ノンストップ印刷である
プリントサービスを実現するためには、ノンストップ印
刷であるプリントサービス提供を目的としたサーバマシ
ンが必ず必要になるという課題があった。
Further, since the printer apparatus itself does not have a function for realizing non-stop printing, in order to realize a print service which is non-stop printing, a server machine for the purpose of providing the non-stop printing service is required. There was a problem that it was absolutely necessary.

【0005】本発明は以上のような課題を解決するため
になされたものであり、サーバの有無やサーバ上のオペ
レーティングシステムの種類に依存せず、印刷処理中の
エラー発生に対し簡単な構成で効率よくノンストップ印
刷を実現できるプリンタ制御方法およびプリンタ装置お
よびプリンタシステムを提供することにある。
The present invention has been made in order to solve the above problems, and has a simple structure for an error occurrence during print processing, regardless of the presence or absence of a server and the type of operating system on the server. An object of the present invention is to provide a printer control method, a printer device, and a printer system that can efficiently realize nonstop printing.

【0006】[0006]

【課題を解決するための手段】本発明に係るプリンタ制
御方法は、新規セッション要求に対し印刷処理を実行す
る端末で発生する応答が所定時間内にあるかないかを、
前記印刷処理を実行する端末の代理となることの可能な
他の端末で監視し判定し、前記新規セッション要求に対
し印刷処理を実行する端末で発生する応答が所定時間内
にないと、前記新規セッション要求に対する応答を前記
他の端末が前記印刷処理を実行する端末に代わり代理応
答し、前記印刷処理を前記他の端末へ引き継ぐことを特
徴とする。
SUMMARY OF THE INVENTION A printer control method according to the present invention determines whether or not a response to a new session request occurs at a terminal which executes print processing within a predetermined time.
The terminal that performs the print processing is monitored and determined by another terminal that can act as a proxy, and responds to the new session request.
If the response generated by the terminal that executes the print process is not within the predetermined time, the response to the new session request is
Another terminal acts as a proxy instead of the terminal that executes the printing process.
In response, the print processing is handed over to the other terminal.

【0007】本発明に係るプリンタ装置は、あらかじめ
設定された他のプリンタ装置に対するホストPCからの
新規セッション要求について、前記他のプリンタ装置が
所定時間内に応答しているかを監視し検出する監視手段
と、該監視手段により前記他のプリンタ装置が前記所定
時間内に応答していないことが検出されると、前記他の
プリンタ装置に対する前記新規セッション要求に係る通
信データの送受信を、前記他のプリンタ装置に代わって
行う送受代替手段と、印刷処理中にエラーが生じエラー
通知信号が出力されると前記ホストPCからの新規セッ
ション要求についての応答を停止する応答停止手段とを
有した通信インタフェースと、前記ホストPCから送信
される印字データ1つ分が入るのに十分なサイズの受信
バッファと、印字データの印刷処理を行うとともに、前
記印刷処理中にエラーが生じた場合に前記通信インタフ
ェースへ前記エラー通知信号を出力するエラー信号出力
手段を有した印字処理部とを備え、前記通信インタフェ
ースは、印刷処理を実行している他のプリンタ装置の通
信インタフェースで発生する新規セッション要求に対す
る応答が所定時間内にないと、前記新規セッション要求
に対する応答を前記他のプリンタ装置の通信インタフェ
ースに代わり代理応答し、前記他のプリンタ装置に代り
前記ホストPCからの印刷要求を処理することを特徴と
する。
The printer device according to the present invention is a monitoring means for monitoring and detecting whether or not the other printer device responds within a predetermined time to a new session request from the host PC to the other preset printer device. And when the monitoring unit detects that the other printer device has not responded within the predetermined time, it transmits and receives communication data related to the new session request to the other printer device, A communication interface having a transmission / reception alternative means performed on behalf of the apparatus, and a response stop means for stopping the response to the new session request from the host PC when an error occurs during the printing process and an error notification signal is output, A receive buffer of sufficient size to store one print data sent from the host PC, and print Performs printing processing over data, and a print processing unit having an error signal output means for outputting the error notification signal to the communication interface when the error occurs during the printing process, the communication Intafe
Is the communication of another printer device that is performing the printing process.
For new session requests that occur in the communication interface
If there is no response within the specified time, the new session request
To the communication interface of the other printer device.
On behalf of the other printer device
A print request from the host PC is processed .

【0008】本発明に係るプリンタシステムは、グルー
プ化された複数のプリンタ装置がネットワークによりホ
ストPCに接続されており、そのうちの印刷処理を実行
しているプリンタ装置において印刷処理が続行不能にな
った場合に当該プリンタ装置で行う印刷処理を他のプリ
ンタ装置が引き継ぐプリンタシステムであって、前記印
刷処理を実行するプリンタ装置は、印刷処理中のエラー
発生により前記ホストPCからの新規セッション要求に
対する応答を停止し、前記他のプリンタ装置は、前記印
刷処理を実行するプリンタ装置における所定時間内の前
記応答の有無を監視し、新規セッション要求に対し印刷
処理を実行するプリンタ装置で発生する前記応答が所定
時間内にないと、前記新規セッション要求に対する前記
応答を前記印刷処理を実行するプリンタ装置に代わり代
理応答し、前記新規セッション要求に係る印刷処理を引
き継ぐことを特徴とする。
In the printer system according to the present invention, a plurality of grouped printer devices are connected to the host PC by the network, and the printer device executing the print process cannot continue the print process. In this case, in a printer system in which another printer device takes over the print process performed by the printer device, the printer device that executes the print process responds to a new session request from the host PC due to an error occurring during the print process. Then, the other printer device monitors the presence / absence of the response within a predetermined time in the printer device that executes the printing process, and prints in response to a new session request.
The response generated by the printer that executes the process is predetermined.
If not in time, the
Substitute the response for the printer device that executes the printing process.
The print processing relating to the new session request is taken over.

【0009】本発明のプリンタ制御方法は、新規セッシ
ョン要求に対し印刷処理を実行する端末で発生する応答
が所定時間内にあるかないかを、前記印刷処理を実行す
る端末の代理となることの可能な他の端末で監視し判定
、前記新規セッション要求に対し印刷処理を実行する
端末で発生する応答が所定時間内にないと、前記新規セ
ッション要求に対する応答を前記他の端末が前記印刷処
理を実行する端末に代わり代理応答し、前記印刷処理を
前記他の端末へ引き継ぎ、サーバの有無やサーバ上のオ
ペレーティングシステムの種類に依存することなく、端
末側の処理のみでノンストップ印刷を可能にし、印刷処
理中のエラー発生に対し簡単な構成で効率のよいノンス
トップ印刷を実現する。
In the printer control method of the present invention, it is possible to act as a proxy for the terminal that executes the print processing, to determine whether or not the response generated by the terminal that executes the print processing in response to the new session request is within a predetermined time. It is monitored and judged by another terminal, and print processing is executed in response to the new session request.
If there is no response from the terminal within the specified time, the new session
A response to the print request by the other terminal.
Non-stop printing can be performed only by the processing on the terminal side , instead of the terminal that executes processing, by proxy response and by handing over the printing processing to the other terminals without depending on the presence or absence of a server or the type of operating system on the server. In addition, efficient non-stop printing can be realized with a simple configuration even when an error occurs during printing processing.

【0010】本発明のプリンタ装置は、印字処理部が印
字データの印刷処理を行うとともに、前記印刷処理中に
エラーが生じた場合にエラー信号出力手段により通信イ
ンタフェースへエラー通知信号を出力し、前記通信イン
タフェースは、前記エラー通知信号が出力されると新規
セッション要求についての応答を応答停止手段により停
止する。一方、あらかじめ設定された他のプリンタ装置
に対するホストPCからの新規セッション要求につい
て、前記他のプリンタ装置が所定時間内に応答している
かを監視手段で監視し、前記所定時間内に前記他のプリ
ンタ装置が応答していないと、前記他のプリンタ装置に
対する前記新規セッション要求に対する応答を、前記他
のプリンタ装置の通信インタフェースに代わって代理応
答し、サーバの有無やサーバ上のオペレーティングシス
テムの種類に依存することのない、プリンタ装置側の処
理のみによるノンストップ印刷を可能にし、印刷処理中
のエラー発生に対し簡単な構成で効率のよいノンストッ
プ印刷を実現する。
In the printer device of the present invention, the print processing unit prints the print data, and when an error occurs during the print processing, the error signal output means outputs an error notification signal to the communication interface. When the error notification signal is output, the communication interface stops the response to the new session request by the response stop means. On the other hand, with respect to a preset new session request from the host PC to another printer device, the monitoring means monitors whether or not the other printer device responds within a predetermined time, and the other printer within the predetermined time. When the device is not responding, the responses to the new session request to the other printing device, the other
Substitute for the communication interface of the printer
On the other hand, non-stop printing can be performed only by the processing on the printer side, which does not depend on the presence or absence of a server or the type of operating system on the server, and it is efficient with a simple configuration even if an error occurs during printing processing. Achieve non-stop printing.

【0011】本発明のプリンタシステムは、印刷処理中
にエラーが発生すると、その印刷処理を実行するプリン
タ装置ではホストPCからの新規セッション要求に対す
る応答を停止する。一方、他のプリンタ装置は、前記印
刷処理を実行するプリンタ装置における所定時間内の前
記応答の有無を監視しており、前記所定時間内の前記応
答が無いことを検出すると、前記新規セッション要求に
対する応答を前記印刷処理を実行するプリンタ装置に代
わり代理応答し、前記他のプリンタ装置が前記新規セッ
ション要求に係る印刷処理を代理する。このため、サー
バの有無やサーバ上のオペレーティングシステムの種類
に依存することのない、プリンタ装置側の処理のみによ
るノンストップ印刷が可能になり、印刷処理を実行する
プリンタ装置における印刷処理中のエラー発生に対し簡
単な構成で効率のよいノンストップ印刷が実現する。
In the printer system of the present invention, when an error occurs during the printing process, the printer device that executes the printing process stops the response to the new session request from the host PC. On the other hand, the other printer device monitors the presence / absence of the response within the predetermined time in the printer device that executes the print process, and when it detects that there is no response within the predetermined time, the other printer device responds to the new session request.
The response to the printer device that executes the printing process.
Instead, a proxy response is sent, and the other printer device acts as a proxy for the print processing related to the new session request. Therefore, non-stop printing can be performed only by the processing on the printer device side without depending on the presence or absence of a server or the type of operating system on the server, and an error occurs during the printing process in the printer device that executes the printing process. In contrast, a simple configuration enables efficient non-stop printing.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の一形態につ
いて説明する。本実施の形態1によるプリンタ制御方法
およびプリンタシステムは、複数台のプリンタ装置をグ
ループ化することで、その連携処理により一つのプリン
タ装置に発生した印刷処理続行不能なトラブル下におい
ても、継続した印刷処理を提供できるようにしたもので
ある。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below. In the printer control method and the printer system according to the first embodiment, by grouping a plurality of printer devices, continuous printing can be performed even under the trouble that the printing process cannot be continued in one printer device due to the cooperation process. The processing is provided.

【0013】また、本実施の形態1のプリンタ制御方法
およびプリンタシステムは、グループ化されたプリンタ
装置間で互いにその印刷サービス提供の状態を監視し合
い、前記グループ化されたプリンタ装置のいずれかに印
刷処理不可能な状態が発生した場合には、前記印刷処理
不可能な状態が発生したプリンタ装置を監視中の別のプ
リンタ装置がその処理を引き継ぐことで印刷処理のノン
ストップ化を実現するものである。
In the printer control method and the printer system according to the first embodiment, the grouped printer apparatuses monitor each other for the print service provision state, and any one of the grouped printer apparatuses is monitored. When a state in which print processing is impossible occurs, another printer apparatus that is monitoring the printer apparatus in which the print processing impossible state has taken over realizes non-stop printing processing. Is.

【0014】また、本実施の形態1のプリンタ制御方法
およびプリンタ装置およびプリンタシステムでは、印刷
処理のノンストップ化を実現するためのサービス状態の
監視と印刷処理の引き継ぎにはプリンタ装置間の通信を
利用せず、通信プロトコルレベルでのパケット監視とL
AN上ノードのアドレスエミュレーションにより行う。
また、サービス状態の確認にはホストとなるパーソナル
コンピュータと監視対象のプリンタ装置間の通信にあら
かじめ決められた時間のタイムラグが発生しないことを
前提とし、監視対象として動作しているプリンタ装置側
では正常状態にある時そのタイムラグを超える遅い通信
応答を返すことは無い。そして、プリンタ装置にエラー
が発生して印刷サービスが続行不能になった場合にはホ
ストとなるパーソナルコンピュータからの通信に対する
応答を止めるという動作を行い、この場合、指定時間内
の前記応答が無いことを監視側のプリンタ装置が検出す
ることで監視対象のプリンタ装置がエラー状態であるこ
とを確認し、その印刷処理を前記監視側のプリンタ装置
が引き継ぐ。この引き継ぎ処理に関しては、LAN上で
ノードを特定するためのノード固有のアドレスごと引き
継ぐことで前記エラー状態(障害状態)にあるプリンタ
装置をエミュレートし、処理の継続を図るものである。
Further, in the printer control method, the printer device and the printer system of the first embodiment, communication between the printer devices is performed in order to monitor the service status and take over the print process in order to realize non-stop of the print process. Packet monitoring and L at communication protocol level without using
This is performed by address emulation of the node on the AN.
In addition, it is assumed that there is no time lag of a predetermined time in the communication between the host personal computer and the monitored printer device for checking the service status, and the printer device operating as the When in the state, it does not return a slow communication response that exceeds the time lag. Then, when an error occurs in the printer device and the print service cannot be continued, the response to the communication from the personal computer as the host is stopped, and in this case, there is no response within the specified time. The printer device on the monitoring side detects that the printer device to be monitored is in an error state, and the printer device on the monitoring side takes over the printing process. Regarding this takeover process, the printer device in the error state (fault state) is emulated by taking over each node-specific address for identifying the node on the LAN, and the process is continued.

【0015】図1は、本実施の形態1のプリンタ制御方
法が適用されるプリンタシステムを構成するプリンタ装
置を示す概略ブロック図である。このプリンタ装置は、
単一の装置内では通常のネットワーク対応プリンタ装置
と同様なLANインタフェース1と受信バッファ2と印
刷処理部3を備えている。
FIG. 1 is a schematic block diagram showing a printer device that constitutes a printer system to which the printer control method of the first embodiment is applied. This printer device
The single device includes a LAN interface 1, a reception buffer 2, and a print processing unit 3, which are similar to those of an ordinary network printer device.

【0016】LANインタフェース1は、当該プリンタ
装置をLANへ接続するためのインタフェースであり、
LAN上に存在するホストとなるパーソナルコンピュー
タ(以下、ホストPCという)と通信して印字データの
受け取りを行う。通常のLANインタフェースでは自身
のインタフェース固有のアドレスに対する通信パケット
の送受信処理のみを行うが、本プリンタ装置のLANイ
ンタフェース1は事前に設定された指定のアドレスに対
する通信パケットの送受信をも行えるような機能実現の
ための送受代替手段1aと、印刷処理中のプリンタ装置
への新規セッション要求に当該プリンタ装置が規定時間
内に応答しているかを監視する機能を有した監視手段1
bと、自己の印刷処理中にエラーが生じ印刷処理部3か
らエラー通知信号が出力されると前記ホストPCから自
己への新規セッション要求についての応答を停止する応
答停止手段1cとを有している。受信バッファ2は、ホ
ストから送信される印字データ1つ分が入るのに十分な
サイズのバッファメモリである。印字処理部3は、LA
Nインタフェースを持たない単機能のプリンタ装置と同
等のものであり、印字データを用紙へ印刷する処理を行
い、印刷処理に問題が生じた場合に通信インタフェース
1へ前記エラー通知信号を出力する機能を有したエラー
信号出力手段3aを備えている。
The LAN interface 1 is an interface for connecting the printer device to a LAN,
Print data is received by communicating with a personal computer (hereinafter referred to as a host PC) that is a host on the LAN. A normal LAN interface only performs transmission / reception processing of communication packets for addresses unique to its own interface, but the LAN interface 1 of this printer device realizes a function that can also transmit / receive communication packets for designated addresses set in advance. Transmission / reception alternative means 1a for monitoring and a monitoring means 1 having a function of monitoring whether or not the printer device is responding to a new session request to the printer device during print processing within a specified time.
b, and a response stop means 1c for stopping the response to the new session request from the host PC to itself when an error occurs during the print processing of its own and an error notification signal is output from the print processing unit 3. There is. The reception buffer 2 is a buffer memory having a size sufficient to store one print data transmitted from the host. The print processing unit 3 is LA
It is equivalent to a single-function printer device without an N interface, and has a function of printing print data on paper and outputting the error notification signal to the communication interface 1 when a problem occurs in the printing process. The error signal output means 3a is provided.

【0017】次に、図1に示すプリンタ装置の動作につ
いて、図2のフローチャートを参照して説明する。LA
N上のホストPCから送信されてくる印字データは、L
ANインタフェース1により受信され受信バッファ2へ
格納される。受信バッファ2へ印字データが入ると印刷
処理部3は印字データを印刷処理しながら、順次データ
を引き取って受信バッファ2を空けてゆく。そして、印
刷処理中に印刷処理部3で用紙詰まり等のエラーが発生
すると、印刷処理部3はエラー通知信号をアクティブに
して、LANインタフェース1に印字処理部3でエラー
が発生したことを通知する(ステップS1)。LANイ
ンタフェース1は、前記エラー通知信号をもとに印刷処
理部3におけるエラー発生を判定しており(ステップS
2)、LANインタフェース1は前記エラー通知信号を
受けると、応答停止手段1cによりLAN上のホストP
Cからの新たな印字データ通信のセッション要求である
新規セッション要求に応答しない状態に入り(ステップ
S3)、同時に現在印刷処理中のデータ受信を継続して
現在までの印字データ通信のセッション要求に係る全て
の未受信データを受信バッファ2へ溜め込む(ステップ
S4)。そして、前記エラー通知信号が解除されるま
で、ステップS2およびステップS3により新規セッシ
ョン要求に対し無視の状態を継続する。
Next, the operation of the printer device shown in FIG. 1 will be described with reference to the flowchart of FIG. LA
The print data sent from the host PC on N is L
It is received by the AN interface 1 and stored in the reception buffer 2. When print data is received in the reception buffer 2, the print processing unit 3 prints the print data and sequentially receives the data to empty the reception buffer 2. When an error such as a paper jam occurs in the print processing unit 3 during the print processing, the print processing unit 3 activates the error notification signal to notify the LAN interface 1 that the error has occurred in the print processing unit 3. (Step S1). The LAN interface 1 determines whether an error has occurred in the print processing unit 3 based on the error notification signal (step S
2) When the LAN interface 1 receives the error notification signal, the response stop means 1c causes the host P on the LAN to
A state of not responding to a new session request, which is a new print data communication session request from C, is entered (step S3), and at the same time, the data reception during the current print processing is continued and the print data communication session request up to the present is requested. All unreceived data is stored in the reception buffer 2 (step S4). Then, until the error notification signal is released, the state of ignoring the new session request is continued in steps S2 and S3.

【0018】ここで、本プリンタ装置は複数台(この実
施の形態1では一例として2台)によってグループ構成
されている。図3は、この実施の形態1の図1に示すプ
リンタ装置をLAN回線により接続してなるプリンタシ
ステムを示す構成図である。図3のLAN回線(ネット
ワーク)11上には印刷要求元のホストPC12と符号
13で示す印刷処理中のグループプリンタA(プリンタ
装置)、グループプリンタAとグループ化されている符
号14で示すグループプリンタB(プリンタ装置)が存
在する。
Here, the printer device is grouped by a plurality of printers (two printers as an example in the first embodiment). FIG. 3 is a configuration diagram showing a printer system in which the printer device shown in FIG. 1 of the first embodiment is connected by a LAN line. On the LAN line (network) 11 in FIG. 3, a host PC 12 as a print request source, a group printer A (printer device) in print processing indicated by reference numeral 13, and a group printer indicated by reference numeral 14 grouped with group printer A. B (printer device) exists.

【0019】次に、図3に示すグループプリンタBの動
作について、図4のフローチャートを参照して説明す
る。この図4に示す処理は、印刷処理中のグループプリ
ンタAに対するグループプリンタBの監視手段1bによ
る応答監視処理を示す。グループプリンタBではLAN
インタフェース1の送受代替手段1aの機能により、グ
ループプリンタAのアドレスに関するLAN回線11上
の通信が常時受信されている。そして、図4のフローチ
ャートに示す処理に従ってグループプリンタAへの新規
セッション要求にグループプリンタAが規定時間(t時
間)内に応答しているかを監視手段1bにより監視して
おり(ステップS11,ステップS12)、グループプ
リンタAにエラーが発生しない限りはグループプリンタ
Bでは規定時間内にプリンタAの応答が観測されてい
る。
Next, the operation of the group printer B shown in FIG. 3 will be described with reference to the flowchart of FIG. The process shown in FIG. 4 is a response monitoring process by the monitoring means 1b of the group printer B for the group printer A during the printing process. LAN in group printer B
Due to the function of the transmission / reception alternative means 1a of the interface 1, the communication on the LAN line 11 regarding the address of the group printer A is always received. Then, according to the processing shown in the flowchart of FIG. 4, the monitoring means 1b monitors whether the group printer A responds to the new session request to the group printer A within the specified time (t time) (steps S11 and S12). ), As long as no error occurs in the group printer A, the response of the printer A is observed in the group printer B within the specified time.

【0020】グループプリンタAでエラーが発生し、ホ
ストPCからの新規セッション要求に対するグループプ
リンタAからの規定時間内の応答が観測されなかった場
合には、グループプリンタBはグループプリンタAのイ
ンタフェースアドレスを持つLANノードとして代理応
答する状態に入る(ステップS13)。
When an error occurs in the group printer A and no response from the group printer A to the new session request from the host PC within the specified time is observed, the group printer B sets the interface address of the group printer A. As a LAN node to have, it enters a state of making a proxy response (step S13).

【0021】代理応答状態に入ったグループプリンタB
は完全なグループプリンタAとしてホストPCからの印
刷要求を処理してゆき(ステップS14)、代理応答し
たセッションデータの処理を終えると、ステップS11
へ戻り、再度グループプリンタAの監視状態に戻る。
Group printer B entering the proxy response state
Processes the print request from the host PC as the complete group printer A (step S14), and when the processing of the session data for which the proxy response is completed is completed, step S11
Then, the process returns to the group printer A monitoring state again.

【0022】次のセッション要求が来たときに、グルー
ププリンタAでエラー状態がリカバリーされていればグ
ループプリンタAは本来のグループプリンタAとして印
刷要求に応答し、もしグループプリンタAでエラー状態
が続いていれば、再度グループプリンタBがグループプ
リンタAとして代理処理を行う状態に入る。この連携処
理によりホストPCからグループリンタへの印刷要求が
プリンタのエラー状態によって滞ることなく処理される
ようになる。
When the error condition is recovered in the group printer A when the next session request comes, the group printer A responds to the print request as the original group printer A, and if the error condition continues in the group printer A. If so, the group printer B again enters the state of performing the proxy process as the group printer A. By this cooperation processing, the print request from the host PC to the glue printer can be processed without delay due to the error state of the printer.

【0023】以上のように、本実施の形態1によれば、
サーバの有無やサーバ上のオペレーティングシステムの
種類に依存せずにノンストップ印刷環境が実現できるプ
リンタ制御方法およびプリンタ装置およびプリンタシス
テムが提供できる効果がある。
As described above, according to the first embodiment,
It is possible to provide a printer control method, a printer device, and a printer system that can realize a nonstop printing environment without depending on the presence or absence of a server and the type of operating system on the server.

【0024】また、パケットレベルでの監視・引き継ぎ
動作により監視先プリンタに対して状態確認通信を行わ
ないので、ノンストップ印刷環境を実現するための処理
においてオーバーヘッドが少なく、効率のよいノンスト
ップ印刷環境を実現できるプリンタ制御方法およびプリ
ンタ装置およびプリンタシステムを提供できる効果があ
る。
Further, since the status confirmation communication is not performed to the monitoring destination printer by the packet level monitoring / takeover operation, there is little overhead in the processing for realizing the nonstop printing environment, and the efficient nonstop printing environment is provided. There is an effect that it is possible to provide a printer control method, a printer device, and a printer system that can realize the above.

【0025】また、プリンタ装置側のみの対応でノンス
トップ印刷環境を実現でき、既存のプリンタ装置を置き
換えるだけでよく、ホストPC側での特別な対応は不要
であり、簡単な構成でノンストップ印刷環境を実現でき
るプリンタ制御方法およびプリンタ装置およびプリンタ
システムを提供できる効果がある。
Further, the non-stop printing environment can be realized only by the printer device side, the existing printer device only needs to be replaced, and no special support is required on the host PC side. There is an effect that a printer control method, a printer device, and a printer system that can realize an environment can be provided.

【0026】次に、本発明の実施の形態2について説明
する。前記実施の形態1は、LANインタフェース1に
他ノードの通信監視機能を実現するための監視手段を設
け、グループプリンタAとグループプリンタB間のエラ
ー状態の確認を印刷要求に対する応答時間で状態確認す
るものであったが、本実施の形態2ではこの状態確認を
プリンタ装置間の直接通信により行う構成にする。
Next, a second embodiment of the present invention will be described. In the first embodiment, the LAN interface 1 is provided with a monitoring unit for realizing the communication monitoring function of another node, and the error status between the group printer A and the group printer B is confirmed by the response time to the print request. However, in the second embodiment, this state is confirmed by direct communication between the printer devices.

【0027】このように構成した場合では、印刷処理を
行うプリンタ装置(例えば、グループプリンタA)はセ
ッション要求を受け付けるたびに、グループ内の代理待
機しているプリンタ装置(例えばグループプリンタB)
へ、エラー状態であるか、正常な状態であるかなどの自
己の状態を知らせる通信を発生させなければならない
が、プリンタエラー時の代替印刷処理が実現でき、プリ
ンタ装置側のみの対応でノンストップ印刷環境を実現で
きるなど前記実施の形態1と同様な効果を奏する。
With this configuration, the printer device (for example, the group printer A) that performs the print processing receives the session request, and the printer device that is on standby as a proxy in the group (for example, the group printer B).
It is necessary to generate communication that informs its own status such as whether it is in an error state or a normal state, but alternative printing processing at the time of printer error can be realized, and non-stop only by the printer device side. The same effects as those of the first embodiment can be achieved, such as realizing a printing environment.

【0028】[0028]

【発明の効果】以上のように、本発明のプリンタ制御方
法およびプリンタ装置およびプリンタシステムによれ
ば、サーバの有無やサーバ上のオペレーティングシステ
ムの種類に依存せず、プリンタ装置側の処理のみによる
ノンストップ印刷が可能になり、印刷処理の実行側にお
ける印刷処理中のエラー発生に対し簡単な構成で効率の
よいノンストップ印刷を実現できる効果がある。
As described above, according to the printer control method, the printer device, and the printer system of the present invention, the non-processing only by the printer device side does not depend on the presence or absence of the server or the type of operating system on the server. Stop printing is enabled, and there is an effect that efficient non-stop printing can be realized with a simple configuration even when an error occurs during printing processing on the print processing execution side.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施の形態1のプリンタ制御方法が適
用されるプリンタシステムを構成するプリンタ装置を示
す概略ブロック図である。
FIG. 1 is a schematic block diagram showing a printer device that constitutes a printer system to which a printer control method according to a first embodiment of the present invention is applied.

【図2】本発明の実施の形態1のプリンタ装置が印刷処
理の実行側となっているときの動作を示すフローチャー
トである。
FIG. 2 is a flowchart showing an operation when the printer device according to the first embodiment of the present invention is a print processing execution side.

【図3】この発明の実施の形態1のプリンタ装置をLA
N回線により接続してなるプリンタシステムを示す構成
図である。
FIG. 3 shows the printer device according to the first embodiment of the present invention as an LA.
It is a block diagram showing a printer system connected by N lines.

【図4】この発明の実施の形態1によるプリンタ制御方
法が適用されるプリンタシステムで印刷処理中のグルー
ププリンタAに対するグループプリンタBの監視手段に
よる応答監視処理を示すフローチャートである。
FIG. 4 is a flowchart showing a response monitoring process by the monitoring means of the group printer B for the group printer A which is performing the printing process in the printer system to which the printer control method according to the first embodiment of the present invention is applied.

【符号の説明】[Explanation of symbols]

1……LANインタフェース、1a……送受代替手段、
1b……監視手段、1c……応答停止手段、2……受信
バッファ、3……印刷処理部、3a……エラー信号出力
手段、11……LAN回線(ネットワーク)、12……
ホストPC、13……グループプリンタA(プリンタ装
置)、14……グループプリンタB(プリンタ装置)。
1 ... LAN interface, 1a ... Transmission / reception alternative means,
1b ... Monitoring means, 1c ... Response stopping means, 2 ... Reception buffer, 3 ... Print processing section, 3a ... Error signal output means, 11 ... LAN line (network), 12 ...
Host PC, 13 ... Group printer A (printer device), 14 ... Group printer B (printer device).

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 新規セッション要求に対し印刷処理を実
行する端末で発生する応答が所定時間内にあるかないか
を、前記印刷処理を実行する端末の代理となることの可
能な他の端末で監視し判定し、前記新規セッション要求
に対し印刷処理を実行する端末で発生する応答が所定時
間内にないと、前記新規セッション要求に対する応答を
前記他の端末が前記印刷処理を実行する端末に代わり代
理応答し、前記印刷処理を前記他の端末へ引き継ぐこと
を特徴とするプリンタ制御方法。
1. A terminal that executes a print process responds to a new session request within a predetermined time by another terminal that can act as a proxy for the terminal that executes the print process. The new session request
The response generated by the terminal to execute the printing process on is not within the predetermined time, a response to the new session request
The other terminal replaces the terminal that executes the printing process.
A printer control method characterized by responding to the request and handing over the print processing to the other terminal.
【請求項2】 ホストPCとネットワークで接続された
プリンタ装置において、 あらかじめ設定された他のプリンタ装置に対する前記ホ
ストPCからの新規セッション要求について、前記他の
プリンタ装置が所定時間内に応答しているかを監視し検
出する監視手段と、該監視手段により前記他のプリンタ
装置が前記所定時間内に応答していないことが検出され
ると、前記他のプリンタ装置に対する前記新規セッショ
ン要求に係る通信データの送受信を、前記他のプリンタ
装置に代わって行う送受代替手段と、印刷処理中にエラ
ーが生じエラー通知信号が出力されると前記ホストPC
からの新規セッション要求についての応答を停止する応
答停止手段とを有した通信インタフェースと、 前記ホストPCから送信される印字データ1つ分が入る
のに十分なサイズの受信バッファと、 印字データの印刷処理を行うとともに、前記印刷処理中
にエラーが生じた場合に前記通信インタフェースへ前記
エラー通知信号を出力するエラー信号出力手段を有した
印字処理部とを備え、 前記通信インタフェースは、印刷処理を実行している他
のプリンタ装置の通信インタフェースで発生する新規セ
ッション要求に対する応答が所定時間内にないと、前記
新規セッション要求に対する応答を前記他のプリンタ装
置の通信インタフェースに代わり代理応答し、前記他の
プリンタ装置に代り前記ホストPCからの印刷要求を処
理する ことを特徴とするプリンタ装置。
2. A printer device connected to a host PC via a network, is the other printer device responding to a preset new printer device request from the host PC within a predetermined time? Monitoring means for detecting and detecting the communication data related to the new session request to the other printer device when the other printer device detects that the other printer device has not responded within the predetermined time. The transmission / reception alternative means for performing transmission / reception on behalf of the other printer device, and the host PC when an error occurs during the printing process and an error notification signal is output.
A communication interface having a response stopping means for stopping a response to a new session request from the host PC, a reception buffer of a size sufficient to receive one print data transmitted from the host PC, and printing of print data process performs, and a print processing unit having an error signal output means for outputting the error notification signal to the communication interface when the error occurs during the printing process, the communication interface, executes the printing process Other
The new session that occurs in the communication interface of the printer device of
If there is no response to the session request within the predetermined time,
The response to the new session request is sent to the other printer device.
In place of the communication interface of
The print request from the host PC is processed instead of the printer device.
Printer apparatus which is characterized in that sense.
【請求項3】 グループ化された複数のプリンタ装置が
ネットワークによりホストPCに接続されており、その
うちの印刷処理を実行しているプリンタ装置において印
刷処理が続行不能になった場合に当該プリンタ装置で行
う印刷処理を他のプリンタ装置が引き継ぐプリンタシス
テムであって、 前記印刷処理を実行するプリンタ装置は、印刷処理中の
エラー発生により前記ホストPCからの新規セッション
要求に対する応答を停止し、 前記他のプリンタ装置は、前記印刷処理を実行するプリ
ンタ装置における所定時間内の前記応答の有無を監視
し、新規セッション要求に対し印刷処理を実行するプリ
ンタ装置で発生する前記応答が所定時間内にないと、前
記新規セッション要求に対する前記応答を前記印刷処理
を実行するプリンタ装置に代わり代理応答し、前記新規
セッション要求に係る印刷処理を引き継ぐことを特徴と
するプリンタシステム。
3. A plurality of grouped printer devices are connected to a host PC by a network, and when the printer device executing the print process cannot continue the print process, the printer device In a printer system in which another printing apparatus takes over the printing processing to be performed, the printing apparatus that executes the printing processing stops the response to the new session request from the host PC due to an error occurrence during the printing processing, and The printer device monitors the presence / absence of the response within a predetermined time in the printer device that executes the print process, and executes the print process in response to the new session request.
If the response generated by the input device is not within the predetermined time,
Print the response to the new session request to the print processing
A printer system that makes a proxy response instead of the printer device that executes the process and takes over the print processing related to the new session request.
JP2000101806A 2000-04-04 2000-04-04 Printer control method, printer device and printer system Expired - Fee Related JP3415557B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000101806A JP3415557B2 (en) 2000-04-04 2000-04-04 Printer control method, printer device and printer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000101806A JP3415557B2 (en) 2000-04-04 2000-04-04 Printer control method, printer device and printer system

Publications (2)

Publication Number Publication Date
JP2001290629A JP2001290629A (en) 2001-10-19
JP3415557B2 true JP3415557B2 (en) 2003-06-09

Family

ID=18615785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000101806A Expired - Fee Related JP3415557B2 (en) 2000-04-04 2000-04-04 Printer control method, printer device and printer system

Country Status (1)

Country Link
JP (1) JP3415557B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4591870B2 (en) 2005-08-24 2010-12-01 富士ゼロックス株式会社 Cooperation processing method, cooperation processing device, external cooperation system, program
KR101478708B1 (en) * 2014-07-30 2015-02-03 (주)와우소프트 Monitoring system of printed matter using mobile device
KR20210009515A (en) 2019-07-17 2021-01-27 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. Managing user-defined service

Also Published As

Publication number Publication date
JP2001290629A (en) 2001-10-19

Similar Documents

Publication Publication Date Title
US6594776B1 (en) Mechanism to clear MAC address from Ethernet switch address table to enable network link fail-over across two network segments
GB2258124A (en) Protocol parallel processing apparatus
JPH04217136A (en) Data integrity assurance system
JP3415557B2 (en) Printer control method, printer device and printer system
JP4340731B2 (en) Network fault monitoring processing system and method
JP2626622B2 (en) OSI communication system
JP4028627B2 (en) Client server system and communication management method for client server system
JP7075043B2 (en) Parallel computing system
JP3604008B2 (en) LAN control device, driver, switching hub, and LAN control device automatic switching system having them
KR20000054017A (en) System and method for high availabilty network
JP2000244526A (en) Multiplexed network connector system
JPH11237998A (en) Method and device for registering server in server multiplexing
JP3379493B2 (en) Network compatible input / output system
JP2019176366A (en) Information processing device, information processing method, and program
JPH09311843A (en) Client server type communication method and equipment therefor
JP2000231465A (en) Job distributing method
JP3226860B2 (en) Print job control system
JPH0764812A (en) Synchronism control method for dual computer system
JPH0844637A (en) Computer system provided with data transfer control function
JPH10293661A (en) Network printer system
JPH10173676A (en) Communication equipment
JP5741661B2 (en) Printing system, printing device, host device, and program
JPH07210485A (en) Application proces communication method between information processors and information processor using the same
JPH09325869A (en) Print system
JP2015146063A (en) Method of handling and processing memory leak and abnormal end of management process

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080404

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090404

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100404

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110404

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120404

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120404

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130404

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130404

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140404

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees