JPH03290280A - Printer for cutform - Google Patents

Printer for cutform

Info

Publication number
JPH03290280A
JPH03290280A JP9028990A JP9028990A JPH03290280A JP H03290280 A JPH03290280 A JP H03290280A JP 9028990 A JP9028990 A JP 9028990A JP 9028990 A JP9028990 A JP 9028990A JP H03290280 A JPH03290280 A JP H03290280A
Authority
JP
Japan
Prior art keywords
slip
cutform
printing
service interruption
print data
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.)
Granted
Application number
JP9028990A
Other languages
Japanese (ja)
Other versions
JP2645165B2 (en
Inventor
Yoshinori Mita
義徳 三田
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric Co 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP2090289A priority Critical patent/JP2645165B2/en
Publication of JPH03290280A publication Critical patent/JPH03290280A/en
Application granted granted Critical
Publication of JP2645165B2 publication Critical patent/JP2645165B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To enable secure guarantee for service interruption to be executed by a simple operation by a method wherein in the case where service interruption occurs halfway in cutform printing, reset of the cutform is designated to an operator on the resume of the power supply. CONSTITUTION:In the case of a cutform necessary for processing of service interruption, a cutform start code is added to a beginning of a printing data by application, and a cutform end code is added to its last. Thiscode and the data are saved in an intermediated buffer memory 31 by an operating system. When service interruption occurs halfway in printing of the cutform necessary for processing of service interruption, a message that 'the printer has detected service interruption. Conform a top of cutform paper to one another, and push the clear key,' is displayed on display 8 by the operating system on the resume of the power supply. Occurrence of service interruption halfway in printing of the cutform necessary for processing of service interruption is informed to an operator thereby, the top of the cutform paper is conformed to one another to be reset, and the clear key of a keyboard 10 is operated. Though service interruption occurs halfway in printing, the printing data of the cutform comes to be printed successively from the beginning of the cutform paper thus.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は伝票用プリンタの改良に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an improvement in a slip printer.

[従来の技術] 伝票用プリンタは、例えばpos <ポイント・オブ・
セールス)システムや電子式キャッシュレジスタ等にお
いて商品販売データを伝票用紙に印字する場合に使用さ
れている。
[Prior art] For example, a printer for a slip is used for POS <point of
It is used to print product sales data on slip paper in sales systems, electronic cash registers, etc.

従来、この種伝票プリンタでは、例えば1ラインの印字
データの停電保障ができるものが知られている。すなわ
ちこの伝票プリンタは1ラインの印字途中で停電が発生
しても停電復帰時にその1ラインを再度重ね印字してか
ら以降の印字データを伝票用紙に順次印字できるように
なっている。
Conventionally, this type of slip printer is known to be capable of guaranteeing, for example, one line of print data during power outage. In other words, this slip printer is designed so that even if a power outage occurs during printing of one line, when the power is restored, that one line can be overprinted again, and subsequent print data can be sequentially printed on slip paper.

[発明が解決しようとする課題] しかし従来の伝票用プリンタは1ラインの停電保障がで
きても、1ラインフィード分の停電保障ができなかった
。すなわち伝票用紙の場合1ラインの印字は比較的短時
間で終了できるが1ラインフイードに要する時間は1ラ
インの印字に要する時間よりも長く、このためラインフ
ィード中に停電が発生した場合伝票用紙のフィードが行
われず、その結果停電復帰時に次の印字データを前の印
字データの上に重ね印字してしまう問題があった。
[Problems to be Solved by the Invention] However, although conventional slip printers can guarantee a power outage for one line, they cannot guarantee a power outage for one line feed. In other words, in the case of slip paper, printing of one line can be completed in a relatively short time, but the time required to feed one line is longer than the time required to print one line, so if a power outage occurs during line feeding, the feeding of slip paper will be delayed. As a result, there is a problem in that the next print data is overprinted on the previous print data when the power is restored.

そこで従来は停電発生時の伝票を一旦無効にし、改めて
例えば他の伝票の印字作業が終了した最後に伝票用紙を
セットして停電発生時の印字データを読出し印字させる
ようにしていた。
Therefore, in the past, the slip that was issued when a power outage occurred was once invalidated, and then, for example, the slip paper was set again at the end of printing work on other slips, and the print data when a power outage occurred was read out and printed.

このため、作業が面倒となり、またオペレータが停電発
生時に停電保障ができなかった伝票があることを忘れて
しまう虞があった。
This makes the work cumbersome, and there is also a risk that the operator may forget that there are slips for which power outage protection cannot be guaranteed when a power outage occurs.

そこで本発明は、伝票印字の途中で停電が発生した場合
、停電復帰時にオペレータに対して伝票の再セットを指
示し、伝票を再セットするとその伝票に対して再度最初
から印字を開始し、簡単な作業で確実な停電保障ができ
る伝票用プリンタを提供しようとするものである。
Therefore, in the present invention, if a power outage occurs during printing of a slip, the operator is instructed to reset the slip when the power is restored, and when the slip is reset, printing starts again from the beginning for that slip, making it easy to print. The purpose of this invention is to provide a printer for slips that can reliably guarantee power outage with simple operations.

[課題を解決するための手段] 本発明は、伝票用紙に対して印字データを順次印字する
伝票用プリンタにおいて、少なくとも1伝票分の印字デ
ータを1伝票の印字が終了するまで最初に停電保障のた
めの伝票始めコードを付加して格納するバッファメモリ
と、停電復帰時バッファメモリに伝票始めコードを付加
した印字データが格納され、かつその印字データの印字
途中で停電があったことを検出すると伝票用紙の再セッ
トを指示する報知手段と、伝票用紙の再セットによりバ
ッファメモリの印字データを最初から伝票用紙に順次印
字する再印字手段を設けたものである。
[Means for Solving the Problems] The present invention provides a form printer that sequentially prints print data on form paper, in which the print data for at least one form is first printed under power outage protection until the printing of one form is completed. The print data with the start of the form code added to it is stored in the buffer memory when the power is restored, and the print data with the start of form code added to it is stored in the buffer memory when the power is restored. The apparatus is provided with a notification means for instructing to reset the paper, and a reprinting means for sequentially printing the print data in the buffer memory on the slip paper from the beginning by resetting the slip paper.

[作 用] このような構成の本発明においては、伝票印字の途中で
停電が発生しその後停電が復帰すると、バッファメモリ
に伝票始めコードを付加した印字データが格納されてい
ることを検出してオペレータに伝票用紙を再セットする
ことを報知手段により指示する。これにより伝票用紙を
再セットするとバッファメモリの印字データを最初から
順次印字する。
[Function] In the present invention having such a configuration, when a power outage occurs in the middle of printing a slip and then the power is restored, it is detected that print data with a slip start code added is stored in the buffer memory. The notification means instructs the operator to reset the slip paper. As a result, when the slip paper is reset, the print data in the buffer memory is printed sequentially from the beginning.

[実施例] 以下、本発明の一実施例を図面を参照して説明する。[Example] Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は伝票用プリンタのブロック図で、1は制御部本
体を構成するCPU (中央処理装置)、2はこのCP
UIが各部を制御するオペレーティングシステムプログ
ラムが格納されたROM (リード・オンリm−メモリ
)、3はアプリケーションプログラムを格納するメモリ
やデータ処理のための各種メモリが形成されたRAM 
(ランダム・アクセス・メモリ)、4は例えばホストコ
ンピュータと印字データ等の送受信制御を行う外部イン
ターフェースである。
Figure 1 is a block diagram of a slip printer, in which 1 is a CPU (central processing unit) that constitutes the main body of the control unit, and 2 is a block diagram of this CPU.
ROM (read-only m-memory) stores the operating system program that controls each part of the UI, 3 is RAM that stores the application program and various memories for data processing.
(Random Access Memory) and 4 are external interfaces that control transmission and reception of print data and the like with the host computer, for example.

5はセットされる伝票用紙に対して印字データを印字す
るプリンタ6を制御するプリンタコントローラ、7は報
知手段を構成するデイスプレィ8を制御してデータ表示
やメツセージ表示等の制御を行うデイスプレィコントロ
ーラ、9はクリアキーを始め各種キーを設けたキーボー
ド10を制御してキー信号の取り込みを行うキーボード
コントローラである。
5 is a printer controller that controls a printer 6 that prints print data on the set slip paper; 7 is a display controller that controls a display 8 constituting a notification means to display data, messages, etc.; A keyboard controller 9 controls a keyboard 10 provided with various keys including a clear key and captures key signals.

前記RAM3にはバッファメモリとして第2図に示す印
字データ中間バッファメモリ31が設けられている。
The RAM 3 is provided with a print data intermediate buffer memory 31 shown in FIG. 2 as a buffer memory.

また前記RAM3には前記CPUIに第3図に示す処理
を行なわせるアプリケーションプログラムが格納されて
いる。
Further, the RAM 3 stores an application program that causes the CPU to perform the processing shown in FIG.

前記ROM2には前記CPUIに第4図に示す処理を行
なわせるオペレーティングシステムプログラムが格納さ
れている。
The ROM 2 stores an operating system program that causes the CPU to perform the processing shown in FIG.

すなわち前記CPUIは伝票印字を行う場合、アプリケ
ーションプログラムにより第3図に示すように停電処理
を行う伝票か否かをチエツクし、停電処理を行う伝票で
あれば最初に伝票始めコードを出力させ、続いて伝票に
印字すべき印字データを順次出力させ、最後に伝票終り
コードを出力させるようになっている。また停電処理を
行う必要のない伝票であれば伝票に印字すべき印字デー
タのみを順次出力させるようになっている。
In other words, when printing a slip, the CPU uses an application program to check whether or not the slip is to be processed for a power outage, as shown in Figure 3, and if the slip is for a power outage processing, it first outputs a slip start code, and then prints the slip. The print data to be printed on the slip is sequentially outputted, and finally the slip end code is outputted. Further, if the slip does not require power outage processing, only the print data to be printed on the slip is sequentially output.

また前記CPUIはオペレーティングシステムプログラ
ムにより1伝票の印字が終了するまでアプリケーション
プログラムにより出力された伝票始めコード、各印字デ
ータ、伝票終りコードを前記中間バッファメモリ31に
セーブするようになっている。
Further, the CPU is configured to save the slip start code, each print data, and the slip end code outputted by the application program in the intermediate buffer memory 31 until printing of one slip is completed by the operating system program.

また前記CPUIは停電復帰時にはオペレーティングシ
ステムプログラムにより第4図に示す印字処理を行うよ
うになっている。これは先ず停電継続の立上りか否かを
チエツクし、停電継続の立上りで無ければ印字データ中
間バッファメモリ31をクリアしてこの処理を終了する
。また停電継続の立上りであれば続いて印字途中のデー
タがあるか否かをチエツクする。
Further, the CPUI is configured to perform the printing process shown in FIG. 4 by the operating system program when the power is restored. First, it is checked whether it is the rising edge of a continuing power outage or not, and if it is not the rising edge of a continuing power outage, the print data intermediate buffer memory 31 is cleared and the process is terminated. If the power continues to rise, it is then checked to see if there is any data that is currently being printed.

そして印字途中のデータが無ければ印字データ中間バッ
ファメモリ31をクリアしてこの処理を終了する。また
印字途中のデータがあれば続いて停電保障伝票か否かを
チエツクする。
If there is no data that is being printed, the print data intermediate buffer memory 31 is cleared and the process is terminated. Furthermore, if there is data that is being printed, it is then checked whether it is a power outage guarantee slip or not.

そして停電保障伝票で無ければ印字データ中間バッファ
メモリ31をクリアしてこの処理を終了する。また停電
保障伝票であればデイスプレィコントローラ7を制御し
てデイスプレィ8に例えば「プリンタが停電を検知しま
した。伝票用紙の先頭を合わせてクリアキーを押して下
さい。」のメツセージを表示させるようになっている。
If it is not a power outage guarantee slip, the print data intermediate buffer memory 31 is cleared and this process is ended. In addition, in the case of a power outage guarantee slip, the display controller 7 is controlled to display a message on the display 8 such as "The printer has detected a power outage. Align the beginning of the slip paper and press the clear key." ing.

この状態で伝票用紙がセットされクリアキーのキー人力
があると、プリンタ6を駆動して伝票再印字、すなわち
中間バッファメモリ31にセーブされている印字データ
を最初から順次印字させるようになっている。(再印字
手段) このような構成の本実施例においては、停電処理が必要
な伝票の場合にはアプリケーションによって印字データ
の最初に伝票始めコードが付加されるとともに最後に伝
票路りコードが付加される。
In this state, when the slip paper is set and the clear key is pressed manually, the printer 6 is driven to reprint the slip, that is, print the print data saved in the intermediate buffer memory 31 sequentially from the beginning. . (Re-Printing Means) In this embodiment with such a configuration, in the case of a slip that requires power outage processing, the application adds a slip start code to the beginning of the print data and a slip route code to the end. Ru.

そしてこのコード及びデータはオペレーティングシステ
ムにより中間バッファメモリ31にセーブされる。
This code and data are then saved in intermediate buffer memory 31 by the operating system.

そして停電処理が必要な伝票の印字途中で停電が発生す
ると、その停電の復帰時にオペレーティングシステムに
よりデイスプレィ8に「プリンタが停電を検知しました
。伝票用紙の先頭を合わせてクリアキーを押して下さい
。」のメツセージが表示される。
If a power outage occurs in the middle of printing a slip that requires power outage processing, the operating system will display on display 8, "The printer has detected a power outage. Align the beginning of the slip paper and press the clear key." when the power outage returns. message is displayed.

これによりオペレータは停電処理が必要な伝票の印字途
中で停電が発生したことを知り、伝票用紙の先頭を合わ
せて再セットする。そしてキーボード10のクリアキー
を操作する。
As a result, the operator knows that a power outage has occurred while printing a slip that requires power outage processing, and resets the slip paper by aligning the beginning of the slip. Then, operate the clear key on the keyboard 10.

こうして印字途中で停電が発生して伝票の印字データが
伝票用紙に対して最初から順次印字されるようになる。
In this way, if a power outage occurs during printing, the print data of the slip will be printed sequentially from the beginning on the slip paper.

このように停電復帰時に伝票用紙を再セットしてクリア
キーを操作するのみの簡単な作業によって停電にあった
伝票の印字データを最初から印字できる。しかも停電の
復帰時に直ちにデイスプレィ8でオペレータに知らせて
再印字を行わせているので、忘れるようなことがなく確
実にできる。
In this way, when the power is restored, the print data of the slip that was lost during the power outage can be printed from the beginning by simply resetting the slip paper and operating the clear key. Furthermore, when the power is restored, the operator is immediately notified on the display 8 and has the operator re-print, so that no one forgets to print and can do it reliably.

なお、前記実施例では印字データ中間バッファメモリ3
1に停電処理を行う伝票の印字データを格納する場合、
最初の印字データの前に伝票始めコードを付加しかつ最
後の印字データの後に伝票路わりコードを付加したもの
について述べたが必ずしもこれに限定されるものではな
く、例えば伝票印字が複数伝票にわたる場合には第5図
に示すように各伝票の最初の印字データの前にそれぞれ
伝票始めコードを付加し、かつ伝票路りコードは最後の
伝票の最後の印字データの後のみに付加させていもよい
。この場合は伝票始めコードと次の伝票始めコードとの
間の印字データ及び伝票始めコードと伝票路りコードと
の間の印字データをそれぞれ1伝票単位と判断して停電
保障すればよい。
In the above embodiment, the print data intermediate buffer memory 3
If you want to store the print data of the slip for power outage processing in 1,
Although we have described a case in which a slip start code is added before the first print data and a slip route code is added after the last print data, the invention is not limited to this. For example, when the slip printing spans multiple slips. As shown in Figure 5, a slip start code may be added before the first printed data of each slip, and a slip route code may be added only after the last printed data of the last slip. . In this case, the print data between the slip start code and the next slip start code and the print data between the slip start code and the slip route code may be determined to be one slip unit and the power outage can be guaranteed.

[発明の効果コ 以上詳述したように本発明によれば、伝票印字の途中で
停電が発生した場合、停電復帰時にオペレータに対して
伝票の再セットを指示し、伝票を再セットするとその伝
票に対して再度最初から印字を開始し、簡単な作業で確
実な停電保障ができる伝票用プリンタを提供できるもの
である。
[Effects of the Invention] As detailed above, according to the present invention, if a power outage occurs during printing of a slip, the operator is instructed to reset the slip when the power is restored, and when the slip is reset, the slip is It is possible to provide a printer for slips that can start printing from the beginning again and can reliably guarantee power outage with a simple operation.

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

第1図乃至第4図は本発明の一実施例を示すもので、第
1図はブロック図、第2図は停電処理の必要な伝票の印
字データの中間バッファメモリに対する格納状態を示す
図、第3図はアプリケーションプログラムによるCPU
の印字データ出力処理を示す流れ図、第4図はオペレー
ティングシステムプログラムによるCPUの停電復帰時
印字処0 理を示す流れ図、第5図は停電処理の必要な伝票の印字
データの中間バッファメモリに対する他の格納状態例を
示す図である。 1・・・CPU (中央処理装置)、 2・・・ROM (リード・オンリー・メモリ)、3・
・・RAM (ランダム・アクセス・メモリ)、31・
・・印字データ中間バッファメモリ、6・・・プリンタ
、 8・・・デイスプレィ(報知手段)。
1 to 4 show an embodiment of the present invention, in which FIG. 1 is a block diagram, and FIG. 2 is a diagram showing how print data of a slip requiring power outage processing is stored in an intermediate buffer memory. Figure 3 shows the CPU using the application program.
Figure 4 is a flowchart showing the print data output process by the operating system program when the CPU recovers from a power outage. It is a figure which shows the example of a storage state. 1...CPU (Central Processing Unit), 2...ROM (Read Only Memory), 3...
・・RAM (Random Access Memory), 31・
... Print data intermediate buffer memory, 6... Printer, 8... Display (notification means).

Claims (1)

【特許請求の範囲】[Claims] 伝票用紙に対して印字データを順次印字する伝票用プリ
ンタにおいて、少なくとも1伝票分の印字データを1伝
票の印字が終了するまで最初に停電保障のための伝票始
めコードを付加して格納するバッファメモリと、停電復
帰時前記バッファメモリに伝票始めコードを付加した印
字データが格納され、かつその印字データの印字途中で
停電があったことを検出すると伝票用紙の再セットを指
示する報知手段と、伝票用紙の再セットにより前記バッ
ファメモリの印字データを最初から前記伝票用紙に順次
印字する再印字手段を設けたことを特徴とする伝票用プ
リンタ。
In a slip printer that sequentially prints print data on slip paper, a buffer memory that stores the print data for at least one slip with a slip start code added to ensure power outage until printing of one slip is completed. and a notification means for storing the print data with a slip start code added in the buffer memory when the power is restored, and instructing to reset the slip paper when it is detected that there is a power outage in the middle of printing the print data; A slip printer characterized in that a reprinting means is provided for sequentially printing the print data in the buffer memory on the slip paper from the beginning by resetting the paper.
JP2090289A 1990-04-06 1990-04-06 Slip printer Expired - Lifetime JP2645165B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2090289A JP2645165B2 (en) 1990-04-06 1990-04-06 Slip printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2090289A JP2645165B2 (en) 1990-04-06 1990-04-06 Slip printer

Publications (2)

Publication Number Publication Date
JPH03290280A true JPH03290280A (en) 1991-12-19
JP2645165B2 JP2645165B2 (en) 1997-08-25

Family

ID=13994373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2090289A Expired - Lifetime JP2645165B2 (en) 1990-04-06 1990-04-06 Slip printer

Country Status (1)

Country Link
JP (1) JP2645165B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56124977A (en) * 1980-03-07 1981-09-30 Sanyo Electric Co Ltd Printing control system
JPS58169692A (en) * 1982-03-31 1983-10-06 株式会社東芝 Data processor
JPS6079987A (en) * 1983-10-11 1985-05-07 Tokyo Electric Co Ltd Receipt printer
JPS60124276A (en) * 1983-12-09 1985-07-03 Tokyo Electric Co Ltd Receipt printer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56124977A (en) * 1980-03-07 1981-09-30 Sanyo Electric Co Ltd Printing control system
JPS58169692A (en) * 1982-03-31 1983-10-06 株式会社東芝 Data processor
JPS6079987A (en) * 1983-10-11 1985-05-07 Tokyo Electric Co Ltd Receipt printer
JPS60124276A (en) * 1983-12-09 1985-07-03 Tokyo Electric Co Ltd Receipt printer

Also Published As

Publication number Publication date
JP2645165B2 (en) 1997-08-25

Similar Documents

Publication Publication Date Title
JPH07323643A (en) Error control device of printer
CN101004665A (en) Image forming apparatus and method for control thereof
EP0841178B1 (en) Character information processor
JP2965603B2 (en) Printing system
JPH03290280A (en) Printer for cutform
JPH1178168A (en) Image forming apparatus
JPS6159920B2 (en)
JPH07182565A (en) Method for controlling print of receipt in pos terminal
JPS6246012B2 (en)
JP3367980B2 (en) Print processing apparatus and print processing method
JPH0239973A (en) Printing control system
JPH11138918A (en) Image forming system
KR930002452B1 (en) Method of effectively performing a feed operation and printing apparatus for realizing the method
JPS637964A (en) Printer control apparatus of cash register
JPH04325266A (en) Printer
JPH0577525A (en) Printer having cancel function
JP2522600B2 (en) Printer
JPH0475136B2 (en)
JPH04323071A (en) Label printer
JP2811984B2 (en) Vector overlay restart method
JP2949087B2 (en) Page printer
JPH06274288A (en) Printer
JPH03247480A (en) Printer
JPH01308658A (en) Printer
JPH10207663A (en) Printer

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080502

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090502

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090502

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100502

Year of fee payment: 13

EXPY Cancellation because of completion of term