JP2000339118A - Print controller method and printer and recording medium recording print control program - Google Patents

Print controller method and printer and recording medium recording print control program

Info

Publication number
JP2000339118A
JP2000339118A JP11146881A JP14688199A JP2000339118A JP 2000339118 A JP2000339118 A JP 2000339118A JP 11146881 A JP11146881 A JP 11146881A JP 14688199 A JP14688199 A JP 14688199A JP 2000339118 A JP2000339118 A JP 2000339118A
Authority
JP
Japan
Prior art keywords
error
computer
print
print request
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11146881A
Other languages
Japanese (ja)
Inventor
Sumio Shibui
澄夫 渋井
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 JP11146881A priority Critical patent/JP2000339118A/en
Publication of JP2000339118A publication Critical patent/JP2000339118A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the disappearance of print data at the time of a printer error to the minimum. SOLUTION: This printing device 3 is provided with an LAN I/F 31 which controls communication through a network 4 with a computer, an error table 323 which preliminarily registers and stores whether or not power disconnection for the recovery of each kind of error of a printing device 3 is necessary, and a CPU 33 which receives a printing request from the computer through the LAN I/F 31, and instructs the confirmation of the state of the printing device 3 to an engine interface 35, and receives the report, and returns a positive response for accepting the printing request to the computer when the state of the printing device 3 is normal, and refers to the error table 323 when the state of the printing device 3 is an error state, and returns the positive response for accepting the printing request to the computer when the unnecessity of the power disconnection for the recovery of the error is registered, and waist for the next printing request without any response to the printing request when the necessity of the power disconnection is registered.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークに接
続された印刷装置における印刷制御方法,印刷装置およ
び印刷制御プログラムを記録した記録媒体に関し、特に
コンピュータから印刷要求があった場合に印刷要求を受
け入れる肯定応答を返し、その後、印刷データを受信,
格納する受信バッファに空きがある限り印刷データを受
信する方式の印刷装置における印刷制御方法,印刷装置
および印刷制御プログラムを記録した記録媒体に関す
る。
[0001] 1. Field of the Invention [0002] The present invention relates to a printing control method for a printing apparatus connected to a network, a printing apparatus, and a recording medium on which a printing control program is recorded. Returns a positive response, and then receives print data,
The present invention relates to a printing control method, a printing apparatus, and a recording medium on which a printing control program is recorded in a printing apparatus that receives print data as long as a receiving buffer for storing the print data is free.

【0002】[0002]

【従来の技術】従来の印刷装置においては、図1に示す
ような使用環境、すなわち、複数のコンピュータ1,2
と、コンピュータ1,2に共通に設けられた印刷装置3
とがネットワーク4に接続されている環境において、コ
ンピュータ1または2から印刷データの送信接続要求が
あった場合、接続要求を受け入れる肯定応答として接続
要求応答を返し、印刷装置3に備えられ印刷データを受
信,格納する受信バッファに空きがある限り、印刷デー
タを受信していた。従って、コンピュータ1からの印刷
データの印刷中に、例えば紙詰まりエラー等が発生し印
刷が中断している間に、別のコンピュータ2から印刷要
求があった場合においても、受信バッファが空いている
限り印刷データの送信接続要求を受け付け、コンピュー
タ2から印刷データを受信していた。
2. Description of the Related Art In a conventional printing apparatus, a use environment as shown in FIG.
And a printing device 3 provided commonly to the computers 1 and 2
When the computer 1 or 2 receives a print data transmission connection request in an environment where is connected to the network 4, a connection request response is returned as an acknowledgment to accept the connection request, and the print data provided in the printing device 3 is The print data has been received as long as there is a free space in the receiving and storing buffer. Therefore, even when a print request is issued from another computer 2 during printing of print data from the computer 1 while printing is interrupted due to, for example, a paper jam error or the like, the reception buffer is empty. As long as the print data transmission connection request has been accepted, the print data has been received from the computer 2.

【0003】[0003]

【発明が解決しようとする課題】しかし、上述した従来
の技術においては、修復するためには印刷装置の電源を
切断する必要があるようなエラーが発生した場合、すな
わち、ページ印刷装置ならば定着器でジャムが発生した
場合、ドットプリンタならば印刷中に印字ヘッドが絡む
場所で用紙詰まりが発生した場合等において、エラーの
修復のために電源を切断すると、最初にコンピュータ1
から受信したデータのみならず、その後コンピュータ2
から受信していたデータも消去されてしまうという問題
があった。
However, in the above-mentioned prior art, when an error occurs that requires the power of the printing apparatus to be turned off in order to recover, that is, in the case of a page printing apparatus, fixing is performed. If a paper jam occurs in a printer, or if a dot printer causes a paper jam at a place where the print head is entangled during printing, when the power is turned off to repair an error, the computer 1
Not only the data received from
There is a problem that the data received from is also deleted.

【0004】また、コンピュータ2においては、印刷デ
ータが送信されているため印刷が行なわれているものと
判断され、印刷装置のところへ行って始めてエラーの状
態であることが解るという問題があった。
[0004] Further, the computer 2 has a problem that it is determined that printing is being performed because the print data is transmitted, and it is not until the user goes to the printing apparatus to find out that an error has occurred. .

【0005】本発明は、プリンタエラー時における印刷
データの消失を最小限に押さえるとともに、ネットワー
クに接続された印刷装置の利便性の向上を図ることを目
的とする。
It is an object of the present invention to minimize the loss of print data at the time of a printer error and to improve the convenience of a printing device connected to a network.

【0006】[0006]

【課題を解決するための手段】本発明の第1の印刷制御
方法は、少なくとも1台のコンピュータに共通にネット
ワークに備えられ、前記コンピュータから前記ネットワ
ークを介して印刷要求があった場合に印刷要求を受け入
れる肯定応答を返し、その後、前記コンピュータからの
印刷データを受信,格納する受信バッファに空きがある
限り前記印刷データを受信する方式の印刷装置における
印刷制御方法であって、前記コンピュータから印刷要求
があったときに、修復のために前記印刷装置の電源の切
断を要するようなエラーが発生していないかを確認し、
発生していた場合には、前記コンピュータからの印刷要
求に対して前記肯定応答を返さないことを特徴とする。
A first print control method according to the present invention is provided in a network common to at least one computer, and when a print request is issued from the computer via the network, a print request is issued. A print control method for a printing apparatus of a type that receives a print data as long as a reception buffer for receiving and storing print data from the computer has a free space. When there is, check whether an error that requires turning off the power of the printing apparatus for restoration has occurred,
If the print request has been issued, the acknowledgment is not returned in response to the print request from the computer.

【0007】本発明の第2の印刷制御方法は、本発明の
第1の印刷制御方法において、前記印刷装置の各種エラ
ー対応に、そのエラーの修復のために電源切断を要する
ものか否かを予めエラー記憶部に登録しておき、前記電
源の切断を要するようなエラーの発生確認を前記エラー
記憶部を参照して行うことを特徴とする。
According to a second printing control method of the present invention, in the first printing control method of the present invention, in response to various errors of the printing apparatus, it is determined whether or not it is necessary to turn off the power to recover the errors. It is characterized in that it is registered in the error storage unit in advance, and the occurrence of an error that requires the power-off is checked by referring to the error storage unit.

【0008】本発明の第3の印刷制御方法は、印刷装置
における各種エラー対応に、そのエラーの修復のために
電源切断を要するものか否かを、エラー記憶部に予め登
録,記憶しておく第1のステップと、コンピュータから
ネットワークを介して印刷要求を受信したときに、前記
印刷装置の状態が正常な状態にあるのかエラー状態にあ
るのかを確認する第2のステップと、前記第2のステッ
プにおいて、正常な状態であった場合に、前記印刷要求
を受け入れる肯定応答を、前記ネットワークを介して前
記コンピュータに返す第3のステップと、前記第2のス
テップにおいて、エラー状態であった場合に、そのエラ
ーの修復のために電源切断を要するのか否かを、前記エ
ラー記憶部を参照して判断する第4のステップと、前記
第4のステップにおいて、前記エラーが電源の切断不要
と登録されていた場合、前記印刷要求を受け入れる肯定
応答を前記ネットワークを介して前記コンピュータに返
す第5のステップと、前記第4のステップにおいて、前
記エラーが電源の切断を要すると登録されていた場合、
前記コンピュータからの印刷要求に対して何も応答せ
ず、次の印刷要求を待つ第6のステップとを有すること
を特徴とする。
According to a third printing control method of the present invention, it is necessary to register and store in advance in the error storage unit whether or not it is necessary to turn off the power to recover the error in response to various errors in the printing apparatus. A first step, a second step of confirming whether the state of the printing apparatus is in a normal state or an error state when a print request is received from a computer via a network; and A third step of returning an acknowledgment for accepting the print request to the computer via the network if the state is normal, and an error state if the second step is an error state. A fourth step of determining whether or not power-off is required for repairing the error by referring to the error storage unit; and And if the error is registered as not requiring power-off, a fifth step of returning an acknowledgment for accepting the print request to the computer via the network; and If you have been registered as requiring a disconnection,
And a sixth step of waiting for the next print request without responding to the print request from the computer.

【0009】本発明の印刷装置は、少なくとも1台のコ
ンピュータに共通にネットワークに備えられ、前記コン
ピュータから前記ネットワークを介して印刷要求を受け
る印刷装置であって、前記ネットワークを介して前記コ
ンピュータとの通信を制御するネットワークインターフ
ェース部と、前記印刷装置の各種エラー対応に、そのエ
ラーが修復のために電源切断を要するものかどうかを予
め登録,記憶されたエラー記憶部と、前記コンピュータ
からの印刷要求を前記ネットワークインターフェース部
を介して受信することにより、前記印刷装置の状態の確
認をエンジンインターフェース部に指示してその報告を
受け、正常な状態であった場合は、前記印刷要求を受け
入れる肯定応答を前記ネットワークインターフェース部
を介して前記コンピュータに返し、エラー状態であった
場合は前記エラー記憶部を参照し、そのエラーの修復の
ために電源の切断不要と登録されていた場合には前記印
刷要求を受け入れる肯定応答を前記ネットワークインタ
ーフェース部を介して前記コンピュータに返し、電源の
切断を要すると登録されていた場合には前記印刷要求に
対して何も応答せず次の印刷要求待ちを行うCPUと、
前記肯定応答後に前記コンピュータから送られる印刷デ
ータを一時的に保持する受信バッファと、前記CPUか
ら指示されて印刷機構部の状態を確認しその結果を前記
CPUに報告するとともに、前記印刷機構部の印刷処理
を制御するエンジンインターフェース部と、前記エンジ
ンインターフェース部の制御により印刷処理を行う印刷
機構部とを有することを特徴とする。
A printing apparatus according to the present invention is a printing apparatus that is provided in a network in common with at least one computer and receives a print request from the computer via the network, and is connected to the computer via the network. A network interface unit that controls communication, an error storage unit that pre-registers and stores whether or not the error requires power-off for recovery in response to various errors of the printing apparatus, and a print request from the computer. Is received via the network interface unit, the status of the printing apparatus is instructed to the engine interface unit to receive the report, and if the status is normal, an acknowledgment for accepting the print request is received. The computer via the network interface unit To the computer, if an error state is found, the error storage unit is referred to, and if it is registered that power supply is not required to be repaired for the error, an acknowledgment for accepting the print request is sent to the network interface unit. A CPU that returns to the computer via the CPU and waits for the next print request without responding to the print request when it is registered that the power needs to be turned off;
A receiving buffer for temporarily storing print data sent from the computer after the acknowledgment, a status of a printing mechanism unit instructed by the CPU, and a result thereof reported to the CPU; An engine interface unit for controlling the printing process, and a printing mechanism unit for performing the printing process under the control of the engine interface unit.

【0010】本発明の第1の記録媒体は、印刷装置にお
ける各種エラー対応に、そのエラーが修復のために電源
切断を要するものか否かを、エラー記憶部に予め登録,
記憶しておく第1の処理と、コンピュータからネットワ
ークを介して印刷要求を受信したときに、前記印刷装置
の状態が正常な状態にあるのかエラー状態にあるのかを
確認する第2の処理と、前記第2の処理において、正常
な状態であった場合に、前記印刷要求を受け入れる肯定
応答を、前記ネットワークを介して前記コンピュータに
返す第3の処理と、前記第2の処理において、エラー状
態であった場合に、そのエラーの修復のために電源切断
を要するのか否かを、前記エラー記憶部を参照して判断
する第4の処理と、前記第4の処理において、前記エラ
ーが電源の切断不要と登録されていた場合、前記印刷要
求を受け入れる肯定応答を前記ネットワークを介して前
記コンピュータに返す第5の処理と、前記第4の処理に
おいて、前記エラーが電源の切断を要すると登録されて
いた場合、前記コンピュータからの印刷要求に対して何
も応答せず、次の印刷要求を待つ第6の処理とをコンピ
ュータに実行させるための印刷制御プログラムを記録し
たことを特徴とする。
According to the first recording medium of the present invention, in response to various errors in the printing apparatus, whether or not the error requires power-off for recovery is registered in an error storage unit in advance.
First processing for storing, and second processing for confirming whether the state of the printing apparatus is in a normal state or an error state when a print request is received from a computer via a network, In the second process, if the status is normal, the third process returns an acknowledgment for accepting the print request to the computer via the network. If there is, a fourth process of determining whether or not power-off is required for repairing the error by referring to the error storage unit; and in the fourth process, the error is determined by power-off. If it is registered as unnecessary, in the fifth process and the fourth process of returning an acknowledgment for accepting the print request to the computer via the network, If it is registered that the power needs to be turned off, a print control program for causing the computer to execute a sixth process of not responding to a print request from the computer and waiting for the next print request is executed. It is recorded.

【0011】本発明の第2の記録媒体は、ネットワーク
を介してコンピュータとの通信を制御するネットワーク
インターフェース手段、印刷装置の各種エラー対応に、
そのエラーが修復のために電源切断を要するものかどう
かを予め登録,記憶されたエラー記憶手段、前記コンピ
ュータからの印刷要求を前記ネットワークインターフェ
ース手段を介して受信することにより、前記印刷装置の
状態の確認をエンジンインターフェース手段に指示して
その報告を受け、正常な状態であった場合は、前記印刷
要求を受け入れる肯定応答を前記ネットワークインター
フェース手段を介して前記コンピュータに返し、エラー
状態であった場合は前記エラー記憶手段を参照し、その
エラーの修復のために電源の切断不要と登録されていた
場合には前記印刷要求を受け入れる肯定応答を前記ネッ
トワークインターフェース手段を介して前記コンピュー
タに返し、電源の切断を要すると登録されていた場合に
は前記印刷要求に対して何も応答せず次の印刷要求待ち
を行う制御手段、前記肯定応答後に前記コンピュータか
ら送られる印刷データを一時的に保持する受信バッファ
手段、前記制御手段から指示されて印刷処理手段の状態
を確認しその結果を前記制御手段に報告するとともに、
前記印刷処理手段の印刷処理を制御するエンジンインタ
ーフェース手段、前記エンジンインターフェース手段の
制御により印刷処理を行う印刷処理手段としてコンピュ
ータを機能させる印刷制御プログラムを記録したことを
特徴とする。
A second recording medium according to the present invention includes a network interface unit for controlling communication with a computer via a network,
Whether or not the error requires a power-off for recovery is registered and stored in advance, and a print request from the computer is received via the network interface means, and the status of the printing apparatus is thereby determined. A confirmation is instructed to the engine interface means, the report is received, and if the status is normal, an acknowledgment for accepting the print request is returned to the computer via the network interface means. Referring to the error storage unit, if it is registered that the power supply is not required to recover the error, an acknowledgment for accepting the print request is returned to the computer via the network interface unit, and the power supply is turned off. If it is registered that Control means for making no response and waiting for the next print request, receiving buffer means for temporarily holding print data sent from the computer after the acknowledgment, state of the print processing means instructed by the control means And reporting the result to the control means,
An engine interface for controlling the print processing of the print processing means, and a print control program for causing a computer to function as print processing means for performing print processing under the control of the engine interface means are recorded.

【0012】[0012]

【発明の実施の形態】本発明の実施の形態について図面
を参照して説明する。
Embodiments of the present invention will be described with reference to the drawings.

【0013】図1は、本発明の印刷装置の接続形態の一
例を示す図である。本発明の印刷装置3は、コンピュー
タ1およびコンピュータ2に共通に使用されるものとし
て設置され、ネットワーク4を介してコンピュータ1ま
たはコンピュータ2と接続される。
FIG. 1 is a diagram showing an example of a connection form of a printing apparatus according to the present invention. The printing apparatus 3 according to the present invention is installed so as to be commonly used by the computer 1 and the computer 2, and is connected to the computer 1 or 2 via a network 4.

【0014】図2は、本発明の一実施の形態の構成を示
すブロック図である。印刷装置3は、ネットワーク4を
介してコンピュータ1,2との通信を制御するLAN
I/F31と、RAM32と、印刷装置3の制御を行う
CPU(中央演算処理ユニット)33と、印刷装置3の
印刷制御プログラムが格納されているROM34と、印
刷機構部36の状態を確認するとともに印刷機構36を
制御するエンジンインターフェース35と、エンジンイ
ンターフェース35から制御されて印刷処理を行う印刷
機構部36とを備えている。
FIG. 2 is a block diagram showing a configuration of an embodiment of the present invention. The printing device 3 is a LAN that controls communication with the computers 1 and 2 via the network 4.
While confirming the states of the I / F 31, the RAM 32, the CPU (central processing unit) 33 for controlling the printing apparatus 3, the ROM 34 in which the printing control program of the printing apparatus 3 is stored, and the printing mechanism unit 36 An engine interface 35 that controls the printing mechanism 36 and a printing mechanism unit 36 that performs printing processing under the control of the engine interface 35 are provided.

【0015】また、RAM32は、コンピュータ1また
は2から送られた印刷データを一時的に保持する受信バ
ッファ321と、受信バッファ321のデータからCP
Uにより解析,抽出された印字用データを格納する印字
データ格納部322と、印刷装置の各種エラー対応に、
そのエラーが修復のために電源切断を要するものかどう
かを予め登録されているエラーテーブル323とを備え
ている。なお、ここでは、ネットワーク4をLAN(ロ
ーカルエリアネットワーク)を想定して説明するが、こ
れに限定されずLAN以外のネットワークであってもよ
い。
The RAM 32 has a reception buffer 321 for temporarily holding print data sent from the computer 1 or 2, and a CP from the data in the reception buffer 321.
A print data storage unit 322 for storing print data analyzed and extracted by the U.
An error table 323 pre-registered as to whether the error requires power-off for recovery is provided. Here, the network 4 will be described assuming a LAN (local area network), but the network 4 is not limited to this and may be a network other than the LAN.

【0016】次に、本発明の一実施の形態の動作につい
て図1,図2および図3を用いて詳細に説明する。図3
は、本発明の実施の形態の動作を示すフローチャートで
ある。
Next, the operation of the embodiment of the present invention will be described in detail with reference to FIGS. 1, 2 and 3. FIG.
5 is a flowchart showing the operation of the embodiment of the present invention.

【0017】まず、コンピュータ1において印刷データ
作成処理が終り、印刷装置3に送信できる状態になる
と、コンピュータ1から印刷装置3に印刷データ送信接
続要求が発行される。
First, when the computer 1 completes the print data creation processing and is ready to transmit to the printing apparatus 3, the computer 1 issues a print data transmission connection request to the printing apparatus 3.

【0018】印刷装置3のCPU33は、ネットワーク
4,LAN I/F31を介してこの接続要求を受信す
る(図3のステップS1)。
The CPU 33 of the printing device 3 receives this connection request via the network 4 and the LAN I / F 31 (step S1 in FIG. 3).

【0019】接続要求を受信したCPU33は、印刷装
置3の状態を確認するようエンジンインターフェース3
5に指示し、エンジンインターフェース35は、印刷機
構部36から印刷装置3の状態を取得してその結果をC
PU33に報告する(ステップS2)。
Upon receiving the connection request, the CPU 33 requests the engine interface 3 to check the status of the printing apparatus 3.
5, the engine interface 35 acquires the state of the printing apparatus 3 from the printing mechanism 36, and
This is reported to the PU 33 (step S2).

【0020】CPU33は、エンジンインターフェース
35から報告された印刷装置3の状態確認の結果によ
り、印刷装置3が正常な状態にあるのかエラー状態にあ
るのかを知る(ステップS3)。
The CPU 33 knows whether the printing device 3 is in a normal state or an error state based on the result of the status confirmation of the printing device 3 reported from the engine interface 35 (step S3).

【0021】ステップS3において、エラーが報告され
ず印刷装置3が正常な状態であった場合は、CPU33
は、接続要求を受け入れる肯定応答として接続要求応答
を、LAN I/F31を介してコンピュータ1に返す
(ステップS5)。
In step S3, if no error is reported and the printing apparatus 3 is in a normal state,
Returns a connection request response to the computer 1 via the LAN I / F 31 as an acknowledgment for accepting the connection request (step S5).

【0022】ステップS3において、エラー状態であっ
た場合は、CPU33は、RAM32のエラーテーブル
323を参照し、エンジンインターフェース35から報
告されたエラーがその修復のために電源切断を要するの
か否かを判断する。
If an error has occurred in step S3, the CPU 33 refers to the error table 323 in the RAM 32 and determines whether the error reported from the engine interface 35 requires power-off for repairing the error. I do.

【0023】ここで、エラーテーブル323について具
体例を挙げて説明する。例えば、報告されたエラーが用
紙無しエラーであった場合、印刷装置3に用紙が補給さ
れればエラーが修復されて印刷が継続されるため、印刷
装置3の電源を切断する必要がなく、このエラーの場合
は、電源の切断は不要として例えばデータ0が予めエラ
ーテーブル323に登録されている。
Here, the error table 323 will be described with a specific example. For example, if the reported error is a paper-out error, if the printing apparatus 3 is replenished with paper, the error is recovered and printing is continued, so that there is no need to turn off the power of the printing apparatus 3. In the case of an error, for example, data 0 is registered in the error table 323 in advance, as it is not necessary to turn off the power.

【0024】また、エラーが印刷中の用紙ジャムであっ
た場合は、その修復のために電源が切断される可能性が
あるため、電源の切断要として例えばデータ1が予めエ
ラーテーブル323に登録されている(ステップS
4)。
If the error is a paper jam during printing, the power may be cut off to repair the jam. For example, data 1 is registered in advance in the error table 323 as a power cut-off. (Step S
4).

【0025】ステップS4において、報告されたエラー
が電源の切断不要と登録されていた場合には、CPU3
3は、接続要求を受け入れる肯定応答として接続要求応
答を、LAN I/F31を介してコンピュータ1に返
す(ステップS5)。
In step S4, if the reported error is registered as not requiring power-off, the CPU 3
3 returns a connection request response to the computer 1 via the LAN I / F 31 as an acknowledgment for accepting the connection request (step S5).

【0026】ステップS4において、報告されたエラー
が電源の切断を要すると登録されていた場合には、CP
U33は、コンピュータ1からの印刷データ送信接続要
求に対して何も応答せず、次の印刷データ送信接続要求
待ちを行う(ステップS7)。
If it is determined in step S4 that the reported error requires that the power be turned off, the CP
U33 does not respond to the print data transmission connection request from the computer 1 and waits for the next print data transmission connection request (step S7).

【0027】ステップS5に続き、ACK(肯定応答)
信号,受信バッファ空き容量をコンピュータ1に返答し
ながら順次印刷データを受信し、受信バッファ321に
格納する。CPU33は、受信バッファ321に格納さ
れた印刷データを解析,抽出して印字用データを作成
し、印字データ格納部322に格納するとともに、エン
ジンインターフェース35に印刷処理を指示する(ステ
ップS6)。
Following step S5, ACK (acknowledge)
The print data is sequentially received while the signal and the free space of the receiving buffer are returned to the computer 1 and stored in the receiving buffer 321. The CPU 33 analyzes and extracts the print data stored in the reception buffer 321 to create print data, stores the print data in the print data storage unit 322, and instructs the engine interface 35 to perform a print process (step S6).

【0028】以上の説明においては、コンピュータ1か
ら印刷装置3が起動された場合について説明したが、コ
ンピュータ1から印刷装置3が起動されて印刷中に、コ
ンピュータ2から印刷装置3に印刷データ送信接続要求
があった場合にも、本発明を適用できることは明らかで
ある。例えば、上記ステップS4において、エラーが印
刷中の用紙ジャムであったということは、コンピュータ
1が印刷データ送信接続要求を送ったときには、既にコ
ンピュータ1による前のデータまたは他のコンピュータ
のデータを印刷装置3が印刷中ということである。
In the above description, the case where the printing apparatus 3 is started from the computer 1 has been described. However, while the printing apparatus 3 is started from the computer 1 and printing is being performed, the computer 2 connects to the printing apparatus 3 for print data transmission. Obviously, the present invention can be applied even when requested. For example, in the above step S4, the fact that the error was a paper jam during printing means that when the computer 1 sent a print data transmission connection request, the previous data by the computer 1 or the data of another computer was already printed by the printing apparatus. 3 means that printing is in progress.

【0029】また、図1に本発明の印刷装置の接続形態
の一例として2台のコンピュータの場合を示したが、コ
ンピュータの台数は3台以上であってもよいし1台であ
ってもよく、いずれの場合においても本発明を適用でき
ることは明らかである。
FIG. 1 shows a case where two computers are used as an example of the connection form of the printing apparatus of the present invention. However, the number of computers may be three or more or one. It is clear that the present invention can be applied in any case.

【0030】このように、本発明によれば、電源の切断
を要するエラー発生時に、コンピュータからの印刷デー
タ送信接続要求がきても、接続要求を受け入れる肯定応
答を返さないため、受信バッファに空きがあれば無条件
に印刷データを受信して電源切断により受信していたデ
ータが消去されてしまうという従来の問題が解決され
る。
As described above, according to the present invention, when an error requiring power-off occurs, even if a print data transmission connection request is received from the computer, an acknowledgment for accepting the connection request is not returned. This solves the conventional problem that the print data is unconditionally received and the received data is erased when the power is turned off.

【0031】次に、本発明の他の実施の形態について図
面を参照して詳細に説明する。
Next, another embodiment of the present invention will be described in detail with reference to the drawings.

【0032】図4は、本発明の他の実施の形態の構成を
示すブロック図であり、コンピュータ5と、記録媒体6
とから構成される。コンピュータ5の構成は、図2の本
発明の一実施の形態で説明したものと基本的に同じであ
る。記録媒体6は、印刷制御プログラムを記録してい
る。この記録媒体6は、磁気ディスク,光記録ディス
ク,半導体メモリその他の記録媒体であってもよい。印
刷制御プログラムは、記録媒体6からコンピュータ5に
読み込まれ、本発明の一実施の形態と同様の動作を制御
する。
FIG. 4 is a block diagram showing the configuration of another embodiment of the present invention.
It is composed of The configuration of the computer 5 is basically the same as that described in the embodiment of the present invention in FIG. The recording medium 6 records a print control program. The recording medium 6 may be a magnetic disk, an optical recording disk, a semiconductor memory, or another recording medium. The print control program is read from the recording medium 6 into the computer 5, and controls the same operation as in the embodiment of the present invention.

【0033】[0033]

【発明の効果】上述した本発明による第1の効果は、印
刷装置が印刷データ送信接続要求を受信したときに印刷
装置の状態を確認し、エラー修復のために電源が切断さ
れる可能性がある場合には、コンピュータに応答を返さ
ず印刷データを受信しないようにしたため、エラー時に
おける印刷データの消失が最小限に押さえられることで
ある。
According to the first effect of the present invention described above, when the printing apparatus receives the print data transmission connection request, the state of the printing apparatus is checked, and there is a possibility that the power is cut off for error recovery. In some cases, print data is not received without returning a response to the computer, so that loss of print data at the time of error is minimized.

【0034】第2の効果は、電源が切断される可能性が
あるエラー発生の場合には印刷データが受信されないた
め、コンピュータの利用者にとっては、印刷装置のとこ
ろへ行かなくても印刷装置のエラー状態を知ることがで
きることである。
The second effect is that, in the case where an error occurs in which the power supply may be cut off, the print data is not received, so that the user of the computer does not need to go to the printing apparatus. It is possible to know the error condition.

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

【図1】本発明の印刷装置の接続形態の一例を示す図で
ある。
FIG. 1 is a diagram illustrating an example of a connection configuration of a printing apparatus according to the present invention.

【図2】本発明の一実施の形態の構成を示すブロック図
である。
FIG. 2 is a block diagram showing a configuration of an embodiment of the present invention.

【図3】本発明の実施の形態の動作を示すフローチャー
トである。
FIG. 3 is a flowchart showing the operation of the embodiment of the present invention.

【図4】本発明の他の実施の形態の構成を示すブロック
図である。
FIG. 4 is a block diagram showing a configuration of another embodiment of the present invention.

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

1,2 コンピュータ 3 印刷装置 31 LAN I/F 32 RAM 321 受信バッファ 322 印字データ格納部 323 エラーテーブル 33 CPU 34 ROM 35 エンジンインターフェース 36 印刷機構部 4 ネットワーク 5 コンピュータ 6 記録媒体 1, 2 computer 3 printing device 31 LAN I / F 32 RAM 321 reception buffer 322 print data storage unit 323 error table 33 CPU 34 ROM 35 engine interface 36 printing mechanism unit 4 network 5 computer 6 recording medium

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1台のコンピュータに共通に
ネットワークに備えられ、前記コンピュータから前記ネ
ットワークを介して印刷要求があった場合に印刷要求を
受け入れる肯定応答を返し、その後、前記コンピュータ
からの印刷データを受信,格納する受信バッファに空き
がある限り前記印刷データを受信する方式の印刷装置に
おける印刷制御方法であって、 前記コンピュータから印刷要求があったときに、修復の
ために前記印刷装置の電源の切断を要するようなエラー
が発生していないかを確認し、発生していた場合には、
前記コンピュータからの印刷要求に対して前記肯定応答
を返さないことを特徴とする印刷制御方法。
At least one computer is provided on a network in common, and when receiving a print request from the computer via the network, returns an acknowledgment for accepting the print request, and thereafter print data from the computer. A print control method for a printing apparatus that receives the print data as long as a reception buffer that receives and stores the print data is provided, and when a print request is received from the computer, a power supply of the printing apparatus is restored for restoration. Check for any errors that may require disconnecting, and if so,
A print control method, wherein the acknowledgment is not returned in response to a print request from the computer.
【請求項2】 前記印刷装置の各種エラー対応に、その
エラーの修復のために電源切断を要するものか否かを予
めエラー記憶部に登録しておき、前記電源の切断を要す
るようなエラーの発生確認を前記エラー記憶部を参照し
て行うことを特徴とする請求項1記載の印刷制御方法。
2. A method according to claim 1, wherein in response to various errors of the printing apparatus, whether or not the power supply needs to be turned off to recover the error is registered in an error storage unit in advance, and the error which needs to be turned off is registered. 2. The print control method according to claim 1, wherein occurrence confirmation is performed by referring to the error storage unit.
【請求項3】 印刷装置における各種エラー対応に、そ
のエラーの修復のために電源切断を要するものか否か
を、エラー記憶部に予め登録,記憶しておく第1のステ
ップと、 コンピュータからネットワークを介して印刷要求を受信
したときに、前記印刷装置の状態が正常な状態にあるの
かエラー状態にあるのかを確認する第2のステップと、 前記第2のステップにおいて、正常な状態であった場合
に、前記印刷要求を受け入れる肯定応答を、前記ネット
ワークを介して前記コンピュータに返す第3のステップ
と、 前記第2のステップにおいて、エラー状態であった場合
に、そのエラーの修復のために電源切断を要するのか否
かを、前記エラー記憶部を参照して判断する第4のステ
ップと、 前記第4のステップにおいて、前記エラーが電源の切断
不要と登録されていた場合、前記印刷要求を受け入れる
肯定応答を前記ネットワークを介して前記コンピュータ
に返す第5のステップと、 前記第4のステップにおいて、前記エラーが電源の切断
を要すると登録されていた場合、前記コンピュータから
の印刷要求に対して何も応答せず、次の印刷要求を待つ
第6のステップとを有することを特徴とする印刷制御方
法。
3. A first step in which, in response to various errors in the printing apparatus, whether or not it is necessary to turn off the power to recover the errors is registered and stored in an error storage unit in advance. A second step of confirming whether the state of the printing apparatus is in a normal state or an error state when a print request is received via the printer. A third step of returning an acknowledgment for accepting the print request to the computer via the network; and, if an error state is detected in the second step, a power supply for repairing the error. A fourth step of determining whether or not disconnection is required by referring to the error storage unit; and A fifth step of returning an acknowledgment for accepting the print request to the computer via the network in a case where the error is registered as unnecessary, and in the fourth step, it is registered that the error requires power-off. A response to the print request from the computer and waiting for the next print request.
【請求項4】 少なくとも1台のコンピュータに共通に
ネットワークに備えられ、前記コンピュータから前記ネ
ットワークを介して印刷要求を受ける印刷装置であっ
て、 前記ネットワークを介して前記コンピュータとの通信を
制御するネットワークインターフェース部と、 前記印刷装置の各種エラー対応に、そのエラーが修復の
ために電源切断を要するものかどうかを予め登録,記憶
されたエラー記憶部と、 前記コンピュータからの印刷要求を前記ネットワークイ
ンターフェース部を介して受信することにより、前記印
刷装置の状態の確認をエンジンインターフェース部に指
示してその報告を受け、正常な状態であった場合は、前
記印刷要求を受け入れる肯定応答を前記ネットワークイ
ンターフェース部を介して前記コンピュータに返し、エ
ラー状態であった場合は前記エラー記憶部を参照し、そ
のエラーの修復のために電源の切断不要と登録されてい
た場合には前記印刷要求を受け入れる肯定応答を前記ネ
ットワークインターフェース部を介して前記コンピュー
タに返し、電源の切断を要すると登録されていた場合に
は前記印刷要求に対して何も応答せず次の印刷要求待ち
を行うCPUと、 前記肯定応答後に前記コンピュータから送られる印刷デ
ータを一時的に保持する受信バッファと、 前記CPUから指示されて印刷機構部の状態を確認しそ
の結果を前記CPUに報告するとともに、前記印刷機構
部の印刷処理を制御するエンジンインターフェース部
と、 前記エンジンインターフェース部の制御により印刷処理
を行う印刷機構部とを有することを特徴とする印刷装
置。
4. A printing apparatus provided in a network common to at least one computer and receiving a print request from the computer via the network, the network controlling communication with the computer via the network. An interface unit; an error storage unit that pre-registers and stores whether or not the error requires power-off for recovery in response to various errors of the printing apparatus; and a network interface unit that receives a print request from the computer. Through the network interface unit, and instructs the engine interface unit to confirm the status of the printing device and receives the report.If the status is normal, the network interface unit receives an acknowledgment for accepting the print request. To the computer via If it is in the error state, the error storage unit is referred to, and if it is registered that the power supply is not required to be repaired for the error, an acknowledgment for accepting the print request is received via the network interface unit. A CPU that returns to the computer and waits for the next print request without responding to the print request when it is registered that the power supply needs to be turned off, and print data sent from the computer after the affirmative response. A reception buffer that is temporarily held, an engine interface unit that checks the status of the printing mechanism unit instructed by the CPU, reports the result to the CPU, and controls a printing process of the printing mechanism unit; A printing mechanism for performing a printing process under the control of an interface unit.
【請求項5】 印刷装置における各種エラー対応に、そ
のエラーが修復のために電源切断を要するものか否か
を、エラー記憶部に予め登録,記憶しておく第1の処理
と、 コンピュータからネットワークを介して印刷要求を受信
したときに、前記印刷装置の状態が正常な状態にあるの
かエラー状態にあるのかを確認する第2の処理と、 前記第2の処理において、正常な状態であった場合に、
前記印刷要求を受け入れる肯定応答を、前記ネットワー
クを介して前記コンピュータに返す第3の処理と、 前記第2の処理において、エラー状態であった場合に、
そのエラーの修復のために電源切断を要するのか否か
を、前記エラー記憶部を参照して判断する第4の処理
と、 前記第4の処理において、前記エラーが電源の切断不要
と登録されていた場合、前記印刷要求を受け入れる肯定
応答を前記ネットワークを介して前記コンピュータに返
す第5の処理と、 前記第4の処理において、前記エラーが電源の切断を要
すると登録されていた場合、前記コンピュータからの印
刷要求に対して何も応答せず、次の印刷要求を待つ第6
の処理とをコンピュータに実行させるための印刷制御プ
ログラムを記録したことを特徴とする記録媒体。
5. A first process in which, in response to various errors in a printing apparatus, whether or not the error requires power-off for recovery is registered and stored in an error storage unit in advance, A second processing for confirming whether the state of the printing apparatus is in a normal state or an error state when a print request is received via the printer. In case,
A third process of returning an acknowledgment for accepting the print request to the computer via the network; and an error state in the second process,
A fourth process of determining whether or not power-off is required for repairing the error by referring to the error storage unit; and in the fourth process, the error is registered as not requiring power-off. A fifth process of returning an acknowledgment for accepting the print request to the computer via the network; and, in the fourth process, when the error is registered as requiring power off, the computer No response is made to the print request from the client, and the sixth print job waits for the next print request.
And a printing control program for causing a computer to execute the processing of (1) and (2).
【請求項6】 ネットワークを介してコンピュータとの
通信を制御するネットワークインターフェース手段、 印刷装置の各種エラー対応に、そのエラーが修復のため
に電源切断を要するものかどうかを予め登録,記憶され
たエラー記憶手段、 前記コンピュータからの印刷要求を前記ネットワークイ
ンターフェース手段を介して受信することにより、前記
印刷装置の状態の確認をエンジンインターフェース手段
に指示してその報告を受け、正常な状態であった場合
は、前記印刷要求を受け入れる肯定応答を前記ネットワ
ークインターフェース手段を介して前記コンピュータに
返し、エラー状態であった場合は前記エラー記憶手段を
参照し、そのエラーの修復のために電源の切断不要と登
録されていた場合には前記印刷要求を受け入れる肯定応
答を前記ネットワークインターフェース手段を介して前
記コンピュータに返し、電源の切断を要すると登録され
ていた場合には前記印刷要求に対して何も応答せず次の
印刷要求待ちを行う制御手段、 前記肯定応答後に前記コンピュータから送られる印刷デ
ータを一時的に保持する受信バッファ手段、 前記制御手段から指示されて印刷処理手段の状態を確認
しその結果を前記制御手段に報告するとともに、前記印
刷処理手段の印刷処理を制御するエンジンインターフェ
ース手段、 前記エンジンインターフェース手段の制御により印刷処
理を行う印刷処理手段としてコンピュータを機能させる
印刷制御プログラムを記録したことを特徴とする記録媒
体。
6. A network interface unit for controlling communication with a computer via a network. In response to various errors of a printing apparatus, whether or not the error requires power-off for recovery is stored and stored in advance. A storage unit, by receiving a print request from the computer via the network interface unit, instructing the engine interface unit to confirm the status of the printing apparatus, receiving the report, and if the status is normal, Returning an acknowledgment of accepting the print request to the computer via the network interface unit, and referring to the error storage unit if an error has occurred, and registering that power is not required to be repaired to correct the error. Acknowledgment to accept the print request if Control means for returning to the computer via the network interface means and waiting for the next print request without responding to the print request when it is registered that the power needs to be turned off, after the affirmative response A receiving buffer unit for temporarily storing print data sent from the computer, a status of a print processing unit instructed by the control unit, a status of the print processing unit being reported, and the result being reported to the control unit; And a print control program for causing a computer to function as print processing means for performing print processing under the control of the engine interface means.
JP11146881A 1999-05-26 1999-05-26 Print controller method and printer and recording medium recording print control program Pending JP2000339118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11146881A JP2000339118A (en) 1999-05-26 1999-05-26 Print controller method and printer and recording medium recording print control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11146881A JP2000339118A (en) 1999-05-26 1999-05-26 Print controller method and printer and recording medium recording print control program

Publications (1)

Publication Number Publication Date
JP2000339118A true JP2000339118A (en) 2000-12-08

Family

ID=15417693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11146881A Pending JP2000339118A (en) 1999-05-26 1999-05-26 Print controller method and printer and recording medium recording print control program

Country Status (1)

Country Link
JP (1) JP2000339118A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100753063B1 (en) 2004-06-29 2007-08-31 캐논 가부시끼가이샤 Data process apparatus for controlling communication by communication unit in accordance with generated error type, and method of controlling the same
JP2011186758A (en) * 2010-03-08 2011-09-22 Toshiba Tec Corp Information processing apparatus having printer, method of the same, and error release notification program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100753063B1 (en) 2004-06-29 2007-08-31 캐논 가부시끼가이샤 Data process apparatus for controlling communication by communication unit in accordance with generated error type, and method of controlling the same
US7318679B2 (en) 2004-06-29 2008-01-15 Canon Kabushiki Kaisha Data process apparatus for controlling communication by communication unit in accordance with generated error type, and method of controlling the same
CN100401739C (en) * 2004-06-29 2008-07-09 佳能株式会社 Data processing apparatus and method for controlling it
JP2011186758A (en) * 2010-03-08 2011-09-22 Toshiba Tec Corp Information processing apparatus having printer, method of the same, and error release notification program

Similar Documents

Publication Publication Date Title
KR100456180B1 (en) A peripheral device and control method thereof
JP4924001B2 (en) Printing system and printing control method in printing system
JPH1195941A (en) Printer system, printer unit and computer device for the same
JP4451837B2 (en) Data transfer apparatus and data transfer method
JP2005202912A (en) Print system, its control method, print method, host device, and printer
JP2000339118A (en) Print controller method and printer and recording medium recording print control program
JP2000347980A (en) Peripheral device, its control method, storage medium and information processing system
JP3573258B2 (en) Print data transmission device and print system
JP5106058B2 (en) Printing system for judging abnormality of printing control device and restoring printing device
JP3400672B2 (en) PRINTING APPARATUS, PRINTING SYSTEM, AND DUPLEX MANAGEMENT METHOD
JP3478519B2 (en) Printer device
JPH02166511A (en) Printing system
JPH02289374A (en) Printer
KR100597427B1 (en) Method of transmitting a massage for a service request in a network printer
JP4193754B2 (en) Data duplication method and program
JP3695104B2 (en) Image processing device
US20020122200A1 (en) Method, device and computer program element for transmitting print data
JPH0811358A (en) Hard disk built-in printer
JPH10124265A (en) Printer
JP2000259363A (en) Printing server, printing control method, medium recording printing control program and network printing system
JPH01103466A (en) Control in page-type printer device
JPH1134450A (en) Image forming apparatus
JP2000089921A (en) Method for controlling printing data spool
JPH10293661A (en) Network printer system
JPH06195180A (en) Control system for printer for server/client system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030107