JPH04250595A - Electronic cash register - Google Patents

Electronic cash register

Info

Publication number
JPH04250595A
JPH04250595A JP2387391A JP2387391A JPH04250595A JP H04250595 A JPH04250595 A JP H04250595A JP 2387391 A JP2387391 A JP 2387391A JP 2387391 A JP2387391 A JP 2387391A JP H04250595 A JPH04250595 A JP H04250595A
Authority
JP
Japan
Prior art keywords
recording paper
paper
date
roll
receipt
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
JP2387391A
Other languages
Japanese (ja)
Other versions
JP2660941B2 (en
Inventor
Hideo Seki
秀雄 関
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 JP3023873A priority Critical patent/JP2660941B2/en
Publication of JPH04250595A publication Critical patent/JPH04250595A/en
Application granted granted Critical
Publication of JP2660941B2 publication Critical patent/JP2660941B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To issue a clear receipt form without the operation of an operator after the exchange of the form and to enable efficient form exchange. CONSTITUTION:When the exhaustion of rolled recording paper is discriminated according to an output from a sensor provided at a printing part, a rolled recording paper exhaustion data is held in a recording paper state storage part 26. When the existence of the rolled recording paper sheets is discriminated according to the output from the sensor, it is discriminated from the contents of the recording paper state storage part 26 whether the rolled recording paper are exchanged or not, and when the exchange of the rolled recording paper sheets is discriminated, a rolled recording paper existence data is stored in the recording paper state storage part 26. Then, the rolled recording paper is cut by driving a cutter mechanism. Thus, the useless recording paper sheets can be abandonned.

Description

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

【0001】0001

【産業上の利用分野】本発明は、登録した商品データを
記録紙に印字する電子式キャッシュレジスタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic cash register that prints registered product data on recording paper.

【0002】0002

【従来の技術】従来の電子式キャッシュレジスタは商品
データの登録結果をR/J(レシート・ジャーナル)プ
リンタでロール状記録紙(以下レシート用紙)に印字し
てレシートとして発行している。R/Jプリンタには印
字ヘッドを含む印字機構とともに、登録結果の印字終了
後レシートを切断するようカッター機構が設けられてい
るのが一般的である。しかしながらこのような従来の電
子式キャッシュレジスタの場合は、レシート用紙がなく
なった時にレシート用紙を再セットし、即登録業務を実
行すると、レシート用紙をセットする際に余分に引き出
したレシート用紙がそのままの状態でレシートとして発
行されることになり、レシートの見栄えが悪く客に不快
感を与える問題があった。そのためレシート用紙の余分
な部分を切断しようとするときは、特定のキーを操作し
て一回レシート用紙を発行してカッター機構を動作させ
る必要があった。
2. Description of the Related Art Conventional electronic cash registers print product data registration results on rolled recording paper (hereinafter referred to as receipt paper) using an R/J (receipt journal) printer and issue the result as a receipt. An R/J printer is generally provided with a print mechanism including a print head and a cutter mechanism for cutting the receipt after printing the registration results. However, in the case of such conventional electronic cash registers, when the receipt paper runs out, if you reset the receipt paper and perform the immediate registration operation, the extra receipt paper that was pulled out when setting the receipt paper will remain as it is. The problem was that the receipts were issued as receipts, which made the receipts look bad and made customers feel uncomfortable. Therefore, when attempting to cut the excess portion of the receipt paper, it was necessary to operate a specific key to issue the receipt paper once and operate the cutter mechanism.

【0003】0003

【発明が解決しようとする課題】上述したように従来の
電子式キャッシュレジスタではレシート用紙をセットし
た後の最初の登録で発行するレシートは見栄えが悪く、
また余分な部分を切り取り見栄えを良くしようとすると
何らかの操作をオペレータがしなければならず操作が煩
わしいものであった。本発明はこのような従来技術の課
題に鑑み、レシート用紙を交換したあとオペレータの操
作無くして見栄えのよいレシートを発行でき、効率のよ
いレシート用紙交換作業のできる電子式キャッシュレジ
スタを提供することを目的とする。
[Problems to be Solved by the Invention] As mentioned above, in the conventional electronic cash register, the receipt issued at the first registration after setting the receipt paper looks bad.
In addition, when cutting off the excess portion to improve the appearance, the operator must perform some operations, which is cumbersome. In view of the problems of the prior art, the present invention aims to provide an electronic cash register that can issue a good-looking receipt without operator intervention after replacing the receipt paper, and that can efficiently replace the receipt paper. purpose.

【0004】0004

【課題を解決するための手段】本発明では、入力部で入
力した商品データをデータ処理部で登録処理するととも
に、ロール状記録紙を保持するロール紙保持部から引き
出した記録紙に登録結果を印字する印字機構および所定
の位置で前記記録紙を切断するカッター機構を有する印
字部を備えた電子式キャッシュレジスタにおいて、前記
ロール状記録紙の有無を記憶する記録紙状態記憶部と、
前記印字部に設けたロール状記録紙の有無を検出するセ
ンサーと、ロール状記録紙の有無を判別する第1の判別
手段と、この第1の判別手段でロール状記録紙が無いと
判別された場合にロール状記録紙無データを前記記録紙
状態記憶部に記憶させる状態記憶制御手段と、前記第1
の判別手段でロール状記録紙が有ると判別された場合に
前記記録紙状態記憶部の内容がロール状記録紙無である
ことに基づいてロール状記録紙が交換されたことを判別
する第2の判別手段と、この第2の判別手段の結果に基
づいてロール状記録紙有データを前記記録紙状態記憶部
に記憶するとともに前記カッター機構を駆動させる初期
処理手段とを備えた。
[Means for Solving the Problems] In the present invention, the product data inputted in the input section is registered in the data processing section, and the registration result is recorded on the recording paper pulled out from the roll paper holding section that holds the rolled recording paper. In an electronic cash register including a printing section having a printing mechanism for printing and a cutter mechanism for cutting the recording paper at a predetermined position, a recording paper state storage section for storing presence or absence of the rolled recording paper;
a sensor provided in the printing section for detecting the presence or absence of a roll of recording paper; a first determination means for determining the presence or absence of a roll of recording paper; and a first determination means that determines that there is no roll of recording paper. state storage control means for storing roll-shaped recording paper no data in the recording paper state storage unit when the roll-shaped recording paper is absent;
a second step for determining that the roll of recording paper has been replaced based on the content of the recording paper state storage unit indicating that there is no roll of recording paper when the determination means determines that there is a roll of recording paper; and initial processing means for storing rolled recording paper presence data in the recording paper state storage section and driving the cutter mechanism based on the result of the second determining means.

【0005】[0005]

【作用】センサーからの出力によりロール状記録紙が無
いと判別された場合は記録紙無データを記録紙状態記憶
部に記憶する。またセンサーからの出力によりロール状
記録紙が有ると判別された場合に前記記録紙状態記憶部
の内容が記録紙無であることにより記録紙交換がされた
と判別し、記録紙有データを前記記録状態記憶部に記憶
するとともに前記カッター機構を駆動させて前記記録紙
を切断する。これにより無駄な記録紙は廃棄することが
できる。
[Operation] When it is determined from the output from the sensor that there is no roll of recording paper, no recording paper data is stored in the recording paper status storage section. Further, when it is determined that there is a roll of recording paper based on the output from the sensor, it is determined that the recording paper has been replaced since the content of the recording paper status storage section is that there is no recording paper, and the recording paper presence data is stored in the recording paper. The state is stored in the state storage section and the cutter mechanism is driven to cut the recording paper. This allows wasteful recording paper to be discarded.

【0006】[0006]

【実施例】以下本発明の実施例を図面を参照して説明す
る。図1はこの実施例の電子式キャッシュレジスタのハ
ードウェア構成図である。データ処理部であるCPU1
は入力部であるキーボード5から入力された各種データ
に対して演算処理を実行する本装置の中枢であり、この
CPU1にはアドレスバス、データバス、制御線からな
るバスライン2を介して固定データを記憶するROM3
、可変データを記憶するRAM4をはじめとして、キー
ボード5を制御するキーボードコントローラ6、日時を
計時する時計回路7、表示器8を制御する表示コントロ
─ラ9、ドロワ開放装置11への信号出力用、また各種
状態により点滅する複数個のLED表示器10への信号
出力用のI/Oポート12、印字部であるR/Jプリン
タ13を制御するプリンタコントロ─ラ20がつながれ
ている。またR/Jプリンタ13はジャーナル用紙の送
り動作を行うジャーナルフィード機構14とレシート用
紙の送り動作を行うレシートフィード機構15と、レシ
ート用紙及びジャーナル用紙の有無を検出するセンサー
と16、印字ヘッドを駆動する印字機構である印字ヘッ
ド駆動機構17と、カッターを駆動するカッター機構で
あるカッター駆動機構18と、スタンプを駆動するスタ
ンプ駆動機構19等で構成されている。そしてセンサー
16はレシート用紙を載置する載置部のレシート用紙の
受け面に設けられていて、用紙の重みでスイッチがオン
、オフする機構となっている。この機構により用紙が所
定の量より少なくなるとセンサー16のスイッチがオフ
され、用紙の交換を必要とすることから用紙が無いこと
としてこれを示すものである。このセンサーはレシート
用紙側とジャーナル用紙側とそれぞれ一つずつ設けられ
ている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples of the present invention will be described below with reference to the drawings. FIG. 1 is a hardware configuration diagram of the electronic cash register of this embodiment. CPU1 which is a data processing unit
is the central part of this device that executes arithmetic processing on various data input from the keyboard 5, which is an input section.Fixed data is sent to the CPU 1 via a bus line 2 consisting of an address bus, a data bus, and a control line. ROM3 that stores
, a RAM 4 that stores variable data, a keyboard controller 6 that controls the keyboard 5, a clock circuit 7 that measures date and time, a display controller 9 that controls the display 8, and a signal output to the drawer opening device 11. Also connected are an I/O port 12 for outputting signals to a plurality of LED indicators 10 that blink depending on various conditions, and a printer controller 20 that controls an R/J printer 13 that is a printing section. The R/J printer 13 also drives a journal feed mechanism 14 that feeds journal paper, a receipt feed mechanism 15 that feeds receipt paper, a sensor 16 that detects the presence or absence of receipt paper and journal paper, and a print head. The printhead drive mechanism 17 is a printing mechanism that drives a cutter, a cutter drive mechanism 18 that is a cutter mechanism that drives a cutter, a stamp drive mechanism 19 that drives a stamp, and the like. The sensor 16 is provided on the receiving surface of the receipt paper of the receiving section on which the receipt paper is placed, and has a mechanism that turns on and off depending on the weight of the paper. This mechanism switches off the sensor 16 when the amount of paper is less than a predetermined amount, indicating that there is no paper since the paper needs to be replaced. One sensor is provided on the receipt paper side and one on the journal paper side.

【0007】図2は前記RAM4の、この実施例で使用
する主要なメモリの構成図である。RAM4は売上金額
を累計記憶する累計メモリや商品コードごとの単価を記
憶した商品テーブルのほかに、印字するデータを記憶す
る印字バッファ21、現在印字しているメッセージに対
応するメッセージ番号を記憶するメッセージ番号メモリ
22、現在の日付を記憶する日付メモリ23、所定のデ
ータを一時記憶するワークメモリ24、各種のメッセー
ジを設定記憶するメッセージメモリ25、レシート用紙
の状態を示す記録紙状態記憶部であるレシート用紙フラ
グメモリ26、登録中であることを示す登録中フラグメ
モリ27等で構成されている。これらのメモリはすべて
バッテリーでバックアップされているもので電源を切っ
てもデータが保持されているものである。またメッセー
ジメモリはメッセージ番号を記憶するメッセージ番号エ
リア251、メッセージの印字を開始する日付を記憶し
た更新日付エリア252、メッセージを記憶するメッセ
ージエリア253で構成されている。
FIG. 2 is a block diagram of the main memory used in this embodiment of the RAM 4. In addition to the cumulative memory that stores the sales amount and the product table that stores the unit price for each product code, the RAM 4 has a print buffer 21 that stores the data to be printed, and a message that stores the message number corresponding to the message that is currently being printed. A number memory 22, a date memory 23 that stores the current date, a work memory 24 that temporarily stores predetermined data, a message memory 25 that stores various messages, and a receipt that is a recording paper state storage unit that shows the state of the receipt paper. It is composed of a paper flag memory 26, a registration flag memory 27 indicating that registration is in progress, and the like. All of these memories are backed up by batteries and retain their data even when the power is turned off. Further, the message memory is composed of a message number area 251 for storing message numbers, an update date area 252 for storing the date on which message printing is to start, and a message area 253 for storing messages.

【0008】図3〜図7はこの実施例における電子式キ
ャッシュレジスタの処理を示すフローチャートである。 図3は電子式キャッシュレジスタの登録業務を示すフロ
ーチャートである。ステップ100でキーボードから入
力された商品データに基づいて売上個数などを累計記憶
するなどの登録処理をし、小計キーが入力されることに
よりステップ101で登録した合計金額を印字、表示す
るなどの小計処理を実行し、締めキーが入力されること
によりステップ102で釣り銭を印字、表示するなどの
小計処理を実行する。登録業務中はこの処理を繰り返す
ものである。
FIGS. 3 to 7 are flowcharts showing the processing of the electronic cash register in this embodiment. FIG. 3 is a flowchart showing the electronic cash register registration process. In step 100, registration processing is performed such as cumulatively storing the number of sales etc. based on the product data input from the keyboard, and when the subtotal key is input, the total amount registered in step 101 is printed and displayed. When the process is executed and the closing key is input, subtotal processing such as printing and displaying change is executed in step 102. This process is repeated during registration work.

【0009】図4はステップ102の締め処理を詳細に
示したフローチャートである。ステップ103で登録し
た合計金額と、客から預かった預かり金額とから釣り銭
を算出し、R/Jプリンタ13で印字したり、表示器8
で表示する。ステップ104で一客合計金額を記憶する
メモリ(図示せず)や登録中フラグメモリ27をクリア
する。なお登録中フラグメモリ27は一客ごとにセット
、リセットされるものであり、一人の客に対する一番最
初の商品データを入力した際にセットされるものである
。ステップ105で時計回路7から現在の時間を読みだ
しワークメモリ24に記憶する。ステップ106で日付
メモリ23に記憶されている日付と、ワークメモリ24
の日付を比較し一致か否かを判別する。一致であればス
テップ111に進み、印字処理を実行する。一致してい
ない場合は印字データを修正すべく、ステップ107で
日付メモリ23にワークメモリ24の日付を記憶し、ス
テップ108で記憶した日付に対応するメッセージ番号
がどれであるかをメッセージメモリ25の更新日付エリ
ア252を参照して検索し、メッセージ番号エリア25
1から読み出し、ワークメモリ24に記憶する。ステッ
プ109でメッセージ番号メモリ22に記憶しているメ
ッセージ番号と、読み出したメッセージ番号が一致して
いるか否かを判別し、一致していればそのまま印字処理
に進み、一致していなければ、メッセージを変更する必
要があるのでステップ110でメッセージ番号メモリ2
2にワークメモリ24のメッセージ番号を記憶する。 ステップ111でスタンプ、日付の印字、メッセージの
印字等の印字処理を実行する。
FIG. 4 is a flowchart showing details of the closing process in step 102. The change is calculated from the total amount registered in step 103 and the amount deposited from the customer, and printed on the R/J printer 13 or displayed on the display 8.
Display in . In step 104, the memory (not shown) for storing the total amount per customer and the registration flag memory 27 are cleared. The registration flag memory 27 is set and reset for each customer, and is set when the first product data for one customer is input. In step 105, the current time is read from the clock circuit 7 and stored in the work memory 24. The date stored in the date memory 23 and the work memory 24 in step 106
Compare the dates and determine whether they match. If they match, the process advances to step 111 and print processing is executed. If they do not match, in order to correct the print data, the date in the work memory 24 is stored in the date memory 23 in step 107, and the message number corresponding to the stored date is stored in the message memory 25 in step 108. Search by referring to the update date area 252, and select the message number area 25.
1 and stored in the work memory 24. In step 109, it is determined whether or not the message number stored in the message number memory 22 and the read message number match. If they match, the process proceeds to printing; if they do not match, the message is printed. Since it is necessary to change the message number memory 2 in step 110,
2 stores the message number in the work memory 24. In step 111, printing processes such as printing a stamp, date, and message are executed.

【0010】図5はステップ111の印字処理を詳細に
示したフローチャートである。ステップ112で登録中
フラグメモリ27をチェックして、印字処理が実行可能
か否かを判別する。これは登録途中にこの印字処理を禁
止するためのものである。すなわちレシート用紙のチェ
ックや日付が更新したかのチェックは一定間隔で実行さ
れているため、登録中であっても印字処理に来てしまう
可能性がある。しかし登録中に先印字が実行されるのは
良くないため登録中の先印字は禁止するものである。登
録中フラグメモリ27に1がセットされていたなら登録
中であるため印字処理はせずそのまま終了する。登録中
フラグメモリ27が0にクリアされていたなら登録中で
ないのでステップ113で所定行数レシート用紙をフィ
ードさせるフィードコマンドを印字バッファ21にセッ
トする。ステップ114でスタンプコマンドを印字バッ
ファ21にセットし、ステップ115で日付メモリ23
に記憶している日付を印字データに編集して印字バッフ
ァ21にセットする。ステップ116でメッセージ番号
メモリ22に記憶しているメッセージ番号に対応するメ
ッセージをメッセージメモリ25のメッセージエリア2
53から読みだして印字データに編集して印字バッファ
21にセットし、ステップ117で切断コマンドを印字
バッファ21にセットする。順次セットが終了したらス
テップ140でR/Jプリンタ13に出力する。R/J
プリンタ13はコマンドに従いレシートフィード機構1
5を駆動して所定行数レシート用紙をフィードした後、
スタンプ機構19を駆動してスタンプを押す。印字ヘッ
ド駆動機構17で日付およびメッセージを印字し、カッ
ター駆動機構19を駆動させてレシート用紙を切断する
ことになる。
FIG. 5 is a flowchart showing details of the printing process in step 111. In step 112, the registration flag memory 27 is checked to determine whether printing processing is executable. This is to prohibit this printing process during registration. In other words, since checks on the receipt paper and whether the date has been updated are performed at regular intervals, there is a possibility that the printing process will be performed even during registration. However, since it is not good to perform pre-printing during registration, pre-printing during registration is prohibited. If 1 is set in the registration flag memory 27, the process ends without printing because it is being registered. If the registration flag memory 27 is cleared to 0, it means that the registration is not in progress, and in step 113 a feed command for feeding the receipt paper a predetermined number of lines is set in the print buffer 21. The stamp command is set in the print buffer 21 in step 114, and the date memory 23 is set in step 115.
The date stored in is edited into print data and set in the print buffer 21. In step 116, the message corresponding to the message number stored in the message number memory 22 is transferred to the message area 2 of the message memory 25.
53, edit it into print data, and set it in the print buffer 21. In step 117, a cutting command is set in the print buffer 21. When the sequential setting is completed, the data is outputted to the R/J printer 13 in step 140. R/J
The printer 13 receives the receipt feed mechanism 1 according to the command.
5 to feed a predetermined number of lines of receipt paper,
The stamp mechanism 19 is driven to stamp. The print head drive mechanism 17 prints the date and a message, and the cutter drive mechanism 19 is driven to cut the receipt paper.

【0011】図6はレシート用紙の有無をチェックする
とともに、日付が変わったか否かをチェックする用紙チ
ェックのフローチャートであり一定時間ごとに実行する
。なお本実施例の電子式キャッシュレジスタはレシート
用紙が無くなったことをLED表示器10により警告表
示しているが、レシート用紙が全く無くなってからレシ
ート用紙が無いことを検出していては、大勢の客が会計
場所に並んでいる場合などのように、オペレータがレシ
ート用紙の交換作業を行う余裕が無いことがあり、運用
上好ましくない。そのため、レシート用紙に限らず用紙
が無いことを検知するのは、用紙が全く無い状態より少
し余裕をもって検知するのが普通である。よって、オペ
レータはレシート用紙無しの警告表示がなされても、2
人か3人程度は登録業務を実行することができ、その間
の余裕のあるときにレシート用紙を交換することとなる
。この処理の中でレシート用紙が無いにもかかわらず日
付のチェックを実行するのは余裕分のレシート用紙に印
字して発行するためである。またこの用紙チェックの処
理を実行する間隔は設定により任意であるが例えば10
ms程度とする。
FIG. 6 is a flowchart of a paper check that checks whether a receipt paper is present and whether the date has changed, and is executed at regular intervals. Although the electronic cash register of this embodiment uses the LED display 10 to warn that the receipt paper is running out, it is difficult to detect the absence of the receipt paper until it has completely run out. This is undesirable from an operational point of view, as when customers are lined up at the checkout area, the operator may not have time to replace the receipt paper. Therefore, the absence of paper, not just receipt paper, is normally detected a little later than when there is no paper at all. Therefore, even if the operator receives a warning that there is no receipt paper,
Approximately one to three people can carry out the registration work, and the receipt paper can be exchanged when there is free time between them. The reason why the date is checked even though there is no receipt paper in this process is to print and issue on extra receipt paper. Also, the interval at which this paper check process is executed can be set arbitrarily, but for example, 10
It is assumed to be about ms.

【0012】ステップ118でセンサー16の出力を読
込み、レシート用紙側のセンサーからの信号がオフして
いるかオンしているかで、第1の判別手段であるステッ
プ119でレシート用紙の有無を判別する。レシート用
紙が無い場合、すなわちレシート用紙側のセンサー16
からの出力が0の場合は状態記憶制御手段であるステッ
プ130でレシート用紙フラグメモリ26に1をセット
して、ステップ131でLED表示器10のうちのレシ
ート用紙の無いことを示すのいずれか一つを点灯させる
。ステップ132で日付が更新されたか否かをチェック
し、この用紙チェックの処理を終了する。この日付チェ
ックはレシート用紙が無しの状態であってもまだレシー
ト用紙に余裕が有る場合があるため実行するものである
。ステップ132の日付チェックの説明は図7をもって
行い後述する。
In step 118, the output of the sensor 16 is read, and based on whether the signal from the sensor on the receipt paper side is off or on, the presence or absence of the receipt paper is determined in step 119, which is a first determining means. If there is no receipt paper, that is, the sensor 16 on the receipt paper side
If the output is 0, the state storage control means sets 1 in the receipt paper flag memory 26 in step 130, and in step 131 sets one of the LED indicators 10 indicating that there is no receipt paper. Light one. In step 132, it is checked whether the date has been updated, and this paper check process is ended. This date check is performed because even if there is no receipt paper, there may still be some receipt paper left. The date check in step 132 will be explained later with reference to FIG.

【0013】ステップ119でレシート用紙があると判
別した場合、すなわちレシート用紙側のセンサー16か
らの出力が1である場合は、第2の判別手段であるステ
ップ120でレシート用紙フラグメモリ26に1がセッ
トされているか否かを判別し、1が設定されていなけれ
ば、レシート用紙の状態に変化がないということでステ
ップ132の日付チェック処理を実行する。レシート用
紙フラグメモリ26に1がセットされていたならレシー
ト用紙が交換されたことを意味するので、ステップ12
1でレシート用紙フラグメモリ26を0クリアし、ステ
ップ122でLED表示器10のうちのレシート用紙の
無いことを示し点灯しているLED表示器10を消灯す
る。ステップ123で時計回路7から現在の日付を読み
だしワークメモリ24に記憶する。ステップ124で日
付メモリ23に記憶されている日付と、ワークメモリ2
4の日付を比較し一致か否かを判別する。一致であれば
ステップ129に進み、印字処理を実行する。一致して
いない場合は印字データを修正すべく、ステップ125
で日付メモリ23にワークメモリ24の日付を記憶し、
ステップ126で記憶した日付に対応するメッセージ番
号がどれであるかをメッセージメモリ25の更新日付エ
リア252を参照して検索し、メッセージ番号エリア2
51から読み出し、ワークメモリ24に記憶する。ステ
ップ127でメッセージ番号メモリ22に記憶している
メッセージ番号と、読み出したメッセージ番号が一致し
ているか否かを判別し、一致していればそのまま印字処
理に進み、一致していなければメッセージを変更する必
要があるのでステップ128でメッセージ番号メモリ2
2にワークメモリ24のメッセージ番号を記憶する。ス
テップ129でスタンプ、日付の印字、メッセージの印
字、レシート用紙のスタンプした位置より先端部分の切
断等を実行してこの用紙チェックの処理を終了する。こ
のレシート用紙の先端部分はレシート用紙を交換した場
合の最初の一枚については余分な部分であり、これが切
断し排除され、見栄えのよいレシートになる。ステップ
121、ステップ129が初期処理手段である。
If it is determined in step 119 that there is a receipt paper, that is, if the output from the sensor 16 on the receipt paper side is 1, 1 is stored in the receipt paper flag memory 26 in step 120, which is the second determination means. It is determined whether or not the receipt paper is set. If 1 is not set, it means that there is no change in the condition of the receipt paper, and the date check process of step 132 is executed. If 1 is set in the receipt paper flag memory 26, it means that the receipt paper has been replaced, so step 12
In step 1, the receipt paper flag memory 26 is cleared to 0, and in step 122, the LED display 10 that is lit to indicate that there is no receipt paper is turned off. In step 123, the current date is read from the clock circuit 7 and stored in the work memory 24. In step 124, the date stored in the date memory 23 and the work memory 2
Compare the dates of 4 and determine whether they match. If they match, the process advances to step 129 and print processing is executed. If they do not match, step 125 is performed to correct the print data.
The date of the work memory 24 is stored in the date memory 23, and
The message number corresponding to the date stored in step 126 is searched by referring to the update date area 252 of the message memory 25, and the message number area 2
51 and stored in the work memory 24. In step 127, it is determined whether the message number stored in the message number memory 22 and the read message number match or not. If they match, the process proceeds to printing, and if they do not match, the message is changed. In step 128, the message number memory 2 is
2 stores the message number in the work memory 24. In step 129, printing of a stamp, date, message, cutting of the leading edge of the receipt paper from the stamped position, etc. are executed, and the paper checking process is completed. The leading edge of the receipt paper is an extra part for the first sheet of receipt paper when the receipt paper is replaced, and this is cut and removed to create a good-looking receipt. Steps 121 and 129 are initial processing means.

【0014】図7はステップ132の日付チェックの処
理を詳細に示したフローチャートである。ステップ13
3で時計回路7から現在の日付を読みだしワークメモリ
24に記憶する。ステップ134で日付メモリ23に記
憶されている日付と、ワークメモリ24の日付を比較し
一致か否かを判別する。一致であればこの日付チェック
の処理を終了する。一致していない場合は印字データを
修正すべく、ステップ135で日付メモリ23にワーク
メモリ24の日付を記憶し、ステップ136で記憶した
日付に対応するメッセージ番号がどれであるかをメッセ
ージメモリ25の更新日付エリア252を参照して検索
し、メッセージ番号エリア251から読み出し、ワーク
メモリ24に記憶する。ステップ137でメッセージ番
号メモリ22に記憶しているメッセージ番号と、読み出
したメッセージ番号が一致しているか否かを判別し、一
致していればそのまま印字処理に進み、一致していなけ
れば、メッセージを変更する必要があるのでステップ1
38でメッセージ番号メモリ22にワークメモリ24の
メッセージ番号を記憶する。ステップ139でスタンプ
、日付の印字、メッセージの印字等の印字処理を実行し
てこの日付チェックの処理を終了する。なお印字処理は
図5で説明したものである。
FIG. 7 is a flowchart showing details of the date check process in step 132. Step 13
3, the current date is read from the clock circuit 7 and stored in the work memory 24. In step 134, the date stored in the date memory 23 and the date in the work memory 24 are compared to determine whether they match. If they match, this date check process ends. If they do not match, in order to correct the print data, the date in the work memory 24 is stored in the date memory 23 in step 135, and the message number corresponding to the stored date is stored in the message memory 25 in step 136. The message is searched by referring to the update date area 252, read from the message number area 251, and stored in the work memory 24. In step 137, it is determined whether the message number stored in the message number memory 22 and the read message number match. If they match, the process proceeds to printing; if they do not match, the message is printed. Step 1 as we need to change
At 38, the message number in the work memory 24 is stored in the message number memory 22. In step 139, printing processes such as printing a stamp, date, and message are executed, and the date check process is completed. Note that the printing process is the same as that described with reference to FIG.

【0015】つぎに本実施の動作を説明する。図8、9
図は本実施例の印字結果を示す印字例であり、図8(A
)が日付が変更してメッセージはそのままであるときの
例であり、図8(B)が日付およびメッセージの両方と
も変更したときの例であり、図9がレシート用紙を交換
した場合の例である。この印字例に従い動作を説明する
。いま1991年2月9日で有るとする。一客の登録処
理が終了すべく締めキーが入力されると、図4、図5の
フローチャートに従いレシート用紙を所定行フィードし
た後、店名等のスタンプを押印し、日付を印字し、メッ
セージを印字し切断を行い、登録した客のレシート用紙
を発行する。これは従来と同じである。その後日付が9
日から10日になったとすると、一定間隔で実行されて
いるレシート用紙の状態および日付が更新したかのチェ
ックの処理、すなわち図6、図7の処理により、新たな
レシート用紙が発行される。日付がかわったことにより
、日付メモリ23に新しい日付が記憶される。01月1
0日に対応するメッセージ番号は9日の時と同一である
ことからメッセージは変更せずに、所定行フィードした
後、店名等のスタンプを押印し、新たな日付を(イ)の
ように印字し、メッセージを印字し切断を(ア)の位置
で行い、古い日付が印字されたレシート用紙を廃棄すべ
く発行する。
Next, the operation of this embodiment will be explained. Figures 8 and 9
The figure shows a printing example showing the printing results of this embodiment, and FIG. 8 (A
) is an example when the date is changed but the message remains the same, Figure 8 (B) is an example when both the date and message are changed, and Figure 9 is an example when the receipt paper is replaced. be. The operation will be explained according to this printing example. Suppose it is now February 9, 1991. When the closing key is input to complete the registration process for one customer, the receipt paper is fed to a specified line according to the flowcharts in Figures 4 and 5, and a stamp with the store name, etc., is printed, the date is printed, and a message is printed. The machine then cuts the paper and issues a receipt paper for the registered customer. This is the same as before. Then the date is 9
When the 10th day arrives, a new receipt paper is issued by the process of checking whether the state of the receipt paper and the date have been updated, which is executed at regular intervals, that is, the process shown in FIGS. 6 and 7. As the date has changed, the new date is stored in the date memory 23. January 1
Since the message number corresponding to the 0th is the same as the 9th, the message is not changed and after feeding the specified line, stamp the store name etc. and print the new date as shown in (a). Then, print a message, cut it at the position (a), and issue the receipt paper with the old date printed on it to be discarded.

【0016】また日付が2月11日になると、レシート
用紙の状態および日付が更新したかのチェックの処理に
より、日付メモリ23に新しい日付が記憶される。2月
11日に対応するメッセージ番号は新たなメッセージ番
号としてメッセージ番号メモリ22に記憶し、所定行フ
ィードした後、店名等のスタンプを押印し、新たな日付
を(ウ)のように印字し、新たなメッセージを(エ)の
ように印字し、切断を(ア)の位置で行い、古い日付が
印字されたレシート用紙を廃棄すべく発行する。
When the date becomes February 11th, the new date is stored in the date memory 23 by checking the state of the receipt paper and whether the date has been updated. The message number corresponding to February 11th is stored as a new message number in the message number memory 22, and after feeding a predetermined line, a stamp such as the store name is stamped, and the new date is printed as shown in (c). Print a new message as shown in (d), cut at the position (a), and issue the receipt paper with the old date printed on it to be discarded.

【0017】レシート用紙を交換した場合の動作として
は、いま2月10日にレシート用紙を交換したとする。 印字結果は図9に示すものである。レシート用紙が少な
くなると一定間隔で実行されているレシート用紙の状態
および日付が更新したかのチェックの処理により、レシ
ート用紙の交換が必要になったことをセンサー16で検
出し、レシート用紙フラグメモリ26に1がセットされ
、LED表示器によりオペレータに用紙の交換を促す。 用紙が交換されるまではこのLEDの状態は保持される
。オペレータによりレシート用紙が交換されるとセンサ
ー16によりレシート用紙有りが検出される。それに基
づいてレシート用紙フラグメモリ26に1がセットされ
ているか否かをチェックする。レシート用紙フラグメモ
リ26には1がセットされているので、レシート用紙が
交換されたと判断して、所定行フィードした後、店名等
のスタンプを押印し、日付を印字し、メッセージを印字
し、切断を(オ)の位置で行い、余分なレシート用紙(
カ)を廃棄すべく発行する。
As for the operation when the receipt paper is replaced, it is assumed that the receipt paper was replaced on February 10th. The printing results are shown in FIG. When the receipt paper becomes low, the sensor 16 detects that the receipt paper needs to be replaced by checking the status of the receipt paper and whether the date has been updated, which is executed at regular intervals, and the receipt paper flag memory 26 detects that the receipt paper needs to be replaced. is set to 1, and the LED display prompts the operator to replace the paper. The state of this LED is maintained until the paper is replaced. When the operator replaces the receipt paper, the sensor 16 detects the presence of the receipt paper. Based on this, it is checked whether 1 is set in the receipt paper flag memory 26. Since 1 is set in the receipt paper flag memory 26, it is determined that the receipt paper has been replaced, and after feeding a predetermined line, a stamp with the store name etc. is stamped, the date is printed, a message is printed, and the paper is cut. in position (e), and remove the excess receipt paper (
F) is issued for disposal.

【0018】上述したように本発明の電子式キャッシュ
レジスタであればレシート用紙が交換されると自動的に
余分なレシート用紙は切断され、登録に備えることが出
来る。なおこの実施例ではレシート用紙の交換が行われ
た際にフィード、スタンプ、印字、切断を行うものとし
て説明したがこの実施例に限るものではなく、余分なレ
シート用紙を切断するだけの構成であってもよく、本発
明の要旨を逸脱しない範囲で種々変形実施可能である。
As described above, in the electronic cash register of the present invention, when the receipt paper is replaced, the excess receipt paper is automatically cut off to prepare for registration. In this embodiment, feeding, stamping, printing, and cutting are performed when receipt paper is replaced. However, the present invention is not limited to this embodiment, and the present invention is not limited to this embodiment. Various modifications can be made without departing from the spirit of the invention.

【0019】[0019]

【効果】ロール状記録紙の有無を記憶する記録紙状態記
憶部と、印字部に設けた前記ロール状記録紙の有無を検
出するセンサーと、前記センサーからの出力に基づいて
ロール状記録紙の有無を判別する第1の判別手段と、こ
の第1の判別手段でロール状記録紙が無いと判別された
場合にロール状記録紙無データを前記記録紙状態記憶部
に記憶させる状態記憶制御手段と、前記第1の判別手段
でロール状記録紙が有ると判別された場合に前記記録紙
状態記憶部の内容がロール状記録紙無であることに基づ
いてロール状記録紙が交換されたことを判別する第2の
判別手段と、この第2の判別手段の結果に基づいてロー
ル状記録紙有データを前記記録紙状態記憶部に記憶する
とともにカッター機構を駆動させる初期処理手段とを備
えたのでロール状記録紙が交換されると自動的に余分な
記録紙が切断される。これにより客が不快に感じること
のないレシートを用紙交換後一度目の登録から発行する
ことが出来、そのうえオペレータはロール状記録紙を交
換した後特別な操作をすることがないことから煩わしく
なく効率的な用紙交換が可能となるものである。
[Effects] A recording paper status storage unit that stores the presence or absence of the roll recording paper, a sensor provided in the printing unit that detects the presence or absence of the roll recording paper, and a a first determining means for determining the presence or absence of a roll of recording paper; and a state storage control means for storing roll recording paper no data in the recording paper state storage unit when the first determining means determines that there is no roll of recording paper. and, when the first determining means determines that there is a roll of recording paper, the roll of recording paper is replaced based on the content of the recording paper status storage unit indicating that there is no roll of recording paper. and initial processing means for storing rolled recording paper presence data in the recording paper state storage section and driving a cutter mechanism based on the result of the second determining means. Therefore, when the roll of recording paper is replaced, the excess recording paper is automatically cut off. This makes it possible to issue a receipt that does not make the customer feel uncomfortable from the first registration after replacing the paper.Furthermore, the operator does not have to perform any special operations after replacing the roll of recording paper, making it less troublesome and more efficient. This makes it possible to exchange paper easily.

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

【図1】本案の電子式キャッシュレジスタのハードウェ
ア構成図である。
FIG. 1 is a hardware configuration diagram of an electronic cash register of the present invention.

【図2】本案で使用する主要なメモリの構成図である。FIG. 2 is a configuration diagram of main memories used in the present invention.

【図3】本案の電子式キャッシュレジスタの登録業務を
示すフローチャートである。
FIG. 3 is a flowchart showing the electronic cash register registration process of the present invention.

【図4】本案の電子式キャッシュレジスタの締め処理を
詳細に示したフローチャートである。
FIG. 4 is a flowchart showing details of the electronic cash register closing process of the present invention.

【図5】本案の電子式キャッシュレジスタの印字処理を
詳細に示したフローチャートである。
FIG. 5 is a flowchart showing in detail the printing process of the electronic cash register of the present invention.

【図6】本案の電子式キャッシュレジスタの用紙チェッ
クのフローチャートである。
FIG. 6 is a flowchart of the electronic cash register paper check of the present invention.

【図7】本案の電子式キャッシュレジスタの日付チェッ
クの処理を詳細に示したフローチャートである。
FIG. 7 is a flowchart showing in detail the process of checking the date of the electronic cash register according to the present invention.

【図8】本案の印字結果を示す印字例である。FIG. 8 is a printing example showing the printing result of the present invention.

【図9】本案の印字結果を示す印字例である。FIG. 9 is a printing example showing the printing result of the present invention.

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

1      CPU 5      キーボード 13    R/Jプリンタ 16    センサー 17    印字ヘッド駆動機構 18    カッター駆動機構 1 CPU 5 Keyboard 13 R/J printer 16 Sensor 17 Print head drive mechanism 18 Cutter drive mechanism

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力部で入力した商品データをデータ処理
部で登録処理するとともに、ロール状記録紙を保持する
ロール紙保持部から引き出した記録紙に登録結果を印字
する印字機構および所定の位置で前記記録紙を切断する
カッター機構を有する印字部を備えた電子式キャッシュ
レジスタにおいて、前記ロール状記録紙の有無を記憶す
る記録紙状態記憶部と、前記印字部に設けたロール状記
録紙の有無を検出するセンサーと、ロール状記録紙の有
無を判別する第1の判別手段と、この第1の判別手段で
ロール状記録紙が無いと判別された場合にロール状記録
紙無データを前記記録紙状態記憶部に記憶させる状態記
憶制御手段と、前記第1の判別手段でロール状記録紙が
有ると判別された場合に前記記録紙状態記憶部の内容が
ロール状記録紙無であることに基づいてロール状記録紙
が交換されたことを判別する第2の判別手段と、この第
2の判別手段の結果に基づいてロール状記録紙有データ
を前記記録紙状態記憶部に記憶するとともに前記カッタ
ー機構を駆動させる初期処理手段とを備えたことを特徴
とする電子式キャッシュレジスタ。
Claim 1: A printing mechanism and a predetermined position for registering product data input in an input unit in a data processing unit and printing the registration result on recording paper pulled out from a roll paper holding unit that holds a roll of recording paper. In the electronic cash register, the electronic cash register is equipped with a printing section having a cutter mechanism for cutting the recording paper. a sensor for detecting the presence or absence of a roll of recording paper; a first determining means for determining the presence or absence of a roll of recording paper; a state storage control means for storing in a recording paper state storage unit; and when the first determining unit determines that there is a roll of recording paper, the content of the recording paper state storage unit is that there is no roll of recording paper. a second determining means for determining whether the rolled recording paper has been replaced based on the second determining means; and storing rolled recording paper presence data in the recording paper state storage section based on the result of the second determining means; An electronic cash register comprising: initial processing means for driving the cutter mechanism.
JP3023873A 1991-01-25 1991-01-25 Electronic cash register Expired - Fee Related JP2660941B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3023873A JP2660941B2 (en) 1991-01-25 1991-01-25 Electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3023873A JP2660941B2 (en) 1991-01-25 1991-01-25 Electronic cash register

Publications (2)

Publication Number Publication Date
JPH04250595A true JPH04250595A (en) 1992-09-07
JP2660941B2 JP2660941B2 (en) 1997-10-08

Family

ID=12122569

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3023873A Expired - Fee Related JP2660941B2 (en) 1991-01-25 1991-01-25 Electronic cash register

Country Status (1)

Country Link
JP (1) JP2660941B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01144187A (en) * 1987-11-30 1989-06-06 Tokyo Electric Co Ltd Receipt issuing apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01144187A (en) * 1987-11-30 1989-06-06 Tokyo Electric Co Ltd Receipt issuing apparatus

Also Published As

Publication number Publication date
JP2660941B2 (en) 1997-10-08

Similar Documents

Publication Publication Date Title
US4276598A (en) Electronic cash register including means for producing printed validation data
JPH04250595A (en) Electronic cash register
JPH06286239A (en) Method for processing of label printing in label printer
JPH05201095A (en) Impact printer
JPH09330472A (en) Merchandise sales registering data processor
JPH04250594A (en) Electronic cash register
JPH01195591A (en) Electronic cash register
JP2518607Y2 (en) Label printer
JPH09218986A (en) Pos paper running out operation continuing system using journal file
JP2902935B2 (en) Electronic cash register
JP2996292B2 (en) Electronic cash register
JPS5899876A (en) Electronic cash register
JPH01144187A (en) Receipt issuing apparatus
JPH03225593A (en) Electronic cash register
JP2612963B2 (en) Printing device
JP2526285B2 (en) Ticket issuing device
JPH074950B2 (en) Label printer
JPS5844564A (en) Electronic cash register
JP2002172820A (en) Apparatus for printing goods label
JPS6253879B2 (en)
JPH05147286A (en) Commodity selling apparatus fitted with receipt printer
JPS5835298B2 (en) electronic cash register
JP2000322653A (en) Printer
JPH01159790A (en) Commodity sales data processor
JP2001077950A (en) Method for changing setting for compound printer

Legal Events

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

Free format text: PAYMENT UNTIL: 20080613

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees