JP2021166097A - Computing apparatus, print control method, and program - Google Patents

Computing apparatus, print control method, and program Download PDF

Info

Publication number
JP2021166097A
JP2021166097A JP2021116240A JP2021116240A JP2021166097A JP 2021166097 A JP2021166097 A JP 2021166097A JP 2021116240 A JP2021116240 A JP 2021116240A JP 2021116240 A JP2021116240 A JP 2021116240A JP 2021166097 A JP2021166097 A JP 2021166097A
Authority
JP
Japan
Prior art keywords
data
calculation
total
function
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2021116240A
Other languages
Japanese (ja)
Other versions
JP7196958B2 (en
Inventor
博明 吉澤
Hiroaki Yoshizawa
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 JP2021116240A priority Critical patent/JP7196958B2/en
Publication of JP2021166097A publication Critical patent/JP2021166097A/en
Application granted granted Critical
Publication of JP7196958B2 publication Critical patent/JP7196958B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1205Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources management
    • G06F3/1225Software update, e.g. print driver, modules, plug-ins, fonts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1254Automatic configuration, e.g. by driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/128Direct printing, e.g. sending document file, using memory stick, printing from a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Calculators And Similar Devices (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

To reliably print data including a calculation result data upon issue of print command in a calculation apparatus with print function.SOLUTION: When calculation data comprising numerical data and arithmetic data is input and subsequently stored in a calculation data memory and printing of the calculation data is instructed by pressing a [REPRINT] key, it is determined whether or not the sum of calculation data stored in the calculation data memory and including a total function (result output function) data "*" at the end of the calculation data has already been fixed. If it is determined that the calculation data does not have the total function (result output function) data "*" at its end and the total of the calculation data has not been fixed, then the total function (result output function) data "*" is added to the end of the calculation data and the total calculation data stored in a total calculation memory is added, thereby the calculation data including the total calculation data being printed on a printing paper P.SELECTED DRAWING: Figure 9

Description

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

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

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

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

印刷機能を有する電子計算機は、例えば商店において、顧客が購入した各商品の価格とその合計の金額とを印刷し、印刷した記録紙を顧客や商店の控えとするのに利用される。 A computer having a printing function is used, for example, in a store to print the price of each product purchased by a customer and the total price thereof, and to use the printed recording paper as a copy of the customer or the store.

このような従来の電子計算機において、例えば複数の数値データと加減乗除の演算データからなる計算データを入力した後に、合計を確定(表示/印刷指示)する操作を行なわずに、印刷の指示を行なうと、前記計算データが印刷されてもその合計が印刷されないので無駄な印刷になってしまう。 In such a conventional computer, for example, after inputting calculation data consisting of a plurality of numerical data and calculation data of addition, subtraction, multiplication and division, a printing instruction is given without performing an operation of confirming the total (display / printing instruction). Then, even if the calculation data is printed, the total is not printed, resulting in useless printing.

特に、加算方式の電子計算機では、例えば「10[+]20[+]…」と一連の計算データを入力して行くと、[+]の入力毎に、そこまでの計算データの合計が「10」「30」…と表示される。このためユーザは、合計を確定(表示/印刷指示)する操作(合計機能キー[*]の操作)を未だ行っていないにもかかわらず、前記合計「30」が表示されたのを見て印刷の指示を行なってしまうことがあり、ここでの印刷の指示により記録紙に印刷されるのは前記計算データ「10+20+」のみであり、計算結果データ(合計「30」)は印刷されず無駄な印刷になる。 In particular, in an addition type computer, for example, when a series of calculation data such as "10 [+] 20 [+] ..." is input, the total of the calculation data up to that point is "" for each input of [+]. 10 ”,“ 30 ”… are displayed. Therefore, even though the user has not yet performed the operation of confirming the total (display / print instruction) (operation of the total function key [*]), the user prints after seeing that the total "30" is displayed. Only the calculation data "10 + 20+" is printed on the recording paper according to the printing instruction here, and the calculation result data (total "30") is not printed and is useless. It will be printed.

本発明は、このような課題に鑑みなされたもので、印刷の指示が行われた際に、確実に計算結果データも含めたデータを印刷することが可能になる計算装置、計算印刷方法、及びその制御プログラムを提供することを目的とする。 The present invention has been made in view of such a problem, and a calculation device, a calculation printing method, and a calculation printing method capable of reliably printing data including calculation result data when a printing instruction is given. The purpose is to provide the control program.

本発明に係る計算装置は、ユーザ操作に応じて入力された数値データと、ユーザ操作に応じて入力された演算子と、を計算データとして受け付ける計算データ受付手段と、前記計算データ受付手段により受け付けられた計算データを計算した結果である計算結果データを出力するための結果出力機能のユーザ操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて結果出力機能を保存する結果出力機能保存手段と、ユーザ操作に応じた印刷の操作を受け付ける印刷操作受付手段と、前記印刷操作受付手段により印刷の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されている場合は、前記計算結果データを含む計算印刷データを印刷させ、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されてない場合にも、前記計算結果データを含む計算印刷データを印刷させる保存データ印刷制御手段と、を備えている。 The computing device according to the present invention accepts numerical data input according to a user operation and an operator input according to a user operation as calculation data by a calculation data receiving means and the calculation data receiving means. When the user operation of the result output function for outputting the calculation result data which is the result of calculating the calculated calculation data is accepted, the result output function is saved in association with the calculation data accepted by the calculation data receiving means. When the result output function saving means, the print operation receiving means that accepts the printing operation according to the user operation, and the printing operation receiving means receive the printing operation, the calculation data received by the calculation data receiving means is supported. When the result output function is saved, the calculation print data including the calculation result data is printed, and the result output function is saved in association with the calculation data received by the calculation data receiving means. It is provided with a stored data print control means for printing the calculation print data including the calculation result data even when there is no such data.

本発明によれば、印刷の指示が行われた際に、確実に計算結果データも含めたデータを印刷することが可能になる。 According to the present invention, it is possible to reliably print data including calculation result data when a printing instruction is given.

本発明の計算装置の実施形態に係るプリンタ付き電卓10の外観構成を示す正面図。The front view which shows the appearance structure of the calculator 10 with a printer which concerns on embodiment of the arithmetic unit of this invention. 前記プリンタ付き電卓10の電子回路の構成を示すブロック図。The block diagram which shows the structure of the electronic circuit of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データメモリ22cに保存された計算データの具体例を示す図。The figure which shows the specific example of the calculation data stored in the calculation data memory 22c of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その1)を示すフローチャート。The flowchart which shows the calculation data printing process (the 1) of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その2)を示すフローチャート。The flowchart which shows the calculation data printing process (the 2) of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その2)における合計機能キー[*]処理を示すフローチャート。The flowchart which shows the total function key [*] processing in the calculation data printing process (the 2) of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その2)における総合計機能キー[G*]処理を示すフローチャート。The flowchart which shows the total total function key [G *] processing in the calculation data printing process (the 2) of the calculator 10 with a printer. 前記プリンタ付き電卓10の計算データ印刷処理(その2)における合計/総合計追加印刷処理を示すフローチャート。The flowchart which shows the total / total total additional printing process in the calculation data printing process (the 2) of the calculator 10 with a printer. 前記計算データ印刷処理の第1実施形態のユーザ操作に応じた表示・印刷動作を示す図。The figure which shows the display / print operation according to the user operation of 1st Embodiment of the said calculation data printing process. 前記計算データ印刷処理の第2実施形態のユーザ操作に応じた表示・印刷動作を示す図。The figure which shows the display / print operation according to the user operation of the 2nd Embodiment of the said calculation data printing process. 前記計算データ印刷処理の第3実施形態のユーザ操作に応じた表示・印刷動作を示す図。The figure which shows the display / print operation according to the user operation of the 3rd Embodiment of the said calculation data printing process.

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

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

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

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

本実施形態におけるプリンタ付き電卓10には、加減乗除等の通常の計算機能、表示機能、印刷機能の他、ユーザ操作に応じて入力された数値データと、「+」「−」「×」「÷」「=」の演算データと、合計(計算結果)データの計算結果を確定(表示/印刷指示)する合計機能(結果出力機能)「*」と、総合計の計算を確定(表示/印刷指示)する総合計機能「G*」との組み合わせからなる一連の計算データを保存する計算データ保存機能、この計算データ保存機能により保存された計算データを印刷する保存データ印刷機能等が備えられる。より詳細には、ユーザ操作に応じて入力された数値データと、ユーザ操作に応じて入力された合計メモリ22への加算機能データ「+」「−」「=」又は他の演算機能データ[×][÷]とを、計算データとして後述の計算データメモリ22cに保存していき、ユーザ操作に応じた合計機能(結果出力機能)「*」のキー操作を受け付けると、合計機能(結果出力機能)「*」データが、計算データメモリ22cに保存された計算データに対応付けて保存される。また、ユーザ操作に応じた総合計機能「G*」のキー操作を受け付けると、総合計機能「G*」データが、計算データメモリ22cに保存された計算データに対応付けて保存される。そして、保存データ印刷機能により計算データメモリ22cに保存された計算データが印刷され、さらに、計算データに対応付けて保存された合計機能(結果出力機能)「*」に対応付けられた計算データが合計された合計(計算結果)データが印刷され、合計機能(結果出力機能)「*」に応じて対応づけられた計算データ中の合計(計算結果)データを総合計した総合計データが印刷される。 The calculator 10 with a printer in the present embodiment has a normal calculation function such as addition, subtraction, multiplication and division, a display function, a printing function, numerical data input according to a user operation, and "+", "-", "x", and "x". ÷ ”“ = ”calculation data and total (calculation result) data calculation result is confirmed (display / print instruction) Total function (result output function)“ * ”and total total calculation is confirmed (display / print) It is provided with a calculation data storage function for storing a series of calculation data in combination with the total total function "G *" to be instructed, a storage data printing function for printing the calculation data saved by this calculation data storage function, and the like. More specifically, the numerical data input according to the user operation and the addition function data "+" "-" "=" or other arithmetic function data [x] to the total memory 22 input according to the user operation. ] [÷] Is saved as calculation data in the calculation data memory 22c described later, and when the total function (result output function) "*" key operation according to the user operation is accepted, the total function (result output function) ) "*" Data is saved in association with the calculated data saved in the calculated data memory 22c. Further, when the key operation of the total total function "G *" corresponding to the user operation is accepted, the total total function "G *" data is saved in association with the calculation data saved in the calculation data memory 22c. Then, the calculated data saved in the calculated data memory 22c is printed by the saved data printing function, and further, the calculated data associated with the total function (result output function) "*" saved in association with the calculated data is displayed. The totaled total (calculation result) data is printed, and the total total data that totals the total (calculation result) data in the calculated data associated with the total function (result output function) "*" is printed. NS.

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

前記キー入力部11には、数値キー、演算キー、合計機能(結果出力機能)キー、総合計機能キー、印刷機能キー、その他の機能キーが設けられる。 The key input unit 11 is provided with a numerical key, a calculation key, a total function (result output function) key, a total total function key, a print function key, and other function keys.

前記数値キーは、例えば[00][0]〜[9]のそれぞれに対応する複数のキーを含む。前記演算キーは、例えば[+](加算)キー、[−](減算)キー、[×](乗算)キー、[÷](除算)キー、[=](イコール)キーのそれぞれに対応する複数のキーを含む。なお、本プリンタ付き電卓10(加算機方式電卓)では、数値データを入力して[+](加算)キーを操作する毎に、後述の合計メモリに数値データを加算して加算結果を表示し、数値データと[+]を印刷する。そして合計機能(結果出力機能)キー「*」を押すと、表示されている合計メモリの数値データを合計(計算結果)データとして印刷する。なお、数値データを入力して[−](減算)キーを操作すると、後述の合計メモリに数値データを減算して減算結果を表示し、数値データと[−]を印刷する。被演算数の数値データを入力後に[×](乗算)キー又は[÷](除算)キーを押すと、被演算数の数値データと[×]又は[÷]を印刷し、その後、演算数の数値データを入力後に[=]を押すと、数値データと[=]を印刷して、乗除算の結果を印刷して、その乗除算の結果を合計メモリの数値データに加算する(この場合加算結果は表示しない)。このように[−](減算)キーや[=]キーにも、合計メモリへの加減算を行うので、[+](加算)キーと同様に[−](減算)キーや[=]も加算機能キーに含めることができる。 The numerical key includes, for example, a plurality of keys corresponding to each of [00] [0] to [9]. The calculation keys correspond to, for example, [+] (addition) key, [-] (subtraction) key, [x] (multiplication) key, [÷] (division) key, and [=] (equal) key. Contains multiple keys. In the calculator 10 with this printer (adding machine type calculator), each time a numerical data is input and the [+] (addition) key is operated, the numerical data is added to the total memory described later and the addition result is displayed. , Print numerical data and [+]. Then, when the total function (result output function) key "*" is pressed, the displayed numerical data of the total memory is printed as total (calculation result) data. When the numerical data is input and the [-] (subtraction) key is operated, the numerical data is subtracted from the total memory described later, the subtraction result is displayed, and the numerical data and [-] are printed. If you press the [x] (multiplication) key or [÷] (divide) key after inputting the numerical data of the number of operations to be calculated, the numerical data of the number of operations and [x] or [÷] will be printed, and then the number of operations If you press [=] after inputting the numerical data of, the numerical data and [=] will be printed, the result of multiplication and division will be printed, and the result of multiplication and division will be added to the numerical data of the total memory (in this case). The addition result is not displayed). In this way, the [-] (subtraction) key and [=] key are also added / subtracted to the total memory, so the [-] (subtraction) key and [=] are added in the same way as the [+] (addition) key. Can be included in the function key.

前記合計機能(結果出力機能)キーは、合計の計算を確定(表示/印刷指示)する[*](合計機能(結果出力機能))キー11c、総合計の計算を確定(表示/印刷指示)する[G*](総合計機能)キー11dを含む。 The total function (result output function) key confirms the total calculation (display / print instruction) [*] (total function (result output function)) key 11c, confirms the total calculation (display / print instruction). [G *] (total function) key 11d is included.

前記印刷機能キーは、電源(プリントモード)スイッチ11a、[REPRINT](保存データ印刷)キー11eを含む。前記電源(プリントモード)スイッチ11aは、電源OFF、電源ON(プリントモードOFF)、電源ON(プリントモードON)を切り替える切替位置を有する。 The print function key includes a power supply (print mode) switch 11a and a [REPRINT] (stored data print) key 11e. The power supply (print mode) switch 11a has a switching position for switching the power supply OFF, the power supply ON (print mode OFF), and the power supply ON (print mode ON).

その他の機能キーには、例えばクリアオールキー([CA]キー11b)、クリアキー([C]キー)などが含まれる。 Other function keys include, for example, a clear all key ([CA] key 11b), a clear key ([C] key), and the like.

前記表示部12は、セグメント型の蛍光管表示ユニット又はドットマトリクス型の液晶表示ユニットからなる。表示部12には、キー入力部11のキーに対する操作により入力された数値データや計算結果の数値データが表示される。また、表示部12の辺に沿って設けられた状態表示エリアには、設定中の動作モードや表示中の数値データの内容(合計“TOTAL”、総合計“GRAND TOTAL”)等、各種の状態を示す数字、文字、記号(シンボル)が表示される。 The display unit 12 includes a segment type fluorescent tube display unit or a dot matrix type liquid crystal display unit. The display unit 12 displays the numerical data input by the operation of the key of the key input unit 11 and the numerical data of the calculation result. Further, in the state display area provided along the side of the display unit 12, various states such as the operation mode being set and the content of the numerical data being displayed (total "TOTAL", total "GRAND TOTAL") are displayed. Numbers, letters, and symbols (symbols) are displayed.

前記印刷部13は、例えば熱転写式の印刷機構を備え、前記電源(プリントモード)スイッチ11aの操作に応じたプリントモードOFF/ONの設定状態と前記[REPRINT]キー11eの操作状態とに基づいて、入力された数値データと演算データからなる計算データ、前記計算データを計算した合計(計算結果)データや総合計データ等の計算結果データ等を記録紙Pに印刷して出力する。 The printing unit 13 is provided with, for example, a thermal transfer type printing mechanism, and is based on a print mode OFF / ON setting state corresponding to an operation of the power supply (print mode) switch 11a and an operation state of the [REPRINT] key 11e. , Calculation data consisting of input numerical data and calculation data, calculation result data such as total (calculation result) data obtained by calculating the calculation data, total total data, etc. are printed on recording paper P and output.

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

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

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

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

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

また、前記メモリ22には、PRINTモードメモリ22b、計算データメモリ22c、行番号メモリ22d、合計メモリ22e、総合計メモリ22fが確保される。 Further, in the memory 22, a PRINT mode memory 22b, a calculation data memory 22c, a line number memory 22d, a total memory 22e, and a total memory 22f are secured.

前記PRINTモードメモリ22bには、前記電源(プリントモード)スイッチ11aが[ON]の位置に切替えられた状態でプリントモードOFFの設定データが記憶され、[PRINT]の位置に切替えられた状態でプリントモードONの設定データが記憶される。なお、プリントモードONの状態では、計算データの入力・合計・総合計が確定(表示/印刷指示)する毎に印刷が行われる。 The PRINT mode memory 22b stores the print mode OFF setting data in a state where the power supply (print mode) switch 11a is switched to the [ON] position, and prints in a state where the power (print mode) switch 11a is switched to the [PRINT] position. The mode ON setting data is stored. In the state where the print mode is ON, printing is performed every time the calculation data is input, the total, and the total total are confirmed (display / print instruction).

前記計算データメモリ22cには、ユーザ操作に応じて入力された一連の計算データが受け付けられて、順次増加される行番号に対応付けられたメモリエリアに保存される。 The calculation data memory 22c receives a series of calculation data input according to the user operation, and stores the calculation data in the memory area associated with the line numbers that are sequentially increased.

図3は、前記プリンタ付き電卓10の計算データメモリ22cに保存された計算データの具体例を示す図である。図3(A1)(B1)は入力された計算データに対して[REPRINT]キー11eに従い合計機能(結果出力機能)[*]及びその合計(計算結果)データを自動追加した場合の具体例(第1実施形態)を示す図、図3(A2)(B2)は入力された計算データに対して[REPRINT]キー11eに従い総合計機能[G*]及びその総合計データを自動追加した場合の具体例(第2実施形態)を示す図、図3(A3)(B3)は入力された計算データに対して[REPRINT]キー11eに従い合計機能(結果出力機能)[*]及びその合計(計算結果)データと総合計機能[G*]及びその総合計データとを自動追加した場合の具体例(第3実施形態)を示す図である。 FIG. 3 is a diagram showing a specific example of the calculation data stored in the calculation data memory 22c of the calculator 10 with a printer. FIGS. 3 (A1) and 3 (B1) show a specific example (when the total function (result output function) [*] and the total (calculation result) data are automatically added to the input calculation data according to the [REPRINT] key 11e. 1), FIGS. 3 (A2) and 3 (B2) show the case where the total total function [G *] and the total total data are automatically added to the input calculation data according to the [REPRINT] key 11e. A diagram showing a specific example (second embodiment), FIGS. 3 (A3) and 3 (B3) show a total function (result output function) [*] and a total (calculation) thereof according to the [REPRINT] key 11e for the input calculation data. Result) It is a figure which shows the specific example (third embodiment) when the data and the total total function [G *] and the total total data are automatically added.

前記行番号メモリ22dには、前記数値データと演算データを含む一連の計算データを受け付けて保存する計算データ保存モード、前記[REPRINT]キー11eの操作に応じたリプリントモード(保存データ印刷モード)の各モードにおいて、前記計算データメモリ22cの処理対象とするメモリエリアの行番号のデータが記憶される。 The line number memory 22d has a calculation data storage mode for receiving and storing a series of calculation data including the numerical data and the calculation data, and a reprint mode (save data print mode) corresponding to the operation of the [REPRINT] key 11e. In each mode, the line number data of the memory area to be processed by the calculation data memory 22c is stored.

前記合計メモリ22eには、前記数値データと演算データ「+」「−」「×」「÷」「=」との組み合わせからなる計算データが入力された際に、前記演算データ「+」又は「−」又は「=」が入力される毎にその直前に入力された数値までの計算結果データを加算した合計(計算結果)データが記憶される。 When the calculation data consisting of the combination of the numerical data and the calculation data "+" "-" "x" "÷" "=" is input to the total memory 22e, the calculation data "+" or " Every time "-" or "=" is input, the total (calculation result) data obtained by adding the calculation result data up to the numerical value input immediately before is stored.

ここで、前記演算データ「+」「−」「=」については、その本来の演算機能以外に、前記合計メモリ22eに対しての計算結果データの加算指示データとしても機能するため、加算機能データとして定義する。 Here, since the calculation data "+", "-", and "=" also function as addition instruction data of the calculation result data for the total memory 22e in addition to the original calculation function, the addition function data. Defined as.

なお、前記合計メモリ22eに記憶された合計(計算結果)データは、電源ON時の初期設定処理の際、又は前記[CA](クリアオール)キー11bが操作された際、又は前記[*](合計機能(結果出力機能))キー11cが操作された後の最初の数値データが入力された際にクリアされる。 The total (calculation result) data stored in the total memory 22e is used during the initial setting process when the power is turned on, when the [CA] (clear all) key 11b is operated, or the [*]. (Total function (result output function)) Cleared when the first numerical data after the key 11c is operated is input.

前記総合計メモリ22fには、前記[*](合計機能(結果出力機能))キー11cの操作に従い合計機能(結果出力機能)「*」が入力される毎に前記合計メモリ22eに記憶されている合計(計算結果)データを加算した総合計データが記憶される。 The total memory 22f is stored in the total memory 22e every time the total function (result output function) "*" is input according to the operation of the [*] (total function (result output function)) key 11c. The total total data obtained by adding the total (calculation result) data is stored.

なお、前記総合計メモリ22fに記憶された総合計データは、電源ON時の初期設定処理の際、又は前記[CA](クリアオール)キー11bが操作された際にクリアされる。 The total data stored in the total memory 22f is cleared during the initial setting process when the power is turned on or when the [CA] (clear all) key 11b is operated.

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

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

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

図6は、前記プリンタ付き電卓10の計算データ印刷処理(その2)における合計機能キー[*]処理を示すフローチャートである。 FIG. 6 is a flowchart showing a total function key [*] process in the calculation data printing process (No. 2) of the calculator 10 with a printer.

図7は、前記プリンタ付き電卓10の計算データ印刷処理(その2)における総合計機能キー[G*]処理を示すフローチャートである。 FIG. 7 is a flowchart showing a total total function key [G *] process in the calculation data printing process (No. 2) of the calculator with a printer 10.

図8は、前記プリンタ付き電卓10の計算データ印刷処理(その2)における合計/総合計追加印刷処理を示すフローチャートである。 FIG. 8 is a flowchart showing a total / total additional print process in the calculation data print process (No. 2) of the calculator with a printer 10.

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

前記プリンタ付き電卓10において、ユーザ操作に応じて電源ON(ここでは、電源(プリントモード)スイッチ11aを[PRINT](プリントモードON)の位置に切替え)されると、CPU21により、この電源ONに応じた初期設定の処理として、前記PRINTモードメモリ22bにプリントモード(ON)の設定データが記憶され、動作モードが計算データ保存モードに設定され、前記行番号メモリ22dに行番号“0”のデータが記憶される(ステップS1)。 In the calculator with a printer 10, when the power is turned on (here, the power (print mode) switch 11a is switched to the [PRINT] (print mode ON) position) according to the user operation, the CPU 21 turns on the power. As the initial setting process according to the above, the print mode (ON) setting data is stored in the PRINT mode memory 22b, the operation mode is set to the calculation data storage mode, and the line number “0” data is stored in the line number memory 22d. Is stored (step S1).

前記プリントモード(ON)の状態で、前記電源(プリントモード)スイッチ11aが[ON](プリントモードOFF)の位置に切替えられると(ステップS2(Yes))、前記プリントモード(ON)の設定データがプリントモード(OFF)の設定データに切り替えられる(ステップS3)。 When the power supply (print mode) switch 11a is switched to the position of [ON] (print mode OFF) in the print mode (ON) state (step S2 (Yes)), the setting data of the print mode (ON) Is switched to the print mode (OFF) setting data (step S3).

このように前記プリンタ付き電卓10では、前記電源(プリントモード)スイッチ11aにより、プリントモード(ON)での動作状態とするか、プリントモード(OFF)での動作状態とするかを切り替えて設定することができる。 In this way, in the calculator 10 with a printer, the power supply (print mode) switch 11a switches between the operation state in the print mode (ON) and the operation state in the print mode (OFF). be able to.

そして、図9(A1)に示すように、[CA]キー11bが操作されると(ステップS4(Yes))、前記行番号のデータが改めて“0”にクリアされ、また、前記合計メモリ22eの合計(計算結果)データと総合計メモリ22fの総合計データも“0”にクリアされる(ステップS5)。 Then, as shown in FIG. 9 (A1), when the [CA] key 11b is operated (step S4 (Yes)), the data of the line number is cleared to "0" again, and the total memory 22e The total (calculation result) data and the total data of the total memory 22f are also cleared to “0” (step S5).

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

そして、図9(A2)に示すように、前記数値キーのユーザ操作に応じて、例えば商品価格である数値データ「50」が入力されると(ステップS8(Yes))、前記行番号のデータが(+1)されて“01”に更新され、前記入力された数値データ「50」が前記表示部12に表示される(ステップS9)。この際、前記行番号のデータが“0”であった場合には、前記計算データメモリ22cの内容をクリアしてから前記行番号が“01”に更新される。 Then, as shown in FIG. 9 (A2), when, for example, the numerical data "50" which is the product price is input according to the user operation of the numerical key (step S8 (Yes)), the data of the line number. Is (+1) and updated to "01", and the input numerical data "50" is displayed on the display unit 12 (step S9). At this time, if the line number data is "0", the line number is updated to "01" after the contents of the calculation data memory 22c are cleared.

ここで、[+](加算)キーが操作されると(ステップS10(Yes))、前記行番号メモリ22dに記憶されている現在の行番号“01”に対応した前記計算データメモリ22c(図3(A1)参照)のメモリエリアに、前記表示された数値データ「50」と前記[+](加算)キーにより入力された演算データ「+」からなる計算データが保存される(ステップS11)。 Here, when the [+] (addition) key is operated (step S10 (Yes)), the calculated data memory 22c corresponding to the current line number “01” stored in the line number memory 22d (FIG. In the memory area of 3 (A1)), the calculation data consisting of the displayed numerical data “50” and the calculation data “+” input by the [+] (addition) key is saved (step S11). ..

すると、前記計算データ「50+」に応じた計算が実行され、計算結果のデータ(ここでは“50”)が表示部12に表示される。また、前記入力された演算データ「+」(加算)に応じて前記入力された数値データ“50”が合計メモリ22eの合計(計算結果)データ(現在“0”)に加算され、合計(計算結果)データ“50”として記憶される(ステップS12)。 Then, the calculation according to the calculation data "50+" is executed, and the calculation result data (here, "50") is displayed on the display unit 12. Further, the input numerical data "50" is added to the total (calculation result) data (currently "0") of the total memory 22e according to the input calculation data "+" (addition), and the total (calculation) is added. Result) It is stored as data "50" (step S12).

そして、前記プリントモード(ON)の状態であると判断されると(ステップS13(Yes))、図9(B1)に示すように、前記計算データメモリ22cの現在の行番号“01”に対応して保存された数値データ“50”と演算データ「+」が、前記記録紙Pに対して印刷される(ステップS14)。 Then, when it is determined that the print mode (ON) is in the state (step S13 (Yes)), as shown in FIG. 9 (B1), it corresponds to the current line number “01” of the calculation data memory 22c. The numerical data “50” and the calculation data “+” saved in this manner are printed on the recording paper P (step S14).

この後、図9(A3)に示すように、次の商品価格である数値データ“48”が入力され[+]キーが操作されると、前記同様に、行番号メモリ22dに記憶されている行番号が(+1)されて“02”に更新され、前記入力された数値データ“48”と前記[+]キーに対応した演算データ「+」が、前記計算データメモリ22cの行番号“02”のメモリエリアに保存される(ステップS8〜S11)。 After that, as shown in FIG. 9 (A3), when the numerical data “48” which is the next product price is input and the [+] key is operated, it is stored in the line number memory 22d in the same manner as described above. The line number is (+1) and updated to "02", and the input numerical data "48" and the calculation data "+" corresponding to the [+] key are the line number "02" of the calculation data memory 22c. Is saved in the memory area of "(steps S8 to S11).

すると、前記計算データメモリ22cの計算データ「50+48+」に応じた計算が実行され、計算結果のデータ(ここでは“98”)が表示部12に表示される。また、前記入力された演算データ「+」(加算)に応じて前記入力された数値データ“48”が合計メモリ22eの合計(計算結果)データ(現在“50”)に加算され、合計(計算結果)データ“98”として記憶される(ステップS12)。 Then, the calculation according to the calculation data "50 + 48 +" of the calculation data memory 22c is executed, and the calculation result data (here, "98") is displayed on the display unit 12. Further, the input numerical data "48" is added to the total (calculation result) data (currently "50") of the total memory 22e according to the input calculation data "+" (addition), and the total (calculation) is added. Result) It is stored as data "98" (step S12).

そして、前記同様に、プリントモード(ON)の状態であると判断され(ステップS13(Yes))、図9(B1)に示すように、前記計算データメモリ22cの現在の行番号“02”に対応して保存された数値データ“48”と演算データ「+」が、前記記録紙Pに対して印刷される(ステップS14)。 Then, similarly to the above, it is determined that the print mode (ON) is in the state (step S13 (Yes)), and as shown in FIG. 9 (B1), the current line number “02” of the calculation data memory 22c is set. The correspondingly saved numerical data “48” and calculation data “+” are printed on the recording paper P (step S14).

さらに、図9(A4)に示すように、次の商品価格である数値データ“100”が入力され[+]キーが操作されると、前記同様に、行番号が(+1)されて“03”に更新され、前記入力された数値データ“100”と演算データ「+」が、前記計算データメモリ22cの行番号“03”のメモリエリアに保存される(ステップS8〜S11)。 Further, as shown in FIG. 9 (A4), when the numerical data “100” which is the next product price is input and the [+] key is operated, the line number is (+1) and “03” in the same manner as described above. The input numerical data "100" and the calculation data "+" are stored in the memory area of the line number "03" of the calculation data memory 22c (steps S8 to S11).

すると、前記計算データメモリ22cの計算データ「50+48+100+」に応じた計算が実行され、計算結果のデータ(ここでは“198”)が表示部12に表示される。また、前記入力された演算データ「+」(加算)に応じて前記入力された数値データ“100”が合計メモリ22eの合計(計算結果)データ(現在“98”)に加算され、合計(計算結果)データ“198”として記憶される(ステップS12)。 Then, the calculation according to the calculation data "50 + 48 + 100+" of the calculation data memory 22c is executed, and the calculation result data (here, "198") is displayed on the display unit 12. Further, the input numerical data "100" is added to the total (calculation result) data (currently "98") of the total memory 22e according to the input calculation data "+" (addition), and the total (calculation) is added. Result) It is stored as data "198" (step S12).

そして、前記同様に、プリントモード(ON)の状態であると判断され(ステップS13(Yes))、前記計算データメモリ22cの現在の行番号“03”に対応して保存された数値データ“100”と演算データ「+」が、前記記録紙Pに対して印刷される(ステップS14)。 Then, similarly to the above, it is determined that the print mode (ON) is in the state (step S13 (Yes)), and the numerical data “100” saved corresponding to the current line number “03” of the calculation data memory 22c. "And the calculation data" + "are printed on the recording paper P (step S14).

ここで、前記ユーザ操作に応じて入力された一連の計算データ「50+48+100+」を受け付けてその合計を確定(表示/印刷指示)(合計確定)させるために、図示はしないが、[*](合計機能(結果出力機能))キー11cが操作されると(ステップS15(Yes))、図6における合計機能(結果出力機能)キー[*]処理に移行される(ステップSA)。 Here, in order to accept a series of calculation data "50 + 48 + 100+" input in response to the user operation and confirm the total (display / print instruction) (total confirmation), although not shown, [*] (total). Function (result output function)) When the key 11c is operated (step S15 (Yes)), the process proceeds to the total function (result output function) key [*] process in FIG. 6 (step SA).

前記合計機能(結果出力機能)キー[*]処理では、先ず、前記行番号メモリ22dに記憶されている現在の行番号“03”が(+1)されて“04”に更新される。そして、前記計算データメモリ22cの前記更新された行番号”04”のメモリエリアに、前記[*](合計機能(結果出力機能))キー11cに対応した合計機能(結果出力機能)「*」と前記ステップS12に従い合計メモリ22eに記憶されている合計(計算結果)データ“198”とが保存される。また合計メモリ22eに記憶されている合計(計算結果)データ“198”を総合計メモリ22fに記憶されている総合計データに加算して総合計メモリ22fに保存(書き換えて保存)する(ステップA1)。 In the total function (result output function) key [*] process, first, the current line number "03" stored in the line number memory 22d is (+1) and updated to "04". Then, in the memory area of the updated line number "04" of the calculation data memory 22c, a total function (result output function) "*" corresponding to the [*] (total function (result output function)) key 11c is displayed. And the total (calculation result) data “198” stored in the total memory 22e according to step S12. Further, the total (calculation result) data "198" stored in the total memory 22e is added to the total data stored in the total memory 22f and saved (rewritten and saved) in the total memory 22f (step A1). ).

そして、前記合計メモリ22eの合計(計算結果)データ“198”が表示部12に表示され(ステップA2)、前記プリントモード(ON)である場合は(ステップA3(Yes))、前記計算データメモリ22eに保存された合計(計算結果)データ“198”と合計機能(結果出力機能)「*」が記録紙Pに印刷される(ステップA4)。 Then, the total (calculation result) data "198" of the total memory 22e is displayed on the display unit 12 (step A2), and when the print mode (ON) is set (step A3 (Yes)), the calculated data memory. The total (calculation result) data “198” and the total function (result output function) “*” stored in 22e are printed on the recording paper P (step A4).

一方、前記図9(A4)で示したように、今回の計算の最後の商品価格である数値データ“100”と演算データ「+」が入力されると、表示部12には、それまでのユーザ操作に応じて入力された一連の計算データ「50+48+100+」を受け付けてそれに応じた計算結果(合計)のデータ「198」が表示されている。このためユーザが、前記合計を確定(表示/印刷指示)(合計確定)させるための[*](合計機能(結果出力機能))キー11cの操作を忘れて、前記計算結果(合計)「198」も含めた印刷の控えを得るために、図9(A5)に示すように、[REPRINT](保存データ印刷)キー11eを操作すると(ステップS18(Yes))、図8における合計/総合計追加印刷処理へ移行される(ステップSE)。 On the other hand, as shown in FIG. 9 (A4), when the numerical data "100" and the calculation data "+", which are the final product prices of the current calculation, are input, the display unit 12 is displayed up to that point. A series of calculation data "50 + 48 + 100+" input according to the user operation is accepted, and the data "198" of the calculation result (total) corresponding to the series of calculation data "50 + 48 + 100+" is displayed. Therefore, the user forgets to operate the [*] (total function (result output function)) key 11c for confirming the total (display / print instruction) (total confirmation), and the calculation result (total) "198". When the [REPRINT] (save data print) key 11e is operated (step S18 (Yes)) as shown in FIG. 9 (A5) in order to obtain a copy of the print including "", the total / total in FIG. The process shifts to the additional printing process (step SE).

前記合計/総合計追加印刷処理では、先ず、前記計算データメモリ22c(図3(A1)参照)に保存(受付)されている一連の計算データ「50+48+100+」の末尾が合計機能(結果出力機能)[*]であるか否かが判断される(言い換えると合計機能(結果出力機能)[*]が一連の計算データに対応付けて保存されているか否かが判断される)(ステップE1)。 In the total / total additional print process, first, the end of a series of calculation data "50 + 48 + 100+" stored (accepted) in the calculation data memory 22c (see FIG. 3 (A1)) is the total function (result output function). It is determined whether or not it is [*] (in other words, it is determined whether or not the total function (result output function) [*] is saved in association with a series of calculation data) (step E1).

ここで、前記一連の計算データの末尾が合計機能(結果出力機能)[*]ではない(合計機能(結果出力機能)[*]が一連の計算データに対応付けて保存されていない)と判断されると(ステップE1(No))、前記一連の計算データの中に合計の確定(表示/印刷指示)(合計確定)が行われていない加算機能データ(「+」,「−」,「=」)があるか否かが判断される(ステップE2)。 Here, it is determined that the end of the series of calculation data is not the total function (result output function) [*] (the total function (result output function) [*] is not saved in association with the series of calculation data). Then (step E1 (No)), the addition function data ("+", "-", "-", in which the total is not confirmed (display / print instruction) (total confirmed) in the series of calculation data = ”) Is present or not (step E2).

そして、前記計算データメモリ22c(図3(A1)参照)に保存(受付)されている一連の計算データ「50+48+100+」の中の各演算データ「+」…の何れもが合計確定(表示/印刷指示)されていない加算機能データであると判断されると(ステップE2(Yes))、前記図6における合計機能(結果出力機能)キー[*]処理に移行され、合計の確定(表示/印刷指示)が行われる(ステップSA)。 Then, all of the calculation data "+" ... In the series of calculation data "50 + 48 + 100+" stored (accepted) in the calculation data memory 22c (see FIG. 3 (A1)) are totally confirmed (display / print). If it is determined that the addition function data has not been instructed (step E2 (Yes)), the process proceeds to the total function (result output function) key [*] process in FIG. 6, and the total is confirmed (display / print). Instruction) is performed (step SA).

すなわち、前記行番号メモリ22dに記憶されている現在の行番号“03”が(+1)されて“04”に更新され、図3(B1)に示すように、前記計算データメモリ22cの前記行番号”04”のメモリエリアに、前記合計機能(結果出力機能)「*」と前記合計メモリ22eに記憶されている合計(計算結果)データ“198”とが保存される(ステップA1)。 That is, the current line number "03" stored in the line number memory 22d is (+1) and updated to "04", and as shown in FIG. 3 (B1), the line in the calculated data memory 22c. The total function (result output function) "*" and the total (calculation result) data "198" stored in the total memory 22e are stored in the memory area of the number "04" (step A1).

そして、図9(A5)に示すように、前記合計メモリ22eの合計(計算結果)データ“198”が表示部12に表示され(ステップA2)、前記プリントモード(ON)である場合は(ステップA3(Yes))、図9(B2)に示すように、前記計算データメモリ22eに保存された合計(計算結果)データ“198”と合計機能(結果出力機能)「*」が記録紙Pに印刷される(ステップA4)。 Then, as shown in FIG. 9 (A5), the total (calculation result) data "198" of the total memory 22e is displayed on the display unit 12 (step A2), and when the print mode (ON) is set (step). A3 (Yes)), as shown in FIG. 9 (B2), the total (calculation result) data “198” and the total function (result output function) “*” stored in the calculation data memory 22e are printed on the recording paper P. It is printed (step A4).

この後、図8に示す合計/総合計追加印刷処理において、前記計算データメモリ22c(図3(B1)参照)に保存(受付)されている一連の計算データ「50+48+100+[*]198」の末尾が総合計機能(結果出力機能)[G*]であるか否か(言い換えると総合計機能(結果出力機能)[G*]が一連の計算データに対応付けて保存されているか)が判断され(ステップE3)、総合計機能[G*]ではない(総合計機能[G*]が一連の計算データに対応付けて保存されていない)と判断される(ステップE3(No))。 After that, in the total / total additional printing process shown in FIG. 8, the end of a series of calculation data "50 + 48 + 100 + [*] 198" stored (accepted) in the calculation data memory 22c (see FIG. 3 (B1)). Is determined whether or not is the total total function (result output function) [G *] (in other words, whether the total total function (result output function) [G *] is saved in association with a series of calculation data). (Step E3), it is determined that the total total function [G *] is not (the total total function [G *] is not saved in association with a series of calculation data) (step E3 (No)).

すると、前記一連の計算データ「50+48+100+[*]198」に複数の合計機能[*]が含まれるか否かが判断され(ステップE4)、複数の合計機能(結果出力機能)[*]が含まれないと判断される(ステップE4(No))。 Then, it is determined whether or not the series of calculation data "50 + 48 + 100 + [*] 198" includes a plurality of total functions [*] (step E4), and the plurality of total functions (result output function) [*] are included. It is determined that this is not possible (step E4 (No)).

すると、図5に示す計算データ印刷処理(その2)において、図9(B3)に示すように、前記[REPRINT]キー11eの操作に応じた一連の計算データの印刷であることを示す保存データ印刷開始マーク「・・・・0・・・・」が記録紙Pに印刷される(ステップS19)。 Then, in the calculation data printing process (No. 2) shown in FIG. 5, as shown in FIG. 9 (B3), saved data indicating that a series of calculation data is printed according to the operation of the [REPRINT] key 11e. The print start mark "... 0 ..." is printed on the recording paper P (step S19).

そして、前記計算データメモリ22c(図3(B1)参照)に保存(受付)されている一連の計算データが読み出され、図9(B3)に示すように、前記記録紙Pに「50+」「48+」「100+」「198*」として再印刷される(ステップS20)。 Then, a series of calculation data stored (accepted) in the calculation data memory 22c (see FIG. 3 (B1)) is read out, and as shown in FIG. 9 (B3), "50+" is printed on the recording paper P. It is reprinted as "48+", "100+", and "198 *" (step S20).

なお、前述の説明では、前記合計/総合計追加印刷処理(図8参照)での合計機能(結果出力機能)キー[*]処理(ステップEA(図6))が終了した際、つまり、プリントモード(ON)の判断に従い、図9(B2)で示したように、合計(計算結果)データ“198”と合計機能(結果出力機能)「*」が記録紙Pに印刷された際、引き続き前記計算データ印刷処理(その2)(図5参照)でのステップS19,S20の処理に従い、図9(B3)で示したように、前記保存データ印刷開始マーク「・・・・0・・・・」と前記一連の計算データ「50+48+100+[*]198」が順次連続して印刷される構成とした。 In the above description, when the total function (result output function) key [*] process (step EA (FIG. 6)) in the total / total additional print process (see FIG. 8) is completed, that is, printing. According to the judgment of the mode (ON), as shown in FIG. 9 (B2), when the total (calculation result) data "198" and the total function (result output function) "*" are printed on the recording paper P, the total (calculation result) data "198" is continuously printed. According to the processes of steps S19 and S20 in the calculated data printing process (No. 2) (see FIG. 5), as shown in FIG. 9 (B3), the saved data printing start mark "... 0 ... "And the series of calculation data" 50 + 48 + 100 + [*] 198 "are printed in sequence.

これに対し、前記合計/総合計追加印刷処理(図8参照)での合計機能(結果出力機能)キー[*]処理(ステップEA(図6))が終了した際に、プリントモード(ON)である場合(ステップS19a(Yes))、つまり前記図9(B1)(B2)で示したように、合計(計算結果)データ“198”と合計機能(結果出力機能)「*」を含む一連の計算データが記録紙Pに印刷された状態である場合には、前記ステップS19,S20による計算データの再印刷処理に直ぐに移行することなく、図9(A6)に示すように、前記記録紙Pの印刷済み部分のカット(切り離し)と前記[REPRINT]キー11eの再操作とをユーザに促す案内(“REPRINT”マークや“−P−”マークの点滅)を表示部12に表示させる(ステップS19b)。 On the other hand, when the total function (result output function) key [*] process (step EA (FIG. 6)) in the total / total additional print process (see FIG. 8) is completed, the print mode (ON) is set. (Step S19a (Yes)), that is, as shown in FIGS. 9 (B1) and 9 (B2), a series including the total (calculation result) data “198” and the total function (result output function) “*”. When the calculation data of the above is printed on the recording paper P, the recording paper is as shown in FIG. 9A6 without immediately shifting to the reprinting process of the calculation data in steps S19 and S20. A guide (“REPRINT” mark or “-P-” mark blinking) prompting the user to cut (separate) the printed portion of P and re-operate the [REPRINT] key 11e is displayed on the display unit 12 (step). S19b).

そして、前記プリントモード(ON)での計算データ印刷処理に従い前記記録紙Pに印刷された一連の計算データ「50+ 48+ 100+ 198*」の印刷済み部分を切り離した後に、図9(A7)に示すように、前記[REPRINT](保存データ印刷)キー11eを再操作する(またはいずれかのキーを操作する)ことで(ステップS19c)、前記図9(B3)で示したように、前記保存データ印刷開始マーク「・・・・0・・・・」と前記一連の計算データ「50+ 48+ 100+ 198*」を前記記録紙Pに印刷させる(ステップS19,S20)構成としてもよい。 Then, after cutting off the printed portion of the series of calculation data "50 + 48 + 100 + 198 *" printed on the recording paper P according to the calculation data printing process in the print mode (ON), it is shown in FIG. 9 (A7). As shown in FIG. 9 (B3), by re-operating (or operating any of the keys) the [REPRINT] key 11e (step S19c), the saved data The print start mark "... 0 ..." and the series of calculation data "50 + 48 + 100 + 198 *" may be printed on the recording paper P (steps S19 and S20).

これによれば、前記プリントモード(ON)の状態での計算データの入力に応じてその一連の計算データが順次印刷された記録紙Pの印刷済み部分を一旦切り離し、例えば顧客の控えとして顧客に渡した後に、前記一連の計算データを次の記録紙Pに再印刷して容易にユーザの控えとすることできる。 According to this, in response to the input of the calculation data in the print mode (ON) state, the printed portion of the recording paper P on which the series of calculation data is sequentially printed is temporarily separated, and for example, as a copy of the customer to the customer. After handing over, the series of calculation data can be reprinted on the next recording paper P and easily made a copy of the user.

したがって、前記構成のプリンタ付き電卓10の第1実施形態の計算データ印刷処理によれば、数値データと演算データからなる一連の計算データを入力し、入力される前記一連の計算データが順次計算データメモリ22cに保存される状態で、[REPRINT](保存データ印刷)キー11eにより前記一連の計算データの印刷が指示されると、前記計算データメモリ22cに保存されている計算データの末尾に合計機能(結果出力機能)「*」が含まれていてその保存されている計算データの合計の確定(表示/印刷指示)が行われているか否かが判断される。そして、前記保存されている計算データの末尾に合計機能(結果出力機能)「*」が含まれてなく、前記保存されている計算データの合計の確定(表示/印刷指示)が行われていないと判断された場合は、前記計算データの末尾に前記合計機能(結果出力機能)「*」と合計メモリ22eに記憶されている合計(計算結果)データが追加で保存され、前記合計(計算結果)データも含む前記一連の計算データが記録紙Pに印刷される。 Therefore, according to the calculation data printing process of the first embodiment of the printer-equipped calculator 10 having the above configuration, a series of calculation data including numerical data and calculation data is input, and the input series of calculation data is sequentially calculated data. When the printing of the series of calculation data is instructed by the [REPRINT] (save data print) key 11e in the state of being saved in the memory 22c, the total function is added to the end of the calculation data saved in the calculation data memory 22c. (Result output function) It is determined whether or not "*" is included and the total of the stored calculation data is confirmed (display / print instruction). Then, the total function (result output function) "*" is not included at the end of the saved calculation data, and the total of the saved calculation data is not confirmed (display / print instruction). If it is determined that, the total function (result output function) "*" and the total (calculation result) data stored in the total memory 22e are additionally saved at the end of the calculation data, and the total (calculation result) is additionally saved. ) The series of calculation data including the data is printed on the recording paper P.

これにより、ユーザが入力した一連の計算データの合計の確定(表示/印刷指示)をせずに、[REPRINT]キー11eを操作した場合でも、合計(計算結果)データを含む前記一連の計算データを記録紙Pに印刷させることでき、無駄な印刷になるのを未然に防止できる。 As a result, even if the [REPRINT] key 11e is operated without confirming the total of the series of calculation data input by the user (display / print instruction), the series of calculation data including the total (calculation result) data is included. Can be printed on the recording paper P, and wasteful printing can be prevented.

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

この第2実施形態では、例えば顧客が購入した複数の商品区分毎に合計の金額を確認した後に総合計の金額を確認するような場合について説明する。 In this second embodiment, for example, a case where the total amount of money is confirmed after confirming the total amount of money for each of a plurality of product categories purchased by the customer will be described.

先ず、前記第1実施形態と同様に、プリントモード(ON)の状態に設定されたプリンタ付き電卓10において、図10(A1)に示すように、[CA]キー11bを操作すると、図10(B1)に示すように、通常印刷開始マーク「・・0・・」が前記記録紙Pに対して印刷される(ステップS1〜S7)。 First, as shown in FIG. 10 (A1), when the [CA] key 11b is operated on the calculator 10 with a printer set to the print mode (ON) state as in the first embodiment, FIG. As shown in B1), the normal printing start mark "... 0 ..." is printed on the recording paper P (steps S1 to S7).

そして、図10(A2)〜(A4)に示すように、例えば第1の商品区分(食料品)に含まれる3つの商品価格について、数値キーと演算キーのユーザ操作によりその数値データと演算データからなる計算データ「50+」「48+」「100+」が入力されると、前記第1実施形態と同様に、前記行番号メモリ22cに記憶される行番号のデータが“01”→”02”→“03”と更新されながら、図3(A2)に示すように、前記入力された計算データ「50+」「48+」「100+」が前記計算データメモリ22cに順次保存される(ステップS8〜S11)。 Then, as shown in FIGS. 10 (A2) to 10 (A4), for example, the numerical data and the calculation data of the three product prices included in the first product category (food) are operated by the user of the numerical key and the calculation key. When the calculation data "50+", "48+", and "100+" including the above are input, the line number data stored in the line number memory 22c is changed from "01" to "02" → as in the first embodiment. As shown in FIG. 3 (A2), the input calculation data "50+", "48+", and "100+" are sequentially stored in the calculation data memory 22c while being updated to "03" (steps S8 to S11). ..

また、前記演算データ「+」(加算)が入力される毎に、入力された計算データ「50+」「48+」「100+」に応じた計算が実行され、計算結果のデータが“50”→“98”→“198”として表示部12に表示される。また、前記入力された演算データ「+」(加算)に応じて前記入力された数値データ“50”“48”“100”が合計メモリ22eの合計(計算結果)データに順次加算され、合計(計算結果)データ“50”→“98”→“198”となって記憶される(ステップS12)。 Further, every time the calculation data "+" (addition) is input, the calculation according to the input calculation data "50+", "48+", and "100+" is executed, and the calculation result data is changed from "50" to "". It is displayed on the display unit 12 as 98 ”→“ 198 ”. Further, the input numerical data "50", "48", and "100" are sequentially added to the total (calculation result) data of the total memory 22e according to the input calculation data "+" (addition), and the total (calculation result) is added. Calculation result) Data is stored as “50” → “98” → “198” (step S12).

そして、図10(B1)に示すように、前記計算データメモリ22cに順次保存される数値データと演算データからなる計算データ「50+」「48+」「100+」が、前記記録紙Pに対して順次印刷される(ステップS13,S14)。 Then, as shown in FIG. 10 (B1), the calculation data “50+”, “48+”, and “100+” composed of the numerical data and the calculation data sequentially stored in the calculation data memory 22c are sequentially stored with respect to the recording paper P. It is printed (steps S13, S14).

ここで、前記ユーザ操作に応じて入力された例えば第1の商品区分(食料品)に対応した一連の計算データ「50+48+100+」の合計を確定(表示/印刷指示)(合計確定)させるため、図10(A5)に示すように、[*](合計機能(結果出力機能))キー11cが操作されると(ステップS15(Yes))、前述したように、図6における合計機能(結果出力機能)キー[*]処理に移行される(ステップSA)。 Here, in order to confirm (display / print instruction) (total confirmation) of the total of a series of calculation data "50 + 48 + 100+" corresponding to, for example, the first product category (food) input according to the user operation, the figure is shown in the figure. As shown in 10 (A5), when the [*] (total function (result output function)) key 11c is operated (step S15 (Yes)), as described above, the total function (result output function) in FIG. ) Key [*] processing is performed (step SA).

すると、前記行番号メモリ22dに記憶されている現在の行番号“03”が“04”に更新され、前記計算データメモリ22cの前記更新された行番号”04”のメモリエリアに、前記[*](合計機能(結果出力機能))キー11cに対応した合計機能(結果出力機能)「*」と前記ステップS12に従い合計メモリ22eに記憶されている合計(計算結果)データ“198”とが保存される(ステップA1)。 Then, the current line number "03" stored in the line number memory 22d is updated to "04", and the [*] is added to the memory area of the updated line number "04" in the calculation data memory 22c. ] (Total function (result output function)) The total function (result output function) "*" corresponding to the key 11c and the total (calculation result) data "198" stored in the total memory 22e according to step S12 are saved. Is done (step A1).

そして、前記合計メモリ22eの合計(計算結果)データ“198”が表示部12に表示され(ステップA2)、前記計算データメモリ22eに保存された合計(計算結果)データ“198”と合計機能(結果出力機能)「*」が前記記録紙Pに印刷される(ステップA3,A4)。 Then, the total (calculation result) data "198" of the total memory 22e is displayed on the display unit 12 (step A2), and the total (calculation result) data "198" and the total function (step A2) stored in the calculation data memory 22e are displayed. Result output function) “*” is printed on the recording paper P (steps A3 and A4).

ここで、前記[*](合計機能(結果出力機能))キー11cが操作された際には、前記合計メモリ22eに記憶されている合計(計算結果)データ“198”が総合計メモリ22fに記憶されている総合計データ(現在“0”)に加算され、総合計データ“198”として記憶される。 Here, when the [*] (total function (result output function)) key 11c is operated, the total (calculation result) data "198" stored in the total memory 22e is stored in the total memory 22f. It is added to the stored total data (currently "0") and stored as total data "198".

続いて、図10(A6)〜(A8)に示すように、例えば第2の商品区分(雑貨)に含まれる4つの商品価格(4つのうち3つは同価格)について、数値キーと演算キーのユーザ操作によりその数値データと演算データからなる計算データ「50+」「25×」「3=」が入力されると、前記行番号メモリ22cに記憶される行番号のデータが“05”→”06”→“07”と更新されながら、図3(A2)に示すように、前記入力された計算データ「50+」「25×」「3=」が前記計算データメモリ22cに順次保存される(ステップS8〜S11)。 Subsequently, as shown in FIGS. 10 (A6) to 10 (A8), for example, for four product prices (three of the four are the same price) included in the second product category (miscellaneous goods), the numerical key and the calculation key are used. When the calculation data "50+", "25 ×", and "3 =" consisting of the numerical data and the calculation data are input by the user operation of, the line number data stored in the line number memory 22c is "05" → ". As shown in FIG. 3 (A2), the input calculation data "50+", "25 ×", and "3 =" are sequentially stored in the calculation data memory 22c while being updated from "06" to "07" (as shown in FIG. 3 (A2)). Steps S8 to S11).

前記演算データ「+」(加算)が入力された際には、入力された計算データ「50+」に応じた計算が実行され、計算結果のデータが“50”として表示部12に表示される。また、前記入力された演算データ「+」(加算)に応じて前記入力された数値データ“50”が合計メモリ22eの合計(計算結果)データに加算され、合計(計算結果)データ“50”として記憶される(ステップS12)。 When the calculation data "+" (addition) is input, the calculation according to the input calculation data "50+" is executed, and the calculation result data is displayed as "50" on the display unit 12. Further, the input numerical data "50" is added to the total (calculation result) data of the total memory 22e according to the input calculation data "+" (addition), and the total (calculation result) data "50" is added. Is stored as (step S12).

また、前記演算データ「×」(乗算)の後に演算データ「=」(イコール)が入力された際には、入力された乗算の計算データ「25×3=」に応じた計算が実行され、計算結果のデータ“75”が表示部12に表示される。また、前記入力された演算データ「=」(イコール)に応じて前記計算結果のデータ“75”が合計メモリ22eの合計(計算結果)データに加算され、合計(計算結果)データ“125”として記憶される(ステップS12)。 Further, when the calculation data "=" (equal) is input after the calculation data "x" (multiplication), the calculation according to the input calculation data "25 x 3 =" of the multiplication is executed. The calculation result data "75" is displayed on the display unit 12. Further, the calculation result data "75" is added to the total (calculation result) data of the total memory 22e according to the input calculation data "=" (equal), and is used as the total (calculation result) data "125". It is stored (step S12).

そして、図10(B1)に示すように、前記計算データメモリ22cに順次保存される数値データと演算データからなる計算データ「50+」「25×」「3=」と、そのうちの乗算の計算データ「25×3=」に応じた計算結果のデータ「75」が、前記記録紙Pに印刷済みの第1の商品区分の計算データとその合計(計算結果)データ“198”に続けて順次印刷される(ステップS13,S14)。 Then, as shown in FIG. 10 (B1), the calculation data "50+", "25 ×", "3 =" composed of the numerical data and the calculation data sequentially stored in the calculation data memory 22c, and the calculation data of the multiplication thereof. The calculation result data "75" corresponding to "25 x 3 =" is sequentially printed following the calculation data of the first product category printed on the recording paper P and the total (calculation result) data "198". (Steps S13 and S14).

ここで、前記第1の商品区分(食品)の場合と同様に、前記第2の商品区分(雑貨)に対応した一連の計算データ「50+25×3=」の合計を確定(表示/印刷指示)(合計確定)させるため、図10(A9)に示すように、[*](合計機能(結果出力機能))キー11cが操作されると(ステップS15(Yes))、図6における合計機能(結果出力機能)キー[*]処理に移行される(ステップSA)。 Here, as in the case of the first product category (food), the total of a series of calculation data "50 + 25 × 3 =" corresponding to the second product category (miscellaneous goods) is confirmed (display / print instruction). When the [*] (total function (result output function)) key 11c is operated (step S15 (Yes)) as shown in FIG. 10 (A9), the total function in FIG. Result output function) Shifts to key [*] processing (step SA).

すると、前記行番号メモリ22dに記憶されている現在の行番号“07”が“08”に更新され、前記計算データメモリ22cの前記更新された行番号”08”のメモリエリアに、前記[*](合計機能(結果出力機能))キー11cに対応した合計機能(結果出力機能)「*」と前記合計メモリ22eに記憶されている合計(計算結果)データ“125”とが保存される(ステップA1)。 Then, the current line number "07" stored in the line number memory 22d is updated to "08", and the [*] is added to the memory area of the updated line number "08" in the calculation data memory 22c. ] (Total function (result output function)) The total function (result output function) "*" corresponding to the key 11c and the total (calculation result) data "125" stored in the total memory 22e are saved ( Step A1).

そして、前記合計メモリ22eの合計(計算結果)データ“125”が表示部12に表示され(ステップA2)、前記計算データメモリ22eに保存された合計(計算結果)データ“125”と合計機能(結果出力機能)「*」が前記記録紙Pに印刷される(ステップA3,A4)。 Then, the total (calculation result) data "125" of the total memory 22e is displayed on the display unit 12 (step A2), and the total (calculation result) data "125" and the total function (step A2) stored in the calculation data memory 22e are displayed. Result output function) “*” is printed on the recording paper P (steps A3 and A4).

ここで、前記第2の商品区分(雑貨)の計算データについて前記[*](合計機能(結果出力機能))キー11cが操作された際には、前記合計メモリ22eに記憶されている合計(計算結果)データ“125”が前記総合計メモリ22fに記憶されている総合計データ(現在“198”)に加算され、総合計データ“323”となって記憶される。 Here, when the [*] (total function (result output function)) key 11c is operated for the calculation data of the second product category (miscellaneous goods), the total stored in the total memory 22e ( Calculation result) Data "125" is added to the total total data (currently "198") stored in the total total memory 22f, and is stored as total total data "323".

ここで、前記ユーザ操作に応じて入力された第1と第2の商品区分を含む一連の計算データ「50+48+100+」「*」「50+25×3=」「*」の総合計を確定(表示/印刷指示)(総合計確定)させるために、図示はしないが、[G*](総合計機能)キー11dが操作されると(ステップS16(Yes))、前記計算データメモリ22c(図3(A2)参照)に保存されている前記一連の計算データに基づいて、前記[CA]キー11bの操作後に[*](合計機能(結果出力機能))キー11cが操作された状態であるか否か、つまり総合計の対象になる合計(計算結果)データが存在するか否か判断される(ステップS17)。 Here, the total sum of a series of calculation data "50 + 48 + 100 +" "*" "50 + 25 × 3 =" "*" including the first and second product categories input according to the user operation is confirmed (display / print). Although not shown, when the [G *] (total total function) key 11d is operated (step S16 (Yes)), the calculation data memory 22c (FIG. 3 (A2)) is used to make the instruction) (total total finalization). ) Based on the series of calculation data stored in), whether or not the [*] (total function (result output function)) key 11c has been operated after the operation of the [CA] key 11b. That is, it is determined whether or not there is total (calculation result) data to be totaled (step S17).

そして、前記計算データメモリ22cに保存されている前記一連の計算データの中に、合計機能(結果出力機能)「*」が存在することで、前記[CA]キー11bの操作後に[*](合計機能(結果出力機能))キー11cが操作された状態であると判断されると(ステップS17(Yes))、図7における総合計機能キー[G*]処理に移行される(ステップSB)。 Then, since the total function (result output function) "*" exists in the series of calculation data stored in the calculation data memory 22c, [*] ( When it is determined that the total function (result output function)) key 11c is in the operated state (step S17 (Yes)), the process proceeds to the total function key [G *] processing in FIG. 7 (step SB). ..

前記総合計機能キー[G*]処理では、先ず、前記行番号メモリ22dに記憶されている現在の行番号“08”が(+1)されて“09”に更新される。そして、前記計算データメモリ22cの前記更新された行番号”09”のメモリエリアに、前記[G*](総合計機能)キー11dに対応した総合計機能「G*」と前記総合計メモリ22eに記憶されている総合計データ“323”とが保存される(ステップB1)。 In the total function key [G *] process, first, the current line number "08" stored in the line number memory 22d is (+1) and updated to "09". Then, in the memory area of the updated line number "09" of the calculation data memory 22c, the total total function "G *" corresponding to the [G *] (total total function) key 11d and the total total memory 22e The total data "323" stored in is saved (step B1).

そして、前記総合計メモリ22eの総合計データ“323”が表示部12に表示され(ステップB2)、前記計算データメモリ22eに保存された総合計データ“323”と総合計機能「G*」が記録紙Pに印刷される(ステップB3,B4)。 Then, the total total data "323" of the total total memory 22e is displayed on the display unit 12 (step B2), and the total total data "323" and the total total function "G *" stored in the calculation data memory 22e are displayed. It is printed on the recording paper P (steps B3 and B4).

一方、前記図10(A1)〜(A9)で示したように、前記第1の商品区分の合計と第2の商品区分の合計とを各々確定(表示/印刷指示)したまでの状態で、ユーザが、前記総合計を確定(表示/印刷指示)(総合計確定)させるための[G*](総合計機能)キー11dの操作を忘れて、前記総合計データ「323」も含めた印刷の控えを得るために、図10(A10)に示すように、[REPRINT](保存データ印刷)キー11eを操作すると(ステップS18(Yes))、図8における合計/総合計追加印刷処理へ移行される(ステップSE)。 On the other hand, as shown in FIGS. 10 (A1) to 10 (A9), the total of the first product category and the total of the second product category are confirmed (display / print instruction). The user forgets to operate the [G *] (total total function) key 11d for confirming (display / print instruction) (total total confirmation) of the total total, and prints including the total total data "323". When the [REPRINT] (save data print) key 11e is operated (step S18 (Yes)) as shown in FIG. 10 (A10) in order to obtain a copy of Is done (step SE).

前記合計/総合計追加印刷処理では、先ず、前記計算データメモリ22c(図3(A2)参照)に保存(受付)されている一連の計算データ「50+48+100+」「*」「50+25×3=」「*」の末尾が合計機能(結果出力機能)[*]である(合計機能(結果出力機能)[*]が一連の計算データに対応付けて保存されている)と判断され(ステップE1(Yes))、またその末尾が総合計機能[G*]であるか否か判断される(総合計機能[G*]が一連の計算データに対応付けて保存されているか否か判断される)(ステップE3)。 In the total / total additional print process, first, a series of calculation data "50 + 48 + 100 +" "*" "50 + 25 x 3 =" stored (accepted) in the calculation data memory 22c (see FIG. 3 (A2)) " It is determined that the end of "*" is the total function (result output function) [*] (the total function (result output function) [*] is saved in association with a series of calculation data) (step E1 (Yes). )), And it is determined whether or not the end is the total total function [G *] (whether or not the total total function [G *] is saved in association with a series of calculation data) ( Step E3).

そして、前記一連の計算データの末尾が総合計機能[G*]ではない(総合計機能[G*]が一連の計算データに対応付けて保存されていない)と判断されると(ステップE3(No))、前記計算データに複数の合計機能(結果出力機能)[*]が含まれるか否か判断される(ステップE4)。 Then, if it is determined that the end of the series of calculation data is not the total total function [G *] (the total total function [G *] is not saved in association with the series of calculation data) (step E3 (step E3). No)), it is determined whether or not the calculation data includes a plurality of total functions (result output functions) [*] (step E4).

ここで、前記一連の計算データ「50+48+100+」「*」「50+25×3=」「*」に複数(ここでは2つ)の合計機能(結果出力機能)[*]が含まれると判断されると(ステップE4(Yes))、前記図7における総合計機能キー[G*]処理に移行され、総合計の確定(表示/印刷指示)が行われる(ステップSB)。 Here, if it is determined that the series of calculation data "50 + 48 + 100 +" "*" "50 + 25 × 3 =" "*" includes a plurality of (two in this case) total function (result output function) [*]. (Step E4 (Yes)), the process shifts to the total total function key [G *] process in FIG. 7, and the total total is confirmed (display / print instruction) (step SB).

すなわち、前記行番号メモリ22dに記憶されている現在の行番号“08”が(+1)されて“09”に更新され、図3(B2)に示すように、前記計算データメモリ22cの前記行番号”09”のメモリエリアに、前記総合計機能「G*」と前記総合計メモリ22fに記憶されている総合計データ“323”とが保存される(ステップB1)。 That is, the current line number "08" stored in the line number memory 22d is (+1) and updated to "09", and as shown in FIG. 3 (B2), the line in the calculation data memory 22c. In the memory area of the number "09", the total total function "G *" and the total total data "323" stored in the total total memory 22f are stored (step B1).

そして、図10(A10)に示すように、前記総合計メモリ22fの総合計データ“323”が表示部12に表示され(ステップB2)、図10(B2)に示すように、前記計算データメモリ22eに保存された総合計データ“323”と総合計機能「G*」が記録紙Pに印刷される(ステップA4)。 Then, as shown in FIG. 10 (A10), the total total data “323” of the total total memory 22f is displayed on the display unit 12 (step B2), and as shown in FIG. 10 (B2), the calculation data memory. The total total data “323” and the total total function “G *” stored in 22e are printed on the recording paper P (step A4).

すると、図5に示す計算データ印刷処理(その2)において、図10(B3)に示すように、前記[REPRINT]キー11eの操作に応じた保存データ印刷開始マーク「・・・・0・・・・」が記録紙Pに印刷される(ステップS19)。 Then, in the calculated data printing process (No. 2) shown in FIG. 5, as shown in FIG. 10 (B3), the saved data printing start mark "... 0 ..." corresponding to the operation of the [REPRINT] key 11e is performed. ... ”Is printed on the recording paper P (step S19).

そして、前記計算データメモリ22c(図3(B2)参照)に保存(受付)されている一連の計算データが読み出され、図10(B3)に示すように、前記記録紙Pに「50+」「48+」「100+」「198*」「50+」「25×」「3=」「75」「125*」「323G*」として再印刷される(ステップS20)。 Then, a series of calculation data stored (accepted) in the calculation data memory 22c (see FIG. 3 (B2)) is read out, and as shown in FIG. 10 (B3), "50+" is printed on the recording paper P. It is reprinted as "48+", "100+", "198 *", "50+", "25x", "3 =", "75", "125 *", and "323G *" (step S20).

なお、この第2実施形態での再印刷の場合も前記第1実施形態での再印刷の場合と同様に、前記合計/総合計追加印刷処理(図8参照)での総合計機能キー[G*]処理(ステップEB(図7))が終了した際に、プリントモード(ON)である場合(ステップS19a(Yes))、つまり前記図10(B1)(B2)で示したように、総合計データ“323”と総合計機能「G*」を含む一連の計算データが記録紙Pに印刷された状態である場合には、前記ステップS19,S20による計算データの再印刷処理に直ぐに移行することなく、図10(A11)に示すように、前記記録紙Pの印刷済み部分のカット(切り離し)と前記[REPRINT]キー11eの再操作(又はいずれかのキー操作)とをユーザに促す案内(“REPRINT”マークや“−P−”マークの点滅)を表示部12に表示させる(ステップS19b)。 In the case of reprinting in the second embodiment as well as in the case of reprinting in the first embodiment, the total / total total function key [G] in the total / total total additional printing process (see FIG. 8). *] When the process (step EB (FIG. 7)) is completed and the print mode (ON) is set (step S19a (Yes)), that is, as shown in FIGS. 10 (B1) and 10 (B2). When a series of calculation data including the total data "323" and the total total function "G *" are printed on the recording paper P, the process immediately shifts to the reprinting process of the calculation data in steps S19 and S20. Instead, as shown in FIG. 10 (A11), a guide for prompting the user to cut (separate) the printed portion of the recording paper P and re-operate (or operate any of the keys) the [REPRINT] key 11e. (The blinking of the "REPRINT" mark and the "-P-" mark) is displayed on the display unit 12 (step S19b).

そして、前記プリントモード(ON)での計算データ印刷処理に従い前記記録紙Pに印刷された一連の計算データ「50+ 48+ … 198* 50+ 25× … 125* 323G*」の印刷済み部分を切り離した後に、図10(A12)に示すように、前記[REPRINT](保存データ印刷)キー11eを再操作(又はいずれかのキーを操作)することで、又は一定時間後に自動的に(ステップS19c)、前記図10(B3)で示したように、前記保存データ印刷開始マーク「・・・・0・・・・」と前記一連の計算データ「50+ 48+ … 198* 50+ 25× … 125* 323G*」を前記記録紙Pに印刷させる(ステップS19,S20)構成としてもよい。 Then, after cutting off the printed portion of the series of calculation data "50 + 48+ ... 198 * 50 + 25x ... 125 * 323G *" printed on the recording paper P according to the calculation data printing process in the print mode (ON). As shown in FIG. 10 (A12), the [REPRINT] (save data print) key 11e is re-operated (or any key is operated), or automatically after a certain period of time (step S19c). As shown in FIG. 10 (B3), the saved data print start mark "... 0 ..." and the series of calculation data "50 + 48 + ... 198 * 50 + 25 x ... 125 * 323G *" May be printed on the recording paper P (steps S19 and S20).

したがって、前記構成のプリンタ付き電卓10の第2実施形態の計算データ印刷処理によれば、数値データと演算データからなる一連の計算データを、複数に区分した計算データ毎に合計を確定(表示/印刷指示)しながら入力し、入力される前記一連の計算データが前記合計確定(表示/印刷指示)のために入力される合計機能(結果出力機能)[*]も含んで順次計算データメモリ22cに保存される状態で、[REPRINT](保存データ印刷)キー11eにより前記一連の計算データの印刷が指示されると、前記計算データメモリ22cに保存されている計算データに前記合計機能(結果出力機能)「*」が対応付けて保存されており、且つその計算データに複数の合計機能(結果出力機能)「*」が含まれているか否かが判断される。そして、前記保存されている計算データに前記合計機能(結果出力機能)「*」が対応付けて記憶されており且つその計算データに複数の合計機能(結果出力機能)「*」が含まれていると判断された場合は、前記計算データの末尾に前記総合計機能「G*」と総合計メモリ22fに記憶されている総合計データが追加で保存され、前記総合計データも含む前記一連の計算データが記録紙Pに印刷される。 Therefore, according to the calculation data printing process of the second embodiment of the printer-equipped calculator 10 having the above configuration, the total of a series of calculation data composed of numerical data and calculation data is determined (displayed / displayed / Input while inputting while performing the print instruction), and sequentially calculate data memory 22c including the total function (result output function) [*] in which the series of calculation data to be input is input for the total confirmation (display / print instruction). When the printing of the series of calculation data is instructed by the [REPRINT] (save data print) key 11e in the state of being saved in the calculation data memory 22c, the total function (result output) is added to the calculation data saved in the calculation data memory 22c. Function) It is determined whether or not "*" is stored in association with each other and the calculation data includes a plurality of total functions (result output function) "*". Then, the total function (result output function) "*" is stored in association with the stored calculation data, and the calculation data includes a plurality of total functions (result output function) "*". If it is determined that the calculation data is present, the total total function "G *" and the total total data stored in the total total memory 22f are additionally saved at the end of the calculation data, and the series including the total total data is also included. The calculation data is printed on the recording paper P.

これにより、ユーザが入力した一連の計算データの総合計の確定(表示/印刷指示)をせずに、[REPRINT]キー11eを操作した場合でも、総合計データを含む前記一連の計算データを記録紙Pに印刷させることでき、無駄な印刷になるのを未然に防止できる。 As a result, even if the [REPRINT] key 11e is operated without confirming the total sum (display / print instruction) of the series of calculation data input by the user, the series of calculation data including the total data is recorded. It can be printed on paper P, and wasteful printing can be prevented.

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

この第3実施形態では、前記第2実施形態と同様に、複数の商品区分毎に合計の金額を確定(表示/印刷指示)した後に総合計の金額を確定(表示/印刷指示)するような場合であって、計算データとして入力した最終の商品区分の合計の確定(表示/印刷指示)とその後の総合計の確定(表示/印刷指示)も忘れて前記[REPRINT](保存データ印刷)キー11eを操作した場合について説明する。 In the third embodiment, as in the second embodiment, the total amount of money is fixed (display / print instruction) for each of the plurality of product categories, and then the total amount is fixed (display / print instruction). In this case, forget to confirm the total of the final product categories (display / print instruction) and the subsequent total confirmation (display / print instruction) entered as calculation data, and use the [REPRINT] (save data print) key. The case where the 11e is operated will be described.

すなわち、図11(A1)〜(A4)に示すように、[CA]キー11bを操作し、第1の商品区分に対応する数値データと演算データからなる一連の計算データを、「50+」「48+」「100+」と入力すると、前記第2実施形態と同様に、その一連の計算データが順次計算データメモリ22c(図3(A3)参照)に保存される(ステップS4〜S11)。 That is, as shown in FIGS. 11 (A1) to 11 (A4), the [CA] key 11b is operated to generate a series of calculation data including numerical data and calculation data corresponding to the first product category by "50+" and "50+". When "48+" and "100+" are input, the series of calculation data is sequentially saved in the calculation data memory 22c (see FIG. 3A3) as in the second embodiment (steps S4 to S11).

また、前記一連の計算データのうち前記演算データ「+」(加算)が入力される毎に、その直前の数値データまでの合計が計算され、計算結果のデータが“50”→“98”→“198”と表示部12に表示され(ステップS12)、更に、図11(B1)に示すように、前記計算データメモリ22cに順次保存される数値データと演算データが、前記通常印刷開始マーク「・・0・・」に続けて「50+」「48+」「100+」と順次記録紙Pに印刷される(ステップS13,S14)。 Further, every time the calculation data "+" (addition) is input from the series of calculation data, the total up to the numerical data immediately before the calculation is calculated, and the calculation result data is "50" → "98" →. "198" is displayed on the display unit 12 (step S12), and as shown in FIG. 11 (B1), the numerical data and the calculation data sequentially stored in the calculation data memory 22c are the normal print start mark ". After "0 ...", "50+", "48+", and "100+" are sequentially printed on the recording paper P (steps S13 and S14).

ここで、前記第2実施形態と同様に、ユーザ操作に応じて入力された前記第1の商品区分に対応した一連の計算データ「50+48+100+」の合計を確定(表示/印刷指示)(合計確定)させるため、図11(A5)に示すように、[*](合計機能(結果出力機能))キー11cが操作されると(ステップS15(Yes))、前述したように、図6における合計機能(結果出力機能)キー[*]処理に移行される(ステップSA)。 Here, as in the second embodiment, the total of a series of calculation data "50 + 48 + 100+" corresponding to the first product category input according to the user operation is confirmed (display / print instruction) (total confirmation). When the [*] (total function (result output function)) key 11c is operated (step S15 (Yes)) as shown in FIG. 11 (A5), the total function in FIG. 6 is as described above. (Result output function) The process shifts to the key [*] process (step SA).

すると、前記行番号メモリ22dに記憶されている現在の行番号“03”が“04”に更新され、前記計算データメモリ22cの前記更新された行番号”04”のメモリエリアに、前記[*](合計機能(結果出力機能))キー11cに対応した合計機能(結果出力機能)「*」と前記ステップS12に従い合計メモリ22eに記憶されている合計(計算結果)データ“198”とが保存される(ステップA1)。 Then, the current line number "03" stored in the line number memory 22d is updated to "04", and the [*] is added to the memory area of the updated line number "04" in the calculation data memory 22c. ] (Total function (result output function)) The total function (result output function) "*" corresponding to the key 11c and the total (calculation result) data "198" stored in the total memory 22e according to step S12 are saved. Is done (step A1).

そして、前記合計メモリ22eの合計(計算結果)データ“198”が表示部12に表示され(ステップA2)、前記計算データメモリ22eに保存された合計(計算結果)データ“198”と合計機能(結果出力機能)「*」が前記記録紙Pに印刷される(ステップA3,A4)。 Then, the total (calculation result) data "198" of the total memory 22e is displayed on the display unit 12 (step A2), and the total (calculation result) data "198" and the total function (step A2) stored in the calculation data memory 22e are displayed. Result output function) "*" is printed on the recording paper P (steps A3 and A4).

ここで、前記[*](合計機能(結果出力機能))キー11cが操作された際には、前記合計メモリ22eに記憶されている合計(計算結果)データ“198”が総合計メモリ22fに記憶されている総合計データ(現在“0”)に加算され、総合計データ“198”として記憶される。 Here, when the [*] (total function (result output function)) key 11c is operated, the total (calculation result) data "198" stored in the total memory 22e is stored in the total memory 22f. It is added to the stored total data (currently "0") and stored as total data "198".

続いて、図11(A6)〜(A8)に示すように、例えば第2の商品区分に含まれる3つの商品価格について、数値キーと演算キーのユーザ操作によりその数値データと演算データからなる計算データ「30+」「25+」「70+」が入力されると、前記行番号メモリ22cに記憶される行番号のデータが“05”→”06”→“07”と更新されながら、図3(A3)に示すように、前記入力された計算データ「30+」「25+」「70+」が前記計算データメモリ22cに順次保存される(ステップS8〜S11)。 Subsequently, as shown in FIGS. 11 (A6) to 11 (A8), for example, for three product prices included in the second product category, a calculation consisting of the numerical data and the calculation data by user operation of the numerical key and the calculation key. When the data "30+", "25+", and "70+" are input, the line number data stored in the line number memory 22c is updated as "05" → "06" → "07", and FIG. 3 (A3). ), The input calculation data “30+”, “25+”, and “70+” are sequentially stored in the calculation data memory 22c (steps S8 to S11).

前記演算データ「+」(加算)が入力される毎に、入力された計算データ「30+」「25+」「70+」に応じた計算が実行され、計算結果のデータが“30”→“55”→“125”として表示部12に表示される。また、前記入力された演算データ「+」(加算)に応じて前記入力された数値データ“30”“25”“70”が合計メモリ22eの合計(計算結果)データに加算され、合計(計算結果)データ“125”として記憶される(ステップS12)。 Every time the calculation data "+" (addition) is input, the calculation according to the input calculation data "30+", "25+", and "70+" is executed, and the calculation result data is "30" → "55". → It is displayed on the display unit 12 as “125”. Further, the input numerical data "30", "25", and "70" are added to the total (calculation result) data of the total memory 22e according to the input calculation data "+" (addition), and the total (calculation) is added. Result) It is stored as data "125" (step S12).

そして、図11(B1)に示すように、前記計算データメモリ22cに順次保存される数値データと演算データからなる計算データ「30+」「25+」「70+」が、前記記録紙Pに印刷済みの第1の商品区分の計算データとその合計(計算結果)データ“198”に続けて順次印刷される(ステップS13,S14)。 Then, as shown in FIG. 11 (B1), the calculation data "30+", "25+", and "70+" composed of the numerical data and the calculation data sequentially stored in the calculation data memory 22c are printed on the recording paper P. The calculation data of the first product category and the total (calculation result) data "198" are sequentially printed (steps S13 and S14).

このように、前記図11(A1)〜(A8)で示したように、前記第1の商品区分の合計を確定(表示/印刷指示)した後に前記第2の商品区分の計算データを入力したもののその合計を確定(表示/印刷指示)していない状態で、ユーザが、前記合計を確定(表示/印刷指示)(合計確定)させるための[*](合計機能(結果出力機能))キー11cのみならず、総合計を確定(表示/印刷指示)(総合計確定)させるための[G*](総合計機能)キー11dの操作をも忘れて、総合計も含めた印刷の控えを得るために、図11(A9)に示すように、[REPRINT](保存データ印刷)キー11eを操作する(ステップS18(Yes))。すると、図8における合計/総合計追加印刷処理へ移行される(ステップSE)。 In this way, as shown in FIGS. 11 (A1) to 11 (A8), the calculation data of the second product category is input after the total of the first product category is confirmed (display / print instruction). [*] (Total function (result output function)) key for the user to confirm the total (display / print instruction) (total confirmation) without confirming the total (display / print instruction). Forget the operation of the [G *] (total total function) key 11d to confirm (display / print instruction) (total total confirmation) as well as 11c, and make a copy of printing including the total total. To obtain this, as shown in FIG. 11 (A9), the [REPRINT] (save data print) key 11e is operated (step S18 (Yes)). Then, the process shifts to the total / total additional printing process shown in FIG. 8 (step SE).

前記合計/総合計追加印刷処理では、先ず、前記計算データメモリ22c(図3(A3)参照)に保存(受付)されている一連の計算データ「50+48+…*198…25+70+」の末尾が合計機能(結果出力機能)[*]ではない(合計機能(結果出力機能)[*]が一連の計算データに対応付けて保存されていない)と判断され(ステップE1(No))、前記一連の計算データの中に合計の確定(表示/印刷指示)(合計確定)が行われていない加算機能データ(「+」,「−」,「=」)があるか否かが判断される(ステップE2)。 In the total / total additional print process, first, the end of a series of calculation data "50 + 48 + ... * 198 ... 25 + 70+" stored (accepted) in the calculation data memory 22c (see FIG. 3 (A3)) is the total function. (Result output function) It is determined that it is not [*] (the total function (result output function) [*] is not saved in association with a series of calculation data) (step E1 (No)), and the series of calculations is performed. It is determined whether or not there is addition function data (“+”, “-”, “=”) in which the total has not been confirmed (display / print instruction) (total confirmed) in the data (step E2). ).

そして、前記計算データメモリ22c(図3(A3)参照)に保存(受付)されている一連の計算データ「50+48+…[*]198…25+70+」の中で合計機能(結果出力機能)「*」以降の各演算データ「+」…の何れもが合計確定(表示/印刷指示)されていない加算機能データであると判断されると(ステップE2(Yes))、前記図6における合計機能(結果出力機能)キー[*]処理に移行され、前記同様に合計の確定(表示/印刷指示)が行われる(ステップSA)。 Then, in the series of calculation data "50 + 48 + ... [*] 198 ... 25 + 70+" stored (accepted) in the calculation data memory 22c (see FIG. 3 (A3)), the total function (result output function) "*" When it is determined that all of the subsequent calculation data "+" ... Are addition function data for which total confirmation (display / print instruction) has not been performed (step E2 (Yes)), the total function (result) in FIG. Output function) The process shifts to the key [*] process, and the total is confirmed (display / print instruction) in the same manner as described above (step SA).

すなわち、前記行番号メモリ22dに記憶されている現在の行番号“07”が(+1)されて“08”に更新され、図3(B3)に示すように、前記計算データメモリ22cの前記行番号”08”のメモリエリアに、前記合計機能(結果出力機能)「*」と前記合計メモリ22eに記憶されている合計(計算結果)データ“125”とが保存される(ステップA1)。 That is, the current line number "07" stored in the line number memory 22d is (+1) and updated to "08", and as shown in FIG. 3 (B3), the line in the calculated data memory 22c. The total function (result output function) "*" and the total (calculation result) data "125" stored in the total memory 22e are stored in the memory area of the number "08" (step A1).

そして、図11(A9)に示すように、前記合計メモリ22eの合計(計算結果)データ“125”が表示部12に表示され(ステップA2)、図11(B2)に示すように、前記計算データメモリ22eに保存された合計(計算結果)データ“125”と合計機能(結果出力機能)「*」が記録紙Pに印刷される(ステップA4)。 Then, as shown in FIG. 11 (A9), the total (calculation result) data “125” of the total memory 22e is displayed on the display unit 12 (step A2), and as shown in FIG. 11 (B2), the calculation is performed. The total (calculation result) data “125” and the total function (result output function) “*” stored in the data memory 22e are printed on the recording paper P (step A4).

ここで、前記第2の商品区分の計算データについて、前記計算データメモリ22cに前記合計機能(結果出力機能)「*」と合計(計算結果)データ“125”とが保存された際には、前記合計メモリ22eに記憶されている合計(計算結果)データ“125”が前記総合計メモリ22fに記憶されている総合計データ(現在“198”)に加算され、総合計データ“323”となって記憶される。 Here, regarding the calculation data of the second product category, when the total function (result output function) "*" and the total (calculation result) data "125" are stored in the calculation data memory 22c, The total (calculation result) data "125" stored in the total memory 22e is added to the total data (currently "198") stored in the total memory 22f to become the total data "323". Is remembered.

この後、図8に示す合計/総合計追加印刷処理において、前記計算データメモリ22c(図3(B3)参照)に保存(受付)されている一連の計算データ「50+48+…[*]198…25+70+[*]125」の末尾が総合計機能[G*]ではない(総合計機能[G*]が一連の計算データに対応付けて保存されていない)と判断され(ステップE3(No))、また、前記一連の計算データ「50+48+…[*]198…25+70+[*]125」に複数(ここでは2つ)の合計機能(結果出力機能)[*]が含まれると判断される(ステップE4(Yes))。 After that, in the total / total additional printing process shown in FIG. 8, a series of calculation data “50 + 48 +… [*] 198… 25 + 70+” stored (accepted) in the calculation data memory 22c (see FIG. 3 (B3)). It is determined that the end of "[*] 125" is not the total total function [G *] (the total total function [G *] is not saved in association with a series of calculation data) (step E3 (No)). Further, it is determined that the series of calculation data "50 + 48 + ... [*] 198 ... 25 + 70 + [*] 125" includes a plurality of (two in this case) total function (result output function) [*] (step E4). (Yes)).

すると、前記図7における総合計機能キー[G*]処理に移行され、総合計の確定(表示/印刷指示)が行われる(ステップSB)。 Then, the process shifts to the total total function key [G *] process in FIG. 7, and the total total is confirmed (display / print instruction) (step SB).

すなわち、前記第2実施形態と同様に、前記行番号メモリ22dに記憶されている現在の行番号“08”が(+1)されて“09”に更新され、図3(B3)に示すように、前記計算データメモリ22cの前記行番号”09”のメモリエリアに、前記総合計機能「G*」と前記総合計メモリ22fに記憶されている総合計データ“323”とが保存される(ステップB1)。 That is, similarly to the second embodiment, the current line number “08” stored in the line number memory 22d is (+1) and updated to “09”, as shown in FIG. 3 (B3). , The total total function "G *" and the total total data "323" stored in the total total memory 22f are stored in the memory area of the line number "09" of the calculation data memory 22c (step). B1).

そして、図11(A12)に示すように、前記総合計メモリ22fの総合計データ“323”が表示部12に表示され(ステップB2)、図11(B2)に示すように、前記計算データメモリ22eに保存された総合計データ“323”と総合計機能「G*」が記録紙Pに印刷される(ステップA4)。 Then, as shown in FIG. 11 (A12), the total total data “323” of the total total memory 22f is displayed on the display unit 12 (step B2), and as shown in FIG. 11 (B2), the calculation data memory. The total total data “323” and the total total function “G *” stored in 22e are printed on the recording paper P (step A4).

すると、図5に示す計算データ印刷処理(その2)において、図11(B3)に示すように、前記[REPRINT]キー11eの操作に応じた保存データ印刷開始マーク「・・・・0・・・・」が記録紙Pに印刷される(ステップS19)。 Then, in the calculated data printing process (No. 2) shown in FIG. 5, as shown in FIG. 11 (B3), the saved data printing start mark "... 0 ..." corresponding to the operation of the [REPRINT] key 11e is performed. ... ”Is printed on the recording paper P (step S19).

そして、前記計算データメモリ22c(図3(B3)参照)に保存(受付)されている一連の計算データが読み出され、図11(B3)に示すように、前記記録紙Pに「50+」「48+」…「198*」「30+」「25+」…「125*」「323G*」として再印刷される(ステップS20)。 Then, a series of calculation data stored (accepted) in the calculation data memory 22c (see FIG. 3 (B3)) is read out, and as shown in FIG. 11 (B3), "50+" is printed on the recording paper P. It is reprinted as "48+" ... "198 *" "30+" "25+" ... "125 *" "323G *" (step S20).

なお、この第3実施形態での再印刷の場合も前記第1,第2実施形態での再印刷の場合と同様に、前記合計/総合計追加印刷処理(図8参照)での総合計機能キー[G*]処理(ステップEB(図7))が終了した際に、プリントモード(ON)である場合(ステップS19a(Yes))、つまり前記図11(B1)(B2)で示したように、総合計データ“323”と総合計機能「G*」を含む一連の計算データが記録紙Pに印刷された状態である場合には、前記ステップS19,S20による計算データの再印刷処理に直ぐに移行することなく、図11(A11)に示すように、前記記録紙Pの印刷済み部分のカット(切り離し)と前記[REPRINT]キー11eの再操作とをユーザに促す案内(“REPRINT”マークや“−P−”マークの点滅)を表示部12に表示させる(ステップS19b)。 In the case of reprinting in the third embodiment as well as in the case of reprinting in the first and second embodiments, the total total function in the total / total total additional printing process (see FIG. 8). When the key [G *] process (step EB (FIG. 7)) is completed and the print mode (ON) is set (step S19a (Yes)), that is, as shown in FIGS. 11 (B1) and 11 (B2). In addition, when a series of calculation data including the total total data "323" and the total total function "G *" are printed on the recording paper P, the calculation data is reprinted in steps S19 and S20. As shown in FIG. 11 (A11), a guide (“REPRINT” mark) prompting the user to cut (separate) the printed portion of the recording paper P and to re-operate the [REPRINT] key 11e without immediately shifting. (Blinking of the “−P−” mark) is displayed on the display unit 12 (step S19b).

そして、前記プリントモード(ON)での計算データ印刷処理に従い前記記録紙Pに印刷された一連の計算データ「50+ 48+ … 198* 30+ 25+ … 125* 323G*」の印刷済み部分を切り離した後に、図11(A12)に示すように、前記[REPRINT](保存データ印刷)キー11eを再操作することで(又はいずれかのキーを操作することで)、又は一定時間後に自動的に(ステップS19c)、前記図11(B3)で示したように、前記保存データ印刷開始マーク「・・・・0・・・・」と前記一連の計算データ「50+ 48+ … 198* 30+ 25+ … 125* 323G*」を前記記録紙Pに印刷させる(ステップS19,S20)構成としてもよい。 Then, after cutting off the printed portion of the series of calculation data "50 + 48+ ... 198 * 30 + 25+ ... 125 * 323G *" printed on the recording paper P according to the calculation data printing process in the print mode (ON). As shown in FIG. 11 (A12), by re-operating the [REPRINT] (preserved data print) key 11e (or by operating any of the keys), or automatically after a certain period of time (step S19c). ), As shown in FIG. 11 (B3), the saved data print start mark "... 0 ..." and the series of calculation data "50 + 48 + ... 198 * 30 + 25+ ... 125 * 323G *". May be printed on the recording paper P (steps S19 and S20).

したがって、前記構成のプリンタ付き電卓10の第3実施形態の計算データ印刷処理によれば、数値データと演算データからなる一連の計算データを、複数に区分した計算データ毎に合計を確定(表示/印刷指示)しながら入力し、入力される前記計算データが前記合計確定(表示/印刷指示)のために入力される合計機能(結果出力機能)[*]も含んで順次計算データメモリ22cに保存される状態で、[REPRINT](保存データ印刷)キー11eにより前記計算データの印刷が指示される。すると、前記計算データメモリ22cに保存されている計算データに対応付けて前記合計機能(結果出力機能)「*」が記憶されており、且つその計算データに複数の合計機能(結果出力機能)「*」が含まれるか否か判断される。 Therefore, according to the calculation data printing process of the third embodiment of the printer-equipped calculator 10 having the above configuration, the total of a series of calculation data composed of numerical data and calculation data is determined (displayed / displayed / Input while inputting while (print instruction), and sequentially save the input calculation data in the calculation data memory 22c including the total function (result output function) [*] input for the total confirmation (display / print instruction). In this state, the [REPRINT] (stored data print) key 11e is instructed to print the calculated data. Then, the total function (result output function) "*" is stored in association with the calculation data stored in the calculation data memory 22c, and a plurality of total functions (result output function) "*" are stored in the calculation data. It is judged whether or not "*" is included.

そして先ず、前記保存されている計算データに前記合計機能(結果出力機能)「*」が対応付けて保存されていないと判断されると、前記計算データの末尾に前記合計機能(結果出力機能)「*」と合計メモリ22eに記憶されている合計(計算結果)データが追加で対応付けて保存される。すると、前記計算データメモリ22cに保存されている計算データの末尾が前記合計機能(結果出力機能)「*」(対応付けて保存)であって且つその計算データに複数の合計機能(結果出力機能)「*」が含まれていると判断されるので、前記計算データの末尾に総合計機能「G*」と総合計メモリ22fに記憶されている総合計データが追加で対応付けて保存され、前記総合計データも含む前記一連の計算データが記録紙Pに印刷される。 First, when it is determined that the total function (result output function) "*" is not saved in association with the saved calculation data, the total function (result output function) is added to the end of the calculation data. The “*” and the total (calculation result) data stored in the total memory 22e are additionally stored in association with each other. Then, the end of the calculation data stored in the calculation data memory 22c is the total function (result output function) "*" (saved in association with each other), and a plurality of total functions (result output function) are added to the calculation data. ) Since it is determined that "*" is included, the total total function "G *" and the total total data stored in the total total memory 22f are additionally saved in association with each other at the end of the calculation data. The series of calculation data including the total data is printed on the recording paper P.

これにより、ユーザが入力した複数の区分を含む一連の計算データの最終の区分の合計と総合計の確定(表示/印刷指示)をせずに、[REPRINT]キー11eを操作した場合でも、最終の合計(計算結果)データと総合計データを含む計算データを記録紙Pに印刷させることでき、無駄な印刷になるのを未然に防止できる。 As a result, even if the [REPRINT] key 11e is operated without confirming (display / print instruction) the total and total of the final divisions of the series of calculation data including the plurality of divisions input by the user, the final division is finalized. It is possible to print the calculation data including the total (calculation result) data and the total total data on the recording paper P, and it is possible to prevent unnecessary printing.

なお、前記各実施形態において記載したプリンタ付き電卓10による各処理の手法、すなわち、図4,図5のフローチャートに示す計算データ印刷処理、図6のフローチャートに示す前記計算データ印刷処理での合計機能(結果出力機能)[*]キー処理、図7のフローチャートに示す前記計算データ印刷処理での総合計機能[G*]キー処理、図8のフローチャートに示す前記計算データ印刷処理での合計/総合計追加印刷処理等の各手法は、何れもコンピュータに実行させることができるプログラムとして、メモリカード(ROMカード、RAMカード等)、磁気ディスク(フロッピ(登録商標)ディスク、ハードディスク等)、光ディスク(CD−ROM、DVD等)、半導体メモリ等の外部記録装置の媒体に格納して配布することができる。そして、印刷機能を備えた電子式計算機のコンピュータ(CPU)は、この外部記録装置の媒体に記録されたプログラムを記憶装置に読み込み、この読み込んだプログラムによって動作が制御されることにより、前記各実施形態において説明した計算データ印刷機能を実現し、前述した手法による同様の処理を実行することができる。 The method of each processing by the computer with a printer 10 described in each of the above embodiments, that is, the total function in the calculation data printing processing shown in the flowcharts of FIGS. 4 and 5, and the calculation data printing processing shown in the flowchart of FIG. (Result output function) [*] key processing, total / total in the calculated data printing process shown in the flowchart of FIG. 7 [G *] key processing, total / total in the calculated data printing process shown in the flowchart of FIG. Each method such as additional printing processing is a program that can be executed by a computer, such as a memory card (ROM card, RAM card, etc.), a magnetic disk (Floppi (registered trademark) disk, hard disk, etc.), an optical disk (CD). -ROM, DVD, etc.), can be stored and distributed in the medium of an external recording device such as a semiconductor memory. Then, the computer (CPU) of the electronic computer provided with the printing function reads the program recorded on the medium of the external recording device into the storage device, and the operation is controlled by the read program. 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 is transmitted from a computer device (program server) connected to the communication network (N). It is also possible to take the data of the program into an electronic computer having a printing function and store it in a storage device to realize the calculation data printing function described above.

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

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

[1]
ユーザ操作に応じて入力された数値データと、ユーザ操作に応じて入力された演算子と、を計算データとして受け付ける計算データ受付手段と、
前記計算データ受付手段により受け付けられた計算データを計算した結果である計算結果データを出力するための結果出力機能のユーザ操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて結果出力機能を保存する結果出力機能保存手段と、
ユーザ操作に応じた印刷の操作を受け付ける印刷操作受付手段と、
前記印刷操作受付手段により印刷の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されている場合は、前記計算結果データを含む計算印刷データを印刷させ、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されてない場合にも、前記計算結果データを含む計算印刷データを印刷させる保存データ印刷制御手段と、
を備えた計算装置。
[1]
A calculation data receiving means that accepts numerical data input according to a user operation and an operator input according to a user operation as calculation data.
When the user operation of the result output function for outputting the calculation result data which is the result of calculating the calculation data received by the calculation data receiving means is received, it is associated with the calculation data received by the calculation data receiving means. And save the result output function.
A printing operation receiving means that accepts printing operations according to user operations, and
When the print operation is accepted by the print operation receiving means, if the result output function is saved in association with the calculation data received by the calculation data receiving means, the calculated print data including the calculation result data is stored. With the saved data printing control means for printing the calculated print data including the calculated result data even when the result output function is not saved in association with the calculated data received by the calculated data receiving means. ,
A computing device equipped with.

[2]
前記保存データ印刷制御手段は、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されてない場合に、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能を追加保存した後に、前記追加保存された前記結果出力機能に基づいて計算結果データを含む計算印刷データを印刷させる、
[1]に記載の計算装置。
[2]
When the result output function is not saved in association with the calculation data received by the calculation data receiving means, the stored data print control means associates with the calculation data received by the calculation data receiving means. After the result output function is additionally saved, the calculation print data including the calculation result data is printed based on the additionally saved result output function.
The computing device according to [1].

[3]
ユーザ操作に応じた総合計機能の操作を受け付ける総合計機能受付手段と、
前記計算結果データを複数合計した総合計データを出力するための総合計機能の操作が受け付けられると、前記受け付けられた計算データに対応付けて総合計機能を保存する総合計機能保存手段とを備え、
前記保存データ印刷制御手段は、前記印刷操作受付手段により印刷の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて前記総合計機能が保存されている場合は、前記総合計データを含む計算印刷データを印刷させ、前記計算データ受付手段により受け付けられた計算データに対応付けて前記総合計機能が保存されてない場合にも、前記総合計データを含む計算印刷データを印刷させる、
[1]又は[2]に記載の計算装置。
[3]
A total function reception means that accepts operations of the total function according to user operations,
When the operation of the total total function for outputting the total total data obtained by totaling a plurality of the calculation result data is received, the total total function storage means for saving the total total function in association with the received calculation data is provided. ,
When the print operation is received by the print operation receiving means, the saved data print control means may save the total function in association with the calculation data received by the calculation data receiving means. Even when the calculation print data including the total total data is printed and the total total function is not saved in association with the calculation data received by the calculation data receiving means, the calculation print data including the total total data is printed. Print
The computing device according to [1] or [2].

[4]
前記総合計機能保存手段は、前記総合計機能受付手段により総合計機能の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて総合計機能を保存し、
前記保存データ印刷制御手段は、前記計算データ受付手段により受け付けられた計算データに対応付けて前記総合計機能が保存されてない場合に、前記計算データ受付手段により受け付けられた計算データに対応付けて前記総合計機能を追加保存した後に、前記追加保存された前記総合計機能に基づいて前記総合計データを含む計算印刷データを印刷させる、
[3]に記載の計算装置。
[4]
When the operation of the total total function is received by the total total function reception means, the total total function storage means saves the total total function in association with the calculation data received by the calculation data reception means.
The stored data print control means associates the calculated data received by the calculated data receiving means with the calculated data received by the calculated data receiving means when the total function is not stored in association with the calculated data received by the calculated data receiving means. After the total total function is additionally saved, the calculation print data including the total total data is printed based on the additionally saved total total function.
The computing device according to [3].

[5]
前記計算データ受付手段により計算データが受け付けられる毎に、前記受け付けられた計算データを印刷させる計算データ印刷制御手段と、
前記結果出力機能の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データを計算した結果である計算結果データを印刷させる計算結果データ印刷制御手段と、
を備え、
前記保存データ印刷制御手段は、前記結果出力機能のユーザ操作の受け付けに応じた前記結果出力機能が保存されてない場合に、前記追加保存された前記結果出力機能に基づく計算結果データを追加して印刷させる計算結果データ追加印刷制御手段を備える、
[2]又は[4]に記載の計算装置。
[5]
Each time the calculation data is received by the calculation data receiving means, the calculation data printing control means for printing the received calculation data and the calculation data printing control means.
When the operation of the result output function is accepted, the calculation result data print control means for printing the calculation result data which is the result of calculating the calculation data received by the calculation data receiving means, and the calculation result data printing control means.
With
The saved data print control means adds the calculation result data based on the additionally saved result output function when the result output function corresponding to the acceptance of the user operation of the result output function is not saved. Addition of calculation result data to be printed A print control means is provided.
The computing device according to [2] or [4].

[6]
前記保存データ印刷制御手段は、前記計算結果データ追加印刷制御手段により前記計算結果データを追加して印刷させた後に一時停止し、その後に前記追加保存された前記結果出力機能に基づく合計の計算結果データを含む計算印刷データを印刷させる一時停止手段を備える、
[5]に記載の計算装置。
[6]
The saved data print control means pauses after adding and printing the calculation result data by the calculation result data additional print control means, and then pauses, and then the total calculation result based on the additionally saved result output function. Provided with a pause means for printing calculated print data including data,
The computing device according to [5].

[7]
前記演算子は、加算、減算、計算実行の演算子を含む、
[1]乃至[6]の何れかに記載の計算装置。
[7]
The operators include addition, subtraction, and calculation execution operators.
The computing device according to any one of [1] to [6].

[8]
印刷機能を備えた計算装置の計算印刷方法であって、
ユーザ操作に応じて入力された数値データと、ユーザ操作に応じて入力された演算子と、を計算データとして受け付けること、
前記受け付けられた計算データを計算した結果である計算結果データを出力するための結果出力機能のユーザ操作が受け付けられると、前記受け付けられた計算データに対応付けて結果出力機能を保存すること、
ユーザ操作に応じた印刷の操作を受け付けること、
前記印刷の操作が受け付けられると、前記受け付けられた計算データに対応付けて前記結果出力機能が保存されている場合は、前記計算結果データを含む計算印刷データを印刷させ、前記受け付けられた計算データに対応付けて前記結果出力機能が保存されてない場合にも、前記計算結果データを含む計算印刷データを印刷させること、
からなる計算印刷方法。
[8]
It is a calculation printing method of a calculation device equipped with a printing function.
Accepting numerical data input according to user operation and operator input according to user operation as calculation data,
When the user operation of the result output function for outputting the calculation result data which is the result of calculating the accepted calculation data is accepted, the result output function is saved in association with the accepted calculation data.
Accepting print operations according to user operations,
When the print operation is accepted, if the result output function is saved in association with the accepted calculation data, the calculation print data including the calculation result data is printed, and the accepted calculation data is printed. Even when the result output function is not saved in association with, the calculation print data including the calculation result data is printed.
Calculation printing method consisting of.

[9]
印刷機能を備えた計算装置のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
ユーザ操作に応じて入力された数値データと、ユーザ操作に応じて入力された演算子と、を計算データとして受け付ける計算データ受付手段、
前記計算データ受付手段により受け付けられた計算データを計算した結果である計算結果データを出力するための結果出力機能のユーザ操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて結果出力機能を保存する結果出力機能保存手段、
ユーザ操作に応じた印刷の操作を受け付ける印刷操作受付手段、
前記印刷操作受付手段により印刷の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されている場合は、前記計算結果データを含む計算印刷データを印刷させ、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されてない場合にも、前記計算結果データを含む計算印刷データを印刷させる保存データ印刷制御手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
[9]
A program for controlling a computer of a computing device equipped with a printing function.
The computer
A calculation data receiving means that accepts numerical data input according to a user operation and an operator input according to a user operation as calculation data.
When the user operation of the result output function for outputting the calculation result data which is the result of calculating the calculation data received by the calculation data receiving means is received, it is associated with the calculation data received by the calculation data receiving means. Result output function saving means,
Printing operation receiving means that accepts printing operations according to user operations,
When the print operation is accepted by the print operation receiving means, if the result output function is saved in association with the calculation data received by the calculation data receiving means, the calculated print data including the calculation result data is stored. The saved data print control means, which prints the calculation print data including the calculation result data even when the result output function is not saved in association with the calculation data received by the calculation data receiving means.
A computer-readable program to function as.

10 …プリンタ付き電卓
11 …キー入力部
11a…電源(プリントモード)キー
11b…[CA](クリアオール)キー
11c…[*](合計機能)キー
11d…[G*](総合計機能)キー
11e…[REPRINT](保存データ印刷)キー
12 …表示部
13 …印刷部
P …記録紙
21 …CPU
22 …メモリ
22a…計算データ印刷処理プログラム
22b…PRINTモードメモリ
22c…計算データメモリ
22d…行番号メモリ
22e…合計メモリ
22f…総合計メモリ
23 …外部記録媒体
24 …記録媒体読取部
25 …通信部
30 …Webサーバ
N …通信ネットワーク
10 ... Calculator with printer 11 ... Key input unit 11a ... Power supply (print mode) key 11b ... [CA] (clear all) key 11c ... [*] (total function) key 11d ... [G *] (total function) key 11e ... [REPRINT] key 12 ... Display 13 ... Printing P ... Recording paper 21 ... CPU
22 ... Memory 22a ... Calculation data print processing program 22b ... PRINT mode memory 22c ... Calculation data memory 22d ... Line number memory 22e ... Total memory 22f ... Total memory 23 ... External recording medium 24 ... Recording medium reading unit 25 ... Communication unit 30 … Web server N… Communication network

本発明は、計算装置、印刷制御方法及びプログラムに関する。 The present invention relates to arithmetic units, print control methods and programs.

本発明は、このような課題に鑑みなされたもので、印刷の指示が行われた際に、確実に計算結果データも含めたデータを印刷することが可能になる計算装置、印刷制御方法及びプログラムを提供することを目的とする。 The present invention has been made in view of such a problem, and is a computing device, a print control method, and a program that can reliably print data including calculation result data when a printing instruction is given. The purpose is to provide.

本発明に係る計算装置は、入力された数値に対する演算種別を指定するための算術演算子を前記入力された数値の後に入力する後指定型で計算式を入力可能に構成されているとともに、前記後指定型での計算式の入力として数値の入力と算術演算子の入力とが順に繰り返される場合に、算術演算子が入力されたタイミングで当該算術演算子が入力された箇所までの計算式での計算結果が表示される計算装置であって、前記後指定型での計算式の入力において算術演算子の入力に引き続き所定の印刷操作がなされた場合に、前記印刷操作の直前に入力された算術演算子までの第1計算式によって計算された第1計算結果に続けて前記第1計算式が印刷されるように、且つ、前記第1計算式に続けて再度前記第1計算結果が印刷されるように、印刷制御する制御手段を備えたことを特徴とする。
また、本発明に係る印刷制御方法は、入力された数値に対する演算種別を指定するための算術演算子を前記入力された数値の後に入力する後指定型で計算式を入力可能に構成されているとともに、前記後指定型での計算式の入力として数値の入力と算術演算子の入力とが順に繰り返される場合に、算術演算子が入力されたタイミングで当該算術演算子が入力された箇所までの計算式での計算結果が表示される計算装置が実行する印刷制御方法であって、前記後指定型での計算式の入力において算術演算子の入力に引き続き所定の印刷操作がなされた場合に、前記印刷操作の直前に入力された算術演算子までの第1計算式によって計算された第1計算結果に続けて前記第1計算式が印刷されるように、且つ、前記第1計算式に続けて再度前記第1計算結果が印刷されるように、印刷制御する制御処理を含むことを特徴とする。
また、本発明に係るプログラムは、入力された数値に対する演算種別を指定するための算術演算子を前記入力された数値の後に入力する後指定型で計算式を入力可能に構成されているとともに、前記後指定型での計算式の入力として数値の入力と算術演算子の入力とが順に繰り返される場合に、算術演算子が入力されたタイミングで当該算術演算子が入力された箇所までの計算式での計算結果が表示される計算装置のコンピュータを、前記後指定型での計算式の入力において算術演算子の入力に引き続き所定の印刷操作がなされた場合に、前記印刷操作の直前に入力された算術演算子までの第1計算式によって計算された第1計算結果に続けて前記第1計算式が印刷されるように、且つ、前記第1計算式に続けて再度前記第1計算結果が印刷されるように、印刷制御する制御手段として機能させることを特徴とする。
The calculation device according to the present invention is configured so that a calculation formula can be input in a post-designation type in which an arithmetic operator for designating an operation type for an input numerical value is input after the input numerical value. When the input of a numerical value and the input of an arithmetic operator are repeated in order as the input of the calculation formula in the post-specified type, the calculation formula up to the place where the arithmetic operator is input at the timing when the arithmetic operator is input This is a calculation device that displays the calculation result of The first calculation result is printed so that the first calculation result calculated by the first calculation formula up to the arithmetic operator is printed, and the first calculation result is printed again following the first calculation formula. It is characterized in that it is provided with a control means for controlling printing so as to be performed.
Further, the print control method according to the present invention is configured so that an arithmetic operator for designating an operation type for an input numerical value can be input after the input numerical value, and then a calculation formula can be input in a designated type. At the same time, when the input of the numerical value and the input of the arithmetic operator are repeated in order as the input of the calculation formula in the post-specified type, the arithmetic operator is input at the timing when the arithmetic operator is input up to the place where the arithmetic operator is input. A print control method executed by a computing device that displays the calculation result of a calculation formula, and when a predetermined printing operation is performed following the input of an arithmetic operator in the input of the calculation formula of the post-designated type. The first calculation formula is printed following the first calculation result calculated by the first calculation formula up to the arithmetic operator input immediately before the printing operation, and the first calculation formula is continued. It is characterized by including a control process for controlling printing so that the first calculation result is printed again.
Further, the program according to the present invention is configured so that a calculation formula can be input in a post-designation type in which an arithmetic operator for specifying an operation type for an input numerical value is input after the input numerical value. When the input of a numerical value and the input of an arithmetic operator are repeated in order as the input of the calculation formula in the post-specified type, the calculation formula up to the place where the arithmetic operator is input at the timing when the arithmetic operator is input. When a predetermined print operation is performed following the input of the arithmetic operator in the input of the calculation formula in the post-designated type, the computer of the calculation device displaying the calculation result in is input immediately before the print operation. The first calculation result is printed following the first calculation result calculated by the first calculation formula up to the arithmetic operator, and the first calculation result is printed again following the first calculation formula. It is characterized in that it functions as a control means for controlling printing so that it can be printed.

Claims (9)

ユーザ操作に応じて入力された数値データと、ユーザ操作に応じて入力された演算子と、を計算データとして受け付ける計算データ受付手段と、
前記計算データ受付手段により受け付けられた計算データを計算した結果である計算結果データを出力するための結果出力機能のユーザ操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて結果出力機能を保存する結果出力機能保存手段と、
ユーザ操作に応じた印刷の操作を受け付ける印刷操作受付手段と、
前記印刷操作受付手段により印刷の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されている場合は、前記計算結果データを含む計算印刷データを印刷させ、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されてない場合にも、前記計算結果データを含む計算印刷データを印刷させる保存データ印刷制御手段と、
を備えた計算装置。
A calculation data receiving means that accepts numerical data input according to a user operation and an operator input according to a user operation as calculation data.
When the user operation of the result output function for outputting the calculation result data which is the result of calculating the calculation data received by the calculation data receiving means is received, it is associated with the calculation data received by the calculation data receiving means. And save the result output function.
A printing operation receiving means that accepts printing operations according to user operations, and
When the print operation is accepted by the print operation receiving means, if the result output function is saved in association with the calculation data received by the calculation data receiving means, the calculated print data including the calculation result data is stored. With the saved data printing control means for printing the calculated print data including the calculated result data even when the result output function is not saved in association with the calculated data received by the calculated data receiving means. ,
A computing device equipped with.
前記保存データ印刷制御手段は、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されてない場合に、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能を追加保存した後に、前記追加保存された前記結果出力機能に基づいて計算結果データを含む計算印刷データを印刷させる、
請求項1に記載の計算装置。
When the result output function is not saved in association with the calculation data received by the calculation data receiving means, the stored data print control means associates with the calculation data received by the calculation data receiving means. After the result output function is additionally saved, the calculation print data including the calculation result data is printed based on the additionally saved result output function.
The computing device according to claim 1.
ユーザ操作に応じた総合計機能の操作を受け付ける総合計機能受付手段と、
前記計算結果データを複数合計した総合計データを出力するための総合計機能の操作が受け付けられると、前記受け付けられた計算データに対応付けて総合計機能を保存する総合計機能保存手段とを備え、
前記保存データ印刷制御手段は、前記印刷操作受付手段により印刷の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて前記総合計機能が保存されている場合は、前記総合計データを含む計算印刷データを印刷させ、前記計算データ受付手段により受け付けられた計算データに対応付けて前記総合計機能が保存されてない場合にも、前記総合計データを含む計算印刷データを印刷させる、
請求項1又は請求項2に記載の計算装置。
A total function reception means that accepts operations of the total function according to user operations,
When the operation of the total total function for outputting the total total data obtained by totaling a plurality of the calculation result data is received, the total total function storage means for saving the total total function in association with the received calculation data is provided. ,
When the print operation is received by the print operation receiving means, the saved data print control means may save the total function in association with the calculation data received by the calculation data receiving means. Even when the calculation print data including the total total data is printed and the total total function is not saved in association with the calculation data received by the calculation data receiving means, the calculation print data including the total total data is printed. Print
The computing device according to claim 1 or 2.
前記総合計機能保存手段は、前記総合計機能受付手段により総合計機能の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて総合計機能を保存し、
前記保存データ印刷制御手段は、前記計算データ受付手段により受け付けられた計算データに対応付けて前記総合計機能が保存されてない場合に、前記計算データ受付手段により受け付けられた計算データに対応付けて前記総合計機能を追加保存した後に、前記追加保存された前記総合計機能に基づいて前記総合計データを含む計算印刷データを印刷させる、
請求項3に記載の計算装置。
When the operation of the total total function is received by the total total function reception means, the total total function storage means saves the total total function in association with the calculation data received by the calculation data reception means.
The stored data print control means associates the calculated data received by the calculated data receiving means with the calculated data received by the calculated data receiving means when the total function is not stored in association with the calculated data received by the calculated data receiving means. After the total total function is additionally saved, the calculation print data including the total total data is printed based on the additionally saved total total function.
The computing device according to claim 3.
前記計算データ受付手段により計算データが受け付けられる毎に、前記受け付けられた計算データを印刷させる計算データ印刷制御手段と、
前記結果出力機能の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データを計算した結果である計算結果データを印刷させる計算結果データ印刷制御手段と、
を備え、
前記保存データ印刷制御手段は、前記結果出力機能のユーザ操作の受け付けに応じた前記結果出力機能が保存されてない場合に、前記追加保存された前記結果出力機能に基づく計算結果データを追加して印刷させる計算結果データ追加印刷制御手段を備える、
請求項2又は請求項4に記載の計算装置。
Each time the calculation data is received by the calculation data receiving means, the calculation data printing control means for printing the received calculation data and the calculation data printing control means.
When the operation of the result output function is accepted, the calculation result data print control means for printing the calculation result data which is the result of calculating the calculation data received by the calculation data receiving means, and the calculation result data printing control means.
With
The saved data print control means adds the calculation result data based on the additionally saved result output function when the result output function corresponding to the acceptance of the user operation of the result output function is not saved. Addition of calculation result data to be printed A print control means is provided.
The computing device according to claim 2 or 4.
前記保存データ印刷制御手段は、前記計算結果データ追加印刷制御手段により前記計算結果データを追加して印刷させた後に一時停止し、その後に前記追加保存された前記結果出力機能に基づく合計の計算結果データを含む計算印刷データを印刷させる一時停止手段を備える、
請求項5に記載の計算装置。
The saved data print control means pauses after adding and printing the calculation result data by the calculation result data additional print control means, and then pauses, and then the total calculation result based on the additionally saved result output function. Provided with a pause means for printing calculated print data including data,
The computing device according to claim 5.
前記演算子は、加算、減算、計算実行の演算子を含む、
請求項1乃至請求項6の何れか1項に記載の計算装置。
The operators include addition, subtraction, and calculation execution operators.
The computing device according to any one of claims 1 to 6.
印刷機能を備えた計算装置の計算印刷方法であって、
ユーザ操作に応じて入力された数値データと、ユーザ操作に応じて入力された演算子と、を計算データとして受け付けること、
前記受け付けられた計算データを計算した結果である計算結果データを出力するための結果出力機能のユーザ操作が受け付けられると、前記受け付けられた計算データに対応付けて結果出力機能を保存すること、
ユーザ操作に応じた印刷の操作を受け付けること、
前記印刷の操作が受け付けられると、前記受け付けられた計算データに対応付けて前記結果出力機能が保存されている場合は、前記計算結果データを含む計算印刷データを印刷させ、前記受け付けられた計算データに対応付けて前記結果出力機能が保存されてない場合にも、前記計算結果データを含む計算印刷データを印刷させること、
からなる計算印刷方法。
It is a calculation printing method of a calculation device equipped with a printing function.
Accepting numerical data input according to user operation and operator input according to user operation as calculation data,
When the user operation of the result output function for outputting the calculation result data which is the result of calculating the accepted calculation data is accepted, the result output function is saved in association with the accepted calculation data.
Accepting print operations according to user operations,
When the print operation is accepted, if the result output function is saved in association with the accepted calculation data, the calculation print data including the calculation result data is printed, and the accepted calculation data is printed. Even when the result output function is not saved in association with, the calculation print data including the calculation result data is printed.
Calculation printing method consisting of.
印刷機能を備えた計算装置のコンピュータを制御するためのプログラムであって、
前記コンピュータを、
ユーザ操作に応じて入力された数値データと、ユーザ操作に応じて入力された演算子と、を計算データとして受け付ける計算データ受付手段、
前記計算データ受付手段により受け付けられた計算データを計算した結果である計算結果データを出力するための結果出力機能のユーザ操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて結果出力機能を保存する結果出力機能保存手段、
ユーザ操作に応じた印刷の操作を受け付ける印刷操作受付手段、
前記印刷操作受付手段により印刷の操作が受け付けられると、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されている場合は、前記計算結果データを含む計算印刷データを印刷させ、前記計算データ受付手段により受け付けられた計算データに対応付けて前記結果出力機能が保存されてない場合にも、前記計算結果データを含む計算印刷データを印刷させる保存データ印刷制御手段、
として機能させるためのコンピュータ読み込み可能なプログラム。
A program for controlling a computer of a computing device equipped with a printing function.
The computer
A calculation data receiving means that accepts numerical data input according to a user operation and an operator input according to a user operation as calculation data.
When the user operation of the result output function for outputting the calculation result data which is the result of calculating the calculation data received by the calculation data receiving means is received, it is associated with the calculation data received by the calculation data receiving means. Result output function saving means,
Printing operation receiving means that accepts printing operations according to user operations,
When the print operation is accepted by the print operation receiving means, if the result output function is saved in association with the calculation data received by the calculation data receiving means, the calculated print data including the calculation result data is stored. The saved data print control means, which prints the calculation print data including the calculation result data even when the result output function is not saved in association with the calculation data received by the calculation data receiving means.
A computer-readable program to function as.
JP2021116240A 2016-11-29 2021-07-14 Computing device, print control method and program Active JP7196958B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021116240A JP7196958B2 (en) 2016-11-29 2021-07-14 Computing device, print control method and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016231355A JP6915263B2 (en) 2016-11-29 2016-11-29 Arithmetic logic unit, calculation printing method, and program
JP2021116240A JP7196958B2 (en) 2016-11-29 2021-07-14 Computing device, print control method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016231355A Division JP6915263B2 (en) 2016-11-29 2016-11-29 Arithmetic logic unit, calculation printing method, and program

Publications (2)

Publication Number Publication Date
JP2021166097A true JP2021166097A (en) 2021-10-14
JP7196958B2 JP7196958B2 (en) 2022-12-27

Family

ID=62228619

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2016231355A Active JP6915263B2 (en) 2016-11-29 2016-11-29 Arithmetic logic unit, calculation printing method, and program
JP2021116240A Active JP7196958B2 (en) 2016-11-29 2021-07-14 Computing device, print control method and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2016231355A Active JP6915263B2 (en) 2016-11-29 2016-11-29 Arithmetic logic unit, calculation printing method, and program

Country Status (2)

Country Link
JP (2) JP6915263B2 (en)
CN (1) CN108121517B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5259538A (en) * 1975-11-11 1977-05-17 Tokyo Electric Co Ltd Electronic register
JPS55147750A (en) * 1979-05-08 1980-11-17 Casio Comput Co Ltd Printing system for electronic register
JPS63300384A (en) * 1987-05-30 1988-12-07 東芝テック株式会社 Electronic cash register
JPH05108574A (en) * 1991-10-11 1993-04-30 Canon Inc Desk-top calculator with printer
JPH0714074A (en) * 1993-06-28 1995-01-17 Tec Corp Article sale data processor
JPH08221660A (en) * 1995-02-10 1996-08-30 Nitsuko Corp Pos system
JPH08241285A (en) * 1995-03-03 1996-09-17 Casio Comput Co Ltd Electronic computer

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6384654U (en) * 1986-11-20 1988-06-03
JP4423325B2 (en) * 2007-12-18 2010-03-03 シャープ株式会社 Image forming apparatus and image forming method
JP2009282924A (en) * 2008-05-26 2009-12-03 Casio Electronics Co Ltd Printer
CN201212993Y (en) * 2008-05-27 2009-03-25 金宝电子工业股份有限公司 Multifunctional computer
JP5515759B2 (en) * 2010-01-18 2014-06-11 セイコーエプソン株式会社 Printer system control method, printer system, and printer
JP2013176916A (en) * 2012-02-28 2013-09-09 Sharp Corp Printer, printing method, program and recording medium of the same
JP6252530B2 (en) * 2015-03-23 2017-12-27 カシオ計算機株式会社 Printing apparatus, printing method, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5259538A (en) * 1975-11-11 1977-05-17 Tokyo Electric Co Ltd Electronic register
JPS55147750A (en) * 1979-05-08 1980-11-17 Casio Comput Co Ltd Printing system for electronic register
JPS63300384A (en) * 1987-05-30 1988-12-07 東芝テック株式会社 Electronic cash register
JPH05108574A (en) * 1991-10-11 1993-04-30 Canon Inc Desk-top calculator with printer
JPH0714074A (en) * 1993-06-28 1995-01-17 Tec Corp Article sale data processor
JPH08221660A (en) * 1995-02-10 1996-08-30 Nitsuko Corp Pos system
JPH08241285A (en) * 1995-03-03 1996-09-17 Casio Comput Co Ltd Electronic computer

Also Published As

Publication number Publication date
CN108121517A (en) 2018-06-05
JP6915263B2 (en) 2021-08-04
CN108121517B (en) 2021-01-26
JP2018088143A (en) 2018-06-07
JP7196958B2 (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN107239431B (en) Tax computer, tax calculating method and recording medium for recording program
JP6311289B2 (en) Calculator, its control method, and program
JP6759766B2 (en) Tax calculators, tax calculators, and programs
JP6825285B2 (en) Computer, calculation printing method, program
JP6866633B2 (en) Arithmetic logic units, calculation methods, and programs
CN107844452B (en) Arithmetic device, arithmetic printing method, and arithmetic program storage medium
JP6915263B2 (en) Arithmetic logic unit, calculation printing method, and program
US9977458B2 (en) Calculation data printing apparatus, calculation data printing method and computer-readable storage medium
JP6915669B2 (en) Tax calculator, tax calculation method, and tax calculation program
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP7020528B2 (en) Data print control device, computer, data print control method, and data print control program
JP6816392B2 (en) Computational equipment, computational methods, and programs
JP6926556B2 (en) Arithmetic logic units, calculation methods, and programs
JP6620907B1 (en) Computer, setting method, and program
JP7416138B2 (en) Calculator, setting support method and program
JP7020469B2 (en) Electronic devices, control methods for electronic devices, and control programs for electronic devices
JP7487829B2 (en) Electronic device, calculation support method and program
JP6528483B2 (en) Computation processing device and program
JP6481213B2 (en) Computer, control method thereof, and program
JP7031691B2 (en) Electronics, control methods, and programs
JP2016085625A (en) Sales data processing device and program
JPH0490096A (en) Electronic cash register

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210726

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220511

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220621

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220706

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221128

R150 Certificate of patent or registration of utility model

Ref document number: 7196958

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150