JPH0447325A - Printer - Google Patents

Printer

Info

Publication number
JPH0447325A
JPH0447325A JP2152980A JP15298090A JPH0447325A JP H0447325 A JPH0447325 A JP H0447325A JP 2152980 A JP2152980 A JP 2152980A JP 15298090 A JP15298090 A JP 15298090A JP H0447325 A JPH0447325 A JP H0447325A
Authority
JP
Japan
Prior art keywords
printer
power
host device
signal
power supply
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
JP2152980A
Other languages
Japanese (ja)
Inventor
Koichi Iwai
浩一 岩井
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2152980A priority Critical patent/JPH0447325A/en
Publication of JPH0447325A publication Critical patent/JPH0447325A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable a host device to detect the cut-off of the power supply of a printer by making all output signal groups from the printer to the host device into a high level during initializing processing. CONSTITUTION:A printer controlling microprogram 2 controls all the output signal groups from the printer 1 to the host device so as to be turned into the high level during the initializing processing in the initializing processing after the switch-on of the power supply. Thus, even if the cut-off of the power supply and the switch-on of the power supply are executed quickly in succession from a power supply switch-on state, the power supply cut-off time of the printer 1 which can be seen from the host device, that it, T1+ T2 in a figure can be secured, and the host device can detect the power supply cut-off of the printer 1, and a correct printed result can be obtained in the printing after that.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、ホスト装置とのインタフェースにセントロ
ニクス準拠のインタフェースを有し、外字などの登録が
可能なプリンタ装置に関するもので、プリンタ装置にお
ける電源投入後の初期化処理に関するものである。
[Detailed Description of the Invention] (Industrial Application Field) This invention relates to a printer device that has a Centronics-compliant interface with a host device and is capable of registering external characters, etc. This is related to later initialization processing.

〔従来の技術〕[Conventional technology]

第3図はプリンタ装置を示す図であり、図において、プ
リンタ装置(1)は、このプリンタ装置(1)を制御す
るマイクロプログラム(2)、ホスト装置とのインタフ
ェースであるセントロニクス準拠のインタフェース(3
)  後述する人力信号群(6)を読み込む人力ボート
(4)及び出力信号群(7)を書き込む出力ボート(5
)を有する。また、(6)及び(7)はそれぞれ上記セ
ントロニクス準拠のインタフェース(3)を構成するプ
リンタ装置(1)への入力信号群、及びプリンタ装置(
1)からの出力信号群、(8) 、 (9) 、 (1
0) 、 (11) 、及び(12)はそれぞれ上記出
力信号(7)を構成するもので、順次、ハイレベルでデ
ータ受信可能を示す5ELECT−)1信号、ローレベ
ルで障害発生を示すFAtlLT−L信号、ハイレベル
で用紙切れを示すPAPEREND−)1信号、ハイレ
ベルでデータ処理等による動作中を示すBUSY−H信
号、及びパルス信号でデータ受信に対する応答を示す^
CKNOWLEDGE−L信号である。
FIG. 3 is a diagram showing a printer device. In the figure, a printer device (1) includes a microprogram (2) that controls the printer device (1), and a Centronics-compliant interface (3) that is an interface with the host device.
) A human-powered boat (4) that reads a human-powered signal group (6), which will be described later, and an output boat (5) that writes an output signal group (7).
). In addition, (6) and (7) are a group of input signals to the printer device (1) that constitutes the Centronics-compliant interface (3), and a group of input signals to the printer device (1), respectively.
Output signal group from (1), (8), (9), (1
0), (11), and (12) constitute the above output signal (7), and in order, the 5ELECT-)1 signal indicates that data can be received at a high level, and the FAtlLT-1 signal indicates that a failure has occurred at a low level. L signal, PAPEREND-)1 signal which indicates out of paper at high level, BUSY-H signal which indicates operation by data processing etc. at high level, and pulse signal indicates response to data reception^
This is the CKNOWLEDGE-L signal.

次に動作について説明する。Next, the operation will be explained.

第4図は従来のプリンタ装置におけるプリンタ制御マイ
クロプログラムの電源投入後の初期化処理のフローチャ
ートであり、また、第5図は従来のプリンタ装置におけ
る出力信号群の電源投入法のタイミングチャートで、以
下、これらを参照して説明する。
FIG. 4 is a flowchart of the initialization process after power-on of the printer control microprogram in a conventional printer device, and FIG. 5 is a timing chart of the power-on method of the output signal group in the conventional printer device. , will be explained with reference to these.

なお、プリンタ装置(1)が電源投入状態から1源断さ
れると、出力信号群(7)が全てハイレベ/1になった
ようにホスト装置から見え(第5図CTl)。ホスト装
置はそのような状態をセンスすると、プリンタ装置(1
)が電源断状態であると判廚する。
Note that when the printer device (1) is turned off from the power-on state, the output signal group (7) appears to the host device as if it were all at high level/1 (CTl in FIG. 5). When the host device senses such a condition, the printer device (1
) is determined to be in a power-off state.

まず、第3図構成において、プリンタ装置(1)が電源
投入されると、第4図に示されるプリンタ制御マイクロ
プログラム(2)の電源投入後の初N化処理が行われる
First, in the configuration shown in FIG. 3, when the printer device (1) is powered on, the printer control microprogram (2) shown in FIG. 4 performs the initial N conversion process after the power is turned on.

この時、5ELECT−H信号(8) 、FAtlLT
−L (9) 、及びPAPEREND−H信号(10
)をローレベルにし、また、BIISY−)1信号(1
1)、及びACKNOWLEDGE−L信号(12)を
ハイレベルにしく第5図のT2)、初期化処理が開始さ
れる(ステップ51.S2 ) 。
At this time, 5ELECT-H signal (8), FAtlLT
-L (9), and PAPEREND-H signal (10
) to low level, and BIISY-)1 signal (1
1) and the ACKNOWLEDGE-L signal (12) are set to high level (T2) in FIG. 5, and initialization processing is started (step 51.S2).

初期化処理後は、5ELECT−H信号(8)及びFA
IILTL信号(9)をハイレベルにし、PAPERE
ND−H信号(10)、BtlSY−H信号(11)、
及びACKNOWLE[1GE−L信号(12)をロー
レベルしくステップs3)、最後に、ACKNOWLE
DGE−L信号(12)ヲハイレベルニスルコトによっ
てパルス信号を出力しく第5図のT、)、初期化処理を
終了する(ステップS4)。
After initialization processing, 5ELECT-H signal (8) and FA
Set the IILTL signal (9) to high level and
ND-H signal (10), BtlSY-H signal (11),
and ACKNOWLE [set the 1GE-L signal (12) to low level step s3), and finally, ACKNOWLE
When the DGE-L signal (12) reaches a high level, a pulse signal is output (T in FIG. 5), and the initialization process is completed (step S4).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のプリンタ装置は以上のようにプリンタ制御マイク
ロプログラムによって制御されているので、電源投入状
態から素早く電源断、電源投入が続けて行われると、電
源断時間(第5図のTI)が短時間になり、ホスト装置
がプリンタ装置の電源断を検知できないという問題点が
あった。
Conventional printer devices are controlled by the printer control microprogram as described above, so if the power is quickly turned off and then turned on again after the power is turned on, the power-off time (TI in Figure 5) is shortened. Therefore, there was a problem in that the host device could not detect power-off of the printer device.

ホスト装置がプリンタ装置の電源断を検知できなかった
場合、ホスト装置がプリンタ装置の電源断を検知後にプ
リンタ装置へ再登録しなければならない外字等を再登録
しないため、その後の印刷において正しい印刷結果が得
られなくなってしまう。
If the host device cannot detect the power off of the printer device, the host device will not re-register external characters, etc. that must be re-registered to the printer device after detecting the power off of the printer device, so the print result will not be correct in subsequent printing. will no longer be obtained.

この発明は上記のような問題点を解消するためになされ
もので、プリンタ装置が電源投入状態から素早く電源断
、電源投入を続けて行っても、ポスト装置がプリンタ装
置の電源断を検知できるプリンタ装置を得ることを目的
とする。
This invention has been made to solve the above-mentioned problems, and provides a printer in which the post device can detect power-off of the printer device even if the printer device is quickly turned off and then turned on again from the power-on state. The purpose is to obtain equipment.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るプリンタ装置は、ホスト装置とのインタ
フェースにセントロニクス準拠のインタフェースを有し
、外字などの登録が可能なプリンタ装置において、電源
投入後の初期化処理の間、プリンタ装置からホスト装置
への出力信号群を全てハイレベルにする制御手段を備え
たものである。
The printer device according to the present invention has a Centronics-compliant interface for the interface with the host device and is capable of registering external characters, etc. During the initialization process after power is turned on, the printer device does not transmit data from the printer device to the host device. It is equipped with a control means for setting all output signal groups to high level.

〔作用〕[Effect]

この発明におけるプリンタ装置は、制御手段により、電
源投入後の初期化処理の間、プリンタ装置からホスト装
置への出力信号群を全てハイレベルにしたので、この間
、ホスト装置からは、プリンタ装置が電源断状態に見え
る。
In the printer device according to the present invention, the control means sets all the output signals from the printer device to the host device at a high level during the initialization process after the power is turned on. It appears to be in a state of disconnection.

〔実施例〕〔Example〕

以下、この発明の一実施例を図に基づいて説明する。先
ず、本実施例において、プリンタ装置は第3図に示すも
のと同様な構成を有する。このプリンタ装置におけるプ
リンタ制御マイクロプログラムの電源投入後の初期化処
理としては、第1図に示す如くフローチャートに従い、
この時、出力信号群の電源投入時のタイミングチャート
を第2図に示す。
Hereinafter, one embodiment of the present invention will be described based on the drawings. First, in this embodiment, the printer device has a configuration similar to that shown in FIG. The initialization process of the printer control microprogram in this printer device after the power is turned on is as shown in the flowchart shown in FIG.
At this time, a timing chart of the output signal group when the power is turned on is shown in FIG.

以下、第1図と第2図を参照して本実施例を係る動作を
説明する。
The operation of this embodiment will be described below with reference to FIGS. 1 and 2.

なお、プリンタ装置(1)が電源投入状態から電源断さ
れると、出力信号群(7)が全てハイレベルになったよ
うにホスト装置から見える(第2図のTI)。ホスト装
置はそのような状態をセンスすると、プリンタ装置(1
)が電源断状態であると判断することができる。
Note that when the printer device (1) is powered off from the power-on state, it appears to the host device that the output signal group (7) are all at a high level (TI in FIG. 2). When the host device senses such a condition, the printer device (1
) can be determined to be in a power-off state.

まず、第3図構成において、プリンタ装置(1)が電源
投入されると、第1図に示されるプリンタ制御マイクロ
プログラム(2)の電源投入後の初期化処理が行われる
First, in the configuration shown in FIG. 3, when the printer device (1) is powered on, the initialization process of the printer control microprogram (2) shown in FIG. 1 after the power is turned on is performed.

この時、5ELECT−H信号(8)FAtlLT−L
信号(9) 、PAPEREND−H信号(10)、B
LISY−)1侶号(11)、及びAIJNOWLED
GE−L信号(12)をハイレベルにしく第3図のT2
)、初期化処理が開始される(ステップSl、52 >
At this time, 5ELECT-H signal (8) FAtlLT-L
Signal (9), PAPEREND-H signal (10), B
LISY-)1 (11) and AIJNOWLED
Set the GE-L signal (12) to high level at T2 in Figure 3.
), initialization processing is started (step Sl, 52 >
.

初期化処理後は、5ELECT−H信号(8)  及び
FAtlLT−L信号(9)をハイレベルにし、PAP
EREND−H信号(10)、BIISY−H信号(1
1)、及びACKNOWLEDGE−L信号(12)を
ローレベルにしくステップS3)、最後にACにN0W
LEDGE−L信号(12)をハイレベルにすることに
よってパルス信号を出力しく第3図のT3)、初期化処
理を終了する(ステップ54)。
After the initialization process, the 5ELECT-H signal (8) and the FAtlLT-L signal (9) are set to high level, and the PAP
EREND-H signal (10), BIISY-H signal (1
1), and the ACKNOWLEDGE-L signal (12) is set to low level in step S3), and finally the AC is set to N0W.
By setting the LEDGE-L signal (12) to a high level, a pulse signal is output (T3 in FIG. 3), and the initialization process is completed (step 54).

従って、上記実施例によれば、プリンタ制御マイクロプ
ログラムが電源投入後の初期化処理において、初期化処
理の間、プリンタ装置(1)からホスト装置への出力信
号群を全てハイレベルにするように制御したので、電源
投入状態から素早く電源断電源、投入が続けて行われて
もホスト装置から見えるプリンタ装置(1)の電源断時
間(第3図のTI+T2)が確保され、ホスト装置がプ
リンタ装置(1)の電源断を検知でき、その後の印刷に
おいて正しい印刷結果が得られる効果がある。
Therefore, according to the above embodiment, the printer control microprogram sets all the output signals from the printer device (1) to the host device to a high level during the initialization process after the power is turned on. As a result, even if the power is quickly turned off and then turned on again after the power is turned on, the power-off time (TI+T2 in Figure 3) of the printer device (1) that is visible to the host device is ensured, and the host device (1) It is possible to detect a power outage, and the effect is that correct printing results can be obtained in subsequent printing.

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

以上のように、この発明によれば、プリンタ制御マイク
ロプログラムが電源投入後の初期化処理において、初期
化処理の間、プリンタ装置からホスト装置への出力信号
群を全てハイレベルにするように制御したので、電源投
入状態から素早く電源断電源、投入が続けて行われても
ホスト装置から見えるプリンタ装置の電源断時間が確保
され、ホスト装置がプリンタ装置の電源断を検知できる
As described above, according to the present invention, the printer control microprogram controls all the output signals from the printer device to the host device to be at high level during the initialization process after the power is turned on. Therefore, even if the power is quickly turned off and then turned on again from the power-on state, the power-off time of the printer device visible to the host device is ensured, and the host device can detect the power-off of the printer device.

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

第1図はこの発明の一実施例による初期化処理のフロー
チャート、第2図はこの発明の一実施例による電源投入
時のタイミングチャート、第3図はプリンタ装置を示す
構成図、第4図は従来の初期化処理のフローチャート、
第5図は従来の電源投入時のタイミングチャートである
。 (1)はプリンタ装置、(3)はセントロニクス準拠の
インタフェース、(5)は出力信号群。 尚、各図中、同一符号は同−又は相当部分を示す。 第 図 第 図 箪 図 出力信号群 第 図 第 図 手 続 補 正 書(自発) 1、事件の表示 特願平2−152980号 発明の名称 プリンタ装置 3゜ 補正をする者 事件との関係 特許出願人 住 所   東京都千代田区丸の内二丁目2番3号名 
称(601)三菱電機株式会社 代表者志岐守哉 4、代理人 住所 東京都中央区日本橋本町1丁目9番13号中山ビル4階 6、補正の内容 (1)明細書第3頁第6行ないし′tS7行の「見え(
第5図のTI) 、 Jという記載を「見える(第5図
のTI)。」と補正する。 (2)明細書第7頁第15行のないし第16行と第8頁
第6行ないし第7行の「電源断電源、投入」という各記
載をそれぞれ「電源断、電源投入」と補正する。 以  上
FIG. 1 is a flowchart of initialization processing according to an embodiment of the present invention, FIG. 2 is a timing chart when power is turned on according to an embodiment of the present invention, FIG. 3 is a configuration diagram showing a printer device, and FIG. Flowchart of conventional initialization processing,
FIG. 5 is a conventional timing chart when power is turned on. (1) is a printer device, (3) is a Centronics-compliant interface, and (5) is an output signal group. In each figure, the same reference numerals indicate the same or corresponding parts. Figure Figure Figure Output signal group Figure Figure Procedure amendment (spontaneous) 1. Indication of the case Patent application No. 152980/1999 Name of the invention Printer device 3° Person making the amendment Relationship to the case Patent applicant residence Address: 2-2-3 Marunouchi, Chiyoda-ku, Tokyo
Name (601) Mitsubishi Electric Co., Ltd. Representative Moriya Shiki 4, Agent address: 4th floor 6, Nakayama Building, 1-9-13 Nihonbashi Honmachi, Chuo-ku, Tokyo Contents of amendment (1) Statement, page 3, line 6 Or'tS7 line ``See (
The description "TI)" and "J" in Figure 5 will be corrected to "Visible (TI in Figure 5)." (2) The statements "power off, power on" on page 7, lines 15 to 16 and page 8, lines 6 to 7 of the specification are corrected to "power off, power on" respectively. . that's all

Claims (1)

【特許請求の範囲】[Claims] ホスト装置とのインタフェースにセントロニクス準拠の
インタフェースを有し、外字などの登録が可能なプリン
タ装置において、電源投入後の初期化処理の間、プリン
タ装置からホスト装置への出力信号群を全てハイレベル
にする制御手段を備えたことを特徴とするプリンタ装置
For printers that have a Centronics-compliant interface with the host device and can register external characters, etc., all output signals from the printer to the host device are set to high level during the initialization process after power is turned on. What is claimed is: 1. A printer device characterized by comprising a control means for controlling.
JP2152980A 1990-06-12 1990-06-12 Printer Pending JPH0447325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2152980A JPH0447325A (en) 1990-06-12 1990-06-12 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2152980A JPH0447325A (en) 1990-06-12 1990-06-12 Printer

Publications (1)

Publication Number Publication Date
JPH0447325A true JPH0447325A (en) 1992-02-17

Family

ID=15552334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2152980A Pending JPH0447325A (en) 1990-06-12 1990-06-12 Printer

Country Status (1)

Country Link
JP (1) JPH0447325A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7170646B2 (en) 1998-11-24 2007-01-30 Ricoh Company, Ltd. Facsimile device and a facsimile device monitoring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7170646B2 (en) 1998-11-24 2007-01-30 Ricoh Company, Ltd. Facsimile device and a facsimile device monitoring system

Similar Documents

Publication Publication Date Title
JP4578057B2 (en) Upstream peripheral device acting as a USB host
US20130166926A1 (en) Information processing apparatus that offers chance of eliminating hang-up state, control method therefor, and storage medium
JP2021016941A (en) Information processing device
JP2007293729A (en) Control method for electronic equipment, control program for electronic equipment and electronic equipment
JPH0447325A (en) Printer
US10069990B2 (en) Image processing apparatus, method of controlling the same, and recording medium for selectively processing packets using a processor or a sub processor
JP2008126642A (en) Image formation system
JP2001047693A (en) Printer system
JP2008307733A (en) Image forming device
JP3012378B2 (en) Printer interface circuit
JP6537358B2 (en) IMAGE FORMING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM
JP7107238B2 (en) Information processing equipment
JP4032471B2 (en) Printer control circuit
KR101080400B1 (en) Method and apparatus for controling voltage output of an image forming apparatus
JPH0254328A (en) Time-over preventing system for printer
JP5107121B2 (en) Data transfer apparatus, initialization method thereof, and image forming apparatus
JP2776743B2 (en) Electrophotographic printer
JP2003285504A (en) Imaging apparatus
JP2002113925A (en) Printer
JP2573415Y2 (en) Data output switching device
JP2002103741A (en) Printer
JPS62261470A (en) Printer
JPH01186364A (en) Printer
JP2006040233A (en) Information processing system and image processing system
JP2010134763A (en) Data processing apparatus, method, and program