Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0368434B2 - - Google Patents
[go: Go Back, main page]

JPH0368434B2 - - Google Patents

Info

Publication number
JPH0368434B2
JPH0368434B2 JP57227600A JP22760082A JPH0368434B2 JP H0368434 B2 JPH0368434 B2 JP H0368434B2 JP 57227600 A JP57227600 A JP 57227600A JP 22760082 A JP22760082 A JP 22760082A JP H0368434 B2 JPH0368434 B2 JP H0368434B2
Authority
JP
Japan
Prior art keywords
subtotal
key
pressed
flag
printed
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.)
Expired - Lifetime
Application number
JP57227600A
Other languages
Japanese (ja)
Other versions
JPS59121464A (en
Inventor
Nobuyoshi Sakamoto
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.)
Omron Corp
Original Assignee
Omron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp filed Critical Omron Corp
Priority to JP57227600A priority Critical patent/JPS59121464A/en
Publication of JPS59121464A publication Critical patent/JPS59121464A/en
Publication of JPH0368434B2 publication Critical patent/JPH0368434B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/04Billing or invoicing
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G5/00Receipt-giving machines

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Record Information Processing For Printing (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Description

【発明の詳細な説明】 (発明の分野) 本発明は、電子式キヤツシユレジスタに関し、
特に小計キーの押下に応じて行なわれる小計金額
等の印字が同一小計金額について複数回行なわれ
ることを防止した電子式キヤツシユレジスタに関
する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an electronic cash register;
In particular, the present invention relates to an electronic cash register that prevents the same subtotal amount from being printed multiple times in response to pressing a subtotal key.

(発明の背景) 従来形の電子式キヤツシユレジスタにおいて
は、小計キーを押下した時に小計金額等の印字す
なわち小計印字が行なわれるが、小計キーを続け
て複数回押下した場合に同一金額の小計印字が複
数回連続して行なわれることを避けるため、小計
印字が行なわれた時に小計印字が行なわれたこと
を示すフラグをセツトし小計以外の印字が行なわ
れた時にこのフラグをリセツトしていた。そし
て、小計キーが押下された場合にはこのフラグを
チエツクして、フラグがセツトされておれば小計
印字を行なわず、フラグがセツトされておらなけ
れば小計印字を行なうようにしていた。
(Background of the Invention) In conventional electronic cash registers, when the subtotal key is pressed, the subtotal amount is printed, that is, the subtotal is printed, but when the subtotal key is pressed multiple times in succession, the subtotal of the same amount is printed. In order to avoid printing multiple times in succession, a flag indicating that a subtotal was printed was set when a subtotal was printed, and this flag was reset when a subtotal was printed. . When the subtotal key is pressed, this flag is checked, and if the flag is set, the subtotal is not printed, and if the flag is not set, the subtotal is printed.

しかしながら、前記従来形においては、小計印
字が行なわれたことを示すグラフがセツトされた
後、例えば顧客番号または伝票番号等の小計金額
に影響を与えない印字、すなわちNONADDと称
せられる印字の場合にも該フラグがリセツトされ
るため、1度小計印字を行なつた後NONADD印
字が行なわれると該フラグがリセツトされ、その
後に小計キーが押下されると再び小計印字が行な
われるという不都合があつた。すなわち、この場
合は最初に印字された小計金額と次に印字された
小計金額とは同一であり、2回目の小計印字は不
要はものであるにもかかわらず印字されてしまう
という不都合があつた。
However, in the conventional type, after the graph indicating that the subtotal has been printed is set, printing that does not affect the subtotal amount, such as a customer number or slip number, that is, printing called NONADD, is performed. Since the flag is also reset, there was an inconvenience that if the subtotal was printed once and then NONADD was printed, the flag was reset, and if the subtotal key was pressed afterwards, the subtotal was printed again. . In other words, in this case, the subtotal amount printed first is the same as the subtotal amount printed next, and there was an inconvenience that the second subtotal was printed even though it was unnecessary. .

(発明の目的) 本発明の目的は、電子式キヤシユレジスタにお
いて、1つの小計印字が行なわれた後、例え次に
NONADD印字等が行なわれた場合にも再び同一
小計印字が行なわれないようにすることにある。
(Object of the Invention) The object of the present invention is to provide an electronic cash register in which, after one subtotal is printed, even if the next subtotal is
The purpose is to prevent the same subtotal from being printed again even if NONADD printing or the like is performed.

(発明の構成、作用および効果) 上記目的を達成するため本発明では、小計印字
が行われたことを示すフラグを格納する記憶装置
と、該フラグがセツトされている場合は小計キー
が押下されても小計印字が行われないように制御
する処理装置とを有する電子式キヤツシユレジス
タにおいて、該処理装置は押下されたキーが小計
金額に影響を与えるものであるか否かを判断する
判断手段、およびこの判断手段により上記押下キ
ーが上記小計金額に影響を与えないと判断された
場合には上記フラグをリセツトせず、上記判断手
段により上記押下キーが上記小計金額に影響を与
えると判断された場合には上記フラグをリセツト
するリセツト手段を備えるようにしている。
(Structure, operation, and effect of the invention) In order to achieve the above object, the present invention includes a storage device that stores a flag indicating that subtotal printing has been performed, and a storage device that stores a flag indicating that subtotal printing has been performed, and when the flag is set, a subtotal key is pressed. In the electronic cash register, the processing device has a processing device that controls the printing of the subtotal so that the subtotal amount is not printed even if , and if the determining means determines that the pressed key does not affect the subtotal amount, the flag is not reset, and the determining means determines that the pressed key does not affect the subtotal amount. The system is equipped with a reset means for resetting the flag in the event of a failure.

この構成において、フラグが未セツトの状態に
おいて、小計キーが押下されて小計印字が行われ
ると、フラグがセツトされるが、その後、何らか
のキーが押下された場合、押下キーが小計金額に
影響を与えない場合にはフラグはリセツトされ
ず、押下キーが小計金額に影響を与える場合には
フラグがリセツトされるため、小計金額に影響を
与えるキーが押下された場合のみ、その後の小計
キー押下による小計印字が行われる。
In this configuration, if the subtotal key is pressed and the subtotal is printed while the flag is not set, the flag is set, but if any key is pressed after that, the pressed key will not affect the subtotal amount. If not given, the flag will not be reset, and if the pressed key affects the subtotal amount, the flag will be reset, so only when a key that affects the subtotal amount is pressed, will the subsequent subtotal key presses The subtotal will be printed.

したがって、不必要な同一の小計印字が防止さ
れ、レシートが見やすくなるとともにレシート用
紙の無駄を省くことができるようになる。
Therefore, unnecessary printing of the same subtotal is prevented, the receipt becomes easier to see, and waste of receipt paper can be avoided.

(発明の実施例) 以下、図面により本発明の実施例を説明する。
第1図は、本発明の1実施例に係わる電子式キヤ
シユレジスタのハードウエアの構成を示す。同図
の構成においては、プロセツサ1にリードオンリ
メモリ(ROM)2、ランダムアクセスメモリ
(RAM)3、および各種の入出力装置が接続さ
れている。プロセツサ1に接続される入出力装置
としては、キーボード4、数字表示器等によつて
構成される表示器5、レシート印字用のプリンタ
6、および取引用の現金の格納を行なうためのキ
ヤシユドロワ7等が接続されている。
(Embodiments of the invention) Hereinafter, embodiments of the invention will be described with reference to the drawings.
FIG. 1 shows the hardware configuration of an electronic cash register according to one embodiment of the present invention. In the configuration shown in the figure, a read only memory (ROM) 2, a random access memory (RAM) 3, and various input/output devices are connected to a processor 1. The input/output devices connected to the processor 1 include a keyboard 4, a display 5 including a numeric display, a printer 6 for printing receipts, and a cash drawer 7 for storing cash for transactions. is connected.

第2図は、第1図の装置におけるキーボード4
上のキー配置等を示す。すなわち、第1図の装置
のキーボード4は、クリアキーCLを含む置数キ
ー21、取引商品の部門コードを入力するための
部門キー22、合計キー23、小計キー24、お
よびノンアドキー25等の各種キーを備えてい
る。また、電子式キヤツシユレジスタの動作モー
ドを切換えるためのモード切換えスイツチ26が
設けられている。上述の電子式キヤツシユレジス
タにおいては、商品取引の際等に、取引商品の価
格および部門コード等が順次置数キー21および
部門キー22等によつて入力され、すべての項目
の入力が終了すると小計キー24が押下される。
これにより、小計金額および該金額が小計である
ことを示す何らかの記号または文字等が印字され
る。このような小計印字が行なわれるとランダム
アクセスメモリ3(第1図)中に設けられた小計
印字フラグFCSTPTがセツトされ、以後続けて
小計キーを押下してもこのフラグがセツトされて
いると小計印字が行なわれない。小計印字フラグ
FCSTPTは、小計以外の印字を行なつた場合に、
例えば置数キー21と部門キー22が押下された
ような場合には、リセツトされ、その後小計キー
が押下されると小計印字を行なうことが可能とな
る。ただし、小計印字フラグFCSTPTがセツト
された後、ノンアドキー25等小計金額に影響を
与えない印字が行なわれても該フラグはリセツト
されず、したがつて、続けて小計印字を行なうこ
とはできないようにされている。ノンアド印字
は、例えばレシート上に顧客番号あるいは伝票番
号等を印字する場合に使用されるものであり、顧
客番号等を置数キー21で入力した後ノンアドキ
ー25を押下することにより印字が行なわれるが
小計金額に影響を与えることがないようにされて
いる。
FIG. 2 shows the keyboard 4 in the device shown in FIG.
The key arrangement etc. above are shown. In other words, the keyboard 4 of the device shown in FIG. Comes with a key. A mode changeover switch 26 is also provided for changing over the operating mode of the electronic cash register. In the above-mentioned electronic cash register, when making a product transaction, etc., the price of the transaction product, the department code, etc. are entered in sequence using the numeric key 21 and the department key 22, etc., and when all items have been input, The subtotal key 24 is pressed.
As a result, a subtotal amount and some symbol or character indicating that the amount is a subtotal are printed. When such a subtotal is printed, the subtotal print flag FCSTPT provided in the random access memory 3 (Fig. 1) is set, and even if the subtotal key is pressed continuously thereafter, if this flag is set, the subtotal will not be printed. Printing is not performed. Subtotal print flag
FCSTPT is used when printing other than subtotals.
For example, when the numeric key 21 and the department key 22 are pressed, they are reset, and then when the subtotal key is pressed, it becomes possible to print the subtotal. However, after the subtotal print flag FCSTPT is set, even if printing that does not affect the subtotal amount, such as non-add key 25, is performed, the flag will not be reset, and therefore, it will not be possible to print the subtotal continuously. has been done. Non-ad printing is used, for example, when printing a customer number, slip number, etc. on a receipt. Printing is performed by inputting the customer number, etc. using the number keys 21 and then pressing the non-ad key 25. This is done so that it does not affect the subtotal amount.

第3図は、上述の電子式キヤツシユレジスタに
おいて各キーが押下された場合に行なわれる処理
の手順を示す。同図において、何らかのキーが押
下されると、まず押下されたキーが数字キーであ
るか否かが判定される。数字キーである場合は、
押下されたキーに対応する数字データを順次所定
の記憶部に格納する等の数字キー入力処理が行な
われる。押下されたキーが数字キーでない場合
は、小計キーであるか否かが判定され、小計キー
である場合はまず、小計金額および該金額が小計
である旨を示す文字等を表示器で表示し、次に小
計印字フラグFCSTPTが“1”か否かを判定す
る。もし、該フラグが“1”すなわちセツトされ
ている場合は、直前の印字あるいはノンアド以外
の最新の印字が小計印字であることが分るから、
小計印字を行なうことなく処理を終了する。も
し、小計印字フラグFCSTPTが“0”すなわち
リセツトされておれば、直前の印字はノンアドあ
るいは小計以外の印字であるから、プリンタによ
つてレシート上に小計金額および該金額が小計で
あることを示す文字等を印字して小計印字を行な
う。そして、小計印字が行なわれたことを示すフ
ラグFCSTPTを“1”にセツトして処理を終了
する。押下されたキーがノンアドキーの場合に
は、表示器によつてノンアドキーが押下されたこ
とを表示し、かつレシート上にプリンタによつて
ノンアド表示を行なつた後処理を終了する。この
場合、小計印字フラグFCSTPTは何らの変更も
受けず、したがつてノンアド印字前の状態が保た
れるため、ノンアド印字前に小計印字が行なわれ
たか否かによつて次に小計キーが押下された場合
の印字制御が行なわれる。小計およびノンアドキ
ー以外のキーが押下された場合には、小計印字フ
ラグFCSTPTがリセツトされるから次に小計キ
ーが押下されると小計印字が行なわれる。例え
ば、小計キーおよびノンアドキー以外のキーとし
て部門キーが押下された場合には、第3図に示さ
れるように、まず該キーが押下された旨を表示器
によつて表示し、かつプリンタによつてレシート
に印字する。次に、小計フラグFCSTPTを“0”
にし、すなわちリセツトし、表示および印字以外
の処理、例えばメモリアツプデート等の処理を行
なつた後処理を終了する。
FIG. 3 shows the procedure of processing performed when each key is pressed in the above-mentioned electronic cash register. In the figure, when any key is pressed, it is first determined whether the pressed key is a numeric key. If it's a numeric key,
A numeric key input process such as sequentially storing numeric data corresponding to the pressed key in a predetermined storage section is performed. If the pressed key is not a numeric key, it is determined whether or not it is a subtotal key, and if it is a subtotal key, first the subtotal amount and characters indicating that the amount is a subtotal are displayed on the display. , Next, it is determined whether the subtotal print flag FCSTPT is "1". If the flag is set to "1", it means that the previous printing or the latest printing other than non-ad is subtotal printing.
Ends the process without printing the subtotal. If the subtotal print flag FCSTPT is reset to "0", the previous print is a non-ad or something other than a subtotal, so the printer will indicate on the receipt the subtotal amount and that the amount is a subtotal. Print characters, etc. and print the subtotal. Then, the flag FCSTPT indicating that the subtotal has been printed is set to "1" and the process is terminated. If the pressed key is a non-ad key, the display unit displays that the non-ad key has been pressed, and the printer displays the non-ad key on the receipt, and the post-processing ends. In this case, the subtotal print flag FCSTPT is not changed in any way, and therefore the state before non-ad printing is maintained, so whether the subtotal key is pressed next depends on whether subtotal printing was performed before non-ad printing. Printing control is performed when the If a key other than the subtotal and non-add keys is pressed, the subtotal print flag FCSTPT is reset, so that the next time the subtotal key is pressed, the subtotal will be printed. For example, if a department key is pressed as a key other than the subtotal key and non-add key, as shown in Figure 3, the display will first indicate that the key has been pressed, and then the printer will and print it on the receipt. Next, set the subtotal flag FCSTPT to “0”
In other words, it is reset, and the post-processing is completed after processing other than display and printing, such as memory updating.

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

第1図は本発明の1実施例に係わる電子式キヤ
ツシユレジスタの構成を示すブロツク回路図、第
2図は第1図の電子式キヤツシユレジスタに用い
られているキーボード上のキー配置を示す説明
図、そして第3図は第1図の電子式キヤツシユレ
ジスタの処理手順を示すフローチヤートである。 1……プロセツサ、2……リードオンメモリ、
3……ランダムアクセスメモリ、4……キーボー
ド、5……表示器、6……プリンタ、7……キヤ
ツシユドロワ、21……置数キー、22……部門
キー、23……合計キー、24……小計キー、2
5……ノンアドキー、26……モード切換スイツ
チ。
FIG. 1 is a block circuit diagram showing the configuration of an electronic cash register according to an embodiment of the present invention, and FIG. 2 shows the arrangement of keys on a keyboard used in the electronic cash register of FIG. The explanatory diagram and FIG. 3 are flowcharts showing the processing procedure of the electronic cash register of FIG. 1. 1...Processor, 2...Read-on memory,
3... Random access memory, 4... Keyboard, 5... Display, 6... Printer, 7... Cash drawer, 21... Number key, 22... Department key, 23... Total key, 24... Subtotal key, 2
5...Non-ad key, 26...Mode changeover switch.

【特許請求の範囲】[Claims]

1 個々のキーコードに対応づけられた複数のキ
ーと、この複数のキーの任意組合せと同等の機能
を指定する特定キーを有する入力手段と、 前記複数のキーの個々に対応してキーコードが
対応づけられていると共に、前記複数のキーのう
ち任意組合せた複数のキーに対応する各々のキー
コードを前記特定キーに対応づけて記憶する記憶
手段と、 キーコード設定モードにおいて、前記入力手段
より操作されたキーのキーコードを各キー操作の
順番に前記記憶手段へ複数書き込む書き込み手段
と、 通常モードにおいて、前記入力手段で操作され
たキーのキーコードに応じた一連の演算処理を実
行すると共に、前記特定キーが操作された際には
前記記憶手段より、その特定キーに対応して読み
出された各キーコードに応じた一連の演算処理を
前記記憶手段に記憶された際の各キーの操作順番
で順次複数実行する演算処理手段とを備えてなる
演算処理装置。
1. An input means having a plurality of keys associated with individual key codes, a specific key specifying a function equivalent to an arbitrary combination of the plurality of keys, and a key code corresponding to each of the plurality of keys. storage means for storing respective key codes corresponding to arbitrary combinations of the plurality of keys among the plurality of keys in association with the specific key; a writing means for writing a plurality of key codes of operated keys into the storage means in the order of each key operation; , when the specific key is operated, a series of arithmetic operations corresponding to each key code read out corresponding to the specific key are stored in the storage device. An arithmetic processing device comprising arithmetic processing means that sequentially executes a plurality of operations in the order of operations.

JP57227600A 1982-12-28 1982-12-28 Electronic cash register Granted JPS59121464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57227600A JPS59121464A (en) 1982-12-28 1982-12-28 Electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57227600A JPS59121464A (en) 1982-12-28 1982-12-28 Electronic cash register

Publications (2)

Publication Number Publication Date
JPS59121464A JPS59121464A (en) 1984-07-13
JPH0368434B2 true JPH0368434B2 (en) 1991-10-28

Family

ID=16863468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57227600A Granted JPS59121464A (en) 1982-12-28 1982-12-28 Electronic cash register

Country Status (1)

Country Link
JP (1) JPS59121464A (en)

Also Published As

Publication number Publication date
JPS59121464A (en) 1984-07-13

Similar Documents

Publication Publication Date Title
US4493037A (en) Retail terminal
JPS6259840B2 (en)
JPH0368434B2 (en)
JPH0363119B2 (en)
JPS5840220B2 (en) electronic cash register
JP2506098B2 (en) Transaction processor
JPS5886663A (en) electronic cash register
JPS5835302B2 (en) electronic cash register
JPS588376A (en) Data registrating device
JP3103659B2 (en) Electronic cash register
JP2578256B2 (en) Electronic cash register
KR790001246B1 (en) Electronic vending machine that can combine electronic calculator
JPS5833979B2 (en) electronic cash register
JP2549467B2 (en) Product sales registration device
JPH0413757B2 (en)
KR900000456B1 (en) Printing Control Method of Electronic Cash Register
JPS6239467B2 (en)
JPS63201798A (en) Pos terminal
JPS5836388B2 (en) electronic cash register
JPS5833983B2 (en) electronic cash register
JPH041890A (en) Receipt issuing device
JPH05114083A (en) Electronic cash register
JPS588375A (en) data registration device
JPS61294599A (en) Goods sales data processor
JPH04299795A (en) Electronic cash register