JP2017124581A - Calculation data printer and program - Google Patents

Calculation data printer and program Download PDF

Info

Publication number
JP2017124581A
JP2017124581A JP2016006426A JP2016006426A JP2017124581A JP 2017124581 A JP2017124581 A JP 2017124581A JP 2016006426 A JP2016006426 A JP 2016006426A JP 2016006426 A JP2016006426 A JP 2016006426A JP 2017124581 A JP2017124581 A JP 2017124581A
Authority
JP
Japan
Prior art keywords
data
calculation
calculation data
print
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016006426A
Other languages
Japanese (ja)
Other versions
JP6724374B2 (en
Inventor
啓喜 大平
Keiki Ohira
啓喜 大平
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

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

Abstract

PROBLEM TO BE SOLVED: To provide a calculation data printer which performs printing every time calculation data is input and saves printing by preventing wasteful printing when correcting the calculation data.SOLUTION: When a rounding mode is set and calculation data consisting of a numeric value and a calculation function is input, the calculation data is stored in the order of input every time the calculation data is input, calculation according to the calculation data is performed in accordance with settings for the rounding mode, and a series of calculation data including calculation results is printed on a recording sheet P successively. When any of the series of stored calculation data is corrected, re-calculation according to the corrected calculation data is performed, it is determined whether or not the calculation data of the result of the re-calculation is different from the printed calculation data. When the calculation data of the result of the re-calculation is different from the printed calculation data, an unprinted flag is turned on, and an unprinted symbol "NOT PRINTED" is displayed on a display unit 12. When the calculation data of the result of the re-calculation is not different from the printed calculation data, the unprinted flag is turned off and the printed symbol "PRINTED" is displayed.SELECTED DRAWING: Figure 5

Description

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

従来、1回目に入力した計算式を保存しておき、2回目に同じ計算式を入力して正誤判定する2度打ち検算を行なえるプリンタ付き電卓が提案されている(例えば、特許文献1参照。)。   2. Description of the Related Art Conventionally, there has been proposed a calculator with a printer that can store a calculation formula input at the first time and perform a double check by inputting the same calculation formula at the second time to make a correct / incorrect determination (see, for example, 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 input of the second calculation formula is completed. As a result, even if there is an input mistake in the first calculation, it is possible to print the correct input content after confirming the second calculation, and therefore it is possible to prevent useless printing.

特開平08−241285号公報Japanese Patent Laid-Open No. 08-241285

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

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

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

本発明に係る計算データ印刷装置は、数値と演算子を含む計算データを入力する計算データ入力手段と、前記計算データ入力手段により計算データが複数入力された後に、前記入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、前記計算データ入力手段により入力された何れかの計算データがユーザ操作に応じて修正された場合、前記入力された複数の計算データのうちの修正されていない計算データと前記修正された計算データとの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段と、を備えたことを特徴としている。   The calculation data printing apparatus according to the present invention includes calculation data input means for inputting calculation data including numerical values and operators, and a plurality of calculation data inputted after the calculation data input means inputs a plurality of calculation data. Calculation data printing means for printing the first print data including the calculated result data, and any of the calculation data input by the calculation data input means is modified according to a user operation In the case of the second calculation data, a new result data of the corrected calculation data and the corrected calculation data among the plurality of input calculation data is newly calculated, and the second data including the newly calculated result data is included. Print difference determining means for determining whether or not the print data is different from the first print data.

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

本発明の計算データ印刷装置の実施形態に係るプリンタ付き電卓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 apparatus 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 calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その2)を示すフローチャート。7 is a flowchart showing calculation data printing processing (part 2) of the calculator with printer 10; 前記計算データ印刷処理の実施例1であって、計算データを修正しても印刷データが変化(相違)しない場合のユーザ操作に応じた表示・印刷・計算動作を示す図。FIG. 9 is a diagram illustrating a display / printing / calculating operation according to a user operation when the calculated data is not changed (differed) even if the calculated data is corrected, according to the first embodiment of the calculated data printing process. 前記実施例1であって、計算データを修正すると印刷データが変化(相違)する場合のユーザ操作に応じた表示・印刷・計算動作を示す図。FIG. 6 is a diagram illustrating a display / printing / calculating operation according to a user operation in the first embodiment when print data changes (differs) when calculation data is modified. 前記計算データ印刷処理の実施例2であって、丸めモードの設定を変更しても印刷データが変化(相違)しない場合のユーザ操作に応じた表示・印刷・計算動作を示す図。FIG. 10 is a diagram illustrating a display / printing / calculating operation according to a user operation when the print data does not change (differ) even when the setting of the rounding mode is changed, according to the second embodiment of the calculation data printing process. 前記実施例2であって、丸めモードの設定を変更すると印刷データが変化(相違)する場合のユーザ操作に応じた表示・印刷・計算動作を示す図。FIG. 10 is a diagram illustrating a display / printing / calculation operation according to a user operation when the print data changes (differs) when the setting of the rounding mode is changed in the second embodiment.

以下図面により本発明の実施の形態について説明する。   Embodiments 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 apparatus of the present invention.

このプリンタ付き電卓10は、机上に置いて操作し易い置き型の本体ケースの手前側にキー入力部11を備え、キー入力部11の奥側に表示部12、印刷部13を備えている。   The calculator 10 with a printer includes a key input unit 11 on the front side of a stand-type main body case that is placed on a desk and is easy to operate, and includes 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 numeric keys ([0] [00] [1] to [9] [.]) And operator designation keys ([+ =] [−] [×]. ] [÷] [G * (Grand Total)] [* (Total)] [%] [TAX-] [TAX +] [M * (Memory Recall Clear)] to [M + (Memory Plus)] [MU (Markup) ) / MD (markdown)], etc.), clear all key [CA], clear key [C], recall key for input calculation data [△] [▽], correction instruction key [CORRECT], each for print designation Keys [RE] [PRINT] etc. are provided. In the present invention, the operator is not limited to the four operators, and includes an operation instruction for performing a total calculation or a total operation, and an operation instruction including calculation execution.

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

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

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

前記ラウンド(丸めモード)スイッチ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 fraction processing of how to obtain the decimal part. As shown in FIG. 1A, “F”, “CUT”, “UP”, “5 / It has a 4 ”switching position. At the “F” position, the value after the decimal point is calculated without rounding. At the “CUT” position, the specified digits after the decimal point are “rounded down”, and at the “UP” position, the number after the decimal point is specified. Up to the digit is obtained by “rounding up”, and at the position “5/4”, up to the designated digit after the decimal point is obtained by “rounding off”.

前記小数点指定スイッチ11cは、前記ラウンドスイッチ11bが“CUT”“UP”又は“5/4”に指定されているとき、小数点以下を「何桁まで」求めるかを指定するスイッチであり、“0”〜“6”の桁指定位置を有し、指定した数の下1桁が「切捨て」「切上げ」「四捨五入」される。   The decimal point designation switch 11c is a switch for designating “to what number of digits” after the decimal point when the round switch 11b is designated as “CUT”, “UP” or “5/4”. "-" Has a digit designation position of "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に関わらずその直前に計算された一連の計算データが印刷(再印刷)される。   As shown in FIG. 1B, the [RE] key and [PRINT] key for print designation are arranged adjacent to each other so that they can be pressed simultaneously, although the key tops are independent. When the [PRINT] key is pressed alone, a series of calculation data calculated immediately before the print mode is turned off is printed. When the [RE] + [PRINT] key is pressed simultaneously, the print mode is Regardless of OFF / ON, a series of calculation data calculated immediately before is printed (reprinted).

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

前記表示部12は、12桁のセグメントからなる液晶表示パネルを備え、入力された計算式や計算結果の計算データがその都度表示される。   The display unit 12 includes a liquid crystal display panel composed of 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 type printing mechanism, and the calculation data is recorded on the recording paper P based on the setting state of the print mode OFF / ON and the input state of the [RE] key and [PRINT] key. Print to output.

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

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

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

前記計算機制御プログラムには、ユーザ操作に応じた各種の計算処理プログラムの他、計算処理プログラムに従い実行された計算処理の計算データを印刷するための計算データ印刷処理プログラム22aが含まれる。   The computer control program includes a calculation data print 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が確保される。   The memory 22 includes 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.

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

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

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

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

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

前記計算データ記憶エリア22fには、前記計算登録モードにおいて、ユーザ操作に応じて入力された一連の計算データが、順次ジャーナルデータとして記憶され登録される。   In the calculation data storage area 22f, in the calculation registration mode, a series of calculation data input in response to a user operation 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 in accordance with the instructions described in the computer control program (including the calculation data print processing program 22a), and the software and hardware cooperate. By operating 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 with printer 10 having the above configuration will be described.

図3A、図3Bは、前記プリンタ付き電卓10の計算データ印刷処理(その1)(その2)を示すフローチャートである。   3A and 3B are flowcharts showing calculation data printing processing (part 1) (part 2) of the calculator 10 with a 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 when the CPU 11 starts executing the calculation data print processing program 22a, the print mode 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 state of the round (rounding mode) switch 11b and the decimal point designation switch 11c is read by the CPU 11, and "CUT", "rounded down", "UP", "rounded up", Either “5/4” or “rounded 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 a display corresponding 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 -It is a figure which shows printing and calculation operation.

この実施例1では、前記プリントモードスイッチ11aが“PRINT”の位置にあることでプリントモードONの設定データが記憶され、前記ラウンド(丸めモード)スイッチ11bが“5/4”の位置、前記小数点指定スイッチ11cが“2”の位置にあることで、「四捨五入」「丸め桁:2」の設定データが記憶された状態での動作について説明する。   In the first embodiment, the print mode ON setting data is stored when the print mode switch 11a is at the "PRINT" position, the round (rounding mode) switch 11b is at the "5/4" position, and the decimal point is set. An operation in a state where setting data “rounded off” and “rounded digit: 2” is stored when the designation switch 11c is in the position “2” 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 in response to a user operation of the key input unit 11, “33.334” [+ =] “33.325” [+ = ] Is input, 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, calculation according to the setting data of the rounding mode (“rounding off” “rounding digit: 2”) is executed, and FIG. 4B1 → B2). As shown, 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. 4 (C1), the printing unit 13 causes the [CA] key and [+ = ] Key is entered, “····· CA” “33.33+ (rounding calculation result of 33.334)” “33.33+ (rounding calculation result of 33.325)” and recording paper P sequentially (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 (33.33 + 33.325 rounding calculation result) “66.66” of the calculation result calculated as shown in FIG. As shown in FIG. 4 (B3), it 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 addition, in the calculation data input / registration / calculation / calculation result display according to the 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. 4 (A), the input calculation data call key [▽] is input once. Then, the head 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. 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. When the calculation data corrected for the third and fourth digits after the decimal point is input as “33.3321” [+ =], as shown in FIG. 4 (B5), the corrected calculation data “33.3321+” 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, among the series of calculation data stored in the calculation data storage area 22f, as shown in FIG. 4 (D4), the calculation data “33.3321+” up to the corrected first row “01” is Print data “33.33”, which is recalculated according to the rounding mode setting data (“rounded off” and “rounded digit: 2”), and the calculation data of the calculation result is printed according to the previous calculation (before correction). It is compared with the data “33.33” (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 previously (before correction), but the calculation data (print data) of the calculation result is different. According to the rounding mode (“rounding off” “rounding digit: 2”), “33.33” is obtained, which is the same as the previous calculation data (print data).

このため、印刷データに変化(相違)なし(印刷済み)と判断され(ステップS12(No))、前記未印刷フラグ記憶エリア22cに未印刷フラグOFFのデータを記憶させ、図4(B5)に示すように、表示部12に印刷済みシンボル“PRINTED”を表示させる(ステップS13)。   For this reason, it is determined that there is no change (difference) in the print data (printed) (step S12 (No)), the data of the unprinted flag OFF is stored in the unprinted flag storage area 22c, and FIG. 4 (B5). As shown, a 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 there is no change (difference) in the recalculated calculation data (print data) even if the previously input calculation data is corrected. Can do.

この際、前記[PRINT]キーを入力しても、前記未印刷フラグ記憶エリア22cに未印刷フラグOFFのデータが記憶されているので、前記一連の計算データの再印刷は行われない(ステップS17(Yes)→S18(No))。これにより、印刷データが同じになる無駄な印刷を防いで印刷を節約できる。   At this time, even if the [PRINT] key is input, since the unprinted flag OFF data is stored in the unprinted flag storage area 22c, the series of calculation data is not reprinted (step S17). (Yes) → S18 (No)). As a result, useless printing with the same print data can be prevented and 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, when the recording paper P on which the same calculation data is printed is desired (for example, to save), reprinting is performed by simultaneously pressing the [RE] + [PRINT] key. (Step S19 (Yes)), as shown in FIGS. 4 (B6) to (B8), 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. 4C2, each calculation data associated with the recalculation is sequentially printed on the recording paper P by the printing unit 13 in the same manner as described above. Is output (step S20).

なお、前記未印刷フラグOFFとなっている場合は、前記[PRINT]キーを入力しても、計算データの再印刷は実行されないが(ステップS17(Yes)→S18(No))、変形例として、当該[PRINT]キーの1回目の入力に応じて、図4(B9)に示すように、印刷済みであるが再印刷を行なうかどうかの確認メッセージ“RE PRINT?”を表示部12に表示させる(ステップS18a)。   If the unprinted flag is OFF, the calculation data is not reprinted even if the [PRINT] key is input (step S17 (Yes) → S18 (No)). In response to the first input of the [PRINT] key, a confirmation message “RE PRINT?” Is displayed on the display unit 12 as shown in FIG. (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 as in the case shown in FIGS. 4 (B6) to (B8) (C2). The data may be recalculated, and the 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 / printing / calculation operation according to a user operation when the print data changes when the numerical value of the calculation data is modified in the PRINT mode ON state. FIG.

先ず、図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. 5 (A), a series of calculation data “123.454” [+ =] “987.645” [+ =] input in response to a user's operation is shown in FIG. As shown in (D3), when the calculation is executed in accordance with the rounding mode setting data ("rounded off", "rounded digit: 2") and the total key [*] is input, (B1) to (B1) in FIG. As shown in B3), the calculation data of the calculation results sequentially calculated are “123.45+ (rounding calculation result of 123.454)” “1111.10+ (rounding calculation result of 123.45 + 987.645)” “1111. 10 (total display: rounding calculation result of 123.45 + 987.645) ”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. 5 (C1), the calculation data of the calculation result are “····· CA” “123.45+” “987.65+” “1, 111.10 *” and the printing unit 13 sequentially. 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 input calculation data call key [キ ー] is input twice, and the series of calculation data (input data) “123.454+” “987.645+”, (Registered calculation result data) The calculation data (input data) “987.645+” of the second line “02” of “1111.10 *” is called, and the verification symbol is displayed as shown in FIG. 5 (B4). 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)。   When the [CORRECT] key is input to instruct correction, and the corrected calculation data “987.654” [+ =] is input, as shown in FIG. 5 (D4), the corrected second line “02” Calculation data (input data) “123.454+” and “987.654+” up to “” are recalculated according to the setting data of the rounding mode (“rounded off” “rounding digit: 2”), and the calculation result Print data “987.65” is compared with print data “987.65” corresponding 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 previously (before correction), but the calculation data (print data) of the calculation result is different. According to the rounding mode (“rounding off” “rounding digit: 2”), “987.65” is obtained, which is the same as the previous calculation data (print data). For this reason, as described above, it is determined that there is no change (difference) in the print data (printed) (step S12 (No)), the unprinted flag is turned OFF, and the display unit 12 is displayed as shown in FIG. 5 (B5). 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” of the first row “01” in the series of calculation data. .454+ ”is displayed 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)。   When the [CORRECT] key is input to instruct correction, and the corrected calculation data “123.456” [+ =] is input, as shown in FIG. 5 (D5), the corrected first line “01” The calculation data “123.456+” up to “” is recalculated in accordance with the rounding mode setting data (“rounded off” “rounding digit: 2”) as described above, and print data “123. 46 "is compared with the print data" 123.45 "corresponding 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 current (after correction) calculation result is different from the previous calculation data “123.45”, it is determined that the print data has changed (unprinted) ( In step S12 (Yes), the unprinted flag ON data 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. Step S14).

この未印刷シンボル“NOT PRINTED”の表示により、ユーザは、前回入力した計算データを修正することで、再計算した計算結果の計算データ(印刷データ)に変化(相違)が無いことを容易に知ることができる。   By displaying the unprinted symbol “NOT Printed”, the user can easily know that there is no change (difference) in the recalculated calculation data (print data) by correcting the previously input calculation data. 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)。   When the [PRINT] key is input, based on the fact that unprinted flag ON data is stored in the unprinted flag storage area 22c (step S18 (Yes)), FIG. 5 (B8) to (B10). As shown in FIG. 5, the corrected series of calculation data “123.456+” and “987.654+” stored in the calculation 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 accompanying the recalculation are 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 if the [RE] + [PRINT] key is pressed at the same time and reprinting is instructed (step S19 (Yes)), the calculation data “123.46+” of each calculation result accompanying the recalculation is the same as described above. "987.65+" and "1, 111.11 *" are 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 corrected, only when the calculation data (print data) of the calculation result is different from the calculation data (print data) before the correction, after the correction by the [PRINT] key. Since the calculation data can be reprinted, useless printing can be prevented and printing can be saved.

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

現在、電卓10は、前記プリントモードスイッチ11aが“PRINT”の位置にあることでプリントモードONの設定データが記憶され、前記ラウンド(丸めモード)スイッチ11bが“5/4”の位置、前記小数点指定スイッチ11cが“0”の位置にあることで、「四捨五入」「丸め桁:0」の設定データが記憶された状態である。   Currently, the calculator 10 stores the print mode ON setting data when the print mode switch 11a is at the "PRINT" position, the round (rounding mode) switch 11b is at the "5/4" position, and the decimal point. Since the designation switch 11c is in the “0” position, the setting data “rounded off” and “rounded digit: 0” are 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 according to the user operation of the key input unit 11, the input calculation data is [× ] [=] [TAX + (tax rate 8%)] key is stored in the calculation data storage area 22f each time a key is input. Then, as shown in FIG. 6 (D1), calculation according to the setting data of the rounding mode (“rounded off” “rounding digit: 0”) is executed, as shown in FIGS. 6 (B1) to (B4). Then, 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. 6 (C1), the calculation data of the calculation result is “····· CA” “251. ×” “3. =” “753.” “753.-T” “8. % T "" 60.T "" 813. + T "are sequentially printed on the recording paper P by the printing unit 13 (step S6 (Yes) → S7).

ここで、前記税額の加算を「四捨五入」「丸め桁:0」で行ったが、小数点以下「切捨て」で再計算するために、前記ラウンド(丸めモード)スイッチ11bを“CUT”の位置に切替えると(ステップS15(Yes))、前記計算データ記憶エリア22fに再計算の対象になる計算データが記憶された状態か判断される(ステップS16)。   Here, the tax amount is added by “rounding off” and “rounding digit: 0”, but the round (rounding mode) switch 11b is switched to the “CUT” position in order to recalculate with “rounded down” after the decimal point. (Step S15 (Yes)), it is determined whether 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” [×] 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 according to the switched rounding mode setting data (“truncated” after the decimal point), and the print data “813” that is the result of the calculation is executed. Is compared with the print data “813” corresponding to the previous calculation (before the rounding mode switching) (step S11).

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

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

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

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

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

ここでは、丸めモードが小数点以下「四捨五入」に設定されている状態で、ユーザ操作に応じて、一連の計算データ[CA]“253”[×]“3”[=][TAX+]を入力し、前記図6で示した場合と同様に、当該計算データに応じた計算を実行する(図7(D1)参照)。そして、計算結果のデータを順次表示部12に表示させ(図7(B1)〜(B4)参照)、印刷部13により記録紙Pに印刷する(図7(C1)参照)(ステップS3〜S7)。   Here, in a state where the rounding mode is set to “round off” after the decimal point, a series of calculation data [CA] “253” [×] “3” [=] [TAX +] is input according to the user operation. Similarly to the case shown in FIG. 6, the calculation according to the calculation data is executed (see FIG. 7 (D1)). Then, the calculation result data is sequentially displayed on the display unit 12 (see FIGS. 7B1 to B4) and 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 (step S15 (Yes)) in order to recalculate with “rounded down” after the decimal point (step S15 (Yes)), FIG. As shown in D2), the recalculation is executed in accordance with the switched rounding mode setting data ("rounded down" after the decimal point), and the print data "819" which is the calculation result data is the previous time (rounding mode switching). It is compared with the print data “820” corresponding to the previous 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 current calculation result (after switching the rounding mode) is different from the previous calculation data “820”, it is determined that there is a change (difference) in the print data (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. 7 (B5). (Step S14).

この未印刷シンボル“NOT PRINTED”の表示により、ユーザは、丸めモードを切替えて再計算した計算結果の計算データ(印刷データ)に変化(相違)があることを容易に知ることができる。   By displaying this 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 FIG. 7 (B6) to (B9) according to 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. 7 (C2), calculation data “253. ×” to “253.x” to “ 819. + T ″ are sequentially printed on the recording paper P (step S20).

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

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

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

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

なお、前記各実施形態において記載したプリンタ付き電卓10による各処理の手法、すなわち、図3A,図3Bのフローチャートに示す計算データ印刷処理等の各手法は、何れもコンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピ(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記録装置の媒体に格納して配布することができる。そして、印刷機能を備えた電子式計算機のコンピュータ(CPU)は、この外部記憶装置の媒体に記憶されたプログラムを記憶装置に読み込み、この読み込んだプログラムによって動作が制御されることにより、前記各実施形態において説明した計算データ印刷機能を実現し、前述した手法による同様の処理を実行することができる。   It should be noted that each processing method by the calculator 10 with a printer described in each of the embodiments, that is, each method such as calculation data printing processing shown in the flowcharts of FIGS. 3A and 3B 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.), external memory, etc. 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, so that each of the above-described embodiments is performed. The calculation data printing function described in the embodiment can be realized, and the same processing by the method described above can be executed.

また、前記各手法を実現するためのプログラムのデータは、プログラムコードの形態として通信ネットワーク(N)上を伝送させることができ、この通信ネットワーク(N)に接続されたコンピュータ装置(プログラムサーバ)から前記プログラムのデータを、印刷機能を備えた電子式計算機に取り込んで記憶装置に記憶させ、前述した計算データ印刷機能を実現することもできる。   Further, program data 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 the communication network (N). The above-described calculation data printing function can also be realized by fetching the program data into an electronic computer having a printing function and storing it in a storage device.

本願発明は、前記各実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。さらに、前記各実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。例えば、各実施形態に示される全構成要件から幾つかの構成要件が削除されたり、幾つかの構成要件が異なる形態にして組み合わされても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除されたり組み合わされた構成が発明として抽出され得るものである。   The present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention when it is practiced. Further, 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 column of the problem to be solved by the invention If the effects described in the column “Effects of the Invention” can be obtained, a configuration in which these constituent requirements are deleted or combined can be extracted as an invention.

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

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

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

[3]
丸めモードを設定する丸めモード設定手段を備え、
前記計算データ印刷手段は、前記計算データ入力手段により計算データが入力される毎に、前記丸めモード設定手段により設定された丸めモードで前記入力された計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷し、
前記印刷相違判断手段は、前記丸めモード設定手段により設定された丸めモードで前記修正された計算データを含む少なくとも1つの計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する、
ことを特徴とする[1]又は[2]に記載の計算データ印刷装置。
[3]
A rounding mode setting means for setting the rounding mode;
The calculation data printing unit calculates result data of the input calculation data in the rounding mode set by the rounding mode setting unit each time calculation data is input by the calculation data input unit, and the calculation data is calculated. Printing the first print data including the result data,
The printing 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 the newly calculated result data is calculated. Determining whether or not the second print data included is different from the first print data;
The calculation data printing apparatus according to [1] or [2], wherein:

[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 calculation data is input by the calculation data input means, the first print data including the calculated result data is calculated by calculating result data of the input calculation data in the set rounding mode. 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 second data including the newly calculated result data is included. Print difference determination means for determining whether or not the print data is different from the first print data;
A calculation data printing apparatus comprising:

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

[6]
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違すると判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第1の印刷指示手段と、
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第2の印刷指示手段とを備え、
前記第1の印刷指示手段と前記第2の印刷指示手段とを異なる印刷指示手段としたことを特徴とする[1]乃至[5]の何れかに記載の計算データ印刷装置。
[6]
A first print data for printing the second print data including the newly calculated result data when the second print data is judged to be different from the first print data by the print difference judging means. Printing instruction means,
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 determining means. 2 print instruction means,
The calculation data printing apparatus 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.
[6] The calculation data printing apparatus according to [6].

[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;
[6] The calculation data printing apparatus according to [6].

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

[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,
Calculation data printing means for calculating result data of the inputted plurality of calculation data and printing first print data including the calculated result data after a plurality of calculation data is inputted by the calculation data input means ,
When any calculation data input by the calculation data input means is corrected according to a user operation, uncorrected calculation data among the plurality of input calculation data and the corrected calculation data Print difference determination means for newly calculating the result data and determining whether the second print data including the newly calculated result data is different from the first print data;
A computer-readable program that allows it to function as a computer.

[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 one of a plurality of rounding modes;
After a plurality of calculation data is input by the calculation data input means, the first print data including the calculated result data is calculated by calculating result data of the input calculation data in the set rounding mode. 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 second data including the newly calculated result data is included. Print difference determining means for determining whether or not the print data is different from the first print data;
A computer-readable program that allows it to function as a computer.

10 …プリンタ付き電卓
11 …キー入力部
11a…プリンタモードスイッチ
11b…ラウンド(丸めモード)スイッチ
11c…小数点指定スイッチ
12 …表示部
13 …印刷部
21 …CPU
22 …記憶部
22a…計算データ印刷処理プログラム
22b…PRINTモード記憶エリア
22c…未印刷フラグ記憶エリア
22d…丸めモード(端数処理モード)記憶エリア
22e…計算モード記憶エリア
22f…計算データ記憶エリア
23 …外部記録媒体
24 …記録媒体読取部
25 …通信部
30 …Webサーバ(プログラムサーバ)
P …記録紙
DESCRIPTION OF SYMBOLS 10 ... Calculator with printer 11 ... Key input part 11a ... Printer mode switch 11b ... Round (rounding mode) switch 11c ... Decimal point designation switch 12 ... Display part 13 ... Printing part 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 (11)

数値と演算子を含む計算データを入力する計算データ入力手段と、
前記計算データ入力手段により計算データが複数入力された後に、前記入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、
前記計算データ入力手段により入力された何れかの計算データがユーザ操作に応じて修正された場合、前記入力された複数の計算データのうちの修正されていない計算データと前記修正された計算データとの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段と、
を備えたことを特徴とする計算データ印刷装置。
Calculation data input means for inputting calculation data including numerical values and operators;
Calculation data printing means for calculating result data of the inputted plurality of calculation data and printing first print data including the calculated result data after a plurality of calculation data is inputted by the calculation data input means When,
When any calculation data input by the calculation data input means is corrected according to a user operation, uncorrected calculation data among the plurality of input calculation data and the corrected calculation data Printing difference determination means for newly calculating the result data, and determining whether the second print data including the newly calculated result data is different from the first print data;
A calculation data printing apparatus comprising:
前記印刷相違判断手段による判断結果を報知する印刷相違報知手段、
を備えたことを特徴とする請求項1に記載の計算データ印刷装置。
Printing difference notification means for notifying the determination result by the printing difference determination means;
The calculation data printing apparatus according to claim 1, further comprising:
丸めモードを設定する丸めモード設定手段を備え、
前記計算データ印刷手段は、前記計算データ入力手段により計算データが入力される毎に、前記丸めモード設定手段により設定された丸めモードで前記入力された計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷し、
前記印刷相違判断手段は、前記丸めモード設定手段により設定された丸めモードで前記修正された計算データを含む少なくとも1つの計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する、
ことを特徴とする請求項1又は請求項2に記載の計算データ印刷装置。
A rounding mode setting means for setting the rounding mode;
The calculation data printing unit calculates result data of the input calculation data in the rounding mode set by the rounding mode setting unit each time calculation data is input by the calculation data input unit, and the calculation data is calculated. Printing the first print data including the result data,
The printing 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 the newly calculated result data is calculated. Determining whether or not the second print data included is different from the first print data;
The calculation data printing apparatus according to claim 1, wherein the calculation data printing apparatus is a printer.
数値と演算子を含む計算データを入力する計算データ入力手段と、
複数の丸めモードのうち何れかの丸めモードを設定する丸めモード設定手段と、
前記計算データ入力手段により計算データが複数入力された後に、前記設定された丸めモードで前記入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、
前記丸めモード設定手段により丸めモードが変更された場合、前記変更された丸めモードに従い前記入力された複数の計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段と、
を備えたことを特徴とする計算データ印刷装置。
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 calculation data is input by the calculation data input means, the first print data including the calculated result data is calculated by calculating result data of the input calculation data in the set rounding mode. 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 second data including the newly calculated result data is included. Print difference determination means for determining whether or not the print data is different from the first print data;
A calculation data printing apparatus comprising:
前記印刷相違判断手段による判断結果を報知する印刷相違報知手段、
を備えたことを特徴とする請求項4に記載の計算データ印刷装置。
Printing difference notification means for notifying the determination result by the printing difference determination means;
The calculation data printing apparatus according to claim 4, further comprising:
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違すると判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第1の印刷指示手段と、
前記印刷相違判断手段により前記第2の印刷データが、前記第1の印刷データと相違しないと判断された場合に前記新たに算出された結果データを含む第2の印刷データを印刷させるための第2の印刷指示手段とを備え、
前記第1の印刷指示手段と前記第2の印刷指示手段とを異なる印刷指示手段としたことを特徴とする請求項1乃至請求項5の何れか1項に記載の計算データ印刷装置。
A first print data for printing the second print data including the newly calculated result data when the second print data is judged to be different from the first print data by the print difference judging means. Printing instruction means,
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 determining means. 2 print instruction means,
6. The calculation data printing apparatus according to claim 1, wherein the first print instruction unit and the second print instruction unit are different print instruction units.
前記印刷指示手段は、キー操作による印刷指示手段であり、前記第1の印刷指示手段によるキー操作よりも前記第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.
The calculation data printing apparatus according to claim 6.
前記第1の印刷指示手段は第1のキーの1回操作であり、前記第2の印刷指示手段は前記第1のキー及び第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;
The calculation data printing apparatus according to claim 6.
前記第1の印刷指示手段は1つのキーの1回操作であり、前記第2の印刷指示手段は前記1つのキーの2回操作である、
ことを特徴とする請求項6に記載の計算データ印刷装置。
The first print instruction means is a one-time operation of one key, and the second print instruction means is a two-time operation of the one key;
The calculation data printing apparatus according to claim 6.
印刷機能を備えた電子機器のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
数値と演算子を含む計算データを入力する計算データ入力手段、
前記計算データ入力手段により計算データが複数入力された後に、前記入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段、
前記計算データ入力手段により入力された何れかの計算データがユーザ操作に応じて修正された場合、前記入力された複数の計算データのうちの修正されていない計算データと前記修正された計算データとの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
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,
Calculation data printing means for calculating result data of the inputted plurality of calculation data and printing first print data including the calculated result data after a plurality of calculation data is inputted by the calculation data input means ,
When any calculation data input by the calculation data input means is corrected according to a user operation, uncorrected calculation data among the plurality of input calculation data and the corrected calculation data Print difference determination means for newly calculating the result data and determining whether the second print data including the newly calculated result data is different from the first print data;
A computer-readable program that allows it to function as a computer.
印刷機能を備えた電子機器のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
数値と演算子を含む計算データを入力する計算データ入力手段、
複数の丸めモードのうち何れかの丸めモードを設定する丸めモード設定手段、
前記計算データ入力手段により計算データが複数入力された後に、前記設定された丸めモードで前記入力された複数の計算データの結果データを算出し、前記算出された結果データを含む第1の印刷データを印刷する計算データ印刷手段と、
前記丸めモード設定手段により丸めモードが変更された場合、前記変更された丸めモードに従い前記入力された複数の計算データの結果データを新たに算出し、前記新たに算出された結果データを含む第2の印刷データが、前記第1の印刷データと相違するか否かを判断する印刷相違判断手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
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 one of a plurality of rounding modes;
After a plurality of calculation data is input by the calculation data input means, the first print data including the calculated result data is calculated by calculating result data of the input calculation data in the set rounding mode. 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 second data including the newly calculated result data is included. Print difference determining means for determining whether or not the print data is different from the first print data;
A computer-readable program that allows it to function as a computer.
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 true JP2017124581A (en) 2017-07-20
JP6724374B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980593A (en) * 2016-01-15 2017-07-25 卡西欧计算机株式会社 Calculate the recording medium that data-printing apparatus and method and computer capacity are read
JP2019081341A (en) * 2017-10-31 2019-05-30 カシオ計算機株式会社 Electronic calculator, printing method for the same, and program

Citations (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
JPH01158556A (en) * 1987-12-15 1989-06-21 Sharp Corp Device for setting operational mode of electronic calculator
JPH08241285A (en) * 1995-03-03 1996-09-17 Casio Comput Co Ltd 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

Patent Citations (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
JPH01158556A (en) * 1987-12-15 1989-06-21 Sharp Corp Device for setting operational mode of electronic calculator
JPH08241285A (en) * 1995-03-03 1996-09-17 Casio Comput Co Ltd 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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106980593A (en) * 2016-01-15 2017-07-25 卡西欧计算机株式会社 Calculate the recording medium that data-printing apparatus and method and computer capacity are read
CN106980593B (en) * 2016-01-15 2020-07-24 卡西欧计算机株式会社 Computer data printing apparatus and method, and computer-readable recording medium
JP2019081341A (en) * 2017-10-31 2019-05-30 カシオ計算機株式会社 Electronic calculator, printing method for the same, and program

Also Published As

Publication number Publication date
JP6724374B2 (en) 2020-07-15

Similar Documents

Publication Publication Date Title
JP2017124581A (en) Calculation data printer and program
JP6657980B2 (en) Calculation data printing device and program
JP2009059256A (en) Electronic device capable of drawing graph, and program
JP7487755B2 (en) calculator
CN102063403A (en) Electronic calculator
JP6561626B2 (en) Electronic device, calculation processing method, and program
JP6759766B2 (en) Tax calculators, tax calculators, and programs
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP7196958B2 (en) Computing device, print control method and program
US10114791B2 (en) Electronic apparatus, calculation processing method, and recording medium storing calculation processing program
JP5979212B2 (en) Electronic equipment and programs
JP7136289B2 (en) Display control device, display control method, and display control program
JP5381152B2 (en) Formula arithmetic device and program
JP7192914B2 (en) Computing device, computational support method and program
US11698882B2 (en) Electronic apparatus, control method of electronic apparatus, and control program of electronic apparatus
JP2016192232A (en) Electronic apparatus and program
JP2008250438A (en) Mathematical equation arithmetic unit and mathematical equation arithmetic program
JP2526181Y2 (en) Small electronic calculator
JP2703608B2 (en) Document processing method and apparatus
JPH0616278B2 (en) Calculation mode setting device for desktop computer
JP2003150563A (en) Calculator and calculation processing program
JPH07306834A (en) Electronic computer
JP3871498B2 (en) Data input interface device
JP2014067116A (en) Electronic desk-top calculator
JP2008146532A (en) Mathematical expression processor, and mathematical expression processing program

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 Request for written amendment filed

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