JP6784110B2 - Arithmetic logic unit, arithmetic printing method, and program - Google Patents

Arithmetic logic unit, arithmetic printing method, and program Download PDF

Info

Publication number
JP6784110B2
JP6784110B2 JP2016183287A JP2016183287A JP6784110B2 JP 6784110 B2 JP6784110 B2 JP 6784110B2 JP 2016183287 A JP2016183287 A JP 2016183287A JP 2016183287 A JP2016183287 A JP 2016183287A JP 6784110 B2 JP6784110 B2 JP 6784110B2
Authority
JP
Japan
Prior art keywords
calculation
data
tax
arithmetic
key
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.)
Active
Application number
JP2016183287A
Other languages
Japanese (ja)
Other versions
JP2018049379A (en
JP2018049379A5 (en
Inventor
博明 吉澤
博明 吉澤
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 JP2016183287A priority Critical patent/JP6784110B2/en
Priority to CN202110661737.8A priority patent/CN113326225A/en
Priority to CN201710742081.6A priority patent/CN107844452B/en
Publication of JP2018049379A publication Critical patent/JP2018049379A/en
Publication of JP2018049379A5 publication Critical patent/JP2018049379A5/en
Application granted granted Critical
Publication of JP6784110B2 publication Critical patent/JP6784110B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/02Digital computers in general; Data processing equipment in general manually operated with input through keyboard and computation using a built-in program, e.g. pocket calculators
    • G06F15/0225User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems
    • G06F15/0233User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems with printing provisions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1218Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources
    • G06F3/1219Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources with regard to consumables, e.g. ink, toner, paper
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Calculators And Similar Devices (AREA)

Description

本発明は、計算機能と印刷機能を備えた電子式卓上計算機(プリンタ付き電卓)等の演算装置、演算印刷方法、及びその制御プログラムに関する。 The present invention relates to an arithmetic unit such as an electronic desk calculator (calculator with a printer) having a calculation function and a printing function, an arithmetic printing method, and a control program thereof.

従来、検算を行ないその結果を印字する機能を有する電子計算機において、入力された一連の演算式データと新たに入力された演算式データとの一致が検出された後に、前記一連の演算式データと演算結果とを検算終了マークと共に印刷することが考えられている。 Conventionally, in a computer having a function of performing a check and printing the result, after a match between a series of input calculation formula data and a newly input calculation formula data is detected, the series of calculation formula data is combined with the above-mentioned series of calculation formula data. It is considered to print the calculation result together with the check end mark.

これによれば、前回の計算の際には印刷は行われず、前回と今回の全てのデータの一致が確認された後に印刷されるので、印刷紙を節約できる。また、演算結果と共に検算終了マークが印刷されるので、印刷された内容が検算を実施した結果であることを明確にできる(例えば、特許文献1参照。)。 According to this, printing is not performed at the time of the previous calculation, and printing is performed after all the data of the previous time and this time are confirmed to match, so that the printing paper can be saved. Further, since the check completion mark is printed together with the calculation result, it is possible to clarify that the printed content is the result of performing the check (see, for example, Patent Document 1).

特開平08−241285号公報Japanese Unexamined Patent Publication No. 08-241285

前記従来の電子計算機は、計算操作に応じて登録された計算データをユーザ操作に応じて印刷できるものではない。また、計算操作の途中における無駄な印刷を無くしつつ必要な印刷を適切に行えるものでもない。 The conventional computer cannot print the calculation data registered according to the calculation operation according to the user operation. Further, it is not possible to properly perform the necessary printing while eliminating unnecessary printing in the middle of the calculation operation.

本発明は、このような課題に鑑みなされたもので、計算操作に応じて登録された計算データをユーザ操作に応じて印刷できるものであり、無駄な印刷を無くしつつ必要な印刷を適切に行なうことが可能になる演算装置、演算印刷方法、及びその制御プログラムを提供することを目的とする。 The present invention has been made in view of such a problem, and can print the calculation data registered according to the calculation operation according to the user operation, and can appropriately perform the necessary printing while eliminating unnecessary printing. It is an object of the present invention to provide a calculation device, a calculation printing method, and a control program thereof that enable the calculation .

本発明に係る演算装置は、ユーザによる演算の操作を受け付ける演算受付手段と、ユーザの印刷指示操作に基づいて、演算された演算結果データを含む演算データを印刷する印刷制御手段と、を備え、前記印刷制御手段は、ユーザの印刷指示操作がなされた際に、前記演算受付手段による演算の操作の受け付け途中であるか又は演算の操作に対応する演算データの設定途中であると判断されている場合は、前記印刷指示操作を無効にする演算途中印刷無効手段を備えているThe arithmetic unit according to the present invention includes an arithmetic receiving means for receiving an operation of an operation by a user, and a print control means for printing arithmetic data including the arithmetic result data calculated based on a print instruction operation of the user. It is determined that the print control means is in the process of accepting the operation of the calculation by the calculation receiving means or is in the process of setting the calculation data corresponding to the operation of the calculation when the user's print instruction operation is performed. In this case, the print invalidation means during the calculation is provided to invalidate the print instruction operation .

本発明によれば、計算操作に応じて登録された計算データをユーザ操作に応じて印刷できるものであり、無駄な印刷を無くしつつ必要な印刷を適切に行なうことが可能になる。 According to the present invention, the calculation data registered according to the calculation operation can be printed according to the user operation, and the necessary printing can be appropriately performed while eliminating unnecessary printing.

本発明の演算装置の実施形態に係るプリンタ付き電卓10の外観構成を示す正面図。The front view which shows the appearance structure of the calculator 10 with a printer which concerns on embodiment of the arithmetic unit of this invention. 前記プリンタ付き電卓10の電子回路の構成を示すブロック図。The block diagram which shows the structure of the electronic circuit of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データメモリ22dに登録された通貨換算に応じた計算操作データの具体例(第1実施形態)を示す図。The figure which shows the specific example (first embodiment) of the calculation operation data corresponding to the currency conversion registered in the calculation data memory 22d of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データメモリ22dに登録された税計算に応じた計算操作データの具体例(第2実施形態)を示す図。The figure which shows the specific example (second embodiment) of the calculation operation data corresponding to the tax calculation registered in the calculation data memory 22d of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その1)を示すフローチャート。The flowchart which shows the calculation data printing process (the 1) of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その2)を示すフローチャート。The flowchart which shows the calculation data printing process (the 2) of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その3)を示すフローチャート。The flowchart which shows the calculation data printing process (the 3) of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その4)を示すフローチャート。The flowchart which shows the calculation data printing process (the 4) of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その5)を示すフローチャート。The flowchart which shows the calculation data printing process (the 5) of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その5)における登録データ印刷処理を示すフローチャート。The flowchart which shows the registration data printing process in the calculation data printing process (the 5) of the calculator with a printer 10. 前記計算データ印刷処理の第1実施形態のユーザ操作に応じた表示・印刷動作を示す図。The figure which shows the display / print operation according to the user operation of 1st Embodiment of the said calculation data printing process. 前記計算データ印刷処理の第2実施形態のユーザ操作に応じた表示・印刷動作を示す図。The figure which shows the display / print operation according to the user operation of the 2nd Embodiment of the said calculation data printing process.

以下図面により本発明の実施の形態について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の演算装置の実施形態に係るプリンタ付き電卓10の外観構成を示す正面図である。 FIG. 1 is a front view showing an external configuration of a calculator 10 with a printer according to an embodiment of the arithmetic unit of the present invention.

前記プリンタ付き電卓10は、計算専用の電卓10として構成する他、計算機能と印刷機能を有する(計算データ印刷処理プログラムが実装された)パーソナルコンピュータ、タブレット型コンピュータ、スマートフォン、携帯電話機、タッチパネル式PDA(personal digital assistants)、電子ブック、携帯ゲーム機等として構成することができる。 The calculator with a printer 10 is configured as a calculator 10 dedicated to calculation, and also has a calculation function and a printing function (a calculation data printing processing program is implemented), a personal computer, a tablet computer, a smartphone, a mobile phone, and a touch panel PDA. It can be configured as (personal digital assistants), electronic books, portable game machines, etc.

なお、前記電卓10のような物理的なキー(ボタン)が実装されていない計算装置は、前記電卓10のキーと同様なソフトウェアキーボードを表示し、当該ソフトウェアキーボードに対するキー操作に応じて計算処理を実行する。また、前記プリンタ付き電卓10のような印刷装置が実装されていない計算装置は、近距離無線通信等により外部の印刷装置と通信接続し、当該印刷装置に印刷制御信号と印刷データを送信して印刷処理を実行する。 A calculator such as the calculator 10 on which no physical keys (buttons) are mounted displays a software keyboard similar to the keys of the calculator 10, and performs calculation processing according to key operations on the software keyboard. Run. Further, a computing device such as the printer-equipped calculator 10 on which a printing device is not mounted communicates with an external printing device by short-range wireless communication or the like, and transmits a print control signal and print data to the printing device. Execute the print process.

本実施形態におけるプリンタ付き電卓10には、加減乗除等の通常の計算機能、表示機能、印刷機能の他、ユーザ操作に応じて入力された数値データを対象に、予め設定された通貨レートに応じた通貨換算をする通貨換算機能、予め設定された税率に基づいた税計算をする税計算機能、前記通貨換算機能により換算された計算データや前記税計算機能により税計算された計算データを表示する表示機能、当該通貨換算や税計算の計算データを印刷する印刷機能が備えられる。 The calculator 10 with a printer in the present embodiment has a normal calculation function such as addition, subtraction, multiplication and division, a display function, a printing function, and a numerical data input according to a user operation according to a preset currency rate. The currency conversion function that converts the currency, the tax calculation function that calculates the tax based on the preset tax rate, the calculation data converted by the currency conversion function, and the calculation data calculated by the tax calculation function are displayed. It is equipped with a display function and a print function that prints the calculation data of the currency conversion and tax calculation.

前記プリンタ付き電卓10は、机上に置いて操作し易い置き型の本体ケースの手前側にキー入力部11を備え、キー入力部11の奥側に表示部12、印刷部13を備えている。 The calculator 10 with a printer includes a key input unit 11 on the front side of a stationary main body case that can be easily placed and operated on a desk, and a display unit 12 and a printing unit 13 on the back side of the key input unit 11.

前記キー入力部11には、数値キー、演算キー、通貨換算機能キー、税計算機能キー、印刷機能キー、確認/修正機能キー、その他の機能キーが設けられる。 The key input unit 11 is provided with a numerical key, a calculation key, a currency conversion function key, a tax calculation function key, a print function key, a confirmation / correction function key, and other function keys.

前記数値キーは、例えば[00][0]〜[9]のそれぞれに対応する複数のキーを含む。前記演算キーは、例えば[+=](加算合計)キー、[−](減算)キー、[×](乗算)キー、[÷](除算)キーのそれぞれに対応する複数のキーを含む。なお、前記[+=](加算合計)キーを入力した場合は、当該[+=]キーの直前に入力された数値までを加算した合計の計算データが得られる。 The numerical key includes, for example, a plurality of keys corresponding to each of [00] [0] to [9]. The calculation key includes, for example, a plurality of keys corresponding to each of a [+ =] (addition total) key, a [−] (subtraction) key, a [×] (multiplication) key, and a [÷] (division) key. When the [+ =] (total addition) key is input, the total calculation data obtained by adding up to the numerical value input immediately before the [+ =] key is obtained.

通貨換算機能キーは、電源(ON/OFF/ITEM/CONVERSION)キー11E、[%(SET)](換算レート設定)キー11i、[M*($)]キー11j、[M◇(C1)]キー11k、[M−(C2)]キー11l、[M+(C3)]キー11mを含む。前記[M*($)]キー11j〜[M+(C3)]キー11mは、前記電源キー11Eが[CONVERSION](通貨換算)の位置に切替えられた状態で、[$](ドル)キー11j、[C1](通貨1)キー11k、[C2](通貨2)キー11l、[C3](通貨3)キー11mとして機能する。 The currency conversion function keys are the power supply (ON / OFF / ITEM / CONVERSION) key 11E, [% (SET)] (conversion rate setting) key 11i, [M * ($)] key 11j, [M ◇ (C1)]. The key 11k, the [M- (C2)] key 11l, and the [M + (C3)] key 11m are included. The [M * ($)] key 11j to [M + (C3)] key 11m are the [$] (dollar) key 11j in a state where the power key 11E is switched to the [CONVERSION] (currency conversion) position. , [C1] (currency 1) key 11k, [C2] (currency 2) key 11l, [C3] (currency 3) key 11m.

前記税計算機能キーは、[TAX+](税込計算:税計算1)キー11b、[TAX−](税抜計算:税計算2)キー11cのそれぞれに対応する複数のキーを含む。 The tax calculation function key includes a plurality of keys corresponding to each of the [TAX +] (tax calculation: tax calculation 1) key 11b and the [TAX-] (tax exclusion calculation: tax calculation 2) key 11c.

前記印刷機能キーは、[PRT](プリントモード)キー11a、[REPRINT](登録データ印刷)キー11gのそれぞれに対応する複数のキーを含む。 The print function key includes a plurality of keys corresponding to each of the [PRT] (print mode) key 11a and the [REPRINT] (registered data print) key 11g.

前記確認/修正機能キーは、登録データ確認キー([▽]キー11d,[△]キー11e)、[CORRECT](修正)キー11fのそれぞれに対応する複数のキーを含む。 The confirmation / correction function key includes a plurality of keys corresponding to each of the registration data confirmation key ([▽] key 11d, [Δ] key 11e) and [CORRECT] (correction) key 11f.

その他の機能キーには、例えばクリアオールキー([CA]キー11h)、クリアキー([C]キー)、グランドトータルキー([G*]キー)、トータルキー([*]キー11n)などが含まれる。 Other function keys include, for example, clear all key ([CA] key 11h), clear key ([C] key), grand total key ([G *] key), total key ([*] key 11n), and the like. included.

前記表示部12は、ドットマトリクス型の液晶表示ユニットからなる。表示部12には、キー入力部11のキーに対する操作により入力された数値が表示される。表示部12には、限られた行数分(例えば1行)の数値が表示される。また、表示部12の辺に沿って設けられた状態表示エリアには、計算操作データの行番号や設定中の計算モード等、各種の状態を示す数字、文字、記号(シンボル)が表示される。 The display unit 12 is composed of a dot matrix type liquid crystal display unit. The display unit 12 displays the numerical value input by the operation of the key of the key input unit 11. The display unit 12 displays numerical values for a limited number of lines (for example, one line). Further, in the state display area provided along the side of the display unit 12, numbers, characters, and symbols (symbols) indicating various states such as the line number of the calculation operation data and the calculation mode being set are displayed. ..

前記印刷部13は、例えば熱転写式の印刷機構を備え、前記[PRT]キー11aの操作に応じたプリントモードOFF/ONの設定状態と前記[REPRINT]キー11gの入力状態とに基づいて、入力された数値データと通貨換算操作や税計算操作に応じて計算した結果や、前記計算操作データについて計算した結果等を記録紙Pに印刷して出力する。 The printing unit 13 is provided with, for example, a thermal transfer type printing mechanism, and inputs data based on a print mode OFF / ON setting state corresponding to the operation of the [PRT] key 11a and an input state of the [REPRINT] key 11g. The numerical data obtained, the result of calculation according to the currency conversion operation and the tax calculation operation, the calculation result of the calculation operation data, and the like are printed on the recording paper P and output.

図2は、前記プリンタ付き電卓10の電子回路の構成を示すブロック図である。 FIG. 2 is a block diagram showing a configuration of an electronic circuit of the calculator with a printer 10.

前記プリンタ付き電卓10の電子回路は、コンピュータであるCPU(プロセッサ)21を備えている。前記CPU21は、メモリ22に記憶される計算機制御プログラムに従い回路各部の動作を制御し、前記キー入力部11のユーザ操作に応じた各種の計算機能や計算データの印刷機能を実行する。 The electronic circuit of the calculator 10 with a printer includes a CPU (processor) 21 which is a computer. The CPU 21 controls the operation of each part of the circuit according to the computer control program stored in the memory 22, and executes various calculation functions and calculation data printing functions according to the user operation of the key input unit 11.

前記CPU(プロセッサ)21には、前記キー入力部11、表示部12、印刷部13、メモリ22が接続される他に、メモリカード等の外部記録媒体23に記録されたデータを読み取る記録媒体読取部24、外部機器(30)との通信を行なう通信部25も接続される。 In addition to connecting the key input unit 11, the display unit 12, the printing unit 13, and the memory 22 to the CPU (processor) 21, the recording medium reading that reads the data recorded on the external recording medium 23 such as a memory card. The communication unit 25 that communicates with the unit 24 and the external device (30) is also connected.

前記計算機制御プログラムは、前記メモリ22に予め記憶されるか、外部記録媒体23から記録媒体読取部24により読み取られて前記メモリ22に記憶されるか、通信ネットワークN上のWebサーバ(プログラムサーバ)30から前記通信部25を介してダウンロードされ前記メモリ22に記憶される。 The computer control program is stored in the memory 22 in advance, or is read from the external recording medium 23 by the recording medium reading unit 24 and stored in the memory 22, or is a Web server (program server) on the communication network N. It is downloaded from 30 via the communication unit 25 and stored in the memory 22.

前記計算機制御プログラムには、ユーザ操作に応じた各種の計算処理(通貨換算処理、税計算処理を含む)プログラムの他、当該計算処理プログラムに従い実行された計算処理の計算データを印刷するための計算データ印刷処理プログラム22aが含まれる。 The computer control program includes various calculation processing (including currency conversion processing and tax calculation processing) programs according to user operations, as well as calculations for printing calculation data of calculation processing executed according to the calculation processing program. The data printing processing program 22a is included.

また、前記メモリ22には、PRINTモードメモリ22b、計算モードメモリ22c、計算データメモリ22d、行番号メモリ22e、状態フラグメモリ22f、換算レートメモリ22gが確保される。 Further, in the memory 22, a PRINT mode memory 22b, a calculation mode memory 22c, a calculation data memory 22d, a line number memory 22e, a state flag memory 22f, and a conversion rate memory 22g are secured.

前記PRINTモードメモリ22bには、本電卓10の電源ON時の初期設定においてプリントモードONの設定データが記憶され、その後は、前記[PRT](プリントモード)キー11aが操作される毎にプリントモードOFFの設定データとプリントモードONの設定データとが切り替えられて記憶される。なお、プリントモードONの状態では、計算操作データの入力が確定する毎に印刷が行われる。 The PRINT mode memory 22b stores the setting data of the print mode ON in the initial setting when the power of the calculator 10 is turned ON, and thereafter, every time the [PRT] (print mode) key 11a is operated, the print mode is stored. The OFF setting data and the print mode ON setting data are switched and stored. In the state where the print mode is ON, printing is performed every time the input of the calculation operation data is confirmed.

前記計算モードメモリ22cには、ユーザ操作に応じて入力される数値データとユーザによる通貨換算や税計算の操作データ又は演算操作データからなる計算操作データを順次登録する登録モードの設定データか、当該登録モードで登録された計算操作データを前記登録データ確認キー([▽]キー11d,[△]キー11e)の入力に応じて呼び出して表示させる確認(検算)モードの設定データか、当該確認(検算)モードで呼び出して表示された計算操作データを対象に前記[CORRECT](修正)キー11fの入力により修正可能な状態に設定する修正モードの設定データが記憶される。 In the calculation mode memory 22c, the registration mode setting data for sequentially registering the calculation operation data including the numerical data input according to the user operation and the operation data of currency conversion or tax calculation by the user or the calculation operation data, or the relevant Whether the calculation operation data registered in the registration mode is the setting data of the confirmation (verification) mode in which the registration data confirmation key ([▽] key 11d, [△] key 11e) is called and displayed in response to the input, or the confirmation (confirmation) The setting data of the correction mode for setting the calculation operation data called and displayed in the check) mode into a state that can be corrected by inputting the [CORRECT] (correction) key 11f is stored.

前記計算データメモリ22dには、前記登録モードにおいて、ユーザ操作に応じて入力された一連の計算データが、順次増加される行番号に対応付けられた計算操作データとして記憶され登録される。 In the calculation data memory 22d, in the registration mode, a series of calculation data input according to the user operation is stored and registered as calculation operation data associated with the line numbers that are sequentially increased.

図3、図4は、前記プリンタ付き電卓10の計算データメモリ22dに登録された計算操作データの具体例を示す図であり、図3は通貨換算に応じた具体例(第1実施形態)を示す図、図4は税計算に応じた具体例(第2実施形態)を示す図である。 3 and 4 are diagrams showing specific examples of calculation operation data registered in the calculation data memory 22d of the calculator with a printer 10, and FIG. 3 shows specific examples (first embodiment) according to currency conversion. The figure and FIG. 4 are diagrams showing a specific example (second embodiment) according to the tax calculation.

前記行番号メモリ22eには、前記登録モード、確認モード、修正モード、前記[REPRINT]キー11gの操作に応じたリプリントモード(登録データ印刷モード)の各モードにおいて、前記計算データメモリ22dの処理対象とする行番号のデータが記憶される。 The line number memory 22e is the processing target of the calculation data memory 22d in each mode of the registration mode, the confirmation mode, the correction mode, and the reprint mode (registered data print mode) corresponding to the operation of the [REPRINT] key 11g. The data of the line number to be used is stored.

前記状態フラグメモリ22fには、前記計算データ印刷処理(22a)に応じた本電卓10の動作状態が、数値データを入力する[数値入力状態]か、[税込計算の税込額表示状態]か、[税込計算の税額表示状態]か、[税抜計算の税抜額表示状態]か、[税抜計算の税額表示状態]かの何れにあるかを示す状態フラグが記憶される。 In the state flag memory 22f, the operating state of the calculator 10 according to the calculation data printing process (22a) is whether it is a [numerical value input state] for inputting numerical data or a [tax-included amount display state for tax-included calculation]. A status flag indicating whether it is in [tax-excluded calculation tax display status], [tax-excluded tax-excluded display status], or [tax-excluded tax display status] is stored.

前記換算レートメモリ22gには、前記[%(SET)](換算レート設定)キー11iの長押し操作に応じた換算レートの設定モードにおいて、例えば基本通貨[$]に対応する各国通貨の換算レートが、前記数値キーの操作に応じて入力された数値データと前記[C1](通貨1)キー11k〜[C3](通貨3)キー11mの操作に応じて指定された通貨の種類とに応じて、例えば[C1]が「円」の換算レート、[C2]が「元」の換算レートとして記憶される。 In the conversion rate memory 22g, in the conversion rate setting mode corresponding to the long press operation of the [% (SET)] (conversion rate setting) key 11i, for example, the conversion rate of each country's currency corresponding to the basic currency [$] However, depending on the numerical data input in response to the operation of the numerical key and the type of currency specified in response to the operation of the [C1] (currency 1) key 11k to [C3] (currency 3) key 11m. For example, [C1] is stored as a "yen" conversion rate, and [C2] is stored as a "yuan" conversion rate.

このように構成されたプリンタ付き電卓10は、前記CPU21が前記計算機制御プログラム(計算データ印刷処理プログラム22a含む)に記述された命令に従い回路各部の動作を制御し、ソフトウエアとハードウエアとが協働して動作することにより、以下の動作説明で述べるような、各種の計算機能や計算データの印刷機能を実現する。 In the calculator 10 with a printer configured in this way, the CPU 21 controls the operation of each part of the circuit according to the instruction described in the computer control program (including the calculation data printing processing program 22a), and the software and the hardware cooperate with each other. By working and operating, various calculation functions and calculation data printing functions as described in the following operation explanations are realized.

次に、前記構成のプリンタ付き電卓10の動作について説明する。 Next, the operation of the printer-equipped calculator 10 having the above configuration will be described.

図5〜図9は、前記プリンタ付き電卓10の計算データ印刷処理(その1〜5)を示すフローチャートである。 5 to 9 are flowcharts showing calculation data printing processing (Nos. 1 to 5) of the calculator 10 with a printer.

図10は、前記プリンタ付き電卓10の計算データ印刷処理(その5)における登録データ印刷処理を示すフローチャートである。 FIG. 10 is a flowchart showing a registered data printing process in the calculation data printing process (No. 5) of the calculator with a printer 10.

(第1実施形態)
この第1実施形態では、前記PRINTモードメモリ22bにプリントモードOFFの設定データが記憶された状態での通貨換算機能に応じた動作について説明する。
(First Embodiment)
In this first embodiment, the operation according to the currency conversion function in the state where the print mode OFF setting data is stored in the PRINT mode memory 22b will be described.

図11は、前記計算データ印刷処理の第1実施形態のユーザ操作に応じた表示・印刷動作を示す図である。 FIG. 11 is a diagram showing a display / printing operation according to a user operation according to the first embodiment of the calculation data printing process.

前記プリンタ付き電卓10において、ユーザ操作に応じて電源ON(ここでは、電源キー11Eを[CONVERSION](通貨換算)の位置に切替え)されると、CPU21により、当該電源ONに応じた初期設定の処理として、前記PRINTモードメモリ22bにプリントモード(ON)の設定データが記憶され、前記計算モードメモリ22cに登録モードの設定データが記憶され、前記行番号メモリ22eに行番号“0”のデータが記憶される(ステップS1)。 When the power is turned on (here, the power key 11E is switched to the [CONVERSION] (currency conversion) position) in response to the user operation in the calculator 10 with a printer, the CPU 21 sets the initial settings according to the power ON. As a process, the print mode (ON) setting data is stored in the PRINT mode memory 22b, the registration mode setting data is stored in the calculation mode memory 22c, and the line number “0” data is stored in the line number memory 22e. It is stored (step S1).

前記プリントモード(ON)の状態で、図11(A1)に示すように、前記[PRT](プリントモード)キー11aが操作されると(ステップS2(Yes))、前記プリントモード(ON)の設定データがプリントモード(OFF)の設定データに切り替えられる(ステップS3)。 As shown in FIG. 11 (A1), when the [PRT] (print mode) key 11a is operated in the print mode (ON) state (step S2 (Yes)), the print mode (ON) is set. The setting data is switched to the setting data of the print mode (OFF) (step S3).

そして、[CA]キー11hが操作されると(ステップS4(Yes))、前記行番号のデータが改めて“0”に設定される(ステップS5)。 Then, when the [CA] key 11h is operated (step S4 (Yes)), the line number data is set to "0" again (step S5).

ここで、例えば、基本通貨「$」に対応する「円」の換算レートが111.2円/$、「元」の換算レートが6.585元/$である場合に、図11(A2)に示すように、「元」に対応する円レートを知るため、先ず、数値データ「111.2」が入力されると(ステップS8(Yes))、前記行番号のデータが(+1)されて“01”に更新され前記表示部12に表示される。また、前記入力された数値データ「111.2」が前記表示部12に表示される。そして、前記状態フラグメモリ22fの状態フラグが[数値入力状態]に設定される(ステップS9)。 Here, for example, when the conversion rate of "yen" corresponding to the basic currency "$" is 111.2 yen / $ and the conversion rate of "yuan" is 6.585 yuan / $, FIG. 11 (A2). As shown in, first, when the numerical data "111.2" is input (step S8 (Yes)), the data of the line number is (+1) in order to know the yen rate corresponding to the "original". It is updated to "01" and displayed on the display unit 12. Further, the input numerical data "111.2" is displayed on the display unit 12. Then, the state flag of the state flag memory 22f is set to the [numerical value input state] (step S9).

そして、演算キー[÷](除算)の操作に応じて演算データ[÷]が入力されると(ステップS9a(Yes))、前記行番号メモリ22eに記憶されている現在の行番号データ“01”に応じて、前記計算データメモリ22dの行番号“01”のエリアに、前記入力された数値データ「111.2」と前記演算データ[÷]が記憶されて登録される(ステップS9b)。 Then, when the calculation data [÷] is input in response to the operation of the calculation key [÷] (division) (step S9a (Yes)), the current line number data “01” stored in the line number memory 22e In response to the above, the input numerical data "111.2" and the calculation data [÷] are stored and registered in the area of the line number "01" of the calculation data memory 22d (step S9b).

続いて、数値データ「6.585」が入力されると(ステップS8(Yes))、前記同様に行番号のデータが(+1)されて“02”に更新され前記表示部12に表示される(ステップS9)。 Subsequently, when the numerical data "6.585" is input (step S8 (Yes)), the line number data is (+1) and updated to "02" and displayed on the display unit 12. (Step S9).

そして、演算キー[+=](加算合計)の操作に応じて演算データ[+=]が入力されると(ステップS9a(Yes))、前記行番号メモリ22eに記憶されている現在の行番号データ“02”に応じて、前記計算データメモリ22dの行番号“02”のエリアに、前記入力された数値データ「6.585」と前記演算データ[+=]が記憶されて登録される(ステップS9b)。 Then, when the calculation data [+ =] is input in response to the operation of the calculation key [+ =] (addition total) (step S9a (Yes)), the current line number stored in the line number memory 22e According to the data "02", the input numerical data "6.585" and the calculation data [+ =] are stored and registered in the area of the line number "02" of the calculation data memory 22d ( Step S9b).

すると、前記計算データメモリ22dに登録された計算操作データ「111.2[÷]6.585[+=]」に応じた計算が実行され、前記「元」に対応する円レートとしての計算結果データ「16.886…」が前記表示部12に表示される(ステップS9c)。 Then, the calculation according to the calculation operation data "111.2 [÷] 6.585 [+ ="] registered in the calculation data memory 22d is executed, and the calculation result as the yen rate corresponding to the "source" is executed. The data "16.886 ..." is displayed on the display unit 12 (step S9c).

ここでは、前記プリントモード(OFF)の状態であるため、前記計算操作データ「111.2[÷]6.585[+=]」と計算結果データ「16.886…」の印刷は行われない(ステップS9d(No))。 Here, since the print mode (OFF) is in the state, the calculation operation data "111.2 [÷] 6.585 [+ ="] and the calculation result data "16.886 ..." are not printed. (Step S9d (No)).

なお、前記CPU21により、プリントモード(ON)の状態であると判断された場合は(ステップS9d(Yes))、前記計算データメモリ22dに計算操作データ「111.2[÷]」と「6.585[+=]」とが登録される毎に、当該計算操作データとその計算結果データ「16.886…」とが順次、前記印刷部13により記録紙Pに対して印刷される(ステップS9e)。 If the CPU 21 determines that the print mode (ON) is in the print mode (ON) (step S9d (Yes)), the calculation operation data “111.2 [÷]” and “6. Every time "585 [+ ="] is registered, the calculation operation data and the calculation result data "16.886 ..." are sequentially printed on the recording paper P by the printing unit 13 (step S9e). ).

次に、「円」と「元」の換算レートを設定するために、図11(A3)に示すように、再び[CA]キー11hが操作されると(ステップS4(Yes))、前記行番号のデータが改めて“0”に設定される(ステップS5)。 Next, when the [CA] key 11h is operated again as shown in FIG. 11 (A3) in order to set the conversion rate of "yen" and "yuan" (step S4 (Yes)), the line The number data is set to "0" again (step S5).

そして、前記[CA]キー11hの操作後に前記[%(SET)](換算レート設定)キー11iが3秒以上長押し操作されると、換算レート設定中の状態となる(ステップS10a(Yes))。 Then, when the [% (SET)] (conversion rate setting) key 11i is pressed and held for 3 seconds or longer after the operation of the [CA] key 11h, the conversion rate is being set (step S10a (Yes)). ).

続いて、図11(A4)に示すように、前記「円」の換算レートとして数値データ「111.2」が入力されて表示され(ステップS10b(Yes)→S10d)、図11(A5)に示すように、[C1](通貨1)キー11kが操作されると(ステップS10e(Yes))、前記換算レートメモリ22gに「円」の換算レート[C1:111.2円/$]が登録される(ステップS10g)。 Subsequently, as shown in FIG. 11 (A4), the numerical data “111.2” is input and displayed as the conversion rate of the “yen” (step S10b (Yes) → S10d), and is shown in FIG. 11 (A5). As shown, when the [C1] (currency 1) key 11k is operated (step S10e (Yes)), the conversion rate [C1: 111.2 yen / $] of "yen" is registered in the conversion rate memory 22g. (Step S10g).

前記図11(A3)(A4)で示したように、前記[%(SET)](換算レート設定)キー11iの長押し操作(ステップS10a(Yes))から前記[C1](通貨1)キー11kを操作する前(ステップS10d)までの換算レート設定中の状態では、前記[REPRINT](登録データ印刷)キー11gが操作された場合であっても(ステップS10c(Yes)/S10f(Yes))、何も印刷は行われずに無駄な印刷が防止される。 As shown in FIGS. 11 (A3) and 11 (A4), from the long press operation (step S10a (Yes)) of the [% (SET)] (conversion rate setting) key 11i to the [C1] (currency 1) key. In the state where the conversion rate is being set before the operation of 11k (step S10d), even when the [REPRINT] (registered data print) key 11g is operated (step S10c (Yes) / S10f (Yes)). ), No printing is performed and unnecessary printing is prevented.

この後、前記「円」の換算レートの設定と同様に、「元」の換算レートを設定するため、図11(A6)に示すように、再び前記[%(SET)](換算レート設定)キー11iが長押し操作され(ステップS10a(Yes))、数値データ「6.585」が入力されて表示され(ステップS10b(Yes)→S10d)、[C2](通貨2)キー11lが操作されると(ステップS10e(Yes))、前記換算レートメモリ22gに「元」の換算レート[C2:6.585元/$]が登録される(ステップS10g)。 After that, in order to set the conversion rate of the "yuan" in the same manner as the setting of the conversion rate of the "yen", as shown in FIG. 11 (A6), the [% (SET)] (conversion rate setting) is performed again. The key 11i is pressed and held (step S10a (Yes)), the numerical data "6.585" is input and displayed (step S10b (Yes) → S10d), and the [C2] (currency 2) key 11l is operated. Then (step S10e (Yes)), the "original" conversion rate [C2: 6.585 yuan / $] is registered in the conversion rate memory 22g (step S10g).

ここでも、前記同様に、前記[%(SET)](換算レート設定)キー11iの長押し操作(ステップS10a(Yes))から前記[C2](通貨2)キー11lを操作する前(ステップS10d)までの換算レート設定中の状態では、前記[REPRINT](登録データ印刷)キー11gが操作された場合であっても(ステップS10c(Yes)/S10f(Yes))、何も印刷は行われずに無駄な印刷が防止される。 Also here, similarly, before operating the [C2] (currency 2) key 11l from the long press operation (step S10a (Yes)) of the [% (SET)] (conversion rate setting) key 11i (step S10d). In the state where the conversion rate up to) is being set, nothing is printed even when the [REPRINT] (registered data print) key 11g is operated (step S10c (Yes) / S10f (Yes)). Useless printing is prevented.

前記図11(A6)で示したように、前記「円」又は「元」の換算レートを前記換算レートメモリ22gに登録した後に前記[REPRINT](登録データ印刷)キー11gが操作された場合は(ステップS57(Yes)→SP)、図10に示す登録データ印刷処理が実行される。 As shown in FIG. 11 (A6), when the [REPRINT] (registered data print) key 11g is operated after the conversion rate of the "yen" or "original" is registered in the conversion rate memory 22g. (Step S57 (Yes) → SP), the registration data printing process shown in FIG. 10 is executed.

ここでは、前記図11(A3)で示したように、前記[CA]キー11hの操作に基づき前記計算データメモリ22dの計算操作データはクリアされているので、図11(B1)に示すように、リプリントモードでの[CA](クリアオール)印刷であることを示す登録データ印刷開始マーク「・・・・0・・・・」が、前記印刷部13により記録紙Pに対して印刷されるだけで(ステップP1)、前記計算データメモリ22dに対する現在の行番号データが“01”以降に更新されても何も計算データは印刷されない(ステップP2〜P8(No)→リターン)。 Here, as shown in FIG. 11 (A3), the calculation operation data of the calculation data memory 22d is cleared based on the operation of the [CA] key 11h, and therefore, as shown in FIG. 11 (B1). , The registration data print start mark "... 0 ..." indicating that the printing is [CA] (clear all) printing in the reprint mode is printed on the recording paper P by the printing unit 13. Only (step P1), no calculation data is printed even if the current line number data for the calculation data memory 22d is updated after “01” (steps P2 to P8 (No) → return).

ここで、前記プリンタ付き電卓10を中国のお店で使用していると仮定し、日本人が300元の商品を4個購入し、当該購入した商品の日本への送料が100元になり、当該送料を含む合計額が円換算でいくらになるかを計算すると仮定する。 Here, assuming that the calculator 10 with a printer is used in a Chinese shop, a Japanese person purchases four products of 300 yuan, and the shipping fee of the purchased products to Japan becomes 100 yuan. Suppose you want to calculate how much the total amount including the shipping fee will be in yen conversion.

図11(A7)に示すように、前記数値キーのユーザ操作に応じて、前記商品の価格である数値データ「300」が入力されると(ステップS8(Yes))、前記行番号のデータが(+1)されて“01”に更新され前記表示部12に表示される。また、前記入力された数値データ「300」が前記表示部12に表示される。そして、前記状態フラグメモリ22fの状態フラグが[数値入力状態]に設定される(ステップS9)。 As shown in FIG. 11 (A7), when the numerical data "300" which is the price of the product is input in response to the user operation of the numerical key (step S8 (Yes)), the data of the line number is displayed. It is (+1), updated to "01", and displayed on the display unit 12. Further, the input numerical data "300" is displayed on the display unit 12. Then, the state flag of the state flag memory 22f is set to the [numerical value input state] (step S9).

そして、演算キー[×](乗算)の操作に応じて演算データ[×]が入力されると(ステップS9a(Yes))、前記行番号メモリ22eに記憶されている現在の行番号データ“01”に応じて、前記計算データメモリ22d(図3参照)の行番号“01”のエリアに、前記入力された数値データ「300」と前記演算データ[×]が記憶されて登録される(ステップS9b)。 Then, when the calculation data [x] is input in response to the operation of the calculation key [x] (multiplication) (step S9a (Yes)), the current line number data "01" stored in the line number memory 22e In response to the above, the input numerical data "300" and the calculation data [x] are stored and registered in the area of the line number "01" of the calculation data memory 22d (see FIG. 3) (step). S9b).

続いて、図11(A8)に示すように、前記商品の購入個数である数値データ「4」が入力されると(ステップS8(Yes))、前記同様に行番号のデータが(+1)されて“02”に更新され前記表示部12に表示される(ステップS9)。 Subsequently, as shown in FIG. 11 (A8), when the numerical data "4" which is the number of purchased products is input (step S8 (Yes)), the line number data is (+1) in the same manner as described above. Is updated to "02" and displayed on the display unit 12 (step S9).

そして、演算キー[+=](加算合計)の操作に応じて演算データ[+=]が入力されると(ステップS9a(Yes))、前記行番号メモリ22eに記憶されている現在の行番号データ“02”に応じて、前記計算データメモリ22d(図3参照)の行番号“02”のエリアに、前記入力された数値データ「4」と前記演算データ[+=]が記憶されて登録される(ステップS9b)。 Then, when the calculation data [+ =] is input in response to the operation of the calculation key [+ =] (addition total) (step S9a (Yes)), the current line number stored in the line number memory 22e The input numerical data "4" and the calculation data [+ =] are stored and registered in the area of the line number "02" of the calculation data memory 22d (see FIG. 3) according to the data "02". (Step S9b).

すると、前記計算データメモリ22dに登録された計算操作データ「300[×]4[+=]」に応じた計算が実行され、前記購入商品の合計額としての計算結果データ「1200」が前記表示部12に表示される(ステップS9c)。 Then, the calculation according to the calculation operation data "300 [x] 4 [+ =]" registered in the calculation data memory 22d is executed, and the calculation result data "1200" as the total amount of the purchased products is displayed. It is displayed in unit 12 (step S9c).

続けて、図11(A9)に示すように、前記購入商品の送料である数値データ「100」が入力されると(ステップS8(Yes))、前記同様に行番号のデータが(+1)されて“03”に更新され前記表示部12に表示される(ステップS9)。 Subsequently, as shown in FIG. 11 (A9), when the numerical data "100" which is the shipping fee of the purchased product is input (step S8 (Yes)), the line number data is (+1) in the same manner as described above. Is updated to "03" and displayed on the display unit 12 (step S9).

そして、演算キー[+=](加算合計)の操作に応じて演算データ[+=]が入力されると(ステップS9a(Yes))、前記同様に行番号メモリ22eに記憶されている現在の行番号データ“03”に応じて、前記計算データメモリ22d(図3参照)の行番号“03”のエリアに、前記入力された数値データ「100」と前記演算データ[+=]が記憶されて登録される(ステップS9b)。 Then, when the calculation data [+ =] is input in response to the operation of the calculation key [+ =] (addition total) (step S9a (Yes)), the current line number memory 22e is stored in the same manner as described above. The input numerical data "100" and the calculation data [+ =] are stored in the area of the line number "03" of the calculation data memory 22d (see FIG. 3) according to the line number data "03". Is registered (step S9b).

すると、前記計算データメモリ22dに登録された計算操作データ「100[+=]」に応じた計算が実行され、前記購入商品の送料を含む合計額としての計算結果データ「1300」が前記表示部12に表示される(ステップS9c)。 Then, the calculation according to the calculation operation data "100 [+ =]" registered in the calculation data memory 22d is executed, and the calculation result data "1300" as the total amount including the shipping fee of the purchased product is displayed on the display unit. It is displayed in 12 (step S9c).

ここで、[*](トータル)キー11nの操作により前記購入商品の送料を含む合計額「1300元」が換算の対象として指定された後、当該合計額「1300元」を「元」から「円」へ換算するのに、先ず、図11(A10)に示すように、「元」の換算レートを設定した[C2](通貨2)キー11lが操作されると(ステップS10h(Yes))、前記行番号のデータが(+1)されて“04”に更新されて表示される。そして、表示されている数値データ「1300」が前記換算レートメモリ22gに登録されている「元」の換算レート[C2:6.585元/$]で除算され、基本通貨「$」に換算した合計額「197.4183…」が算出される(ステップS10i)。 Here, after the total amount "1300 yuan" including the shipping fee of the purchased product is specified as the conversion target by operating the [*] (total) key 11n, the total amount "1300 yuan" is changed from "yuan" to "yuan". To convert to "yen", first, as shown in FIG. 11 (A10), when the [C2] (currency 2) key 11l for which the conversion rate of "yuan" is set is operated (step S10h (Yes)). , The data of the line number is (+1), updated to "04", and displayed. Then, the displayed numerical data "1300" was divided by the conversion rate [C2: 6.585 yuan / $] of the "yuan" registered in the conversion rate memory 22g, and converted into the basic currency "$". The total amount "197.4183 ..." is calculated (step S10i).

すると、前記行番号メモリ22eに記憶されている現在の行番号データ“04”に応じて、前記計算データメモリ22d(図3参照)の行番号“04”のエリアに、前記表示されている数値データ「1300」を対象に前記換算レート[C2]で除算する計算操作データ「[÷][C2]」が記憶されて登録される(ステップS10j)。 Then, according to the current line number data "04" stored in the line number memory 22e, the numerical value displayed in the area of the line number "04" of the calculation data memory 22d (see FIG. 3). The calculation operation data "[÷] [C2]" that divides the data "1300" by the conversion rate [C2] is stored and registered (step S10j).

ここで、例えば、プリントモード(ON)の状態であると判断された場合は(ステップS10k(Yes))、図11(B2)に示すように、既に記録紙Pに印刷されている前記行番号“01”〜“03”に対応付けられた計算操作データ「300[×]4[+=]100[+=]」とその計算結果データ「1300」に続けて、図11(B2)PR1に示すように、前記表示されている数値データ「1300」を前記「元」の換算レート[C2:6.585元/$]で除算する計算操作データと計算結果データ「197.4183…」が印刷される(ステップ10l)。 Here, for example, when it is determined that the print mode (ON) is set (step S10k (Yes)), the line number already printed on the recording paper P is as shown in FIG. 11 (B2). Following the calculation operation data "300 [x] 4 [+ =] 100 [+ =]" associated with "01" to "03" and the calculation result data "1300", FIG. 11 (B2) PR1. As shown, the calculation operation data and the calculation result data "197.4183 ..." that divide the displayed numerical data "1300" by the conversion rate [C2: 6.585 yuan / $] of the "yuan" are printed. Is done (step 10l).

なお、本第1実施形態では、プリントモード(OFF)に設定されているので、前記ステップS10k,S10lに従った計算データの印刷は行われない。 In the first embodiment, since the print mode (OFF) is set, the calculation data is not printed according to the steps S10k and S10l.

そしてこの後、図11(A11)に示すように、「円」の換算レートを設定した[C1](通貨1)キー11kが操作されると(ステップS10m(Yes))、前記基本通貨「$」に換算された数値データ「197.4183…」が、前記換算レートメモリ22gに登録されている「円」の換算レート[C1:111.2円/$]で乗算され、「円」に換算した合計額「21953」が算出される(ステップS10o)。 After that, as shown in FIG. 11 (A11), when the [C1] (currency 1) key 11k for which the conversion rate of "yen" is set is operated (step S10m (Yes)), the basic currency "$" The numerical data "197.4183 ..." converted into "" is multiplied by the conversion rate [C1: 111.2 yen / $] of the "yen" registered in the conversion rate memory 22g and converted to "yen". The total amount "21953" is calculated (step S10o).

すると、前記行番号のデータが(+1)されて“05”に更新されて表示され、前記計算データメモリ22d(図3参照)の行番号“05”のエリアに、前記「元」から「ドル」に換算された数値データ「197.4183…」を対象に前記「円」の換算レート[C1]で除算する計算操作データ「[×][C1]」が記憶されて登録される(ステップS10p)。 Then, the data of the line number is (+1), updated to "05" and displayed, and in the area of the line number "05" of the calculation data memory 22d (see FIG. 3), the "source" to "dollar" are displayed. The calculation operation data "[x] [C1]" to be divided by the conversion rate [C1] of the "yen" is stored and registered for the numerical data "197.4183 ..." converted to "" (step S10p). ).

そして、前記「元」から「ドル」に換算された数値データ「197.4183…」を対象に前記「円」の換算レート[C1]で乗算した計算結果データ「21953」が前記表示部12に表示される(ステップS10q)。 Then, the calculation result data "21953" obtained by multiplying the numerical data "197.4183 ..." converted from the "yuan" to the "dollar" by the conversion rate [C1] of the "yen" is displayed on the display unit 12. It is displayed (step S10q).

ここで、例えば、プリントモード(ON)の状態であると判断された場合は(ステップS10r(Yes))、前記図11(B2)PR1で示したように、既に記録紙Pに印刷されている前記行番号“01”〜“04”に対応付けられた計算操作データ「300[×]4[+=]100[+=]」とその計算結果データ「1300」及び当該計算結果データ「1300」を「元」の換算レート[C2:6.585元/$]で除算する計算データとその計算結果データ「197.4183…」に続けて、図11(B2)PR2に示すように、前記基本通貨「$」に換算された数値データ「197.4183…」を前記「円」の換算レート[C1:111.2円/$]で乗算する計算データとその計算結果データ「21953」が印刷される(ステップ10s)。 Here, for example, when it is determined that the print mode (ON) is in the state (step S10r (Yes)), the data has already been printed on the recording paper P as shown in FIG. 11 (B2) PR1. The calculation operation data "300 [x] 4 [+ =" 100 [+ =] "corresponding to the line numbers" 01 "to" 04 ", the calculation result data" 1300 ", and the calculation result data" 1300 ". Is divided by the conversion rate of "yuan" [C2: 6.585 yuan / $] and the calculation result data "197.4183 ...", and as shown in FIG. 11 (B2) PR2, the above basics. The calculation data obtained by multiplying the numerical data "197.4183 ..." converted into the currency "$" at the conversion rate [C1: 111.2 yen / $] of the "yen" and the calculation result data "21953" are printed. (Step 10s).

なお、本第1実施形態では、プリントモード(OFF)に設定されているので、前記ステップS10r,S10sに従った計算データの印刷は行われない。 In the first embodiment, since the print mode (OFF) is set, the calculation data is not printed according to the steps S10r and S10s.

また、前記図11(A10)(A11)で示したように、前記[C2](通貨2)キー11lの操作(ステップS10h(Yes))から前記[C1](通貨1)キー11kを操作する前(ステップS10j)までの換算操作中の状態では、前記[REPRINT](登録データ印刷)キー11gが操作された場合であっても(ステップS10n(Yes))、何も印刷は行われずに無駄な印刷が防止される。 Further, as shown in FIGS. 11 (A10) and 11 (A11), the [C1] (currency 1) key 11k is operated from the operation (step S10h (Yes)) of the [C2] (currency 2) key 11l. In the state during the conversion operation up to the previous (step S10j), even if the [REPRINT] (registered data print) key 11g is operated (step S10n (Yes)), nothing is printed and it is useless. Printing is prevented.

そして、図11(A11)に示すように、前記[C2](通貨2)キー11lから[C1](通貨1)キー11kへの操作に従った前記「元」の合計額「1300」から「円」の合計額「21953」への通貨換算を終えた後に、前記[REPRINT](登録データ印刷)キー11gが操作されると(ステップS57(Yes)→SP)、図10に示す登録データ印刷処理が実行される。 Then, as shown in FIG. 11 (A11), the total amount of the "yuan" from the total amount "1300" according to the operation from the [C2] (currency 2) key 11l to the [C1] (currency 1) key 11k is changed to "1300". When the [REPRINT] (registered data print) key 11 g is operated after the currency conversion of the total amount of "yen" to "21953" is completed (step S57 (Yes) → SP), the registration data print shown in FIG. The process is executed.

前記登録データ印刷処理が開始されると、図11(B2)に示すように、リプリントモードでの[CA](クリアオール)印刷であることを示す登録データ印刷開始マーク「・・・・0・・・・」が、前記印刷部13により記録紙Pに対して印刷される(ステップP1)。 When the registration data printing process is started, as shown in FIG. 11 (B2), the registration data printing start mark "... 0." Indicates that the printing is [CA] (clear all) printing in the reprint mode. ... ”Is printed on the recording paper P by the printing unit 13 (step P1).

そして、前記行番号メモリ22eの現在の行番号データが“01”に設定され(ステップP2)、当該現在の行番号“01”に対応付けられて前記計算データメモリ22dに登録されている計算操作データが、数値データと演算データ又は税込(又は税抜)データを含む計算データであるか否か判断される(ステップP3)。 Then, the current line number data of the line number memory 22e is set to "01" (step P2), and the calculation operation associated with the current line number "01" and registered in the calculation data memory 22d. It is determined whether or not the data is calculated data including numerical data and arithmetic data or tax-included (or tax-excluded) data (step P3).

ここでは、現在の行番号“01”に対応付けられて前記計算データメモリ22d(図3参照)に登録されている計算操作データは、数値データ「300」と演算データ[×]を含む計算操作データであると判断される(ステップP3(Yes))。 Here, the calculation operation data associated with the current line number “01” and registered in the calculation data memory 22d (see FIG. 3) is a calculation operation including numerical data “300” and calculation data [×]. It is determined to be data (step P3 (Yes)).

すると、前記記録紙Pに印刷された登録データ印刷開始マーク「・・・・0・・・・」に続いて、前記数値データ「300」と演算データ[×]に応じた計算データが、前記印刷部13により記録紙Pに印刷される(ステップP4)。 Then, following the registration data print start mark "... 0 ..." printed on the recording paper P, the numerical data "300" and the calculation data corresponding to the calculation data [x] are displayed. It is printed on the recording paper P by the printing unit 13 (step P4).

この後、前記計算データメモリ22d(図3参照)に次の行番号に対応付けられた計算操作データがあるか否か判断される(ステップP8)。ここでは、次の行番号“02”に対応付けられた計算操作データ(4[+=])があると判断され(ステップP8(Yes))、前記行番号メモリ22eの現在の行番号“01”が(+1)されて“02”に更新される(ステップP9)。 After that, it is determined whether or not the calculation data memory 22d (see FIG. 3) has the calculation operation data associated with the next line number (step P8). Here, it is determined that there is calculation operation data (4 [+ =]) associated with the next line number “02” (step P8 (Yes)), and the current line number “01” of the line number memory 22e is determined. Is (+1) and updated to “02” (step P9).

すると、現在の行番号“02”に対応付けられて前記計算データメモリ22d(図3参照)に登録されている計算操作データは、前記同様に、数値データ「4」と演算データ[+=]を含む計算操作データであると判断され(ステップP3(Yes))、当該数値データ「4」と演算データ[+=]に応じた計算データ及びその計算結果データ「1200」が、前記印刷部13により記録紙Pに印刷される(ステップP4)。 Then, the calculation operation data associated with the current line number “02” and registered in the calculation data memory 22d (see FIG. 3) is the numerical data “4” and the calculation data [+ =] in the same manner as described above. It is determined that the calculation operation data includes the above (step P3 (Yes)), and the calculation data corresponding to the numerical data “4” and the calculation data [+ =] and the calculation result data “1200” are the printing unit 13. Is printed on the recording paper P (step P4).

この後も、前記同様に、前記計算データメモリ22d(図3参照)の各行番号“03”〜“05”に登録されている計算操作データに応じた計算データ及びその計算結果データが、図11(B2)で示すように、順次、(100[+])(1300[*])…(21953[C])として記録紙Pに印刷される(ステップP3,P4,P8,P9)。 After that, similarly, the calculation data corresponding to the calculation operation data registered in each line number “03” to “05” of the calculation data memory 22d (see FIG. 3) and the calculation result data thereof are shown in FIG. As shown in (B2), it is sequentially printed on the recording paper P as (100 [+]) (1300 [*]) ... (21953 [C]) (steps P3, P4, P8, P9).

これにより、前記プリントモード(OFF)の状態であっても、前記[REPRINT](登録データ印刷)キー11gを操作することで、前記商品購入に伴う一連の計算操作データと前記通貨換算に伴う一連の計算操作データとに応じた計算データとその計算結果データとを容易に記録紙Pに印刷することができる。 As a result, even in the print mode (OFF) state, by operating the [REPRINT] (registered data print) key 11g, a series of calculation operation data associated with the product purchase and a series associated with the currency conversion are performed. The calculation data corresponding to the calculation operation data of the above and the calculation result data can be easily printed on the recording paper P.

したがって、前記構成の第1実施形態のプリンタ付き電卓10によれば、プリントモード(ON)の状態では、ユーザ操作に応じた計算データと計算結果データとを順次、記録紙Pに印刷することができ、プリントモード(OFF)の状態であっても、[REPRINT](登録データ印刷)キー11gを操作することで、計算データメモリ22dに登録されている一連の計算操作データに応じた計算データと計算結果データとを、一括して記録紙Pに印刷することができる。そして、前記プリンモードON/OFFの状態に関わらず、前記通貨換算処理の過程が換算レート設定中の状態や換算操作中の状態にあるときには、前記[REPRINT](登録データ印刷)キー11gが操作されても何も印刷を行なわないので無駄な印刷を防止できる。 Therefore, according to the printer-equipped calculator 10 of the first embodiment of the above configuration, in the print mode (ON) state, the calculation data and the calculation result data according to the user operation can be sequentially printed on the recording paper P. Even in the print mode (OFF), by operating the [REPRINT] (registered data print) key 11g, the calculation data corresponding to the series of calculation operation data registered in the calculation data memory 22d can be obtained. The calculation result data can be collectively printed on the recording paper P. Then, regardless of the state of the purin mode ON / OFF, when the process of the currency conversion process is in the state of setting the conversion rate or in the state of performing the conversion operation, the [REPRINT] (registered data print) key 11g is operated. Even if it is done, nothing is printed, so unnecessary printing can be prevented.

これにより、計算操作に応じて登録された計算データをユーザ操作に応じて印刷できるものであり、無駄な印刷を無くしつつ必要な印刷を適切に行なうことが可能になる。 As a result, the calculation data registered according to the calculation operation can be printed according to the user operation, and the necessary printing can be appropriately performed while eliminating unnecessary printing.

(第2実施形態)
この第2実施形態では、前記PRINTモードメモリ22bにプリントモードONの設定データが記憶された状態での税計算機能に応じた動作について説明する。
(Second Embodiment)
In the second embodiment, the operation according to the tax calculation function in the state where the setting data of the print mode ON is stored in the PRINT mode memory 22b will be described.

図12は、前記計算データ印刷処理の第2実施形態のユーザ操作に応じた表示・印刷動作を示す図である。 FIG. 12 is a diagram showing a display / printing operation according to a user operation according to the second embodiment of the calculation data printing process.

前記プリンタ付き電卓10において、前記PRINTモードメモリ22bにプリントモード(ON)の設定データが記憶されたプリントモード(ON)の状態で(ステップS1)、例えば、図12(A1)に示すように、[CA]キー11hが操作されると(ステップS4(Yes))、前記行番号メモリ22eの行番号のデータが“0”に設定される(ステップS5)。前記表示部12には、数値データ「0」と前記プリントモード(ON)の状態であることを示すシンボル「PRT」が表示される。 In the calculator 10 with a printer, in the print mode (ON) state in which the print mode (ON) setting data is stored in the PRINT mode memory 22b (step S1), for example, as shown in FIG. 12 (A1). When the [CA] key 11h is operated (step S4 (Yes)), the line number data of the line number memory 22e is set to "0" (step S5). Numerical data "0" and a symbol "PRT" indicating that the print mode (ON) is in the state are displayed on the display unit 12.

ここで、前記CPU21により、プリントモード(ON)の状態であると判断されると(ステップS6(Yes))、図12(B1)に示すように、当該プリントモード(ON)の状態での[CA](Clear All)キー11hの操作に応じた印刷であることを示す通常印刷開始マーク「・・0・・」が、前記印刷部13により記録紙Pに対して印刷される(ステップS7)。 Here, when the CPU 21 determines that it is in the print mode (ON) state (step S6 (Yes)), as shown in FIG. 12 (B1), [in the print mode (ON) state. CA] (Clear All) The normal printing start mark “... 0 ...” indicating that printing is performed according to the operation of the key 11h is printed on the recording paper P by the printing unit 13 (step S7). ..

そして、図12(A2)に示すように、前記数値キーのユーザ操作に応じて、例えば商品価格(税抜額)である数値データ「200」が入力されると(ステップS8(Yes))、前記行番号のデータが(+1)されて“01”に更新され前記表示部12に表示される。また、前記入力された数値データ「200」が前記表示部12に表示される。そして、前記状態フラグメモリ22fの状態フラグが[数値入力状態]に設定される(ステップS9)。 Then, as shown in FIG. 12 (A2), when the numerical data "200" which is, for example, the product price (tax excluded) is input according to the user operation of the numerical key (step S8 (Yes)), the said. The line number data is (+1), updated to "01", and displayed on the display unit 12. Further, the input numerical data "200" is displayed on the display unit 12. Then, the state flag of the state flag memory 22f is set to the [numerical value input state] (step S9).

ここで、図12(A3)に示すように、前記[TAX+](税込計算:税計算1)キー11bが操作されると(ステップS10(Yes))、前記状態フラグメモリ22fの状態フラグが[数値入力状態]であるか否か判断される(ステップS11)。 Here, as shown in FIG. 12A, when the [TAX +] (tax-included calculation: tax calculation 1) key 11b is operated (step S10 (Yes)), the state flag of the state flag memory 22f is changed to [ It is determined whether or not it is in the numerical input state] (step S11).

前記状態フラグが[数値入力状態]であると判断されると(ステップS11(Yes))、前記行番号メモリ22eに記憶されている現在の行番号データ“01”に応じて、前記計算データメモリ22d(図4(A)参照)の行番号“01”のエリアに、前記入力された数値データ「200」と前記[TAX+](税込計算:税計算1)キー11bに対応した税込(税計算1)データ[TAX+]が記憶されて登録される(ステップS12)。 When it is determined that the state flag is [numerical input state] (step S11 (Yes)), the calculated data memory corresponds to the current line number data “01” stored in the line number memory 22e. In the area of line number "01" of 22d (see FIG. 4 (A)), tax-included (tax calculation) corresponding to the input numerical data "200" and the [TAX +] (tax-included calculation: tax calculation 1) key 11b. 1) Data [TAX +] is stored and registered (step S12).

すると、前記数値データ「200」に対する税込計算(税計算1)(本実施形態では税率8%)が実行され(ステップS13)、前記行番号データ“01”が(+1)されて“02”に更新され前記表示部12に表示される。また、前記税込計算された税込額データ(税計算1結果データ)「216」が表示され、当該税込額を示すシンボル「TAX+」が表示される。そして、前記状態フラグメモリ22fの状態フラグが[税込計算の税込額表示状態]に設定される(ステップS14)。 Then, the tax-included calculation (tax calculation 1) (tax rate 8% in the present embodiment) for the numerical data "200" is executed (step S13), and the line number data "01" is (+1) to "02". It is updated and displayed on the display unit 12. In addition, the tax-included amount data (tax calculation 1 result data) "216" calculated including tax is displayed, and the symbol "TAX +" indicating the tax-included amount is displayed. Then, the state flag of the state flag memory 22f is set to [tax-included amount display state of tax-included calculation] (step S14).

ここで、前記PRINTモードメモリ22bにプリントモードONの設定データが記憶されていると判断され(ステップS15(Yes))、前記税込計算(税計算1)の結果データが印刷済みではないと判断されると(ステップS16(No))、図12(B1)に示すように、前記記録紙Pに印刷された通常印刷開始マーク「・・0・・」に続いて、前記税込計算の税計算印刷データとして、前記入力された数値データ(税抜額データ)「200」及び税抜額マーク「−T」と、税率データ「8」及び税率マーク「%T」と、税額データ「16」及び税額マーク「T」と、税込額データ(税計算1結果データ)「216」及び税込額マーク「+T」とが、前記印刷部13により記録紙Pに印刷される(ステップS17)。 Here, it is determined that the print mode ON setting data is stored in the PRINT mode memory 22b (step S15 (Yes)), and it is determined that the result data of the tax-included calculation (tax calculation 1) is not printed. Then (step S16 (No)), as shown in FIG. 12 (B1), following the normal printing start mark "... 0 ..." printed on the recording paper P, the tax calculation printing of the tax-included calculation is performed. As the data, the input numerical data (tax-excluded data) "200" and tax-excluded mark "-T", tax rate data "8" and tax rate mark "% T", tax amount data "16" and tax amount mark "-T" "T", the tax-included amount data (tax calculation 1 result data) "216", and the tax-included amount mark "+ T" are printed on the recording paper P by the printing unit 13 (step S17).

ここで、図12(A4)に示すように、前記[TAX+](税込計算:税計算1)キー11bがもう一度操作されると(ステップS10(Yes))、前記状態フラグメモリ22fの状態フラグが[税込計算の税込額表示状態]であると判断される(ステップS18(Yes))。 Here, as shown in FIG. 12 (A4), when the [TAX +] (tax-included calculation: tax calculation 1) key 11b is operated again (step S10 (Yes)), the state flag of the state flag memory 22f is set. It is determined that the state is [tax-included amount display state of tax-included calculation] (step S18 (Yes)).

すると、前記行番号メモリ22eに記憶されている現在の行番号データ“02”に応じて、前記計算データメモリ22d(図4(A)参照)の行番号“02”のエリアに、前記[TAX+](税込計算:税計算1)キー11bに対応した税込データ(税計算1データ)[TAX+]が記憶されて登録される(ステップS19)。 Then, according to the current line number data “02” stored in the line number memory 22e, the [TAX +] is placed in the area of the line number “02” of the calculation data memory 22d (see FIG. 4A). ] (Tax-included calculation: Tax calculation 1) The tax-included data (tax calculation 1 data) [TAX +] corresponding to the key 11b is stored and registered (step S19).

そして、前記行番号データ“02”が(+1)されて“03”に更新されて表示され、また、前記税込計算された税額データ「16」が表示され、当該税額を示すシンボル「TAX」が表示される。そして、前記状態フラグメモリ22fの状態フラグが[税込計算の税額表示状態]に設定される(ステップS20)。 Then, the line number data "02" is (+1) and updated to "03" and displayed, and the tax amount data "16" calculated including tax is displayed, and the symbol "TAX" indicating the tax amount is displayed. Is displayed. Then, the state flag of the state flag memory 22f is set to [tax amount display state of tax-included calculation] (step S20).

ここで更に、図12(A5)に示すように、前記[TAX+]キー11bがもう一度操作されると(ステップS10(Yes))、前記状態フラグが[税込計算の税額表示状態]であると判断される(ステップS21(Yes))。 Here, further, as shown in FIG. 12 (A5), when the [TAX +] key 11b is operated again (step S10 (Yes)), it is determined that the state flag is [tax amount display state for tax-included calculation]. (Step S21 (Yes)).

すると、前記行番号メモリ22eに記憶されている現在の行番号データ“03”に応じて、前記計算データメモリ22d(図4(A)参照)の行番号“03”のエリアに、前記[TAX+]キー11bに対応した税込データ(税計算1データ)[TAX+]が記憶されて登録される(ステップS22)。 Then, according to the current line number data “03” stored in the line number memory 22e, the [TAX +] is placed in the area of the line number “03” of the calculation data memory 22d (see FIG. 4A). ] Tax-included data (tax calculation 1 data) [TAX +] corresponding to the key 11b is stored and registered (step S22).

そして、前記行番号データ“03”が(+1)されて“04”に更新されて表示され、また、前記税込計算された税込額データ「216」が再び表示され、当該税込額を示すシンボル「TAX+」が表示される。そして、前記状態フラグメモリ22fの状態フラグが再び[税込計算の税込額表示状態]に設定される(ステップS23)。 Then, the line number data "03" is (+1) and updated to "04" and displayed, and the tax-included amount data "216" calculated including tax is displayed again, and the symbol "216" indicating the tax-included amount is displayed. "TAX +" is displayed. Then, the state flag of the state flag memory 22f is set to [tax-included amount display state of tax-included calculation] again (step S23).

ここで、図12(A6)に示すように、前記[TAX−](税抜計算:税計算2)キー11cが操作されると(ステップS27(Yes))、前記状態フラグが[税込計算の(税込額表示)状態]であると判断される(ステップS41(Yes))。 Here, as shown in FIG. 12 (A6), when the [TAX-] (tax-excluded calculation: tax calculation 2) key 11c is operated (step S27 (Yes)), the state flag is set to [tax-included calculation. (Display of tax-included amount) state] is determined (step S41 (Yes)).

すると、現在の行番号データ“04”に応じて、前記計算データメモリ22d(図4(A)参照)の行番号“04”のエリアに、前記[TAX−]キー11cに対応した税抜データ(税計算2データ)[TAX−]が記憶されて登録される(ステップS42)。 Then, according to the current line number data "04", the tax-excluded data corresponding to the [TAX-] key 11c is displayed in the area of the line number "04" of the calculation data memory 22d (see FIG. 4A). (Tax calculation 2 data) [TAX-] is stored and registered (step S42).

そして、前記行番号データ“04”が(+1)されて“05”に更新されて表示され、また、前記税抜額データ「200」が表示され、当該税抜額を示すシンボル「TAX−」が表示される。そして、前記状態フラグメモリ22fの状態フラグが[税抜計算の税抜額表示状態]に設定される(ステップS43)。 Then, the line number data "04" is (+1) and updated to "05" and displayed, the tax-excluded amount data "200" is displayed, and the symbol "TAX-" indicating the tax-excluded amount is displayed. Will be done. Then, the state flag of the state flag memory 22f is set to [tax-excluded amount display state of tax-excluded calculation] (step S43).

このように、前記数値データ「200」を入力して前記[TAX+](税込計算)キー11bを操作した際には、税込計算を実行して税込額データ「216」及びそのシンボル「TAX+」を表示させ、続けて前記[TAX+]キー11bを操作すると、その操作毎に税額データ「16」及びそのシンボル「TAX」と、税込額データ「216」及びそのシンボル「TAX+」とを切り替えて表示させ、さらに、[TAX−]キー11cを操作すると、税抜額データ「200」及びそのシンボル「TAX−」に切り替えて表示させることができる。よって、税計算の内容を手元の表示部12において容易に確認することができる。 In this way, when the numerical data "200" is input and the [TAX +] (tax-included calculation) key 11b is operated, the tax-included calculation is executed to display the tax-included amount data "216" and its symbol "TAX +". When the [TAX +] key 11b is subsequently operated to display the data, the tax amount data "16" and its symbol "TAX" and the tax-included amount data "216" and its symbol "TAX +" are switched and displayed for each operation. Furthermore, by operating the [TAX-] key 11c, the tax-excluded data "200" and its symbol "TAX-" can be switched and displayed. Therefore, the content of the tax calculation can be easily confirmed on the display unit 12 at hand.

この際、前記数値データ「200」の入力と[TAX+](税込計算)キー11bの操作に応じて税込計算(税計算1)を実行し、当該税込計算(税計算1)の税計算印刷データである税抜額データ(入力データ)「200.−T」と税率データ「8.%T」と税額データ「16.T」と税込額データ(税計算2結果データ)「216.+T」とを記録紙Pに印刷した後は、前記プリントモードONの設定状態であっても、前記[TAX+]キー11bあるいは[TAX−]キー11bが続けて操作されたことを、前記状態フラグが[税込計算の(税込額表示/税額表示)状態]や[税抜計算の(税抜額表示/税額表示)状態]で続いていることを判断して、前記図12(A4)〜(A6)で示したように、税額データ「16」→税込額データ「216」→税抜額データ「200」を表示させて確認する毎の印刷処理は行わない。よって、印刷をできるだけ少なくして節約することが可能になる。 At this time, the tax-included calculation (tax calculation 1) is executed according to the input of the numerical data "200" and the operation of the [TAX +] (tax-included calculation) key 11b, and the tax calculation print data of the tax-included calculation (tax calculation 1) is executed. Tax-excluded data (input data) "200.-T", tax rate data "8.% T", tax amount data "16.T" and tax-included amount data (tax calculation 2 result data) "216. + T" After printing on the recording paper P, the status flag indicates that the [TAX +] key 11b or the [TAX-] key 11b has been continuously operated even when the print mode is set to ON. (Tax-excluded amount display / tax amount display) status] and [tax-excluded calculation (tax-excluded amount display / tax amount display) status] are determined to be continued, and are shown in FIGS. 12 (A4) to (A6). As described above, the printing process is not performed every time the tax amount data "16" → the tax-included amount data "216" → the tax-excluded amount data "200" is displayed and confirmed. Therefore, it is possible to save as much printing as possible.

次に、前記税込計算(税計算1)に対応する一連の計算操作データの内容を確認するため、図12(A7)に示すように、前記登録データ確認キー([▽]キー11d)が操作されると(ステップS44(Yes))、前記計算モードメモリ22cの設定データが確認(検算)モードに設定され、前記表示部12に対し、前記確認モードのシンボル「REV」が表示される。また、前記計算データメモリ22dの先頭の行番号“01”に対応付けられて登録されている計算操作データ(数値データ(税抜額データ)「200」と税込(税計算1)データ[TAX+])が呼び出され、当該行番号“01”と合せて前記表示部12に表示される(ステップS45)。 Next, in order to confirm the contents of a series of calculation operation data corresponding to the tax-included calculation (tax calculation 1), the registration data confirmation key ([▽] key 11d) is operated as shown in FIG. 12 (A7). Then (step S44 (Yes)), the setting data of the calculation mode memory 22c is set to the confirmation (calculation) mode, and the confirmation mode symbol “REV” is displayed on the display unit 12. In addition, the calculation operation data (numerical data (tax-excluded amount data) "200" and tax-included (tax calculation 1) data [TAX +]) registered in association with the first line number "01" of the calculation data memory 22d). Is called and displayed on the display unit 12 together with the line number “01” (step S45).

ここで、前記表示部12に表示させて確認した行番号“01”に対応する数値データ(税抜額データ)「200」を修正するため、図12(A8)に示すように、前記[CORRECT](修正)キー11fが操作されると(ステップS49(Yes))、前記計算モードメモリ22cの設定データが修正モードに設定され、前記表示部12に対し、前記修正モードのシンボル「CRT」が表示される(ステップS50)。 Here, in order to correct the numerical data (tax-excluded amount data) "200" corresponding to the line number "01" displayed and confirmed on the display unit 12, as shown in FIG. 12 (A8), the [CORRECT] When the (correction) key 11f is operated (step S49 (Yes)), the setting data of the calculation mode memory 22c is set to the correction mode, and the correction mode symbol “CRT” is displayed on the display unit 12. (Step S50).

そして、図12(A9)に示すように、正しい数値データ「300」を入力して表示させ(ステップS51(Yes),S52)、図12(A10)に示すように、前記[CORRECT](修正)キー11fが再操作されると(ステップS53(Yes))、現在の行番号“01”に対応付けられて前記計算データメモリ22dに記憶されている計算操作データ(数値データ(税抜額データ))「200」が前記入力された数値データ「300」に置き換えられて登録される(ステップS54)(図4(A)(B)参照)。そして、前記表示部12に表示された修正モードのシンボル「CRT」が消去される(ステップS55)。 Then, as shown in FIG. 12 (A9), the correct numerical data "300" is input and displayed (steps S51 (Yes), S52), and as shown in FIG. 12 (A10), the above-mentioned [CORRECT] (correction). ) When the key 11f is re-operated (step S53 (Yes)), the calculation operation data (numerical data (tax-excluded amount data)) associated with the current line number “01” and stored in the calculation data memory 22d. ) "200" is replaced with the input numerical data "300" and registered (step S54) (see FIGS. 4A and 4B). Then, the correction mode symbol “CRT” displayed on the display unit 12 is erased (step S55).

なお、前記図12(A8)(A9)で示したように、前記[CORRECT](修正)キー11fの1回目の操作(ステップS49(Yes))から2回目の操作をする前(ステップS52)までに対応した計算操作データの修正操作中の状態では、前記[REPRINT](登録データ印刷)キー11gが操作された場合であっても(ステップS51a(Yes)/S53a(Yes))、何も印刷は行われずに無駄な印刷が防止される。 As shown in FIGS. 12 (A8) and 12 (A9), the [CORRECT] (correction) key 11f is before the first operation (step S49 (Yes)) to the second operation (step S52). In the state during the correction operation of the calculation operation data corresponding to the above, even if the [REPRINT] (registered data print) key 11g is operated (step S51a (Yes) / S53a (Yes)), nothing Printing is not performed and unnecessary printing is prevented.

この後、図12(A11)〜(A13)に示すように、前記登録データ確認キー([▽]キー11d)が繰り返し操作されると(ステップS46(Yes))、その都度、現在の行番号の次の行番号に対応付けられて前記計算データメモリ22dに登録されている計算操作データがあるか否かが確認される(ステップS47)。そして、前記次の行番号に対応付けられた計算操作データがある場合は(ステップS47(Yes))、その計算操作データが呼び出され、当該次の行番号と合せて前記表示部12に表示される(ステップS48)。 After that, as shown in FIGS. 12 (A11) to 12 (A13), when the registration data confirmation key ([▽] key 11d) is repeatedly operated (step S46 (Yes)), the current line number is used each time. It is confirmed whether or not there is calculation operation data registered in the calculation data memory 22d in association with the line number next to (step S47). Then, when there is calculation operation data associated with the next line number (step S47 (Yes)), the calculation operation data is called and displayed on the display unit 12 together with the next line number. (Step S48).

すなわち、図12(A11)に示すように、前記登録データ確認キー([▽]キー11d)が操作(確認モードで2回目)されると、前記行番号“01”に対応して登録された修正後の計算操作データ(数値データ(税抜額データ)「300」と税込データ(税計算1データ)[TAX+])に基づき税込計算(税計算1)された税込額データ(税計算1結果データ)「324」と、行番号“02”に対応して呼び出された税込データ[TAX+]に応じたシンボル「TAX+」が表示される。 That is, as shown in FIG. 12 (A11), when the registration data confirmation key ([▽] key 11d) is operated (second time in the confirmation mode), it is registered corresponding to the line number "01". Tax-included amount data (tax calculation 1 result data) calculated based on tax-included calculation operation data (numerical data (tax-excluded amount data) "300" and tax-included data (tax calculation 1 data) [TAX +]) after correction ) "324" and the symbol "TAX +" corresponding to the tax-included data [TAX +] called corresponding to the line number "02" are displayed.

また、図12(A12)に示すように、前記登録データ確認キー([▽]キー11d)が操作(3回目)されると、前記行番号“02”に対応して登録されている税込データ(税計算1データ)[TAX+]に基づき前記税込計算(税計算1)された結果の税額データ「24」と、行番号“03”に対応して呼び出された税込データ[TAX+]に応じたシンボル「TAX+」が表示される。 Further, as shown in FIG. 12 (A12), when the registration data confirmation key ([▽] key 11d) is operated (third time), the tax-included data registered corresponding to the line number “02” is included. (Tax calculation 1 data) According to the tax amount data "24" as a result of the tax-included calculation (tax calculation 1) based on [TAX +] and the tax-included data [TAX +] called corresponding to the line number "03". The symbol "TAX +" is displayed.

さらに、図12(A13)に示すように、前記登録データ確認キー([▽]キー11d)が操作(4回目)されると、前記行番号“03”に対応して登録されている税込データ[TAX+]に基づき前記税込計算(税計算)された結果の税込額データ「324」と、行番号“04”に対応して呼び出された税抜データ(税計算2データ)[TAX−]に応じたシンボル「TAX−」が表示される。 Further, as shown in FIG. 12A13, when the registration data confirmation key ([▽] key 11d) is operated (fourth time), the tax-included data registered corresponding to the line number “03” is included. The tax-included amount data "324" as a result of the tax-included calculation (tax calculation) based on [TAX +] and the tax-excluded data (tax calculation 2 data) [TAX-] called corresponding to the line number "04" The corresponding symbol "TAX-" is displayed.

これにより、前記税込計算(又は税抜計算)により税計算された一連の計算データの一部を修正した後でも、前記登録データ確認キー([▽]キー11d)を繰り返し操作することで、当該修正後の税込額データと税額データと税抜額データとを容易に確認することができる。 As a result, even after modifying a part of the series of calculation data calculated by tax by the tax-included calculation (or tax-excluded calculation), the registration data confirmation key ([▽] key 11d) can be repeatedly operated to obtain the relevant data. You can easily check the revised tax-included amount data, tax amount data, and tax-excluded amount data.

なお、前記ステップS44において、前記登録データ確認キー([△]キー11e)が操作されて確認(検索)モードに設定された場合は、前記計算データメモリ22dの各行番号に対応付けられて登録されている一連の計算操作データうち、末尾の行番号に対応付けられた計算操作データが呼び出されて表示される(ステップS45)。 When the registration data confirmation key ([Δ] key 11e) is operated to set the confirmation (search) mode in step S44, the registration is registered in association with each line number of the calculation data memory 22d. Of the series of calculation operation data, the calculation operation data associated with the last line number is called and displayed (step S45).

また、前記確認(検索)モードにおいて、前記登録データ確認キー([△]キー11e)が操作された場合は(ステップS46(Yes))、現在の行番号の前の行番号に対応付けられて前記計算データメモリ22dに登録されている計算操作データが呼び出され、当該計算操作データに基づく税計算の結果データやシンボルが表示される(ステップS47,S48)。 Further, in the confirmation (search) mode, when the registration data confirmation key ([Δ] key 11e) is operated (step S46 (Yes)), it is associated with the line number before the current line number. The calculation operation data registered in the calculation data memory 22d is called, and the result data and symbols of the tax calculation based on the calculation operation data are displayed (steps S47 and S48).

そして、図12(A14)に示すように、前記行番号“03”の計算操作データ(税込データ(税計算1データ)[TAX+])に応じた税込額データ(税計算1結果データ)「324」が表示された状態で、前記[REPRINT](登録データ印刷)キー11gが操作されると(ステップS56(Yes))、図10に示す登録データ印刷処理が実行される(ステップSP)。 Then, as shown in FIG. 12 (A14), the tax-included amount data (tax calculation 1 result data) "324" corresponding to the calculation operation data (tax-included data (tax calculation 1 data) [TAX +]) of the line number "03". Is displayed and the [REPRINT] (registered data print) key 11g is operated (step S56 (Yes)), the registered data printing process shown in FIG. 10 is executed (step SP).

すなわち、前記登録データ印刷処理が開始されると、図12(B2)に示すように、リプリントモードでの[CA](クリアオール)印刷であることを示す登録データ印刷開始マーク「・・・・0・・・・」が、前記印刷部13により記録紙Pに対して印刷される(ステップP1)。 That is, when the registration data printing process is started, as shown in FIG. 12B2, the registration data printing start mark "..." indicating that the printing is [CA] (clear all) printing in the reprint mode. 0 ... ”is printed on the recording paper P by the printing unit 13 (step P1).

そして、前記行番号メモリ22eの現在の行番号データが“01”に設定され(ステップP2)、当該現在の行番号“01”に対応付けられて前記計算データメモリ22dに登録されている計算操作データが、数値データと演算データ又は税込(又は税抜)データを含む計算操作データであるか否か判断される(ステップP3)。 Then, the current line number data of the line number memory 22e is set to "01" (step P2), and the calculation operation associated with the current line number "01" and registered in the calculation data memory 22d. It is determined whether or not the data is calculation operation data including numerical data and calculation data or tax-included (or tax-excluded) data (step P3).

ここでは、現在の行番号“01”に対応付けられて前記計算データメモリ22d(図4(B)参照)に登録されている計算操作データは、数値データ「300」と税込データ(税計算1データ)[TAX+]を含む計算操作データであると判断される(ステップP3(Yes))。 Here, the calculation operation data associated with the current line number “01” and registered in the calculation data memory 22d (see FIG. 4B) are numerical data “300” and tax-included data (tax calculation 1). Data) It is determined that the calculation operation data includes [TAX +] (step P3 (Yes)).

すると、前記記録紙Pに印刷された登録データ印刷開始マーク「・・・・0・・・・」に続いて、前記数値データ「300」と税込データ[TAX+]に応じた税計算印刷データとして、前記数値データ(税抜額データ)「300」及び税抜額マーク「−T」と、税率データ「8」及び税率マーク「%T」と、税額データ「24」及び税額マーク「T」と、税込額データ(税計算1結果データ)「324」及び税込額マーク「+T」とが、前記印刷部13により記録紙Pに印刷される(ステップP4)。 Then, following the registration data print start mark "... 0 ..." printed on the recording paper P, the tax calculation print data corresponding to the numerical data "300" and the tax-included data [TAX +] is used. , The numerical data (tax-excluded data) "300" and tax-excluded mark "-T", tax rate data "8" and tax rate mark "% T", tax amount data "24" and tax amount mark "T", including tax. The amount data (tax calculation 1 result data) “324” and the tax-included amount mark “+ T” are printed on the recording paper P by the printing unit 13 (step P4).

この後、前記計算データメモリ22d(図4(B)参照)に次の行番号に対応付けられた計算操作データがあるか否か判断される(ステップP8)。ここでは、次の行番号“02”に対応付けられた計算操作データ(税込データ[TAX+])があると判断され(ステップP8(Yes))、前記行番号メモリ22eの現在の行番号“01”が(+1)されて“02”に更新される(ステップP9)。 After that, it is determined whether or not the calculation data memory 22d (see FIG. 4B) has the calculation operation data associated with the next line number (step P8). Here, it is determined that there is calculation operation data (tax-included data [TAX +]) associated with the next line number “02” (step P8 (Yes)), and the current line number “01” of the line number memory 22e is determined. Is (+1) and updated to “02” (step P9).

すると、現在の行番号“02”に対応付けられて前記計算データメモリ22d(図4(B)参照)に登録されている計算操作データは税込データ(税計算1データ)[TAX+]であり、数値データと税込(又は税抜)データを含む計算操作データではないと判断される(ステップP3(No))。また、直前の行番号“01”に対応付けられた計算操作データにも現在の行番号“02”に対応付けられた計算操作データにも税込データ(税計算1データ)[TAX+]があることで、連続する税計算データであると判断される(ステップP5(Yes))。この場合、前記記録紙Pに対する印刷は行われない(印刷が抑制される)(ステップP6)。 Then, the calculation operation data associated with the current line number “02” and registered in the calculation data memory 22d (see FIG. 4B) is tax-included data (tax calculation 1 data) [TAX +]. It is determined that the data is not calculation operation data including numerical data and tax-included (or tax-excluded) data (step P3 (No)). In addition, there is tax-included data (tax calculation 1 data) [TAX +] in both the calculation operation data associated with the immediately preceding line number "01" and the calculation operation data associated with the current line number "02". Then, it is determined that the tax calculation data is continuous (step P5 (Yes)). In this case, printing is not performed on the recording paper P (printing is suppressed) (step P6).

この後、前記同様に、現在の行番号“02”が“03”→“04”と更新された場合でも(ステップP8(Yes),P9)、前記同様に、各行番号に対応付けられた計算操作データは連続する税計算データであると判断されるので(ステップP3(No),P5(Yes))、前記記録紙Pに対する印刷は行われない(印刷が抑制される)(ステップP6)。 After that, even when the current line number "02" is updated from "03" to "04" in the same manner as described above (steps P8 (Yes), P9), the calculation associated with each line number is similarly performed. Since the operation data is determined to be continuous tax calculation data (steps P3 (No), P5 (Yes)), printing is not performed on the recording paper P (printing is suppressed) (step P6).

これにより、前記税込計算(又は税抜計算)により税計算された一連の計算データの一部を修正した後でも、前記[REPRINT](登録データ印刷)キー11gを操作することで、当該修正後の税込計算の結果データに応じた税抜額データ(−T)と税率データ(%T)と税額データ(T)と税込額データ(+T)とを容易に記録紙Pに印刷することができる。 As a result, even after a part of the series of calculation data calculated by tax by the tax-included calculation (or tax-excluded calculation) is corrected, the correction is performed by operating the [REPRINT] (registered data print) key 11g. The tax-excluded amount data (-T), the tax rate data (% T), the tax amount data (T), and the tax-included amount data (+ T) according to the result data of the tax-included calculation can be easily printed on the recording paper P.

この場合、前記記録紙Pの先頭には登録データ印刷開始マーク「・・・・0・・・・」が印刷されるので、ユーザは前記プリントモード(ON)の状態での[CA]キー11hの操作に応じた通常印刷(通常印刷開始マーク「・・0・・」)とは明確に区別して、前記[REPRINT]キー11gの操作に応じた修正後の登録データの印刷であることを確認することができる。 In this case, since the registration data print start mark "... 0 ..." is printed at the head of the recording paper P, the user can use the [CA] key 11h in the print mode (ON). Clearly distinguish from normal printing (normal printing start mark "... 0 ...") according to the operation of, and confirm that the registered data is printed after correction according to the operation of the [REPRINT] key 11g. can do.

なお、現在の行番号に対応付けられて前記計算データメモリ22dに登録されている計算操作データが、数値データと演算データ又は税込(又は税抜)データを含む計算データではなく(ステップP3(No))、連続する税計算データでもないと判断された場合は(ステップP5(No))、当該現在の行番号に対応付けられて登録されている計算操作データが印刷される(ステップP7)。 Note that the calculation operation data associated with the current line number and registered in the calculation data memory 22d is not the calculation data including the numerical data and the calculation data or the tax-included (or tax-excluded) data (step P3 (No.). )), If it is determined that the tax calculation data is not continuous (step P5 (No)), the calculation operation data registered in association with the current line number is printed (step P7).

前記図12を参照して説明した第2実施形態では、例えば商品価格(税抜額)である数値データ「200」の入力後に、[TAX+](税込計算:税計算1)キー11bを繰り返し操作して、税込額データ「216」→税額データ「16」→税込額データ「216」と表示させ、この後、[TAX−](税抜計算:税計算2)キー11cを操作して税抜額データ「200」を表示させる処理について、前記図6で示したステップS10〜S23及び前記図7で示したステップS41〜S43に従った処理として説明した。 In the second embodiment described with reference to FIG. 12, for example, after inputting the numerical data “200” which is the product price (tax excluded amount), the [TAX +] (tax included calculation: tax calculation 1) key 11b is repeatedly operated. Then, display the tax-included amount data "216" → tax amount data "16" → tax-included amount data "216", and then operate the [TAX-] (tax-excluded calculation: tax calculation 2) key 11c to display the tax-excluded amount data. The process of displaying "200" has been described as a process according to steps S10 to S23 shown in FIG. 6 and steps S41 to S43 shown in FIG. 7.

これに対し、例えば商品価格(税込額)である数値データの入力後に、[TAX−](税抜計算:税計算2)キー11cを繰り返し操作して、税抜額データ→税額データ→税抜額データと表示させ、この後、[TAX+](税込計算:税計算1)キー11bを操作して税込額データを表示させる処理については、前記「税込」[TAX+]と「税抜」[TAX−]の扱いが逆になるだけで前記同様の処理となり、前記図7で示すステップS27〜S40及び前記図6で示すステップS24〜S26に従った処理になる。 On the other hand, for example, after inputting the numerical data which is the product price (tax included amount), the [TAX-] (tax excluded calculation: tax calculation 2) key 11c is repeatedly operated to tax-excluded amount data → tax amount data → tax-excluded amount data. After that, for the process of operating the [TAX +] (tax included calculation: tax calculation 1) key 11b to display the tax included amount data, the above-mentioned "tax included" [TAX +] and "tax excluded" [TAX-] The process is the same as described above except that the handling of the above is reversed, and the process is performed according to steps S27 to S40 shown in FIG. 7 and steps S24 to S26 shown in FIG.

したがって、前記構成の第2実施形態のプリンタ付き電卓10によれば、入力された数値データと税計算キー([TAX+](税込計算)キー又は[TAX−](税抜計算)キー)の操作に対応した税込データ(又は税抜データ)は、順次更新される行番号データに対応付けた計算操作データとして計算データメモリ22dに登録され、登録データ確認キー([▽]キー11d又は[△]キー11e)を操作すると、そのキー操作毎に、前記登録された計算操作データが先頭(又は末尾)の行番号データに対応付けられた計算操作データから順番に呼び出され、当該呼び出された計算操作データに応じた税込額データ(又は税抜額データ)と税額データとが順次表示される。そして、[CORRECT](修正)キー11fを操作すると修正モードになり、表示中の税込額データ(又は税抜額データ)の数値データを修正できる。この後、前記[REPRINT](登録データ印刷)キー11gを操作すると、前記修正後の数値データに応じた税抜額データ(−T)と税率データ(%T)と税額データ(T)と税込額データ(+T)とが記録紙Pに印刷される。なお、前記計算操作データの修正操作中の状態では、前記[REPRINT](登録データ印刷)キー11gが操作された場合であっても何も印刷は行われずに無駄な印刷が防止される。 Therefore, according to the printer-equipped calculator 10 of the second embodiment of the above configuration, the input numerical data and the operation of the tax calculation key ([TAX +] (tax-included calculation) key or [TAX-] (tax-excluded calculation) key) The tax-included data (or tax-excluded data) corresponding to is registered in the calculation data memory 22d as the calculation operation data associated with the row number data to be updated sequentially, and the registration data confirmation key ([▽] key 11d or [△]] When the key 11e) is operated, the registered calculation operation data is called in order from the calculation operation data associated with the first (or end) line number data for each key operation, and the called calculation operation is performed. The tax-included amount data (or tax-excluded amount data) and the tax amount data according to the data are displayed in sequence. Then, when the [CORRECT] (correction) key 11f is operated, the correction mode is set, and the numerical data of the displayed tax-included amount data (or tax-excluded amount data) can be corrected. After that, when the [REPRINT] (registered data print) key 11g is operated, the tax-excluded amount data (-T), the tax rate data (% T), the tax amount data (T), and the tax-included amount according to the corrected numerical data are operated. The data (+ T) is printed on the recording paper P. In the state of the correction operation of the calculation operation data, no printing is performed even when the [REPRINT] (registered data printing) key 11g is operated, and unnecessary printing is prevented.

これにより、税計算の内容を容易に確認して修正することができ、また無駄な印刷を防止して節約することが可能になる。 This makes it possible to easily check and correct the contents of the tax calculation, and to prevent unnecessary printing and save money.

なお、前記各実施形態において記載したプリンタ付き電卓10による各処理の手法、すなわち、図5〜図9のフローチャートに示す計算データ印刷処理、図10のフローチャートに示す登録データ印刷処理等の各手法は、何れもコンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピ(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記録装置の媒体に格納して配布することができる。そして、印刷機能を備えた電子式計算機のコンピュータ(CPU)は、この外部記録装置の媒体に記録されたプログラムを記憶装置に読み込み、この読み込んだプログラムによって動作が制御されることにより、前記各実施形態において説明した計算データ印刷機能を実現し、前述した手法による同様の処理を実行することができる。 The methods of each process by the printer-equipped computer 10 described in each of the above embodiments, that is, the calculation data print process shown in the flowcharts of FIGS. 5 to 9, the registered data print process shown in the flowchart of FIG. As programs that can be executed by a computer, memory cards (ROM cards, RAM cards, etc.), magnetic disks (floppy (registered trademark) disks, hard disks, etc.), optical disks (CD-ROM, DVD, etc.), semiconductor memories It can be stored and distributed in the medium of an external recording device such as. Then, the computer (CPU) of the electronic computer provided with the printing function reads the program recorded on the medium of the external recording device into the storage device, and the operation is controlled by the read program, so that each of the above-mentioned executions is performed. It is possible to realize the calculation data printing function described in the embodiment and execute the same processing by the method described above.

また、前記各手法を実現するためのプログラムのデータは、プログラムコードの形態として通信ネットワーク(N)上を伝送させることができ、この通信ネットワーク(N)に接続されたコンピュータ装置(プログラムサーバ)から前記プログラムのデータを、印刷機能を備えた電子式計算機に取り込んで記憶装置に記憶させ、前述した計算データ印刷機能を実現することもできる。 Further, the data of the program for realizing each of the above methods can be transmitted on the communication network (N) in the form of the program code, and is transmitted from the computer device (program server) connected to the communication network (N). It is also possible to take the data of the program into an electronic computer having a printing function and store it in a storage device to realize the calculation data printing function described above.

本願発明は、前記各実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記各実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、各実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が異なる形態にして組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。 The invention of the present application is not limited to each of the above-described embodiments, and can be variously modified at the implementation stage without departing from the gist thereof. Further, each of the above-described embodiments includes inventions at various stages, and various inventions can be extracted by an appropriate combination of a plurality of disclosed constituent requirements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in each embodiment or some constituent requirements are combined in different forms, the problems described in the section of the problem to be solved by the invention Can be solved and the effects described in the section on the effects of the invention can be obtained, the configuration in which this constituent requirement is deleted or combined can be extracted as the invention.

以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。 Hereinafter, the inventions described in the claims of the original application of the present application will be added.

[1]
ユーザ操作に応じて数値データを入力する数値データ入力手段と、
ユーザによる計算の操作を受け付ける計算受付手段と、
前記数値データ入力手段により入力された数値データと前記計算受付手段により受け付けられた計算の操作に対応する計算データを計算操作データとして登録する計算操作データ登録手段と、
ユーザ操作に応じた印刷の操作を受け付ける印刷操作受付手段と、
前記印刷操作受付手段により印刷の操作が受け付けられると、前記計算操作データ登録手段により登録された計算操作データに基づき計算された計算結果データを含む計算印刷データを印刷する登録データ印刷制御手段と、
を備え、
前記登録データ印刷制御手段は、
前記印刷操作受付手段により印刷の操作が受け付けられた際に、前記計算受付手段による計算の操作の受け付け途中であるか又は計算の操作に対応する計算データの設定途中であると判断された場合は、当該印刷の操作の受け付けを無効にする計算途中印刷無効手段、を備えたことを特徴とする計算装置。
[1]
Numerical data input means for inputting numerical data according to user operation,
Calculation receiving means that accepts calculation operations by the user,
A calculation operation data registration means for registering numerical data input by the numerical data input means and calculation data corresponding to the calculation operation received by the calculation reception means as calculation operation data.
A printing operation receiving means that accepts printing operations according to user operations,
When the print operation is received by the print operation reception means, the registration data print control means for printing the calculation print data including the calculation result data calculated based on the calculation operation data registered by the calculation operation data registration means.
With
The registered data print control means
When the print operation is accepted by the print operation receiving means, if it is determined that the calculation operation is being accepted by the calculation receiving means or the calculation data corresponding to the calculation operation is being set. , A calculation device including a means for invalidating printing during calculation, which invalidates acceptance of the printing operation.

[2]
前記計算受付手段による計算の操作の受け付け途中は、換算の操作の受け付け途中である、ことを特徴とする[1]に記載の計算装置。
[2]
The calculation device according to [1], wherein the calculation operation is being accepted by the calculation reception means while the conversion operation is being accepted.

[3]
前記計算受付手段により受け付けられる計算の操作に対応する計算データは換算の計算データを含み、
ユーザ操作に応じて換算レートを設定する換算レート設定手段を備え、
前記計算受付手段により受け付けられる計算の操作に対応する計算データの設定途中は、前記換算の計算データに対応する換算レートの設定途中である、ことを特徴とする[1]又は[2]に記載の計算装置。
[3]
The calculation data corresponding to the calculation operation accepted by the calculation reception means includes the conversion calculation data.
Equipped with a conversion rate setting means that sets the conversion rate according to user operation
[1] or [2], wherein the calculation data corresponding to the calculation operation accepted by the calculation receiving means is being set, and the conversion rate corresponding to the conversion calculation data is being set. Computational device.

[4]
ユーザ操作に応じて前記計算操作データ登録手段により計算操作データとして登録された数値データを修正する数値データ修正手段を備え、
前記登録データ印刷制御手段は、
前記数値データ修正手段による数値データの修正途中において、前記印刷操作受付手段により印刷の操作が受け付けられた場合は、当該印刷の操作の受け付けを無効にする修正途中印刷無効手段、
を備えたことを特徴とする[1]乃至[3]の何れかに記載の計算装置。
[4]
A numerical data correction means for correcting numerical data registered as calculation operation data by the calculation operation data registration means according to a user operation is provided.
The registered data print control means
If a printing operation is accepted by the printing operation receiving means during the correction of the numerical data by the numerical data correcting means, the correction intermediate printing invalid means for invalidating the acceptance of the printing operation.
The computing device according to any one of [1] to [3].

[5]
前記計算受付手段により受け付けられる計算の操作は税計算の操作を含み、当該税計算の操作に対応する計算データは税計算の計算データを含み、
前記数値データ入力手段により数値データが入力され、かつ前記計算受付手段により税計算の操作が受け付けられると、当該数値データについての税計算結果データを計算する税計算手段と、
前記税計算手段により計算された税計算結果データを表示させる表示制御手段と、
前記税計算手段により計算された税計算結果データと当該税計算結果データに応じた税額データとを含む税計算印刷データを印刷する税印刷制御手段と、
前記表示制御手段により税計算結果データが表示された状態で、前記計算受付手段により税計算の操作が受け付けられると、印刷することなしに、前記税計算結果データに対応する税額データを表示させる印刷無し表示制御手段と、
を備えたことを特徴とする[1]乃至[4]の何れかに記載の計算装置。
[5]
The calculation operation accepted by the calculation receiving means includes the tax calculation operation, and the calculation data corresponding to the tax calculation operation includes the tax calculation calculation data.
When the numerical data is input by the numerical data input means and the tax calculation operation is received by the calculation receiving means, the tax calculation means for calculating the tax calculation result data for the numerical data and the tax calculation means.
A display control means for displaying the tax calculation result data calculated by the tax calculation means, and
A tax print control means for printing tax calculation print data including tax calculation result data calculated by the tax calculation means and tax amount data corresponding to the tax calculation result data.
When the tax calculation operation is accepted by the calculation receiving means while the tax calculation result data is displayed by the display control means, the tax amount data corresponding to the tax calculation result data is displayed without printing. None Display control means and
The computing device according to any one of [1] to [4].

[6]
ユーザ操作に応じて数値データを入力し、
ユーザによる計算の操作を受け付け、
前記入力された数値データと前記受け付けられた計算の操作に対応する計算データを計算操作データとして登録し、
ユーザ操作に応じた印刷の操作を受け付け、
前記印刷の操作が受け付けられると、前記登録された計算操作データに基づき計算された計算結果データを含む計算印刷データを印刷し、
前記計算操作データの印刷は、
前記印刷の操作が受け付けられた際に、前記計算の操作の受け付け途中であるか又は計算の操作に対応する計算データの設定途中であると判断された場合は、当該印刷の操作の受け付けを無効にする、
ことを特徴とする計算印刷方法。
[6]
Enter numerical data according to user operation,
Accepts calculation operations by the user
The input numerical data and the calculation data corresponding to the accepted calculation operation are registered as the calculation operation data, and the calculation operation data is registered.
Accepts printing operations according to user operations,
When the print operation is accepted, the calculation print data including the calculation result data calculated based on the registered calculation operation data is printed.
Printing of the calculation operation data
When the printing operation is accepted, if it is determined that the calculation operation is being accepted or the calculation data corresponding to the calculation operation is being set, the acceptance of the printing operation is invalidated. To
A calculation printing method characterized by that.

[7]
コンピュータを、
ユーザ操作に応じて数値データを入力する数値データ入力手段、
ユーザによる計算の操作を受け付ける計算受付手段、
前記数値データ入力手段により入力された数値データと前記計算受付手段により受け付けられた計算の操作に対応する計算データを計算操作データとして登録する計算操作データ登録手段、
ユーザ操作に応じた印刷の操作を受け付ける印刷操作受付手段、
前記印刷操作受付手段により印刷の操作が受け付けられると、前記計算操作データ登録手段により登録された計算操作データに基づき計算された計算結果データを含む計算印刷データを印刷する登録データ印刷制御手段として機能させ、
前記登録データ印刷制御手段は、前記コンピュータを、
前記印刷操作受付手段により印刷の操作が受け付けられた際に、前記計算受付手段による計算の操作の受け付け途中であるか又は計算の操作に対応する計算データの設定途中であると判断された場合は、当該印刷の操作の受け付けを無効にする計算途中印刷無効手段として機能させるコンピュータ読み込み可能なプログラム。
[7]
Computer,
Numerical data input means for inputting numerical data according to user operation,
Calculation receiving means that accepts calculation operations by the user,
A calculation operation data registration means for registering numerical data input by the numerical data input means and calculation data corresponding to the calculation operation received by the calculation reception means as calculation operation data.
Printing operation receiving means that accepts printing operations according to user operations,
When a print operation is received by the print operation reception means, it functions as a registration data print control means for printing calculation print data including calculation result data calculated based on the calculation operation data registered by the calculation operation data registration means. Let me
The registered data print control means controls the computer.
When the print operation is accepted by the print operation receiving means, if it is determined that the calculation operation is being accepted by the calculation receiving means or the calculation data corresponding to the calculation operation is being set. A computer-readable program that acts as a means of disabling printing during calculations that disables acceptance of the print operation.

10 …プリンタ付き電卓
11 …キー入力部
11a…[PRT](プリントモード)キー
11b…[TAX+](税込計算)キー
11c…[TAX−](税抜計算)キー
11d…[▽](登録データ確認)キー
11e…[△](登録データ確認)キー
11f…[CORRECT](修正)キー
11g…[REPRINT](登録データ印刷)キー
11h…[CA](クリアオール)キー
11i…[%(SET)](換算レート設定)キー
11j…[$](ドル)キー
11k…[C1](通貨1)キー
11l…[C2](通貨2)キー
11m…[C3](通貨3)キー
11n…[*](トータル)キー
12 …表示部
13 …印刷部
P …記録紙
21 …CPU
22 …メモリ
22a…計算データ印刷処理プログラム
22b…PRINTモードメモリ
22c…計算モードメモリ
22d…計算データメモリ
22e…行番号メモリ
22f…状態フラグメモリ
22g…換算レートメモリ
23 …外部記録媒体
24 …記録媒体読取部
25 …通信部
30 …Webサーバ
N …通信ネットワーク
10 ... Calculator with printer 11 ... Key input section 11a ... [PRT] (print mode) key 11b ... [TAX +] (calculation including tax) key 11c ... [TAX-] (calculation without tax) key 11d ... [▽] (registration data) Confirmation) key 11e ... [△] (Registration data confirmation) key 11f ... [CORRECT] (Correction) key 11g ... [REPRINT] (Registration data print) key 11h ... [CA] (Clear all) key 11i ... [% (SET) )] (Conversion rate setting) key 11j ... [$] (dollar) key 11k ... [C1] (currency 1) key 11l ... [C2] (currency 2) key 11m ... [C3] (currency 3) key 11n ... [ *] (Total) key 12 ... Display unit 13 ... Printing unit P ... Recording paper 21 ... CPU
22 ... Memory 22a ... Calculation data print processing program 22b ... PRINT mode memory 22c ... Calculation mode memory 22d ... Calculation data memory 22e ... Line number memory 22f ... Status flag memory 22g ... Conversion rate memory 23 ... External recording medium 24 ... Recording medium reading Department 25 ... Communication Department 30 ... Web server N ... Communication network

Claims (13)

ユーザによる演算の操作を受け付ける演算受付手段と、An operation reception means that accepts operation operations by the user,
ユーザの印刷指示操作に基づいて、演算された演算結果データを含む演算データを印刷する印刷制御手段と、 A print control means that prints calculation data including calculation result data calculated based on a user's print instruction operation, and
を備え、 With
前記印刷制御手段は、 The print control means
ユーザの印刷指示操作がなされた際に、前記演算受付手段による演算の操作の受け付け途中であるか又は演算の操作に対応する演算データの設定途中であると判断されている場合は、前記印刷指示操作を無効にする演算途中印刷無効手段を備えている演算装置。 When the user's print instruction operation is performed, if it is determined that the operation of the operation by the operation receiving means is being accepted or the operation data corresponding to the operation of the operation is being set, the print instruction is given. An arithmetic unit equipped with a means for disabling printing during calculation that invalidates an operation.
前記演算受付手段による演算の操作の受け付け途中は、換算の操作の受け付け途中である請求項1に記載の演算装置。The arithmetic unit according to claim 1, wherein the arithmetic operation is being accepted by the arithmetic receiving means while the conversion operation is being accepted. 前記演算受付手段により受け付けられる演算の操作に対応する演算データは換算の演算データを含み、The calculation data corresponding to the operation of the calculation accepted by the calculation reception means includes the calculation data of the conversion.
ユーザ操作に応じて換算レートを設定する換算レート設定手段を備え、 Equipped with a conversion rate setting means that sets the conversion rate according to user operation
前記演算受付手段により受け付けられる演算の操作に対応する演算データの設定途中は、前記換算の演算データに対応する換算レートの設定途中である請求項1又は請求項2に記載の演算装置。 The arithmetic unit according to claim 1 or 2, wherein the arithmetic data corresponding to the operation of the arithmetic accepted by the arithmetic receiving means is being set, and the conversion rate corresponding to the converted arithmetic data is being set.
前記演算受付手段により受け付けられた演算の操作にしたがって演算結果データを得る演算手段をさらに備える請求項1に記載の演算装置。The arithmetic unit according to claim 1, further comprising an arithmetic means for obtaining arithmetic result data according to an operation of an arithmetic accepted by the arithmetic receiving means. 前記演算受付手段により受け付けられる演算の操作は税演算の操作を含み、前記税演算の操作に対応する演算データは税演算の演算データを含み、The operation of the calculation accepted by the calculation receiving means includes the operation of the tax calculation, and the calculation data corresponding to the operation of the tax calculation includes the calculation data of the tax calculation.
前記演算手段は、前記演算受付手段により税演算の操作が受け付けられると、税演算結果データを得る税演算手段を有する請求項4に記載の演算装置。 The arithmetic unit according to claim 4, wherein the arithmetic means has a tax arithmetic means for obtaining tax calculation result data when an operation of tax calculation is received by the arithmetic receiving means.
前記税演算手段により演算された税演算結果データを表示させる表示制御手段と、A display control means for displaying the tax calculation result data calculated by the tax calculation means, and
前記表示制御手段により税演算結果データが表示された状態で、前記演算受付手段により税演算の操作が受け付けられると、印刷することなしに、前記税演算結果データに対応する税額データを表示させる印刷無し表示制御手段と、 When the tax calculation operation is accepted by the calculation receiving means while the tax calculation result data is displayed by the display control means, printing is performed so that the tax amount data corresponding to the tax calculation result data is displayed without printing. None Display control means and
をさらに備えている請求項5に記載の演算装置。The arithmetic unit according to claim 5, further comprising.
前記印刷制御手段は、前記税演算手段により演算された税演算結果データと前記税演算結果データに応じた税額データとを含む税演算印刷データを印刷する税印刷制御手段を備えている請求項5に記載の演算装置。5. The print control means includes a tax print control means for printing tax calculation print data including tax calculation result data calculated by the tax calculation means and tax amount data corresponding to the tax calculation result data. The arithmetic unit described in. ユーザ操作に応じて数値データを入力する数値データ入力手段をさらに備え、Further equipped with a numerical data input means for inputting numerical data according to a user operation,
前記演算受付手段は、前記数値データを演算するための演算の操作を受け付ける請求項1に記載の演算装置。 The arithmetic unit according to claim 1, wherein the arithmetic receiving means accepts an operation of an arithmetic for calculating the numerical data.
前記演算受付手段により受け付けられた演算の操作に基づいた演算操作データを登録する演算操作データ登録手段をさらに備える請求項1に記載の演算装置。The arithmetic unit according to claim 1, further comprising an arithmetic operation data registration means for registering arithmetic operation data based on an arithmetic operation received by the arithmetic receiving means. ユーザ操作に応じて前記演算操作データ登録手段により演算操作データとして登録された数値データを修正する数値データ修正手段を備え、A numerical data correction means for correcting the numerical data registered as the calculation operation data by the calculation operation data registration means according to the user operation is provided.
前記印刷制御手段は、 The print control means
前記数値データ修正手段による数値データの修正途中において、ユーザの印刷指示操作がなされた場合、前記印刷指示操作を無効にする修正途中印刷無効手段、 If a user's print instruction operation is performed during the correction of the numerical data by the numerical data correction means, the correction intermediate print invalid means for invalidating the print instruction operation.
を備えている請求項9に記載の演算装置。9. The arithmetic unit according to claim 9.
ユーザ操作に応じた印刷の操作を受け付ける印刷操作受付手段をさらに備え、Further equipped with a printing operation receiving means for accepting printing operations according to user operations,
前記印刷制御手段は、前記印刷操作受付手段により印刷の操作が受け付けられると、前記演算データを印刷する請求項1に記載の演算装置。 The arithmetic unit according to claim 1, wherein the print control means prints the arithmetic data when a print operation is received by the print operation acceptance means.
演算装置のプロセッサによって実行される方法であって、A method performed by the processor of the arithmetic unit,
ユーザによる演算の操作を受け付け、 Accepts operation by the user
ユーザの印刷指示操作がなされた際に、前記演算の操作の受け付け途中であるか又は演算の操作に対応する演算データの設定途中であると判断されている場合は、前記印刷指示操作を無効にし、 If it is determined that the operation of the calculation is being accepted or the calculation data corresponding to the operation of the calculation is being set when the user's print instruction operation is performed, the print instruction operation is invalidated. ,
ユーザの印刷指示操作がなされた際に、前記演算の操作の受け付け途中であるか又は演算の操作に対応する演算データの設定途中でないと判断されている場合は、前記印刷指示操作に基づいて、演算された演算結果データを含む演算データを印刷する、演算印刷方法。 When the user's print instruction operation is performed, if it is determined that the operation of the calculation is being accepted or the calculation data corresponding to the operation of the calculation is not being set, based on the print instruction operation. An arithmetic printing method that prints arithmetic data including calculated arithmetic result data.
演算装置が備えるコンピュータによって、Depending on the computer installed in the arithmetic unit
ユーザによる演算の操作を受け付けるステップと、 Steps that accept user operations and
ユーザの印刷指示操作がなされた際に、前記演算の操作の受け付け途中であるか又は演算の操作に対応する演算データの設定途中であると判断されている場合は、前記印刷指示操作を無効にし、ユーザの印刷指示操作がなされた際に、前記演算の操作の受け付け途中であるか又は演算の操作に対応する演算データの設定途中でないと判断されている場合は、前記印刷指示操作に基づいて、演算された演算結果データを含む演算データを印刷する印刷制御ステップと、 If it is determined that the operation of the calculation is being accepted or the calculation data corresponding to the operation of the calculation is being set when the user's print instruction operation is performed, the print instruction operation is invalidated. , When it is determined that the operation of the calculation is being accepted or the calculation data corresponding to the operation of the calculation is not being set when the user's print instruction operation is performed, the print instruction operation is used as a basis. , A print control step that prints the calculated data including the calculated calculated result data,
を実行させるためのプログラム。A program to execute.
JP2016183287A 2016-09-20 2016-09-20 Arithmetic logic unit, arithmetic printing method, and program Active JP6784110B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2016183287A JP6784110B2 (en) 2016-09-20 2016-09-20 Arithmetic logic unit, arithmetic printing method, and program
CN202110661737.8A CN113326225A (en) 2016-09-20 2017-08-25 Data printing control device and method, storage medium, and electronic calculator
CN201710742081.6A CN107844452B (en) 2016-09-20 2017-08-25 Arithmetic device, arithmetic printing method, and arithmetic program storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016183287A JP6784110B2 (en) 2016-09-20 2016-09-20 Arithmetic logic unit, arithmetic printing method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020177167A Division JP7020528B2 (en) 2020-10-22 2020-10-22 Data print control device, computer, data print control method, and data print control program

Publications (3)

Publication Number Publication Date
JP2018049379A JP2018049379A (en) 2018-03-29
JP2018049379A5 JP2018049379A5 (en) 2019-10-31
JP6784110B2 true JP6784110B2 (en) 2020-11-11

Family

ID=61683012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016183287A Active JP6784110B2 (en) 2016-09-20 2016-09-20 Arithmetic logic unit, arithmetic printing method, and program

Country Status (2)

Country Link
JP (1) JP6784110B2 (en)
CN (2) CN107844452B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7500934B2 (en) 2018-10-03 2024-06-18 カシオ計算機株式会社 Computer, calculation method, and program
JP7184068B2 (en) 2020-09-17 2022-12-06 カシオ計算機株式会社 Calculator, calculation method and calculation program

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5140036A (en) * 1974-09-18 1976-04-03 Casio Computer Co Ltd Keisanki no injiseigyohoshiki
JPS6384654U (en) * 1986-11-20 1988-06-03
US5243550A (en) * 1992-03-27 1993-09-07 Michael Cannizzaro Multi-column printing calculator
JP3503251B2 (en) * 1995-03-03 2004-03-02 カシオ計算機株式会社 Electronic computer
JP2005141559A (en) * 2003-11-07 2005-06-02 Sharp Corp Information processor with conversion function and conversion processing program
CN1855084A (en) * 2005-04-25 2006-11-01 金宝电子工业股份有限公司 Method for controlling commercial function of printing computer
CN101383070B (en) * 2007-09-05 2012-03-21 山东新北洋信息技术股份有限公司 Print control method and device
JP5324257B2 (en) * 2009-02-27 2013-10-23 キヤノン株式会社 Information processing apparatus, control method therefor, and program
DE102014007852A1 (en) * 2014-05-22 2015-11-26 Heidelberger Druckmaschinen Ag Method for operating a printing machine
CN105467791B (en) * 2014-09-30 2018-11-23 京瓷办公信息系统株式会社 Image forming apparatus
JP2016107482A (en) * 2014-12-04 2016-06-20 キヤノン株式会社 Printing processing system, printing control device, image formation device, control method, program and storage medium
CN104866256A (en) * 2015-06-18 2015-08-26 龙海鹏 Printing solution and printer using printing solution

Also Published As

Publication number Publication date
CN107844452B (en) 2021-06-01
JP2018049379A (en) 2018-03-29
CN107844452A (en) 2018-03-27
CN113326225A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
JP6784110B2 (en) Arithmetic logic unit, arithmetic printing method, and program
JP6825285B2 (en) Computer, calculation printing method, program
JP6759766B2 (en) Tax calculators, tax calculators, and programs
US10684982B2 (en) Calculating device, calculating method, and computer readable recording medium
JP2011054053A (en) Payment processor and program
JP7020528B2 (en) Data print control device, computer, data print control method, and data print control program
JP2021192316A (en) Calculation device, calculation method, and program
JP6915263B2 (en) Arithmetic logic unit, calculation printing method, and program
JP2021101380A (en) Commodity sales data processing device and data processing program
JP2018001591A5 (en)
JP6926556B2 (en) Arithmetic logic units, calculation methods, and programs
JP6816392B2 (en) Computational equipment, computational methods, and programs
JP2012048276A (en) Commodity data processing device and its program
JP6155692B2 (en) Label issuing device and program
JP7192342B2 (en) ELECTRONIC DEVICE, ELECTRONIC DEVICE CONTROL METHOD, AND ELECTRONIC DEVICE CONTROL PROGRAM
US20150227958A1 (en) Settlement terminal and method for the same
JP6950344B2 (en) Arithmetic logic units, calculation methods, and programs
JP2015106261A (en) Commodity sales data processing apparatus and program
JP6262119B2 (en) Sales data processing apparatus and program
JP6148977B2 (en) Merchandise sales data processing apparatus and display control program
JPH0490096A (en) Electronic cash register

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190919

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190919

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200820

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200923

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201006

R150 Certificate of patent or registration of utility model

Ref document number: 6784110

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150