JPH0424898A - Commodity sale data processor - Google Patents

Commodity sale data processor

Info

Publication number
JPH0424898A
JPH0424898A JP13004590A JP13004590A JPH0424898A JP H0424898 A JPH0424898 A JP H0424898A JP 13004590 A JP13004590 A JP 13004590A JP 13004590 A JP13004590 A JP 13004590A JP H0424898 A JPH0424898 A JP H0424898A
Authority
JP
Japan
Prior art keywords
product
data
code
receipt
commodity
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
JP13004590A
Other languages
Japanese (ja)
Other versions
JP2554386B2 (en
Inventor
Tetsuya Uno
哲也 宇野
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 JP2130045A priority Critical patent/JP2554386B2/en
Publication of JPH0424898A publication Critical patent/JPH0424898A/en
Application granted granted Critical
Publication of JP2554386B2 publication Critical patent/JP2554386B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To print commodity sale data by arranging it in conformity to its classification without depending on the registering order of a solid commodity by issuing the stored commodity data and its total data by printing them on recording paper in response to totaling operation. CONSTITUTION:Every time the code of each sold commodity is inputted through a bar code scanner 6, the corresponding commodity sale data is stored in a registered data buffer 30 in the order of registration, and the sale data of the registered commodity is read in from the registered data buffer 30. Then, the commodity sale data is printed and outputted on a receipt and a journal by a printer 14 based on the contents of an edited data buffer 31, and further, a total amount of money in an amount of money totalizer 32 is printed and outputted on the receipt and the journal, and the receipt is issued. Namely, the commodity sale data obtained by inputting the code is stored by being rearranged into the set order, and the stored commodity data and total data are printed and outputted in response to the totaling operation. Thus, the receipt can be issued after being edited so as to be easy to see.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は、コード人力手段からのコード人力により得ら
れた商品販売データを1客分蓄積する登録データバッフ
ァを有し、このバッファ内の商品販売データを編集して
レシートに印字出力する商品販売データ処理装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention has a registered data buffer that stores product sales data for one customer obtained by code manual operation from code manual means, and The present invention relates to a product sales data processing device that edits sales data and prints it out on a receipt.

[従来の技術] 従来のこの種の商品販売データ処理装置としては、コー
ド入力手段からのコード入力により商品販売データが得
られる毎に登録データバッファ内に同一商品の販売デー
タが記憶されているか否かを判断し、記憶されている場
合にはその同一商品の販売データに新規商品販売データ
を加算処理し、記憶されていない場合には登録データバ
ッファの空エリアに新規商品販売データを格納する。そ
して締め操作が行われると、上記登録データバッファに
蓄積された商品販売データを順次読み取ってレシートに
印字出力するようにしたものか知られている。(特開平
1−263898号公報参照)このような構成の従来装
置であれば、1人の客が買い上げた同一商品をキャッシ
ャがバラノ)うに登録してもその同一商品の販売データ
がまとめられてレシートに印字されるようになる。従っ
て、レシートが簡素化されて見易くなる利点かある。
[Prior Art] A conventional product sales data processing device of this type has a method of determining whether sales data of the same product is stored in a registered data buffer each time product sales data is obtained by inputting a code from a code input means. If it is stored, the new product sales data is added to the sales data of the same product, and if it is not stored, the new product sales data is stored in the empty area of the registered data buffer. It is known that when a closing operation is performed, the product sales data stored in the registered data buffer is sequentially read and printed out on a receipt. (Refer to Japanese Unexamined Patent Application Publication No. 1-263898.) With a conventional device having such a configuration, even if the cashier registers the same product purchased by one customer in the store, the sales data of the same product will not be collected. It will be printed on the receipt. Therefore, there is an advantage that the receipt is simplified and easier to see.

[発明が解決しようとする課題] しかるに、このように同一商品の販売データをまとめて
印字することによりレシートを見易くした従来装置にお
いても次の点で不十分であった。
[Problems to be Solved by the Invention] However, even the conventional device that prints the sales data of the same product all together to make the receipt easier to read is still insufficient in the following points.

すなわち、上記従来装置は締め操作に応じて登録データ
バッファに蓄積された商品販売データを順次読み取って
レシートに印字出力している。このため、レシートに対
する商品販売データの印字順序は販売商品の登録順序に
依存していた。従って、スーパーマーケット等のように
食料品、衣料品。
That is, the conventional device described above sequentially reads the product sales data accumulated in the registered data buffer in response to the closing operation and prints it out on the receipt. Therefore, the order in which product sales data is printed on a receipt depends on the order in which the products for sale are registered. Therefore, food, clothing, etc. like supermarkets.

日用雑貨等、分類の異なる商品であっても同一レジで登
録するような場合、登録順序によっては例えば食料品と
食料品との間に衣料品の販売データが印字されることも
ある。このことは、客が後でレシートを見て買い上げた
商品と照合するような場合に確認に手間取る原因となる
When products of different categories, such as daily necessities, are registered at the same register, sales data for clothing may be printed between food products, for example, depending on the order of registration. This causes a hassle when the customer later looks at the receipt and cross-checks it with the purchased product.

そこで本発明は、販売商品の登録順序に依存することな
く分類別に商品販売データを印字でき、レシート等をよ
り見易く編集して発行できる商品販売データ処理装置を
提供しようとするものである。
SUMMARY OF THE INVENTION Therefore, the present invention aims to provide a product sales data processing device that can print product sales data by category without depending on the registration order of sales products, and can edit and issue receipts and the like to make them easier to read.

[課題を解決するための手段] 本発明の商品販売データ処理装置は、各商品にそれぞれ
付されたコードを入力するためのコード入力手段と、二
のコード入力手段からのコード入力により得られた商品
販売データを該当するコードをもとに予め設定された順
序に並べ換えて記憶する編集記憶手段と、締め操作に応
じて、上記編集記憶手段により記憶された商品販売デー
タおよびその合計データを記録紙に印字して発行するレ
シート発行手段とを備えたものである。
[Means for Solving the Problems] The product sales data processing device of the present invention includes a code input means for inputting a code attached to each product, and a code obtained by inputting a code from the second code input means. an editing storage means for rearranging and storing product sales data in a preset order based on the corresponding code; and a recording paper for storing the product sales data stored by the editing storage means and its total data in response to a tightening operation. and a receipt issuing means for printing and issuing a receipt.

[作 用] このような構成の本発明であれば、各商品に付されるコ
ードを複数領域に区分するとともに各商品を複数部門で
分類し、1部門に対して1つのコード領域を割り当てる
ことによって、レシートまたはクレジット伝票等への印
字の際に商品販売データがそのコードをもとに並べ換え
が行なわれるので、同一部門に属する商品の販売データ
は常に連続して印字されることになる。
[Function] With the present invention having such a configuration, the code attached to each product can be divided into multiple areas, each product can be classified into multiple departments, and one code area can be assigned to one department. Since the product sales data is rearranged based on the code when printed on a receipt or credit slip, the sales data of products belonging to the same department are always printed consecutively.

[実施例] 以下、本発明を中休の電子式キャッシュレジスタに適用
した一実施例について図面を参照しなから説明する。
[Embodiment] Hereinafter, an embodiment in which the present invention is applied to an electronic cash register for temporary holidays will be described without reference to the drawings.

第1図は電子式キャッシュレジスタの概略構成を示すブ
ロック図であって、制御部本体を構成するCPU (中
央処理装置)1に、パスライン2を介してROM (リ
ード・オンリ・メモリ)3及びRAM (ランダム拳ア
クセスφメモリ)4の各記憶部が接続されている。また
、現在の13時を計時する時計回路5、バーコードスキ
ャナ6を駆動制御するスキャナ制御回路7、モードスイ
ッチ8から信号か入力されるI10ポート9、キーボー
ド10からキーデータを取込むキーボード回路11、表
示器12を駆動制御する表示制御回路13、プリンタ1
4を駆動するプリンタ駆動回路15とドロワ16を開放
させるドロワ開放装置17とに駆動45号を出力するI
10ポート18等かそれぞれ前記パスライン2を介して
CPUIに接続されており、CPU1は予め設定された
プログラムに基づいて各部の制御を行う。
FIG. 1 is a block diagram showing a schematic configuration of an electronic cash register, in which a CPU (Central Processing Unit) 1 constituting the main body of the control unit is connected to a ROM (Read Only Memory) 3 and Each storage section of RAM (random access φ memory) 4 is connected. Also included are a clock circuit 5 that measures the current 13 o'clock, a scanner control circuit 7 that drives and controls the barcode scanner 6, an I10 port 9 that receives signals from the mode switch 8, and a keyboard circuit 11 that receives key data from the keyboard 10. , a display control circuit 13 that drives and controls the display 12, and a printer 1.
I outputs drive No. 45 to the printer drive circuit 15 that drives No. 4 and the drawer opening device 17 that opens the drawer 16.
The 10 ports 18 and the like are each connected to the CPUI via the path line 2, and the CPU 1 controls each part based on a preset program.

前記バーコードスキャナ6は各商品に設けられたバーコ
ードを光学的に読み取るためのもので、各商品には商品
毎にそれぞれ付された商品コートかバーコード化されて
設けられている。なお、各商品に商品コードを設定する
際には次の点に留意する。先ず店で取り扱う全商品を衣
料品1食料品等の部門別に分類する。また一連の商品コ
ードを複数領域に区分する。そして1部門に対して1つ
の一連コード領域を割り当てる。しかして、同一部門に
属する商品には割り当てられたコード領域中の1コード
を選択して設定する。
The barcode scanner 6 is for optically reading a barcode provided on each product, and each product is provided with a product coat or barcode attached to each product. Please note the following points when setting a product code for each product. First, all the products handled in the store are classified into categories such as clothing, food, etc. It also divides a series of product codes into multiple areas. Then, one series code area is allocated to one department. Thus, one code from the assigned code area is selected and set for products belonging to the same department.

前記モードスイッチ8は電源のオン、オフを制御すると
ともに「登録」 「精算」 「設定」等の各種業務モー
ドを選択するための制御スイッチで、鍵にて切換操作さ
れる。
The mode switch 8 is a control switch for controlling power on/off and selecting various business modes such as "registration,""accounting," and "setting," and is operated by a key.

前記キーボード10には置数キーのほか、小計キー、ク
リアキー、締めキー等の各種ファンクションキーが配設
されている。因みに、締めキーは1人の客か買い上げた
商品の登録終了を宣言するだめのキーで、この締めキー
の入力操作に応じてレシートが発行されるようになって
いる。
In addition to the numeric keys, the keyboard 10 is provided with various function keys such as a subtotal key, a clear key, and a closing key. Incidentally, the closing key is used to declare the end of registration for a product purchased by one customer, and a receipt is issued in response to the input operation of this closing key.

前記表示器12は販売登録された商品の品名や値段、及
び合計金額等を電光表示するために用いられ、キャッシ
ャ用と客用とがある。
The display device 12 is used to electronically display the name, price, total amount, etc. of products registered for sale, and is available for use by cashiers and for customers.

前記プリンタ14はレシート及びジャーナルに商品販売
データ及びその合計データ等を印字し、かつ上記レシー
トを切断して発行する機能を有する。
The printer 14 has a function of printing product sales data and total data on receipts and journals, and cutting and issuing the receipts.

前記ドロワ16は釣銭準備金等を収納するためのもので
、前記締めキーのキー操作に応じて前記ドロワ開放装置
17の作用により自動的に開放する。
The drawer 16 is for storing change reserves and the like, and is automatically opened by the action of the drawer opening device 17 in response to the operation of the closing key.

前記ROMBには前記CPUIが各部を制御するための
プログラムデータや印字及び表示の際に用いられるキャ
ラクタジェネレータデータ等の固定的データが記憶され
ている。
The ROMB stores fixed data such as program data for the CPU to control each section and character generator data used for printing and display.

前記RAM4には、第2図に示すように、各商品にそれ
ぞれ付された商品コードに対応して該当商品の品名、属
性部門、単価等がプリセットされるとともに、売上点数
及び売上金額を商品別に集計するための集計エリアを設
けてなる商品ファイル20が形成されている。また第3
図に示すように、商品コード、品名、単価、点数から構
成される複数の商品販売データを蓄積可能な登録データ
バッファ30、および上記登録データバッファ30と同
一構成の編集データバッファ31のほか、金額合計器3
2、登録中フラグFの領域33、登録バッファポインタ
Pの領域34、編集バッファポインタQの領域35等の
各種メモリエリアも形成されている。
As shown in FIG. 2, the RAM 4 is preset with the product name, attribute category, unit price, etc. of each product corresponding to the product code assigned to each product, and also stores the number of sales items and sales amount for each product. A product file 20 is formed which includes a total area for totaling. Also the third
As shown in the figure, there is a registration data buffer 30 that can store a plurality of product sales data consisting of product code, product name, unit price, and number of items, and an edit data buffer 31 that has the same configuration as the registration data buffer 30, as well as price Totalizer 3
2. Various memory areas such as an area 33 for a registration flag F, an area 34 for a registration buffer pointer P, and an area 35 for an edit buffer pointer Q are also formed.

しかして、前記CPUIは第4図の流れ図に示す処理を
実行するようにプログラム設定されている。すなわち、
バーコードスキャナ6によって読み取られたバーコード
データまたはキーボード10からキー人力されたキーデ
ータか入力されると、I10ポート9を介してモードス
イッチ8の状態を調べる。そして、このモードスイッチ
8により選択されている業務モードに応じて入力データ
を処理する。
Thus, the CPUI is programmed to execute the process shown in the flowchart of FIG. That is,
When barcode data read by the barcode scanner 6 or key data manually entered from the keyboard 10 is input, the state of the mode switch 8 is checked via the I10 port 9. Then, the input data is processed according to the business mode selected by the mode switch 8.

ここで、モードスイッチ8により「登録」モードが選択
された状態でバーコードスキャナ6によりバーコード化
された商品コードが読み取られると、当該商品コードが
付された商品の販売登録か行われたので、ST(ステッ
プ)1として領域33の登録中フラグFを調べる。そし
て、同フラグFが“1”にセットされていない場合には
客の1品目の販売登録なので、同フラグFを“12にセ
ットした後、登録データバフフッ301編集データバッ
ファ31及び金額合計器32をクリアする。また、領域
34及び35の登録バッファポインタP及び編集バッフ
ァポインタQをそれぞれ“0”に初期設定する。次に、
ST2として上記登録バッファポインタPを「+1」た
け更新する。
Here, when the barcode scanner 6 reads the barcoded product code with the "registration" mode selected by the mode switch 8, the product with the product code has been registered for sale. , ST (step) 1, the registration flag F in the area 33 is checked. If the flag F is not set to "1", it is the sales registration for the customer's first item, so after setting the flag F to "12", the registration data buff 301, edit data buffer 31, and amount totalizer 32 are Clear. Also, initialize the registration buffer pointer P and edit buffer pointer Q of areas 34 and 35 to "0", respectively.Next,
As ST2, the registration buffer pointer P is updated by "+1".

また商品ファイル20からバーコードとして読み込んだ
商品コードに対応する品名、単価を読出し、商品コード
、品名、単価2点数「1」からなる商品販売データを編
集する。そして、登録データバッファ30の該当ポイン
タPか示す位置に上記商品販売データを格納する。また
、点数「1」及び値段(単価×点数)を商品ファイル2
0の該当商品コードに対応する集計エリアに累計して販
売商品の売上登録を行う。さらに、上記値段を金額合計
器32の内容に加算する。その後、上記品名及び値段を
表示器12に表示させて、次のデータ人力を待つ。
Further, the product name and unit price corresponding to the product code read as a barcode are read from the product file 20, and product sales data consisting of the product code, product name, and unit price of two items "1" is edited. Then, the product sales data is stored in the registration data buffer 30 at the position indicated by the corresponding pointer P. In addition, the score "1" and the price (unit price x number of points) are stored in the product file 2.
The cumulative sales of the sold products are registered in the total area corresponding to the applicable product code of 0. Further, the above price is added to the contents of the amount totalizer 32. Thereafter, the product name and price are displayed on the display 12, and the next data input is awaited.

一方、ST1にて登録中ソラグFか“1“にセットされ
ている場合には、客の2品目以降の販売登録なので、直
ちにST2へ進んで上記と同様の処理を実行する。
On the other hand, if the registering Solag F is set to "1" in ST1, since the customer is registering sales of the second item or later, the process immediately proceeds to ST2 and executes the same process as above.

また、モードスイッチ8により「登録」モートが選択さ
れた状態でキーボード]0から締めキのキーデータか入
力されると、客か買い上げた商品の登録終了か宣言され
たので、ST3として前記登録中フラグFが“1″にセ
ットされていることを確認した後、第5図に示すレシー
ト編集処理を実行する。
In addition, when the "registration" mote is selected by the mode switch 8, if the key data from [keyboard] 0 to the closing key is input, it is declared that the registration of the customer or the purchased product is completed, so the above registration is in progress as ST3. After confirming that flag F is set to "1", the receipt editing process shown in FIG. 5 is executed.

すなわち、先ず5T11として登録バッファポインタP
を“1″に初期設定する。次いで、5T12として登録
データバッファ30の該当ポインタPが示す位置に記憶
されているルーコード(商品販売データ)を読込む。次
に、5TL3として領域35の編集バッファポインタQ
を調べる。ここで、同ポインタQは“O”であり編集デ
ータバッファ31が未使用であるので、5T14として
同ポインタQを“1”に設定後、編集データバッファ3
1の該当ポインタQか示す位置に5T12にて登録デー
タバッファ30から読込んだレコードを書込む。
That is, first, register buffer pointer P is set as 5T11.
is initialized to “1”. Next, as 5T12, the lou code (product sales data) stored in the position indicated by the corresponding pointer P in the registration data buffer 30 is read. Next, the edit buffer pointer Q of area 35 is set as 5TL3.
Find out. Here, the pointer Q is "O" and the edit data buffer 31 is unused, so after setting the pointer Q to "1" as 5T14, the edit data buffer 31
The record read from the registration data buffer 30 at 5T12 is written to the position indicated by the corresponding pointer Q of 1.

その後、5T15として登録バッファポインタPを「+
]」だけ更新し、5T1Bとして登録データバッファ3
0の該当ポインタPが示す位置にデータつまり商品販売
データか記憶されていることを確認したならば、5T1
2に戻ってその商品販売ブタを読込む。この場合、5T
13にて編集バッファポインタQか“0”でないので5
T17へ進み、やはり同ポインタQを“1“に設定する
。次いで、STlgとして編集データバッファ31の該
当ポインタQか示す位置のレコード(商品販売データ)
をサーチし、そのレコード中の商品コードと5TL2に
て登録データバッファ30から読込んたレコード中の商
品コードとを比較する。ここで、5T19にて両商品コ
ードが一致している場合には、編集データバッファ35
の該当ポインタQが示す位置のレコード中の点数に登録
データバッファ30から読込んだレコード中の点数を加
算して、5T15へ戻る。
After that, set the registered buffer pointer P as 5T15 to “+
]” and register data buffer 3 as 5T1B.
After confirming that data, that is, product sales data, is stored at the position indicated by the corresponding pointer P of 0, 5T1
Go back to step 2 and read the product sales pig. In this case, 5T
At step 13, the edit buffer pointer Q is not “0”, so it is set to 5.
Proceeding to T17, the same pointer Q is also set to "1". Next, the record (product sales data) at the position indicated by the corresponding pointer Q in the edit data buffer 31 is stored as STlg.
is searched, and the product code in the record is compared with the product code in the record read from the registration data buffer 30 in 5TL2. Here, if both product codes match at 5T19, the edit data buffer 35
The number of points in the record read from the registration data buffer 30 is added to the number of points in the record at the position indicated by the corresponding pointer Q, and the process returns to 5T15.

これに対し、5T19にて両商品コードが一致せず、か
つ5T20にて登録データバッファ側の商品コードの方
が編集データバッファ31側の商品コードより小さい場
合には、編集データバ、ソファ31の該当ポインタQが
示す位置以降の各レコードをルコード分後方ヘシフトす
る。そして、このシストにより空きエリアとなった編集
データバッファ35の該当ポインタQが示す位置に、5
T12にて登録データバッファ30から読込んだレコー
ドを書込んで、5T15へ戻る。
On the other hand, if the product codes do not match at 5T19 and the product code on the registered data buffer side is smaller than the product code on the edit data buffer 31 side at 5T20, then the corresponding edit data buffer and sofa 31 Each record after the position indicated by pointer Q is shifted backward by the code. Then, at the position indicated by the corresponding pointer Q of the edit data buffer 35, which has become an empty area due to this cyst, 5
At T12, the record read from the registration data buffer 30 is written, and the process returns to 5T15.

また、5T19にて両商品コードか一致せず、かつ5T
20にて登録データバッファ側の商品コードの方が編集
データバッファ31側の商品コードより大きい場合には
、5T21として編集バッファポインタQを「+1」た
け更新する。そして、5T22として編集データバッフ
ァ31の該当ポインタQが示す位置にデータつまり商品
販売データが記憶されているか否かを判断する。そして
記憶されていたならば、5T18に戻ってその商品販売
データの商品コードと、5T12にて登録データバッフ
ァ30から読込んだレコード中の商品コードとの比較を
再度行なう。
Also, in 5T19, both product codes do not match, and 5T
If the product code on the registered data buffer side is larger than the product code on the edit data buffer 31 side in step 20, the edit buffer pointer Q is updated by "+1" as 5T21. Then, at step 5T22, it is determined whether data, that is, product sales data, is stored at the position indicated by the corresponding pointer Q in the edit data buffer 31. If it has been stored, the process returns to 5T18 and the product code of the product sales data is again compared with the product code in the record read from the registration data buffer 30 in 5T12.

これに対し、5T22にて編集データバッファ31の該
当ポインタQが示す位置にデータが記憶されていない場
合には、その位置に5T12にて登録データバッファ3
0から読込んだレコードを書込んで、5T15に戻る。
On the other hand, if no data is stored in the position indicated by the corresponding pointer Q of the edit data buffer 31 at 5T22, the registered data buffer 3
Write the record read from 0 and return to 5T15.

5T15においては、前述したように登録バッファポイ
ンタPを「+1」たけ更新する。次いで、5T111i
として登録データバッファ30の該当ポインタPが示す
位置にデータが記憶されているか否かを判断し、記憶さ
れていたならば5T12に戻って同様の処理を繰り返し
、記憶されていなければ当該レシート編集処理を終了す
る。
At 5T15, the registration buffer pointer P is updated by "+1" as described above. Then 5T111i
It is determined whether or not the data is stored at the position indicated by the corresponding pointer P in the registered data buffer 30. If it is stored, the process returns to 5T12 and the same process is repeated, and if it is not stored, the corresponding receipt editing process is performed. end.

こうして上述したレシート編集処理を終了したならば、
第4図に示すようにレシート印字・発行処理を行う。こ
の処理は、編集データバッファ31内のレコードを該当
ポインタQ−1から順番に読込み、その都度単価と点数
から値段を算出して、プリンタ14によりレシート及び
ジャーナルに品名、単価1点数、値段を印字出力する。
After completing the above-mentioned receipt editing process,
Receipt printing and issuing processing is performed as shown in FIG. This process reads the records in the edit data buffer 31 in order from the corresponding pointer Q-1, calculates the price from the unit price and number of points each time, and prints the item name, unit price, number of items, and price on the receipt and journal by the printer 14. Output.

そして、上記バッファ31内の全レコードについて印字
を完了したならば、さらに金額合計器32内の合計金額
をレシート及びジャーナルに印字出力して、レシートの
み発行する。
When all the records in the buffer 31 have been printed, the total amount in the amount totalizer 32 is printed out on a receipt and a journal, and only the receipt is issued.

その後、ドロワ16を開放させ、登録中フラグFを#0
″′にリセットしたならば、次のデータ入力を待つ。
After that, open the drawer 16 and set the registration flag F to #0.
After resetting to ″′, wait for the next data input.

次に、このように構成された本実施例の作用効果につい
て説明する。なお説明の便宜上、衣料品と食料品を取り
扱う店を想定する。そして、第2図に示すように衣料品
部門(部門コード01)に属する商品群と食料品部門(
部門コード02)に属する商品群とに分類し、衣料品部
門に属する商品群には商品コードr 0OOOOOOO
OIJ〜r 0000000099Jを割り当て、食料
品部門に属する商品群には商品コードr 0OOOOO
O100J以降を割り当てる。
Next, the effects of this embodiment configured as described above will be explained. For convenience of explanation, we will assume a store that sells clothing and food. As shown in Figure 2, there are product groups belonging to the clothing department (department code 01) and the food department (department code 01).
The product group belonging to the clothing department is classified into the product group belonging to the department code 02), and the product group belonging to the clothing department is given the product code r 0OOOOOOOO.
OIJ~r 0000000099J is assigned, and product code r 0OOOOOO is assigned to the product group belonging to the food category.
Allocate O100J and later.

この場合において、今、第6図に示す操作手順で1人の
客が買い上げた商品の登録を行うものとする。すなわち
、始めにrlとして商品コードr 000000000
2Jがバーコードスキャナ6を介して入力される。そう
すると、登録データバッファ30のポインタ“1″位置
に該当する商品販売データ[r0000000002J
 、  rシャツJ 、  r3000J 。
In this case, it is assumed that a product purchased by one customer is now registered using the operating procedure shown in FIG. That is, first, as rl, the product code r 000000000
2J is input via the barcode scanner 6. Then, the product sales data corresponding to the pointer “1” position of the registration data buffer 30 [r0000000002J
, r shirt J, r3000J.

「1」コが記憶される。次に、r2として商品コードr
 0000000001Jがバーコードスキャナ6を介
して人力される。そうすると、登録データバッファ30
のポインタ“2″位置に該当する商品販売データ[ro
oooooooolJ +’ rズボンJ 、  r8
000J 。
"1" is memorized. Next, as r2, the product code r
0000000001J is entered manually via the barcode scanner 6. Then, the registration data buffer 30
The product sales data corresponding to the pointer “2” position [ro
oooooooolJ +' r pants J, r8
000J.

「1」コが記憶される。以下、同様にr3〜r7にてバ
ーコードスキャナ6を介して各販売商品のコード入力が
行われる毎に、該当する商品販売データが登録順に登録
データバッファ30に記憶される。
"1" is memorized. Thereafter, each time the code for each sales product is input via the barcode scanner 6 in r3 to r7, the corresponding product sales data is stored in the registration data buffer 30 in the order of registration.

その後、r8としてキーボード10の締めキーが入力操
作されると、第5図のレシート編集処理が開始される。
Thereafter, when the close key of the keyboard 10 is inputted as r8, the receipt editing process shown in FIG. 5 is started.

すなわち、先ず、登録データバッファ30からrlにて
登録された商品の販売データか読み込まれ、そのまま編
集データバッファ31のポインタ“1”位置に書き込ま
れる。
That is, first, the sales data of the product registered at rl is read from the registration data buffer 30, and is written as is at the pointer "1" position of the edit data buffer 31.

次に、登録データバッファ30からr2にて登録された
商品の販売データが読み込まれる。ここで、当該商品販
売データ中の商品コードは編集データバッファ31のポ
インタ“1”位置における商品コードよりも小さいので
、編集データバッファ31のポインタ“2”位置にrl
にて登録された商品の販売データがシフトされ、同ノド
ソファ31の空きエリアとなったポインタ“1”位置に
「2にて登録された商品の販売データか書き込まれる。
Next, the sales data of the product registered in r2 is read from the registration data buffer 30. Here, since the product code in the product sales data is smaller than the product code at the pointer "1" position of the edit data buffer 31, the rl
The sales data of the product registered in step 2 is shifted, and the sales data of the product registered in step 2 is written to the empty area of the same throat sofa 31 at the pointer "1" position.

次に、登録データバッファ30からr3にて登録された
商品の販売データが読み込まれる。ここで、当該商品販
売データ中の商品コードは編集データバッファ31のポ
インタ″2°位置における商品コードよりも大きいので
、編集データバッファ31のポインタ“3″位置にr3
にて登録された商品の販売データが書き込まれる。
Next, the sales data of the product registered in r3 is read from the registration data buffer 30. Here, since the product code in the product sales data is larger than the product code at the pointer "2°" position of the edit data buffer 31, r3 is placed at the pointer "3" position of the edit data buffer 31.
Sales data of products registered in is written.

次に、登録データバッファ30からr4にて登録された
商品の販売データが読み込まれる。ここで、当該商品販
売データ中の商品コードは編集データバッファ31のポ
インタ“1“位置における商品コードと一致するので、
同ポインタ“1“位置の点数にr4にて登録された商品
の販売点数か加算される。
Next, the sales data of the product registered in r4 is read from the registration data buffer 30. Here, since the product code in the product sales data matches the product code at the pointer "1" position of the edit data buffer 31,
The sales number of the product registered in r4 is added to the score at the pointer "1" position.

次に、登録データバッファ30からr5にて登録された
商品の販売データが読み込まれる。ここで、当該商品販
売データ中の商品コードは編集データバッファ31のポ
インタ“3”位置における商品コードよりも大きいので
、編集データノ<・ソファ31のポインタ“4”位置に
r5にて登録された商品の販売データが書き込まれる。
Next, the sales data of the product registered in r5 is read from the registration data buffer 30. Here, since the product code in the product sales data is larger than the product code at the pointer "3" position of the edit data buffer 31, the product code registered in the edit data buffer 31 at the pointer "4" position at r5 sales data is written.

次に、登録データバッファ30からr6にて登録された
商品の販売データが読み込まれる。ここで、当該商品販
売データ中の商品コードは編集データバッファ31のポ
インタ“3″位置における商品コードと一致するので、
同ポインタ“3”位置の点数にr6にて登録された商品
の販売点数か加算される。
Next, the sales data of the product registered in r6 is read from the registration data buffer 30. Here, since the product code in the product sales data matches the product code at the pointer "3" position of the edit data buffer 31,
The sales number of the product registered in r6 is added to the score at the pointer "3" position.

次に、登録データバッファ30からrlにて登録された
商品の販売データが読み込まれる。ここで、当該商品販
売データ中の商品コードは編集データバッファ31のポ
インタ“2″位置における商品コードと一致するので、
同ポインタ“2”位置の点数にrlにて登録された商品
の販売点数か加算される。
Next, the sales data of the product registered in rl is read from the registration data buffer 30. Here, since the product code in the product sales data matches the product code at the pointer "2" position of the edit data buffer 31,
The number of sales of the product registered in rl is added to the score at the pointer "2" position.

しかして、上記編集データム・ソファ31の内容に基づ
いてプリンタ14により商品販売データかレシート及び
ジャーナルに印字出力され、さらに金額合計機32内の
合計金額か上記レシート及びジャーナルに印字出力され
て、レシートが発行される。
Then, based on the contents of the editing datum couch 31, the printer 14 prints out the product sales data on the receipt and journal, and furthermore, the total amount in the total amount machine 32 is printed out on the receipt and journal, and the receipt is printed out. will be issued.

このときのレシートの発行例を第7図に示す。An example of issuing a receipt at this time is shown in FIG.

図示するように、本実施例によれば、商品の登録順序と
は無関係に商品販売データが部門毎に分類されて印字出
力されるようになる。従って、客が後でレシートの印字
内容と買い上げた商品とを照合するような場合に大変見
易く、容易に確認できる利点がある。また、このような
特長は家計簿を食費、衣類費等のように分類別に記帳し
ているような客にとっても大変好都合となる。
As shown in the figure, according to this embodiment, product sales data is classified and printed out for each department, regardless of the order in which products are registered. Therefore, when the customer later compares the printed contents of the receipt with the purchased product, it is very easy to see and has the advantage of being easy to confirm. Additionally, this feature is very convenient for customers who record their household accounts by category, such as food expenses, clothing expenses, etc.

なお、本発明は前記実施例に限定されるものではない。Note that the present invention is not limited to the above embodiments.

例えば前記実施例では商品コードの小さい順に並べ換え
る場合を示したがこれに限定されるものではなく、大き
い順または予め設定された不規則な順序で並べ換えるよ
うにしてもよい。また従来装置のように登録データバッ
ファ30に蓄積する際に同一商品の販売データをまとめ
ておき、締め操作に応じて予め設定された順序で並べ換
えのみを行ってレシートに印字出力するような場合も含
むものとする。さらに、登録データバッファ30に商品
販売データを蓄積する際に予め設定された順序で並べ換
えを行うようにしてもよい。この場合、編集データバッ
ファ31は不要となる。
For example, in the above embodiment, the case where the product codes are sorted in descending order is shown, but the present invention is not limited to this, and the arrangement may be made in ascending order or in a preset irregular order. Furthermore, as with conventional devices, sales data for the same product may be grouped together when accumulating in the registration data buffer 30, and only rearranged in a preset order according to the closing operation and printed out on a receipt. shall be included. Furthermore, when storing product sales data in the registration data buffer 30, the data may be rearranged in a preset order. In this case, the edit data buffer 31 becomes unnecessary.

また、前記実施例ではレシートへ印字する場合を説明し
たか、クレジット伝票等に商品明細を印字する場合も適
用できるものである。この他、本発明の要旨を逸脱しな
い範囲で種々変形実施可能であるのは勿論である。
Further, in the above embodiments, the case where printing is done on a receipt has been explained, but the present invention can also be applied to the case where product details are printed on a credit slip or the like. It goes without saying that various other modifications can be made without departing from the gist of the present invention.

[発明の効果コ 以上詳述したように、本発明によれば、販売商品の登録
順序に依存することなく分類別に商品販売データを印字
でき、レシートまたは伝票をより見易く編集して発行で
きる商品販売データ処理装置を提供できる。
[Effects of the Invention] As detailed above, according to the present invention, product sales data can be printed by category without depending on the registration order of sales products, and receipts or slips can be edited and issued for easier viewing. Data processing equipment can be provided.

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

図は本発明の一実施例を示す図であって、第1図は電子
式キャッシュレジスタのブロック図、第2図はRAMの
商品ファイルを示す図、第3図はRAMのその他の主要
メモリを示す図、第4図はCPUのメイン処理を示す流
れ図、第5図はレシト編集処理を示す流れ図、第6図は
操作手順の一例を示す流れ図、第7図は第6図の操作手
順に対するレシート発行例を示す図である。 1・・・CPU、6・・・バーコードスキャナ、1o・
・・キーボード、]4・・・プリンタ、2o・・・商品
ファイル、30・・・登録データバッファ、31・・・
編集データバッファ。
The figures show one embodiment of the present invention, in which Fig. 1 is a block diagram of an electronic cash register, Fig. 2 is a diagram showing a product file in RAM, and Fig. 3 is a diagram showing other main memory in RAM. Figure 4 is a flowchart showing the main processing of the CPU, Figure 5 is a flowchart showing receipt editing processing, Figure 6 is a flowchart showing an example of the operating procedure, and Figure 7 is a receipt for the operating procedure in Figure 6. It is a figure showing an example of issuance. 1...CPU, 6...Barcode scanner, 1o.
...Keyboard, ]4...Printer, 2o...Product file, 30...Registered data buffer, 31...
Edit data buffer.

Claims (1)

【特許請求の範囲】 各商品にそれぞれ付されたコードを入力するためのコー
ド入力手段と、 このコード入力手段からのコード入力により得られた商
品販売データを該当するコードをもとに予め設定された
順序に並べ換えて記憶する編集記憶手段と、 締め操作に応じて上記編集記憶手段により記憶された商
品販売データおよびその合計データを記録紙に印字して
発行するレシート発行手段と、を具備したことを特徴と
する商品販売データ処理装置。
[Claims] Code input means for inputting a code assigned to each product, and product sales data obtained by inputting the code from the code input means are set in advance based on the corresponding code. and a receipt issuing means that prints and issues the product sales data stored by the editing storage means and the total data on recording paper in response to a closing operation. A product sales data processing device characterized by:
JP2130045A 1990-05-18 1990-05-18 Product sales data processor Ceased JP2554386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2130045A JP2554386B2 (en) 1990-05-18 1990-05-18 Product sales data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2130045A JP2554386B2 (en) 1990-05-18 1990-05-18 Product sales data processor

Publications (2)

Publication Number Publication Date
JPH0424898A true JPH0424898A (en) 1992-01-28
JP2554386B2 JP2554386B2 (en) 1996-11-13

Family

ID=15024756

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2130045A Ceased JP2554386B2 (en) 1990-05-18 1990-05-18 Product sales data processor

Country Status (1)

Country Link
JP (1) JP2554386B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06301859A (en) * 1993-04-16 1994-10-28 Nec Corp Receipt printing control system
JP2013134572A (en) * 2011-12-26 2013-07-08 Nec Infrontia Corp Pos device and receipt printing method of pos device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5587265A (en) * 1978-12-25 1980-07-01 Casio Comput Co Ltd Electronic cash register
JPS57207973A (en) * 1981-06-16 1982-12-20 Casio Comput Co Ltd Sales data printing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5587265A (en) * 1978-12-25 1980-07-01 Casio Comput Co Ltd Electronic cash register
JPS57207973A (en) * 1981-06-16 1982-12-20 Casio Comput Co Ltd Sales data printing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06301859A (en) * 1993-04-16 1994-10-28 Nec Corp Receipt printing control system
JP2013134572A (en) * 2011-12-26 2013-07-08 Nec Infrontia Corp Pos device and receipt printing method of pos device

Also Published As

Publication number Publication date
JP2554386B2 (en) 1996-11-13

Similar Documents

Publication Publication Date Title
US6625579B1 (en) Electronic cash register wherein special registration processes are specified by changing product department values
JPH04336395A (en) Article sale data processor
JP3774378B2 (en) Merchandise sales data processing apparatus, receipt issuing terminal, receipt printing format selection method and program
JPH0462698A (en) Electronic cash register
JP6957687B2 (en) Product sales data processing device and its control program
JPH0424898A (en) Commodity sale data processor
JPH04220798A (en) Merchandise sales data processor
JPH10162251A (en) Merchandise sale data processor
JP3771735B2 (en) Merchandise sales registration data processing apparatus and storage medium
JP3285113B2 (en) Cash register and card transaction processing method thereof
JP3472501B2 (en) Electronic cash register
JPH01304596A (en) Processor for purchase service point card
JPH04225498A (en) Commodity sales data processor
JPS62164196A (en) Electronic cash register
JP2912757B2 (en) Product sales data processing device
JP3097219B2 (en) Unmanned store system and transaction processing device
JPH10269461A (en) Pos terminal
JP2743211B2 (en) Voucher card issuing device
JPH0222759Y2 (en)
JPH06150157A (en) Commodity sales register data processor
JPH0743791B2 (en) Electronic cash register
JPH01177695A (en) Electronic cash register
JPS63165997A (en) Electronic cash register
JPH06348962A (en) Commodity sales data processor
JPH03225596A (en) Electronic cash register

Legal Events

Date Code Title Description
RVOP Cancellation by post-grant opposition