JPH04267174A - Printing device - Google Patents

Printing device

Info

Publication number
JPH04267174A
JPH04267174A JP4744891A JP4744891A JPH04267174A JP H04267174 A JPH04267174 A JP H04267174A JP 4744891 A JP4744891 A JP 4744891A JP 4744891 A JP4744891 A JP 4744891A JP H04267174 A JPH04267174 A JP H04267174A
Authority
JP
Japan
Prior art keywords
power supply
printing device
data
page buffer
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4744891A
Other languages
Japanese (ja)
Inventor
Yoko Jingu
神宮 葉子
Kenji Nakano
健二 中野
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
NEC Data Terminal Ltd
Original Assignee
NEC Corp
NEC Data Terminal Ltd
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, NEC Data Terminal Ltd filed Critical NEC Corp
Priority to JP4744891A priority Critical patent/JPH04267174A/en
Publication of JPH04267174A publication Critical patent/JPH04267174A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To improve the reliability of a printing device by preventing the printing device from data missing. CONSTITUTION:The printing device is composed of a power supply turn ON/ OFF switch 2, a main control part 3 which controls the activation of a printing device 1, a power supply control part 4 which turns the power supply ON/OFF in accordance with a command from the main control part 3, a page buffer 5 which stores print data, a memory device 6 which stores information to determine whether unprinted data is stored in the page buffer 5, and an alarm 7 which sounds an alarm for warning if the unprinted data is stored in the page buffer 5, when the switch 2 is turned OFF once.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は印刷装置に係り、特に印
刷装置内部に未印刷データを残したまま印刷装置の電源
をOFFした場合のデータ保全を確保するための印刷装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing apparatus, and more particularly to a printing apparatus for ensuring data integrity when the printing apparatus is turned off with unprinted data remaining inside the printing apparatus.

【0002】0002

【従来の技術】従来の印刷装置は、上位装置からデータ
の受信中あるいは未印刷データ保持の状態で印刷装置の
電源スイッチをOFFにすると、未印刷データを保持し
ているにもかかわらず無条件に印刷装置電源をOFFし
てしまっていた。
[Prior Art] When the power switch of a conventional printing device is turned off while receiving data from a host device or holding unprinted data, an unconditional error occurs even though the printing device holds unprinted data. I had already turned off the power to the printer.

【0003】0003

【発明が解決しようとする課題】上述した従来の印刷装
置では、未印刷データを保持している状態にもかかわら
ず、電源スイッチをOFFした場合、無条件に印刷装置
の電源をOFFとしていたためにオペレータの不注意に
よる電源スイッチOFF操作によって印刷装置内部に保
持している未印刷データを消去してしまうという課題が
あった。
[Problems to be Solved by the Invention] In the conventional printing device described above, when the power switch is turned off even though unprinted data is held, the power to the printing device is unconditionally turned off. However, there was a problem in that unprinted data held inside the printer was erased due to the operator's carelessness in turning off the power switch.

【0004】0004

【課題を解決するための手段】本発明の印刷装置は、電
源供給切断スイッチと、印刷装置の動作を制御する主制
御部と、この主制御部からの指令により電源のON/O
FFを制御する電源制御部と、印刷データを格納するペ
ージバッファと、未印刷データが上記ページバッファに
格納されているか否かの情報を格納するためのメモリと
、上記電源供給切断スイッチを1回OFFしたときに上
記ページバッファに未印刷データが格納されていた際警
告のアラームを鳴らす警告器とを有するものである。
[Means for Solving the Problems] The printing device of the present invention includes a power supply cutoff switch, a main control unit that controls the operation of the printing device, and a power supply that turns on/off the power according to a command from the main control unit.
A power supply control unit that controls the FF, a page buffer that stores print data, a memory that stores information as to whether or not unprinted data is stored in the page buffer, and the power supply cutoff switch that is turned off once. A warning device is provided which, when turned off, sounds an alarm when unprinted data is stored in the page buffer.

【0005】[0005]

【作用】本発明においては、印刷装置の動作中、常にペ
ージバッファ内の未印刷データ有無情報を検出して、そ
の情報をメモリに記憶させておき、上位装置からのデー
タ受信中あるいは未印刷データ保持の状態で印刷装置の
電源供給切断スイッチを1回OFFにすると、主制御部
はその電源供給切断スイッチがOFFになったことを検
知し、メモリに記憶した未印字データ有無情報を検索し
て未印刷データが存在する場合は、警告器を鳴らし外部
に知らせる。
[Operation] In the present invention, while the printing device is operating, information on the presence or absence of unprinted data in the page buffer is always detected, and this information is stored in the memory. When the power supply cutoff switch of the printing device is turned OFF once in the retained state, the main control unit detects that the power supply cutoff switch is turned OFF and searches for the presence/absence information of unprinted data stored in the memory. If unprinted data exists, an alarm will sound to notify the outside.

【0006】[0006]

【実施例】図1は本発明の一実施例を示すブロック図で
ある。この図1において、1は印刷装置で、この印刷装
置1は、外部から操作可能な電源供給切断スイッチ2と
、印刷装置1の動作を制御する主制御部3と、この主制
御部3からの指令により電源のON/OFFを制御する
電源制御部4と、印刷データを格納するページバッファ
5と、未印刷データがこのページバッファ5に格納され
ているか否かの情報を格納するためのメモリ6と、電源
供給切断スイッチ2を1回OFFしたときにページバッ
ファ5に未印刷データが格納されていた際警告のアラー
ムを鳴らす警告器7と、描画の制御をする文字描画制御
部8と、印刷装置1のデバイス部を制御するデバイス制
御部9と、実際に印刷排出を行う印刷部10とで構成さ
れている。11は上位装置である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, 1 is a printing device, and this printing device 1 includes a power supply disconnection switch 2 that can be operated from the outside, a main control section 3 that controls the operation of the printing device 1, and a main control section 3 that controls the operation of the printing device 1. A power control unit 4 that controls power ON/OFF based on commands, a page buffer 5 that stores print data, and a memory 6 that stores information as to whether unprinted data is stored in this page buffer 5. , a warning device 7 that sounds a warning alarm when unprinted data is stored in the page buffer 5 when the power supply cutoff switch 2 is turned off once, a character drawing control unit 8 that controls drawing, and a printing It is comprised of a device control section 9 that controls the device section of the apparatus 1, and a printing section 10 that actually performs printing and ejection. 11 is a host device.

【0007】つぎにこの図1に示す実施例の動作を説明
する。まず、印刷装置1の動作中、主制御部3は常にペ
ージバッファ5内の未印刷データの有無を検出して、そ
の情報をメモリ6に記憶させておく。そして、上位装置
11からのデータ受信中あるいは未印刷データ保持の状
態で、印刷装置1の電源供給切断スイッチ2を1回OF
Fにすると、主制御部3がこれを検知し、電源制御部4
に知らせる。この電源制御部4は1回電源供給切断スイ
ッチ2がOFFになったことを認識するが、印刷装置1
の電源はOFFとしない。
Next, the operation of the embodiment shown in FIG. 1 will be explained. First, while the printing apparatus 1 is operating, the main control section 3 always detects the presence or absence of unprinted data in the page buffer 5 and stores this information in the memory 6. Then, while receiving data from the host device 11 or holding unprinted data, turn off the power supply cutoff switch 2 of the printing device 1 once.
When set to F, the main control unit 3 detects this and the power supply control unit 4
Let me know. This power supply control unit 4 recognizes that the power supply cutoff switch 2 is turned off once, but the printing device 1
Do not turn off the power.

【0008】つぎに、主制御部3は、メモリ6に記憶さ
れている未印刷データ有無情報を検出してページバッフ
ァ5に未印刷データが格納されているか否かを確認する
。そして、未印刷データが格納されている場合には、主
制御部3が警告器7に指令を出し、この警告器7がアラ
ームを鳴らして使用者に知らせる。このとき、電源供給
切断スイッチ2をONにした場合には、電源制御部4が
再び電源供給切断スイッチ2がONになったことを認識
し、文字描画制御部8およびデバイス制御部9を作動さ
せて、未印刷データを印刷部10から印刷排出する。 また、電源供給切断スイッチ2をOFFにした場合には
、電源制御部4は2回目の電源供給切断スイッチ2のO
FFを認識して印刷装置1の電源を完全にOFFにする
Next, the main control section 3 detects the unprinted data presence/absence information stored in the memory 6 and confirms whether or not unprinted data is stored in the page buffer 5. If unprinted data is stored, the main control section 3 issues a command to the warning device 7, and the warning device 7 sounds an alarm to notify the user. At this time, if the power supply cutoff switch 2 is turned on, the power supply control section 4 recognizes that the power supply cutoff switch 2 is turned on again, and operates the character drawing control section 8 and the device control section 9. Then, the unprinted data is printed and discharged from the printing unit 10. Further, when the power supply cutoff switch 2 is turned off, the power supply control unit 4 turns off the power supply cutoff switch 2 for the second time.
FF is recognized and the power of the printing device 1 is completely turned off.

【0009】[0009]

【発明の効果】以上説明したように本発明の印刷装置は
、印刷装置の動作中、常にページバッファ内の未印刷デ
ータ有無情報を検出して、その情報をメモリ記憶させて
おき、上位装置からのデータ受信中あるいは未印刷デー
タ保持の状態で印刷装置の電源供給切断スイッチを1回
OFFにすると、主制御部はその電源供給切断スイッチ
がOFFになったことを検知し、メモリに記憶した未印
字データ有無情報を検索して未印刷データが存在する場
合は、警告器を鳴らし外部に知らせるようにすることに
より、異常操作による強制電源OFFのとき、使用者は
印刷装置内部に未印字データが有ることを確認できるた
め、データ抜けを無くすことができ、プリンタ装置の信
頼性が向上するという効果がある。
As explained above, the printing device of the present invention constantly detects the presence or absence of unprinted data in the page buffer while the printing device is in operation, stores this information in memory, and stores the information in the memory so that it can be accessed from the host device. If you turn off the power supply cutoff switch of the printing device once while receiving data or holding unprinted data, the main control unit detects that the power supply cutoff switch is turned off and deletes the unprinted data stored in the memory. If the print data presence/absence information is searched and unprinted data exists, a warning device will sound to notify the outside, so that when the power is forced off due to an abnormal operation, the user will be able to detect if there is unprinted data inside the printing device. Since it can be confirmed that the data exists, it is possible to eliminate data omissions, which has the effect of improving the reliability of the printer device.

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

【図1】本発明の一実施例を示したブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

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

1  印刷装置 2  電源供給切断スイッチ 3  主制御部 4  電源制御部 5  ページバッファ 6  メモリ 7  警告器 8  文字描画制御部 9  デバイス制御部 10  印刷部 1 Printing device 2 Power supply cutoff switch 3 Main control section 4 Power control section 5 Page buffer 6 Memory 7 Warning device 8 Character drawing control section 9 Device control section 10 Printing Department

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  印刷装置において、電源供給切断スイ
ッチと、印刷装置の動作を制御する主制御部と、この主
制御部からの指令により電源のON/OFFを制御する
電源制御部と、印刷データを格納するページバッファと
、未印刷データが前記ページバッファに格納されている
か否かの情報を格納するためのメモリと、前記電源供給
切断スイッチを1回OFFしたときに前記ページバッフ
ァに未印刷データが格納されていた際警告のアラームを
鳴らす警告器とを有することを特徴とする印刷装置。
Claim 1: In a printing device, a power supply cut-off switch, a main control unit that controls the operation of the printing device, a power supply control unit that controls ON/OFF of the power supply based on commands from the main control unit, and a power supply control unit that controls the power supply and print data. a page buffer for storing unprinted data; a memory for storing information as to whether unprinted data is stored in the page buffer; and a memory for storing information as to whether unprinted data is stored in the page buffer; 1. A printing device comprising: a warning device that sounds a warning alarm when the printer is stored.
JP4744891A 1991-02-21 1991-02-21 Printing device Pending JPH04267174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4744891A JPH04267174A (en) 1991-02-21 1991-02-21 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4744891A JPH04267174A (en) 1991-02-21 1991-02-21 Printing device

Publications (1)

Publication Number Publication Date
JPH04267174A true JPH04267174A (en) 1992-09-22

Family

ID=12775433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4744891A Pending JPH04267174A (en) 1991-02-21 1991-02-21 Printing device

Country Status (1)

Country Link
JP (1) JPH04267174A (en)

Similar Documents

Publication Publication Date Title
JP2001166904A (en) Printing device and its controlling method the same and information recording medium
JPH04267174A (en) Printing device
JPH01235680A (en) Electronic typewriter
JP2021089589A (en) Portable terminal
WO1984001637A1 (en) Data input/output apparatus
JPS6271685A (en) Printer
JPH0343283A (en) Page printer
JPH0580956A (en) Output device
JPH05278283A (en) Printer
JPS62268648A (en) Control system of color printer
JP5290010B2 (en) Drawer control device
JPH05201073A (en) Printer
JPH02113968A (en) Printing apparatus
JPS62158081A (en) Control system for printing in the absence of paper
JPH04144773A (en) Printer
JPS60189567A (en) Information processor
JPH07125388A (en) Printer
JPH04134512A (en) Peripheral output device for personal computer
JPH05246118A (en) Printing device
JPS61173351A (en) Printing device
JPS5969873A (en) Input-output device of data
JPS5975330A (en) Data input/output device
JPH06210936A (en) Printing control device of printer
JPH06348425A (en) Printer
JPS63209967A (en) Printer