JPS6242227A - Detecting device for trouble of printer device - Google Patents

Detecting device for trouble of printer device

Info

Publication number
JPS6242227A
JPS6242227A JP60182340A JP18234085A JPS6242227A JP S6242227 A JPS6242227 A JP S6242227A JP 60182340 A JP60182340 A JP 60182340A JP 18234085 A JP18234085 A JP 18234085A JP S6242227 A JPS6242227 A JP S6242227A
Authority
JP
Japan
Prior art keywords
print
printing
report
printer
host device
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
JP60182340A
Other languages
Japanese (ja)
Inventor
Akio Sakamoto
坂本 紀生
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 JP60182340A priority Critical patent/JPS6242227A/en
Publication of JPS6242227A publication Critical patent/JPS6242227A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To recover the trouble of a printer at its early stage by giving a report to a host device every time the print is through by a fixed amount when the same contents are printed repetitively and therefore detecting the abnormality occurring when no report is given through the host device. CONSTITUTION:Both the print command and the print repeating frequency given from a host device 7 are decoded by a command control part 6. While a print controller 3 receives an instruction for a printing action. The print data given from the device 7 is one stored in the part 3 and printed at a printing part 2. A printing amount counter part 4 receives the print end signals for one page from the part 2 and counts them to deliver them to a printing amount comparison part 5. The part 5 sends the coincidence signal to the part 6 when the coincidence is secured between the input value of the part 5 and the value set previously by the device 7 via the part 6. The part 6 sends the count resetting signal to the part 4 for recounting and at the same time gives the print interim report to the device 7. The part 3 gives the print end report to the device 7 via the part 6 when all printing actions are through. The device 7 decides the generation of the abnormality of a printer device 1 in case no print interim report nor print end report is given within a fixed period of time.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、データ処理システJ・に使用されるプリンタ
装;dに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a printer device used in a data processing system J.

〔従来の技術〕[Conventional technology]

従来、この種のプリンタ装置は印字文字毎、印字行毎、
または印字ページ毎に上位装置からの指令を受けて印字
を行っていた。しかし、同一内容を繰返し印字する場合
は−L位装置の負荷を軽減するため上位装置から緑返し
数を指示することにより、プリンタ装置側で自動的に同
一内容を繰返し印字するよう改善が行われている。特に
ノンインパクトプリンタ装置においては、印字方式上複
写が取れないため、同一内容を繰返し印字する必要があ
り、上記機部改善が必要であった。
Conventionally, this type of printer device prints for each printed character, each printed line,
Alternatively, printing was performed by receiving instructions from the host device for each print page. However, when printing the same content repeatedly, an improvement has been made so that the printer automatically prints the same content repeatedly by instructing the number of green cycles from the host device to reduce the load on the device. ing. In particular, non-impact printers cannot make copies due to the printing method, so it is necessary to repeatedly print the same content, and the above-mentioned machine parts need to be improved.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ト述した従来のプリンタRmは、J三位装置からの指令
を受けた後長時間にわたり装を自身で印字動作を行うた
め、上位装置から見て、印字動作が続けられているのか
、または何らかの異常が発生し、プリンタ装置が上位装
置に報告が行えない状態になっているのかの区別がつけ
られない欠点があった。
In the conventional printer Rm mentioned above, the printer itself prints for a long time after receiving a command from the J-3 device. There is a drawback that it is not possible to distinguish whether an abnormality has occurred and the printer device is in a state where it cannot report to the host device.

〔問題点を解決するためのf段〕[F-stage to solve problems]

本発明のプリンタ装置の故障検出装置は、プリンタ装置
に設けられ、印字t:を計数する計数手段と、計数手段
で計数された印字量が予め設定された印字量に達したこ
とを検出する検出手段と、検出手段による検出が行なわ
れたとき計数手段の内容を初期化する手段と、印字中で
あることを上位装置に報告する手段と、L位装とに設け
られ、プリンタ装置からの印字中報告が一定時間内にな
く、かつ印字終了報告もないときにプリンタ装置に異常
が発生したものとみなす手段を有する。
A failure detection device for a printer device according to the present invention is provided in the printer device, and includes a counting means for counting the number of prints t:, and a detection device for detecting that the amount of prints counted by the counting means has reached a preset amount of prints. means for initializing the contents of the counting means when detection is performed by the detecting means, means for reporting to the host device that printing is in progress; The present invention has means for determining that an abnormality has occurred in the printer device when there is no intermediate report within a certain period of time and there is no print completion report.

したがって、プリンタ装置に異常が発生したことを上位
装置が検出でき、システムの運用者が早期に故障処置を
行なうことができる。
Therefore, the higher-level device can detect that an abnormality has occurred in the printer device, and the system operator can promptly take troubleshooting measures.

〔実施例〕〔Example〕

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

第1図は本発明によるプリンタ装置の故障検出装置の一
実施例を有するシステムの構成図、第2図は第1図中の
−L位装置7の動作を示すフローチャートである。
FIG. 1 is a block diagram of a system having an embodiment of a failure detection device for a printer device according to the present invention, and FIG. 2 is a flowchart showing the operation of the -L device 7 in FIG.

上位装置7は印字データと印字繰返し回数および印字開
始をプリンタ装置1に指令し印字中報告をチェックする
中央処理装置であり、インタフェース8によりプリンタ
装置tと接続されている。
The host device 7 is a central processing unit that instructs the printer device 1 to print data, the number of printing repetitions, and the start of printing, and checks the printing progress report, and is connected to the printer device t through an interface 8.

プリンタ装置lは、印字部?、印字制御部3、印字量計
数部4、印字量比較部5、指令制御部6および本発明に
重要でない図示されていない他の部分から構成される。
Is the printer device l a printing section? , a print control section 3, a print amount counting section 4, a print amount comparison section 5, a command control section 6, and other parts not shown that are not important to the present invention.

上位装置7からの印字指令および印字繰返し回数は指令
制御部6で解読され、印字制御部3に対し印字動作が指
示され、印字データが−L位装置7から指令制御部6を
経由して印字制御部3に渡され、記憶される。印字制御
部3は印字部2をWJA動し、印字データを送り印字を
行わせる。印字量計数部4は、例えばカウンタ回路から
なり、印字部2からの信号、例えば−ページの印字終了
報告を受けて、これを計数し、印字量比較部5へ出力す
る。印字量比較部5は例えば比較回路で構成され、上位
装置7から指令制御部6を介してあらかじめ設定された
値と印字量計数部4からの入力値が一致すると、指令制
御部6へ一致信号を送出する。指令制御部6は印字量比
較部5からの一致信号を受けると、印字量計数部4へ計
数リセット信号を送出し、印字量の計数を初めからやり
直すよう指示するとJ(に、インタフェース8を経由し
て−L位装217に印字中報告を行う。また、印字制御
部3は指示されたすべての印字が終了すると、終了信号
を指令制御部6へ送る。指令制御部6は終了信号を受け
ると、印字X正計数部4へ計数リセット信号を出すと共
にインタフェース8を経由して一ヒ位装rj!17に印
字終了報告を行う。
The printing command and the number of printing repetitions from the host device 7 are decoded by the command control unit 6, the printing operation is instructed to the print control unit 3, and the print data is printed from the -L position device 7 via the command control unit 6. It is passed to the control unit 3 and stored. The print control section 3 causes the printing section 2 to perform WJA operation, sends print data, and performs printing. The print amount counting section 4 includes, for example, a counter circuit, receives a signal from the printing section 2, for example, a report of completion of printing of -page, counts it, and outputs it to the print amount comparison section 5. The print amount comparison section 5 is composed of, for example, a comparison circuit, and when the value preset from the host device 7 via the command control section 6 and the input value from the print amount counting section 4 match, it sends a match signal to the command control section 6. Send out. When the command control section 6 receives the match signal from the print amount comparison section 5, it sends a count reset signal to the print amount counting section 4, and when the command control section 6 instructs the print amount counting section 4 to start over from the beginning, Then, the print control unit 3 sends a printing status report to the -L positioner 217. When all the instructed printing is completed, the print control unit 3 sends a completion signal to the command control unit 6.The command control unit 6 receives the completion signal. Then, it outputs a count reset signal to the print

次に第2図を参照して上位装こ7の動作フローを説明す
る。
Next, the operation flow of the host device 7 will be explained with reference to FIG.

上位装置7は、印字指令をプリンタ装置lへ指令する(
ステップ11)とともに、−上位装置7の内部に存在す
るタイマ(不図示)を設定し起動する(ステップ12)
。このタイマは通常、中央処理装置が有するもので、ソ
フトウェアが制御回走なものであってよい。なお、タイ
マ値は印字量比較部5に設定される印字量に見合う時間
より大きな値であればよい、上位装置7はタイマ設定起
動後。
The host device 7 issues a print command to the printer device l (
Along with step 11), - set and start a timer (not shown) existing inside the host device 7 (step 12)
. This timer is normally included in the central processing unit, and may be controlled by software. Note that the timer value may be a value larger than the time corresponding to the print amount set in the print amount comparison section 5, after the timer setting is activated in the host device 7.

印字中報告の有無をチェックしくステップ13)、報告
があれば再びタイマ設定および起動を行う(ステップ1
2)、印字中報告がなければさらに印字終了報告の有無
を調べ(ステップ14)、印字終了報告があれば動作を
終了する。印字終了報告もなければタイムアウトしたか
どうかを調べ(ステップ15)、タイムアウトしていな
ければ再び印字中報告の有無のチェックに戻る(ステッ
プ+3)。タイマがタイムアウトしていればプリンタ装
置1に故障が発生したものとする。このような上位装置
7の動作はソフトウェアによってもファームウェアによ
っても実現可能なことば11らかであり、ソフトウェア
による場合、マルチプログラムの環境下でも実現可能で
ある。
Check whether there is a report during printing (Step 13), and if there is a report, set and start the timer again (Step 1)
2) If there is no report of printing in progress, it is further checked to see if there is a report of completion of printing (step 14), and if there is a report of completion of printing, the operation is terminated. If there is no printing end report, it is checked whether a timeout has occurred (step 15), and if it has not timed out, the process returns to checking whether there is a printing in progress report (step +3). If the timer has timed out, it is assumed that a failure has occurred in the printer device 1. It is clear that such operations of the host device 7 can be realized by both software and firmware, and in the case of software, they can also be realized in a multi-program environment.

本実施例では印字量比較部5の印字量の設定値は上位装
置7から指令制御部6を介して設定されるものとしたが
、プリンタ装置l自身内で印字量比較部5に設定するこ
ともできる。また、印字終了報告有無のチェック(ステ
ップ14)はタイマタイムアウト(ステップ15)の後
に移してもよい。
In this embodiment, the print amount setting value of the print amount comparison section 5 is set from the host device 7 via the command control section 6, but it can also be set in the print amount comparison section 5 within the printer device l itself. You can also do it. Further, the check for the presence or absence of a print completion report (step 14) may be moved after the timer times out (step 15).

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、プリンタ装置が自動的に
同一内容を繰返し長時間にわたり印字する場合に、印字
が一定量終了する毎に上位袋とに報告してその印字動作
が行われているか否かをL位装置が検出することにより
、もしプリンタ装置からの報告が無く、かつ印字終了報
告もないときプリンタ装置に異状が発生したものと見做
し、これによりデータ処理システムの運用者に故障発生
を通知し、運用者は早期に故障処置を行なえるようにな
るという効果がある。
As explained above, in the case where the printer device automatically repeatedly prints the same content over a long period of time, each time a certain amount of printing is completed, the present invention reports to the upper bag and checks whether the printing operation is being performed. If there is no report from the printer and there is no report of completion of printing, it is assumed that an abnormality has occurred in the printer, and the operator of the data processing system is informed of this. This has the effect of notifying the operator of the occurrence of a failure and allowing the operator to take immediate action to resolve the failure.

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

第1図は本発明によるプリンタ装置の故障検出装置の一
実施例を有するシステムの構成図、第2図は第1図中の
上位装置7の動作のフローチャートである。 工・・・プリンタ装置、 2・・・印字部、 3・・・印字制御部、 4・・・印字量計数部。 5・・・印字量比較部、 6・・・指令制御部、 7・・・上位装置。 8・・・インタフェース。 11、12.13.14.15・・・L位装置の動作ス
テップ。
FIG. 1 is a block diagram of a system having an embodiment of a failure detection device for a printer device according to the present invention, and FIG. 2 is a flow chart of the operation of the host device 7 in FIG. Engineering: Printer device, 2: Printing section, 3: Printing control section, 4: Printing amount counting section. 5... Print amount comparison unit, 6... Command control unit, 7... Host device. 8...Interface. 11, 12.13.14.15...Operation steps of the L-position device.

Claims (1)

【特許請求の範囲】 上位装置と、該上位装置からの指令を受けて印字を行な
うプリンタ装置を含むシステムにおいて、 プリンタ装置に設けられ、印字量を計数する計数手段と
、計数手段で計数された印字量が予め設定された印字量
に達したことを検出する検出手段と、検出手段による検
出が行なわれたとき計数手段の内容を初期化する手段と
、印字中であることを上位装置に報告する手段と、 上位装置に設けられ、プリンタ装置からの印字中報告が
一定時間内になく、かつ印字終了報告もないときにプリ
ンタ装置に異常が発生したものとみなす手段を有するプ
リンタ装置の故障検出装置。
[Scope of Claims] A system including a host device and a printer device that performs printing in response to commands from the host device, comprising: a counting means provided in the printer device for counting the amount of printing; A detection means for detecting that the print amount has reached a preset print amount, a means for initializing the contents of the counting means when the detection means detects it, and a means for reporting to the host device that printing is in progress. and a means for detecting failure of the printer device, which is provided in the host device and has a means for determining that an abnormality has occurred in the printer device when there is no report of printing in progress from the printer device within a certain period of time and no report of completion of printing within a certain period of time. Device.
JP60182340A 1985-08-19 1985-08-19 Detecting device for trouble of printer device Pending JPS6242227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60182340A JPS6242227A (en) 1985-08-19 1985-08-19 Detecting device for trouble of printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60182340A JPS6242227A (en) 1985-08-19 1985-08-19 Detecting device for trouble of printer device

Publications (1)

Publication Number Publication Date
JPS6242227A true JPS6242227A (en) 1987-02-24

Family

ID=16116596

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60182340A Pending JPS6242227A (en) 1985-08-19 1985-08-19 Detecting device for trouble of printer device

Country Status (1)

Country Link
JP (1) JPS6242227A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4792093A (en) * 1987-03-04 1988-12-20 Suga Test Instruments Co., Ltd. Artificial snow wetting apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4792093A (en) * 1987-03-04 1988-12-20 Suga Test Instruments Co., Ltd. Artificial snow wetting apparatus

Similar Documents

Publication Publication Date Title
US6389544B1 (en) Power monitoring method for a printer or other peripheral device, power monitoring apparatus, software program and information recording medium
JPS6242227A (en) Detecting device for trouble of printer device
JPS58110277A (en) Monitor system of discharge cycle of paper for printer
JPS61121128A (en) Print control system
JPH0535616A (en) Data transfer system
US4327409A (en) Control system for input/output apparatus
JPH01174482A (en) Printer controller
JPH0581138A (en) Microprogram controller
JPS61120788A (en) Printer
JP2725107B2 (en) Interrupt device
JPS62120533A (en) Print controller
CN117504078A (en) Breathing machine, safety control method and device thereof, circuit module and medium
JP3068485B2 (en) Keyboard log information output device
JPS6161427B2 (en)
JPH0275044A (en) Informing system for error logging information
JP2858493B2 (en) Failure information storage method
JPH05229236A (en) Paper delivery controlling system
Amendolia et al. ALEPH trigger supervisor F682D
JPH04153865A (en) Controller of data communication system
JPH0437565A (en) Recording device
JPH0734296B2 (en) Hard disk control circuit
JPH03216748A (en) Remote channel device
JPS59221723A (en) Reporting system of completion of initialization for input and output controller
JPS58223829A (en) Control adaptor switching system of input and output subsystem
JPS63201819A (en) Kanji printer controller