JP6724374B2 - Calculation data printing device and program - Google Patents

Calculation data printing device and program Download PDF

Info

Publication number
JP6724374B2
JP6724374B2 JP2016006426A JP2016006426A JP6724374B2 JP 6724374 B2 JP6724374 B2 JP 6724374B2 JP 2016006426 A JP2016006426 A JP 2016006426A JP 2016006426 A JP2016006426 A JP 2016006426A JP 6724374 B2 JP6724374 B2 JP 6724374B2
Authority
JP
Japan
Prior art keywords
data
print
calculation
printing
calculation data
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
JP2016006426A
Other languages
Japanese (ja)
Other versions
JP2017124581A (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 JP2016006426A priority Critical patent/JP6724374B2/en
Publication of JP2017124581A publication Critical patent/JP2017124581A/en
Application granted granted Critical
Publication of JP6724374B2 publication Critical patent/JP6724374B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Calculators And Similar Devices (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

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

従来、1回目に入力した計算式を保存しておき、2回目に同じ計算式を入力して正誤判定する2度打ち検算を行なえるプリンタ付き電卓が提案されている(例えば、特許文献1参照。)。 Conventionally, there has been proposed a printer-equipped calculator that can save a calculation formula input at the first time and input the same calculation formula at the second time to perform a double-correction check for correctness determination (for example, see Patent Document 1). ..).

このプリンタ付き電卓では、1回目の計算に伴う計算データは印刷せず、2回目の計算式の入力が終わった時点で、一連の計算データを印刷する。これにより、1回目の計算に入力ミスがあっても、2回目の計算の確認後に正しい入力内容を印刷することができるので、無駄な印刷を防ぐことができる。 This calculator with printer does not print the calculation data associated with the first calculation, but prints a series of calculation data when the second calculation formula is input. As a result, even if there is an input error in the first calculation, the correct input content can be printed after confirmation of the second calculation, so wasteful printing can be prevented.

特開平08−241285号公報JP, 08-241285, A

一般に、プリンタ付き電卓は、計算式の演算数、被演算数を入力する毎にそれを計算データとして順次印刷して行き、入力した一連の計算式を確認しながら計算作業を行なえる利点があるが、前記従来のプリンタ付き電卓のように、1回目の計算に伴う計算データを印刷しないとこの利点が得られない。 In general, a calculator with a printer has an advantage that each time the number of calculations and the number of operands of a calculation formula are input, they are sequentially printed as calculation data and the calculation work can be performed while checking the series of input formulas. However, this advantage cannot be obtained unless the calculation data associated with the first calculation is printed unlike the conventional calculator with a printer.

すなわち、2回目に同じ計算式を入力して、1回目の計算と比較して正誤判定する2度打ち検算ではなく、入力した計算データをその都度表示や印刷にして確認する検算の仕方では、前記従来のプリンタ付き電卓の印刷方式で無駄な印刷を防ぐことはできない。 That is, in the verification method of inputting the same calculation formula the second time and checking whether the input calculation data is displayed or printed each time, instead of the double-correction verification that is correct and incorrect compared with the first calculation, The conventional printing method of the calculator with a printer cannot prevent useless printing.

本発明は、このような課題に鑑みなされたもので、計算データが入力されて印刷された後に、計算データを修正する際に無駄な印刷を防いで印刷を節約することが可能になる計算データ印刷装置及びその制御プログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and it is possible to save unnecessary printing by preventing unnecessary printing when correcting calculation data after the calculation data is input and printed. An object of the present invention is to provide a printing apparatus and a control program for the printing apparatus.

本発明に係る計算データ印刷装置は、数値と演算子を含む計算データを入力する計算データ入力手段と、丸めモードを設定する丸めモード設定手段と、前記丸めモード設定手段により設定された丸めモードで前記計算データ入力手段により入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、前記計算データ入力手段により入力された何れかの計算データがユーザ操作に応じて修正された場合、前記丸めモード設定手段により設定された丸めモードで前記修正された計算データを含む少なくとも1つの計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段と、前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に、前記新たに算出された結果データを含む第2の印刷データの印刷を禁止する印刷禁止手段と、を備えたことを特徴としている。
本発明に係る計算データ印刷装置は、数値と演算子を含む計算データを入力する計算データ入力手段と、複数の丸めモードのうち何れかの丸めモードを設定する丸めモード設定手段と、前記設定された丸めモードで前記計算データ入力手段により入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、前記丸めモード設定手段により丸めモードが変更された場合、前記変更された丸めモードに従い前記入力された複数の計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段と、前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に、前記新たに算出された結果データを含む第2の印刷データの印刷を禁止する印刷禁止手段と、を備えたことを特徴としている。
A calculation data printing device according to the present invention is a calculation data input unit for inputting calculation data including a numerical value and an operator, a rounding mode setting unit for setting a rounding mode , and a rounding mode set by the rounding mode setting unit. wherein calculating the calculated data input means of a plurality of calculation data input by the result data, the calculation data printing means for printing the first print data including the result data the calculated, input by the calculation data input means When any one of the calculated data is corrected according to the user operation, the result data of at least one calculated data including the corrected calculated data is newly calculated in the rounding mode set by the rounding mode setting means. the new second print data including the calculated result data, the first print data and the print difference determining means for determining whether or not different, the second printing by the printing difference determining means A print prohibition unit that prohibits printing of the second print data including the newly calculated result data when it is determined that the data is not different from the first print data. I am trying.
A calculation data printing apparatus according to the present invention includes calculation data input means for inputting calculation data including numerical values and operators, rounding mode setting means for setting any one of a plurality of rounding modes, and rounding mode setting means. Calculation data printing means for calculating result data of a plurality of calculation data input by the calculation data inputting means in a rounding mode and printing first print data including the calculated result data; and the rounding mode setting. When the rounding mode is changed by the means, the result data of the plurality of input calculation data is newly calculated according to the changed rounding mode, and the second print data including the newly calculated result data is generated. A case in which the print difference determination unit determines whether or not the first print data is different from the first print data, and the print difference determination unit determines that the second print data is not different from the first print data. And a print prohibition unit that prohibits printing of the second print data including the newly calculated result data.

本発明によれば、計算データが入力されて印刷された後に、計算データを修正する際に無駄な印刷を防いで印刷を節約することが可能になる。 According to the present invention, after the calculation data is input and printed, it is possible to prevent wasteful printing when modifying the calculation data and save the printing.

本発明の計算データ印刷装置の実施形態に係るプリンタ付き電卓10の外観構成を示す正面図。The front view which shows the external appearance structure of the calculator 10 with a printer which concerns on embodiment of the calculation data printing device of this invention. 前記プリンタ付き電卓10の電子回路の構成を示すブロック図。The block diagram which shows the structure of the electronic circuit of the said calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その1)を示すフローチャート。The flowchart which shows the calculation data printing process (the 1) of the said calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その2)を示すフローチャート。The flowchart which shows the calculation data printing process (the 2) of the said calculator 10 with a printer. 前記計算データ印刷処理の実施例1であって、計算データを修正しても印刷データが変化(相違)しない場合のユーザ操作に応じた表示・印刷・計算動作を示す図。FIG. 7 is a diagram illustrating a display/print/calculation operation according to a user operation in the first embodiment of the calculation data printing process, in which the print data does not change (is different) even if the calculation data is corrected. 前記実施例1であって、計算データを修正すると印刷データが変化(相違)する場合のユーザ操作に応じた表示・印刷・計算動作を示す図。FIG. 10 is a diagram showing the display/print/calculation operation according to a user operation in the case where the print data changes (is different) when the calculation data is corrected in the first embodiment. 前記計算データ印刷処理の実施例2であって、丸めモードの設定を変更しても印刷データが変化(相違)しない場合のユーザ操作に応じた表示・印刷・計算動作を示す図。FIG. 10 is a diagram illustrating a display/print/calculation operation according to a user operation when the print data does not change (difference) even when the setting of the rounding mode is changed, which is Embodiment 2 of the calculation data printing process. 前記実施例2であって、丸めモードの設定を変更すると印刷データが変化(相違)する場合のユーザ操作に応じた表示・印刷・計算動作を示す図。FIG. 11 is a diagram showing the display/print/calculation operation according to a user operation when print data changes (differs) when the setting of the rounding mode is changed in the second embodiment.

以下図面により本発明の実施の形態について説明する。 An embodiment of the present invention will be described below 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 a calculation data printing device of the present invention.

このプリンタ付き電卓10は、机上に置いて操作し易い置き型の本体ケースの手前側にキー入力部11を備え、キー入力部11の奥側に表示部12、印刷部13を備えている。 This calculator 10 with a printer is provided with a key input unit 11 on the front side of a stand-type main body case that is easy to operate on a desk, and a display unit 12 and a printing unit 13 on the back side of the key input unit 11.

前記キー入力部11には、数値入力用の各キー([0][00][1]〜[9][.])、演算子指定用の各キー([+=][−][×][÷][G*(グランドトータル)][*(トータル)][%][TAX−][TAX+][M*(メモリリコールクリア)]〜[M+(メモリプラス)][MU(マークアップ)/MD(マークダウン)]等)、クリアオールキー[CA]、クリアキー[C]、入力済み計算データの呼び出しキー[△][▽]、修正指示キー[CORRECT]、印刷指定用の各キー[RE][PRINT]等が備えられる。なお、本発明において演算子は、四則演算子に限定されず、合計計算や総合計の演算を行う演算命令や、計算実行を含む演算命令を含むこととする。 The key input unit 11 includes keys for entering numerical values ([0][00][1] to [9][.]) and keys for specifying operators ([+=][-][×]. ] [÷] [G* (Grand Total)] [* (Total)] [%] [TAX-] [TAX+] [M* (Memory Recall Clear)] to [M+ (Memory Plus)] [MU (Markup )/MD (mark down)], etc.), clear all key [CA], clear key [C], input calculation data recall key [△] [▽], correction instruction key [CORRECT], print designation Keys [RE], [PRINT], etc. are provided. In addition, in the present invention, the operator is not limited to the four arithmetic operators, and includes an operation instruction for performing total calculation and total operation, and an operation instruction including calculation execution.

なお、前記[+=]キーを入力した場合は、[+=]キーの直前に入力された数値までを加算した結果の計算データが得られる。 When the [+=] key is input, the calculation data obtained as a result of adding up to the numerical value input immediately before the [+=] key is obtained.

また、前記キー入力部11には、プリントモードスイッチ11a、ラウンド(丸めモード)スイッチ11b、小数点指定スイッチ11cが備えられる。 Further, the key input section 11 includes a print mode switch 11a, a round (rounding mode) switch 11b, and a decimal point designating switch 11c.

前記プリントモードスイッチ11aは、“OFF”“ON”“PRINT”の切り替え位置を有し、“OFF”の位置では電源OFF、“ON”の位置では電源が入りプリントモードOFFの状態に設定され、“PRINT”の位置では電源が入りプリントモードONの状態(計算データの入力が確定する毎に印刷する状態)に設定される。 The print mode switch 11a has switching positions of "OFF", "ON", and "PRINT". The power is OFF at the "OFF" position, and the power is turned on at the "ON" position to set the print mode OFF. At the "PRINT" position, the power is turned on and the print mode is set to the ON state (a state in which printing is performed each time the input of calculation data is confirmed).

前記ラウンド(丸めモード)スイッチ11bは、小数点以下をどのように求めるかの端数処理を指定するスイッチであり、図1(A)に示すように、“F”“CUT”“UP”“5/4”の切り替え位置を有する。“F”の位置では、小数点以下を計算したまま丸めせずに求め、“CUT”の位置では、小数点以下の指定桁までを「切捨て」で求め、“UP”の位置では、小数点以下の指定桁までを「切上げ」で求め、“5/4”の位置では、小数点以下の指定桁までを「四捨五入」で求める。 The round (rounding mode) switch 11b is a switch for designating a rounding process of how to calculate the fractional part, and as shown in FIG. 1(A), "F", "CUT", "UP", "5/ It has a switching position of 4". At the position of "F", the decimal point is calculated without rounding, rounding is performed, at the position of "CUT", up to the specified digit after the decimal point is "truncated", and at the position of "UP", the decimal point is specified. Calculate up to the number of digits by "rounding up", and at the "5/4" position, calculate up to the designated digit after the decimal point by "rounding off".

前記小数点指定スイッチ11cは、前記ラウンドスイッチ11bが“CUT”“UP”又は“5/4”に指定されているとき、小数点以下を「何桁まで」求めるかを指定するスイッチであり、“0”〜“6”の桁指定位置を有し、指定した数の下1桁が「切捨て」「切上げ」「四捨五入」される。 The decimal point designating switch 11c is a switch for designating “up to the number of digits” after the decimal point when the round switch 11b is designated as “CUT”, “UP” or “5/4”. There is a digit designation position from "" to "6", and the last digit of the designated number is "rounded down", "rounded up" or "rounded off".

前記印刷指定用の[RE]キーと[PRINT]キーは、図1(B)に示すように、そのキートップが独立しているものの、同時押し可能なように隣接して配置される。前記[PRINT]キーを単独で押した場合は、プリントモードOFFの状態でその直前に計算された一連の計算データが印刷され、[RE]+[PRINT]キーを同時押しした場合は、プリントモードOFF/ONに関わらずその直前に計算された一連の計算データが印刷(再印刷)される。 The [RE] key and the [PRINT] key for designating printing are arranged adjacent to each other so that they can be pressed simultaneously, although their key tops are independent as shown in FIG. 1(B). When the [PRINT] key is pressed alone, the series of calculation data calculated immediately before that is printed in the print mode OFF state, and when the [RE]+[PRINT] keys are pressed simultaneously, the print mode Regardless of OFF/ON, a series of calculation data calculated immediately before that is printed (reprinted).

なお、前記プリントモードONの状態であっても、前記[PRINT]キーを単独で2回続けて押した場合、あるいは所定時間以上長押しした場合、その直前に計算された一連の計算データが再印刷される。 Even when the print mode is ON, if the [PRINT] key is pressed twice in succession alone, or if it is pressed for a predetermined time or longer, the series of calculation data calculated immediately before that is re-executed. Printed.

前記表示部12は、12桁のセグメントからなる液晶表示パネルを備え、入力された計算式や計算結果の計算データがその都度表示される。 The display unit 12 includes a liquid crystal display panel including 12-digit segments, and the input calculation formula and calculation result calculation data are displayed each time.

前記印刷部13は、例えば熱転写式の印刷機構を備え、前記プリントモードOFF/ONの設定状態と前記[RE]キーと[PRINT]キーの入力状態とに基づいて、前記計算データを記録紙Pに印刷して出力する。 The printing unit 13 includes, for example, a thermal transfer printing mechanism, and prints the calculation data on the recording paper P based on the setting state of the print mode OFF/ON and the input states of the [RE] key and the [PRINT] key. To print and output.

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

前記プリンタ付き電卓10の電子回路は、コンピュータであるCPU(プロセッサ)11を備えている。前記CPU11は、メモリ22に記憶される計算機制御プログラムに従い回路各部の動作を制御し、前記キー入力部11のユーザ操作に応じた各種の計算機能や計算データの印刷機能を実行する。 The electronic circuit of the calculator 10 with a printer includes a CPU (processor) 11 which is a computer. The CPU 11 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 section 11.

前記CPU(プロセッサ)21には、前記キー入力部11、表示部12、印刷部13、記憶部22、記録媒体読取部24が接続される他に、外部機器(30)との通信を行なう通信部25も接続される。 The CPU (processor) 21 is connected to the key input unit 11, the display unit 12, the printing unit 13, the storage unit 22 and the recording medium reading unit 24, and also communicates with an external device (30). The part 25 is also connected.

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

前記計算機制御プログラムには、ユーザ操作に応じた各種の計算処理プログラムの他、計算処理プログラムに従い実行された計算処理の計算データを印刷するための計算データ印刷処理プログラム22aが含まれる。 The computer control program includes a calculation data printing processing program 22a for printing calculation data of calculation processing executed according to the calculation processing program, in addition to various calculation processing programs according to user operations.

また、前記メモリ22には、PRINTモード記憶エリア22b、未印刷フラグ記憶エリア22c、丸めモード(端数処理モード)記憶エリア22d、計算モード記憶エリア22e、計算データ記憶エリア22fが確保される。 Further, in the memory 22, a PRINT mode storage area 22b, an unprinted flag storage area 22c, a rounding mode (fraction processing mode) storage area 22d, a calculation mode storage area 22e, and a calculation data storage area 22f are secured.

前記PRINTモード記憶エリア22bには、前記プリントモードスイッチ11aが“ON”の位置でプリントモードOFFの設定データが記憶され、“PRINT”の位置でプリントモードON(計算データの入力が確定する毎に印刷する状態)の設定データが記憶される。 In the PRINT mode storage area 22b, print mode OFF setting data is stored when the print mode switch 11a is in the "ON" position, and print mode ON is set in the "PRINT" position (every time input of calculation data is confirmed. The setting data (printing state) is stored.

前記未印刷フラグ記憶エリア22cには、ユーザ操作に応じた計算処理での一連の計算データに対応付けられて、前記PRINTモードOFFの状態で未印刷フラグONのデータが記憶され、また、前記PRINTモードONの状態でも前記計算データの修正により印刷データが前回の印刷データから変化(相違)する場合は未印刷フラグONのデータが記憶され、前回の印刷データから変化(相違)しない場合は未印刷フラグOFFのデータが記憶される。 The unprinted flag storage area 22c stores the unprinted flag ON data in the PRINT mode OFF state in association with a series of calculation data in the calculation process according to the user operation. Even when the mode is ON, if the print data changes (differences) from the previous print data due to the correction of the calculation data, the data of the unprinted flag ON is stored, and if the print data does not change (difference) from the previous print data, it does not print. The flag OFF data is stored.

ここで、前記表示部12に表示される計算データについて、前記未印刷フラグONの場合は未印刷シンボル“NOT PRINTED”が表示され、前記未印刷フラグOFFの場合は印刷済みシンボル“PRINTED”が表示される。 Here, regarding the calculation data displayed on the display unit 12, the unprinted symbol “NOT PRINTED” is displayed when the unprinted flag is ON, and the printed symbol “PRINTED” is displayed when the unprinted flag is OFF. To be done.

前記丸めモード(端数処理モード)記憶エリア22dには、前記ラウンド(丸めモード)スイッチ11bの位置に応じて指定された、“CUT”「切捨て」、“UP”「切上げ」、“5/4”「四捨五入」の何れかの設定データと、丸めモードにおいて前記小数点指定スイッチ11cの位置に応じて指定された、丸め桁の設定データが記憶される。 In the rounding mode (fraction processing mode) storage area 22d, "CUT" "round down", "UP" "round up", "5/4" specified according to the position of the round (rounding mode) switch 11b. The setting data of "rounding off" and the setting data of the rounding digit designated according to the position of the decimal point designating switch 11c in the rounding mode are stored.

前記計算モード記憶エリア22eには、ユーザ操作に応じて入力される数値と計算機能からなる計算式の計算データを順次ジャーナルデータとして登録する計算登録モードの設定データか、計算登録モードで登録された計算データを前記呼び出しキー[△][▽]の入力に応じて呼び出して表示させる計算確認(検算)モードの設定データが記憶される。 In the calculation mode storage area 22e, the setting data of the calculation registration mode for sequentially registering the calculation data of the calculation formula composed of the numerical value input according to the user operation and the calculation function as the journal data, or registered in the calculation registration mode. The setting data of the calculation confirmation (verification) mode in which the calculation data is called and displayed according to the input of the call keys [Δ] [▽] is stored.

前記計算データ記憶エリア22fには、前記計算登録モードにおいて、ユーザ操作に応じて入力された一連の計算データが、順次ジャーナルデータとして記憶され登録される。 In the calculation data storage area 22f, a series of calculation data input according to a user operation in the calculation registration mode is sequentially stored and registered as journal data.

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

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

図3A、図3Bは、前記プリンタ付き電卓10の計算データ印刷処理(その1)(その2)を示すフローチャートである。 3A and 3B are flowcharts showing the calculation data printing process (No. 1) (No. 2) of the calculator 10 with the printer.

前記プリントモードスイッチ11aが“OFF”から“ON”又は“PRINT”の位置に切替えられることにより電卓10の電源が入り、前記CPU11により計算データ印刷処理プログラム22aの実行が開始されると、プリントモードスイッチ11aの状態がCPU11に読み取られ、前記PRINTモード記憶エリア22bにプリントモードOFF又はプリントモードONの設定データが記憶される(ステップS1)。 When the print mode switch 11a is switched from "OFF" to "ON" or "PRINT", the calculator 10 is turned on, and the CPU 11 starts executing the calculation data print processing program 22a. The state of the switch 11a is read by the CPU 11, and the print mode OFF or print mode ON setting data is stored in the PRINT mode storage area 22b (step S1).

また、前記ラウンド(丸めモード)スイッチ11bと小数点指定スイッチ11cの状態がCPU11により読み取られ、前記丸めモード(端数処理モード)記憶エリア22dに、“CUT”「切捨て」、“UP”「切上げ」、“5/4”「四捨五入」の何れかの設定データと丸め桁の設定データが記憶される(ステップS2)。 Further, the states of the round (rounding mode) switch 11b and the decimal point designating switch 11c are read by the CPU 11, and "CUT" "round down", "UP" "round up" in the rounding mode (fraction processing mode) storage area 22d. Either "5/4" or "rounding off" setting data and rounding digit setting data are stored (step S2).

(実施例1)
図4は、前記計算データ印刷処理の実施例1であって、PRINTモードONの状態で計算データの数値を修正しても丸め処理の関係で印刷データが変化しない場合のユーザ操作に応じた表示・印刷・計算動作を示す図である。
(Example 1)
FIG. 4 is a first embodiment of the calculation data printing process, and is a display according to a user operation when the print data does not change due to the rounding process even if the numerical value of the calculation data is corrected in the PRINT mode ON state. FIG. 6 is a diagram showing a printing/calculation operation.

この実施例1では、前記プリントモードスイッチ11aが“PRINT”の位置にあることでプリントモードONの設定データが記憶され、前記ラウンド(丸めモード)スイッチ11bが“5/4”の位置、前記小数点指定スイッチ11cが“2”の位置にあることで、「四捨五入」「丸め桁:2」の設定データが記憶された状態での動作について説明する。 In the first embodiment, since the print mode switch 11a is in the "PRINT" position, the print mode ON setting data is stored, and the round (rounding mode) switch 11b is in the "5/4" position, the decimal point. The operation when the designation switch 11c is in the "2" position and the setting data of "rounding off" and "rounding digit: 2" is stored will be described.

図4(A)に示すように、キー入力部11のユーザ操作に応じて、クリアオールキー[CA]が入力された後、“33.334”[+=]“33.325”[+=]と入力されると、入力された計算データが[+=]キーが入力される毎に前記計算データ記憶エリア22fに記憶される。そして、図4(D1)〜(D3)に示すように、前記丸めモードの設定データ(「四捨五入」「丸め桁:2」)に応じた計算が実行され、図4(B1)→(B2)に示すように、その計算結果の計算データが“33.33”(33.334の丸め計算結果)→“66.66”(33.33+33.325の丸め計算結果)と表示部12に表示される(ステップS3〜S5)。 As shown in FIG. 4A, after the clear all key [CA] is input according to the user operation of the key input unit 11, “33.334” [+=] “33.325” [+= ]], the input calculation data is stored in the calculation data storage area 22f each time the [+=] key is input. Then, as shown in FIGS. 4D1 to 4D3, a calculation corresponding to the setting data of the rounding mode (“rounding off” “rounding digit: 2”) is executed, and FIG. 4(B1)→(B2) As shown in, the calculation data of the calculation result is displayed on the display unit 12 as “33.33” (rounding calculation result of 33.334)→“66.66” (rounding calculation result of 33.33+33.325). (Steps S3 to S5).

この際、前記PRINTモード記憶エリア22bには、プリントモードONの設定データが記憶されているので、図4(C1)に示すように、前記印刷部13により、前記[CA]キーと[+=]キーが入力される毎に、“・・0・・CA”“33.33+(33.334の丸め計算結果)”“33.33+(33.325の丸め計算結果)”と順次記録紙Pに印刷される(ステップS6(Yes)→S7)。 At this time, since the print mode ON setting data is stored in the PRINT mode storage area 22b, as shown in FIG. 4C1, the printing section 13 causes the [CA] key and [+= Every time the] key is input, “...0...CA”, “33.33+(rounding calculation result of 33.334)”, “33.33+(rounding calculation result of 33.325)” and the recording paper P are sequentially printed. Is printed (step S6 (Yes)→S7).

ここで、トータルキー[*]が入力されると、前記図4(D3)で示したように計算された計算結果の計算データ(33.33+33.325の丸め計算結果)“66.66”が、図4(B3)に示すように、表示部12に表示される(ステップS3〜S5)。 Here, when the total key [*] is input, the calculation data (rounded calculation result of 33.33+33.325) “66.66” of the calculation result calculated as shown in FIG. 4D3 is obtained. 4B3 is displayed on the display unit 12 (steps S3 to S5).

そして、前記印刷部13により、“66.66*”と記録紙Pに印刷される(テップS6(Yes)→S7)。 Then, "66.66*" is printed on the recording paper P by the printing unit 13 (step S6 (Yes)→S7).

なお、前記ステップS3〜S5に従った計算データの入力・登録・計算・計算結果の表示において、前記PRINTモード記憶エリア22bにプリントモードOFFの設定データが記憶されている場合は(ステップS6(No))、前記未印刷フラグ記憶エリア22cに未印刷フラグONのデータを記憶させ、表示部12に未印刷シンボル“NOT PRINTED”を表示させる(ステップS8)。 In the calculation data input/registration/calculation/display of the calculation result according to steps S3 to S5, if the print mode OFF setting data is stored in the PRINT mode storage area 22b (step S6 (No )), the data of the unprinted flag ON is stored in the unprinted flag storage area 22c, and the unprinted symbol "NOT PRINTED" is displayed on the display unit 12 (step S8).

ここで、前記一連の計算を確認するために、図4(A)に示すように、入力済み計算データの呼び出しキー[▽]が1回入力される。すると、前記計算データ記憶エリア22fに記憶された一連の計算データ(入力データ)“33.334+”“33.325+”と、(登録された計算結果データ)“66.66*”のうち、先頭行“01”の計算データ(入力データ)“33.334+”が呼び出され、図4(B4)に示すように、検算シンボル“REV”と共に表示部12に表示される。 Here, in order to confirm the series of calculations, as shown in FIG. 4A, the call key [∇] for the input calculation data is input once. Then, of the series of calculation data (input data) “33.334+” “33.325+” and (registered calculation result data) “66.66*” stored in the calculation data storage area 22f, the top The calculation data (input data) “33.334+” in the row “01” is called and displayed on the display unit 12 together with the verification symbol “REV” as shown in FIG. 4(B4).

前記表示部12に表示された先頭行“01”の計算データ(入力データ)“33.334+”を修正するために、図4(A)に示すように、修正指示キー[CORRECT]が入力され、小数点以下3桁目と4桁目を修正した計算データが“33.3321”[+=]と入力されると、図4(B5)に示すように、修正した計算データ“33.3321+”が修正シンボル“CRT”と共に表示部12に表示される(ステップS9(Yes)→S10)。 In order to correct the calculation data (input data) “33.334+” of the first line “01” displayed on the display unit 12, a correction instruction key [CORRECT] is input as shown in FIG. 4(A). , When the calculation data with the third and fourth digits after the decimal point corrected is input as “33.3321” [+=], as shown in FIG. 4(B5), the corrected calculation data “33.3321+” is obtained. Is displayed on the display unit 12 together with the correction symbol “CRT” (step S9 (Yes)→S10).

すると、前記計算データ記憶エリア22fに記憶されている前記一連の計算データうち、図4(D4)に示すように、前記修正した先頭行“01”までの計算データ“33.3321+”が、前記丸めモードの設定データ(「四捨五入」「丸め桁:2」)に応じて再計算され、その計算結果の計算データである印刷データ“33.33”が前回(修正前)の計算に応じた印刷データ“33.33”と比較される(ステップS11)。 Then, of the series of calculation data stored in the calculation data storage area 22f, as shown in FIG. 4D4, the corrected calculation data “33.3321+” up to the corrected first row “01” is It is recalculated according to the setting data of the rounding mode ("Rounding off" "Rounding digit: 2"), and the print data "33.33" which is the calculation data of the calculation result is printed according to the previous calculation (before correction). The data “33.33” is compared (step S11).

ここでは、前回(修正前)入力された計算データ“33.334”に対し今回(修正後)入力された計算データ“33.3321”は異なるが、その計算結果の計算データ(印刷データ)は、前記丸めモード(「四捨五入」「丸め桁:2」)に従い“33.33”となり前回の計算データ(印刷データ)と同じになる。 Here, the calculation data “33.3321” input this time (after correction) is different from the calculation data “33.334” input last time (before correction), but the calculation data (print data) of the calculation result is According to the rounding mode (“rounding off” “rounding digit: 2”), it becomes “33.33”, which is the same as the previous calculation data (print data).

このため、印刷データに変化(相違)なし(印刷済み)と判断され(ステップS12(No))、前記未印刷フラグ記憶エリア22cに未印刷フラグOFFのデータを記憶させ、図4(B5)に示すように、表示部12に印刷済みシンボル“PRINTED”を表示させる(ステップS13)。 Therefore, it is determined that there is no change (difference) in the print data (printed) (step S12 (No)), the data of the non-print flag OFF is stored in the non-print flag storage area 22c, and the result is shown in FIG. 4 (B5). As shown, the printed symbol "PRINTED" is displayed on the display unit 12 (step S13).

この印刷済みシンボル“PRINTED”の表示により、ユーザは、前回入力した計算データを修正しても、再計算した計算結果の計算データ(印刷データ)に変化(相違)が無いことを容易に知ることができる。 By displaying this printed symbol "PRINTED", the user can easily know that the calculation data (print data) of the recalculated calculation result has no change (difference) even if the previously input calculation data is corrected. You can

この際、前記[PRINT]キーを入力しても、前記未印刷フラグ記憶エリア22cに未印刷フラグOFFのデータが記憶されているので、前記一連の計算データの再印刷は行われない(ステップS17(Yes)→S18(No))。これにより、印刷データが同じになる無駄な印刷を防いで印刷を節約できる。 At this time, even if the [PRINT] key is input, the data of the unprinted flag OFF is stored in the unprinted flag storage area 22c, so that the series of calculation data is not reprinted (step S17). (Yes)→S18 (No)). As a result, wasteful printing in which the print data is the same can be prevented and the printing can be saved.

一方、前記未印刷フラグOFFとなっている場合でも、敢えて同じ計算データを印刷した記録紙Pが欲しい場合(控えの保存等)に、[RE]+[PRINT]キーが同時押しされて再印刷が指示されると(ステップS19(Yes))、図4(B6)〜(B8)に示すように、前記計算データ記憶エリア22fに記憶されている修正後の一連の計算データ“33.3321+”“33.325+”について、その先頭行から再計算され、図4(C2)に示すように、当該再計算に伴う各計算データが順次、前記同様に印刷部13により記録紙Pに印刷されて出力される(ステップS20)。 On the other hand, even when the unprinted flag is OFF, if the user wants the recording paper P on which the same calculation data is intentionally printed (save a copy, etc.), the [RE]+[PRINT] keys are pressed at the same time to reprint. Is instructed (step S19 (Yes)), as shown in FIGS. 4B6 to 4B8, a series of corrected calculation data “33.3321+” stored in the calculation data storage area 22f. “33.325+” is recalculated from the first line, and as shown in FIG. 4(C2), each calculation data associated with the recalculation is sequentially printed on the recording paper P by the printing unit 13 as described above. It is output (step S20).

なお、前記未印刷フラグOFFとなっている場合は、前記[PRINT]キーを入力しても、計算データの再印刷は実行されないが(ステップS17(Yes)→S18(No))、変形例として、当該[PRINT]キーの1回目の入力に応じて、図4(B9)に示すように、印刷済みであるが再印刷を行なうかどうかの確認メッセージ“RE PRINT?”を表示部12に表示させる(ステップS18a)。 When the unprinted flag is OFF, the calculation data is not reprinted even if the [PRINT] key is input (step S17 (Yes)→S18 (No)), but as a modified example. In response to the first input of the [PRINT] key, as shown in FIG. 4B9, a confirmation message “RE PRINT?” is displayed on the display unit 12 to confirm whether or not reprinting should be performed. (Step S18a).

そして、前記[PRINT]キーの2回目の入力に応じて、前記図4(B6)〜(B8)(C2)で示した場合と同様に、前記計算データ記憶エリア22fに記憶された一連の計算データを再計算し、当該再計算に伴う各計算データを順次印刷部13により記録紙Pに印刷する構成としてもよい(ステップS18b(Yes)→S20)。 Then, in response to the second input of the [PRINT] key, a series of calculations stored in the calculation data storage area 22f is performed as in the case shown in FIGS. 4(B6) to (B8)(C2). The data may be recalculated, and each calculation data associated with the recalculation may be sequentially printed on the recording paper P by the printing unit 13 (step S18b (Yes)→S20).

図5は、前記計算データ印刷処理の実施例1であって、PRINTモードONの状態で計算データの数値を修正すると印刷データが変化する場合のユーザ操作に応じた表示・印刷・計算動作を示す図である。 FIG. 5 is a first embodiment of the calculation data printing process and shows a display/print/calculation operation according to a user operation when the print data changes when the numerical value of the calculation data is corrected in the PRINT mode ON state. It is a figure.

先ず、図5(A)に示すように、ユーザ操作に応じて入力された一連の計算データ“123.454”[+=]“987.645”[+=]について、図5(D1)〜(D3)に示すように、丸めモードの設定データ(「四捨五入」「丸め桁:2」)に応じて計算が実行され、トータルキー[*]が入力されると、図5(B1)〜(B3)に示すように、順次計算された計算結果の計算データが“123.45+(123.454の丸め計算結果)”“1111.10+(123.45+987.645の丸め計算結果)”“1111.10(合計表示:123.45+987.645の丸め計算結果)”として表示部12に表示される(ステップS3〜S5)。 First, as shown in FIG. 5A, regarding a series of calculation data “123.454” [+=] “987.645” [+=] input according to a user operation, FIG. As shown in (D3), when the calculation is executed according to the setting data of the rounding mode (“rounding off” and “rounding digit: 2”) and the total key [*] is input, FIG. As shown in B3), the calculation data of the sequentially calculated calculation results is “123.45+(123.454 rounding calculation result)”, “1111.10+(123.45+987.645 rounding calculation result)”, “1111. 10 (total display: 123.45+987.645 rounding calculation result)" is displayed on the display unit 12 (steps S3 to S5).

また、図5(C1)に示すように、計算結果の計算データが、“・・0・・CA”“123.45+”“987.65+”“1,111.10*”と順次印刷部13により記録紙Pに印刷される(ステップS6(Yes)→S7)。 Further, as shown in FIG. 5C1, the calculation data of the calculation result is “... 0. CA” “123.45+” “987.65+” “1,111.10*” and the sequential printing unit 13 Is printed on the recording paper P (step S6 (Yes)→S7).

ここで、図5(A)に示すように、入力済み計算データの呼び出しキー[▽]を2回入力し、前記一連の計算データ(入力データ)“123.454+”“987.645+” と、(登録された計算結果データ)“1111.10*”のうち、2行目“02”の計算データ(入力データ)“987.645+”を呼び出し、図5(B4)に示すように、検算シンボル“REV”と共に表示部12に表示させる。 Here, as shown in FIG. 5A, the call key [▽] for the input calculation data is input twice, and the series of calculation data (input data) “123.454+” “987.645+”, Of the (registered calculation result data) “1111.10*”, the calculation data (input data) “987.645+” of the second line “02” is called, and as shown in FIG. It is displayed on the display unit 12 together with “REV”.

そして、[CORRECT]キーを入力して修正を指示し、修正した計算データ“987.654”[+=]を入力すると、図5(D4)に示すように、前記修正した2行目“02”までの計算データ(入力データ)“123.454+”“987.654+”が、前記同様に丸めモードの設定データ(「四捨五入」「丸め桁:2」)に応じて再計算され、その計算結果のデータである印刷データ“987.65”が前回(修正前)の計算に応じた印刷データ“987.65”と比較される(ステップS9〜S11)。 Then, by inputting the [CORRECT] key to instruct the correction and inputting the corrected calculation data “987.654” [+=], as shown in FIG. 5D4, the corrected second line “02 The calculation data (input data) "123.454+" and "987.654+" up to "are recalculated according to the rounding mode setting data ("rounding off" "rounding digit: 2"), and the calculation result The print data "987.65", which is the data of the above, is compared with the print data "987.65" calculated according to the previous calculation (before correction) (steps S9 to S11).

ここでは、前回(修正前)入力された計算データ“987.645”に対し今回(修正後)入力された計算データ“987.654”は異なるが、その計算結果の計算データ(印刷データ)は、前記丸めモード(「四捨五入」「丸め桁:2」)に応じて“987.65”となり前回の計算データ(印刷データ)と同じになる。このため、前記同様に、印刷データに変化(相違)なし(印刷済み)と判断され(ステップS12(No))、未印刷フラグOFFとし、図5(B5)に示すように、表示部12に印刷済みシンボル“PRINTED”を表示させる(ステップS13)。 Here, the calculation data “987.654” input this time (after correction) is different from the calculation data “987.645” input last time (before correction), but the calculation data (print data) of the calculation result is , "987.65" according to the rounding mode ("rounding off" "rounding digit: 2"), which is the same as the previous calculation data (print data). Therefore, similarly to the above, it is determined that there is no change (difference) in the print data (printed) (step S12 (No)), the unprinted flag is set to OFF, and as shown in FIG. The printed symbol "PRINTED" is displayed (step S13).

続いて、図5(A)に示すように、呼び出しキー[△](戻り)を1回入力し、前記一連の計算データのうち、1行目“01”の計算データ(入力データ)“123.454+”を呼び出し、図5(B6)に示すように、検算シンボル“REV”と共に表示部12に表示させる。 Subsequently, as shown in FIG. 5A, the call key [Δ] (return) is input once, and the calculation data (input data) “123” in the first line “01” of the series of calculation data is input. .454+” is called and displayed on the display unit 12 together with the verification symbol “REV” as shown in FIG.

そして、[CORRECT]キーを入力して修正を指示し、修正した計算データ“123.456”[+=]を入力すると、図5(D5)に示すように、当該修正した1行目“01”までの計算データ“123.456+”が、前記同様に丸めモードの設定データ(「四捨五入」「丸め桁:2」)に応じて再計算され、その計算結果のデータである印刷データ“123.46”が前回(修正前)の計算に応じた印刷データ“123.45”と比較される(ステップS9〜S11)。 Then, when the [CORRECT] key is input to instruct the correction and the corrected calculation data “123.456” [+=] is input, as shown in FIG. 5D5, the corrected first line “01 The calculation data “123.456+” up to “” is recalculated according to the rounding mode setting data (“rounding off” “rounding digit: 2”) as described above, and print data “123. 46" is compared with the print data "123.45" calculated according to the previous calculation (before correction) (steps S9 to S11).

すると、今回(修正後)の計算結果の計算データ(印刷データ)“123.46”は、前回の計算データ“123.45”と異なるため、印刷データに変化あり(未印刷)と判断され(ステップS12(Yes))、前記未印刷フラグ記憶エリア22cに未印刷フラグONのデータを記憶させ、図5(B7)に示すように、表示部12に未印刷シンボル“NOT PRINTED”を表示させる(ステップS14)。 Then, since the calculation data (print data) “123.46” of the calculation result of this time (after correction) is different from the calculation data “123.45” of the previous time, it is determined that the print data has changed (unprinted) ( Step S12 (Yes)), the data of the unprinted flag ON is stored in the unprinted flag storage area 22c, and the unprinted symbol “NOT PRINTED” is displayed on the display unit 12 as shown in FIG. 5(B7) ( Step S14).

この未印刷シンボル“NOT PRINTED”の表示により、ユーザは、前回入力した計算データを修正することで、再計算した計算結果の計算データ(印刷データ)に変化(相違)が無いことを容易に知ることができる。 By displaying the unprinted symbol “NOT PRINTED”, the user can easily know that there is no change (difference) in the calculation data (print data) of the recalculated calculation result by correcting the calculation data input last time. be able to.

そして、前記[PRINT]キーを入力すると、前記未印刷フラグ記憶エリア22cに未印刷フラグONのデータが記憶されているのに基づき(ステップS18(Yes))、図5(B8)〜(B10)に示すように、前記計算データ記憶エリア22fに記憶されている修正後の一連の計算データ“123.456+”“987.654+”について、その先頭行から再計算され、図5(C2)に示すように、再計算に伴う各計算結果の計算データ“123.46+”“987.65+”“1,111.11*”が順次印刷部13により記録紙Pに印刷されて出力される(ステップS20)。 Then, when the [PRINT] key is input, it is based on the fact that the data of the unprinted flag ON is stored in the unprinted flag storage area 22c (step S18 (Yes)), and FIGS. 5B8 to 5B10. As shown in FIG. 5, the corrected series of calculated data “123.456+” and “987.654+” stored in the calculated data storage area 22f are recalculated from the first row and are shown in FIG. 5(C2). As described above, the calculation data “123.46+” “987.65+” “1,111.11*” of each calculation result associated with the recalculation is sequentially printed on the recording paper P by the printing unit 13 and output (step S20). ).

なお、前記[RE]+[PRINT]キーが同時押しされて再印刷が指示されても(ステップS19(Yes))、前記同様に、前記再計算に伴う各計算結果の計算データ“123.46+”“987.65+”“1,111.11*”が順次印刷部13により記録紙Pに印刷されて出力される(ステップS20)。 Even when the [RE]+[PRINT] keys are simultaneously pressed to instruct reprinting (step S19 (Yes)), similarly to the above, the calculation data “123.46+” of each calculation result accompanying the recalculation is obtained. ““987.65+” “1,111.11*” is sequentially printed on the recording paper P by the printing unit 13 and output (step S20).

これにより、前記計算データを修正した場合には、その計算結果の計算データ(印刷データ)が修正前の計算データ(印刷データ)と比較して異なる場合にだけ、前記[PRINT]キーによる修正後の計算データの再印刷を可能としたので、無駄な印刷を防いで印刷を節約できる。 As a result, when the calculation data is modified, the calculation data (print data) of the calculation result is different from the calculation data (print data) before the modification, and after the modification by the [PRINT] key is performed. Since it is possible to reprint the calculation data of, it is possible to prevent wasteful printing and save printing.

(実施例2)
図6は、前記計算データ印刷処理の実施例2であって、PRINTモードONの状態で丸めモードの設定を変更しても印刷データが変化(相違)しない場合のユーザ操作に応じた表示・印刷・計算動作を示す図である。
(Example 2)
FIG. 6 is a second embodiment of the calculation data printing process, in which display/printing according to a user operation when print data does not change (difference) even when the rounding mode setting is changed in the PRINT mode ON state -A diagram showing a calculation operation.

現在、電卓10は、前記プリントモードスイッチ11aが“PRINT”の位置にあることでプリントモードONの設定データが記憶され、前記ラウンド(丸めモード)スイッチ11bが“5/4”の位置、前記小数点指定スイッチ11cが“0”の位置にあることで、「四捨五入」「丸め桁:0」の設定データが記憶された状態である。 Currently, the calculator 10 stores print mode ON setting data when the print mode switch 11a is in the "PRINT" position, and the round (rounding mode) switch 11b is in the "5/4" position and the decimal point. Since the designation switch 11c is in the position of "0", the setting data of "rounding off" and "rounding digit: 0" is stored.

図6(A)に示すように、キー入力部11のユーザ操作に応じて、“251”[×]“3”[=][TAX+]と入力されると、入力された計算データが[×][=][TAX+(税率8%)]キーが入力される毎に前記計算データ記憶エリア22fに記憶される。そして、図6(D1)に示すように、前記丸めモードの設定データ(「四捨五入」「丸め桁:0」)に応じた計算が実行され、図6(B1)〜(B4)に示すように、その計算結果の計算データが“251”→“3”→“753”→“813”と表示部12に表示される(ステップS3〜S5)。 As shown in FIG. 6A, when “251” [×] “3” [=] [TAX+] is input in response to a user operation of the key input unit 11, the input calculation data is [×]. Each time the [][=][TAX+(tax rate 8%)] key is input, it is stored in the calculation data storage area 22f. Then, as shown in FIG. 6(D1), a calculation corresponding to the setting data of the rounding mode (“rounding off” “rounding digit: 0”) is executed, and as shown in FIG. 6(B1) to (B4). The calculation data of the calculation result is displayed on the display unit 12 as “251”→“3”→“753”→“813” (steps S3 to S5).

また、図6(C1)に示すように、計算結果の計算データが、“・・0・・CA”“251.×”“3.=”“753.”“753.−T”“8.%T”“60.T”“813.+T”と順次印刷部13により記録紙Pに印刷される(ステップS6(Yes)→S7)。 Further, as shown in FIG. 6C1, the calculation data of the calculation result is “...0.CA” “251.×” “3.=” “753.” “753.-T” “8. %T” “60.T” “813.+T” is sequentially printed on the recording paper P by the printing unit 13 (step S6 (Yes)→S7).

ここで、前記税額の加算を「四捨五入」「丸め桁:0」で行ったが、小数点以下「切捨て」で再計算するために、前記ラウンド(丸めモード)スイッチ11bを“CUT”の位置に切替えると(ステップS15(Yes))、前記計算データ記憶エリア22fに再計算の対象になる計算データが記憶された状態か判断される(ステップS16)。 Here, although the tax amount is added by "rounding off" and "rounding digit: 0", the round (rounding mode) switch 11b is switched to the "CUT" position in order to recalculate with "rounding down" after the decimal point. Then (step S15 (Yes)), it is determined whether or not the calculation data to be recalculated is stored in the calculation data storage area 22f (step S16).

前記計算データ記憶エリア22fに前記一連の計算“251”[×]〜[TAX+]に対応した計算データが記憶された状態であると判断されると(ステップS16(Yes))、当該一連の計算データについて、図6(D2)に示すように、前記切替えられた丸めモードの設定データ(小数点以下「切捨て」)に応じた再計算が実行され、その計算結果のデータである印刷データ“813”が前回(丸めモード切替え前)の計算に応じた印刷データ“813”と比較される(ステップS11)。 When it is determined that the calculation data corresponding to the series of calculations "251" [x] to [TAX+] is stored in the calculation data storage area 22f (step S16 (Yes)), the series of calculations. As shown in FIG. 6(D2), the data is recalculated in accordance with the setting data (rounded down after the decimal point) of the switched rounding mode, and print data “813” which is the data of the calculation result. Is compared with the print data “813” according to the previous calculation (before switching the rounding mode) (step S11).

ここでは、前記丸めモードの設定データが小数点以下「四捨五入」から「切捨て」に切替えられたが、その計算結果の計算データ(印刷データ)は、“813”となり前回の計算データ(印刷データ)と同じになる。このため、印刷データに変化(相違)なし(印刷済み)と判断され(ステップS12(No))、前記未印刷フラグ記憶エリア22cに未印刷フラグOFFのデータを記憶させ、図6(B5)に示すように、表示部12に印刷済みシンボル“PRINTED”を表示させる(ステップS13)。 Here, the setting data of the rounding mode is switched from "rounding off" to "cutting down" after the decimal point, but the calculation data (print data) of the calculation result becomes "813" and the previous calculation data (print data). Will be the same. Therefore, it is determined that there is no change (difference) in the print data (printed) (step S12 (No)), the data of the non-print flag OFF is stored in the non-print flag storage area 22c, and the result is shown in FIG. 6(B5). As shown, the printed symbol "PRINTED" is displayed on the display unit 12 (step S13).

この印刷済みシンボル“PRINTED”の表示により、ユーザは、前記丸めモードの設定データを変更しても、再計算した計算結果の計算データ(印刷データ)に変化(相違)が無いことを容易に知ることができる。 By displaying the printed symbol “PRINTED”, the user can easily know that the calculation data (print data) of the recalculated calculation result has no change (difference) even if the setting data of the rounding mode is changed. be able to.

そして、前記図4で示した場合と同様に、[PRINT]キーを入力しても、前記未印刷フラグ記憶エリア22cに未印刷フラグOFFのデータが記憶されているので、前記一連の計算データの再印刷は行われない(ステップS17(Yes)→S18(No))。これにより、印刷データが同じになる無駄な印刷を防いで印刷を節約できる。 Then, as in the case shown in FIG. 4, even if the [PRINT] key is input, since the data of the unprinted flag OFF is stored in the unprinted flag storage area 22c, the series of calculation data Reprinting is not performed (step S17 (Yes)→S18 (No)). As a result, wasteful printing in which the print data is the same can be prevented and the printing can be saved.

なお、[RE]+[PRINT]キーを同時押しすれば(ステップS19(Yes))、図6(B6)〜(B9)に示すように、前記丸めモード切替え後の一連の計算データについて、その先頭行から再計算させ、図6(C2)に示すように、当該再計算に伴う各計算データを、前記同様に印刷部13により記録紙Pに印刷できる(ステップS20)。 If the [RE]+[PRINT] keys are pressed at the same time (step S19 (Yes)), as shown in FIGS. 6(B6) to (B9), the series of calculation data after the rounding mode switching is changed. Recalculation is performed from the first line, and as shown in FIG. 6C2, each calculation data associated with the recalculation can be printed on the recording paper P by the printing unit 13 in the same manner as described above (step S20).

また、前記図4で示した場合と同様に、[PRINT]キーの1回目の入力に応じて、図6(B10)に示すように、印刷済みであるが再印刷を行なうかどうかの確認メッセージ“RE PRINT?”を表示させ(ステップS18a)、同[PRINT]キーの2回目の入力に応じて、前記一連の計算データを再計算させ、当該再計算に伴う各計算データを順次記録紙Pに印刷する構成としてもよい(ステップS18b(Yes)→S20)。 Further, as in the case shown in FIG. 4, a confirmation message for confirming whether or not reprinting has been performed as shown in FIG. 6B10 in response to the first input of the [PRINT] key. “RE PRINT?” is displayed (step S18a), the series of calculation data is recalculated in response to the second input of the [PRINT] key, and each calculation data accompanying the recalculation is sequentially recorded on the recording paper P. It may be configured to print on (step S18b (Yes)→S20).

図7は、前記計算データ印刷処理の実施例2であって、PRINTモードONの状態で丸めモードの設定を変更すると印刷データが変化(相違)する場合のユーザ操作に応じた表示・印刷・計算動作を示す図である。 FIG. 7 is a second embodiment of the calculation data printing process, in which display/printing/calculation according to a user operation when print data changes (differs) when the rounding mode setting is changed in the PRINT mode ON state. It is a figure which shows operation.

ここでは、丸めモードが小数点以下「四捨五入」に設定されている状態で、ユーザ操作に応じて、一連の計算データ[CA]“253”[×]“3”[=][TAX+]を入力し、前記図6で示した場合と同様に、当該計算データに応じた計算を実行する(図7(D1)参照)。そして、計算結果のデータを順次表示部12に表示させ(図7(B1)〜(B4)参照)、印刷部13により記録紙Pに印刷する(図7(C1)参照)(ステップS3〜S7)。 Here, with the rounding mode set to "rounding off" after the decimal point, a series of calculation data [CA] "253" [x] "3" [=] [TAX+] is input according to the user operation. As in the case shown in FIG. 6, the calculation according to the calculation data is executed (see FIG. 7D1). Then, the calculation result data is sequentially displayed on the display unit 12 (see FIGS. 7B1 to 7B4), and is printed on the recording paper P by the printing unit 13 (see FIG. 7C1) (steps S3 to S7). ).

ここで、小数点以下「切捨て」で再計算するために、前記ラウンド(丸めモード)スイッチ11bを“CUT”の位置に切替えると(ステップS15(Yes))、前記一連の計算データについて、図7(D2)に示すように、前記切替えられた丸めモードの設定データ(小数点以下「切捨て」)に応じた再計算が実行され、その計算結果のデータである印刷データ“819”が前回(丸めモード切替え前)の計算に応じた印刷データ“820”と比較される(ステップS11)。 Here, when the round (rounding mode) switch 11b is switched to the "CUT" position in order to perform recalculation with "rounding down" after the decimal point (step S15 (Yes)), the series of calculation data shown in FIG. As shown in D2), recalculation is performed according to the setting data (rounded down after the decimal point) of the switched rounding mode, and the print data “819” which is the data of the calculation is the last time (rounding mode switching). It is compared with the print data “820” according to the above calculation (step S11).

すると、今回(丸めモード切替え後)の計算結果の計算データ(印刷データ)“819”は、前回の計算データ“820”と異なるため、印刷データに変化(相違)あり(未印刷)と判断され(ステップS12(Yes))、前記未印刷フラグ記憶エリア22cに未印刷フラグONのデータを記憶させ、図7(B5)に示すように、表示部12に未印刷シンボル“NOT PRINTED”を表示させる(ステップS14)。 Then, since the calculation data (print data) “819” of the calculation result of this time (after switching the rounding mode) is different from the calculation data “820” of the previous time, it is determined that the print data has a change (difference) (not printed). (Step S12 (Yes)), the data of the unprinted flag ON is stored in the unprinted flag storage area 22c, and the unprinted symbol “NOT PRINTED” is displayed on the display unit 12 as shown in FIG. 7(B5). (Step S14).

この未印刷シンボル“NOT PRINTED”の表示により、ユーザは、丸めモードを切替えて再計算した計算結果の計算データ(印刷データ)に変化(相違)があることを容易に知ることができる。 By displaying the unprinted symbol "NOT PRINTED", the user can easily know that there is a change (difference) in the calculation data (print data) of the calculation result obtained by switching the rounding mode and recalculating.

そして、前記図5で示した場合と同様に、[PRINT]キーを入力すると、未印刷フラグONのデータに応じて(ステップS18(Yes))、図7(B6)〜(B9)に示すように、前記丸めモード切替え後の一連の計算データについて、その先頭行から再計算され、図7(C2)に示すように、当該再計算に伴う各計算結果の計算データ“253.×”〜“819.+T”が順次記録紙Pに印刷される(ステップS20)。 Then, as in the case shown in FIG. 5, when the [PRINT] key is input, as shown in FIGS. 7B6 to 7B9, depending on the data of the unprinted flag ON (step S18 (Yes)). In addition, the series of calculation data after the rounding mode switching is recalculated from the first row, and as shown in FIG. 7C2, the calculation data “253.×” to “253. 819.+T” are sequentially printed on the recording paper P (step S20).

なお、[RE]+[PRINT]キーを同時押しすれば(ステップS19(Yes))、前記同様に、前記再計算に伴う各計算結果の計算データを順次記録紙Pに印刷できる(ステップS20)。 By pressing the [RE]+[PRINT] keys simultaneously (step S19 (Yes)), similarly to the above, the calculation data of each calculation result associated with the recalculation can be sequentially printed on the recording paper P (step S20). ..

これにより、前記丸めモードを切替えた場合には、その計算結果の計算データ(印刷データ)が切替え前の計算データ(印刷データ)と比較して異なる場合にだけ、前記[PRINT]キーによる修正後の計算データの再印刷を可能としたので、無駄な印刷を防いで印刷を節約できる。 As a result, when the rounding mode is changed, only when the calculation data (print data) of the calculation result is different from the calculation data (print data) before switching, the correction data after the correction by the [PRINT] key is performed. Since it is possible to reprint the calculation data of, it is possible to prevent wasteful printing and save printing.

したがって、前記構成のプリンタ付き電卓10の計算データ印刷機能によれば、ユーザ操作に応じて、指定桁以下「切捨て」「切上げ」「四捨五入」の丸めモードを設定し、数値と計算機能からなる計算データを入力すると、当該計算データを入力する毎に同計算データがその入力順に計算データ記憶エリア22fに記憶され、同計算データに応じた計算が前記丸めモードの設定内容に従い行われ、計算された計算結果を含む前記一連の計算データが順次印刷部13により記録紙Pに印刷される。そして、前記計算データ記憶エリア22fに記憶された一連の計算データのうち何れかの計算データを修正するか、あるいは前記丸めモードの設定を変更すると、修正した計算データ(あるいは変更後の丸めモード)に応じた再計算が行われ、再計算された計算結果の計算データが前記印刷された計算データと異なるか判断され、異なる場合は、未印刷フラグ記憶エリア22cの未印刷フラグをONにして未印刷シンボル“NOT PRINTED”を表示部12に表示させ、異ならない場合は、同未印刷フラグをOFFにして印刷済みシンボル“PRINTED”を表示させる。 Therefore, according to the calculation data printing function of the printer-equipped calculator 10 having the above-described configuration, the rounding mode of "rounding down", "rounding up" or "rounding off" is set according to the user's operation, and the calculation including the numerical value and the calculation function is performed. When data is input, each time the calculation data is input, the calculation data is stored in the calculation data storage area 22f in the order of input, and calculation according to the calculation data is performed and calculated according to the setting contents of the rounding mode. The series of calculation data including the calculation result is sequentially printed on the recording paper P by the printing unit 13. Then, when any calculation data of the series of calculation data stored in the calculation data storage area 22f is corrected or the setting of the rounding mode is changed, the corrected calculation data (or the changed rounding mode) Is calculated, and it is determined whether the calculation data of the recalculated calculation result is different from the printed calculation data. If the calculation data is different, the unprinted flag in the unprinted flag storage area 22c is set to ON and the The print symbol "NOT PRINTED" is displayed on the display unit 12, and when there is no difference, the unprinted flag is turned off and the printed symbol "PRINTED" is displayed.

前記未印刷フラグON(“NOT PRINTED”表示)の場合は、[PRINT]キーの入力、又は[RE]+[PRINT]キー同時入力の何れの場合でも、前記計算データ修正後(あるいは丸めモード変更後)に再計算された計算結果を含む一連の計算データが順次印刷部13により記録紙Pに印刷される。 When the unprinted flag is ON (“NOT PRINTED” is displayed), the calculation data is corrected (or the rounding mode is changed) regardless of whether the [PRINT] key is input or the [RE]+[PRINT] keys are simultaneously input. A series of calculation data including the calculation result recalculated later) is sequentially printed on the recording paper P by the printing unit 13.

前記未印刷フラグOFF(“PRINTED”表示)の場合は、前記[PRINT]キーを入力しても、前記再計算された一連の計算データは印刷されず、前記[RE]+[PRINT]キーを同時入力したときだけ、前記再計算された一連の計算データが再印刷される。 When the unprinted flag is OFF (“PRINTED” is displayed), even if the [PRINT] key is input, the recalculated series of calculation data is not printed, and the [RE]+[PRINT] keys are pressed. Only when they are simultaneously input, the recalculated series of calculation data is reprinted.

これにより、一旦計算して印刷した一連の計算データを、検算により修正し、あるいは丸めモードを変更して再計算した場合でも、丸めモードの設定内容に従い再計算した計算結果に変化(相違)がない場合には、前記[PRINT]キーによる再印刷を禁止し、前記[RE]+[PRINT]キーを同時押ししたときにだけ再印刷を行なうので、無駄な印刷を防いで印刷を節約することが可能になる。 As a result, even if a series of calculation data that was once calculated and printed is corrected by verification or recalculated by changing the rounding mode, the recalculated calculation results will not change (difference) according to the settings of the rounding mode. If not, reprinting with the [PRINT] key is prohibited, and reprinting is performed only when the [RE] + [PRINT] keys are pressed simultaneously, so wasteful printing is prevented and printing is saved. Will be possible.

なお、前記各実施形態において記載したプリンタ付き電卓10による各処理の手法、すなわち、図3A,図3Bのフローチャートに示す計算データ印刷処理等の各手法は、何れもコンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピ(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記録装置の媒体に格納して配布することができる。そして、印刷機能を備えた電子式計算機のコンピュータ(CPU)は、この外部記憶装置の媒体に記憶されたプログラムを記憶装置に読み込み、この読み込んだプログラムによって動作が制御されることにより、前記各実施形態において説明した計算データ印刷機能を実現し、前述した手法による同様の処理を実行することができる。 It should be noted that the method of each processing by the calculator 10 with a printer described in each of the embodiments, that is, each method of the calculation data printing processing shown in the flowcharts of FIGS. 3A and 3B is a program that can be executed by a computer. As a memory card (ROM card, RAM card, etc.), magnetic disk (floppy (registered trademark) disk, hard disk, etc.), optical disk (CD-ROM, DVD, etc.), semiconductor memory, etc. It can be distributed. Then, the computer (CPU) of the electronic computer having the printing function reads the program stored in the medium of the external storage device into the storage device, and the operation is controlled by the read program, whereby each of the above-described embodiments is executed. 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 a program code, and from a computer device (program server) connected to this communication network (N). It is also possible to implement the above-mentioned calculation data printing function by loading the data of the program into an electronic computer having a printing function and storing it in a storage device.

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

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

[1]
数値と演算子を含む計算データを入力する計算データ入力手段と、
前記計算データ入力手段により計算データが複数入力された後に、前記入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、
前記計算データ入力手段により入力された何れかの計算データがユーザ操作に応じて修正された場合、前記入力された複数の計算データのうちの修正されていない計算データと前記修正された計算データとの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段と、
を備えたことを特徴とする計算データ印刷装置。
[1]
Calculation data input means for inputting calculation data including numerical values and operators,
A calculation data printing unit that, after a plurality of calculation data has been input by the calculation data input unit, calculates result data of the plurality of input calculation data and prints first print data including the calculated result data. When,
When any of the calculation data input by the calculation data input means is modified in response to a user operation, the uncorrected calculation data of the input plurality of calculation data and the modified calculation data And a print difference determining unit that determines whether the second print data including the newly calculated result data is different from the first print data.
A calculation data printing device comprising:

[2]
前記印刷相違判断手段による判断結果を報知する印刷相違報知手段、
を備えたことを特徴とする[1]に記載の計算データ印刷装置。
[2]
A print difference notifying means for notifying the determination result by the print difference determining means,
The calculation data printing device according to [1], further comprising:

[3]
丸めモードを設定する丸めモード設定手段を備え、
前記計算データ印刷手段は、前記計算データ入力手段により計算データが入力される毎に、前記丸めモード設定手段により設定された丸めモードで前記入力された計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷し、
前記印刷相違判断手段は、前記丸めモード設定手段により設定された丸めモードで前記修正された計算データを含む少なくとも1つの計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する、
ことを特徴とする[1]又は[2]に記載の計算データ印刷装置。
[3]
Equipped with rounding mode setting means to set the rounding mode,
The calculation data printing unit calculates the result data of the input calculation data in the rounding mode set by the rounding mode setting unit every time the calculation data is input by the calculation data input unit, and the calculated data is calculated. Print the first print data including the result data,
The print difference determination means newly calculates result data of at least one calculation data including the corrected calculation data in the rounding mode set by the rounding mode setting means, and calculates the newly calculated result data. It is determined whether the second print data including the data is different from the first print data.
The calculation data printing device according to [1] or [2], characterized in that

[4]
数値と演算子を含む計算データを入力する計算データ入力手段と、
複数の丸めモードのうち何れかの丸めモードを設定する丸めモード設定手段と、
前記計算データ入力手段により計算データが複数入力された後に、前記設定された丸めモードで前記入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、
前記丸めモード設定手段により丸めモードが変更された場合、前記変更された丸めモードに従い前記入力された複数の計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段と、
を備えたことを特徴とする計算データ印刷装置。
[4]
Calculation data input means for inputting calculation data including numerical values and operators,
Rounding mode setting means for setting any one of a plurality of rounding modes,
After a plurality of pieces of calculation data have been input by the calculation data input means, result data of the plurality of pieces of calculation data that have been input is calculated in the set rounding mode, and first print data including the calculated result data. Calculation data printing means for printing
When the rounding mode is changed by the rounding mode setting means, the result data of the plurality of input calculation data is newly calculated according to the changed rounding mode, and the result data including the newly calculated result data is included. Print difference determination means for determining whether or not the print data of No. 1 is different from the first print data,
A calculation data printing device comprising:

[5]
前記印刷相違判断手段による判断結果を報知する印刷相違報知手段、
を備えたことを特徴とする[4]に記載の計算データ印刷装置。
[5]
A print difference notifying means for notifying the determination result by the print difference determining means,
The calculation data printing device according to [4], further comprising:

[6]
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違すると判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第1の印刷指示手段と、
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第2の印刷指示手段とを備え、
前記第1の印刷指示手段と前記第2の印刷指示手段とを異なる印刷指示手段としたことを特徴とする[1]乃至[5]の何れかに記載の計算データ印刷装置。
[6]
A first for printing the second print data including the newly calculated result data when the print difference determination unit determines that the second print data is different from the first print data Print instruction means of
A second print data for printing the second print data including the newly calculated result data when the second print data is determined not to be different from the first print data by the print difference determination unit; And a print instruction means of 2.
The calculation data printing device according to any one of [1] to [5], wherein the first print instruction unit and the second print instruction unit are different print instruction units.

[7]
前記印刷指示手段は、キー操作による印刷指示手段であり、前記第1の印刷指示手段によるキー操作よりも前記第2の印刷指示手段によるキー操作の方が多くのキー操作を含む、
ことを特徴とする[6]に記載の計算データ印刷装置。
[7]
The print instruction means is a print instruction means by key operation, and the key operation by the second print instruction means includes more key operations than the key operation by the first print instruction means.
The calculation data printing device according to [6], characterized in that

[8]
前記第1の印刷指示手段は第1のキーの1回操作であり、前記第2の印刷指示手段は前記第1のキー及び第2のキーの同時操作である、
ことを特徴とする[6]に記載の計算データ印刷装置。
[8]
The first print instruction means is a single operation of a first key, and the second print instruction means is a simultaneous operation of the first key and a second key.
The calculation data printing device according to [6], characterized in that

[9]
前記第1の印刷指示手段は1つのキーの1回操作であり、前記第2の印刷指示手段は前記1つのキーの2回操作である、
ことを特徴とする[6]に記載の計算データ印刷装置。
[9]
The first print instruction means is one operation of one key, and the second print instruction means is two operation of the one key,
The calculation data printing device according to [6], characterized in that

[10]
印刷機能を備えた電子機器のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
数値と演算子を含む計算データを入力する計算データ入力手段、
前記計算データ入力手段により計算データが複数入力された後に、前記入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段、
前記計算データ入力手段により入力された何れかの計算データがユーザ操作に応じて修正された場合、前記入力された複数の計算データのうちの修正されていない計算データと前記修正された計算データとの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
[10]
A program for controlling a computer of an electronic device having a printing function,
The computer,
Calculation data input means for inputting calculation data including numerical values and operators,
A calculation data printing unit that, after a plurality of calculation data has been input by the calculation data input unit, calculates result data of the plurality of input calculation data and prints first print data including the calculated result data. ,
When any of the calculation data input by the calculation data input means is modified in response to a user operation, the uncorrected calculation data of the input plurality of calculation data and the modified calculation data Print difference judgment means for newly calculating the result data of, and for judging whether or not the second print data including the newly calculated result data is different from the first print data.
A computer readable program to function as.

[11]
印刷機能を備えた電子機器のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
数値と演算子を含む計算データを入力する計算データ入力手段、
複数の丸めモードのうち何れかの丸めモードを設定する丸めモード設定手段、
前記計算データ入力手段により計算データが複数入力された後に、前記設定された丸めモードで前記入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、
前記丸めモード設定手段により丸めモードが変更された場合、前記変更された丸めモードに従い前記入力された複数の計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
[11]
A program for controlling a computer of an electronic device having a printing function,
The computer,
Calculation data input means for inputting calculation data including numerical values and operators,
Rounding mode setting means for setting any one of a plurality of rounding modes,
After a plurality of pieces of calculation data have been input by the calculation data input means, result data of the plurality of pieces of calculation data that have been input is calculated in the set rounding mode, and first print data including the calculated result data. Calculation data printing means for printing
When the rounding mode is changed by the rounding mode setting means, the result data of the plurality of input calculation data is newly calculated according to the changed rounding mode, and the result data including the newly calculated result data is included. Print difference determining means for determining whether or not the print data of No. 1 is different from the first print data,
A computer readable program to function as.

10 …プリンタ付き電卓
11 …キー入力部
11a…プリンタモードスイッチ
11b…ラウンド(丸めモード)スイッチ
11c…小数点指定スイッチ
12 …表示部
13 …印刷部
21 …CPU
22 …記憶部
22a…計算データ印刷処理プログラム
22b…PRINTモード記憶エリア
22c…未印刷フラグ記憶エリア
22d…丸めモード(端数処理モード)記憶エリア
22e…計算モード記憶エリア
22f…計算データ記憶エリア
23 …外部記録媒体
24 …記録媒体読取部
25 …通信部
30 …Webサーバ(プログラムサーバ)
P …記録紙
10... Calculator with printer 11... Key input section 11a... Printer mode switch 11b... Round (rounding mode) switch 11c... Decimal point designation switch 12... Display section 13... Printing section 21... CPU
22... Storage unit 22a... Calculation data print processing program 22b... PRINT mode storage area 22c... Unprinted flag storage area 22d... Rounding mode (fraction processing mode) storage area 22e... Calculation mode storage area 22f... Calculation data storage area 23... External Recording medium 24... Recording medium reading unit 25... Communication unit 30... Web server (program server)
P: Recording paper

Claims (13)

数値と演算子を含む計算データを入力する計算データ入力手段と、
丸めモードを設定する丸めモード設定手段と、
前記丸めモード設定手段により設定された丸めモードで前記計算データ入力手段により入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、
前記計算データ入力手段により入力された何れかの計算データがユーザ操作に応じて修正された場合、前記丸めモード設定手段により設定された丸めモードで前記修正された計算データを含む少なくとも1つの計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段と、
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に、前記新たに算出された結果データを含む第2の印刷データの印刷を禁止する印刷禁止手段と、
を備えたことを特徴とする計算データ印刷装置。
Calculation data input means for inputting calculation data including numerical values and operators,
Rounding mode setting means for setting the rounding mode,
Calculation data for calculating the result data of the plurality of calculation data input by the calculation data inputting unit in the rounding mode set by the rounding mode setting unit and printing the first print data including the calculated result data Printing means,
When any calculation data input by the calculation data input means is modified according to a user operation, at least one calculation data including the modified calculation data in the rounding mode set by the rounding mode setting means. And a print difference determining unit that determines whether the second print data including the newly calculated result data is different from the first print data.
When the print difference determination unit determines that the second print data does not differ from the first print data, the printing of the second print data including the newly calculated result data is prohibited. Print prohibition means,
A calculation data printing device comprising:
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違すると判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第1の印刷指示手段と、A first for printing the second print data including the newly calculated result data when the print difference determination unit determines that the second print data is different from the first print data Print instruction means of
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第2の印刷指示手段と、A second print data for printing the second print data including the newly calculated result data when the second print data is determined not to be different from the first print data by the print difference determination unit; 2 print instruction means,
を更に備え、Further equipped with,
前記印刷禁止手段は、前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に、ユーザが前記第2の印刷指示手段により印刷の指示を行わない限り、前記新たに算出された結果データを含む第2の印刷データの印刷を禁止する、The print prohibiting unit, when the print difference determining unit determines that the second print data is not different from the first print data, instructs the user to print by the second print instructing unit. Unless the printing is performed, printing of the second print data including the newly calculated result data is prohibited.
ことを特徴とする請求項1に記載の計算データ印刷装置。The calculation data printing device according to claim 1, wherein:
前記印刷相違判断手段による判断結果を報知する印刷相違報知手段、
を備えたことを特徴とする請求項1に記載の計算データ印刷装置。
A print difference notifying means for notifying the determination result by the print difference determining means
The calculation data printing apparatus according to claim 1, further comprising:
記計算データ印刷手段は、前記計算データ入力手段により計算データが入力される毎に、前記丸めモード設定手段により設定された丸めモードで前記入力された計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する
ことを特徴とする請求項1又は請求項2に記載の計算データ印刷装置。
Before SL calculated data printing means, wherein every time the calculation data input by calculation data input means, calculates result data calculated data the input in the set rounding mode by the rounding mode setting means, the calculating printing a first print data including result data,
The calculation data printing device according to claim 1 or 2, wherein
数値と演算子を含む計算データを入力する計算データ入力手段と、
複数の丸めモードのうち何れかの丸めモードを設定する丸めモード設定手段と、
記設定された丸めモードで前記計算データ入力手段により入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、
前記丸めモード設定手段により丸めモードが変更された場合、前記変更された丸めモードに従い前記入力された複数の計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段と、
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に、前記新たに算出された結果データを含む第2の印刷データの印刷を禁止する印刷禁止手段と、
を備えたことを特徴とする計算データ印刷装置。
Calculation data input means for inputting calculation data including numerical values and operators,
Rounding mode setting means for setting any one of a plurality of rounding modes,
A plurality of calculated result data of calculation data, the calculation data printing means for printing the first print data including the result data the calculated input by the calculation data input means rounding mode that is pre-Symbol set,
When the rounding mode is changed by the rounding mode setting means, the result data of the plurality of input calculation data is newly calculated according to the changed rounding mode, and the result data including the newly calculated result data is included. Print difference determination means for determining whether or not the print data of No. 1 is different from the first print data,
When the print difference determination unit determines that the second print data does not differ from the first print data, the printing of the second print data including the newly calculated result data is prohibited. Print prohibition means,
A calculation data printing device comprising:
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違すると判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第1の印刷指示手段と、A first for printing the second print data including the newly calculated result data when the print difference determination unit determines that the second print data is different from the first print data Print instruction means of
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第2の印刷指示手段と、A second print data for printing the second print data including the newly calculated result data when the second print data is determined not to be different from the first print data by the print difference determination unit; 2 print instruction means,
を更に備え、Further equipped with,
前記印刷禁止手段は、前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に、ユーザが前記第2の印刷指示手段により印刷の指示を行わない限り、前記新たに算出された結果データを含む第2の印刷データの印刷を禁止する、The print prohibiting unit, when the print difference determining unit determines that the second print data is not different from the first print data, instructs the user to print by the second print instructing unit. Unless the printing is performed, printing of the second print data including the newly calculated result data is prohibited.
ことを特徴とする請求項5に記載の計算データ印刷装置。The calculation data printing device according to claim 5, wherein
前記印刷相違判断手段による判断結果を報知する印刷相違報知手段、
を備えたことを特徴とする請求項に記載の計算データ印刷装置。
A print difference notifying means for notifying the determination result by the print difference determining means,
The calculation data printing apparatus according to claim 5 , further comprising:
記第1の印刷指示手段と前記第2の印刷指示手段とを異なる印刷指示手段としたことを特徴とする請求項2又は請求項6に記載の計算データ印刷装置。 Before SL computing data printing apparatus according to claim 2 or claim 6, characterized in that a first printing instruction unit and the second printing instruction unit and a different print instruction unit. 前記印刷指示手段は、キー操作による印刷指示手段であり、前記第1の印刷指示手段によるキー操作よりも前記第2の印刷指示手段によるキー操作の方が多くのキー操作を含む、
ことを特徴とする請求項2又は請求項6に記載の計算データ印刷装置。
The print instruction means is a print instruction means by key operation, and the key operation by the second print instruction means includes more key operations than the key operation by the first print instruction means.
7. The calculation data printing device according to claim 2 or 6 , wherein:
前記第1の印刷指示手段は第1のキーの1回操作であり、前記第2の印刷指示手段は前記第1のキー及び第2のキーの同時操作である、
ことを特徴とする請求項2又は請求項6に記載の計算データ印刷装置。
The first print instruction means is a single operation of a first key, and the second print instruction means is a simultaneous operation of the first key and a second key.
7. The calculation data printing device according to claim 2 or 6 , wherein:
前記第1の印刷指示手段は1つのキーの1回操作であり、前記第2の印刷指示手段は前
記1つのキーの2回操作である、
ことを特徴とする請求項2又は請求項6に記載の計算データ印刷装置。
The first print instruction means is one operation of one key, and the second print instruction means is two operation of the one key,
7. The calculation data printing device according to claim 2 or 6 , wherein:
印刷機能を備えた電子機器のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
数値と演算子を含む計算データを入力する計算データ入力手段、
丸めモードを設定する丸めモード設定手段、
前記丸めモード設定手段により設定された丸めモードで前記計算データ入力手段により入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段、
前記計算データ入力手段により入力された何れかの計算データがユーザ操作に応じて修正された場合、前記丸めモード設定手段により設定された丸めモードで前記修正された計算データを含む少なくとも1つの計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段、
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に、前記新たに算出された結果データを含む第2の印刷データの印刷を禁止する印刷禁止手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
A program for controlling a computer of an electronic device having a printing function,
The computer,
Calculation data input means for inputting calculation data including numerical values and operators,
Rounding mode setting means for setting the rounding mode,
Calculation data for calculating result data of a plurality of calculation data input by the calculation data input unit in the rounding mode set by the rounding mode setting unit and printing first print data including the calculated result data Printing means,
When any calculation data input by the calculation data input means is modified according to a user operation, at least one calculation data including the modified calculation data in the rounding mode set by the rounding mode setting means. result data newly calculated, the second print data including the result data the newly calculated, print difference determining means for determining whether or not different from the first print data,
When the print difference determination unit determines that the second print data does not differ from the first print data, the printing of the second print data including the newly calculated result data is prohibited. Printing prohibition means,
A computer readable program to function as.
印刷機能を備えた電子機器のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
数値と演算子を含む計算データを入力する計算データ入力手段、
複数の丸めモードのうち何れかの丸めモードを設定する丸めモード設定手段、
記設定された丸めモードで前記計算データ入力手段により入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段、
前記丸めモード設定手段により丸めモードが変更された場合、前記変更された丸めモードに従い前記入力された複数の計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段、
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に、前記新たに算出された結果データを含む第2の印刷データの印刷を禁止する印刷禁止手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
A program for controlling a computer of an electronic device having a printing function,
The computer,
Calculation data input means for inputting calculation data including numerical values and operators,
Rounding mode setting means for setting any one of a plurality of rounding modes,
Calculating the result data of a plurality of calculation data input by the rounding mode which is pre-Symbol set by the calculation data input means, calculating data printing means for printing the first print data including the result data the calculated,
When the rounding mode is changed by the rounding mode setting means, the result data of the plurality of input calculation data is newly calculated according to the changed rounding mode, and the result data including the newly calculated result data is included. Print difference determining means for determining whether or not the print data of No. 1 is different from the first print data,
When the print difference determination unit determines that the second print data does not differ from the first print data, the printing of the second print data including the newly calculated result data is prohibited. Printing prohibition means,
A computer readable program to function as a.
JP2016006426A 2016-01-15 2016-01-15 Calculation data printing device and program Active JP6724374B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016006426A JP6724374B2 (en) 2016-01-15 2016-01-15 Calculation data printing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016006426A JP6724374B2 (en) 2016-01-15 2016-01-15 Calculation data printing device and program

Publications (2)

Publication Number Publication Date
JP2017124581A JP2017124581A (en) 2017-07-20
JP6724374B2 true JP6724374B2 (en) 2020-07-15

Family

ID=59364839

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016006426A Active JP6724374B2 (en) 2016-01-15 2016-01-15 Calculation data printing device and program

Country Status (1)

Country Link
JP (1) JP6724374B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6657980B2 (en) * 2016-01-15 2020-03-04 カシオ計算機株式会社 Calculation data printing device and program
JP6958242B2 (en) * 2017-10-31 2021-11-02 カシオ計算機株式会社 Computer, printing method and program of the computer

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5557488A (en) * 1978-10-24 1980-04-28 Sharp Corp Correction printing system
JPS62160251A (en) * 1986-01-08 1987-07-16 Brother Ind Ltd Printer with computer function
JPS6384654U (en) * 1986-11-20 1988-06-03
JPH0616278B2 (en) * 1987-12-15 1994-03-02 シャープ株式会社 Calculation mode setting device for desktop computer
JP3503251B2 (en) * 1995-03-03 2004-03-02 カシオ計算機株式会社 Electronic computer
US5608661A (en) * 1995-09-01 1997-03-04 Phillip J. Hoolehan Method and apparatus for semi-automatic number verification
JPH1115791A (en) * 1997-06-24 1999-01-22 Sharp Corp Calculator

Also Published As

Publication number Publication date
JP2017124581A (en) 2017-07-20

Similar Documents

Publication Publication Date Title
JP6724374B2 (en) Calculation data printing device and program
JP6657980B2 (en) Calculation data printing device and program
JP4705605B2 (en) Imposition apparatus, imposition method, program, recording medium
JP2018049491A (en) Calculation device, calculation print method, and program
JP7196958B2 (en) Computing device, print control method and program
JP2018001591A (en) Tax calculation device, tax calculation method, and program
JP7192914B2 (en) Computing device, computational support method and program
JPS58192126A (en) Word processor
JP4598017B2 (en) Imposition apparatus, imposition method, program, recording medium
JPH042984B2 (en)
JP7147946B2 (en) Electronic computer, printing method and program for the electronic computer
JP2012068745A (en) Desktop calculator with printer
JP6958242B2 (en) Computer, printing method and program of the computer
JP2002346172A (en) Management system for game, and program
JP2018049379A (en) Calculation device, calculation printing method and program
JP5505531B2 (en) Electronic calculator
JPS58211249A (en) Electronic apparatus provided with printing device
JP2010198122A (en) Device and program for formula calculation
JPH0764757A (en) Interactive input device with pointing device
JPS60254221A (en) Electronic device
JPS63133229A (en) Source program correction system
JP2017123089A (en) Electronic apparatus and calculation processing program
JPS62205413A (en) Processing instruction method
JPH10240413A (en) Input data display and transfer system
JP2000200271A (en) Apparatus and method for document processing, and computer-readable recording medium where program allowing computer to implement same method is recorded

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191227

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: 20200526

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200608

R150 Certificate of patent or registration of utility model

Ref document number: 6724374

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150