Data printing control device and method, storage medium, electronic calculator
By introducing data input, registration and correction units into the data printing control device, the problem of unnecessary printing in the electronic calculator is solved, and appropriate printing control is realized.
Patent Information
- Application Number
- CN202110661737.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2016-09-20
- Filing Date
- 2017-08-25
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2037-08-25
AI Technical Summary
The existing electronic calculator with printing function is difficult to eliminate unnecessary printing during the calculation operation, and it is impossible to perform the required printing properly.
A data printing control device is designed, including a data input unit, a data registration unit, a data correction unit and a printing control unit, and control unit to control the execution of printing by invalidating the printing execution instruction operation during the data correction process.
It realizes proper printing after the calculation operation is completed, avoiding unnecessary printing and ensuring the necessity and efficiency of printing.
Smart Images

Figure CN113326225B_ABST
Abstract
Description
[0001] This application is a divisional application of the patent application filed on August 25, 2017, with the application number 2017107420816 and the invention title "Arithmetic Device, Arithmetic Printing Method, and Arithmetic Program Storage Medium". Technical Field
[0002] The present invention relates to an arithmetic device such as an electronic desk calculator having an arithmetic function, an arithmetic printing method, and an arithmetic program storage medium. Background Art
[0003] In the past, in an electronic calculator, when printing the result without verification, after detecting the coincidence of a series of input arithmetic formula data and newly input arithmetic formula data, the series of arithmetic formula data, the arithmetic result of the arithmetic formula data, and the verification end flag are printed together.
[0004] Thus, since printing is not performed during the previous operation but only after confirming the coincidence of all the arithmetic formula data of the previous and current times, printing paper can be saved. In addition, in Japanese Patent Laid-Open No. 08-241285, since the arithmetic result and the verification end flag are printed together, the result after verification of the printed content can be clarified. Summary of the Invention
[0005] Technical Problem
[0006] Since an existing electronic calculator with a printing function prints based on a preset program, it is difficult to eliminate unnecessary printing during the arithmetic operation process and appropriately perform the required printing.
[0007] The present invention has an advantage of being able to appropriately perform printing, for example.
[0008] Technical Solution
[0009] The data printing control device according to the present invention includes:
[0010] a data input unit that inputs data required for arithmetic;
[0011] a data registration unit that registers the data input by the data input unit;
[0012] a data correction unit that corrects the data registered by the data registration unit; and
[0013] a printing control unit that, according to a printing execution instruction operation, prints the registered or corrected data by a printing unit,
[0014] When the data correction unit is in the process of correcting the registered data, the printing control unit invalidates the printing execution instruction operation.
[0015] Effect of the Invention
[0016] According to the present invention, printing can be appropriately performed. Brief Description of the Drawings
[0017] Figure 1 FIG. is a front view showing the appearance of a desktop electronic calculator 10 according to an embodiment of the arithmetic unit of the present invention.
[0018] Figure 2 FIG. is a block diagram showing the electronic circuit of the desktop electronic calculator 10.
[0019] Figure 3 FIG. is a diagram showing a specific example (first embodiment) of arithmetic operation data corresponding to currency conversion registered in the arithmetic data memory 22d of the desktop electronic calculator 10.
[0020] Figure 4 FIG. is a diagram showing a specific example (second embodiment) of arithmetic operation data corresponding to tax calculation registered in the arithmetic data memory 22d of the desktop electronic calculator 10.
[0021] Figure 5 FIG. is a flowchart showing one of the arithmetic data printing processes of the desktop electronic calculator 10.
[0022] Figure 6 FIG. is a flowchart showing another arithmetic data printing process of the desktop electronic calculator 10.
[0023] Figure 7 FIG. is a flowchart showing still another arithmetic data printing process of the desktop electronic calculator 10.
[0024] Figure 8 FIG. is a flowchart showing yet another arithmetic data printing process of the desktop electronic calculator 10.
[0025] Figure 9 FIG. is a flowchart showing still another arithmetic data printing process of the desktop electronic calculator 10.
[0026] Figure 10 FIG. is a flowchart showing the registered data printing process in one of the arithmetic data printing processes of the desktop electronic calculator 10.
[0027] Figure 11 FIG. is a diagram showing the display / printing operation corresponding to the user operation of the first embodiment of the arithmetic data printing process.
[0028] Figure 12 It is a diagram showing display / printing actions corresponding to user operations of a second embodiment of the arithmetic data printing process.
[0029] Explanation of Reference Numerals
[0030] 10… Desktop electronic calculator
[0031] 11… Key input unit
[0032] 11a… [PRT] (Print mode) key
[0033] 11b… [Tax+] (Tax-inclusive calculation) key
[0034] 11c… [Tax-] (Tax-exclusive calculation) key
[0035] 11d… [▽] (Registration data confirmation) key
[0036] 11e… [△] (Registration data confirmation) key
[0037] 11f… [Correction] (CORRECT) key
[0038] 11g… [Reprint] (REPRINT) (Registration data print) key
[0039] 11h… [CA] (All clear) key
[0040] 11i… [% (Setting)] (Conversion rate setting) key
[0041] 11j… [$] (Dollar) key
[0042] 11k… [C1] (Currency 1) key
[0043] 11l… [C2] (Currency 2) key
[0044] 11m… [C3] (Currency 3) key
[0045] 11n… [*] (Total) key
[0046] 12… Display unit
[0047] 13… Printing unit
[0048] P… Recording paper
[0049] 21… CPU
[0050] 22… Memory
[0051] 22a… Arithmetic data printing process program
[0052] 22b… PRINT mode memory
[0053] 22c… Arithmetic mode memory
[0054] 22d… Arithmetic data memory
[0055] 22e… Line number memory
[0056] 22f… Status flag memory
[0057] 22g… Conversion rate memory
[0058] 23… External storage medium
[0059] 24… Storage medium reading unit
[0060] 25… Communication unit
[0061] 30… Web server
[0062] N… Communication network. Detailed implementation manners
[0063] The implementation manners of the present invention will be described below with reference to the accompanying drawings.
[0064] Figure 1 It is a front view showing the appearance of a desktop electronic calculator 10 according to an implementation manner of the arithmetic device of the present invention.
[0065] In addition to the arithmetic unit dedicated to arithmetic operations, the desktop electronic calculator 10 exists in all forms such as a personal computer (including a tablet computer) having an arithmetic function and a printing function (installing an arithmetic data printing processing program or including a storage medium storing an arithmetic data printing processing program), a portable phone including a smart phone, a touch panel type PDA (personal digital assistants, handheld computer), an e-book, a portable game machine, etc.
[0066] An arithmetic device without the printing device such as the desktop electronic calculator 10 is communicatively connected to an external printing device through short-range wireless communication or the like, and executes printing processing by sending a printing control signal and printing data to the printing device.
[0067] The desktop electronic calculator 10 is provided with a key input unit 11 on the front side of a desktop main body case that is placed on a table and is easy to operate, and a display unit 12 and a printing unit 13 are provided inside the key input unit 1. The keys of the key input unit 11 can be physical keys (for example, buttons) or software keys. In the case of software keys, the key input unit 11 can be a part of the display unit 12 or a display different from the display unit 12.
[0068] In the desktop electronic calculator 10 of the present embodiment, in addition to the normal arithmetic functions such as addition, subtraction, multiplication, and division according to the input of the key input unit 11, there are also a currency conversion function for performing currency conversion corresponding to the currency exchange rate on the numerical data input according to the user operation, and a tax calculation function for performing tax calculation based on the tax rate. In addition, it also has a display function of displaying the arithmetic formula part of the arithmetic operation data of the key input operation, various arithmetic results after performing normal arithmetic, currency conversion, and tax calculation on the display unit 12, and a printing function of printing the arithmetic data such as the arithmetic formula part or the arithmetic result data of the arithmetic operation data of the key input operation by the printing unit 13.
[0069] In the key input unit 11, there are provided numerical keys, operator keys, currency conversion function keys, tax calculation function keys, printing function keys, confirmation / correction function keys, and other function keys.
[0070] The numerical keys include, for example, a plurality of keys respectively corresponding to
[00] [0] to [9]. The operator keys include, for example, a plurality of keys respectively corresponding to the [+=](addition calculation total) key, [-](subtraction calculation) key, [×](multiplication calculation) key, [÷](division calculation) key. In addition, when the [+=](addition calculation total) key is input, the arithmetic result of the total obtained by performing an addition calculation on the numerical values input until before the [+=] key can be obtained through the arithmetic function of the desktop electronic calculator 10.
[0071] The currency conversion function keys include: a power (on / off / item / convert) key 11e, a [% (setting)](conversion rate setting) key 11i, a [M*($)] key 11j, a [M◇(C1)] key 11k, a [M-(C2)] key 11l, and a [M+(C3)] key 11m. The [M*($)] key 11j to [M+(C3)] key 11m function as the [$](US dollar) key 11j, [C1](currency 1) key 11k, [C2](currency 2) key 11l, [C3](currency 3) key 11m respectively in the state where the power key 11E is switched to the [convert](currency conversion) position.
[0072] The tax calculation function keys include: a [tax +](tax-inclusive calculation: tax calculation 1) key 11b, a [tax -](tax-exclusive calculation: tax calculation 2) key 11c.
[0073] The printing function keys include: a [PRT](print mode) key 11a, a [reprint](registration data printing) key 11g.
[0074] The confirmation / correction function keys include: a registration data confirmation key ([▽] key 11d as the down key, [△] key 11e as the up key), and a [CORRECT] key 11f.
[0075] Other function keys include, for example: an all-clear key ([CA] key 11h), a clear key ([C] key), a grand total key ([G*] key), a total key ([*] key 11n), etc.
[0076] The display unit 12 has a display element such as a liquid crystal or an OLED (Organic Light Emitting Diode). In the display unit 12, a display corresponding to the operation of the keys of the key input unit 11 is performed. Numerical values of a limited number of lines (for example, 1 to 2 lines) are displayed in the display unit 12. In addition, in a status display area provided along the edge of the display unit 12 (for example, Figure 11 near the upper edge of the display unit 12 shown), numbers, characters, and symbols representing various states such as the line number of the arithmetic operation data or the arithmetic mode being set are displayed. The arithmetic operation data includes at least a part of numerical data such as 0 and 1, operator data such as + and -, and data for performing tax arithmetic operations such as [tax +], and is data formed based on the operations performed by the user.
[0077] The printing unit 13 includes, for example, a thermal transfer type or an inkjet type printing mechanism, and based on the set state of the print mode being turned on / off corresponding to the operation of the [PRT] key 11a and the input state of the [reprint] key 11g, prints and outputs the result obtained by performing arithmetic operations on the input numerical data and currency conversion operations or tax arithmetic operations, the result obtained by performing arithmetic operations on the arithmetic operation data, etc. onto the recording paper P.
[0078] Figure 2 is a block diagram showing the electronic circuit of the desktop electronic calculator 10.
[0079] The electronic circuit of the desktop electronic calculator 10 includes a CPU (processor) 21 as a computer. The CPU 21 controls the operations of each part of the circuit according to the arithmetic unit control program stored in the memory 22, and is an arithmetic unit that executes various arithmetic functions to obtain arithmetic result data according to the user operations of the key input unit 11, and is also a printing control unit that executes the printing function of arithmetic data such as the arithmetic formula part of the arithmetic operation data or the arithmetic result data.
[0080] In addition to being connected to the key input unit 11, the display unit 12, the printing unit 13, and the memory 22 via the bus 26, the CPU (processor) 21 is also connected to a storage medium reading unit 24 that reads data stored in an external storage medium 23 such as a memory card, and a communication unit 25 that communicates with an external device 30 such as a Web server.
[0081] In addition to being pre-stored in the memory 22, the arithmetic unit control program can also be read from the external storage medium 23 by the storage medium reading unit 24 and stored in the memory 22, or can be downloaded from the Web server (program server) 30 on the communication network N via the communication unit 25 and stored in the memory 22.
[0082] In the arithmetic unit control program, in addition to various arithmetic processing programs (including currency conversion processing and tax arithmetic processing) corresponding to user operations, there is also an arithmetic data printing processing program 22a for printing the arithmetic data of the arithmetic processing executed according to the arithmetic processing program.
[0083] In addition, a print mode memory 22b, an arithmetic mode memory 22c, an arithmetic data memory 22d, a line number memory 22e, a status flag memory 22f, and a conversion rate memory 22g are provided in the memory 22.
[0084] In the print mode memory 22b, the setting data for turning on the print mode in the initial setting when the power of the desktop electronic calculator 10 is turned on is stored. After that, each time the [PRT] (print mode) key 11a is operated, the setting data for turning off the print mode and the setting data for turning on the print mode are switched and stored. In addition, in the state where the print mode is turned on, printing is performed each time the input of the arithmetic operation data is determined.
[0085] In the arithmetic mode memory 22c, at least one of the following setting data is stored: setting data for the registration mode that sequentially registers arithmetic operation data composed of numerical data input according to user operations and operation data or arithmetic operation data of currency conversion or tax arithmetic performed by the user; setting data for the confirmation (verification) mode that calls and displays the arithmetic operation data registered in the registration mode according to the input of the registration data confirmation keys ([▽] key 11d, [△] key 11e); and setting data for the correction mode that is set to be in a state where the arithmetic operation data called and displayed in the confirmation (verification) mode can be corrected by the input of the [CORRECT] key 11f.
[0086] In the registration mode, a series of arithmetic operation data input according to a user operation is associated with successively increasing line numbers and registered (stored) in the arithmetic data memory 22d.
[0087] Figure 3 、 Figure 4 FIG. is a diagram showing a specific example of the arithmetic operation data registered in the arithmetic data memory 22d of the desktop electronic calculator 10. Figure 3 FIG. is a diagram showing a specific example (first embodiment) corresponding to currency conversion. Figure 4 FIG. is a diagram showing a specific example (second embodiment) corresponding to tax calculation.
[0088] In the line number memory 22e, data of the line numbers that are the processing objects of the arithmetic data memory 22d in each of the registration mode, confirmation mode, correction mode, and reprint mode (registration data printing mode) corresponding to the operation of the [Reprint] key 11g is stored.
[0089] In the status flag memory 22f, a status flag is stored, which indicates which one of the [numeric input state] of inputting numeric data, [tax-inclusive amount display state] of tax-inclusive calculation, [tax amount display state] of tax-inclusive calculation, [tax-exclusive amount display state] of tax-exclusive calculation, and [tax amount display state] of tax-exclusive calculation the operation state of the desktop electronic calculator 10 corresponding to the arithmetic data printing process (22a) is in.
[0090] In the conversion rate memory 22g, in the conversion rate setting mode corresponding to the long press operation of the [% (Set)] (set conversion rate) key 11i, for example, the conversion rates of various currencies corresponding to the basic currency [$] are made to correspond to the numeric data input according to the operation of the numeric keys and the types of currencies specified according to the operations of the [C1] (Currency 1) key 11k to [C3] (Currency 3) key 11m. For example, the conversion rate of [C1] is stored as "Japanese yen", and the conversion rate of [C2] is stored as "yuan".
[0091] The desktop electronic calculator 10 configured in this way is controlled by the CPU 21 according to the commands described in the arithmetic unit control program (including the arithmetic data printing process program 22a) to control the operations of each part of the circuit, and operates through the cooperation of software and hardware, thereby realizing the function of printing arithmetic data such as various arithmetic functions, the arithmetic formula part of the arithmetic operation data, or the arithmetic result data as described in the following operation description.
[0092] The operation of the desktop electronic calculator 10 will be described below.
[0093] Figures 5 to 9It is a flowchart showing the arithmetic data printing process (from one to five) of the desktop electronic calculator 10.
[0094] Figure 10 It is a flowchart showing the registered data printing process in the arithmetic data printing process (five) of the desktop electronic calculator 10.
[0095] (First Embodiment)
[0096] In this first embodiment, the operation corresponding to the currency conversion function in the state where the setting data of the print mode OFF is stored in the print mode memory 22b is described.
[0097] Figure 11 It is a diagram showing the display / printing operation corresponding to the user operation of the first embodiment of the arithmetic data printing process.
[0098] In the desktop electronic calculator 10, when the power is turned on according to the user operation (here, the power key 11E is switched to the [Conversion] (currency conversion) position), through the CPU 21, as the initial setting process for turning on the power, the setting data of the print mode (on) is stored in the print mode memory 22b, the setting data of the registration mode is stored in the operation mode memory 22c, and the data of the line number "0" is stored in the line number memory 22e (step S1).
[0099] In the state of the print mode (on), as Figure 11 shown in (A1) of, if the [PRT] (print mode) key 11a is operated (step S2 (yes)), the setting data of the print mode (on) is switched to the setting data of the print mode (off) (step S3).
[0100] Then, if the [CA] key 11h is operated (step S4 (yes)), the data of the line number is changed and set to "0" (step S5).
[0101] Here, for example, when the exchange rate of "yen" corresponding to the basic currency "$" is 111.2 yen / $, and the exchange rate of "yuan" is 6.585 yuan / $, as Figure 11 shown in (A2) of, since the yen exchange rate corresponding to "yuan" is known, first if the numerical data "111.2" is input (step S8 (yes)), the data of the line number is incremented by (+1) and updated to "01", and is displayed on the display unit 12. In addition, the input numerical data "111.2" is displayed on the display unit 12. Then, the status flag of the status flag memory 22f is set to the "numerical input state" (step S9).
[0102] Then, if operator data [÷] (division calculation) is input according to the operation of the operator key [÷] (step S9a (Yes)), the input numerical data "111.2" and the operator data [÷] are stored and registered in the area of line number "01" of the operation data memory 22d according to the current line number data "01" stored in the line number memory 22e (step S9b).
[0103] Next, if numerical data "6.585" is input (step S8 (Yes)), then, similarly to the above, the line number data is incremented by (+1) and updated to "02", and is displayed on the display unit 12 (step S9).
[0104] Then, if operator data [+=] (addition calculation total) is input according to the operation of the operator key [+=] (step S9a (Yes)), the input numerical data "6.585" and the operator data [+=] are stored and registered in the area of line number "02" of the operation data memory 22d according to the current line number data "02" stored in the line number memory 22e. If the operation of the operator key [+=] (addition calculation total) is not performed, the process proceeds to Figure 6 the one shown in ② (step S9a (No)).
[0105] After step S9b, an operation corresponding to the operation operation data "111.2 [÷] 6.585 [+=]" registered in the operation data memory 22d is executed, and the operation result data "16.886..." (yen / yuan) corresponding to the "yuan" in terms of the yen exchange rate is displayed on the display unit 12 (step S9c).
[0106] Here, since the printing mode (off) state is in effect, the operation operation data "111.2 [÷] 6.585 [+=]" and the operation result data "16.886..." are not printed (step S9d (No)).
[0107] In addition, when the CPU 21 determines that the printing mode is in the (on) state (step S9d (Yes)), each time the operation operation data "111.2 [÷]" and "6.585 [+=]" are registered in the operation data memory 22d, the printing unit 13 prints the operation operation data and its operation result data "16.886..." on the recording paper P in sequence (step S9e).
[0108] Next, in order to set the conversion rate between "yen" and "yuan", as Figure 11As shown in (A3) therein, if the [CA] key 11h is operated again (step S4 (Yes)), the data of the line number is changed and set to "0" (step S5).
[0109] Here, after the operation of the [CA] key 11h (step S4 (Yes)), as Figure 8 shown, if the [%(Settings)] (set conversion rate) key 11i is long-pressed for 3 seconds or more (step S10a (Yes)), the process proceeds to step S10b.
[0110] Next, as Figure 11 shown in (A4) therein, as the conversion rate of the "Japanese yen", numerical data "111.2" is input and displayed (step S10b (Yes) → S10d). As Figure 11 shown in (A5) therein, if the [C1] (Currency 1) key 11k is operated (step S10e (Yes)), the conversion rate of the "Japanese yen" [C1: 111.2 yen / $] is registered in the conversion rate memory 22g (step S10g).
[0111] As described above Figure 11 shown in (A3) and (A4) therein, in the state of setting the conversion rate from the long-press operation of the [%(Settings)] (set conversion rate) key 11i (step S10a (Yes)) to before the operation of the [C1] (Currency 1) key 11k (step S10d), even if the [Reprint] (register data printing) key 11g is operated (step S10c (Yes)), no printing is performed, thereby preventing unnecessary printing.
[0112] Thereafter, similar to the setting of the conversion rate of the "Japanese yen", in order to set the conversion rate of the "yuan", as Figure 11 shown in (A6) therein, when the [%(Settings)] (set conversion rate) key 11i is long-pressed again (step S10a (Yes)), numerical data "6.585" is input and displayed (step S10b (Yes) → S10d). When the [C2] (Currency 2) key 11l is operated (step S10e (Yes)), the conversion rate of the "yuan" [C2: 6.585 yuan / $] is registered in the conversion rate memory 22g (step S10g).
[0113] Here, similar to the above, in the setting of the conversion rate from the long-press operation state of the [%(Settings)] (set conversion rate) key 11i (step S10a (Yes)) to the state where the [C2] (Currency 2) key 11l is not operated (step S10d), even if the [Reprint] (register data printing) key 11g is operated (step S10f (Yes)), no printing is performed, thereby preventing unnecessary printing.
[0114] As described Figure 11 As shown in (A6) above, after registering the conversion rate of the "yen" or "yuan" in the conversion rate memory 22g, if the [Reprint] (registration data printing) key 11g is operated through operations ① to ⑤ (step S57 (Yes)), if the registration data printing process SP ( Figure 9 ) is executed, but if the [Reprint] (registration data printing) key 11g is not operated, the process proceeds to (step S58)).
[0115] In the registration data printing process SP, as Figure 11 shown in (A3) above, since the arithmetic operation data in the arithmetic data memory 22d is cleared based on the operation of the [CA] key 11h, as Figure 11 shown in (B1) above, when the [Reprint] (registration data printing) key 11g is operated, since only the registration data printing start mark "····0····" indicating the case of [CA] (total clear) printing in the reprint mode is printed on the recording paper P by the printing unit 13 (step P1), even if the current line number data relative to the arithmetic data memory 22d is updated to "01" or more, no arithmetic operation data, arithmetic result data, etc. will be printed (steps P2 to P8 (No) → return).
[0116] Here, assume that a Japanese person purchases 4 items worth 300 yuan each at a store where Chinese yuan can be used, and the shipping cost for the purchased items to Japan is 100 yuan. Calculate how much the total amount including the shipping cost is in yen conversion.
[0117] As Figure 11 shown in (A7) above, after the operation of the [CA] key 11h (step S4 (Yes), step S6 (No)), if numerical data "300" representing the price of the item is input according to the user operation of the numerical keys (step S8 (Yes)), the data of the line number is updated to "01" by (+1) and displayed on the display unit 12. In addition, the input numerical data "300" is displayed on the display unit 12. Then, the status flag in the status flag memory 22f is set to "numerical input state" (step S9).
[0118] Then, if operator data [×] (multiplication calculation) is input according to the operation of the operator key [×] (step S9a (Yes)), based on the current line number data "01" stored in the line number memory 22e, in the arithmetic data memory 22d (refer to Figure 3In the area of the line number "01" of (), the input numerical data "300" and the operator data [×] are stored and registered (step S9b, step S9c, step S9d (No)).
[0119] Next, as shown in (A8) of Figure 11 , if numerical data "4" as the purchased quantity of the commodity is input (step S8 (Yes)), then similarly, the data of the line number is updated to "02" by (+1) and displayed on the display unit 12 (step S9).
[0120] Then, if operator data [+=] (addition calculation total) is input according to the operation of the operator key [+=] (step S9a (Yes)), then according to the current line number data "02" stored in the line number memory 22e, in the operation data memory 22d (refer to Figure 3 ), in the area of the line number "02", the input numerical data "4" and the operator data [+=] are stored and registered (step S9b).
[0121] Therefore, an operation corresponding to the operation operation data "300[×]4[+=]" registered in the operation data memory 22d is executed, and the operation result data "1200" as the total amount of the purchased commodities is displayed on the display unit 12 (step S9c).
[0122] Next, as shown in (A9) of Figure 11 , if numerical data "100" as the freight of the purchased commodity is input (step S8 (Yes)), then similarly, the data of the line number is updated to "03" by (+1) and displayed on the display unit 12 (step S9).
[0123] Then, if operator data [+=] is input according to the operation of the operator key [+=] (step S9a (Yes)), then similarly, according to the current line number data "03" stored in the line number memory 22e, in the operation data memory 22d (refer to Figure 3 ), in the area of the line number "03", the input numerical data "100" and the operator data [+=] are stored and registered (step S9b).
[0124] Therefore, an operation corresponding to the operation operation data "100[+=]" registered in the operation data memory 22d is executed, and the operation result data "1300" as the total amount including the freight of the purchased commodities is displayed on the display unit 12 (step S9c).
[0125] Here, if the total amount of "1,300 yuan" including the freight of the purchased goods is specified as the object of conversion by operating the [*] (Total) key 11n, it transfers to Figure 8 the one shown in ⑧ (Step S9f (Yes)). In addition, in Step S9f, if the [*] (Total) key 11n is not operated, it transfers to Step S9d. When converting the total amount of "1,300 yuan" from "yuan" to "yen", first, as Figure 11 shown in (A10) below, when operating the [C2] (Currency 2) key 11l with the conversion rate of "yuan" set (Step S10h (Yes)), the line number data is updated by (+1) to "04" and is displayed. Then, the displayed numerical data "1,300" is divided by the conversion rate of "yuan" registered in the conversion rate memory 22g, [C2: 6.585 yuan / $], and the total amount "197.4183..." converted to the basic currency "$" is calculated (Step S10i).
[0126] Then, according to the current line number data "04" stored in the line number memory 22e, in the area of the line number "04" in the arithmetic data memory 22d (refer to Figure 3 ), the arithmetic operation data "[÷][C2]" with the displayed numerical data "1,300" as the object and divided by the conversion rate [C2] is stored and registered (Step S10j).
[0127] Here, for example, when it is determined that the printing mode (on) is in the open state (Step S10k (Yes)), as Figure 11 shown in (B2) below, immediately following the arithmetic formula part "300[×]4[+=]100[+=]" and its arithmetic result data "1,300" associated with the line numbers "01" to "03" already printed on the recording paper P, as Figure 11 shown in (B2) PR1 below, the arithmetic formula part and the arithmetic result data "197.4183...$" of the arithmetic operation data obtained by dividing the displayed numerical data "1,300" by the conversion rate of "yuan" [C2: 6.585 yuan / $] are printed as arithmetic data (S10l).
[0128] In addition, in this first embodiment, since the printing mode is set to (off), the printing according to Step S10l is not performed.
[0129] In addition, as described above Figure 11As shown in (A10) and (A11), in the state during the conversion operation from the operation of the [C2] (Currency 2) key 11l (step S10h (Yes)) until before the operation of the [C1] (Currency 1) key 11k (step S10j), even if the [Reprint] (Registration Data Printing) key 11g is operated (step S10n (Yes)), no printing is performed, thus preventing unnecessary printing.
[0130] And then, after that, as Figure 11 shown in (A11), when the [C1] (Currency 1) key 11k with the conversion rate of "Japanese yen" set is operated (step S10m (Yes)), the numerical data "197.4183..." $ in the basic currency "$" after conversion is multiplied by the conversion rate of "Japanese yen" [C1: 111.2 Japanese yen / $] registered in the conversion rate memory 22g, and the total amount "21953" Japanese yen after conversion is calculated (step S10o).
[0131] Then, the line number data is updated to "05" by (+1) and displayed, and in the area of the line number "05" in the arithmetic data memory 22d (refer to Figure 3 ), the arithmetic operation data "[×][C1]" obtained by dividing the numerical data "197.4183..." $ converted from "yuan" to "US dollar" by the conversion rate [C1] of "Japanese yen" is stored and registered (step S10p).
[0132] Then, the arithmetic result data "21953" obtained by multiplying the numerical data "197.4183..." $ converted from "yuan" to "US dollar" by the conversion rate [C1] of "Japanese yen" is displayed on the display unit 12 (step S10q).
[0133] Here, for example, in the case where it is determined that the state is in the print mode (on) (step S10r (Yes)), as shown in (B2) PR1 above Figure 11 , immediately following the arithmetic formula part "300[×]4[+=]100[+=]" of the arithmetic operation data associated with the line numbers "01" to "04" already printed on the recording paper P and its arithmetic result data "1300", and the arithmetic formula part of the arithmetic operation data obtained by dividing the arithmetic result data "1300" by the conversion rate [C2: 6.585 yuan / $] of "yuan" and its arithmetic result data "197.4183..." $, as Figure 11As shown by (B2)PR2 in, the operation formula part of the operation data for multiplying the numerical data "197.4183..." converted to the basic currency "$" by the conversion rate [C1: 111.2 yen / $] of "yen" and its operation result data "21953" are printed (step 10s).
[0134] In addition, in this first embodiment, since the print mode is set to off, printing of operation data such as the operation formula part or operation result data of the operation data according to the step S10s is not performed.
[0135] Then, as Figure 11 shown by (A11) in, after the currency conversion from the total amount "1300" in "yuan" to the total amount "21953" in "yen" by operating from the [C2] (currency 2) key 11l to the [C1] (currency 1) key 11k is completed, through ① to ⑤, the [Reprint] (registration data print) key 11g is operated (step S57 (yes) → SP), and at this time, the Figure 10 shown registration data printing process is executed.
[0136] If the registration data printing process is started, as Figure 11 shown by (B2) in, the printing unit 13 prints a registration data printing start mark "····0····" on the recording paper P, which indicates the case of [CA] (all clear) printing in the reprint mode (step P1).
[0137] Then, the current line number data of the line number memory 22e is set to "01" (step P2), and it is determined whether the operation data registered in the operation data memory 22d associated with the current line number "01" is operation data that is the operation formula part including numerical data, operator data, or tax-inclusive (or tax-exclusive) data (step P3).
[0138] Here, it is determined that the operation data registered in the operation data memory 22d (refer to Figure 3 ) associated with the current line number "01" is operation data including the numerical data "300" and the operator data [×] (step P3 (yes)).
[0139] Therefore, immediately following the registration data printing start mark "····0····" printed on the recording paper P, the printing unit 13 prints the operation data corresponding to the numerical data "300" and the operator data [×] on the recording paper P (step P4).
[0140] Thereafter, it is determined whether the operation data memory 22d (refer to Figure 3Whether there is arithmetic operation data associated with the next line number (step P8). Here, it is determined that there is arithmetic operation data (4[+=]) associated with the next line number "02" (step P8 (Yes)), and the current line number "01" of the line number memory 22e is updated to "02" by (+1) (step P9).
[0141] Then, it is determined that the arithmetic operation data associated with the current line number "02" and registered in the arithmetic data memory 22d (refer to Figure 3 ) is, as described above, arithmetic operation data including the numerical data "4" and the operator data [+=] (step P3 (Yes)), and the arithmetic data corresponding to the numerical data "4" and the operator data [+=] and its arithmetic result data "1200" are printed on the recording paper P by the printing unit 13 (step P4).
[0142] Thereafter, also as described above, as Figure 11 shown in (B2) of Figure 3 , the arithmetic data corresponding to the arithmetic operation data registered in each line number "03" to "05" of the arithmetic data memory 22d (refer to
[0143] ), and its arithmetic result data are sequentially printed on the recording paper P as (100[+])(1300[*])……(21953[C]) (steps P3, P4, P8, P9).
[0143] Thus, even in the state where the printing mode (off) is set, if the currency conversion is completed, by operating the [Reprint] (registered data printing) key 11g, it is still possible to easily print the arithmetic formula part corresponding to a series of arithmetic operation data accompanying the commodity purchase and a series of arithmetic operation data accompanying the currency conversion, as well as its arithmetic result data, on the recording paper P.
[0144] Therefore, according to the desktop electronic calculator 10 of the first embodiment of the above structure, in the state where the printing mode (on) is set, it is possible to sequentially print the arithmetic formula part of the arithmetic operation data corresponding to the user operation and the arithmetic result data on the recording paper P. Even in the state where the printing mode (off) is set, if the currency conversion is completed, by operating the [Reprint] (registered data printing) key 11g, it is still possible to print the arithmetic formula part of a series of arithmetic operation data registered in the arithmetic data memory 22d, as well as its arithmetic result data, on the recording paper P. And regardless of whether the printing mode is on or off, when the currency conversion process is in the state of setting the conversion rate or the state of conversion operation, since no printing will be performed even if the [Reprint] (registered data printing) key 11g is operated, it is possible to prevent unnecessary printing.
[0145] Thus, after the currency conversion of the operation data registered according to the operation is completed, printing can be performed according to the user operation. Therefore, redundant printing caused by printing instructions before the currency conversion is completed can be eliminated, and the required printing can be appropriately performed.
[0146] (Second Embodiment)
[0147] In this second embodiment, the operation corresponding to the tax calculation function in the state where the setting data for the print mode being on is stored in the print mode memory 22b will be described.
[0148] Figure 12 It is a diagram showing the display / printing operation corresponding to the user operation in the second embodiment of the operation data printing process.
[0149] In the desktop electronic calculator 10, in the state where the print mode (on) setting data for the print mode being on is stored in the print mode memory 22b (step S1), for example, as Figure 12 shown in (A1) below, if the [CA] key 11h is operated (step S4 (Yes)), the data of the line number in the line number memory 22e is set to "0" (step S5). The numerical data "0" and the symbol "PRT" indicating the state where the print mode is on are displayed on the display unit 12.
[0150] Here, if the CPU 21 determines that it is in the state where the print mode is on (step S6 (Yes)), then as Figure 12 shown in (B1) below, the printing unit 13 prints the normal printing start mark "··0··" on the recording paper P, which indicates the printing corresponding to the operation of the [CA] (Clear All) key 11h in the state where the print mode is on (step S7).
[0151] And, as Figure 12 shown in (A2) below, according to the user operation of the numerical keys, for example, when the numerical data "200" as the commodity price (excluding tax) is input (step S8 (Yes)), the data of the line number is updated to "01" by (+1) and displayed on the display unit 12, and at the same time the input numerical data "200" is displayed on the display unit 12. And the status flag in the status flag memory 22f is set to the "numerical input state" (step S9).
[0152] Here, as Figure 12As shown in (A3), if the [Tax +] (tax-inclusive operation: tax operation 1) key 11b is operated (step S10 (Yes)), it is judged whether the status flag of the status flag memory 22f is in the "numerical input state" (step S11).
[0153] If it is judged that the status flag is in the "numerical input state" (step S11 (Yes)), then according to the current line number data "01" stored in the line number memory 22e, in the area of the line number "01" of the operation data memory 22d (refer to Figure 4 in (A)), the input numerical data "200" and the tax-inclusive (tax operation 1) data [Tax +] corresponding to the [Tax +] (tax-inclusive operation: tax operation 1) key 11b are registered (stored) (step S12).
[0154] Then, a tax-inclusive operation (tax operation 1) (8% tax rate in this embodiment) is performed on the numerical data "200" (step S13), and the line number data "01" is updated to "02" by (+1) and displayed on the display unit 12. At the same time, the tax-inclusive amount data (tax operation 1 result data) "216" after the tax-inclusive operation is displayed, and the symbol "Tax +" indicating the tax-inclusive amount is displayed. And the status flag of the status flag memory 22f is set to the [tax-inclusive amount display state of tax-inclusive operation] (step S14).
[0155] Here, if it is judged that the print mode memory 22b stores setting data for turning on the print mode (step S15 (Yes)), and it is judged that the operation result data of the tax-inclusive operation (tax operation 1) has not been printed (step S16 (No)), then as Figure 12 shown in (B1), immediately following the normal print start mark "··0··" printed on the recording paper P, the input numerical data (non-tax-inclusive amount data) "200" and the non-tax-inclusive amount mark "-T" are printed on the recording paper P by the printing unit 13, the tax rate data "8" and the tax rate mark "%T" are printed on the next print line, the tax amount data "16" and the tax amount mark "T" are printed on the next print line after that, and the tax-inclusive amount data (tax operation 1 result data) "216" and the tax-inclusive amount mark "+T" are printed on the next print line after that, as the tax operation print data of the tax-inclusive operation (step S17).
[0156] Here, as Figure 12 shown in (A4), if the [Tax +] (tax-inclusive operation: tax operation 1) key 11b is operated again (step S10 (Yes)), it is judged that the status flag of the status flag memory 22f is in the [tax-inclusive amount display state of tax-inclusive operation] (step S18 (Yes)).
[0157] Then, based on the current line number data "02" stored in the line number memory 22e, in the area of the line number "02" in the arithmetic data memory 22d (refer to Figure 4 in (A)), the tax-inclusive data (tax operation 1 data) [Tax +] corresponding to the [Tax +] key 11b is stored and registered (step S19).
[0158] Then, the line number data "02" is updated to "03" by (+1) and displayed. In addition, the tax amount data "16" after the tax-inclusive operation is displayed, and the symbol "Tax" representing the tax amount is displayed. And the status flag in the status flag memory 22f is set to [Tax amount display status in tax-inclusive operation] (step S20).
[0159] Here, further, as Figure 12 shown in (A5), if the [Tax +] key 11b is operated again (step S10 (Yes)), it is determined that the status flag is [Tax amount display status in tax-inclusive operation] (step S21 (Yes)).
[0160] Then, based on the current line number data "03" stored in the line number memory 22e, in the area of the line number "03" in the arithmetic data memory 22d (refer to Figure 4 in (A)), the tax-inclusive data (tax operation 1 data) [Tax +] corresponding to the [Tax +] key 11b is stored and registered (step S22).
[0161] And the line number data "03" is updated to "04" by (+1) and displayed. In addition, the tax-inclusive amount data "216" after the tax-inclusive operation is displayed again, and the symbol "Tax +" representing the tax-inclusive amount is displayed. Then, the status flag in the status flag memory 22f is set again to [Tax-inclusive amount display status in tax-inclusive operation] (step S23).
[0162] Here, as Figure 12 shown in (A6), when the [Tax -] (tax-exclusive operation: tax operation 2) key 11c is operated (step S27 (Yes)), if no value is continuously input (step S28 (No)), it is determined that the status flag is [Tax-inclusive operation (display tax-inclusive amount) status] (step S41 (Yes)).
[0163] Then, based on the current line number data "04", in the area of the line number "04" in the arithmetic data memory 22d (refer to Figure 4 in (A)), the tax-exclusive data (tax operation 2 data) [Tax -] corresponding to the [Tax -] key 11c is stored and registered (step S42).
[0164] Then, the line number data "04" is updated to "05" by (+1) and displayed. In addition, the tax-exclusive amount data "200" is displayed, and the symbol "tax -" representing the tax-exclusive amount is displayed. Further, the status flag of the status flag memory 22f is set to [tax-exclusive amount display state in tax-exclusive operation] (step S43).
[0165] In this way, when the numerical data "200" is input and the [tax +] (tax-inclusive operation) key 11b is operated, the tax-inclusive operation is executed, and the tax-inclusive amount data "216" and its symbol "tax +" are displayed. Then, when the [tax +] key 11b is operated, each time this operation is performed, the tax amount data "16" and its symbol "tax", and the tax-inclusive amount data "216" and its symbol "tax +" are alternately displayed. Further, when the [tax -] key 11c is operated, the tax-exclusive amount data "200" and its symbol "tax -" can be alternately displayed. Therefore, the content of the tax operation can be easily confirmed on the display unit 12 at hand.
[0166] At this time, according to the input of the numerical data "200" and the operation of the [tax +] (tax-inclusive operation) key 11b, the tax-inclusive operation (tax operation 1) is executed. After printing the tax-exclusive amount data (input data) "200.-T", the tax rate data "8.%T", the tax amount data "16.T", and the tax-inclusive amount data (tax operation 2 result data) "216.+T" as the tax operation print data of the tax-inclusive operation (tax operation 1) on the recording paper P, even in the set state where the print mode is on, it will still judge whether to continue operating the [tax +] key 11b or the [tax -] key 11b, and judge whether the status flag continues to be in the [tax-inclusive operation (tax-inclusive amount display / tax amount display) state] or the [tax-exclusive operation (tax-exclusive amount display / tax amount display) state]. As shown in (A4) to (A6) above Figure 12 the tax amount data "16" → the tax-inclusive amount data "216" → the tax-exclusive amount data "200" are displayed without performing the printing process for each confirmation. Thus, it is controlled not to repeatedly print unnecessary and repetitive content.
[0167] Next, in order to confirm the content of a series of operation data corresponding to the tax-inclusive operation (tax operation 1), as Figure 12As shown in (A7) in FIG. 1 , if the registered data confirmation key ([▽] key 11d) is operated (step S44 (Yes)), the setting data of the operation mode memory 22c is set to the confirmation (verification) mode, and the symbol "REV" of the confirmation mode is displayed on the display unit 12. In addition, the operation operation data (numerical data (tax-exclusive data) "200" and tax-inclusive (tax operation 1) data [tax+]) associated with and registered in the row number "01" at the beginning of the operation data memory 22d are called and displayed on the display unit 12 together with the row number "01" (step S45).
[0168] Here, in order to modify the numerical data (excluding tax amount data) "200" corresponding to the line number "01" displayed and confirmed by the display unit 12, as shown in FIG. Figure 12 As shown in (A8) in FIG. 1 , if the [CORRECT] key 11f is operated (step S49 (yes)), the setting data of the operation mode memory 22c is set to the correction mode, and the symbol "CRT" of the correction mode is displayed on the display unit 12 (step S50).
[0169] And, if Figure 12 As shown in (A9) in the figure, the correct numerical data "300" is input and displayed (step S51 (yes), S52). Figure 12 As shown in (A10) in FIG. 1 , if the [Correction] key 11f is operated again (step S53 (yes)), the operation data (numerical data (excluding tax amount data)) "200" associated with the current line number "01" and stored in the operation data memory 22d is replaced with the input numerical data "300" and registered (step S54) (refer to Figure 4 Then, the symbol "CRT" of the correction mode displayed on the display unit 12 is deleted (step S55).
[0170] In addition, as stated Figure 12 As shown in (A8) and (A9) in the figure, in the state of the correction operation of the calculation operation data corresponding to the first operation of the [Correction] key 11f (step S49 (yes)) to the second operation (step S53), even if the [Reprint] (registration data printing) key 11g has been operated (step S51a (yes) / S53a (yes)), no printing is performed, thereby preventing unnecessary printing.
[0171] Afterwards, if Figure 12As shown in (A11) to (A13) in [ ], if the registration data confirmation key ([▽] key 11d) is repeatedly operated (step S46 (Yes)), then each time this operation is performed, it is confirmed whether there is arithmetic operation data associated with the next line number of the current line number and registered in the arithmetic data storage 22d (step S47). And when there is arithmetic operation data associated with the next line number (step S47 (Yes)), its arithmetic operation data is called and displayed together with the next line number on the display unit 12 (step S48).
[0172] That is, as Figure 12 shown in (A11) in [ ], if the registration data confirmation key ([▽] key 11d) is operated (the second time in the confirmation mode), then the corrected arithmetic operation data registered corresponding to the line number "01" (numerical data (excluding tax amount data) "300", tax-included data (tax operation 1 data) [tax +] registered based on the input operation after the input operation of the previous "200") is displayed to perform tax-included operation (tax operation 1), and the tax amount data (tax operation 1 result data) "324", and the symbol "tax +" corresponding to the tax-included data [tax +] called corresponding to the line number "02" are displayed. In other words, relative to Figure 12 the numerical data "300" shown in (A10) in [ ], the tax amount data "324" which is the result of processing the tax-included data "tax +" of the symbol shown in Figure 12 (A10) in [ ] is displayed, and the "tax +" in the line number "02" for displaying the tax amount data, which is the next process for this tax amount data "324", is displayed as a mark.
[0173] In addition, as Figure 12 shown in (A12) in [ ], if the registration data confirmation key ([▽] key 11d) is operated (the third time), then the tax amount data "24" which is the result of performing the tax-included operation (tax operation 1) based on the tax-included data (tax operation 1 data) [tax +] registered corresponding to the line number "02" is displayed, and the symbol "tax +" corresponding to the tax-included data [tax +] called corresponding to the line number "03" is displayed. In other words, for Figure 12 the numerical data "324" shown in (A11) in [ ], the tax amount data "24" which is the result of processing the tax-included data "tax +" of the symbol shown in Figure 12 (A11) in [ ] is displayed, and the "tax +" in the line number "03" for displaying the tax amount data, which is the next process for this tax amount data "24", is displayed as a symbol.
[0174] Furthermore, as Figure 12As shown in (A13), if the registration data confirmation key ([▽] key 11d) is operated (fourth time), the tax-inclusive amount data "324" which is the result of performing the tax-inclusive operation (tax operation) on the tax-inclusive data [tax +] registered corresponding to the line number "03", and the symbol "tax -" corresponding to the tax-exclusive data (tax operation 2 data) [tax -] called corresponding to the line number "04" are displayed. In other words, for the numerical data "24" shown in (A12) in Figure 12 the result of processing the tax-inclusive data "tax +" of the symbol shown in (A12) in Figure 12 is displayed as the tax-inclusive amount data "324", and the "tax -" in the line number "04" for displaying the tax-exclusive amount data which is the next process for this tax-inclusive amount data "324" is displayed as a symbol.
[0175] Thus, even after correcting a part of a series of operation data after performing tax operation by the tax-inclusive operation (or tax-exclusive operation), by repeatedly operating the registration data confirmation key ([▽] key 11d), it is still possible to easily confirm the corrected tax-inclusive amount data, tax amount data, and tax-exclusive amount data.
[0176] In addition, in step S44, when the registration data confirmation key ([△] key 11e) is operated and set to the confirmation (retrieval) mode, among a series of operation operation data registered in association with each line number of the operation data memory 22d, the operation operation data associated with the last line number is called and displayed (step S45).
[0177] Furthermore, in the confirmation (retrieval) mode, when the registration data confirmation key ([△] key 11e) is operated (step S46 (Yes)), the operation operation data associated with the previous line number of the current line number and registered in the operation data memory 22d is called, and the result data or symbol of the tax operation based on the operation operation data is displayed (steps S47, S48).
[0178] And, as Figure 12 shown in (A14), when in the state where the tax-inclusive amount data (tax operation 1 result data) "324" corresponding to the operation operation data (tax-inclusive data (tax operation 1 data) [tax +]) of the line number "03" is displayed, if the [reprint] (registration data printing) key 11g is operated (step S56 (Yes)), the Figure 10 registration data printing process shown in
[0179] is executed (step SP). Figure 12As shown in (B2) therein, the printing unit 13 prints a registration data printing start mark "····0····" (step P1) indicating the printing of [CA] (total clearing) in the reprint mode on the recording paper P.
[0180] And the current line number data of the line number memory 22e is set to "01" (step P2), and it is determined whether the arithmetic operation data associated with the current line number "01" and registered in the arithmetic data memory 22d is arithmetic operation data including numerical data, and arithmetic data or tax-inclusive (or tax-exclusive) data (step P3).
[0181] Here, it is determined that the arithmetic operation data associated with the current line number "01" and registered in the arithmetic data memory 22d (refer to Figure 4 in (B)) is arithmetic operation data including the numerical data "300" and the tax-inclusive data (tax operation 1 data) [tax+] (step P3 (yes)).
[0182] Then, immediately following the registration data printing start mark "····0····" printed on the recording paper P, as the tax operation data corresponding to the numerical data "300" and the tax-inclusive data [tax+], the printing unit 13 prints the numerical data (excluding tax amount data) "300", the non-tax amount mark "-T", the tax rate data "8", the tax rate mark "%T", the tax amount data "24", the tax amount mark "T", the tax-inclusive amount data (tax operation 1 result data) "324", and the tax-inclusive amount mark "+T" on the recording paper P (step P4).
[0183] Thereafter, it is determined whether there is arithmetic operation data associated with the next line number in the arithmetic data memory 22d (refer to Figure 4 in (B)) (step P8). Here, it is determined that there is arithmetic operation data (tax-inclusive data [tax+]) associated with the next line number "02" (step P8 (yes)), and the current line number "01" of the line number memory 22e is incremented by (+1) and becomes "02" (step P9).
[0184] Then, it is determined that the arithmetic operation data associated with the current line number "02" and registered in the arithmetic data memory 22d (refer to Figure 4The operation data in (B) in it is tax-inclusive data (tax operation 1 data) [tax +], and it is neither operation data including numerical data and operator data nor operation data including numerical data and tax-inclusive (or tax-exclusive) data (step P3 (no)). In addition, since there is tax-inclusive data (tax operation 1 data) [tax +] in the operation data associated with the previous line number "01" and the operation data associated with the current line number "02", it is determined to be continuous tax operation data (step P5 (yes)). In this case, printing on the recording paper P is not performed (printing suppression) (step P6).
[0185] Thereafter, in the same manner as above, even when the current line number "02" is updated to "03" → "04" (step P8 (yes), P9), in the same manner as above, it is determined that the operation data associated with each line number is continuous tax operation data (step P3 (no), P5 (yes)), so printing on the recording paper P is not performed (printing suppression) (step P6).
[0186] Thus, even after correcting a part of a series of operation data after tax calculation by the tax-inclusive calculation (or tax-exclusive calculation), by operating the [reprint] (registered data printing) key 11g, it is still possible to easily print on the recording paper P the tax-exclusive amount data (-T), tax rate data (%T), tax amount data (T), and tax-inclusive amount data (+T) corresponding to the result data of the corrected tax-inclusive calculation.
[0187] At this time, since the registered data printing start mark "····0····" is printed at the beginning of the recording paper P, the user can clearly distinguish the normal printing (normal printing start mark "··0··") corresponding to the operation of the [CA] key 11h in the state of the printing mode (ON), and confirm the printing of the corrected registered data corresponding to the operation of the [reprint] key 11g.
[0188] In addition, when it is determined that the operation data associated with the current line number and registered in the operation data memory 22d is neither operation data including numerical data and operation data or tax-inclusive (or tax-exclusive) data (step P3 (no)), nor continuous tax operation data (step P5 (no)), the operation data registered in association with the current line number is printed (step P7).
[0189] When referring to the Figure 12In the second embodiment described, for example, after inputting the commodity price (excluding tax amount), i.e., the numerical data "200", the [Tax +] (tax-inclusive calculation: tax calculation 1) key 11b is repeatedly operated, and the tax-inclusive amount data "216" → tax amount data "16" → tax-inclusive amount data "216" is displayed. Then, the [Tax -] (tax-exclusive calculation: tax calculation 2) key 11c is operated and the tax-exclusive amount data "200" is displayed. The processing is described in accordance with the steps S10 to S23 shown in Figure 6 and the above-mentioned Figure 7 processing of the steps S41 to S43 shown.
[0190] In this regard, for example, after inputting the commodity price (including tax amount), i.e., numerical data, the [Tax -] (tax-exclusive calculation: tax calculation 2) key 11c is repeatedly operated, and the tax-exclusive amount data → tax amount data → tax-exclusive amount data is displayed. Then, the [Tax +] (tax-inclusive calculation: tax calculation 1) key 11b is operated and the tax-inclusive amount data is displayed. Only the processing of "tax-inclusive" [Tax +] and "tax-exclusive" [Tax -] is reversed and the same as the above-mentioned processing, thereby forming the processing in accordance with the steps S27 to S40 shown in Figure 7 and the above-mentioned Figure 6 processing of the steps S24 to S26 shown.
[0191] Accordingly, in the desktop electronic calculator 10 of the second embodiment configured as described above, when the input numerical data and the tax-inclusive data (or tax-exclusive data) corresponding to the operation of the tax operator key ([Tax +] (tax-inclusive calculation) key or [Tax -] (tax-exclusive calculation) key) are registered in the operation data memory 22d as operation operation data associated with the sequentially updated line number data, and the registered data confirmation key ([▽] key 11d or [△] key 11e) is operated, each time this key is operated, the registered operation operation data is sequentially called from the operation operation data associated with the line number data at the beginning (or end), and the tax-inclusive amount data (or tax-exclusive amount data) and tax amount data corresponding to the called operation operation data are sequentially displayed. And when the [Correction] (correction) key 11f is operated, it becomes the correction mode, so that the numerical data of the tax-inclusive amount data (or tax-exclusive amount data) being displayed can be corrected. Then, when the [Reprint] (registered data printing) key 11g is operated, the tax-exclusive amount data (-T), tax rate data (%T), tax amount data (T), and tax-inclusive amount data (+T) corresponding to the corrected numerical data are printed on the recording paper P. In addition, in the state of the correction operation of the operation operation data, even if the [Reprint] (registered data printing) key 11g has been operated, no printing will be performed, thereby preventing unnecessary printing.
[0192] Accordingly, the content of the tax calculation can be easily confirmed and modified. In addition, unnecessary printing can be prevented and savings can be achieved.
[0193] In addition, by the methods of each process of the desktop electronic calculator 10 described in each of the above embodiments, that is Figures 5 to 9 the operation data printing process shown in the flowchart of Figure 10 the registration data printing process shown in the flowchart of and other methods can all be used as programs executable by a computer and can be widely stored in media of external storage devices such as memory cards (ROM cards, RAM cards, etc.), magnetic disks (floppy disks (registered trademark), hard disks, etc.), optical discs (CD-ROM, DVD, etc.), and semiconductor memories. And a computer (CPU) of an electronic calculator having a printing function reads the program stored in the medium of the external storage device into a storage device and controls the operation through the read program, whereby the operation data printing function described in each of the above embodiments can be realized and the same process based on the aforementioned method can be executed.
[0194] In addition, the data of the program for realizing each of the above methods can be transmitted in the form of program codes on a communication network (N), and the program data can also be imported from a computer device (program server) connected to the communication network (N) into an electronic calculator having a printing function and stored in a storage device, thereby realizing the aforementioned operation data printing function.
[0195] The invention of the present application is not limited to the above embodiments, and various modifications can be made without departing from the gist thereof at the implementation stage. Further, the above embodiments include inventions at various stages, and various inventions can be obtained by appropriate combinations of a plurality of structural elements disclosed. For example, even if several structural elements are deleted from all the structural elements shown in each embodiment, or several structural elements are combined in different forms, an invention can be obtained as the structure after deleting or combining the structural elements when at least one of the problems described in the technical problem column is effective.
Claims
1. A data printing control device, characterized in that, Comprising: A data input unit that inputs data required for operations; A data registration unit that registers the data input by the data input unit; A data correction unit that corrects the data registered by the data registration unit; And A printing control unit that, according to a printing execution instruction operation, prints the registered or corrected data through a printing unit, When the printing execution instruction operation is detected during the process of correcting the registered data by the data correction unit, the printing control unit invalidates the printing execution instruction operation.
2. The data printing control device according to claim 1, wherein: When the printing execution instruction operation is detected during the input process or setting process of the data required for the operation performed by the data input unit, the printing control unit invalidates the printing execution instruction operation.
3. The data printing control device according to claim 2, wherein: When the printing execution instruction operation is detected during the input process or setting process of the conversion rate required for currency conversion as the operation, the printing control unit invalidates the printing execution instruction operation.
4. The data printing control device according to claim 2, wherein: The data printing control device further comprises: an operation execution unit that, according to an operation execution instruction operation, performs an operation based on the data input by the data input unit, The data printing control device further comprises: a display control unit that displays the data input by the data input unit on a display unit, When the data is displayed on the display unit, according to the operation execution instruction operation, the operation execution unit performs tax calculation as the operation based on the data input by the data input unit and obtains tax calculation result data, the display control unit displays the tax calculation result data obtained by the operation execution unit on the display unit, and the printing control unit prints the tax calculation result data, When the tax calculation result data is displayed on the display unit, according to the operation execution instruction operation, the display control unit displays the value related to the tax calculation result data on the display unit, and the printing control unit does not perform the printing of the value related to the tax calculation result data.
5. The data printing control device according to claim 4, wherein: The data printing control device further comprises: a printing presence / absence setting unit that sets whether to print the data through the printing control unit according to the operation execution instruction operation, When it is set by the printing presence / absence setting unit to print the data and the operation execution instruction operation is performed, if it is determined that a pre-determined condition is satisfied, the printing control unit does not perform the printing of the data.
6. The data printing control device according to claim 5, wherein: Even if the printing of the data has been set by the printing presence / absence setting unit, when the data registered by the data correction unit is being corrected, the printing control unit invalidates the printing execution instruction operation.
7. The data printing control device according to claim 5 or 6, characterized in that Even if the printing of the data has been set by the printing presence / absence setting unit, when the data required for the operation performed by the data input unit is being input or set, the printing control unit invalidates the printing execution instruction operation.
8. The data printing control device according to claim 1, characterized in that As the data required for the operation, the data input unit accepts the input of numerical data and operation type data, and the operation type data is used to determine the four arithmetic operations, tax calculation, or currency conversion using the numerical data.
9. An electronic calculator, characterized in that, Comprising: The data printing control device according to any one of claims 1 to 8; A printing unit that performs printing under the control of the data printing control device; and An input unit that accepts the input of the data performed by the data input unit.
10. A data printing control method, which is a method executed by the control device of an electronic calculator, characterized in that Input the data required for the operation, Register the input data, Correct the registered data, According to the printing execution instruction operation, print the registered or corrected data through the printing unit. On the other hand, even if the printing execution instruction operation is detected during the process of correcting the registered data, the printing execution instruction operation is invalidated.
11. A storage medium storing a data printing control program, characterized in that, The data printing control program causes the electronic calculator to execute, through the control device of the electronic calculator: Input the data required for the operation; Register the input data; Correct the registered data; According to the printing execution instruction operation, print the registered or corrected data through the printing unit. On the other hand, even if the printing execution instruction operation is detected during the process of correcting the registered data, the printing execution instruction operation is invalidated.
Citation Information
Patent Citations
Electronic computer
JP1996241285A
A tax calculating apparatus, a tax calculating method, and a recording medium with recorded program
CN107562679A