JPH0242597A - Electronic cash register - Google Patents

Electronic cash register

Info

Publication number
JPH0242597A
JPH0242597A JP14569489A JP14569489A JPH0242597A JP H0242597 A JPH0242597 A JP H0242597A JP 14569489 A JP14569489 A JP 14569489A JP 14569489 A JP14569489 A JP 14569489A JP H0242597 A JPH0242597 A JP H0242597A
Authority
JP
Japan
Prior art keywords
printing
data
department
code
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP14569489A
Other languages
Japanese (ja)
Inventor
Tetsuo Otsuka
大塚 哲夫
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP14569489A priority Critical patent/JPH0242597A/en
Publication of JPH0242597A publication Critical patent/JPH0242597A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To obtain a visible receipt by selecting department code printing or unprinting for respective types of sales data. CONSTITUTION:To control the salves data according to the departments, when the respective types of the sales data are inputted by a keyboard 10, the corresponding department is designated by a key 12. Whenever the sales data are inputted, they are cumulatively added according to the designated department, and stored into a memory 29. Simultaneously, the respective types of the inputted sales data are printed on a recording paper by a printing part 24. At the time of the printing, a mode switch 10 of the keyboard is set beforehand, a printing key 17 is operated, the department code to be printed is set, and stored into a memory 291. Consequently, whether to print or not is selected according to the setting information of the memory 291, and it is printed through a print buffer PB of an I/O controller 21 by the printing part 24.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は使用者の希望に応じて、印字するデータ、印
字しないデータを適宜選択できるようにした電子式金銭
登録機に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic cash register in which data to be printed and data not to be printed can be appropriately selected according to the user's wishes.

〔従来の技術〕[Conventional technology]

一般に、電子式金銭登録機のレシート等に印字するデー
タとしては、金額、部門、責任者フード、小計、連続ナ
ンバー、日付、時刻、税率、割引率、機械ナンバー等が
ある。しかし、これら印字データの種類のうちどれだけ
のデータをレシートあるいはジャーナルに印字させるか
は、特開昭52−74394号公報のWts図に示され
るように夫々その機種によって固定されている。部ち、
キーボードから入力された一登録毎の売上データがプリ
ンタコントリーラを介してプリンタ部奎伝送されたレシ
ート及びジャーナルに印字される売上データの種類は固
定的なものである。
Generally, the data printed on the receipt of an electronic cash register includes the amount, department, person in charge, subtotal, serial number, date, time, tax rate, discount rate, machine number, etc. However, the amount of data to be printed on a receipt or journal among these types of print data is fixed depending on the model, as shown in the Wts chart of Japanese Patent Application Laid-open No. 74394/1983. Department,
The type of sales data that is printed on receipts and journals in which the sales data for each registration input from the keyboard is transmitted to the printer unit via the printer controller is fixed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ところで、レジ−)等にその機種に与えられた印字デー
タをすべて印字することは有効な場合もあるが、店によ
ってはレシートがかえって見に〈くなる問題があった。
Incidentally, although it may be effective to print all the print data given to the model on the cash register, etc., there is a problem in some stores that the receipt becomes more difficult to read.

例えばレシート(ジャーナル)にいちいち部門コードを
記録しなくても良いという店があったとすると、客にと
って意味のない部門別コードをレシートに印字する必要
性はないことになるが、従来の電子式金銭登録機では印
字される売上データの11mは固定的なため、使用者側
の斐望に十分応じ得ることができなかった。
For example, if there were a store that did not require department codes to be recorded on each receipt (journal), there would be no need to print department codes on receipts that are meaningless to customers, but traditional electronic cash Since 11 meters of sales data printed by the registration machine is fixed, it was not possible to fully meet the wishes of the users.

本発明の課題は、入力された各種売上データをレシート
上に印字する際、各売上データ入力時にと 指定された部門の部門コードで選択的に印字できるよう
にすることである。
An object of the present invention is to enable selective printing of the department code of the department specified at the time of inputting each sales data when printing various input sales data on a receipt.

C問題点を解決するための手段〕 この発明の手段は次の通りである。Measures to solve problem C] The means of this invention are as follows.

部門別に指定された売上データを入力する人力手段と、
この入力手段により入力された売上データを、前記指定
の部門別に累計する累計手段と、記録紙上に部門コード
を印字するか否かを任意に指定する指定手段と、この指
定手段による指定内容を示す指定?#報を記憶する記憶
手段と、前記入力手段により人力された各種売上データ
を前記記録紙上に印字する際、各稙光上データに対して
指定された部門の部門コードを、前記指定情報の指定に
応じて選択的に印字する印字手段とを備える◎〔作 用
〕 本発明の手段の作用は次の通りである。
human means for inputting sales data specified by department;
A totalizing means for summing up the sales data inputted by the input means for each of the specified departments, a specifying means for arbitrarily specifying whether or not to print a department code on the recording paper, and a specification indicating the contents specified by the specifying means. designation? When printing various sales data manually entered by the input means on the recording paper, the department code of the department specified for each sales data is specified by the specified information. ◎ [Function] The function of the means of the present invention is as follows.

売上データを部門別に管理するために、各種売上データ
を入力する際は、対応する部門を指定してデータを入力
すること番こなる。各種売上データを入力する毎に、累
計手段は入力された各売上データを対応して指定された
部門に分類して累計すヒ る。これ尋問時に、入力された各種売上データは記録紙
上に印字されるが、印字される各櫨売上データに対して
指定された各椋部門の部門コードは、記憶手段に記憶さ
れた指定情報の指定に応じて印字するか否かが選択され
る。この結果、売上データは部門別に累計されはするも
のの、各売上データに対応するMP”jコードの付加さ
れていないレシートや、対応する部門コードの付加され
たレシートを任意に選択して発行することができる。
In order to manage sales data by department, when entering various sales data, it is necessary to specify the corresponding department and input the data. Every time various sales data are input, the accumulating means classifies each input sales data into corresponding designated departments and totals them. At the time of interrogation, various input sales data are printed on the recording paper, but the department code of each Muku department specified for each Hashi sales data printed is the designation of the specified information stored in the storage means. Whether or not to print is selected depending on the information. As a result, although the sales data is accumulated by department, it is possible to arbitrarily select and issue receipts without the MP"j code corresponding to each sales data or receipts with the corresponding department code added. Can be done.

〔実施例〕〔Example〕

以下、一実施例を第1図ないし第6図を参照しながら説
明する。
Hereinafter, one embodiment will be described with reference to FIGS. 1 to 6.

第1図において符号10は電子式金銭登録機のキーボー
ドで、各種の操作キーを備えている。すなわち、11は
テンキー、12は各商品に対する部門を指定する部門別
キー、13は訂正キー、14はノンアト、・値引、入金
、出金、信用光、貸売等の取引キー、15は責任者別キ
ー、16は加算あるいはシータルを求める場合の小計キ
ー、17は印字キー、18は合計あるいは釣銭を求める
レシートを発行するための現金キーである◎19はロー
タリ式モードスイッチで、roFPJ、「設定」、「登
録」、「点検」、「精算」の各モードを切換選択し得る
ようになっている。このそ−ドスイッチ19におけるl
”OF FJは電子式金銭登録機を使用していない場合
、「設定」は印字データなどをあらかじめプリセットす
る場合、「登録」は通常の金銭収受操作を行う場合、「
点検」は集計データを破壊せずに印字出力する場合、「
精算」は集計データを印字出力した後、その集計データ
をクリヤする場合lこ使用される。
In FIG. 1, reference numeral 10 is a keyboard of an electronic cash register, which is equipped with various operation keys. In other words, 11 is a numeric keypad, 12 is a department key that specifies the department for each product, 13 is a correction key, 14 is a non-attribute key, transaction keys such as discount, deposit, withdrawal, credit light, lending, etc., and 15 is a responsibility key. 16 is a subtotal key for calculating addition or sheetal, 17 is a print key, 18 is a cash key for issuing a receipt for total or change. ◎19 is a rotary mode switch. It is possible to switch between the following modes: ``Setting'', ``Registration'', ``Inspection'', and ``Payment''. l in this word switch 19
"OF FJ" is used if you are not using an electronic cash register, "Settings" is used to preset print data, etc. "Registration" is used to perform normal cash collection operations, "
"Inspection" is used when printing out tabulated data without destroying it.
``Settlement'' is used when clearing the total data after printing out the total data.

上記キーボード10にはI10コントローラ21からタ
イミング信号が与えられており、キーボードlOにおい
てキー操作が行われると上記タイミング信号が操作キー
に応じて選択され、キー人力信号としてI10コント四
−ラ21へ送られる。
A timing signal is given to the keyboard 10 from the I10 controller 21, and when a key operation is performed on the keyboard 10, the timing signal is selected according to the operated key and is sent to the I10 controller 21 as a key manual signal. It will be done.

上記I10コントローラ21は演算処理袋JR(以下C
PUと略称する)22に接続されており、キーボード1
0からキー人力信号が与えられると、このキー人力信号
はI10コントp−ラ21の内部のI10バッファ(図
示せず)に−旦、貯えられた後、CPU22内の後述す
るXレジスタへ転送されるようになっている。またI1
0コントローラ21はCPU22から印字データが与え
られた際に、この印字データをI10コントローラ21
のプリントバッファPHに一時記憶する。印字部24は
図示しないが、印字ドラムの回転位置を検られる。I1
0コン)a−ラ21は上記回転位置検出器からの位置信
号と印字データとの一致をとってドライバ25に態動信
号を送り、所定の印字ハンマを駆動する。またCPU2
2内のXレジスタのデータは表示ドライバ27を介して
表示部28へ送られて表示される。さらに、上記CPU
22には集計データ、プリセットデータなどを記憶する
記憶[29が接続されている。
The above I10 controller 21 is a calculation processing bag JR (hereinafter referred to as C
(abbreviated as PU) 22, and the keyboard 1
When a key human power signal is given from 0, this key human power signal is first stored in the I10 buffer (not shown) inside the I10 controller 21, and then transferred to the X register in the CPU 22, which will be described later. It has become so. Also I1
When the 0 controller 21 receives print data from the CPU 22, the 10 controller 21 transfers this print data to the I10 controller 21.
It is temporarily stored in the print buffer PH. Although the printing unit 24 is not shown, the rotational position of the printing drum is detected. I1
0 controller 21 matches the position signal from the rotational position detector with the printing data and sends a behavior signal to the driver 25 to drive a predetermined printing hammer. Also CPU2
The data in the X register in 2 is sent to the display unit 28 via the display driver 27 and displayed. Furthermore, the above CPU
A memory [29] is connected to 22 for storing total data, preset data, etc.

しかして、上記CPU22内の各回路の動作を制御する
制御部221は各種演算動作を順次実行制御する為のマ
イクロプログラムが固定記憶されたROM (リードオ
ンリメモリ)により構成しており、アドレス部222に
よってそのアドレスが指定されて上記マイク田プ田グラ
ムが順次実行される。この′a御線部221コード発生
指令を出力する出力線22a1所定のタイミング信号を
出力する出力@22b、レジスタ指定信号、転送信号、
演算命令、桁シフト命令など各種のインストラクション
を出力する出力M22C%自己の次アドレスを出力する
出力M22dを備えている。そして、上記出力@ 22
 aに出力されるコード発生指令は、コード発生回路2
23へ送られ、出力線22bに出力されるタイミング信
号は、タイミング指定回路224へ送られる。また出力
線22 cに出力されるインストラクションは、インス
トラクションデコーダ225へ送られ、出力線22dに
出力されるアドレス信号は、次に実行するマイクロプロ
グラムを指示する為の次アドレス情報としてアドレスl
!l5222へ送られる。なお、上記コード発生回路2
23、タイミング指定回路224、インストラクション
デコーダ225にはCPU22内に設けられたタイミン
グ信号発生回路(図示せず)からのタイミング信号が印
加されている。そして、上記コード発生回路223は制
御部221から与えられる、例えば4ピツトの並列デー
タを所定のタイミングで直列データに変換して出力する
にのコード発生回路223の出力はゲート回路226へ
送られる。また、上記タイミング指定回路224から出
力される信号はゲート回路226.227など開閉タイ
ミングとして送られる。そして、上記インストラクショ
ンデコーダ225は制御部221から与えられるインス
トラクションを解読し、その解読結果に従ってレジスタ
群228内のレジスタ指定などCPU22内各部の動作
制御を行うとともに、前記記憶部29に対して読み出し
/書込み指令R/Wを与える。また、上記タイミング指
定回路224およびインストラクションデコーダ225
の出力は、前記表示ドライバ27およびI10コンシロ
ーラ21に制御信号として送られる。上記レジスタ詳2
28は演算レジスタを兼ねる入出力用のXレジスタ22
8aおよびソノ他演算補助用のY%z1Wレジスタ22
8b。
The control unit 221 that controls the operation of each circuit in the CPU 22 is composed of a ROM (read-only memory) in which microprograms for sequentially controlling the execution of various arithmetic operations are fixedly stored. The address is specified by , and the above-mentioned microphone datagrams are sequentially executed. This 'a control line section 221 Output line 22a that outputs a code generation command, Output @22b that outputs a predetermined timing signal, a register designation signal, a transfer signal,
It has an output M22C% that outputs various instructions such as arithmetic instructions and digit shift instructions, and an output M22d that outputs its own next address. And the above output @22
The code generation command output to a is the code generation circuit 2.
23 and output to the output line 22b is sent to the timing designation circuit 224. The instruction output to the output line 22c is sent to the instruction decoder 225, and the address signal output to the output line 22d is used as next address information to instruct the next microprogram to be executed.
! Sent to l5222. Note that the code generation circuit 2
23, a timing signal from a timing signal generation circuit (not shown) provided in the CPU 22 is applied to the timing designation circuit 224 and the instruction decoder 225. The code generating circuit 223 converts, for example, 4-pit parallel data given from the control section 221 into serial data at a predetermined timing and outputs the serial data.The output of the code generating circuit 223 is sent to a gate circuit 226. Further, the signal outputted from the timing specifying circuit 224 is sent to gate circuits 226, 227, etc. as opening/closing timing. The instruction decoder 225 decodes the instruction given from the control unit 221, and controls the operation of each part in the CPU 22, such as specifying registers in the register group 228, according to the decoding result, and also reads/writes to/from the storage unit 29. Give command R/W. Also, the timing designation circuit 224 and the instruction decoder 225
The output of is sent to the display driver 27 and I10 concealer 21 as a control signal. Above register details 2
28 is an input/output X register 22 that also serves as an arithmetic register.
Y%z1W register 22 for 8a and other calculation assistance
8b.

228c、228dなど複数の演算レジスタ、および上
記記憶w629との間でデータの転送を行う転送用のH
レジスタ228eからなり、その出力信号はゲート回路
226を介してアダー回路229へ与えられる。また、
入出力用のXレジスタ2281の出力は表示ドライバ2
7に表示データとして送られるとともζこI10コント
ローラ21のプリントバッファPBに印字データとして
送られる。
Transfer H for transferring data between multiple calculation registers such as 228c and 228d, and the above memory w629.
It consists of a register 228e, and its output signal is given to an adder circuit 229 via a gate circuit 226. Also,
The output of the input/output X register 2281 is sent to the display driver 2.
7 as display data and also as print data to the print buffer PB of the I10 controller 21.

また、アダー回路229の出力は、ゲート回路227に
与えられ、かつゲート回1230を介してAレジスタ2
32に読み出される。この人レジスタ232に読み出さ
れたデータは、ゲート回路226を介してアダー回路2
29へ再入力されるとともに、2つのデータ、つまり行
アドレスト列アドレスの2つのアドレスデータに分けら
れ、上記記憶部29へ送られる。さらに、アダー回路2
29から出力される演算データおよびキャリー信号は判
断回路233へ送られる。この判断回路233はアダー
回路229の出力内容を所定のタイミングで判断してア
ドレス部222へ送出し、前記出力JI22dより出力
される次アドレスを変更する。
Further, the output of the adder circuit 229 is given to the gate circuit 227 and passed through the gate circuit 1230 to the A register 2.
32. The data read into this person register 232 is sent to the adder circuit 2 via the gate circuit 226.
At the same time, the data is re-inputted into the storage section 29 and divided into two pieces of data, ie, two address data of a row address and a column address, and sent to the storage section 29. Furthermore, adder circuit 2
The calculation data and carry signal output from 29 are sent to judgment circuit 233. This judgment circuit 233 judges the output content of the adder circuit 229 at a predetermined timing, sends it to the address section 222, and changes the next address output from the output JI 22d.

前記記憶部29は、例えばRAM (ランダムアクセス
メモリ)よりなるメモリ291、上記インストラクショ
ンデコーダ225からの読み出し/書き込み指令R/W
が与えられるゲート回路292、上記人レジスタ232
から行および列アドレスデータがセットされるアドレス
指定回路293、メモリ291からの読み出しデータを
並列データから直列データに変換出力するP−8変換回
路294、メモリ291への書込みデータを直列データ
から並列データに変換入力する8−P変換回路295か
ら構成されている。上記メモリ291の端子ODからP
−8変換回路294を介して読み出されるデータは、C
PU22内のゲート回路227に与えられる。また、メ
モリ291の端子IDにはCPU22内のHレジスタ2
28eの出力書き込みデータとしてS−P変換回路29
5を介して入力されるようになっている。
The storage unit 29 includes a memory 291 made of, for example, RAM (random access memory), and a read/write command R/W from the instruction decoder 225.
is given to the gate circuit 292, the above-mentioned human register 232
Addressing circuit 293 to which row and column address data are set; P-8 conversion circuit 294 converting data read from memory 291 from parallel data to serial data; and converting data written to memory 291 from serial data to parallel data. It is composed of an 8-P conversion circuit 295 that converts and inputs the signal. From terminal OD to P of the memory 291 above
The data read out through the -8 conversion circuit 294 is
It is given to the gate circuit 227 in PU22. Also, the terminal ID of the memory 291 is the H register 2 in the CPU 22.
S-P conversion circuit 29 as output write data of 28e.
It is designed to be input via 5.

前記メモリ291は、第2図に示すように、例えば、1
6行X16列の記憶容量を有してなり、その各行Uo〜
Utsは端子U人に入力される行アドレス「O〜15」
によって指定され、また各列Lo−Ltsは端子LAに
入力される列アドレス1”0−154によって指定され
る。そして、メモリ291の行Uo−,−Usの列Lo
−,l、sには、各行毎に部門別売上金額を・また、行
U4〜Us。
As shown in FIG. 2, the memory 291 includes, for example, 1
It has a storage capacity of 6 rows x 16 columns, and each row Uo~
Uts is the row address "O~15" input to the terminal U
Each column Lo-Lts is specified by a column address 1''0-154 inputted to the terminal LA.The column Lo of the row Uo-, -Us of the memory 291
-, l, and s show the sales amount by department for each row. Also, rows U4 to Us.

列Lo−L・には各行毎に値引、入金、出金、信用売、
貸売の取引別合計を、また、行U9〜U宜3の列lo−
wLsには各行−毎に責任者ASB、C。
Columns Lo-L show discounts, deposits, withdrawals, credit sales, and
The total for each loan transaction is also shown in column lo- of rows U9 to Ui3.
wLs has a responsible person ASB, C for each row.

Dの売上金額を、また、行rs sの列Lo〜L@には
総売上金額を、また、行 40列Lo−L−には売上累
計金額を、また、1Utsの列Lo−L@には小計金額
をそれぞれ記憶する。さら番こ、メモリ291の行Uo
−wUt4の列L7〜Ll@ Jこは各行毎に件数を、
行USsの列L1〜Ltoには精算回数を記憶する。ま
た、PO−、/P4は印字フラグを記憶する領域で、P
Oは連続ナンバー、Plは責任者コード、P2は小計、
Plは部門別コード、P4は日付に対応しており、@l
”が記憶されれば印字、@0”が記憶されれば不印字を
指定する。
The sales amount of D, the total sales amount in columns Lo-L@ of row rs s, the cumulative sales amount in row 40 column Lo-L-, and the total sales amount in column Lo-L@ of 1Uts. stores each subtotal amount. Sarabanko, row Uo of memory 291
- Columns L7 to Ll of wUt4 @ J is the number of items for each row,
The number of payments is stored in columns L1 to Lto of row USs. Additionally, PO- and /P4 are areas for storing print flags, and P
O is the consecutive number, Pl is the person in charge code, P2 is the subtotal,
Pl corresponds to the department code, P4 corresponds to the date, and @l
If `` is stored, printing is specified, and if @0'' is stored, non-printing is specified.

なお、以下の説明ではアドレスUiおよヒLjで指定さ
れるメモリ291の記憶領域をM(Ui。
In the following explanation, the storage area of the memory 291 specified by the address Ui and the address Lj is M(Ui.

Lj)  と書く。Write Lj).

次に、印字の選択設定動作について股明する。Next, the printing selection setting operation will be explained.

印字の選択設定に先だって使用者に対しては、選択の対
象となる印字データの種類を容量に伴るようにするため
に第3図に示すような印字データの種類とコードの対応
表が渡されており、使用者はこれを見ながら印字、不印
字の選択を行う。−例として、責任者コード、日付を印
字し、連続ナンバー、小計、部門別コードを印字しない
ように設定する。まず、キーボードlOのモードスイッ
チ19を「設定」の状態にした後、印字キー17を操作
すると、印字キー17のキーコードがI10コントロー
ラ21内のI10バッフ丁に入力され、ゲート回路22
7、Xレジスタ228asゲート回路226を介してア
ダー回路229へ送られる。
Before setting the printing selection, the user is given a correspondence table of printing data types and codes, as shown in Figure 3, in order to match the printing data types to be selected according to the capacity. The user selects whether to print or not to print while looking at this. - For example, set the person in charge code and date to be printed, but not to print consecutive numbers, subtotals, and departmental codes. First, after setting the mode switch 19 of the keyboard IO to the "setting" state, when the print key 17 is operated, the key code of the print key 17 is input to the I10 buffer in the I10 controller 21, and the gate circuit 22
7, X register 228 is sent to the adder circuit 229 via the gate circuit 226.

このアダー回路229で所定の演算が施され、その演算
により得られたデータとキャリーを判断回路233へ送
り、この判断回路233によってアダー回路229の出
力内容が所定のタイミングによって判断される。そして
この判断結果がアドレス部222に与えられ、これによ
り制御部221から出力adを介して出力される次アド
レスが変更されて第4図のフローがスター′卜する。そ
して、フラグ入力モードを示すI10バッファ内の印字
キー17のキーコードはXレジスタ228aを介してW
レジスタ228dに貯えられ、次(こキー人力があった
ときに参照される。初めにステップS1でコード発生回
路223からはメモリ291の記憶領域M(U(1,L
ll〜Lts )のアドレスを指定するためのコード信
号が発生され、ゲート回路226およびアダー回路22
9を介してAレジスタ232に行アドレスの「0」の信
号および列アドレスの「11」の信号が入力される。そ
してメモリ291の記憶領域M (U o 、 Lst
)へrOJが**込まれ、印字選択の7ラグ記憶領域P
aがクリアされる。続けてAレジスタ232に記憶され
ているL■を指定した「11」は、アダー回路229を
介して1.m算され、「12」となって今度はメモリ2
91の同じ行の12桁目、すなわちM(Us%L12 
)を指定する。そして上記同様フラグ記憶領域Plをク
リヤする。このようにしてAレジスタ2321ζ記憶さ
れている列指定情報は15まで斐化し、7ラグ記憶領域
PG〜P4をクリヤする。
This adder circuit 229 performs a predetermined calculation, and the data and carry obtained by the calculation are sent to a judgment circuit 233, which judges the output content of the adder circuit 229 at a predetermined timing. The result of this determination is then given to the address section 222, whereby the next address outputted from the control section 221 via the output ad is changed, and the flow shown in FIG. 4 starts. Then, the key code of the print key 17 in the I10 buffer indicating the flag input mode is sent to W via the X register 228a.
It is stored in the register 228d and is referenced the next time there is human power. First, in step S1, the code generation circuit 223 outputs the memory area M(U(1,L) of the memory 291.
A code signal for specifying the address (ll to Lts) is generated, and the gate circuit 226 and adder circuit 22
A signal of "0" of the row address and a signal of "11" of the column address are input to the A register 232 via 9. Then, the storage area M (U o , Lst
) is entered into the 7-lag storage area P for printing selection.
a is cleared. Subsequently, "11" which specified L■ stored in the A register 232 is sent to 1 through the adder circuit 229. m is calculated and becomes "12", which is now memory 2.
91, the 12th column of the same line, i.e. M(Us%L12
). Then, similarly to the above, the flag storage area Pl is cleared. In this way, the column designation information stored in the A register 2321ζ is reduced to 15, and the 7-lag storage areas PG to P4 are cleared.

次に、ステップS鵞へ進み、キー人力待ち状態として待
機する。ここで、印字対象とする印字データの種類に対
応するコードをテンキー11によって操作する。ここで
は、まず、責任者コードの印字指定をするために、第3
図に示す表を見ながらテンキー11より「31」を置数
する。このコード「31」が入力されると、ステップ8
sへ進み、Xレジスタ228aに配電されているコード
「31」とコード発生回路223から発生されるコード
「30」とをアダー回路229で減算し、その結果得ら
れたデータとキャリー(ボロー)を判断回路233で判
断することによって、置数されたコードが「30」であ
るか否かが判断される。
Next, the process advances to step S, where it waits for key human power. Here, a code corresponding to the type of print data to be printed is operated using the numeric keypad 11. Here, first, in order to specify printing of the responsible person code,
Enter "31" using the numeric keypad 11 while looking at the table shown in the figure. When this code "31" is input, step 8
Proceed to s, the adder circuit 229 subtracts the code "31" distributed to the X register 228a and the code "30" generated from the code generation circuit 223, and the resulting data and carry (borrow) are subtracted. By making a judgment in the judgment circuit 233, it is judged whether or not the entered code is "30".

そして「30」であればステップS4へ進み、「30」
でなければステップagへ進む0この場合「31」であ
るからステップSLへ進み、同様の判断動作により「3
1」であることが判断されてステップS6へ進む。そし
て、11”のコードをコード発生回路223より発生さ
せ、Xレジス#228aに書き込む◎続いてXレジスタ
228畠の内容をゲート回路226、アダー回路229
、ゲート回路227を介してHレジスタ228eへ転送
する。これは、CPU22とメモリ291のデータ授受
はすべてHレジスタ228eを介して行うから一度Hレ
ジスタ228eに移すβのものである。さらに、コード
発生回路223からはメモリ291の記憶領域M (U
 O、Llり +7)7 Yレスを指定するためのコー
ド信号が発生され、また、インストラフシランデコーダ
225から読み出し/書き込み指令R/W=”0’  
(書込みモード)が出され、メモリ291の記憶領域M
 ([J o 、 Ll 2 )すなわち7ラグ記憶争
域P1にHレジスタ228cの内容@1mが書き込まれ
る。このフラグ記憶領域P!に11”が書き込まれると
責任者コードは印字対象となる。その後、ステップS1
sの実行がなされる。このステップStsでは、Wレジ
スタ228 diこ先のキーコードが記憶されているか
否かの判断がなされる。すなわち、フラグ設定モード状
態か否かの判断がなされ、またWレジスタ228dにキ
ーコードが記憶されているときには判断の結果YB8と
なりステップSsに戻り、キーサンプリング7a−が順
次繰返し実行され、また、それが記憶されていないとき
にはNoとなり印字設定動作が終了する。フラグ設定モ
ードを解除するには、モードスイッチ19を他のモード
に切換えればよい。
If it is "30", proceed to step S4, and if "30"
Otherwise, proceed to step ag0 In this case, since it is “31”, proceed to step SL, and by the same judgment operation, “3”
1'' and the process advances to step S6. Then, a code of 11" is generated from the code generation circuit 223 and written to the X register #228a. ◎Then, the contents of the X register 228 are sent to the gate circuit 226 and the adder circuit 229.
, is transferred to the H register 228e via the gate circuit 227. This is because all data exchange between the CPU 22 and the memory 291 is performed via the H register 228e, so the data is once transferred to the H register 228e. Further, from the code generation circuit 223, the storage area M (U
O, Ll +7) 7 A code signal for specifying Y-less is generated, and a read/write command R/W = “0” is issued from the infrastructure decoder 225.
(write mode) is issued, and the storage area M of the memory 291
([J o , Ll 2 ) That is, the contents @1m of the H register 228c are written to the 7-lag memory area P1. This flag storage area P! When "11" is written in , the responsible person code becomes the printing target. Then, in step S1
s is executed. In this step Sts, it is determined whether or not the next key code is stored in the W register 228. That is, it is determined whether or not the flag setting mode is in effect, and if the key code is stored in the W register 228d, the result of the determination is YB8 and the process returns to step Ss, where the key sampling 7a- is repeatedly executed in sequence. If it is not stored, the result is No and the print setting operation ends. To cancel the flag setting mode, simply switch the mode switch 19 to another mode.

次に「34」を置数すれば、上記同様の判断動作を行い
ながらステップ8m、8s、9t、8s、811を実行
してステップ8xzに進み、75グ記憶領域P4に11
1を書き込む。従って7ラグ記憶領域PxとPa1C”
1’が、Pa、P鵞、P I J(@0”が記憶され、
責任者コードと日付はレシートに印字し、連続ナンバー
、小計、部門別コードは印字しないように設定されたわ
けである。
Next, if "34" is entered, steps 8m, 8s, 9t, 8s, and 811 are executed while performing the same judgment operation as above, and the process proceeds to step 8xz, where 11 is stored in the 75-g storage area P4.
Write 1. Therefore, 7 lag storage areas Px and Pa1C”
1' is stored as Pa, P, P I J (@0",
The person in charge code and date were printed on the receipt, but consecutive numbers, subtotals, and departmental codes were not printed.

次に、レシート印字動作について説明する。例えば23
0円で部門01の商品を売ったとして、マス、モードス
イッチ19を「登録」の位置に切換設定し、テンキー1
1を操作して金額データr230J 、部門別キー12
を操作して部門別コード「01」を入力する。すると第
5 [(A)の7田−がスタートする。そして、入力さ
れた上記のデータがメモリ291の所定のアドレス例え
ば部門合計メモリ、小計金額メモリ等に集計された後(
ステップSzoの実行)、上記各データはI10フン)
a−ラ21を介してXレジスタ228aJ(送られ、そ
の後、プリントバッファFBの1〜6桁目に金額コード
がセットされ、7.8桁目に部門別コードがセットされ
るようになる(ステップS!1の実行)。次のステップ
S2!では印字フラグ記憶領域P1に10”が記憶され
ているか否かの判断がなされる。この例では0”が記憶
されているから、YB2となり、部門の印字が指定され
ていないことが判断されて、次のスナップS2sが実行
される。ここでは、プリントバッファPHの7.8桁目
にコード発生回路223より出力されるブランクコード
のセットが行われる。これはプリントバッファPHの7
.8桁目に部門別コードが入っているから、この代りに
ブランクコードをセットしなければ、その部門の印字が
なされてしまうからである。そして、次のステップ82
4でプリントバッファFBの読み出しデータと印字ト°
うムの位置検出信号との一致によって生じるハンマ駆動
信号によって所定のハンマが駆動されて第6図(B)の
レシート印字例の1行目に示すように印字がなされる。
Next, the receipt printing operation will be explained. For example 23
Assuming that you sell a product in department 01 for 0 yen, set the mode switch 19 to the "Register" position, and press the numeric keypad 1.
1 to enter amount data r230J and department key 12
Enter the department code "01" by operating . Then, the 5th [(A) 7 field] starts. After the above-mentioned input data is totaled at a predetermined address in the memory 291, for example, department total memory, subtotal amount memory, etc.
Execution of step Szo), each of the above data is I10)
It is sent to the X register 228aJ via the a-ra 21, and then the amount code is set in the 1st to 6th digits of the print buffer FB, and the departmental code is set in the 7th and 8th digits (step (Execution of S!1).In the next step S2!, it is determined whether or not 10" is stored in the print flag storage area P1. In this example, since 0" is stored, it becomes YB2, and the department It is determined that printing is not specified, and the next snap S2s is executed. Here, a blank code output from the code generation circuit 223 is set at the 7th and 8th digits of the print buffer PH. .This is print buffer PH 7
.. Since the 8th digit contains a department code, unless a blank code is set in its place, that department will be printed. Then, the next step 82
Step 4: Read data from print buffer FB and print data
A predetermined hammer is driven by a hammer drive signal generated by coincidence with the hammer position detection signal, and printing is performed as shown in the first line of the receipt printing example in FIG. 6(B).

また、ステップS鵞3の判断の結果、NOであれば、そ
の部門別コードの印字が指定されたことになり、ステッ
プ8zsを飛ばしてステップSzaが実行される。続い
て1400円を部門04へ登録した場合も同様である。
If the result of the determination in step S3 is NO, this means that printing of the departmental code has been designated, and step Sza is executed, skipping step 8zs. The same applies when 1400 yen is subsequently registered in department 04.

その後、小計キー16を操作すると、第5 N (B)
の7胃−がスタートし、プリントバッファFBの0桁目
に小計キーのコードがセットされ、1〜6桁目に小計金
額がセットされてステップS3・が実行される。そいる
か否かの判断がなされ、その結果がNoであれば印字が
指定されたことになってステップaSSの小計印字が実
行される。この場合はフラグ記憶領域Ptiこは@0”
が記憶されているから、ステップ8ssでの判断の結果
がYB2となり、印字が指定されないことになってステ
ップSlが飛ばされ、小計の記号「小」および小計金額
は印字されないことになる。
After that, when the subtotal key 16 is operated, the 5th N (B)
7 starts, the subtotal key code is set in the 0th digit of the print buffer FB, the subtotal amount is set in the 1st to 6th digits, and step S3 is executed. If the result is No, printing is designated and subtotal printing in step aSS is executed. In this case, the flag storage area Pti is @0”
is stored, the result of the determination in step 8ss is YB2, printing is not specified, step Sl is skipped, and the subtotal symbol "small" and the subtotal amount are not printed.

最後に、現金キー18を操作すると、第5図(C)の7
四−がスタートシ、今回登録した売上データがメモリ2
91の所定のアドレスに集計された後(ステップ84G
の実行)、プリントバッファPBの0桁に「現」の文字
を印字するためのコー次のステップS4怠で現金の記号
「現」と合計金額が印字される。次のステップ84Bで
、プリントバッファFBの1〜3桁目に連続ナンバーの
コードがセットされ、4桁目に「NO」のコードがセッ
トされ、8桁目に責任者コードがセットされる。
Finally, when the cash key 18 is operated, 7 in FIG.
4- is the start screen, and the sales data registered this time is in memory 2.
91 predetermined addresses (step 84G).
), the cash symbol "current" and the total amount are printed by neglecting the next step S4 to print the character "current" in the 0th digit of the print buffer PB. In the next step 84B, consecutive number codes are set in the first to third digits of the print buffer FB, a "NO" code is set in the fourth digit, and a responsible person code is set in the eighth digit.

そして、ステップ844でフラグ記憶領域Poが@ (
) #か否かの判断がなされ、その結果YESであれば
不印字指定であり、ステップ8411でプリントバッフ
ァPBの1〜4桁目にブランクコードが入力される。ま
た、その判断の結果がNoであれば印字が指定されたこ
とになるのでステップ8411を飛ばして次のステップ
S48へ送られる。このステップ841Bではフラグ記
憶領域P1が@01か否かの判断がなされ、その結果Y
B8であれば印字対象とならず、ステップ841でプリ
ントバッファFBの8桁目にブランクコードが入力され
る・また、その判断の結果がNOであれば印字対象とな
りステップ8411で印字がなされる。最後にステップ
S49で7ラグ記憶領域P4が′″O′か否かの判断が
なされ、その結果Noであれば印字対象となりステップ
Ssoで日付印字がなされる。また、その判断の結果が
YB2であればステップSsoは飛ばされて印字がなさ
れない。この例ではフラグ記憶領域P1とP4に@11
が記憶されているから、X f−/プ841 、S4x
、84m、844.848 、 S4s、848.84
11.886の順で実行される。
Then, in step 844, the flag storage area Po is @ (
) A determination is made as to whether or not #, and if the result is YES, non-printing is designated, and in step 8411 blank codes are input into the 1st to 4th digits of the print buffer PB. Further, if the result of the determination is No, it means that printing has been designated, so step 8411 is skipped and the process is sent to the next step S48. In this step 841B, it is determined whether the flag storage area P1 is @01, and as a result, Y
If it is B8, it is not to be printed, and a blank code is input to the 8th digit of the print buffer FB in step 841.If the result of the determination is NO, it is to be printed, and printing is performed in step 8411. Finally, in step S49, it is determined whether the 7-lag storage area P4 is ``O'' or not. If the result is No, it becomes a printing target and the date is printed in step Sso. Also, the result of that determination is YB2. If so, step Sso is skipped and no printing is performed.In this example, @11 is stored in flag storage areas P1 and P4.
is stored, so X f-/pu841, S4x
, 84m, 844.848, S4s, 848.84
11.886.

なお、第6図はレシートの印字状態とプリントバッファ
Paとの対応図を示したもので、第6vtI(人)のレ
シートの印字状態はこの機種に用意されている印字デー
タをすべて印字した場合、第6図(B)は上述の如く部
門、小計、連続ナンバーを印字しないように設定した場
合を示すものである。
In addition, Fig. 6 shows a correspondence diagram between the printing state of the receipt and the print buffer Pa, and the printing state of the receipt of the 6th vtI (person) is as follows when all the print data prepared for this model is printed. FIG. 6(B) shows the case where the department, subtotal, and consecutive numbers are set not to be printed as described above.

〔発明の効果〕〔Effect of the invention〕

この発明は、各種売上データに対する部門別コードの印
字、不印字の選択を行うことで見易いレシート、ジャー
ナル等を提供できる。
This invention can provide easy-to-read receipts, journals, etc. by selecting whether or not to print departmental codes for various sales data.

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

箕1図はこの発明の一実施例を示すシステム構成図、第
2図はそのメモリ291の構成図、第3図は印字データ
の糖類に対応したコード−覧表、第4図は印字フラグ設
定動作を示す7四−チャード、第5図(A)、(B)、
(C)は印字動作を示すフローチャートで、同図(A)
は部門別キーを操作した場合、同図(B)は小計キーを
操作した場合1同図(C)は現金キーを操作した場合、
第6図(A)、(B)はレシートの印字状態とプリント
バッファFBの対応図である。 10・・・・・・キーボード、11・・・・・・テンキ
ー17・・・・・・印字キー 19・・・・・・モード
スイッチ、22・・・・・・CPU、  24・・・・
・・印字部、291・・・・・・メモリ、 Po−P 4・・・・・・フラグ記憶領域。
Figure 1 is a system configuration diagram showing an embodiment of this invention, Figure 2 is a configuration diagram of its memory 291, Figure 3 is a list of codes corresponding to sugars in the print data, and Figure 4 is a print flag setting. 74-chard showing operation, Figure 5 (A), (B),
(C) is a flowchart showing the printing operation, and (A)
(B) is when the subtotal key is operated.1 (C) is when the cash key is operated.
FIGS. 6A and 6B are diagrams showing the correspondence between the printed state of the receipt and the print buffer FB. 10... Keyboard, 11... Numeric keypad 17... Print key 19... Mode switch, 22... CPU, 24...
...Printing section, 291...Memory, Po-P4...Flag storage area.

Claims (1)

【特許請求の範囲】 部門別に指定された売上データを入力する入力手段と、 この入力手段により入力された売上データを、前記指定
の部門側に累計する累計手段と、 記録紙上に部門コードを印字するか否かを任意に指定す
る指定手段と、 この指定手段による指定内容を示す指定情報を記憶する
記憶手段と、 前記入力手段により入力された各種売上データを前記記
録紙上に印字する際、各種売上データに対して指定され
た部門の部門コードを、前記指定情報の指定に応じて選
択的に印字する印字手段とを備えた電子式金銭登録機。
[Scope of Claims] Input means for inputting sales data specified by department; accumulating means for accumulating the sales data input by the input means in the specified department; and printing a department code on recording paper. a specifying means for arbitrarily specifying whether or not to do so; a storage means for storing specifying information indicating the content specified by the specifying means; An electronic cash register comprising: printing means for selectively printing a department code of a department designated for sales data according to the designation of the designation information.
JP14569489A 1989-06-08 1989-06-08 Electronic cash register Pending JPH0242597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14569489A JPH0242597A (en) 1989-06-08 1989-06-08 Electronic cash register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14569489A JPH0242597A (en) 1989-06-08 1989-06-08 Electronic cash register

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP11760178A Division JPS5544623A (en) 1978-09-25 1978-09-25 Electronic cash register

Publications (1)

Publication Number Publication Date
JPH0242597A true JPH0242597A (en) 1990-02-13

Family

ID=15390943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14569489A Pending JPH0242597A (en) 1989-06-08 1989-06-08 Electronic cash register

Country Status (1)

Country Link
JP (1) JPH0242597A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04114687U (en) * 1991-03-28 1992-10-09 カシオ計算機株式会社 Sales data processing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52152140A (en) * 1976-06-14 1977-12-17 Tokyo Electric Co Ltd Electronic type cash register
JPS5461838A (en) * 1977-10-26 1979-05-18 Omron Tateisi Electronics Co Print control system
JPS6077859A (en) * 1983-09-15 1985-05-02 クリエイティブ セラーズ インコーポレーテッド Supporter for bottle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52152140A (en) * 1976-06-14 1977-12-17 Tokyo Electric Co Ltd Electronic type cash register
JPS5461838A (en) * 1977-10-26 1979-05-18 Omron Tateisi Electronics Co Print control system
JPS6077859A (en) * 1983-09-15 1985-05-02 クリエイティブ セラーズ インコーポレーテッド Supporter for bottle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04114687U (en) * 1991-03-28 1992-10-09 カシオ計算機株式会社 Sales data processing device

Similar Documents

Publication Publication Date Title
JPS5833986B2 (en) Group management method for multiple electronic cash registers
JPS6262397B2 (en)
JPS6259840B2 (en)
JPH0242597A (en) Electronic cash register
JPS6053360B2 (en) Aggregation method in cash register
JPS6262398B2 (en)
JPS6239465B2 (en)
JP2724579B2 (en) Electronic cash register
JPS5835302B2 (en) electronic cash register
JPS6246908B2 (en)
JPS5847471Y2 (en) Electronic register with transaction-specific registration function
JP3472501B2 (en) Electronic cash register
JPH03677B2 (en)
JPH06309566A (en) Commodity sales register data processor
JP3292546B2 (en) Electronic cash register
JPS62164195A (en) Pos terminal
JPS5851305B2 (en) electronic cash register
JPH0258672B2 (en)
JPH0119197B2 (en)
JPS6228895A (en) Electronic cash register
JPH04217100A (en) Commodity sales data processor
JP4843437B2 (en) Product sales data processing device
JPS6237796A (en) Cash register
JPS59197958A (en) Electronic cash register
JPS6364197A (en) Electronic type cash register