JPS63199673A - Terminal controller for electronic apparatus - Google Patents

Terminal controller for electronic apparatus

Info

Publication number
JPS63199673A
JPS63199673A JP62032256A JP3225687A JPS63199673A JP S63199673 A JPS63199673 A JP S63199673A JP 62032256 A JP62032256 A JP 62032256A JP 3225687 A JP3225687 A JP 3225687A JP S63199673 A JPS63199673 A JP S63199673A
Authority
JP
Japan
Prior art keywords
printer
external
supplied
external terminal
slip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP62032256A
Other languages
Japanese (ja)
Other versions
JPH0611574B2 (en
Inventor
Hideaki Aya
綾 英明
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP62032256A priority Critical patent/JPH0611574B2/en
Publication of JPS63199673A publication Critical patent/JPS63199673A/en
Publication of JPH0611574B2 publication Critical patent/JPH0611574B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

PURPOSE:To reduce consumption of power by an electronic apparatus, by simultaneously controlling an internal terminal part and an external terminal part when source power is externally supplied to the external terminal part, and individually controlling the two terminal parts when source power is supplied to the external terminal part from the electronic apparatus. CONSTITUTION:A printer-controlling circuit 12 in a slip printer 1 discriminates a sense signal, and judges whether source power is supplied from an external power source 2 by fitting a plug 15 into a connector 14. Namely, when the sense signal is at an 'L' level, it is judged that the external power source 2 is connected, and the condition is reported to a CPU 4. The CPU 4 gives a printing command to an R/J printer 8 when it is judged that the external power source 2 is connected to the printer 1. When the external power source 2 is not connected to the printer 1, it is judged whether slip printing by the printer 1 is finished, and when the printing is finished, the CPU 4 gives an R/J printing command to the printer 8. When the external power source 2 is not connected to the printer 1, completion of slip printing is waited for, and the R/J printing command is given when the slip printing is completed.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は電子機器の端末制御装置に関し、たとえば電
子式キャッシュレジスタ(以下、ECRと称する)のよ
うな電子機器に内臓されているR/Jプリンタと、外部
接続されるスリッププリンタのような外部端末部を制御
するような電子機器の端末制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a terminal control device for electronic equipment, for example, an R/J built in an electronic equipment such as an electronic cash register (hereinafter referred to as ECR). The present invention relates to a terminal control device for an electronic device that controls a printer and an external terminal unit such as an externally connected slip printer.

[従来の技術] ECRには、商品に関するデータをレシートとジャーナ
ルに印字するためのいわゆるR/Jプリンタが内臓され
ている。このようなECRの電力消費はR/Jプリンタ
の駆動に大部分を要し、その他のCPUやメモリなどに
よる電力消費はわずかなものである。
[Prior Art] An ECR has a built-in so-called R/J printer for printing data related to products on receipts and journals. Most of the power consumption of such an ECR is required to drive the R/J printer, and the power consumption by other CPUs, memory, etc. is small.

一方、レストランなどに設置されるECRでは、レシー
ト以外の伝票に飲食料金を印字するために、スリッププ
リンタをECRに対して外部接続するよう1.Lされて
いる。このようなスリッププリンタには、専用の外部電
源を用いるものと、ECR本体から電源を供給するよう
にしたものがある。
On the other hand, in ECRs installed in restaurants, etc., in order to print food and drink charges on slips other than receipts, it is recommended to connect a slip printer externally to the ECR. It is L. Such slip printers include those that use a dedicated external power source and those that are supplied with power from the ECR main body.

[発明が解決しようとする問題点] ECR本体からスリッププリンタに電源を供給するもの
においては、ECR本体内のR/Jプリンタとスリップ
プリタとを同時に駆動すると、消費電力が大きくなり、
大容量の電源を必要とし、コスト的に高くなるばかりで
なく、形状も大型化してしまう。そこで、R/Jプリン
タで印字した後、スリッププリンタで印字するようにし
て、消費電力を抑制する必要がある。しかしながら、R
/Jプリンタによる印字とスリッププリンタによる印字
を個別的に行なうと、印字時間が長くなってしまい、顧
客の待ち時間が長くなってしまうという欠点がある。
[Problems to be Solved by the Invention] In the case where power is supplied from the ECR main body to the slip printer, if the R/J printer and the slip printer inside the ECR main body are driven at the same time, power consumption increases.
This requires a large-capacity power source, which not only increases the cost but also increases the size. Therefore, it is necessary to suppress power consumption by printing with a slip printer after printing with an R/J printer. However, R
If the printing by the /J printer and the printing by the slip printer are performed separately, the printing time becomes long and the waiting time of the customer becomes long.

それゆえに、この発明の主たる目的は、外部電源を用い
るときには、内部端末部と外部端末部とを同時的に制御
して処理時間を短縮し、電子機器から電源を供給すると
きにのみ内部端末部と外部端末部とを個別的に制御する
ようにした電子機器の端末制御装置を提供することであ
る。
Therefore, the main object of the present invention is to shorten processing time by simultaneously controlling the internal terminal section and the external terminal section when using an external power supply, and to control the internal terminal section only when power is supplied from the electronic device. An object of the present invention is to provide a terminal control device for an electronic device that individually controls a terminal unit and an external terminal unit.

[問題点を解決するための手段] この発明は内部端末部を有する電子機器に接続されかつ
電子機器から電源が供給されるかまたは外部から電源が
供給される外部端末部を備え、外部端末部と内部端末部
とを制御する電子機器の端末制御装置であって、外部端
末部には外部から電源の供給されていることを検知した
ことに応じて検知信号を出力する検知手段が設けられ、
電子機器は検知手段から検知信号が与えられていないと
き、外部端末部に電源を供給するとともに、外部端末部
と内部端末部とを個別的に制御し、検知手段から検知信
号が与えられたとき、外部端末部に供給している電源を
遮断するとともに、外部端末部と内部端末部とを同時に
制御する制御手段を備えて構成される。
[Means for Solving the Problems] The present invention includes an external terminal connected to an electronic device having an internal terminal and supplied with power from the electronic device or externally. and an internal terminal section, the external terminal section is provided with a detection means for outputting a detection signal in response to detecting that power is supplied from the outside,
When the electronic device does not receive a detection signal from the detection means, the electronic device supplies power to the external terminal section and controls the external terminal section and the internal terminal section individually, and when a detection signal is given from the detection means. , a control means for cutting off the power supplied to the external terminal section and controlling the external terminal section and the internal terminal section at the same time.

[作用] この発明に係る電子機器の端末制御装置は、外部端末部
に外部から電源が供給されているときには、内部端末部
と外部端末部とを同時的に制御することにより、電子機
器の電力消費が大きくなることなく、処理時間も短縮で
きる。そして、電子機器から外部端末部に電源を供給し
ているときにのみ、外部端末部と内部端末部とを個別的
に制御することにより、電子機器の電力消費を少なくさ
せる。
[Operation] The terminal control device for an electronic device according to the present invention controls the power of the electronic device by simultaneously controlling the internal terminal portion and the external terminal portion when power is supplied to the external terminal portion from the outside. Processing time can be shortened without increasing consumption. Then, by individually controlling the external terminal section and the internal terminal section only when power is being supplied from the electronic device to the external terminal section, the power consumption of the electronic device is reduced.

[発明の実施例] 第1図はこの発明の一実施例の全体の構成を示す概略ブ
ロック図であり、第2図はスリッププリンタの概略ブロ
ック図である。
[Embodiment of the Invention] FIG. 1 is a schematic block diagram showing the overall configuration of an embodiment of the present invention, and FIG. 2 is a schematic block diagram of a slip printer.

まず、第1図および第2図を参照して、この発明の一実
施例の構成について説明する。ECR本体3は第2図に
示すように、CPU4とキーボード5と表示器6とメモ
リ7とR/Jプリンタ8とを含む。キーボード5は顧客
の買上げた商品の金額データや部門コードや支払額など
を入力するものであり、表示器6はそれらのデータを表
示するものである。メモリ7はCPU4が登録処理する
ためのプログラムやキーボード5から入力されたデータ
などを記憶するものである。R/Jプリンタ8は商品に
関するデータをレシートおよびジャーナルに印字するも
のである。
First, the configuration of an embodiment of the present invention will be described with reference to FIGS. 1 and 2. As shown in FIG. 2, the ECR main body 3 includes a CPU 4, a keyboard 5, a display 6, a memory 7, and an R/J printer 8. The keyboard 5 is used to input price data, department code, payment amount, etc. of products purchased by the customer, and the display 6 is used to display these data. The memory 7 stores programs for the CPU 4 to perform registration processing, data input from the keyboard 5, and the like. The R/J printer 8 prints data related to products on receipts and journals.

さらに、ECR本体3にはスリッププリンタ1が外部接
続され、このスリッププリンタ1には外部電源2から電
源が供給される。スリッププリンタ1は第1図に示すよ
うに、電源供給部11とプリンタ制御回路12とプリン
タ13とコネクタ14.16を含む。コネクタ14には
プラグ15が接続され、このプラグ15には外部電源2
が接続される。また、コネ多夕16はECR本体3に接
続され、このコネクタ16を介してECR本体3から電
源が供給される。電源供給部11はECR本体3から供
給された電源と外部電源2から供給された電源のいずれ
か一方をプリンタ制御回路12に与えるものである。プ
リンタ制御回路12はプリンタ13を制御する。なお、
プラグ15には、短絡線17が接続されていて、プラグ
15をコネクタ14に差し込むと、“L”レベルのセン
ス信号がプリンタ制御回路12に与えられる。したがっ
て、プリンタ制御回路12はそのセンス信号が“L”レ
ベルであれば、外部電源2がスリッププリンタ1に接続
されたことを検知する。
Further, a slip printer 1 is externally connected to the ECR main body 3, and power is supplied to the slip printer 1 from an external power source 2. As shown in FIG. 1, the slip printer 1 includes a power supply section 11, a printer control circuit 12, a printer 13, and connectors 14 and 16. A plug 15 is connected to the connector 14, and an external power supply 2 is connected to the plug 15.
is connected. Further, the connector 16 is connected to the ECR main body 3, and power is supplied from the ECR main body 3 via this connector 16. The power supply unit 11 supplies either the power supplied from the ECR main body 3 or the power supplied from the external power supply 2 to the printer control circuit 12. A printer control circuit 12 controls a printer 13. In addition,
A shorting line 17 is connected to the plug 15, and when the plug 15 is inserted into the connector 14, an "L" level sense signal is given to the printer control circuit 12. Therefore, if the sense signal is at the "L" level, the printer control circuit 12 detects that the external power supply 2 is connected to the slip printer 1.

第3図および第4図はこの発明の一実施例の具体的な動
作を説明するためのフロー図である。
FIGS. 3 and 4 are flowcharts for explaining the specific operation of one embodiment of the present invention.

次に、第1図ないし第4図を参照して、この発明の一実
施例の具体的な動作について説明する。
Next, with reference to FIGS. 1 to 4, a specific operation of an embodiment of the present invention will be described.

ECR本体3では、CPU4がキーボード5から入力さ
れた商品に関するデータの登録処理を行なう。このとき
、スリッププリンタ1のプリンタ制御回路12はセンス
信号を判別し、プラグ15がコネクタ14に差し込まれ
て外部電源2から電源が供給されているか否かを判別す
る。すなわち、プリンタ制御回路12はセンス信号が“
L“レベルであれば、外部電源2が接続されたものと判
別し、それをECR本体3のCPU4に知らせる。
In the ECR main body 3, the CPU 4 performs registration processing of data related to products input from the keyboard 5. At this time, the printer control circuit 12 of the slip printer 1 determines the sense signal and determines whether the plug 15 is inserted into the connector 14 and power is being supplied from the external power source 2. That is, the printer control circuit 12 detects that the sense signal is “
If the level is L, it is determined that the external power supply 2 is connected, and the CPU 4 of the ECR main body 3 is notified of this.

CPU4はスリッププリンタ1に外部電源2が接続され
ているか否かを判別し、接続されていることを判別する
と、R/Jプリンタ8に対してプリント命令を与える。
The CPU 4 determines whether or not the external power supply 2 is connected to the slip printer 1, and when determining that it is connected, gives a print command to the R/J printer 8.

もし、スリッププリンタlに外部電源2が接続されてい
なければ、スリッププリンタ1によるスリップ印字が終
了したか否かを判別する。終了していれば、R/Jプリ
ンタ8に対してR/Jプリント命令を与える。もし、外
部電源2がスリッププリンタ1に接続されていなければ
、スリッププリンタ1によるスリップ印字が終了するま
で待機し、その印字が゛終了したときにR/Jプリンタ
8に対してR/Jプリント命令を与える。
If the external power supply 2 is not connected to the slip printer 1, it is determined whether the slip printing by the slip printer 1 has been completed. If completed, an R/J print command is given to the R/J printer 8. If the external power supply 2 is not connected to the slip printer 1, it will wait until the slip printing by the slip printer 1 is finished, and when the printing is finished, it will issue an R/J print command to the R/J printer 8. give.

次に、スリッププリントを行なう場合には、前述の説明
と同様にして、CPU4はスリッププリンタlに外部電
源2が接続されているか否かを判別し、接続されていれ
ばスリッププリンタ1に対してスリッププリント命令を
与える。しかし、外部電源2が接続されていなければ、
CPU4はR/Jプリンタ8による印字が終了している
か否かを判別し、終了していればスリッププリント命令
をスリッププリンタ1に与え、R/Jプリントが終了し
ていなければ待機し、その印字が終了した後にスリップ
プリンタ1に対してスリッププリント命令を与える。
Next, when performing slip printing, the CPU 4 determines whether or not the external power supply 2 is connected to the slip printer 1 in the same manner as described above, and if it is connected, the CPU 4 determines whether or not the external power supply 2 is connected to the slip printer 1. Give slip print instructions. However, if external power supply 2 is not connected,
The CPU 4 determines whether printing by the R/J printer 8 has finished, and if so, gives a slip print command to the slip printer 1, and if the R/J print has not finished, waits and prints the print. After completion of the process, a slip print command is given to the slip printer 1.

なお、上述の実施例では、R/Jプリンタ8を内臓して
いるECR本体3にスリッププリンタ1が外部接続され
たようなものにこの発明を適用したが、これに限ること
なく、内部に内部端末部を有し外部に外部端末部が接続
された電子機器において、内部端末部と外部端末部を制
御するようなものであればどのようなものにでもこの発
明を適用することができる。
In the above-mentioned embodiment, the present invention is applied to an ECR main body 3 that has an R/J printer 8 built-in and a slip printer 1 externally connected thereto, but the present invention is not limited to this. The present invention can be applied to any electronic device that has a terminal section and an external terminal section connected to the outside, as long as it controls the internal terminal section and the external terminal section.

[発明の効果] 以上のように、この発明によれば、外部端末部に外部電
源から電源が供給されているか否かを判別し、外部電源
が供給されていれば内部端末部と外部端末部とを同時に
駆動し、外部端末部に外部電源が供給されておらず電子
機器から電源を供給する場合には、内部端末部と外部端
末部とを個別的に制御するようにしたので、外部端末部
に外部から電源が供給されているときには処理を速める
ことができ、電子機器から外部端末部に電源を供給する
場合には処理速度が遅くても電力消費を少なくすること
ができる。
[Effects of the Invention] As described above, according to the present invention, it is determined whether or not power is supplied from the external power source to the external terminal section, and if the external power source is supplied, the internal terminal section and the external terminal section When the external terminal is not supplied with external power and is supplied with power from an electronic device, the internal terminal and external terminal are individually controlled. When the electronic device is supplied with power from the outside, processing can be accelerated, and when power is supplied from the electronic device to the external terminal, power consumption can be reduced even if the processing speed is slow.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例の全体の構成を示す概略ブ
ロック図である。第2図はスリッププリンタの概略ブロ
ック図である。第3図および第4図はこの発明の一実施
例の具体的な動作を説明するためのフロー図である。 図において、1はスリッププリンタ、2は外部電源、3
はECR本体、4はCPU、5はキーボード、6は表示
器、7はメモリ、8はR/Jプリンタ、11は電源供給
部、12はプリンタ制御回路、13はプリンタ、14.
16はコネクタ、15はプラグを示す。 第3図 第4図
FIG. 1 is a schematic block diagram showing the overall configuration of an embodiment of the present invention. FIG. 2 is a schematic block diagram of a slip printer. FIGS. 3 and 4 are flowcharts for explaining the specific operation of one embodiment of the present invention. In the figure, 1 is a slip printer, 2 is an external power supply, and 3 is a slip printer.
1 is an ECR body, 4 is a CPU, 5 is a keyboard, 6 is a display, 7 is a memory, 8 is an R/J printer, 11 is a power supply section, 12 is a printer control circuit, 13 is a printer, 14.
16 is a connector, and 15 is a plug. Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)内部端末部を有する電子機器に接続されかつ該電
子機器から電源が供給されるかまたは外部から電源が供
給される外部端末部を備え、前記外部端末部と前記内部
端末部とを制御する電子機器の端末制御装置であって、 前記外部端末部には、前記外部から電源の供給されてい
ることを検知したことに応じて検知信号を出力する検知
手段が設けられていて、 前記電子機器は、前記検知手段から検知信号が与えられ
ていないとき、前記外部端末部に電源を供給するととも
に該外部端末部と前記内部端末部とを個別的に制御し、
前記検知手段から検知信号が与えられたとき、該外部端
末部に供給している電源を遮断するとともに、該外部端
末部と該内部端末部とを同時に制御する制御手段を備え
た、電子機器の端末制御装置。
(1) An external terminal unit connected to an electronic device having an internal terminal unit and supplied with power from the electronic device or externally, and controlling the external terminal unit and the internal terminal unit. A terminal control device for an electronic device, wherein the external terminal section is provided with a detection means that outputs a detection signal in response to detecting that power is supplied from the outside, The device supplies power to the external terminal unit and individually controls the external terminal unit and the internal terminal unit when the detection signal is not provided from the detection means,
The electronic device comprises a control means for cutting off power supply to the external terminal section and controlling the external terminal section and the internal terminal section at the same time when a detection signal is given from the detection means. Terminal control device.
(2)前記外部端末部には、コネクタを介して外部電源
が供給されていて、 前記検知手段は前記コネクタが外部端末部に装着された
とき、前記外部電源から電源の供給されていることを検
知するようにした、特許請求の範囲第1項記載の電子機
器の端末制御装置。
(2) An external power supply is supplied to the external terminal section via a connector, and the detection means detects that power is being supplied from the external power supply when the connector is attached to the external terminal section. A terminal control device for an electronic device according to claim 1, which is configured to perform detection.
JP62032256A 1987-02-13 1987-02-13 Terminal control device for electronic equipment Expired - Lifetime JPH0611574B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62032256A JPH0611574B2 (en) 1987-02-13 1987-02-13 Terminal control device for electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62032256A JPH0611574B2 (en) 1987-02-13 1987-02-13 Terminal control device for electronic equipment

Publications (2)

Publication Number Publication Date
JPS63199673A true JPS63199673A (en) 1988-08-18
JPH0611574B2 JPH0611574B2 (en) 1994-02-16

Family

ID=12353932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62032256A Expired - Lifetime JPH0611574B2 (en) 1987-02-13 1987-02-13 Terminal control device for electronic equipment

Country Status (1)

Country Link
JP (1) JPH0611574B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59232891A (en) * 1983-06-16 1984-12-27 Matsushita Electric Ind Co Ltd Printer apparatus
JPS628220A (en) * 1985-07-04 1987-01-16 Matsushita Electric Ind Co Ltd Recording type electronic calculator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59232891A (en) * 1983-06-16 1984-12-27 Matsushita Electric Ind Co Ltd Printer apparatus
JPS628220A (en) * 1985-07-04 1987-01-16 Matsushita Electric Ind Co Ltd Recording type electronic calculator

Also Published As

Publication number Publication date
JPH0611574B2 (en) 1994-02-16

Similar Documents

Publication Publication Date Title
EP0802486B1 (en) Method of installing a driver program for a computer peripheral device
JPS63199673A (en) Terminal controller for electronic apparatus
US5652950A (en) Power saving method in image forming apparatus using electrophotographic developing method
JPS63172662A (en) Printer controlling system
US5564110A (en) Printer interface apparatus with plug-in unit authorized for reception of data upon type verification
JP2995933B2 (en) Transaction terminal device
JP2839779B2 (en) Printing control device
JPS637964A (en) Printer control apparatus of cash register
JPH0215180Y2 (en)
JPS5847469Y2 (en) Slip issuing device
JPH0752476B2 (en) Electronic cash register
JP2854507B2 (en) Receipt printer
JPH06227055A (en) Data processor
JP2529942B2 (en) Printing control method for POS terminal device
JPS6228869A (en) Processing system for pos system
JPH05233169A (en) Electronic equipment provided with plural printers
JPH03276322A (en) Electronic equipment
JP2859976B2 (en) Printing equipment
JPH05229230A (en) Printer
JPS6190297A (en) Pos system
JPS63188264A (en) Pos terminal equipment
JPS6252913B2 (en)
JPH01173223A (en) Page printer
JPH01215571A (en) Medium issuing processor
JPH08124027A (en) Commodity sale register data processor