JPH0139140B2 - - Google Patents
Info
- Publication number
- JPH0139140B2 JPH0139140B2 JP57105985A JP10598582A JPH0139140B2 JP H0139140 B2 JPH0139140 B2 JP H0139140B2 JP 57105985 A JP57105985 A JP 57105985A JP 10598582 A JP10598582 A JP 10598582A JP H0139140 B2 JPH0139140 B2 JP H0139140B2
- Authority
- JP
- Japan
- Prior art keywords
- clear
- key
- printing
- mark
- printed
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/02—Digital 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/0225—User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems
- G06F15/0233—User interface arrangements, e.g. keyboard, display; Interfaces to other computer systems with printing provisions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Calculators And Similar Devices (AREA)
Description
【発明の詳細な説明】
(1) 技術分野
本発明は、印字機付電子機器(例えば印字機付
卓上計算機)に関し、特にクリアもしくはクリア
エントリー作動が行われたことを確認できるよう
に出力用印字用紙にマークを印字可能な如く構成
した印字機付電子機器の改良に関する。[Detailed Description of the Invention] (1) Technical Field The present invention relates to an electronic device with a printing machine (for example, a desktop calculator with a printing machine), and in particular, an output printout that can confirm that a clear or clear entry operation has been performed. This invention relates to an improvement in electronic equipment with a printing machine configured to print marks on paper.
(2) 従来技術
従来、クリアキーを押下するごとにクリア―
“C”マークを印字する印字電卓、或いは電源ス
イツチ投入と同時にクリア作動が行われたことを
確認できるようにクリア―“C”マークを印字す
る機器(例えば、実公昭53−2521)などが提案さ
れている。(2) Conventional technology Conventionally, each time the clear key was pressed, the
Proposed calculators that print a "C" mark, or devices that print a clear "C" mark (for example, Utility Model Publication No. 53-2521) so that it can be confirmed that the clear operation has been performed at the same time as the power switch is turned on. has been done.
(3) 従来技術の問題点
とくに表示装置が具備されていない印字機付卓
上計算機等の場合、クリアされた状態を表示装置
で確認できない為、機器の外部状態に何らの変化
が見られず、操作者は不安な感じにおそわれ、連
続して何度もクリアキーを押すという傾向があつ
た。また電源投入と同時にクリア“C”マークを
印字するように構成しても操作者は無意識のうち
に何度もクリアキーを操作しむしろそれが操作者
の癖となつているケースが屡々であつた。このよ
うなクリアキーの無駄な連続操作により、その都
度クリアマークが用紙に不要に印字され、印字結
果が見にくくなり、また用紙が無駄に消費される
などの欠点があつた。(3) Problems with the prior art Especially in the case of desktop calculators with printing machines that are not equipped with a display device, the cleared state cannot be confirmed on the display device, so no change can be seen in the external state of the device. The operator felt anxious and had a tendency to press the clear key many times in succession. Furthermore, even if the configuration is configured so that the clear "C" mark is printed at the same time as the power is turned on, there are many cases where the operator unconsciously presses the clear key many times and this becomes a habit of the operator. Ta. Due to such wasteful continuous operation of the clear key, a clear mark is unnecessarily printed on the paper each time, making it difficult to see the printed results, and the paper is wasted.
(4) 発明の目的
本発明の目的は、クリアもしくはクリアエント
リー動作が行われた場合、最初のクリアもしくは
クリアエントリー操作のみに基づいてマークを印
字し、それ以後の続くこのキー操作に基づくマー
ク印字を防止する様にした印字機付電子機器を提
供することである。(4) Purpose of the Invention The purpose of the present invention is to print a mark based only on the first clear or clear entry operation when a clear or clear entry operation is performed, and to print a mark based on subsequent key operations. An object of the present invention is to provide an electronic device with a printing machine that prevents the above.
(5) 実施例
第1図において、1は演算、表示、印字情報の
出力を行なう中央演算制御装置CPUである。2
は置数キー、演算指示キーを有し、とくにクリア
キーCおよびクリアエントリーキーCEを備える
キー入力装置KEYであり、CPU1よりキースト
ローブ信号が入力され、キーリターン信号を
CPU1へ出力する。3は表示部(例えば、液晶
表示装置)であり、CPU1から表示信号が印加
されることにより所望のキヤラクタを表示する。
4はプリンタ5を制御するための印字制御回路
PCUであり、PCU4はCPU1から印字すべき1
行分のキヤラクタコードを受け、印字を行なうも
のである。第2図は第1図に示したCPU1内部
の詳細を示すブロツク構成図である。図におい
て、CPU1の内部は、制御部としてリード・オ
ンリー・メモリー10(ROM)、インストラク
シヨン・デコーダ11、サブルーチン・スタツク
12及びプログラム・カウンター13から構成さ
れ、メモリー部として、ランダム・アクセス・メ
モリー14(RAM)、AXレジスタ15、AYレ
ジスタ16からなり、AX,AYレジスタはRAM
14のフアイル、桁を指定するデータ・ポインタ
ーである。演算部は演算ロジツクユニツト17
(ALU)、外部とのインターフエースとして液晶
インターフエース18、PCUインターフエース
19、キーインターフエース20を有し、それぞ
れ表示部3印字制御回路4、キー入力部2と接続
されている。(5) Embodiment In FIG. 1, reference numeral 1 denotes a central processing control unit CPU that performs calculations, displays, and outputs printed information. 2
is a key input device KEY which has a numeric key, a calculation instruction key, and especially a clear key C and a clear entry key CE, and receives a key strobe signal from the CPU 1 and a key return signal.
Output to CPU1. Reference numeral 3 denotes a display unit (for example, a liquid crystal display device), which displays a desired character by applying a display signal from the CPU 1.
4 is a print control circuit for controlling the printer 5
PCU, and PCU4 is the 1 that should be printed from CPU1.
It receives character codes for lines and prints them out. FIG. 2 is a block diagram showing details of the inside of the CPU 1 shown in FIG. In the figure, the inside of a CPU 1 is composed of a read-only memory 10 (ROM) as a control section, an instruction decoder 11, a subroutine stack 12, and a program counter 13, and a random access memory as a memory section. Consists of 14 (RAM), AX register 15, and AY register 16, AX and AY registers are RAM
This is a data pointer that specifies 14 files and columns. The arithmetic unit is an arithmetic logic unit 17.
(ALU) has a liquid crystal interface 18, a PCU interface 19, and a key interface 20 as interfaces with the outside, and are connected to the display section 3, print control circuit 4, and key input section 2, respectively.
(ROM部10の詳細)
ROM部は本発明を実行するためのプログラム
が内蔵されており、インストラクシヨン・デコー
ダ11を介して各種の命令を実行する。サブルー
チン・スタツク12(ST)はプログラム実行時
に必要なスタツクである。13はプログラムアド
レス用のカウンタ(PC)である。(Details of the ROM section 10) The ROM section has a built-in program for executing the present invention, and executes various instructions via the instruction decoder 11. Subroutine stack 12 (ST) is a stack required when executing a program. 13 is a counter (PC) for program addresses.
(RAM部14の詳細)
RAM14はデータを記憶したり、演算時の一
時記憶用またフラグ用としてX,Y,Z,A,
B,C,Dの7本のレジスタを持つている(第3
図参照)。その各々のレジスタのアドレスはAX
レジスタ15でフアイルの指定、AYレジスタ1
6で桁の指定が行われる。(Details of the RAM unit 14) The RAM 14 stores data, is used for temporary storage during calculations, and is used for flags.
It has seven registers B, C, and D (the third
(see figure). The address of each register is AX
File specification in register 15, AY register 1
6 specifies the digit.
また、演算部17(ALU)は、加減乗除など
の演算をROM10のプログラムに基づいて実行
される。また条件付ジヤンプ命令等の実行も可能
であり、こられを組合せることによつて各種制御
が行われる。例えば、レジスタAの内容が1(A
=1)であるかどうかの判別は、例えばAレジス
タの内容から1を減じた結果が零となるかどうか
で判別される。 Further, the calculation unit 17 (ALU) executes calculations such as addition, subtraction, multiplication, and division based on the program in the ROM 10. It is also possible to execute conditional jump commands, etc., and various controls can be performed by combining these commands. For example, if the contents of register A are 1(A
=1) is determined by, for example, whether the result of subtracting 1 from the contents of the A register is zero.
第4図は本発明の動作を説明するための一例の
フローチヤートである。まず、キー判別が実行さ
れ、最初にクリアキーが押されると(n1)ステツ
プn2へ進み、最初Aレジスタの内容はA=0であ
るので、クリアマーク“CL”が用紙に印字され
(n3)、ステツプn4でAレジスタに8→Aを実行す
る。この状態に於て、続けてクリアキーCもしく
はクリアエントリーキーCEが押されるとAレジ
スタの内容はA=8であるので何も印字しないで
表示ルーチンへと進み、クリアキーの連続押しに
対して最初の1回のみ印字を行うことができる
(n1→n2→表示ルーチン又はn1→n5→n6→表示ル
ーチン)。この状態でクリアキーC、クリアエン
トリーキーCE以外のキーが押されると、ステツ
プn1→n5→n7へと進みステツプn7で0→Aを実行
し、A=0となりその後、クリアキー又はクリア
エントリーキーが押されるとクリアマーク“CL”
又はクリアエントリーマーク“CE”が印字され、
連続してこれらのキーを押さない場合は必ずクリ
アマーク“CL”が印字される(n1→n2→n3→n4
又はn1→n5→n6→n8→n9→n10)さらにクリアエ
ントリーキーCEの操作後ではA=1となり、そ
の後CEキーが押されても“CE”記号は印字され
ない(n1→n5→n6→n8→表示ルーチン)。さらに
CEキー操作直後(A=1)にクリアキーCが押
された場合はA=8であるのでクリアマーク
“CL”が印字され、その後のCキー、CEキーの
連続操作に対してはA=8となつているのでマー
ク“CL”,“CE”が印字されない。このようにし
て不要のクリアマーク,クリアエントリーマーク
の印字を抑えることができる。 FIG. 4 is an example flowchart for explaining the operation of the present invention. First, key discrimination is executed, and when the clear key is pressed for the first time ( n1 ), the process advances to step n2 , and since the contents of the A register are A=0 at first, a clear mark "CL" is printed on the paper ( n 3 ), execute 8→A in the A register at step n 4 . In this state, if the clear key C or clear entry key CE is pressed successively, the contents of the A register will be A = 8, so the process will proceed to the display routine without printing anything, and when the clear key is pressed repeatedly, Printing can be performed only once for the first time (n 1 → n 2 → display routine or n 1 → n 5 → n 6 → display routine). If a key other than clear key C or clear entry key CE is pressed in this state, the process advances to step n 1 → n 5 → n 7 , and at step n 7 , 0 → A is executed, and A=0, and then the clear key is pressed. Or when the clear entry key is pressed, the clear mark “CL” will appear.
Or the clear entry mark “CE” is printed,
If you do not press these keys consecutively, the clear mark “CL” will always be printed (n 1 → n 2 → n 3 → n 4
or n 1 → n 5 → n 6 → n 8 → n 9 → n 10 ) Furthermore, after operating the clear entry key CE, A=1, and even if the CE key is pressed thereafter, the “CE” symbol will not be printed (n 1 →n 5 →n 6 →n 8 →display routine). moreover
If the clear key C is pressed immediately after the CE key is operated (A=1), the clear mark "CL" is printed because A=8, and for the subsequent continuous operation of the C key and the CE key, A= 8, so the marks “CL” and “CE” are not printed. In this way, printing of unnecessary clear marks and clear entry marks can be suppressed.
このように本発明は卓上計算機以外の各種の印
字機付電子機器に応用することができることはも
ちろんである。 As described above, it goes without saying that the present invention can be applied to various types of electronic devices with printing machines other than desktop calculators.
(6) 効果
以上の説明から明らかなように本発明によれ
ば、クリアーもしくはクリアエントリーキーの無
駄打ちによるこれらマークの不要な印字を防止
し、印字用紙の節約が計れるとともに、余分なマ
ークが除去されるので印字結果が見易くなり演算
チエツクが容易になるなどの利点がある。(6) Effects As is clear from the above explanation, according to the present invention, it is possible to prevent unnecessary printing of these marks due to unnecessary presses of the clear or clear entry key, save printing paper, and remove unnecessary marks. This has advantages such as making it easier to see the printed results and making it easier to check calculations.
第1図は本発明による印字機付電子機器の一例
のシステムブロツク図、第2図は同ブロツク図内
のCPUの内部構成を示す図、第3図は同ブロツ
ク図内のRAMの配置図、第4図は同システムの
動作を説明するためのフローチヤートである。
1:中央演算装置(CPU)、2:キー入力部、
3:表示部、4:印字駆動制御回路、5:プリン
タ、C:クリアキー、CE:クリアエントリーキ
ー、A〜D:レジスタ。
Fig. 1 is a system block diagram of an example of an electronic device with a printing machine according to the present invention, Fig. 2 is a diagram showing the internal configuration of the CPU in the same block diagram, and Fig. 3 is a layout diagram of the RAM in the same block diagram. FIG. 4 is a flowchart for explaining the operation of the system. 1: Central processing unit (CPU), 2: Key input section,
3: Display unit, 4: Print drive control circuit, 5: Printer, C: Clear key, CE: Clear entry key, A to D: Register.
Claims (1)
れたことを示す情報を入力するための情報入力手
段と、 上記情報入力手段からの最初のクリアもしくは
クリアエントリー操作に基づいてこれら操作に関
連したマーク情報を印字し、続いて操作されるク
リアもしくはクリアエントリー操作に基づく上記
マーク情報の印字を禁止するための印字制御回路
手段と、 上記印字制御回路手段からの出力に応答して上
記マーク情報を選択的に印字するための印字手段
とを具備したことを特徴とする印字機付電子機
器。[Claims] 1. Information input means for inputting information indicating that a clear or clear entry operation has been performed, and information input means related to these operations based on the first clear or clear entry operation from the information input means. printing control circuit means for printing the mark information and prohibiting printing of the mark information based on a subsequent clear or clear entry operation; and print control circuit means for printing the mark information in response to an output from the print control circuit means. An electronic device equipped with a printing machine, characterized in that it is equipped with a printing means for selectively printing.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57105985A JPS58222365A (en) | 1982-06-18 | 1982-06-18 | Electronic device having printer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57105985A JPS58222365A (en) | 1982-06-18 | 1982-06-18 | Electronic device having printer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58222365A JPS58222365A (en) | 1983-12-24 |
| JPH0139140B2 true JPH0139140B2 (en) | 1989-08-18 |
Family
ID=14422025
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57105985A Granted JPS58222365A (en) | 1982-06-18 | 1982-06-18 | Electronic device having printer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58222365A (en) |
-
1982
- 1982-06-18 JP JP57105985A patent/JPS58222365A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58222365A (en) | 1983-12-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0570175B2 (en) | ||
| JPS6243226B2 (en) | ||
| JPH0139140B2 (en) | ||
| JPS5938870A (en) | Electronic computer | |
| JP2705690B2 (en) | Display control device | |
| JPH049637Y2 (en) | ||
| JPH021627Y2 (en) | ||
| JPS5769468A (en) | Electronic cash register | |
| JPH053332Y2 (en) | ||
| JPS6030374A (en) | Electronic typewriter | |
| JPS642181Y2 (en) | ||
| JPS635769B2 (en) | ||
| JPS607287B2 (en) | Electronics | |
| JPS61198352A (en) | Electronics | |
| JPS58178461A (en) | Electronic equipment with printer | |
| JPS642180Y2 (en) | ||
| JPS6136651B2 (en) | ||
| JPH059821B2 (en) | ||
| JPH02266Y2 (en) | ||
| JPH08221367A (en) | Calculator with printer | |
| JPH0241061B2 (en) | TOKEIENZANKINOOSONAETAKOGATADENSHIKEISANKI | |
| JPS60122461A (en) | Electronic device | |
| JPH0420217B2 (en) | ||
| JPS5875262A (en) | Electronic computer | |
| JPH02118753A (en) | electronic equipment with printer |