JPH04344924A - printer device - Google Patents

printer device

Info

Publication number
JPH04344924A
JPH04344924A JP3117513A JP11751391A JPH04344924A JP H04344924 A JPH04344924 A JP H04344924A JP 3117513 A JP3117513 A JP 3117513A JP 11751391 A JP11751391 A JP 11751391A JP H04344924 A JPH04344924 A JP H04344924A
Authority
JP
Japan
Prior art keywords
data
power supply
section
printing
buffer
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
JP3117513A
Other languages
Japanese (ja)
Inventor
Yutaka Ariga
有賀 豊
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP3117513A priority Critical patent/JPH04344924A/en
Publication of JPH04344924A publication Critical patent/JPH04344924A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Power Sources (AREA)
  • Fax Reproducing Arrangements (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

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

【0001】0001

【産業上の利用分野】本発明は主にコンピュータ周辺機
器及びPOSシステムに於けるプリンタ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates primarily to computer peripheral equipment and printer devices in POS systems.

【0002】0002

【従来の技術】従来この種の技術は、プリンタが印字中
に、外部的要因により主電源への電源供給が遮断され、
その後電源供給が復帰した場合、各バッファ部にバック
アップされていたデータを、主電源への電源供給が遮断
される以前の印字に続けて、電源供給が復帰してから、
各バッファ部にバックアップされていたデータをそのま
ま続けて印字する形式のものであった。
[Prior Art] Conventionally, this type of technology has been developed when the power supply to the main power supply is cut off due to an external factor while the printer is printing.
If the power supply is restored after that, the data backed up in each buffer section will be printed after the power supply to the main power supply was cut off, and then the data will be printed after the power supply is restored.
It was of a type in which the data backed up in each buffer section was printed continuously.

【0003】従来のプリンタ装置の動作を図4に示した
フローチャート図に基づいて説明する。図4に於て、4
1は主電源への電源投入、42は主電源へ投入された電
源が正常がどうか検出を行なう電源立ち上がり検出及び
判断、43は各バッファ内部にデータがバックアップさ
れているかどうかを判断、44は各バッファにデータが
バックアップされていないと判断された場合、45は各
バッファ部内にデータがバックアップされていたと判断
された場合、46はバックアップされていたデータの印
字、47は全ての処理終了後の次のデータ待ち状態を示
す。
The operation of a conventional printer device will be explained based on the flowchart shown in FIG. In Figure 4, 4
1 is power-on to the main power supply, 42 is a power-up detection and judgment to detect whether the power supplied to the main power supply is normal, 43 is to judge whether data is backed up inside each buffer, 44 is each If it is determined that the data has not been backed up in the buffer, 45 will print the backed up data if it is determined that the data has been backed up in each buffer, and 47 will print the next data after all processing is completed. Indicates the data waiting state.

【0004】プリンタ装置の主電源17に電源が投入4
1されると、まず電源の立ち上がり検出及び判断42が
行なわれる。ここで主電源の電源立ち上がりが正常であ
ると判断されると、次に各バッファ部内にデータがバッ
クアップされていないかどうかチェック43が行なわれ
る。ここで各バッファ部内にデータがバックアップされ
ていないと判断された場合44、通常のデータ待ち状態
47となる。また各バッファ部内にデータがバックアッ
プされていると判断された場合45、外部的要因により
主電源への電源供給が遮断される前の印字に続けて、各
バッファ部内に残されたデータの印字を行なう。この様
な場合、図5に示す通り電源が遮断される前の印字と電
源復帰後の印字との区別がつかない。またイメージバッ
ファ部14から印字機構部15にデータが送られていた
場合等に於ける、データの欠落等を容易に発見する事が
できない。図5に於て、51は通常状態に於ける印字、
52は外部的要因により主電源への電源供給が遮断され
、その後主電源への電源供給が復帰し、各バッファ部内
にバックアップされたデータの印字である。
[0004] When the main power supply 17 of the printer device is turned on 4
1, first, power-up detection and judgment 42 is performed. If it is determined that the power-on of the main power source is normal, then a check 43 is performed to see if data has been backed up in each buffer section. If it is determined that data is not backed up in each buffer section 44, a normal data waiting state 47 occurs. In addition, if it is determined that data is backed up in each buffer section45, the data remaining in each buffer section will be printed following the printing that was done before the power supply to the main power supply was cut off due to an external factor. Let's do it. In such a case, as shown in FIG. 5, it is difficult to distinguish between printing before the power is cut off and printing after the power is restored. Furthermore, it is not possible to easily detect missing data when data is being sent from the image buffer section 14 to the printing mechanism section 15. In FIG. 5, 51 indicates printing in the normal state;
Reference numeral 52 indicates that the power supply to the main power supply is cut off due to an external factor, and then the power supply to the main power supply is restored, and data backed up in each buffer section is printed.

【0005】[0005]

【発明が解決しようとする課題】このように前述の従来
技術では、プリンタが印字中に、外部的要因により主電
源への電源供給が遮断され、その後電源供給が復帰した
時、各バッファ部内に全てのデータがバックアップされ
、データが全て印字されたかどうか、またそれがどこで
起こったか区別する事が出来ないという課題があった。
[Problems to be Solved by the Invention] In this way, in the above-mentioned prior art, when the power supply to the main power supply is cut off due to an external factor while the printer is printing, and then the power supply is restored, the There was a problem in that all data was backed up and it was not possible to distinguish whether all data was printed or where it occurred.

【0006】本発明はこのような課題を解決するために
なされたものであり、その目的は外部的要因により主電
源への電源供給が遮断され、その後供給された後、各バ
ッファ部内にデータがバックアップされていた場合、デ
ータの印字を行なう前に、これを表示しバックアップさ
れていたデータあることを明示可能なプリンタを提供す
ることを目的とする。
The present invention has been made to solve such problems, and its purpose is to prevent data from being stored in each buffer section after the power supply to the main power source is cut off due to an external factor. To provide a printer that can clearly indicate that backed-up data exists by displaying it before printing the data if it has been backed up.

【0007】[0007]

【課題を解決するための手段】ホストコンピュータとデ
ータを送信及び受信するI/F部と、ホストから送られ
たデータを一時的に保持するデータバッファ部と、デー
タを解読し印字する為のデータに変換する制御部と、変
換されたデータを一時的に保持するイメージバッファ部
と、データの印字を行なう印字機構部と、これら各部に
電源を供給する主電源部と、主電源が遮断された時でも
各バッファ部にデータを保持する為に各バッファ部に電
源を供給し、バックアップする為のバックアップ部を有
するプリンタ装置に於て、外部的要因により主電源への
電源供給が遮断され、その後電源供給が復帰した時、各
バッファ部にデータが残っていた場合、データの印字を
行なう前に、これを表示する手段を有する事を特徴とす
るプリンタ装置。
[Means for solving the problem] An I/F unit that transmits and receives data to and from a host computer, a data buffer unit that temporarily holds data sent from the host, and data that decodes and prints the data. , the image buffer section that temporarily holds the converted data, the printing mechanism section that prints the data, and the main power supply section that supplies power to each of these sections. In a printer device that has a backup section that supplies power to each buffer section and backs up data in order to retain data in each buffer section even when the power supply to the main power supply is cut off due to an external factor, A printer device characterized by having means for displaying, if data remains in each buffer section when power supply is restored, before printing the data.

【0008】[0008]

【実施例】図1は本発明の実施例におけるハードウェア
・ブロック図である。図1に於て、11はホストコンピ
ュータとデータを送・受信するインターフェイス部(以
下I/F部と略す)、12はホストコンピュータから送
られたデータを一時的に保持するデータバッファ部、1
3はデータバッファ部から送られたデータを解読し印字
する為のデータを変換し、14のイメージバッファ部か
らのデータを実際に15の印字機構部で印字させる為の
制御部、14は印字する為に変換されたデータを一時的
に保存するためのイメージバッファ部、15はデータを
実際に印字する為の印字機構部、16は外部的要因によ
り主電源への電源供給が遮断された場合に、12のデー
タバッファ部と14のイメージバッファ部にデータを一
時的に保存する為に両バッファ部に電源を供給する為の
バックアップ部、17は各部に+5Vと+24Vを供給
する主電源部である。
Embodiment FIG. 1 is a hardware block diagram in an embodiment of the present invention. In FIG. 1, 11 is an interface unit (hereinafter abbreviated as I/F unit) that transmits and receives data to and from the host computer, 12 is a data buffer unit that temporarily holds data sent from the host computer, and 1
3 is a control unit that decodes the data sent from the data buffer section, converts the data for printing, and causes the data from the image buffer section 14 to be actually printed by the printing mechanism section 15; 14 is for printing. 15 is a printing mechanism section for actually printing data; 16 is an image buffer section for temporarily storing converted data; 16 is an image buffer section for temporarily storing converted data; 16 is an image buffer section for temporarily storing converted data; , a backup section for supplying power to the data buffer section 12 and the image buffer section 14 for temporarily storing data in both buffer sections, and a main power supply section 17 for supplying +5V and +24V to each section. .

【0009】次に、前記構成による実施例について従来
例と本発明について説明する。
Next, the conventional example and the present invention will be explained regarding the embodiment having the above configuration.

【0010】まず、I/F部11によって受け取られた
データは、データバッファ部12に一時保持される。次
にデータバッファ部12から制御部13にデータは送信
され、ここで解読され印字をする為のデータに変換され
てイメージバッファ部14に一時保存される。イメージ
バッファ部14に保持されたデータは再び制御部13を
経て印字機構部15に送られ、ここで実際の印字を行な
う。
First, data received by the I/F unit 11 is temporarily held in a data buffer unit 12. Next, the data is transmitted from the data buffer section 12 to the control section 13, where it is decoded and converted into data for printing, and temporarily stored in the image buffer section 14. The data held in the image buffer section 14 is again sent to the printing mechanism section 15 via the control section 13, where actual printing is performed.

【0011】この一連の流れの中でプリンタ印字中に、
外部的要因により主電源17への電源供給が遮断される
と、主電源17からの電源供給と切り替わり、バックア
ップ部16からデータバッファ部12とイメージバッフ
ァ部14に電源が供給され一時的にデータを保持するこ
とができる。
[0011] In this series of steps, during printer printing,
When the power supply to the main power supply 17 is cut off due to an external factor, the power supply switches to the main power supply 17, and power is supplied from the backup unit 16 to the data buffer unit 12 and image buffer unit 14, temporarily saving data. can be retained.

【0012】次に、本発明によるプリンタ装置について
図2のフローチャート図に基づいて説明を行なう。図2
に於て、21は主電源への電源投入、22は主電源へ投
入された電源が正常がどうか検出を行なう電源立ち上が
り検出及び判断、23は各バッファ内部にデータがバッ
クアップされているかどうかを判断、24は各バッファ
にデータがバックアップされていないと判断された場合
、25は各バッファ部内にデータがバックアップされて
いたと判断された場合、26は各バッファ内部にデータ
がバックアップされていると判断された場合、27バッ
クアップされていたデータの印字、28は全ての処理終
了後の次のデータ待ち状態を示す。
Next, the printer device according to the present invention will be explained based on the flowchart shown in FIG. Figure 2
In the process, 21 turns on the power to the main power supply, 22 detects and judges whether the power turned on to the main power supply is normal, and 23 judges whether data is backed up inside each buffer. , 24, when it is determined that data is not backed up in each buffer, 25, when it is determined that data is backed up in each buffer section, and 26, when it is determined that data is backed up inside each buffer. In this case, 27 indicates the printing of the backed up data, and 28 indicates the state of waiting for the next data after all processing is completed.

【0013】プリンタ装置の主電源17に電源が投入2
1されると、まず電源の立ち上がり検出及び判断22が
行なわれる。ここで主電源の電源立ち上がりが正常であ
ると判断されると、次に各バッファ部内にデータがバッ
クアップされていないかどうかチェック23が行なわれ
る。ここで各バッファ部内にデータがバックアップされ
ていないと判断された場合24、通常のデータ待ち状態
28となる。また各バッファ部内にデータがバックアッ
プされていると判断された場合25、外部的要因により
主電源が遮断される前に行なった印字とこれから行なう
印字とを区別する為に、ここで表示26を行なう。この
印字を区別するための表示の手段として、■  波線、
二重線、重ね印字等の印字を行なう。■  アラーム等
音を出す。■  LED等を点滅(点灯)を行なう。等
が挙げられる。
[0013] When the main power supply 17 of the printer device is turned on 2
1, first, power-up detection and judgment 22 is performed. If it is determined that the power-up of the main power source is normal, a check 23 is then performed to see if data has been backed up in each buffer section. If it is determined that the data is not backed up in each buffer section 24, a normal data waiting state 28 occurs. In addition, if it is determined that the data has been backed up in each buffer section 25, a display 26 is displayed here to distinguish between the printing that was performed before the main power was cut off due to an external factor and the printing that will be performed from now on. . ■ Wavy lines,
Performs printing such as double lines and overprinting. ■ Make a sound such as an alarm. ■ Blink (light up) the LED, etc. etc.

【0014】上記項目の何れかの表示を行なった後、各
バッファ部内にバックアップされたデータの印字27を
行なう。これらの印字終了後、本プリンタ装置は通常動
作に戻り、次のデータ待ち状態28となる。本プリンタ
装置に於ける印字例を図3に示す。図3に於て、31は
通常状態に於ける印字、32は外部的要因により主電源
への電源供給が遮断され、各バッファ部内にデータがバ
ックアップされていたと判断した場合、これから行なう
印字と区別する為の表示手段の一例である。33はバッ
クアップされていたデータの印字を示す。
After displaying any of the above items, the data backed up in each buffer section is printed 27. After these prints are completed, the printer device returns to normal operation and enters the next data waiting state 28. An example of printing by this printer device is shown in FIG. In Fig. 3, 31 indicates printing in a normal state, and 32 indicates printing to be performed in the future when the power supply to the main power supply is cut off due to an external factor and it is determined that data has been backed up in each buffer section. This is an example of a display means for doing so. 33 indicates printing of backed up data.

【0015】[0015]

【発明の効果】以上述べたように本発明によれば、外部
的要因により主電源への電源供給が遮断され、その後電
源供給が正常に復帰した場合、今まで行なわれた通常の
印字と区別するために、これを表示する手段を有するプ
リンタ装置なので、印字の途中で前述の様な電源供給の
遮断が有ったかどうか、及び電源が遮断された時にデー
タの欠落が有ったかどうかを瞬時に判断でき、またその
様な事が発生した場合のデータ確認等が容易に出来ると
言う効果を有する。
Effects of the Invention As described above, according to the present invention, when the power supply to the main power supply is cut off due to an external factor and the power supply is restored to normal, it can be distinguished from normal printing performed up to now. Since the printer device has a means to display this information, it is possible to instantly check whether or not the power supply has been cut off as described above during printing, and whether there is any data loss when the power is cut off. This has the effect that it can be easily determined, and data can be easily confirmed when such a situation occurs.

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

【図1】本発明の一実施例を示すハードウェア・ブロッ
ク図。
FIG. 1 is a hardware block diagram showing one embodiment of the present invention.

【図2】本発明の実施例を示すフローチャート図。FIG. 2 is a flowchart diagram showing an embodiment of the present invention.

【図3】本発明による印字例。FIG. 3 is an example of printing according to the present invention.

【図4】従来技術の例を示すフローチャート図。FIG. 4 is a flowchart diagram illustrating an example of a conventional technique.

【図5】従来技術による印字例。FIG. 5 is an example of printing by conventional technology.

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

11    I/F部 12    データバッファ部 13    プリンタ制御部 14    イメージバッファ部 15    印字機構部 16    バックアップ部 17    主電源部 11 I/F section 12 Data buffer section 13 Printer control section 14 Image buffer section 15 Printing mechanism section 16 Backup section 17 Main power supply section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  ホストコンピュータとデータを送信及
び受信するI/F部と、ホストから送られたデータを一
時的に保持するデータバッファ部と、データを解読し印
字する為のデータに変換する制御部と、変換されたデー
タを一時的に保持するイメージバッファ部と、データの
印字を行なう印字機構部と、これら各部に電源を供給す
る主電源部と、主電源が遮断された時でも各バッファ部
にデータを保持する為に各バッファ部に電源を供給し、
バックアップする為のバックアップ部を有するプリンタ
装置に於て、外部的要因により主電源への電源供給が遮
断され、その後電源供給が復帰した時、各バッファ部に
データが残っていた場合、データの印字を行なう前に、
これを表示する手段を有する事を特徴とするプリンタ装
置。
Claim 1: An I/F unit that transmits and receives data to and from a host computer, a data buffer unit that temporarily holds data sent from the host, and a control unit that decodes the data and converts it into data for printing. an image buffer section that temporarily holds converted data, a printing mechanism section that prints data, a main power supply section that supplies power to each of these sections, and a main power supply section that supplies power to each of these sections. Supply power to each buffer section to hold data in the section.
In a printer device that has a backup section for backup, if the power supply to the main power supply is cut off due to an external factor and then the power supply is restored, if data remains in each buffer section, the data will not be printed. Before doing
A printer device characterized by having means for displaying this.
JP3117513A 1991-05-22 1991-05-22 printer device Pending JPH04344924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3117513A JPH04344924A (en) 1991-05-22 1991-05-22 printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3117513A JPH04344924A (en) 1991-05-22 1991-05-22 printer device

Publications (1)

Publication Number Publication Date
JPH04344924A true JPH04344924A (en) 1992-12-01

Family

ID=14713625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3117513A Pending JPH04344924A (en) 1991-05-22 1991-05-22 printer device

Country Status (1)

Country Link
JP (1) JPH04344924A (en)

Similar Documents

Publication Publication Date Title
KR950020304A (en) Printing apparatus, system having same and control method thereof
US20040039960A1 (en) Method and apparatus for automatic hibernation after a power failure
JPH08234872A (en) Information processor
US5420783A (en) Control logic power down circuit
JP2828005B2 (en) Printer device
JPH0239973A (en) Printing control system
JPH0433031A (en) Electronic equipment with image memory
JPH10269459A (en) Merchandise sales register
JP3293337B2 (en) Printer device
JPH1024644A (en) Network print system
JPH064418A (en) Abnormal processing method of memory backup device
JPS60156126A (en) data output device
JPH0580956A (en) Output device
JPS62114027A (en) Printing data backup system of on-line system
JPH0651879A (en) Power-off processing method
JPS59182665A (en) Sequential print system
JPH0496634A (en) Semiconductor memory backup apparatus
JP2902535B2 (en) Print processing method of electronic cash register
JPH02112979A (en) Print restarting system for printer
JPH0421039A (en) Remote monitoring information restoring system
JPH04286674A (en) Printer having printing data protective function
JPH04178823A (en) Data processor
JPH06344634A (en) Reprint processing method
JPH06149486A (en) Computer equipment for medical office
JPH05158796A (en) Disk cache device