CN107844452B - Arithmetic device, arithmetic printing method, and arithmetic program storage medium - Google Patents

Arithmetic device, arithmetic printing method, and arithmetic program storage medium Download PDF

Info

Publication number
CN107844452B
CN107844452B CN201710742081.6A CN201710742081A CN107844452B CN 107844452 B CN107844452 B CN 107844452B CN 201710742081 A CN201710742081 A CN 201710742081A CN 107844452 B CN107844452 B CN 107844452B
Authority
CN
China
Prior art keywords
data
tax
arithmetic
printing
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710742081.6A
Other languages
Chinese (zh)
Other versions
CN107844452A (en
Inventor
吉泽博明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to CN202110661737.8A priority Critical patent/CN113326225A/en
Publication of CN107844452A publication Critical patent/CN107844452A/en
Application granted granted Critical
Publication of CN107844452B publication Critical patent/CN107844452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The invention provides an arithmetic device which can print operation data registered according to an operation according to a user operation, eliminate redundant printing and properly perform required printing. In the print mode (open), the operation data and the operation result data corresponding to the user operation can be sequentially printed on the recording paper P, and even in the print mode (closed), the operation data and the operation result data corresponding to the series of operation data registered in the operation data memory can be collectively printed on the recording paper P by operating the [ reprint ] (registration data printing) key. In addition, regardless of the state of the print mode, when the process of the arithmetic processing is in a state in which the conversion rate is set or in a state in which the conversion operation is performed, no printing is performed even if the [ reprint ] key is operated, and therefore, redundant printing can be prevented.

Description

Arithmetic device, arithmetic printing method, and arithmetic program storage medium
Technical Field
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
Conventionally, in an electronic arithmetic unit, when a result of performing no verification is printed, it is conceivable to print a series of operation formula data that has been input, together with an operation result of the operation formula data and a verification end mark, after detecting that the series of operation formula data matches a newly input operation formula data.
Therefore, printing is not performed at the previous operation, and printing is performed after all the operation formula data of the previous operation and the current operation are confirmed to be consistent, so that printing paper can be saved. In addition, in japanese patent application laid-open No. h 08-241285, since the calculation result and the verification end mark are printed together, the result of performing verification on the printed content can be clarified.
Disclosure of Invention
Technical problem
Since the conventional electronic arithmetic unit with a printing function performs printing based on a preset program, it is difficult to eliminate redundant printing during arithmetic operation and to properly perform desired printing.
The present invention has an advantage that, for example, printing can be performed appropriately.
Technical scheme
An arithmetic device according to the present invention includes:
an operation accepting unit that accepts an operation of an operation performed by a user; and
a print control unit that prints operation data including the operation result data after the operation based on a print instruction operation by a user,
the print control means includes computation process print invalidation means for invalidating the print instruction operation when it is determined that the print instruction operation by the user is in a process of receiving an operation based on the computation by the computation receiving means or in a process of setting computation data corresponding to the computed operation.
ADVANTAGEOUS EFFECTS OF INVENTION
According to the present invention, printing can be performed appropriately.
Drawings
Fig. 1 is a front view showing an external appearance of a desktop calculator 10 according to an embodiment of an arithmetic device of the present invention.
Fig. 2 is a block diagram showing an electronic circuit of the desktop electronic calculator 10.
Fig. 3 is a diagram showing a specific example (first embodiment) of the arithmetic operation data corresponding to the conversion of money registered in the arithmetic data memory 22d of the desktop calculator 10.
Fig. 4 is a diagram showing a specific example (second embodiment) of the arithmetic operation data corresponding to the tax operation registered in the arithmetic data memory 22d of the desktop electronic calculator 10.
Fig. 5 is a flowchart showing (one of) the arithmetic data printing process of the desktop computer 10.
Fig. 6 is a flowchart showing (a second) arithmetic data printing processing of the desktop electronic calculator 10.
Fig. 7 is a flowchart showing (a third) calculation data printing processing of the desktop calculator 10.
Fig. 8 is a flowchart showing (the fourth) arithmetic data printing processing of the desktop computer 10.
Fig. 9 is a flowchart showing (the fifth) arithmetic data printing processing of the desktop computer 10.
Fig. 10 is a flowchart showing a registered data printing process in the arithmetic data printing process (fifthly) of the desktop calculator 10.
Fig. 11 is a diagram showing a display/printing operation corresponding to the user operation in the first embodiment of the arithmetic data printing process.
Fig. 12 is a diagram showing a display/printing operation corresponding to a user operation in the second embodiment of the arithmetic data printing process.
Description of the reference numerals
10. desktop electronic calculator
11. Key input section
11 a. PRT (print mode) key
11 b. tax +. key (including tax operation)
11 c. tax- ] (non-tax operation) key
11d · [. v ] (registration data confirm) key
11e · Δ (registration data confirmation) key
11 f.cndot. (CORRECT) bond
11 g. REPRINT (REPRINT) (registered data printing) Key
11 h. CA (clear all) bond
11i · [% (setting) ] (conversion rate setting) bond
11 j. $ (U.S. key)
11 k. C1 (Currency 1) bond
11 l. cndot. C2 (currency 2) bond
11 m. C3 (currency 3) bond
11 n. cndot. (total) bond
12. display part
13. printing section
P.recording paper
21···CPU
22. memory
22a · operation data printing processing program
22b PRINT (PRINT) mode memory
22c · operation mode memory
22d · operation data memory
22 e.column memory
22f · state flag memory
22g · conversion rate memory
23. external storage Medium
24. storage medium reading section
25. communication section
30. Web Server
N. a communications network.
Detailed Description
Embodiments of the present invention will be described below with reference to the drawings.
Fig. 1 is a front view showing an external appearance of a desktop calculator 10 according to an embodiment of an arithmetic device of the present invention.
The electronic desk calculator 10 includes not only an arithmetic unit dedicated to arithmetic operation but also all forms of personal computers (including tablet computers) having arithmetic operation and printing functions (a storage medium in which an arithmetic data printing process program is installed or stored), portable telephones including smart phones, touch panel PDAs (personal digital assistants), electronic books, portable game machines, and the like.
An arithmetic device not equipped with a printing device such as the desktop calculator 10 is connected to an external printing device by communication such as short-range wireless communication, and transmits a print control signal and print data to the printing device to execute a printing process.
The desktop electronic calculator 10 includes a key input unit 11 on the front side of a desktop main body casing that is placed on a desk and is easy to operate, and a display unit 12 and a printing unit 13 inside the key input unit 1. The keys of the key input unit 11 may be physical keys (e.g., buttons) or software keys. In the case of the software key, the key input unit 11 may be a part of the display unit 12, or may be a display different from the display unit 12.
The electronic calculator 10 of the present embodiment has a normal operation function such as addition, subtraction, multiplication, and division in accordance with the input of the key input unit 11, a money conversion function of performing money conversion corresponding to a money exchange rate for numeric data input by a user operation, a tax operation function of performing tax operation based on a tax rate, a display function of displaying various operation results after the normal operation, the money conversion, and the tax operation on the display unit 12, and a printing function of printing operation data such as an operation formula part of the operation data of the key input operation or operation result data by the printing unit 13.
The key input unit 11 is provided with a numeric key, an operator key, a currency conversion function key, a tax operation function key, a printing function key, a confirmation/correction function key, and other function keys.
The numerical keys include, for example, a plurality of keys corresponding to [00] [0] to [9 ]. The operator keys include, for example, a plurality of keys corresponding to [ + ] (addition-calculation-sum) key, [ - ] (subtraction-calculation) key, [ × ] (multiplication-calculation) key, [ div ] (division-calculation) key, respectively. When the [ + ═ key (addition calculation total) is input, the calculation result of the total of the values input up to the value before the [ + ═ key can be obtained by the calculation function of the desktop calculator 10.
The currency conversion function key includes: power (on/off/item/toggle) key 11e, [% (set) ] (conversion rate set) key 11i, [ M ($) ] key 11j, [ M (C1) ] key 11k, [ M- (C2) ] key 11l, and [ M + (C3) ] key 11M. The [ M ($) ] bond 11j to [ M + (C3) ] bond 11M function as [ $ (dollar) bond 11j, [ C1] (currency 1) bond 11k, [ C2] (currency 2) bond 11l, and [ C3] (currency 3) bond 11M, respectively, in a state where the power key 11E is switched to the position of [ conversion ] (currency conversion).
The tax operation function key includes: a [ tax + ] (including tax operation: tax operation 1) key 11b, and a [ tax- ] (not including tax operation: tax operation 2) key 11 c.
The print function key includes: a [ PRT ] (print mode) key 11a, and a [ reprint ] (registered data print) key 11 g.
The confirm/correct function key includes: the data confirm key ([. DELTA ] key 11d as a down key, and [. DELTA ] key 11e as an up key) and the [ CORRECT ] (CORRECT) key 11f are registered.
Other function keys include, for example: all clear bonds ([ CA ] bond 11h), clear bonds ([ C ] bond), total bonds ([ G ] bond), total bonds ([. gth ] bond 11n), and the like.
The display unit 12 includes a display unit such as a liquid crystal or an OLED (Organic Light Emitting Diode). The display unit 12 displays a display corresponding to an operation of a key of the key input unit 11. The numerical value of the limited number of lines (for example, 1 to 2 lines) is displayed in the display section 12. In a state display area provided along the side of the display unit 12 (for example, near the upper side of the display unit 12 in fig. 11), numerals, characters, and symbols (symbols) indicating various states such as a line number of arithmetic operation data and an arithmetic mode in setting are displayed. The arithmetic operation data includes at least a part of numerical value data such as 0, 1, operator data such as + and-tax, and data for performing tax arithmetic operations such as [ tax + ], and is data formed based on operations of arithmetic operations performed by the user.
The printing unit 13 includes, for example, a thermal transfer printing mechanism or an ink jet printing mechanism, and prints and outputs a result obtained by performing an operation based on input numerical data, a money conversion operation or a tax operation, a result obtained by performing an operation on the operation data, and the like, on the recording paper P based on a setting state of the print mode off/on corresponding to the operation of the [ PRT ] key 11a and an input state of the [ reprint ] key 11 g.
Fig. 2 is a block diagram showing an electronic circuit of the desktop electronic calculator 10.
The electronic circuit of the desktop calculator 10 includes a CPU (processor) 21 as a computer. The CPU21 is an arithmetic unit that controls operations of each circuit unit in accordance with an arithmetic unit control program stored in the memory 22, executes various arithmetic functions for obtaining arithmetic result data in accordance with a user operation of the key input unit 11, and is also a print control unit that executes an arithmetic formula part of arithmetic operation data or a print function of arithmetic data such as arithmetic result data.
The CPU (processor) 21 is connected to the key input unit 11, the display unit 12, the printing unit 13, and the memory 22 via a bus 26, and 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 performs communication with an external device 30 such as a Web server.
The arithmetic unit control program may be stored in the memory 22 in advance, may be read from an external storage medium 23 by a storage medium reading unit 24 and stored in the memory 22, or may be downloaded from a Web server (program server) 30 on the communication network N via the communication unit 25 and stored in the memory 22.
The operator control program includes, in addition to various arithmetic processing (including money conversion processing and tax arithmetic processing) programs corresponding to user operations, an arithmetic data printing processing program 22a for printing arithmetic data of arithmetic processing executed in accordance with the arithmetic processing program.
The memory 22 is provided with 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 22 g.
The print mode memory 22b stores setting data for turning on the print mode in initial setting when the power of the personal computer 10 is turned on, and then switches and stores setting data for turning off the print mode and setting data for turning on the print mode every time the [ PRT ] (print mode) key 11a is operated. In addition, in a state where the print mode is on, printing is performed every time input of arithmetic operation data is determined.
At least one of the following setting data is stored in the operation pattern memory 22 c: setting data of a registration mode for sequentially registering operation data composed of numerical data input by a user operation and operation data or operation data of money conversion or tax operation by the user; confirming (checking) the setting data of the mode, which calls up and displays the operation data registered in the registration mode according to the input of the registration data confirmation key ([. DELTA ] key 11d, [. DELTA ] key 11 e); and setting data of a correction mode that is set in a state in which correction can be performed by an input of the [ correction ] (CORRECT) key 11f, for the arithmetic operation data that is called and displayed in the confirmation (verification) mode.
In the registration mode, a series of arithmetic operation data input in accordance with a user operation is associated with sequentially increasing line numbers and registered (stored) in the arithmetic data memory 22 d.
Fig. 3 and 4 are diagrams showing a specific example of the arithmetic operation data registered in the arithmetic data memory 22d of the desktop calculator 10, fig. 3 is a diagram showing a specific example (first embodiment) corresponding to a currency conversion, and fig. 4 is a diagram showing a specific example (second embodiment) corresponding to a tax operation.
The line number memory 22e stores data of a line number to be processed in the arithmetic data memory 22d in each of the register mode, the confirmation mode, the correction mode, and the reprint mode (registered data print mode) corresponding to the operation of the [ reprint ] key 11 g.
The state flag memory 22f stores therein a state flag indicating whether the operation state of the electronic calculator 10 corresponding to the operation data printing process 22a is in any one of [ a numerical value input state ], [ a tax amount display state including tax operation ], [ a tax amount display state not including tax operation ], and [ a tax amount display state not including tax operation ].
In the conversion rate memory 22g, in the setting mode of the conversion rate corresponding to the long press operation of the [% (set) ] (set conversion rate) key 11i, for example, the conversion rate of each country's money corresponding to the basic currency [ $ ] is associated with numerical value data input by the operation of the numerical value key and the type of money specified by the operation of the [ C1] (currency 1) keys 11k to [ C3] (currency 3) key 11m, for example, [ C1] is stored as the conversion rate of "yen", and [ C2] is stored as the conversion rate of "yen".
The desktop electronic calculator 10 having the above-described configuration realizes a function of printing operation data such as operation formula parts of various operation functions or operation data or operation result data as described in the following operation description by controlling the operations of the respective circuit parts by the CPU21 in accordance with commands described in the operator control program (including the operation data printing processing program 22a) and operating in cooperation with software and hardware.
The operation of the desktop electronic calculator 10 will be described below.
Fig. 5 to 9 are flowcharts showing (one to five) the arithmetic data printing process of the desktop calculator 10.
Fig. 10 is a flowchart showing a registered data printing process in the arithmetic data printing process (fifthly) of the desktop calculator 10.
(first embodiment)
In the first embodiment, an operation corresponding to a money conversion function in a state where the setting data of the print mode OFF is stored in the print mode memory 22b will be described.
Fig. 11 is a diagram showing a display/printing operation corresponding to the user operation in the first embodiment of the arithmetic data printing process.
In the desktop electronic calculator 10, when the power is turned on (here, the power key 11E is switched to the position of [ conversion ] (currency conversion)) according to the user operation, 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 arithmetic mode memory 22c, and the data of the line number "0" is stored in the line number memory 22E as the processing with the initial setting of the power on by the CPU21 (step S1).
In the state of the print mode (on), as shown in (a1) in fig. 11, if the [ PRT ] (print mode) key 11a is operated (yes in step S2), the setting data of the print mode (on) is switched to the setting data of the print mode (off) (step S3).
Then, when the [ CA ] key 11h is operated (yes in step S4), the data of the line number is changed and set to "0" (step S5).
Here, for example, when the conversion rate of "yen" corresponding to the basic currency "$" is 111.2 yen/$, and the conversion rate of "yen" is 6.585 yen/$, as shown in (a2) in fig. 11, since the yen exchange rate corresponding to "yen" is known, first, when numerical value data "111.2" is input (yes in step S8), the data of the line number is (+1) updated to "01", and is displayed on the display unit 12. 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 "numerical value input status" (step S9).
Then, when operator data [ ÷ ] (step S9a (yes)) is input in accordance with the operation of the operator key [ ÷ ] (division calculation), the input numerical value data "111.2" and the operator data [ ÷ ] are stored and registered in the area of the line number "01" of the arithmetic data memory 22d in accordance with the current line number data "01" stored in the line number memory 22e (step S9 b).
Next, when the numerical value data "6.585" is input (yes in step S8), the data of the line number is updated to "02" by (+1) in the same manner as described above, and is displayed on the display unit 12 (step S9).
Then, when operator data [ + ═ is inputted from the operation of the operator key [ + ═ to (addition calculation total) (yes in step S9 a), the inputted numerical value data "6.585" and the operator data [ + ═ are stored and registered in the area of the row number "02" of the operation data memory 22d from the current row number data "02" stored in the row number memory 22e (step S9 b). If the operator key [ + ═ is not operated (addition calculation total), the routine proceeds to (step S9a (no)) shown in fig. 6.
After step S9b, an operation corresponding to the arithmetic operation data "111.2 [ ÷ ]6.585[ + ═ ]" registered in the arithmetic data memory 22d is performed, and the operation result data "16.886 … …" (yen/yen) as the yen exchange rate corresponding to the "yen" is displayed on the display section 12 (step S9 c).
Here, since the printing mode (off) is in the state, the printing of the arithmetic operation data "111.2 [ ÷ 6.585[ + ═ and" and the arithmetic result data "16.886 … …" is not performed (step S9d (no)).
When the CPU21 determines that the print mode (on) is set (yes in step S9 d), the printing unit 13 sequentially prints the arithmetic operation data "16.886 … …" and the arithmetic result data "16.886 … …" on the recording paper P every time the arithmetic operation data "111.2 [ ÷ and" 6.585[ + ═ are registered in the arithmetic data memory 22d (step S9 e).
Next, in order to set the conversion ratios of "japanese" and "yuan", as shown in (a3) of fig. 11, when the [ CA ] key 11h is operated again (yes at step S4), the data of the line number is changed and set to "0" (step S5).
After the [ CA ] key 11h is operated (yes in step S4), as shown in fig. 8, if the [% (set) conversion rate (set) key 11i is pressed for a long time of 3 seconds or longer (yes in step S10 a), the process proceeds to step S10 b.
Next, as shown in (a4) in fig. 11, numerical value data "111.2" is input and displayed as the conversion rate of the "yen" (yes at step S10b → S10d), and as shown in (a5) in fig. 11, when the [ C1] (currency 1) key 11k is operated (yes at step S10 e), the conversion rate of the "yen" is registered in the conversion rate memory 22g [ C1: 111.2 yen/$ ] (step S10 g).
As shown in (A3) and (a4) of fig. 11, even when the [ reprint ] (registered data print) key 11g is operated (yes at step S10C) in the state of the conversion ratio setting from the long press operation of the [% (set) ] (set conversion ratio) key 11i (yes at step S10 a) to the time before the [ C1] (money 1) key 11k is operated (step S10d), no printing is performed, and thus, unnecessary printing is prevented.
Thereafter, similarly to the setting of the conversion rate of the "yen", in order to set the conversion rate of the "yen", as shown in (a6) in fig. 11, when the [% (setting) ] (conversion rate setting) key 11i is pressed again (yes in step S10 a), numeric value data "6.585" is input and displayed (yes in step S10b → S10d), and when the [ C2] (currency 2) key 11l is operated (yes in step S10 e), the conversion rate of the "yen" is registered in the conversion rate memory 22g [ C2: 6.585 bits/$ (step S10 g).
Here, as described above, in the setting of the conversion ratio from the state of long press of the [% (set) ] (set conversion ratio) key 11i (yes in step S10 a) to the state of not operating the [ C2] (money 2) key 11l (step S10d), even if the [ reprint ] (registered data print) key 11g is operated (yes in step S10 f), no printing is performed, and thus redundant printing is prevented.
As shown in (a6) of fig. 11, when the [ reprint ] (registered data print) key 11g is operated from (r) to (v) after the conversion rate of "japanese yen" or "yuan" is registered in the conversion rate memory 22g (yes in step S57), the process proceeds to (step S58) when the registered data print processing SP is executed (fig. 9) but the [ reprint ] (registered data print) key 11g is not operated.
In the registered data printing process SP, as shown in fig. 11a 3, since the arithmetic operation data in the arithmetic data memory 22d is erased based on the operation of the [ CA ] key 11h, when the [ reprint ] (registered data printing) key 11g is operated, as shown in fig. 11B 1, since the registered data printing start mark "· · 0 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · when the [ reprint ] (all erased) printing in the reprint mode is merely printed on the recording paper P by the printing section 13 (step P1), even if the current line number data with respect to the arithmetic data memory 22d is updated to" 01 "or more", no arithmetic operation data, such arithmetic operation data and arithmetic result data are not printed (steps P2 to P8 (no) → return).
Here, it is assumed that japanese purchases 4 300-dollar products in a store capable of using chinese dollars, the freight rate of the purchased products for japan is 100 dollars, and the total amount including the freight rate is calculated by converting the total amount into japanese dollars.
As shown in fig. 11a 7, when numerical value data "300" as the price of the product is input in response to the user operation of the numerical value key after the operation of the [ CA ] key 11h (yes in step S4 and no in step S6) (yes in step S8), the data of the line number is (+1) updated to "01", and displayed on the display unit 12. The input numerical value data "300" is displayed on the display unit 12. Then, the status flag of the status flag memory 22f is set to "numerical value input status" (step S9).
Then, when operator data [ x ] is input in accordance with an operation of an operator key [ x ] (multiplication) (yes in step S9 a), the input numerical value data "300" and the operator data [ x ] are stored and registered in an area of a row number "01" of the operation data memory 22d (see fig. 3) in accordance with the current row number data "01" stored in the row number memory 22e (no in step S9b, step S9c, step S9 d).
Next, as shown in (A8) of fig. 11, when numerical data "4" as the number of purchased products is input (yes in step S8), the data of the line number is updated to "02" by (+1) as described above, and displayed on the display unit 12 (step S9).
Then, when operator data [ + ═ is input by an operation of an operator key [ + ═ in ] (addition calculation total) (yes in step S9 a), the input numerical value data "4" and the operator data [ + ═ are stored and registered in an area of a row number "02" in the operation data memory 22d (see fig. 3) from the current row number data "02" stored in the row number memory 22e (step S9 b).
Then, an operation corresponding to the 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 products is displayed on the display unit 12 (step S9 c).
Next, as shown in (a9) of fig. 11, when numerical data "100" as the freight rate of the purchased product is input (yes in step S8), the data of the line number is updated to "03" by (+1) in the same manner as described above, and is displayed on the display unit 12 (step S9).
Then, when operator data [ + ═ is inputted by an operation of an operator key [ + ═ to (addition calculation total) (yes in step S9 a), the inputted numerical value data "100" and the operator data [ + ]arestored and registered in an area of a row number "03" in the operation data memory 22d (see fig. 3) from the current row number data "03" stored in the row number memory 22e in the same manner as described above (step S9 b).
Then, the calculation corresponding to the calculation operation data "100 [ + ═ ]" registered in the calculation data memory 22d is executed, and the calculation result data "1300" which is the total amount including the freight rate of the purchased product is displayed on the display unit 12 (step S9 c).
Here, when the total amount "1300 yuan" including the freight rate of the purchased product is designated as a conversion target by the operation of the [ ("total") key 11n, the routine proceeds to step S9f (yes) shown in fig. 8. In step S9f, if the [ (total) key 11n is not operated, the process proceeds to step S9 d. In order to convert the total "1300 yuan" from "yuan" to "yen", first, as shown in fig. 11 (a10), when the [ C2] (currency 2) key 11l in which the conversion rate of "yuan" is set is operated (step S10h (yes)), the data of the line number is (+1) updated to "04", and displayed. Then, the displayed numerical value data "1300" is divided by the conversion rate of "element" registered in the conversion rate memory 22g [ C2: 6.585 yen/$ ], and calculates a total amount "197.4183 … …" converted into a basic currency "$" (step S10 i).
Then, the arithmetic operation data "[ ÷ ] [ C2 ]" obtained by dividing the displayed numerical value data "1300" by the conversion rate [ C2] is stored and registered in the area of the line number "04" of the arithmetic data memory 22d (see fig. 3) based on the current line number data "04" stored in the line number memory 22e (step S10 j).
Here, for example, in a case where it is determined that the state of the print mode (open) is present (yes in step S10 k), as shown in (B2) in fig. 11, immediately following the operation formula portion "300 [ × ]4[ + ═ 100[ + ]" of the operation data associated with the line numbers "01" to "03" printed on the recording paper P and the operation result data "1300" thereof, as shown in (B2) PR1 in fig. 11, the numerical value data "1300" displayed as described above is divided by the conversion rate of the "element" [ C2: the operation formula part of the operation data of 6.585 bits/$ and the operation result data "197.4183 … … $" are printed as operation data (S10 l).
In the first embodiment, since the print mode is set (off), the printing in step S10l is not performed.
As shown in (a10) and (a11) of fig. 11, even when the [ reprint ] (registered data print) key 11g is operated (yes at step S10 n), no printing is performed in the conversion operation from the operation of the [ C2] (money 2) key 11l (yes at step S10 h) to the operation of the [ C1] (money 1) key 11k (step S10j), thereby preventing redundant printing.
Thereafter, as shown in (a11) in fig. 11, when the [ C1] (currency 1) key 11k in which the conversion rate of "yen" is set is operated (yes in step S10 m), the numerical value data "197.4183 … …" $ "converted into the basic currency" $ "is multiplied by the conversion rate of" yen "registered in the conversion rate memory 22g [ C1: 111.2 yen/$ ], and calculates the total amount "21953" yen converted to "yen" (step S10 o).
Then, the data of the line number is updated to "05" and displayed (+1), and in the area of the line number "05" of the arithmetic data memory 22d (see fig. 3), arithmetic operation data "[ × ] [ C1 ]" obtained by dividing the numerical value data "197.4183 … …" $ converted from the "element" into "dollars" by the conversion rate [ C1] of the "yen" is stored and registered (step S10 p).
Then, the display unit 12 displays operation result data "21953" obtained by multiplying the numerical value data "197.4183 … …" $ converted from "yuan" by the conversion rate [ C1] of "yen" (step S10 q).
Here, for example, in a case where it is determined that the state of the print mode (open) is present (yes in step S10 r), as shown in (B2) PR1 in fig. 11 described above, the operation formula portion "300 [ × ]4[ + ]100[ + ═ ]" and the operation result data "1300" thereof immediately following the operation data associated with the line numbers "01" to "04" printed on the recording paper P, and the conversion rate [ C2: the operation formula portion of the operation data of 6.585 bits/$ ] and the operation result data "197.4183 … … $" thereof are, as shown in (B2) PR2 in fig. 11, obtained by multiplying the numerical value data "197.4183 … …" converted into the base currency "$" by the conversion rate of the "yen" [ C1: the operation formula part of the operation data of 111.2 yen/$ and the operation result data "21953" are printed (step 10 s).
In the first embodiment, since the print mode is set (off), the printing of the arithmetic data such as the arithmetic formula part of the arithmetic operation data or the arithmetic result data in step S10S is not performed.
Then, as shown in fig. 11 (a11), after conversion of the money from the total amount "1300" of the "yen" to the total amount "21953" of the "yen" in accordance with the operation of the [ C2] (money 2) key 11l to the [ C1] (money 1) key 11k is completed, the [ reprint ] (registration data printing) key 11g is operated (step S57 (yes) → SP) after the lapse of (r) to (r), and then the registration data printing process shown in fig. 10 is executed.
When the registered data printing process is started, as shown in (B2) of fig. 11, the printing unit 13 prints a registered data printing start mark "· · 0 · · · · · · · · · · · · · ·", which indicates a case of [ CA ] (all clear) printing in the reprint mode (step P1).
Then, the current line number data of the line number memory 22e is set to "01" (step P2), and it is judged whether or not the arithmetic operation data associated with the current line number "01" and registered in the arithmetic data memory 22d is arithmetic data of an arithmetic formula section including numerical value data, operator data, or arithmetic operation data including tax (or non-tax) data (step P3).
Here, it is determined that the arithmetic operation data which is associated with the current line number "01" and is registered in the arithmetic data memory 22d (see fig. 3) is arithmetic operation data including numerical value data "300" and operator data [ × ] (step P3 (yes)).
Then, immediately after the registration data printing start mark "· · 0 · · · · · · · · · · · · · · · · · · · · · printed on the recording paper P, the arithmetic data corresponding to the numerical value data" 300 "and the operator data [ × ] is printed on the recording paper P by the printing portion 13 (step P4).
Thereafter, it is determined whether or not the arithmetic operation data associated with the next line number exists in the arithmetic data memory 22d (see fig. 3) (step P8). Here, it is determined that there is arithmetic operation data (4[ + ═ ]) associated with the next line number "02" (yes in step P8), and the current line number "01" of the line number memory 22e is updated to "02" (step P9) by (+ 1).
Then, it is determined that the arithmetic operation data stored in the arithmetic data memory 22d (see fig. 3) in association with the current line number "02" is arithmetic operation data including numerical value data "4" and operator data [ + ═ as ] as in the above-described case (yes at step P3), and arithmetic data corresponding to the numerical value data "4" and operator data [ + ═ and its arithmetic result data "1200" are printed on the recording paper P by the printing unit 13 (step P4).
Thereafter, as shown in fig. 11B 2, the operation data corresponding to the operation data registered in each of the line numbers "03" to "05" of the operation data memory 22d (see fig. 3) and the operation result data thereof are printed in sequence as (100[ + ]) (1300 [) ] … … (21953[ C ]) (steps P3, P4, P8, and P9).
Thus, even in the state of the print mode (off), if the money conversion is completed, by operating the [ reprint ] (registered data print) key 11g, the arithmetic formula portion corresponding to the series of arithmetic operation data associated with the purchase of the product and the series of arithmetic operation data associated with the money conversion, and the arithmetic result data thereof can be easily printed on the recording paper P.
Therefore, according to the desktop calculator 10 of the first embodiment having the above-described configuration, the operation formula portion of the operation data and the operation result data corresponding to the user operation can be sequentially printed on the recording paper P in the print mode (open state), and even in the print mode (closed state), if the money conversion is completed, the operation formula portion of the series of operation data registered in the operation data memory 22d and the operation result data thereof can be collectively printed on the recording paper P by operating the [ reprint ] (registered data printing) key 11 g. Further, regardless of the state of the print mode on/off, when the process of the money conversion process is in a state in which the conversion rate is set or in a state in which the conversion operation is performed, no printing is performed even if the [ reprint ] (registered data printing) key 11g is operated, and therefore, it is possible to prevent redundant printing.
Thus, since the printing can be performed in accordance with the user operation after the completion of the money conversion with respect to the calculation data registered in accordance with the calculation operation, it is possible to eliminate redundant printing that is repeated by the printing instruction before the completion of the money conversion, and to appropriately perform necessary printing.
(second embodiment)
In the second embodiment, an operation corresponding to a tax calculation function in a state where the setting data of the print mode on is stored in the print mode memory 22b will be described.
Fig. 12 is a diagram showing a display/print operation corresponding to a user operation in the second embodiment of the arithmetic data print processing.
In the desktop electronic calculator 10, in a state of the print mode (on) in which the setting data of the print mode (on) is stored in the print mode memory 22b (step S1), for example, as shown in (a1) of fig. 12, if the [ CA ] key 11h is operated (yes in step S4), the data of the line number memory 22e is set to "0" (step S5). Numerical value data "0" and a symbol "PRT" indicating a state in the print mode (on) are displayed in the display portion 12.
Here, when the CPU21 determines that the state is the print mode (open) (yes in step S6), the printing unit 13 prints a normal print start mark "· · 0 · · · · · · · · · · · · · · · when the recording paper P is in the print mode (open) state, which indicates a case of printing corresponding to the operation of the [ CA ] (Clear All) key 11h in the print mode (open) (step S7), as shown in (B1) of fig. 12.
As shown in fig. 12 (a2), when numerical value data "200" as a commodity price (not including a tax amount) is input by a user operation of the numerical value key (yes in step S8), the data of the line number is updated to (+1) and displayed on the display unit 12 as "01", and the input numerical value data "200" is displayed on the display unit 12. The state flag of the state flag memory 22f is set to "numerical value input state" (step S9).
Here, as shown in (a3) of fig. 12, when the [ tax + ] (including tax operation: tax operation 1) key 11b is operated (yes at step S10), it is determined whether or not the state flag of the state flag memory 22f is in the "value input state" (step S11).
If it is determined that the status flag is "numerical value input status" (yes in step S11), the input numerical value data "200" and tax (tax 1) data [ tax + ] corresponding to the [ tax + ] (tax 1) key 11b are registered (stored) in the area of the row number "01" of the calculation data memory 22d (see (a) in fig. 4) based on the current row number data "01" stored in the row number memory 22e (step S12).
Then, tax-containing operation (tax operation 1) (tax rate 8% in the present embodiment) is performed on the numerical data "200" (step S13), and the row number data "01" is updated to "02" by (+1) and displayed on the display unit 12, and at the same time, tax-containing data (tax operation 1 result data) "216" after the tax-containing operation is displayed, and a symbol "tax +" indicating the tax-containing amount is displayed. The status flag of the status flag memory 22f is set to [ tax amount display status including tax operation ] (step S14).
Here, if it is determined that the print mode open setting data is stored in the print mode memory 22B (yes in step S15) and it is determined that the calculation result data of the tax containing calculation (tax calculation 1) is not printed (no in step S16), as shown in (B1) of fig. 12, the normal print start mark "· · 0 · · · · · · · · · · · · · · · · S" is printed on the recording paper P by the printing unit 13, the input numerical data (tax free data) "200" and tax free mark "" T "are printed on the recording paper P, the tax rate data" 8 "and tax free mark"% T "are printed on the next print line, the tax data" 16 "and tax free mark" T "are printed on the next print line, the tax containing data (tax calculation 1 result data)" 216 "and tax containing mark" + T "are printed on the next print line, as the tax operation print data including the tax operation (step S17).
Here, as shown in (a4) of fig. 12, when the [ tax + ] (tax operation: tax operation 1) key 11b is operated again (yes in step S10), it is determined that the status flag of the status flag memory 22f is [ tax amount display status of tax operation ] (yes in step S18).
Then, tax-containing data (tax operation 1 data) [ tax + ] (tax operation: tax operation 1) corresponding to the [ tax + ] (tax operation: tax operation 1) key 11b is stored and registered in the region of the line number "02" of the operation data memory 22d (see (a) in fig. 4) based on the current line number data "02" stored in the line number memory 22e (step S19).
Then, the line number data "02" is updated to "03" and displayed (+1), and the tax amount data "16" after the tax-containing calculation is displayed, and a symbol "tax" indicating the tax amount is displayed. The status flag of the status flag memory 22f is set to [ tax amount display status including tax operation ] (step S20).
Here, as shown in (a5) of fig. 12, when the [ tax + ] key 11b is operated again (yes in step S10), it is determined that the state flag is [ tax amount display state including tax operation ] (yes in step S21).
Then, the tax-containing data (tax operation 1 data) [ tax + ]correspondingto the [ tax + ] key 11b is stored and registered in the area of the line number "03" of the operation data memory 22d (see (a) in fig. 4) based on the current line number data "03" stored in the line number memory 22e (step S22).
The line number data "03" is updated to "04" and displayed (+1), and the tax amount data "216" including the tax operation is displayed again, and a symbol "tax +" indicating the tax amount is displayed. Then, the status flag of the status flag memory 22f is set again to [ tax amount display status including tax operation ] (step S23).
Here, as shown in (a6) of fig. 12, when the [ tax- ] (tax free operation: tax operation 2) key 11c is operated (yes in step S27), if the input of the numerical value is not continued (no in step S28), it is determined that the status flag is [ tax containing (tax containing amount display) status ] (yes in step S41).
Then, the non-tax data (tax operation 2 data) [ tax- ] corresponding to the [ tax- ] key 11c is stored and registered in the area of the line number "04" of the operation data memory 22d (see (a) in fig. 4) based on the current line number data "04" (step S42).
Then, the line number data "04" is updated to "05" and displayed (+1), and the non-tax amount data "200" is displayed, and the symbol "tax-" indicating the non-tax amount is displayed. The status flag of the status flag memory 22f is set to [ tax free display status of tax free operation ] (step S43).
In this way, when the [ tax + ] (inclusive tax operation) key 11b is operated while the numerical data "200" is input, inclusive tax operation is performed, and the data "216" inclusive tax and the symbol "tax +" thereof are displayed, and then the [ tax + ] key 11b is operated, at this time, the data "16" inclusive and the symbol "tax" thereof, and the data "216" inclusive and the symbol "tax +" thereof are alternately displayed every time this operation is performed, and further, when the [ tax- ] key 11c is operated, the data "200" exclusive of tax and the symbol "tax-" thereof can be alternately displayed. Therefore, the content of the tax calculation can be easily confirmed on the display unit 12 at hand.
At this time, after the tax-containing operation (tax operation 1) is executed based on the input of the numerical data "200" and the operation of the [ tax + ] (tax operation-containing) key 11b, and the non-tax amount data (input data) "200. -T", the tax rate data "8. T", the tax amount data "16. T", and the tax amount-containing data (tax operation 2 result data) "216. + T" which are the tax operation print data of the tax-containing operation (tax operation 1) are printed on the recording paper P, the continued operation of the [ tax + ] key 11b or the [ tax- ] key 11b is judged even in the set state where the print mode is on, and the state flag is continued to the [ tax amount-containing (tax amount display/tax amount display) state ] or [ non-tax amount display/amount display) state ] or the non-tax operation (non-tax amount display/amount display) state ], as shown in (a4) to (a6) in fig. 12, tax amount data "16" → tax amount data "216" → tax amount data not "200" are displayed, and printing processing is not performed for each confirmation. Thereby controlling the printing of unnecessary duplicated content so as not to be duplicated.
Next, in order to confirm the contents of a series of operation data corresponding to the tax-containing operation (tax operation 1), as shown in (a7) of fig. 12, when the registered data confirmation key ([) 11d is operated (yes in step S44), the setting data of the operation mode memory 22c is set to a confirmation (verification) mode, and the symbol "REV" of the confirmation mode is displayed on the display unit 12. Further, the operation data (numerical data (data not including tax amount) "200" and data including tax (tax operation 1) [ tax + ]) which are associated with and registered with the line number "01" at the head of the operation data memory 22d are called and displayed on the display unit 12 together with the line number "01" (step S45).
Here, in order to modify the numerical data (not including the tax amount data) "200" corresponding to the line number "01" which is displayed and confirmed on the display unit 12, as shown in (A8) of fig. 12, when the [ modification ] (modification) key 11f is operated (yes in step S49), the setting data of the arithmetic mode memory 22c is set to the modification mode, and the symbol "CRT" of the modification mode is displayed on the display unit 12 (step S50).
Then, as shown in (a9) of fig. 12, correct numerical data "300" is input and displayed (step S51 (yes), S52), and as shown in (a10) of fig. 12, when the [ correction ] (correction) key 11f is operated again (step S53 (yes)), the arithmetic operation data (numerical data (non-tax data)) "200" stored in the arithmetic data memory 22d in association with the current line number "01" is replaced with the input numerical data "300" and registered (step S54) (see (a), (B) of fig. 4). Then, the symbol "CRT" of the correction mode displayed on the display unit 12 is removed (step S55).
As shown in (A8) and (a9) of fig. 12, even when the [ reprint ] (registered data printing) key 11g is operated (yes at step S51 a)/S53 a) in the state in which the correction operation of the arithmetic operation data corresponding to the operation from the first operation (yes at step S49) to the time before the second operation (step S53) of the [ correction ] (correction) key 11f is in progress, no printing is performed, and thus unnecessary printing is prevented.
Thereafter, as shown in (a11) to (a13) of fig. 12, when the registration data confirm key ([ tom ] key 11d) is repeatedly operated (yes in step S46), it is checked whether or not there is operation data associated with the next row number to the current row number and registered in the operation data memory 22d every time the operation is performed (step S47). When there is arithmetic operation data associated with the next line number (yes in step S47), the arithmetic operation data is called and displayed on the display unit 12 together with the next line number (step S48).
That is, as shown in fig. 12 (a11), when the registration data confirmation key ([ tom ] key 11d) is operated (second time in the confirmation mode), corrected operation data (numerical data (non-tax amount data) "300") registered in association with the row number "01", tax amount data (tax operation 1 result data) "324" after tax amount operation (tax operation 1) is performed based on tax amount data (tax operation 1 data) [ tax + ]) registered by the input operation after the input operation of "200" before correction, and a symbol "tax +" corresponding to the tax amount data [ tax + ] called in association with the row number "02" are displayed. In other words, the tax amount data "324" which is the result of the processing of the tax amount data "tax +" indicated by the symbol (a10) in fig. 12 is displayed with respect to the numerical data "300" indicated by (a10) in fig. 12, and "tax +" in the row number "02" for displaying the tax amount data which is the next processing for the tax amount data "324" is displayed as a mark.
Further, as shown in (a12) in fig. 12, when the registered data confirmation key ([ tom ] key 11d) is operated (third time), tax amount data "24" of the result after the tax-containing operation (tax operation 1) is performed based on tax-containing data (tax operation 1 data) [ tax + ] registered in association with the row number "02" and a symbol "tax +" corresponding to the tax-containing data [ tax + ] called in association with the row number "03" are displayed. In other words, the tax amount data "24" which is the result of the processing of the tax amount-containing data "tax +" indicated by (a11) in fig. 12 is displayed for the numerical value data "324" indicated by (a11) in fig. 12, and "tax +" in the row number "03" for displaying the tax amount-containing data, which is the next processing for the tax amount data "24", is displayed as a symbol.
Further, as shown in (a13) of fig. 12, when the registered data confirmation key ([ tom ] key 11d) is operated (fourth time), tax amount-containing data "324" of a result after the tax-containing operation (tax operation) is performed based on tax-containing data [ tax + ] registered in association with the row number "03" and a symbol "tax-" corresponding to tax-free data (tax operation 2 data) [ tax- ] called in association with the row number "04" are displayed. In other words, the tax amount data "324" which is the result of the processing of the tax amount-containing data "tax +" indicated by (a12) in fig. 12 is displayed for the numerical value data "24" indicated by (a12) in fig. 12, and the "tax-" in the row number "04" for displaying no tax amount data which is the next processing for the tax amount-containing data "324" is displayed as a symbol.
Thus, even after correcting a part of a series of operation data after tax operation by the tax-containing operation (or tax-free operation), the corrected tax-containing data, tax data, and tax-free data can be easily confirmed by repeatedly operating the registered data confirmation key ([. v ] key 11 d).
In the step S44, when the registered data confirmation key ([. DELTA. ] key 11e) is operated and the confirmation (search) mode is set, the arithmetic operation data associated with the last line number is called and displayed among the series of arithmetic operation data registered in association with the line numbers of the arithmetic data memory 22d (step S45).
Further, in the confirmation (search) mode, in the case where the registered data confirmation key ([. DELTA. ] key 11e) is operated (YES in step S46), the arithmetic operation data associated with the line number one before the current line number and registered in the arithmetic data memory 22d is called, and the result data or symbol of the tax operation based on the arithmetic operation data is displayed (steps S47, S48).
Then, as shown in (a14) of fig. 12, when the [ reprint ] (registration data printing) key 11g is operated in a state where tax amount-containing data (tax operation 1 result data) "324" corresponding to the operation data (tax-containing data (tax operation 1 data) [ tax + ]) of the line number "03" is displayed (yes at step S56), the registration data printing process shown in fig. 10 is executed (step SP).
That is, when the registered data printing process is started, as shown in (B2) of fig. 12, the printing unit 13 prints a registered data printing start mark "· · 0 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · when the recording paper P shows the case of [ CA ] (all clear) printing in the reprint mode (step P1).
The current line number data of the line number memory 22e is set to "01" (step P2), and it is determined whether or not the arithmetic operation data stored in the arithmetic data memory 22d in association with the current line number "01" is arithmetic operation data including numerical value data and arithmetic data or tax-containing (or non-tax-containing) data (step P3).
Here, it is determined that the arithmetic operation data which is associated with the current line number "01" and registered in the arithmetic data memory 22d (see (B) in fig. 4) is arithmetic operation data including numerical value data "300" and tax-containing data (tax operation 1 data) [ tax + ] (yes in step P3).
Then, as tax calculation data corresponding to the numerical data "300" and the tax-containing data [ tax + ], the printing unit 13 prints the numerical data (without tax data) "300" and without tax label "-T", the tax rate data "8" and tax label "% T", the tax data "24" and tax label "T", the tax-containing data (tax calculation 1 result data) "324" and with tax label "+ T" on the recording paper P (step P4).
Thereafter, it is determined whether or not there is arithmetic operation data associated with the next line number in the arithmetic data memory 22d (refer to (B) in fig. 4) (step P8). Here, it is determined that there is operation data (including tax data [ tax + ]) associated with the next line number "02" (yes in step P8), the current line number "01" of the line number memory 22e is (+1) and "02" is entered (step P9).
Then, it is determined that the arithmetic operation data associated with the current line number "02" and registered in the arithmetic data memory 22d (see (B) in fig. 4) is tax-containing data (tax operation 1 data) [ tax + ], and is neither arithmetic operation data including numerical value data and operator data nor arithmetic operation data including numerical value data and tax-containing (or non-tax-containing) data (step P3 (no)). In addition, since the arithmetic operation data associated with the previous line number "01" and the arithmetic operation data associated with the current line number "02" both include tax data (tax operation 1 data) [ tax + ], it is determined as continuous tax operation data (step P5 (yes)). In this case, printing (suppressing printing) on the recording paper P is not performed (step P6).
Thereafter, as described above, even when the current line number "02" is updated to "03" → "04" (steps P8 (yes), P9), since it is determined that the arithmetic operation data associated with each line number is continuous tax operation data (steps P3 (no), P5 (yes)), the printing (the print suppression) on the recording paper P is not performed (step P6).
Thus, even after correcting a part of the series of operation data subjected to the tax operation by the tax-containing operation (or non-tax operation), by operating the [ reprint ] (registered data printing) key 11g, it is possible to easily print non-tax amount data (-T), tax rate data (% T), tax amount data (T), and tax amount-containing data (+ T) corresponding to the corrected result data of the tax-containing operation on the recording sheet P.
At this time, since the registration data print start mark ". cndot. cndot." is printed at the head of the recording paper P, the user can clearly distinguish the normal print (normal print start mark ". cndot. cndot.) corresponding to the operation of the [ CA ] key 11h in the print mode (ON) and confirm that the corrected registration data is printed corresponding to the operation of the [ reprint ] key.
In addition, when it is determined that the arithmetic operation data stored in the arithmetic data memory 22d in association with the current line number is neither arithmetic operation data including numerical value data and arithmetic data or tax-containing (or tax-free) data (no in step P3) nor continuous tax arithmetic data (no in step P5), the arithmetic operation data stored in association with the current line number is printed (step P7).
In the second embodiment described with reference to fig. 12, for example, the processing of repeatedly operating the [ tax + ] (tax-inclusive operation: 1) key 11b and displaying it as tax-inclusive data "216" → tax-inclusive data "16" → tax-inclusive data "216" after inputting numerical data "200" that is a commodity price (tax-exclusive), and then operating the [ tax- ] (tax-exclusive operation: tax operation 2) key 11c and displaying tax-exclusive data "200" is described in accordance with the processing of steps S10 to S23 shown in fig. 6 and the processing of steps S41 to S43 shown in fig. 7.
On the other hand, for example, after numerical data, which is a commodity price (including a tax amount), is input, the processing of repeatedly operating the [ tax- ] (non-tax operation: tax operation 2) key 11c and displaying the non-tax amount data → the non-tax amount data and then operating the [ tax + ] (non-tax operation: tax operation 1) key 11b and displaying the tax amount data is performed, and only the processing of "tax" [ tax + ] and "non-tax" [ tax- ] is reversed and the same as the above-described processing, so that the processing is performed in accordance with the steps S27 to S40 shown in fig. 7 and the steps S24 to S26 shown in fig. 6.
Thus, according to the desktop electronic calculator 10 of the second embodiment having the above configuration, when the input numerical data and the tax-containing data (or non-tax data) corresponding to the operation of the tax operator key ([ tax + ] (inclusive) key or [ tax- ] (non-tax) key) are registered in the operation data memory 22d as the operation data associated with the row number data updated in sequence, and the registration data confirmation key ([ ] key 11d or [. DELTA ] key 11e) is operated, the registered operation data are called in sequence from the operation data associated with the row number data at the beginning (or end) and the tax-containing data (or non-tax data) and the tax amount data corresponding to the called operation data are displayed in sequence each time the key is operated. When the [ correction ] (correction) key 11f is operated, the mode is changed to the correction mode, and the numerical data including the tax amount data (or not including the tax amount data) in the display can be corrected. Then, when the [ reprint ] (registered data printing) key 11g is operated, tax amount-free data (-T), tax rate data (% T), tax amount data (T), and tax amount-containing data (+ T) corresponding to the corrected numerical value data are printed on the recording paper P. In the state in which the correction operation of the arithmetic operation data is in progress, even when the [ reprint ] (registered data printing) key 11g is operated, no printing is performed, and thus, redundant printing is prevented.
This makes it possible to easily confirm and modify the content of the tax operation, and to prevent unnecessary printing and save money.
In addition, as programs executable by the computer, the methods of the processes of the desktop electronic calculator 10 described in the embodiments, that is, the methods of the calculation data printing process shown in the flowcharts of fig. 5 to 9 and the registration data printing process shown in the flowchart of fig. 10 can be widely stored in media of external storage devices such as memory cards (ROM cards, RAM cards, and the like), magnetic disks (floppy disks (registered trademark), hard disks, and the like), optical disks (CD-ROMs, DVDs, and the like), semiconductor memories, and the like. The Computer (CPU) having the electronic arithmetic unit with the printing function reads a program stored in a medium of the external storage device into the storage device, and controls the operation by the read program, thereby realizing the arithmetic data printing function described in each of the above embodiments and executing the same processing by the above method.
The data of the program for realizing each method may be transmitted as a program code on a communication network (N), or the program data may be introduced from a computer device (program server) connected to the communication network (N) to an electronic arithmetic unit having a printing function and stored in a storage device, thereby realizing the arithmetic data printing function.
The invention of the present application is not limited to the above embodiments, and various modifications can be made in the implementation stage without departing from the gist thereof. Further, the embodiments described above include inventions at various stages, and various inventions can be obtained by appropriately combining a plurality of disclosed structural elements. For example, even if some of the constituent elements shown in the respective embodiments are deleted or some of the constituent elements are combined in different forms, if at least one of the problems described in the technical problem section is effective, an invention can be obtained as a structure in which the constituent elements are deleted or combined.

Claims (13)

1. An arithmetic device, comprising:
an operation accepting unit that accepts an operation of an operation performed by a user; and
a print control unit that prints operation data including operation result data of the operation based on a print instruction operation by a user,
the print control means includes computation process print invalidation means for invalidating the print instruction operation when the user determines that the operation is accepted by the computation accepting means or the computation data corresponding to the computed operation is set when the user has performed the print instruction operation.
2. The arithmetic device of claim 1,
the accepting process of the operation based on the operation of the operation accepting unit is an accepting process of the converted operation.
3. The arithmetic device according to claim 1 or 2,
the operation data corresponding to the operation of the operation accepted by the operation accepting unit includes scaled operation data,
the arithmetic device includes a conversion rate setting unit for setting a conversion rate in accordance with a user operation,
the setting process of the operation data corresponding to the operation of the operation accepted by the operation accepting means is a setting process of a conversion rate corresponding to the converted operation data.
4. The arithmetic device according to claim 1, further comprising an arithmetic unit that acquires arithmetic result data in accordance with the operation of the operation accepted by the operation accepting unit.
5. The arithmetic device of claim 4,
the operation of the operation accepted by the operation accepting unit includes an operation of a tax operation, the operation data corresponding to the operation of the tax operation includes operation data of the tax operation,
the operation unit has a tax operation unit that acquires tax operation result data when an operation of a tax operation is accepted by the operation acceptance unit.
6. The arithmetic device according to claim 5, further comprising:
a display control unit that displays the tax operation result data calculated by the tax operation unit; and
and a non-printing display control unit that displays the tax amount data corresponding to the tax operation result data so as not to perform printing when the operation of the tax operation is accepted by the operation acceptance unit in a state where the tax operation result data is displayed by the display control unit.
7. The computing device of claim 5,
the print control unit includes a tax print control unit that prints tax operation print data including tax operation result data calculated by the tax operation unit and tax amount data corresponding to the tax operation result data.
8. The arithmetic device of claim 1,
the arithmetic device further includes a numerical value data input unit that inputs numerical value data in accordance with a user operation,
the operation accepting unit accepts an operation for operating the numerical data.
9. The arithmetic device of claim 1,
the arithmetic device further includes an arithmetic operation data registration unit that registers arithmetic operation data based on the operation of the operation accepted by the arithmetic acceptance unit.
10. The computing device of claim 9,
the arithmetic device includes numerical value data correction means for correcting the numerical value data registered as arithmetic operation data by the arithmetic operation data registration means in accordance with a user operation,
the printing control unit includes a correction process printing invalidation unit that invalidates the printing instruction operation when the user has performed the printing instruction operation during the correction process based on the numerical data of the numerical data correction unit.
11. The arithmetic device of claim 1,
the arithmetic device further includes a printing operation accepting unit that accepts a printing operation corresponding to a user operation,
the print control unit prints the arithmetic data when the print operation accepting unit accepts the print operation.
12. An arithmetic printing method is characterized in that,
an operation of an operation performed by a user is accepted,
when the user has performed a print instruction operation, if it is determined that the operation is a reception procedure of the operation or a setting procedure of operation data corresponding to the operation, the print instruction operation is invalidated,
when the user has performed a print instruction operation, if it is determined that the operation is not a reception process of the operation or a setting process of operation data corresponding to the operation, operation data including operation result data after the operation is printed based on the print instruction operation.
13. A computer-readable storage medium comprising,
the storage medium stores a computer program, and when the computer program is executed by a processing device, causes a computer to execute the steps of:
a step of accepting an operation of an operation performed by a user; and
and a print control step of, when the user has performed a print instruction operation, invalidating the print instruction operation if it is determined that the operation is a reception procedure of the operation or a setting procedure of operation data corresponding to the operation, and, when the user has performed a print instruction operation, printing operation data including operation result data after the operation based on the print instruction operation if it is determined that the operation is not a reception procedure of the operation or a setting procedure of operation data corresponding to the operation.
CN201710742081.6A 2016-09-20 2017-08-25 Arithmetic device, arithmetic printing method, and arithmetic program storage medium Active CN107844452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110661737.8A CN113326225A (en) 2016-09-20 2017-08-25 Data printing control device and method, storage medium, and electronic calculator

Applications Claiming Priority (2)

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

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110661737.8A Division CN113326225A (en) 2016-09-20 2017-08-25 Data printing control device and method, storage medium, and electronic calculator

Publications (2)

Publication Number Publication Date
CN107844452A CN107844452A (en) 2018-03-27
CN107844452B true CN107844452B (en) 2021-06-01

Family

ID=61683012

Family Applications (2)

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

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202110661737.8A Pending CN113326225A (en) 2016-09-20 2017-08-25 Data printing control device and method, storage medium, and electronic calculator

Country Status (2)

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

Families Citing this family (1)

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

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5140036A (en) * 1974-09-18 1976-04-03 Casio Computer Co Ltd Keisanki no injiseigyohoshiki
JPS6384654U (en) * 1986-11-20 1988-06-03
US5243550A (en) * 1992-03-27 1993-09-07 Michael Cannizzaro Multi-column printing calculator
JPH08241285A (en) * 1995-03-03 1996-09-17 Casio Comput Co Ltd Electronic computer
JP2005141559A (en) * 2003-11-07 2005-06-02 Sharp Corp Information processor with conversion function and conversion processing program
CN1855084A (en) * 2005-04-25 2006-11-01 金宝电子工业股份有限公司 Method for controlling commercial function of printing computer
CN101383070B (en) * 2007-09-05 2012-03-21 山东新北洋信息技术股份有限公司 Print control method and device
CN104866256A (en) * 2015-06-18 2015-08-26 龙海鹏 Printing solution and printer using printing solution
CN105082749A (en) * 2014-05-22 2015-11-25 海德堡印刷机械股份公司 Method for operating printing press
CN105467791A (en) * 2014-09-30 2016-04-06 京瓷办公信息系统株式会社 Image forming apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5324257B2 (en) * 2009-02-27 2013-10-23 キヤノン株式会社 Information processing apparatus, control method therefor, and program
JP2016107482A (en) * 2014-12-04 2016-06-20 キヤノン株式会社 Printing processing system, printing control device, image formation device, control method, program and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5140036A (en) * 1974-09-18 1976-04-03 Casio Computer Co Ltd Keisanki no injiseigyohoshiki
JPS6384654U (en) * 1986-11-20 1988-06-03
US5243550A (en) * 1992-03-27 1993-09-07 Michael Cannizzaro Multi-column printing calculator
JPH08241285A (en) * 1995-03-03 1996-09-17 Casio Comput Co Ltd Electronic computer
JP2005141559A (en) * 2003-11-07 2005-06-02 Sharp Corp Information processor with conversion function and conversion processing program
CN1855084A (en) * 2005-04-25 2006-11-01 金宝电子工业股份有限公司 Method for controlling commercial function of printing computer
CN101383070B (en) * 2007-09-05 2012-03-21 山东新北洋信息技术股份有限公司 Print control method and device
CN105082749A (en) * 2014-05-22 2015-11-25 海德堡印刷机械股份公司 Method for operating printing press
CN105467791A (en) * 2014-09-30 2016-04-06 京瓷办公信息系统株式会社 Image forming apparatus
CN104866256A (en) * 2015-06-18 2015-08-26 龙海鹏 Printing solution and printer using printing solution

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CASIO HR-8型打印电子计算器外控接口及其扩展应用(上);高振东;《电子技术应用》;19870531(第1987年05期);第12-14页 *

Also Published As

Publication number Publication date
CN113326225A (en) 2021-08-31
CN107844452A (en) 2018-03-27
JP2018049379A (en) 2018-03-29
JP6784110B2 (en) 2020-11-11

Similar Documents

Publication Publication Date Title
CN107239431B (en) Tax computer, tax calculating method and recording medium for recording program
CN107844452B (en) Arithmetic device, arithmetic printing method, and arithmetic program storage medium
JP6428734B2 (en) Tax calculation device, tax calculation method, program
US10684982B2 (en) Calculating device, calculating method, and computer readable recording medium
JP6825285B2 (en) Computer, calculation printing method, program
JP6759766B2 (en) Tax calculators, tax calculators, and programs
CN106980593B (en) Computer data printing apparatus and method, and computer-readable recording medium
JP7020528B2 (en) Data print control device, computer, data print control method, and data print control program
JP7136289B2 (en) Display control device, display control method, and display control program
CN107562677B (en) Calculation device, calculation method, and recording medium having program recorded thereon
JP2015153373A (en) Selling data processing device and program
CN108121517B (en) Computing device, computing printing method, and recording medium having program recorded thereon
JP6593505B1 (en) Computer, electronic device, setting method, and program
JP6528483B2 (en) Computation processing device and program
JP7020469B2 (en) Electronic devices, control methods for electronic devices, and control programs for electronic devices
JP7192342B2 (en) ELECTRONIC DEVICE, ELECTRONIC DEVICE CONTROL METHOD, AND ELECTRONIC DEVICE CONTROL PROGRAM
JP6950344B2 (en) Arithmetic logic units, calculation methods, and programs
JP2005157628A (en) Data processor and program
JPH02300998A (en) Commodity sale data processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant