JP2015195038A - Electronic device, electronic device control method and program - Google Patents

Electronic device, electronic device control method and program Download PDF

Info

Publication number
JP2015195038A
JP2015195038A JP2015109668A JP2015109668A JP2015195038A JP 2015195038 A JP2015195038 A JP 2015195038A JP 2015109668 A JP2015109668 A JP 2015109668A JP 2015109668 A JP2015109668 A JP 2015109668A JP 2015195038 A JP2015195038 A JP 2015195038A
Authority
JP
Japan
Prior art keywords
host computer
output
interface
connector
external device
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
JP2015109668A
Other languages
Japanese (ja)
Other versions
JP5954467B2 (en
Inventor
宮坂 昌代
Masayo Miyasaka
昌代 宮坂
信一 吉江
Shinichi Yoshie
信一 吉江
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2015109668A priority Critical patent/JP5954467B2/en
Publication of JP2015195038A publication Critical patent/JP2015195038A/en
Application granted granted Critical
Publication of JP5954467B2 publication Critical patent/JP5954467B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To allow an electronic device connected to external devices via plural interfaces to efficiently operate according to a type of an interface connected to each external device.SOLUTION: A printer 12 having a connector 21 and a connector 32 for a host connectable to a host computer 11 and a display connector 22 to be connected to a customer display 13 receives printing data transmitted from the host computer 11 to perform printing, and includes an output circuit 20 for outputting display data transmitted from the host computer 11 to the display connector 22, detecting whether the host computer 11 is connected to the connector 21 or the connector 32 for a host, and selecting an output path for outputting the display data received from the host computer 11 to the display connector 22 among plural output paths.

Description

本発明は、外部装置に接続される電子機器、この電子機器の制御方法、及び、プログラムに関する。   The present invention relates to an electronic device connected to an external device, a control method for the electronic device, and a program.

従来、USB等の複数のインターフェイスを介して外部の装置に接続される電子機器が知られている(例えば、特許文献1参照)。   Conventionally, an electronic device connected to an external device via a plurality of interfaces such as a USB is known (for example, see Patent Document 1).

特開2007−271861号公報JP 2007-271861 A

特許文献1に記載されたように、複数のインターフェイスを介して外部の装置に接続された電子機器では、どの装置をどのインターフェイスに接続するかの組み合わせが複雑化するため、接続されたインターフェイスの特性を生かして効率よく情報を授受することが困難であった。
本発明は、上述した事情に鑑みてなされたものであり、複数のインターフェイスを介して外部の装置に接続される電子機器が、外部の装置に接続されたインターフェイスの種類に対応して効率よく動作できるようにすることを目的とする。
As described in Patent Document 1, in an electronic device connected to an external device via a plurality of interfaces, the combination of which device is connected to which interface is complicated, and thus the characteristics of the connected interface It was difficult to exchange information efficiently using this.
The present invention has been made in view of the above-described circumstances, and an electronic device connected to an external device via a plurality of interfaces operates efficiently in accordance with the type of interface connected to the external device. The purpose is to be able to.

上記課題を解決するため、本発明は、ホストコンピューターと接続可能な複数のインターフェイスと、外部装置に接続される外部装置用インターフェイスとを備え、前記ホストコンピューターから送信される制御データを受信して、この受信した制御データに基づいて動作する制御手段と、複数の出力経路を有し、前記ホストコンピューターから受信した外部出力用データを前記外部装置用インターフェイスに出力する出力手段と、を備え、前記出力手段は、前記ホストコンピューターが複数の前記インターフェイスのどれに接続されたかを検知し、その結果に応じて、前記ホストコンピューターから受信した外部出力用データを前記外部装置用インターフェイスに出力する前記出力経路を切り換えること、を特徴とする。
本発明によれば、ホストコンピューターが複数のインターフェイスのうち、どのインターフェイスに接続されているかを検知し、その検知結果に応じて、このホストコンピューターが送信するデータを他の外部装置に出力する出力経路を選択するので、ホストコンピューターが接続されたインターフェイスの特性に合わせて、外部装置へ出力するデータの出力経路を適切に選択し、出力方法を最適化できる。これにより、ホストコンピューターが送信する外部出力用データを外部装置に伝送する場合に、インターフェイスの種類や特性の違いを生かして効率よく処理できる。
In order to solve the above problems, the present invention comprises a plurality of interfaces connectable to a host computer and an external device interface connected to an external device, and receives control data transmitted from the host computer, Control means that operates based on the received control data; and output means that has a plurality of output paths and outputs external output data received from the host computer to the external device interface. The means detects which of the plurality of interfaces the host computer is connected to, and according to the result, outputs the external output data received from the host computer to the external device interface. Switching.
According to the present invention, an output path for detecting which interface a host computer is connected to among a plurality of interfaces and outputting data transmitted by the host computer to another external device according to the detection result. Therefore, according to the characteristics of the interface to which the host computer is connected, the output route of the data to be output to the external device can be appropriately selected to optimize the output method. As a result, when the external output data transmitted by the host computer is transmitted to the external device, it is possible to efficiently process by utilizing the difference in interface type and characteristics.

本発明は、上記電子機器において、前記制御手段と前記制御手段に接続された前記インターフェイスとを備えたメイン基板と、前記メイン基板に着脱可能に構成され、少なくとも一つのインターフェイスを備えたサブ基板とを有し、前記出力手段は、前記ホストコンピューターが、前記メイン基板の前記インターフェイスと前記サブ基板の前記インターフェイスとのどちらに接続されたかを検知し、その結果に応じて、前記外部出力用データを前記外部装置用インターフェイスに出力する前記出力経路を切り換えることを特徴とする。
本発明によれば、メイン基板が備えるインターフェイスと、このメイン基板に着脱可能なサブ基板が備えるインターフェイスとのどちらにホストコンピューターが接続されているかを検知し、その結果に応じて、ホストコンピューターが出力した外部出力用データを外部装置に出力する出力経路を切り換える。これにより、メイン基板にホストコンピューターが接続された場合と、サブ基板にホストコンピューターが接続された場合とで、データの出力方法を変えることができるので、インターフェイスの種類や特性の違いを生かして効率よく処理できる。例えば、インターフェイスの種類が異なる複数のサブ基板を用意し、必要に応じてサブ基板を差し替えて使用する場合に、サブ基板のインターフェイスの特性に最適化された出力経路を利用可能となる。また、例えば、メイン基板にサブ基板が接続されていない場合であっても、メイン基板に接続されたホストコンピューターから送信される外部出力用データを、このメイン基板のインターフェイスに適した出力経路で出力できる。
According to the present invention, in the electronic apparatus, a main board including the control unit and the interface connected to the control unit, and a sub board configured to be detachable from the main board and including at least one interface; And the output means detects whether the host computer is connected to the interface of the main board or the interface of the sub board, and according to the result, outputs the external output data. The output path to be output to the external device interface is switched.
According to the present invention, it is detected whether the host computer is connected to the interface provided in the main board or the interface provided in the sub-board that can be attached to and detached from the main board, and the host computer outputs in accordance with the result. The output path for outputting the external output data to the external device is switched. This makes it possible to change the data output method between when the host computer is connected to the main board and when the host computer is connected to the sub board. Can handle well. For example, when a plurality of sub-boards having different types of interfaces are prepared and the sub-boards are replaced as necessary, an output path optimized for the interface characteristics of the sub-board can be used. For example, even when the sub board is not connected to the main board, the data for external output transmitted from the host computer connected to the main board is output through the output path suitable for the interface of the main board. it can.

また、本発明は、上記電子機器において、前記メイン基板には、前記制御手段および前記インターフェイスとともに、前記外部装置用インターフェイスが設けられ、前記出力手段は、前記サブ基板に設けられた前記インターフェイスに前記ホストコンピューターが接続されたことを検知した場合には、前記ホストコンピューターから送信される前記外部出力用データを前記外部装置インターフェイスにパススルー伝送する出力経路に切り換え、前記メイン基板が備える前記インターフェイスに前記ホストコンピューターが接続されていることを検知した場合には、前記ホストコンピューターから受信した前記外部出力用データを前記制御手段に入力し、前記制御手段から前記外部装置インターフェイスに出力する出力経路に切り換えることを特徴とする。
本発明によれば、サブ基板が備えるインターフェイスに接続されたホストコンピューターから外部装置用インターフェイスに接続された外部装置にデータをパススルー伝送するので、メイン基板上の制御手段に処理負荷をかけることなくデータを外部装置に出力できる。また、メイン基板が備えるインターフェイスにホストコンピューターが接続された場合には、メイン基板の制御手段の能力を生かして、効率よく外部装置にデータを出力できる。
In the electronic apparatus, the main board may be provided with the interface for the external device together with the control means and the interface, and the output means may be connected to the interface provided on the sub board. When it is detected that a host computer is connected, the external output data transmitted from the host computer is switched to an output path for pass-through transmission to the external device interface, and the host is connected to the interface provided on the main board. When it is detected that a computer is connected, the external output data received from the host computer is input to the control means, and the output path is switched from the control means to the external device interface. And butterflies.
According to the present invention, data is passed through from the host computer connected to the interface provided on the sub-board to the external device connected to the interface for the external device, so that data is not applied to the control means on the main board. Can be output to an external device. In addition, when a host computer is connected to an interface provided on the main board, data can be efficiently output to an external device by utilizing the ability of the control means of the main board.

また、本発明は、上記電子機器において、前記出力手段は、前記外部出力用データを前記外部装置インターフェイスにパススルー伝送する出力経路により、前記サブ基板の前記インターフェイスから受信したデータを、前記データの属性に基づき前記メイン基板に設けられた前記制御手段および前記外部装置インターフェイスの各々に分岐して出力することを特徴とする。
本発明によれば、サブ基板が備えるインターフェイスに接続されたホストコンピューターから外部装置用インターフェイスに接続された外部装置にデータをパススルー伝送する場合に、ホストコンピューターから受信したデータを、データの属性に基づいて制御手段および外部装置インターフェイスの各々に分岐して出力するので、制御手段が何ら処理に関わらなくても、ホストコンピューターから外部装置に外部出力用データが出力される。また、外部装置が接続されているか否かに関わらず制御手段が処理すべきデータは制御手段に入力される。このため、最小限の制御により、ホストコンピューターから入力されるデータを効率よく伝送して適切に処理できる。
Also, in the electronic device according to the aspect of the invention, the output unit may be configured to output data received from the interface of the sub-board by an output path that passes through the external output data to the external device interface. And branching to each of the control means provided on the main board and the external device interface.
According to the present invention, when data is passed through from a host computer connected to an interface included in a sub-board to an external device connected to an external device interface, the data received from the host computer is based on the data attribute. Since the data is branched and output to each of the control means and the external device interface, the external output data is output from the host computer to the external device regardless of the processing of the control means. In addition, data to be processed by the control means is input to the control means regardless of whether or not an external device is connected. For this reason, the data input from the host computer can be efficiently transmitted and appropriately processed with the minimum control.

また、本発明は、上記電子機器において、前記制御手段は、前記ホストコンピューターから受信した前記外部出力用データを、前記外部装置インターフェイスに対応した信号形態に変換する機能を有することを特徴とする。
本発明によれば、制御手段から外部装置用インターフェイスに外部出力用データを出力する場合に、信号形態を変換できるので、外部装置用インターフェイスの仕様等に合わせて、効率よく外部出力用データを出力できる。
In the electronic apparatus, the control unit has a function of converting the external output data received from the host computer into a signal form corresponding to the external device interface.
According to the present invention, when the external output data is output from the control means to the external device interface, the signal form can be converted, so that the external output data is efficiently output according to the specifications of the external device interface. it can.

この場合、上記電子機器は、前記外部装置としての表示装置に接続され、前記ホストコンピューターから受信した表示用データを前記表示装置用インターフェイスに出力するとともに、前記ホストコンピューターから送信されたデータを受信して記録する記録装置として構成されてもよい。この場合、ホストコンピューターが接続されたインターフェイスの特性に合わせて、外部出力用データを表示装置に効率よく伝送するとともに、ホストコンピューターから受信したデータに基づいて効率よく印刷を実行できる。   In this case, the electronic device is connected to the display device as the external device, outputs display data received from the host computer to the display device interface, and receives data transmitted from the host computer. May be configured as a recording device for recording. In this case, according to the characteristics of the interface to which the host computer is connected, external output data can be efficiently transmitted to the display device, and printing can be efficiently executed based on the data received from the host computer.

また、上記課題を解決するため、本発明は、ホストコンピューターと接続可能な複数のインターフェイスと、外部装置に接続される外部装置用インターフェイスとを備えた電子機器を制御して、前記ホストコンピューターから送信される制御データを受信して、受信した制御データに基づいて動作し、前記ホストコンピューターから送信される外部出力用データを前記外部装置用インターフェイスに出力し、前記ホストコンピューターが、複数の前記インターフェイスのどれに接続されたかを検知し、その結果に応じて、前記ホストコンピューターから受信した外部出力用データを前記外部装置用インターフェイスに出力する複数の出力経路から選択することを特徴とする。
本発明の制御方法を実行することにより、電子機器は、ホストコンピューターが複数のインターフェイスのうち、どのインターフェイスに接続されているかを検知し、その検知結果に応じて、このホストコンピューターが送信するデータを他の外部装置に出力する出力経路を選択するので、ホストコンピューターが接続されたインターフェイスの特性に合わせて、外部装置へ出力するデータの出力経路を適切に選択し、出力方法を最適化できる。これにより、ホストコンピューターが送信する外部出力用データを外部装置に伝送する場合に、インターフェイスの種類や特性の違いを生かして効率よく処理できる。
In order to solve the above problem, the present invention controls an electronic device including a plurality of interfaces connectable to a host computer and an interface for an external device connected to the external device, and transmits from the host computer. Control data received, operating based on the received control data, and outputting external output data transmitted from the host computer to the external device interface, wherein the host computer has a plurality of the interface interfaces. According to the result, the external output data received from the host computer is selected from a plurality of output paths that are output to the external device interface.
By executing the control method of the present invention, the electronic device detects which interface the host computer is connected to among the plurality of interfaces, and transmits data transmitted by the host computer according to the detection result. Since the output path to be output to another external device is selected, the output method of the data to be output to the external device can be appropriately selected according to the characteristics of the interface to which the host computer is connected, and the output method can be optimized. As a result, when the external output data transmitted by the host computer is transmitted to the external device, it is possible to efficiently process by utilizing the difference in interface type and characteristics.

また、上記課題を解決するため、本発明は、ホストコンピューターと接続可能な複数のインターフェイスと、外部装置に接続される外部装置用インターフェイスとを備えた電子機器を制御する制御手段が実行可能なプログラムであって、前記ホストコンピューターから送信される制御データを受信して、受信した制御データに基づいて動作し、前記ホストコンピューターから送信される外部出力用データを前記外部装置用インターフェイスに出力し、前記ホストコンピューターが、複数の前記インターフェイスのどれに接続されたかを検知し、その結果に応じて、前記ホストコンピューターから受信した外部出力用データを前記外部装置用インターフェイスに出力する複数の出力経路から選択することを特徴とする。
本発明のプログラムを実行することにより、制御部は、ホストコンピューターが複数のインターフェイスのうち、どのインターフェイスに接続されているかを検知し、その検知結果に応じて、このホストコンピューターが送信するデータを他の外部装置に出力する出力経路を選択するので、ホストコンピューターが接続されたインターフェイスの特性に合わせて、外部装置へ出力するデータの出力経路を適切に選択し、出力方法を最適化できる。これにより、ホストコンピューターが送信する外部出力用データを外部装置に伝送する場合に、インターフェイスの種類や特性の違いを生かして効率よく処理できる。
In order to solve the above-described problem, the present invention provides a program executable by a control unit that controls an electronic device including a plurality of interfaces connectable to a host computer and an external device interface connected to the external device. And receiving control data transmitted from the host computer, operating based on the received control data, and outputting external output data transmitted from the host computer to the external device interface, The host computer detects which of the plurality of interfaces is connected, and selects external output data received from the host computer from the plurality of output paths that output to the external device interface according to the result. It is characterized by that.
By executing the program of the present invention, the control unit detects which interface the host computer is connected to among the plurality of interfaces, and determines other data transmitted by the host computer according to the detection result. Since the output route to be output to the external device is selected, the output method of the data to be output to the external device can be appropriately selected according to the characteristics of the interface connected to the host computer, and the output method can be optimized. As a result, when the external output data transmitted by the host computer is transmitted to the external device, it is possible to efficiently process by utilizing the difference in interface type and characteristics.

本発明によれば、ホストコンピューターが送信する外部出力用データを外部装置に伝送する場合に、ホストコンピューターが接続されたインターフェイスの特性に合わせて、外部装置へ出力するデータの出力方法を最適化し、効率よく処理できる。   According to the present invention, when transmitting external output data transmitted by a host computer to an external device, the output method of data output to the external device is optimized in accordance with the characteristics of the interface to which the host computer is connected, Can be processed efficiently.

実施形態に係るPOS端末システムの構成を示すブロック図である。It is a block diagram which shows the structure of the POS terminal system which concerns on embodiment. 出力経路の切り換え状態の一例を示す図である。It is a figure which shows an example of the switching state of an output path | route. 出力経路の切り換え状態の一例を示す図である。It is a figure which shows an example of the switching state of an output path | route. 出力経路の切り換え状態の別の例を示す図である。It is a figure which shows another example of the switching state of an output path | route. 出力回路における信号の入出力の状態を模式的に示す図である。It is a figure which shows typically the input / output state of the signal in an output circuit. 出力回路における信号の入出力の状態を模式的に示す図である。It is a figure which shows typically the input / output state of the signal in an output circuit.

以下、図面を参照して本発明の好適な実施の形態について説明する。
図1は、本発明を適用した実施形態に係るPOS端末システム10の概要構成を示すブロック図である。
POS端末システム10は、小売り店舗等に設置されて販売の会計処理を行う端末装置であり、売上商品の登録、入出金処理、レシートの発行、売上集計、商品在庫数管理等の各処理を行う機能を備えている。POS端末システム10は、POS管理コンピューター(図示略)に通信ネットワークを介して接続され、このPOS管理コンピューターに対して日報、月報等のデータを送信し、POS管理コンピューターから送信される商品管理データ等の各種データを受信する。POS端末システム10は、POS端末システム10における各種制御を行うホストコンピューター11と、ホストコンピューター11に接続され、レシートやクーポン券などの印刷処理を行う電子機器としてのプリンター12と、プリンター12に接続されるとともに、プリンター12を介してホストコンピューター11の制御下で外部装置として各種情報の表示を行うカスタマーディスプレイ13とを備えている。
Preferred embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of a POS terminal system 10 according to an embodiment to which the present invention is applied.
The POS terminal system 10 is a terminal device that is installed in a retail store and performs sales accounting processing, and performs various processes such as sales merchandise registration, deposit / withdrawal processing, receipt issuance, sales counting, and merchandise inventory management. It has a function. The POS terminal system 10 is connected to a POS management computer (not shown) via a communication network, transmits data such as daily reports and monthly reports to the POS management computer, and product management data transmitted from the POS management computer. Receive various data. The POS terminal system 10 is connected to a host computer 11 that performs various controls in the POS terminal system 10, a printer 12 as an electronic device that is connected to the host computer 11, and performs printing processing such as receipts and coupons, and the printer 12. And a customer display 13 that displays various information as an external device under the control of the host computer 11 via the printer 12.

プリンター12は、外部装置としてのホストコンピューター11に接続され、ホストコンピューター11から入力されるデータに基づいて、記録媒体に文字や画像等を印刷(記録)する。本実施形態では一例として、本体に記録媒体としての感熱ロール紙を収容し、発熱素子を備えた印刷ヘッド53により、感熱ロール紙の記録面に熱を加えることで文字や画像等を形成し、POS端末システム10のレシートを印刷するサーマルプリンターとして説明する。
プリンター12は、プリントエンジンとして印刷動作を制御するとともに、プリンター12の各部を中枢的に制御する制御部41(制御手段)と、制御部41により実行されるプログラムや各種データ等を記憶した不揮発性メモリー42と、ホストコンピューター11から受信したデータを一時的に記憶するバッファーメモリー43と、プリンター12が備える駆動部を制御して印刷を実行するモータードライバー44とを備え、制御部41には、用紙端センサー51及び用紙残量センサー52が接続されている。不揮発性メモリー42は、具体的には、EEPROMやフラッシュメモリー等の半導体記憶素子により構成される。バッファーメモリー43は、制御部41に入力されたコマンドやデータ等を受信順に記憶する揮発性記憶装置である。
The printer 12 is connected to a host computer 11 as an external device, and prints (records) characters, images, and the like on a recording medium based on data input from the host computer 11. In the present embodiment, as an example, the main body accommodates a thermal roll paper as a recording medium, and a print head 53 provided with a heating element forms characters, images, and the like by applying heat to the recording surface of the thermal roll paper. The thermal printer that prints the receipt of the POS terminal system 10 will be described.
The printer 12 controls a printing operation as a print engine, and also controls a control unit 41 (control unit) that centrally controls each unit of the printer 12, and a nonvolatile storage that stores programs executed by the control unit 41, various data, and the like. The memory 42, a buffer memory 43 that temporarily stores data received from the host computer 11, and a motor driver 44 that controls a driving unit included in the printer 12 to execute printing. An edge sensor 51 and a remaining paper sensor 52 are connected. Specifically, the nonvolatile memory 42 includes a semiconductor storage element such as an EEPROM or a flash memory. The buffer memory 43 is a volatile storage device that stores commands, data, and the like input to the control unit 41 in the order of reception.

プリンター12は、感熱ロール紙に印刷する印刷ヘッド53と、感熱ロール紙を搬送する搬送ローラー(図示略)を回転させる搬送モーター54と、印刷後の感熱ロール紙をカットするカッターユニット55とを備えている。
モータードライバー44は、プリンター12が備える搬送モーター54、及びカッターユニット55に接続され、搬送モーター54に対して駆動電流と駆動パルスを出力して必要量だけ感熱ロール紙を搬送させ、カッターユニット55に駆動電流を出力することで所定のタイミングで感熱ロール紙をカットさせる。
また、制御部41に接続された用紙端センサー51は、感熱ロール紙の搬送路上において感熱ロール紙の有無を検出し、用紙残量センサー52は、感熱ロール紙の残量が所定量以下になったことを検出するセンサーであり、それぞれ検出値を制御部41に出力する。
The printer 12 includes a print head 53 that prints on thermal roll paper, a conveyance motor 54 that rotates a conveyance roller (not shown) that conveys the thermal roll paper, and a cutter unit 55 that cuts the thermal roll paper after printing. ing.
The motor driver 44 is connected to a conveyance motor 54 and a cutter unit 55 provided in the printer 12, and outputs a driving current and a driving pulse to the conveyance motor 54 to convey a thermal roll paper by a necessary amount. By outputting the driving current, the thermal roll paper is cut at a predetermined timing.
Further, the paper end sensor 51 connected to the control unit 41 detects the presence or absence of the thermal roll paper on the thermal roll paper conveyance path, and the paper remaining amount sensor 52 has the remaining amount of the thermal roll paper below a predetermined amount. This is a sensor for detecting that the detected value is output to the control unit 41.

制御部41は、不揮発性メモリー42から読み出したプログラムを実行し、バッファーメモリー43に記憶されたコマンド及びデータと、用紙端センサー51及び用紙残量センサー52の検出値とに基づいて、印刷ヘッド53に接続されたヘッドドライバー(図示略)を駆動して各発熱素子への通電制御を行うとともに、モータードライバー44を制御することにより搬送モーター54及びカッターユニット55を動作させて、感熱ロール紙への印刷を行う。   The control unit 41 executes the program read from the non-volatile memory 42, and based on the commands and data stored in the buffer memory 43 and the detection values of the paper edge sensor 51 and the paper remaining amount sensor 52, the print head 53. The head driver (not shown) connected to the head is driven to control the energization of each heating element, and the motor driver 44 is controlled to operate the transport motor 54 and the cutter unit 55 to apply heat to the thermal roll paper. Print.

制御部41は、不揮発性メモリー42、バッファーメモリー43及びモータードライバー44とともに、メイン基板40に実装されている。メイン基板40はプリンター12の本体基板であり、上述した制御部41等のほか、ホストコンピューター11及びカスタマーディスプレイ13に接続される各種インターフェイスが実装されている。
詳細には、メイン基板40には、ホストコンピューター11に接続されるUSBインターフェイスを構成するコネクター21(インターフェイス)と、カスタマーディスプレイ13に接続されるディスプレイコネクター22(外部装置用インターフェイス)と、コネクター21に接続されたUSBコントローラー25とを備えている。コネクター21はUSB(Universal serial Bus)規格に準拠したコネクターであり、USBコントローラー25は、USB規格に準拠したUSBデバイスコントローラーである。USBコントローラー25は、ホストコンピューター11が備えるUSBホストコントローラー(図示略)に接続された場合に、ホストコンピューター11に対してはスレーブデバイスとして振る舞うように構成されている。
The control unit 41 is mounted on the main board 40 together with the nonvolatile memory 42, the buffer memory 43, and the motor driver 44. The main board 40 is a main body board of the printer 12, and various interfaces connected to the host computer 11 and the customer display 13 are mounted in addition to the control unit 41 and the like described above.
More specifically, the main board 40 includes a connector 21 (interface) constituting a USB interface connected to the host computer 11, a display connector 22 (external device interface) connected to the customer display 13, and a connector 21. And a connected USB controller 25. The connector 21 is a connector conforming to the USB (Universal serial Bus) standard, and the USB controller 25 is a USB device controller conforming to the USB standard. The USB controller 25 is configured to behave as a slave device with respect to the host computer 11 when connected to a USB host controller (not shown) included in the host computer 11.

ディスプレイコネクター22は、カスタマーディスプレイ13に接続されるコネクターである。カスタマーディスプレイ13は、RS−232C規格に準拠した形態で、プリンター12との間で信号を入出力する。このため、ディスプレイコネクター22は、上記規格に準拠した信号を伝送するため、カスタマーディスプレイ13とプリンター12との間に、プリンター12からカスタマーディスプレイ13に表示用データを出力するラインと、カスタマーディスプレイ13がプリンター12にエラー信号を出力するラインとの2本の信号線を接続する。ディスプレイコネクター22は、プリンター12からカスタマーディスプレイ13に給電する給電ライン等を備えていてもよい。
コネクター21及びディスプレイコネクター22は、プリンター12の本体の側面または背面に設けられて外部に露出し、いつでもコネクター21及びディスプレイコネクター22に、ケーブルを介してホストコンピューター11及びカスタマーディスプレイ13を接続できる。
The display connector 22 is a connector connected to the customer display 13. The customer display 13 inputs and outputs signals to and from the printer 12 in a form compliant with the RS-232C standard. For this reason, the display connector 22 transmits a signal that conforms to the above-mentioned standard. Between the customer display 13 and the printer 12, a line for outputting display data from the printer 12 to the customer display 13, and the customer display 13 Two signal lines are connected to the printer 12 for outputting an error signal. The display connector 22 may include a power supply line that supplies power to the customer display 13 from the printer 12.
The connector 21 and the display connector 22 are provided on the side surface or the back surface of the main body of the printer 12 and exposed to the outside, and the host computer 11 and the customer display 13 can be connected to the connector 21 and the display connector 22 at any time via a cable.

さらに、メイン基板40にはUIBコネクター28が実装されている。UIBコネクター28は、サブ基板30に接続されるコネクターである。言い換えれば、サブ基板30は、UIBコネクター28を介してメイン基板40に着脱可能に構成される。サブ基板30には、ホストコンピューター11に接続されるホスト用コネクター32(インターフェイス)と、ホスト用コネクター32に接続されたUIBコントローラー31とが実装されている。
プリンター12には、ホスト用コネクター32の種類が異なる複数のサブ基板30を接続できる。サブ基板30としては、例えば、シリアルインターフェイスと呼ばれるRS−232Cインターフェイスを備えたもの、パラレルインターフェイスと呼ばれるIEEE1284インターフェイスを備えたもの、USBインターフェイスを備えたもの等がある。RS−232Cインターフェイスを備えたサブ基板30は、Dサブ9ピンまたは25ピンのホスト用コネクター32と、シリアルインターフェイス回路として構成されるUIBコントローラー31とを備える。また、IEEE1284インターフェイスを備えたサブ基板30は、ホスト用コネクター32としてセントロニクス36ピンコネクターを備え、ホスト用コネクター32としてパラレル通信インターフェイス回路を備えている。
また、USBインターフェイスを備えたサブ基板30は、4ピン(USB1.0、1.1、2.0)または9ピン(USB3.0)のホスト用コネクター32と、このホスト用コネクター32をUSBコントローラー25に接続するUIBコントローラー31とを備えている。このUSBインターフェイスに対応するサブ基板30は、メイン基板40に実装されたUSBコントローラー25の機能により、ホストコンピューター11を制御部41に接続する。
Further, a UIB connector 28 is mounted on the main board 40. The UIB connector 28 is a connector connected to the sub board 30. In other words, the sub board 30 is configured to be detachable from the main board 40 via the UIB connector 28. A host connector 32 (interface) connected to the host computer 11 and a UIB controller 31 connected to the host connector 32 are mounted on the sub board 30.
A plurality of sub-boards 30 having different types of host connectors 32 can be connected to the printer 12. Examples of the sub-board 30 include an RS-232C interface called a serial interface, an IEEE1284 interface called a parallel interface, and a USB interface. The sub board 30 provided with the RS-232C interface includes a D-sub 9-pin or 25-pin host connector 32 and a UIB controller 31 configured as a serial interface circuit. The sub-board 30 having the IEEE 1284 interface includes a Centronics 36-pin connector as the host connector 32 and a parallel communication interface circuit as the host connector 32.
In addition, the sub-board 30 provided with the USB interface includes a 4-pin (USB 1.0, 1.1, 2.0) or 9-pin (USB 3.0) host connector 32 and the host connector 32 as a USB controller. And a UIB controller 31 connected to 25. The sub board 30 corresponding to the USB interface connects the host computer 11 to the control unit 41 by the function of the USB controller 25 mounted on the main board 40.

ディスプレイコネクター22、USBコントローラー25及びUIBコネクター28は、出力回路20(出力手段)を介して制御部41に接続される。出力回路20は、ディスプレイコネクター22と制御部41、USBコントローラー25と制御部41、及びUIBコネクター28と制御部41とを接続して、制御部41とカスタマーディスプレイ13との間の信号及びデータの入出力と、USBコントローラー25と制御部41との間の各種データの入出力と、サブ基板30と制御部41との間の各種データの送受信を可能にする。さらに、出力回路20は、ディスプレイコネクター22をUIBコネクター28に接続することも可能である。そして、出力回路20における各部の接続状態は、制御部41の制御によって切り替え可能となっている。   The display connector 22, the USB controller 25, and the UIB connector 28 are connected to the control unit 41 via the output circuit 20 (output means). The output circuit 20 connects the display connector 22 and the control unit 41, the USB controller 25 and the control unit 41, and the UIB connector 28 and the control unit 41, and transmits signals and data between the control unit 41 and the customer display 13. Input / output, input / output of various data between the USB controller 25 and the control unit 41, and transmission / reception of various data between the sub-board 30 and the control unit 41 are enabled. Further, the output circuit 20 can connect the display connector 22 to the UIB connector 28. The connection state of each part in the output circuit 20 can be switched under the control of the control unit 41.

制御部41は、出力回路20に対して通信データ41Bを入出力することにより、出力回路20を介してコネクター21、ディスプレイコネクター22或いはホスト用コネクター32との間で各種信号およびデータを送受信する。通信データ41Bは、例えば、ホストコンピューター11から制御部41に対する印刷用データ、ホストコンピューター11から出力された表示用データ、ホストコンピューター11と制御部41とが送受信する各主制御信号、制御部41が変換した表示用データ等を含む。
また、制御部41は、出力回路20を介して、ディスプレイコネクター22にカスタマーディスプレイ13が接続されているか否か、UIBコネクター28にサブ基板30が装着されているか否か、及び、UIBコネクター28に装着されたサブ基板30が対応するインターフェイスの種類を検出可能である。さらに、制御部41は、USBコントローラー25の機能によって、コネクター21にホストコンピューター11が接続されたか否かを検出でき、サブ基板30が備えるホスト用コネクター32にホストコンピューター11が接続されているか否かも検出可能である。
そして、制御部41は、カスタマーディスプレイ13の接続の有無、サブ基板30の種類、及び、ホストコンピューター11がコネクター21とホスト用コネクター32のどちらに接続されているかに応じて、出力回路20における接続状態の切り換えを指示する切換制御信号41Aを、出力回路20に出力する。この切換制御信号41Aに従って、出力回路20内部における接続状態、すなわちデータの出力経路が切り換えられる。
The control unit 41 transmits / receives various signals and data to / from the connector 21, the display connector 22, or the host connector 32 via the output circuit 20 by inputting / outputting communication data 41 </ b> B to / from the output circuit 20. The communication data 41B includes, for example, print data from the host computer 11 to the control unit 41, display data output from the host computer 11, each main control signal transmitted and received between the host computer 11 and the control unit 41, and the control unit 41. Includes converted display data.
Further, the control unit 41 determines whether the customer display 13 is connected to the display connector 22 via the output circuit 20, whether the sub-board 30 is attached to the UIB connector 28, and the UIB connector 28. The type of interface corresponding to the mounted sub-board 30 can be detected. Further, the control unit 41 can detect whether or not the host computer 11 is connected to the connector 21 by the function of the USB controller 25, and whether or not the host computer 11 is connected to the host connector 32 provided on the sub board 30. It can be detected.
Then, the control unit 41 connects in the output circuit 20 depending on whether the customer display 13 is connected, the type of the sub-board 30, and whether the host computer 11 is connected to the connector 21 or the host connector 32. A switching control signal 41A for instructing switching of the state is output to the output circuit 20. In accordance with the switching control signal 41A, the connection state in the output circuit 20, that is, the data output path is switched.

ところで、カスタマーディスプレイ13に表示される情報は、例えば商品の単価、販売数量、合計金額等、ホストコンピューター11が処理及び生成する情報である。カスタマーディスプレイ13の動作は、単にホストコンピューター11が出力する表示用データを受信して表示するに過ぎない。上述のように、プリンター12にはホストコンピューター11とカスタマーディスプレイ13とが接続されているため、ホストコンピューター11がカスタマーディスプレイ13に対して出力する表示用データは、いったんプリンター12に入力され、プリンター12からカスタマーディスプレイ13に出力される。   By the way, the information displayed on the customer display 13 is information processed and generated by the host computer 11 such as a unit price of a product, a sales quantity, and a total price. The operation of the customer display 13 merely receives and displays display data output from the host computer 11. As described above, since the host computer 11 and the customer display 13 are connected to the printer 12, the display data output from the host computer 11 to the customer display 13 is once input to the printer 12. To the customer display 13.

本実施形態では、カスタマーディスプレイ13はRS−232Cに対応しているので、プリンター12は、カスタマーディスプレイ13に対して、RS−232C規格に準拠した信号を入出力する。ここで、ホストコンピューター11からプリンター12に入力される出力用データ自体がRS−232C規格に準拠していれば、この出力用データを加工しないでディスプレイコネクター22にパススルー伝送すれば、カスタマーディスプレイ13は表示を行える。これに対し、ホストコンピューター11からプリンター12に入力される出力用データがRS−232C規格に準拠していない場合には、制御部41が信号(データ)形式を変換して、カスタマーディスプレイ13に出力する必要がある。具体的には、サブ基板30がRS−232C規格に対応したUIBコントローラー31及びホスト用コネクター32を備えており、ホストコンピューター11がサブ基板30に接続された場合には、プリンター12は、出力用データをパススルー伝送すればよい。この場合、制御部41が信号を変換する必要がないので処理負荷が軽減され、効率よく情報を表示できる。また、ホストコンピューター11がコネクター21に接続された場合、或いは、RS−232C以外のインターフェイスに対応したサブ基板30に接続された場合には、出力用データは制御部41によって変換され、カスタマーディスプレイ13に出力される。このため、本実施形態では、ホストコンピューター11がどのインターフェイスに接続されているかに応じて、出力回路20が、出力用データをカスタマーディスプレイ13にパススルー伝送する出力経路と、制御部41が信号を変換してカスタマーディスプレイ13に出力する出力経路とを切り換える。以下、この動作について説明する。   In the present embodiment, since the customer display 13 is compatible with RS-232C, the printer 12 inputs and outputs a signal based on the RS-232C standard with respect to the customer display 13. Here, if the output data itself input from the host computer 11 to the printer 12 is compliant with the RS-232C standard, the customer display 13 can be transmitted through the display connector 22 without processing the output data. Can be displayed. On the other hand, when the output data input from the host computer 11 to the printer 12 does not comply with the RS-232C standard, the control unit 41 converts the signal (data) format and outputs the converted data to the customer display 13. There is a need to. Specifically, when the sub board 30 includes a UIB controller 31 and a host connector 32 corresponding to the RS-232C standard, and the host computer 11 is connected to the sub board 30, the printer 12 is used for output. Data may be passed through. In this case, since the control unit 41 does not need to convert the signal, the processing load is reduced and information can be displayed efficiently. When the host computer 11 is connected to the connector 21 or when connected to the sub-board 30 corresponding to an interface other than RS-232C, the output data is converted by the control unit 41 and the customer display 13 Is output. For this reason, in this embodiment, the output circuit 20 passes through the output data to the customer display 13 according to which interface the host computer 11 is connected to, and the control unit 41 converts the signal. Then, the output path to be output to the customer display 13 is switched. Hereinafter, this operation will be described.

図2〜図4は、出力回路20における出力経路の切り換え状態の一例を示す図である。図2はコネクター21にホストコンピューター11が接続された場合を示し、(A)は出力回路20における接続状態を示し、(B)は同図(A)の状態で形成される出力経路の模式図である。
出力回路20は、仮想的(論理的)スイッチ201〜203を備えている。スイッチ201は、制御部41に対してUSBコントローラー25とUIBコネクター28とを択一的に接続するスイッチである。スイッチ202は、USBコントローラー25とUIBコネクター28とを接離するスイッチである。また、スイッチ203は、ディスプレイコネクター22に対して、制御部41とUIBコネクター28とを択一的に切り換えるスイッチである。これらのスイッチ201〜203は、それぞれ、制御部41が出力する切換制御信号41A(図1)に従って切り換えられる。
なお、スイッチ201〜203は、データを入出力する論理的な経路を切り換えるものであって、トランジスター等の回路素子により現実にスイッチ201〜203を構成してもよいし、これらのスイッチ201〜203の接続状態を等価に実現する各種回路あるいはメモリースイッチとソフトウェアを用いて実現してもよく、出力回路20の具体的な実装形態は任意である。
2 to 4 are diagrams illustrating examples of output path switching states in the output circuit 20. FIG. 2 shows a case where the host computer 11 is connected to the connector 21, (A) shows a connection state in the output circuit 20, and (B) is a schematic diagram of an output path formed in the state of FIG. It is.
The output circuit 20 includes virtual (logical) switches 201 to 203. The switch 201 is a switch that alternatively connects the USB controller 25 and the UIB connector 28 to the control unit 41. The switch 202 is a switch for connecting and separating the USB controller 25 and the UIB connector 28. The switch 203 is a switch for selectively switching the control unit 41 and the UIB connector 28 with respect to the display connector 22. These switches 201 to 203 are switched in accordance with a switching control signal 41A (FIG. 1) output from the control unit 41.
The switches 201 to 203 switch a logical path for inputting and outputting data, and the switches 201 to 203 may actually be configured by circuit elements such as transistors, or these switches 201 to 203 may be configured. These circuits may be realized using various circuits or memory switches and software equivalently, and the specific implementation of the output circuit 20 is arbitrary.

図2(A)に示す例は、コネクター21にホストコンピューター11が接続された場合の接続状態である。ディスプレイコネクター22にはカスタマーディスプレイ13が接続されている。この例では、ホストコンピューター11がUSBコントローラー25に接続され、このUSBコントローラー25を介して制御部41にデータが入力されるので、スイッチ201は、USBコントローラー25と制御部41とを接続し、スイッチ202は切断状態である。この例では、ホストコンピューター11からはUSBの信号フォーマットに適合した形態で印刷データ及び表示用データを含む各種データが入力されるので、入力された表示用データをそのままカスタマーディスプレイ13に出力しても表示できない。従って、いったん制御部41に入力された表示用データを制御部41が変換してディスプレイコネクター22に出力するので、スイッチ203はディスプレイコネクター22に制御部41を接続している。この状態で出力回路20には出力経路20Aが形成される。出力経路20Aは、図2(B)に示すように、ホストコンピューター11が出力したUSBインターフェイスに適合する形態の印刷データ及び表示用データを、制御部41に入力し、制御部41が表示用データをRS−232Cに適した形態に変換して出力し、制御部41が出力する表示用データをカスタマーディスプレイ13に入力する経路である。制御部41にはホストコンピューター11から印刷用データと表示用データの両方が入力されるので、制御部41は印刷用データを抽出して、モータードライバー44、用紙端センサー51、用紙残量センサー52、印刷ヘッド53、搬送モーター54、及びカッターユニット55を制御して印刷を実行する。   The example shown in FIG. 2A is a connection state when the host computer 11 is connected to the connector 21. A customer display 13 is connected to the display connector 22. In this example, since the host computer 11 is connected to the USB controller 25 and data is input to the control unit 41 via the USB controller 25, the switch 201 connects the USB controller 25 and the control unit 41, and the switch Reference numeral 202 denotes a disconnected state. In this example, since various data including print data and display data are input from the host computer 11 in a form conforming to the USB signal format, the input display data can be output to the customer display 13 as it is. Cannot be displayed. Accordingly, since the control unit 41 converts display data once input to the control unit 41 and outputs it to the display connector 22, the switch 203 connects the control unit 41 to the display connector 22. In this state, an output path 20A is formed in the output circuit 20. As shown in FIG. 2B, the output path 20A inputs print data and display data conforming to the USB interface output from the host computer 11 to the control unit 41, and the control unit 41 displays the display data. Is converted into a form suitable for RS-232C and output, and the display data output by the control unit 41 is input to the customer display 13. Since both print data and display data are input from the host computer 11 to the control unit 41, the control unit 41 extracts the print data and outputs a motor driver 44, a paper edge sensor 51, and a paper remaining amount sensor 52. The printing head 53, the conveyance motor 54, and the cutter unit 55 are controlled to execute printing.

図3には、USBインターフェイスに対応したUSBコネクター32Aを有するサブ基板30Aが、UIBコネクター28に装着され、このUSBコネクター32Aにホストコンピューター11が接続された状態を例示する。
この図3の例では、UIBコネクター28に着脱可能なサブ基板30の一種として、コネクター21とは別のUSBコネクター32Aを有するサブ基板30Aが接続される。この場合、USBコネクター32Aに入力されたデータは、USBコントローラー25の機能により制御される。この構成により,USBコネクター32AにUSBコントローラーを搭載する必要がないためコスト面で有利である。
この図3の構成では、ホストコンピューター11がサブ基板30Aに出力した印刷用データ及び表示用データをUSBコントローラー25が制御するため、スイッチ202においてUIBコネクター28とUSBコントローラー25とが接続される。USBコントローラー25が制御した印刷用データ及び表示用データは制御部41に入力されるので、スイッチ201は図2(A)と同様、制御部41とUSBコントローラー25とを接続する。また、制御部41が変換した表示用データがディスプレイコネクター22に出力されるので、スイッチ203はディスプレイコネクター22に制御部41を接続する。
この場合に出力回路20が形成する出力経路20Bは、ホストコンピューター11がUIBコネクター28を介して接続されている他は、出力経路20A(図2(A)、(B))と等しい。
FIG. 3 illustrates a state in which the sub board 30A having the USB connector 32A corresponding to the USB interface is attached to the UIB connector 28, and the host computer 11 is connected to the USB connector 32A.
In the example of FIG. 3, a sub board 30 </ b> A having a USB connector 32 </ b> A different from the connector 21 is connected as a kind of sub board 30 that can be attached to and detached from the UIB connector 28. In this case, the data input to the USB connector 32A is controlled by the function of the USB controller 25. This configuration is advantageous in terms of cost because it is not necessary to mount a USB controller on the USB connector 32A.
In the configuration of FIG. 3, the USB controller 25 controls the print data and display data output from the host computer 11 to the sub-board 30 </ b> A, so the UIB connector 28 and the USB controller 25 are connected at the switch 202. Since the printing data and display data controlled by the USB controller 25 are input to the control unit 41, the switch 201 connects the control unit 41 and the USB controller 25 as in FIG. Further, since the display data converted by the control unit 41 is output to the display connector 22, the switch 203 connects the control unit 41 to the display connector 22.
In this case, the output path 20B formed by the output circuit 20 is the same as the output path 20A (FIGS. 2A and 2B) except that the host computer 11 is connected via the UIB connector 28.

図4には、RS−232C規格に対応したRS−232Cコネクター32Bを有するサブ基板30Bが、UIBコネクター28に装着され、このRS−232Cコネクター32Bにホストコンピューター11が接続された状態を例示する。
図4の例では、UIBコネクター28に着脱可能なサブ基板30の一種として、サブ基板30Bが接続され、ホストコンピューター11は、RS−232C規格に準拠した印刷用データ及び表示用データを出力する。この印刷用データ及び表示用データは、サブ基板30Bに実装されたインターフェイス回路(図示略)により制御され、制御部41に入力される。ここで、RS−232Cに適合した表示用データは、カスタマーディスプレイ13にも適合しているので、そのままカスタマーディスプレイ13に入力すれば、カスタマーディスプレイ13により表示可能である。そこで、出力回路20は、ホストコンピューター11からサブ基板30Bに入力された表示用データを、そのままカスタマーディスプレイ13にパススルー伝送する出力経路20Cを形成する。
すなわち、スイッチ201は、制御部41にUIBコネクター28を接続し、スイッチ203は、ディスプレイコネクター22にUIBコネクター28を接続する。これにより、UIBコネクター28から制御部41とディスプレイコネクター22の両方に、同じデータが送られる。また、スイッチ202は、USBコントローラー25とUIBコネクター28とを切断した状態となる。
この場合、図4(B)に示すように、ホストコンピューター11から制御部41とカスタマーディスプレイ13の両方に対して、RS−232Cに適合した印刷用データと表示用データとが入力される。
FIG. 4 illustrates a state in which the sub board 30B having the RS-232C connector 32B corresponding to the RS-232C standard is attached to the UIB connector 28, and the host computer 11 is connected to the RS-232C connector 32B.
In the example of FIG. 4, the sub board 30 </ b> B is connected as a kind of sub board 30 that can be attached to and detached from the UIB connector 28, and the host computer 11 outputs printing data and display data that comply with the RS-232C standard. The printing data and display data are controlled by an interface circuit (not shown) mounted on the sub-board 30B and input to the control unit 41. Here, since the display data that conforms to RS-232C is also suitable for the customer display 13, if it is input to the customer display 13 as it is, it can be displayed on the customer display 13. Therefore, the output circuit 20 forms an output path 20 </ b> C through which the display data input from the host computer 11 to the sub-board 30 </ b> B is transmitted to the customer display 13 as it is.
That is, the switch 201 connects the UIB connector 28 to the control unit 41, and the switch 203 connects the UIB connector 28 to the display connector 22. As a result, the same data is sent from the UIB connector 28 to both the control unit 41 and the display connector 22. The switch 202 is in a state where the USB controller 25 and the UIB connector 28 are disconnected.
In this case, as shown in FIG. 4B, printing data and display data conforming to RS-232C are input from the host computer 11 to both the control unit 41 and the customer display 13.

このように、出力回路20は、制御部41の制御に従ってスイッチ201〜203の接続状態を切り換えることにより、出力経路20A、20B、20Cを切り換えて形成する。このため、ホストコンピューター11の接続状態と、ホストコンピューター11が出力するデータフォーマット(信号フォーマット)に応じて、カスタマーディスプレイ13にデータをパススルーする出力経路20Cと、制御部41がデータフォーマットの変換を行う出力経路20A、20Bとを切り換えることができる。このため、パススルー伝送が可能な場合には制御部41の処理負荷を軽減できる。また、制御部41による変換を行うことを前提にすることで、カスタマーディスプレイ13とは異なる規格に準拠したインターフェイスにホストコンピューター11を接続することもでき、例えば、RS−232Cより高速なUSBインターフェイスを介して、ホストコンピューター11を接続できる。従って、様々なインターフェイスによりホストコンピューター11及びカスタマーディスプレイ13を接続可能にするとともに、各装置が接続されたインターフェイスの種類に合わせて、効率よくデータを処理できる。   Thus, the output circuit 20 switches and forms the output paths 20A, 20B, and 20C by switching the connection state of the switches 201 to 203 according to the control of the control unit 41. Therefore, according to the connection state of the host computer 11 and the data format (signal format) output from the host computer 11, the output path 20C for passing data through the customer display 13 and the control unit 41 convert the data format. The output paths 20A and 20B can be switched. For this reason, when pass-through transmission is possible, the processing load of the control unit 41 can be reduced. Further, by assuming that the conversion by the control unit 41 is performed, the host computer 11 can be connected to an interface based on a standard different from the customer display 13, for example, a USB interface faster than RS-232C. The host computer 11 can be connected through the network. Accordingly, the host computer 11 and the customer display 13 can be connected through various interfaces, and data can be efficiently processed according to the type of interface to which each device is connected.

また、出力回路20が備えるスイッチ202は、図3に示したように、UIBコネクター28を介してホストコンピューター11がUSB接続される場合に、UIBコネクター28とUSBコントローラー25とを接続する。このため、スイッチ202は、UIBコネクター28を介してホストコンピューター11がUSB接続される場合のみ自動的にONにされ、その他の場合はOFFに保たれる。   Further, as shown in FIG. 3, the switch 202 provided in the output circuit 20 connects the UIB connector 28 and the USB controller 25 when the host computer 11 is USB-connected via the UIB connector 28. For this reason, the switch 202 is automatically turned ON only when the host computer 11 is USB-connected via the UIB connector 28, and is kept OFF in other cases.

これに対し、スイッチ201は、ホストコンピューター11との間の通信をUSBコントローラー25が制御する場合は、USBコントローラー25を制御部41に接続し、その他の場合はUIBコネクター28を制御部41に接続する。また、スイッチ203は、ホストコンピューター11との間の通信をUSBコントローラー25が制御する場合は、図2(A)及び図3に示したように、制御部41が処理したデータをディスプレイコネクター22に入力するため、ディスプレイコネクター22に制御部41を接続する。一方、図4(A)、(B)を参照して説明したように、UIBコネクター28からディスプレイコネクター22へデータをパススルー伝送する場合は、ディスプレイコネクター22にUIBコネクター28を接続する。従って、スイッチ201、203は、ホストコンピューター11がUSBコントローラー25に接続されたか否かに基づき、連動して切り換えることができる。例えば、ホストコンピューター11がUSBコントローラー25に接続された場合は、切換制御信号41AがHighになり、その他の場合は切換制御信号41AがLowになる構成とし、この切換制御信号41Aによりスイッチ201とスイッチ203とを切り換えることができる。この構成では、スイッチ201は、切換制御信号41AがHighのときにUSBコントローラー25を制御部41に接続し(図2(A))、切換制御信号41AがLowのときにUIBコネクター28を制御部41に接続する(図4(A))。スイッチ203は、切換制御信号41AがHighのときに制御部41をディスプレイコネクター22に接続し(図2(A))、切換制御信号41AがLowのときにUIBコネクター28をディスプレイコネクター22に接続する(図4(A))。つまり、切換制御信号41AがHighのときは出力経路20A、20Bに切り換えられ、切換制御信号41AがLowのときは出力経路20Cに切り換えられる。従って、切換制御信号41Aが2つの状態を取る構成により、ホストコンピューター11の接続状態に応じて出力経路を切り換えることが可能となる。   In contrast, the switch 201 connects the USB controller 25 to the control unit 41 when the USB controller 25 controls communication with the host computer 11, and connects the UIB connector 28 to the control unit 41 in other cases. To do. Further, when the USB controller 25 controls the communication with the host computer 11, the switch 203 sends the data processed by the control unit 41 to the display connector 22 as shown in FIGS. 2 (A) and 3. The control unit 41 is connected to the display connector 22 for input. On the other hand, as described with reference to FIGS. 4A and 4B, when data is passed through from the UIB connector 28 to the display connector 22, the UIB connector 28 is connected to the display connector 22. Therefore, the switches 201 and 203 can be switched in conjunction based on whether or not the host computer 11 is connected to the USB controller 25. For example, when the host computer 11 is connected to the USB controller 25, the switching control signal 41A is set to High, and in other cases, the switching control signal 41A is set to Low. 203 can be switched. In this configuration, the switch 201 connects the USB controller 25 to the control unit 41 when the switching control signal 41A is high (FIG. 2A), and controls the UIB connector 28 when the switching control signal 41A is low. 41 (FIG. 4A). The switch 203 connects the control unit 41 to the display connector 22 when the switching control signal 41A is High (FIG. 2A), and connects the UIB connector 28 to the display connector 22 when the switching control signal 41A is Low. (FIG. 4 (A)). That is, when the switching control signal 41A is High, the output paths 20A and 20B are switched, and when the switching control signal 41A is Low, the output path 20C is switched. Therefore, with the configuration in which the switching control signal 41A takes two states, the output path can be switched according to the connection state of the host computer 11.

図5及び図6は、出力回路20における信号の入出力の状態を模式的に示す図である。
図5は出力経路20Aを示し、図6は出力経路20Cを示す。これら図5、図6では、UIBコネクター28がRS−232C規格の信号ラインを有する場合を例示する。この図5、図6に示す状態は、POS端末システム10における各コネクターの信号の入出力の対応関係を、あくまで一例として示すものであり、図2〜図4に示した出力経路20A〜20Cの具体的な結線状態を限定するものではない。
5 and 6 are diagrams schematically showing signal input / output states in the output circuit 20. FIG.
FIG. 5 shows the output path 20A, and FIG. 6 shows the output path 20C. 5 and 6 exemplify a case where the UIB connector 28 has an RS-232C standard signal line. The states shown in FIG. 5 and FIG. 6 show the correspondence of the input / output of the signal of each connector in the POS terminal system 10 as an example only, and the output paths 20A to 20C shown in FIGS. The specific connection state is not limited.

図5に示すように、ホストコンピューター11がコネクター21に接続された場合には、制御部41は、図2(A)に示したようにUIBコネクター28には接続されず、制御部41にはUSBコントローラー25(図外)からデータが入力される。
このため、UIBコネクター28のRXD(受信データ)にはHighに固定された信号が出力され、UIBコネクター28のTXD(送信データ)からはデータは入力されない。また、UIBコネクター28のCTS(送信可能信号)に制御部41から信号を送信することもない。
これに対し、図2(A)に示したように、ディスプレイコネクター22には制御部41が接続されている。このため、制御部41のCTSには、ディスプレイコネクター22のER(端末レディ)から、カスタマーディスプレイ13の受信可能状態に対応してレディ信号が入力される。このレディ信号に基づいて制御部41のTXDから、ディスプレイコネクター22のRXDに表示用データが出力される。
As shown in FIG. 5, when the host computer 11 is connected to the connector 21, the control unit 41 is not connected to the UIB connector 28 as shown in FIG. Data is input from the USB controller 25 (not shown).
Therefore, a signal fixed to High is output to RXD (reception data) of the UIB connector 28, and no data is input from TXD (transmission data) of the UIB connector 28. Further, no signal is transmitted from the control unit 41 to the CTS (transmittable signal) of the UIB connector 28.
On the other hand, as shown in FIG. 2A, a control unit 41 is connected to the display connector 22. For this reason, a ready signal corresponding to the reception enabled state of the customer display 13 is input from the ER (terminal ready) of the display connector 22 to the CTS of the control unit 41. Based on this ready signal, display data is output from the TXD of the control unit 41 to the RXD of the display connector 22.

また、図6に示すように、ホストコンピューター11がUIBコネクター28に接続された場合、図4(A)に示したように、UIBコネクター28と制御部41、及び、UIBコネクター28とディスプレイコネクター22が互いに接続される。
このため、UIBコネクター28のCTSと制御部41のCTSとが送信可能信号を相互に出力し、UIBコネクター28のTXD、RXDと、制御部41のRXD、TXDとがデータを送受信する。また、UIBコネクター28のTXDから出力されたデータはディスプレイコネクター22のRXDにもパススルー入力される。さらに、ディスプレイコネクター22のERから出力される信号は、ディップスイッチがONの場合に、UIBコネクター28のRTS(送信リクエスト)に入力される。このディップスイッチは、カスタマーディスプレイ13がディスプレイコネクター22に接続される場合に、例えばオペレーターの操作によりONに切り換えられる。また、UIBコネクター28のDTR(データ端末レディ)には、制御部41のDTRからの信号が入力される。
この図6の構成では、UIBコネクター28に入力された全てのデータ(印刷用データ及び表示用データ)がディスプレイコネクター22のRXDと制御部41のRXDの両方に入力されることが分かる。
As shown in FIG. 6, when the host computer 11 is connected to the UIB connector 28, as shown in FIG. 4A, the UIB connector 28 and the control unit 41, and the UIB connector 28 and the display connector 22. Are connected to each other.
For this reason, the CTS of the UIB connector 28 and the CTS of the control unit 41 mutually output transmittable signals, and the TXD and RXD of the UIB connector 28 and the RXD and TXD of the control unit 41 transmit and receive data. The data output from the TXD of the UIB connector 28 is also passed through to the RXD of the display connector 22. Further, the signal output from the ER of the display connector 22 is input to the RTS (transmission request) of the UIB connector 28 when the DIP switch is ON. When the customer display 13 is connected to the display connector 22, this dip switch is turned on by an operator's operation, for example. A signal from the DTR of the control unit 41 is input to the DTR (data terminal ready) of the UIB connector 28.
In the configuration of FIG. 6, it can be seen that all data (printing data and display data) input to the UIB connector 28 are input to both the RXD of the display connector 22 and the RXD of the control unit 41.

以上のように、本発明を適用した実施形態に係るプリンター12は、ホストコンピューター11と接続可能なコネクター21及びホスト用コネクター32と、カスタマーディスプレイ13に接続されるディスプレイコネクター22とを備え、ホストコンピューター11から送信される制御データとしての印刷データを受信して、この受信した印刷データに基づいて印刷を実行する制御部41と、複数の出力経路を有し、ホストコンピューター11から受信した外部装置用データとしての表示用データをディスプレイコネクター22に出力する出力回路20と、を備え、出力回路20は、制御部41の制御のもと、ホストコンピューター11がコネクター21及びホスト用コネクター32のどれに接続されたかを検知し、その結果に応じて、ホストコンピューター11から受信した表示用データをディスプレイコネクター22に出力する出力経路20A、20Bと出力経路20Cとを選択する(切り換える)。
これにより、ホストコンピューター11がコネクター21に接続された場合と、ホストコンピューター11がUSBコネクター32A、RS−232Cコネクター32Bに接続された場合とで、出力経路20A、20B、20Cが切り換えられるので、ホストコンピューター11が接続されたインターフェイスの特性に合わせて、カスタマーディスプレイ13へ出力するデータの出力経路、出力方法を最適化できる。これにより、ホストコンピューター11が送信する表示用データをカスタマーディスプレイ13に伝送する場合に、例えばUSBインターフェイスとRS−232Cインターフェイスの伝送速度や信号フォーマットの違い、或いは、RS−232Cインターフェイスを採用するカスタマーディスプレイ13とのインターフェイスの種類が一致することを利用して、効率よく処理できる。
As described above, the printer 12 according to the embodiment to which the present invention is applied includes the connector 21 and the host connector 32 that can be connected to the host computer 11, and the display connector 22 that is connected to the customer display 13. 11 for receiving external print data received from the host computer 11 having a plurality of output paths and a control unit 41 that receives print data as control data transmitted from the printer 11 and executes printing based on the received print data. And an output circuit 20 that outputs display data as data to the display connector 22. The output circuit 20 is connected to any of the connector 21 and the host connector 32 by the host computer 11 under the control of the control unit 41. Is detected, and depending on the result, Output path 20A for outputting display data received from the preparative computer 11 to the display connector 22, 20B and selects an output path 20C (switches).
As a result, the output paths 20A, 20B, and 20C are switched between when the host computer 11 is connected to the connector 21 and when the host computer 11 is connected to the USB connector 32A and the RS-232C connector 32B. The output path and output method of data to be output to the customer display 13 can be optimized according to the characteristics of the interface to which the computer 11 is connected. As a result, when display data transmitted from the host computer 11 is transmitted to the customer display 13, for example, a difference in transmission speed or signal format between the USB interface and the RS-232C interface, or a customer display that adopts the RS-232C interface. By using the fact that the interface type matches 13, processing can be performed efficiently.

また、プリンター12は、制御部41と、制御部41に接続されたインターフェイスとを備えたメイン基板40と、メイン基板40のUIBコネクター28に着脱可能に構成され、少なくとも一つのインターフェイスを備えたサブ基板30とを有し、出力回路20は、ホストコンピューター11が、メイン基板40のコネクター21とサブ基板30のインターフェイスとのどちらに接続されたかを検知し、その結果に応じて、表示用データをディスプレイコネクター22に出力する出力経路20A、20Bと出力経路20Cとを切り換える。このため、メイン基板40にホストコンピューター11が接続された場合と、サブ基板30にホストコンピューター11が接続された場合とで、データの出力経路を換えることで、制御部41がデータフォーマットを変換するか否か等、データの処理方法を変えることができる。例えば、インターフェイスの種類が異なる複数のサブ基板30A、30Bを用意し、必要に応じてサブ基板30A、30Bを差し替えて使用する場合に、サブ基板30A、30BのUSBコネクター32A、RS−232Cコネクター32Bの特性に最適化された出力経路を利用可能となる。また、例えば、UIBコネクター28にサブ基板30が接続されていない場合であっても、ホストコンピューター11から送信される表示用データを、メイン基板40を介して出力経路20Aまたは出力経路20Bにより出力できる。   The printer 12 is configured to be detachable from the main board 40 including the control unit 41 and an interface connected to the control unit 41, and the UIB connector 28 of the main board 40, and includes a sub board including at least one interface. The output circuit 20 detects whether the host computer 11 is connected to the connector 21 of the main board 40 or the interface of the sub board 30 and outputs display data according to the result. The output paths 20A and 20B output to the display connector 22 and the output path 20C are switched. For this reason, the control unit 41 converts the data format by changing the data output path between when the host computer 11 is connected to the main board 40 and when the host computer 11 is connected to the sub board 30. Whether or not the data is processed can be changed. For example, when a plurality of sub-boards 30A and 30B having different interface types are prepared, and the sub-boards 30A and 30B are replaced as necessary, the USB connectors 32A and RS-232C connectors 32B of the sub-boards 30A and 30B are used. It is possible to use an output path optimized for the characteristics of For example, even when the sub board 30 is not connected to the UIB connector 28, display data transmitted from the host computer 11 can be output via the main board 40 via the output path 20A or the output path 20B. .

また、プリンター12のメイン基板40にはディスプレイコネクター22が設けられ、出力回路20は、サブ基板30BのRS−232Cコネクター32Bにホストコンピューター11が接続されたことを検知した場合には、ホストコンピューター11から送信される表示用データをディスプレイコネクター22にパススルー伝送する出力経路20Cに切り換え、メイン基板40のコネクター21にホストコンピューター11が接続されていることを検知した場合には、ホストコンピューター11から送信される表示用データを制御部41に入力し、制御部41からディスプレイコネクター22に出力する出力経路20Aに切り換える。これにより、RS−232Cコネクター32Bに接続されたホストコンピューター11からカスタマーディスプレイ13にデータをパススルー伝送するので、制御部41に処理負荷をかけることなくデータをカスタマーディスプレイ13に出力できる。また、コネクター21にホストコンピューター11が接続された場合には、制御部41の能力を生かして、効率よくカスタマーディスプレイ13にデータを出力できる。   The display connector 22 is provided on the main board 40 of the printer 12, and the output circuit 20 detects that the host computer 11 is connected to the RS-232C connector 32B of the sub board 30B. The display data sent from the host computer 11 is switched to the output path 20C for pass-through transmission to the display connector 22, and when it is detected that the host computer 11 is connected to the connector 21 of the main board 40, it is sent from the host computer 11. The display data to be displayed is input to the control unit 41 and switched to the output path 20A that is output from the control unit 41 to the display connector 22. As a result, data is passed through from the host computer 11 connected to the RS-232C connector 32B to the customer display 13, so that the data can be output to the customer display 13 without imposing a processing load on the control unit 41. Further, when the host computer 11 is connected to the connector 21, data can be efficiently output to the customer display 13 by utilizing the ability of the control unit 41.

この構成において、プリンター12の出力回路20は、表示用データをディスプレイコネクター22にパススルー伝送する出力経路20Cにより、RS−232Cコネクター32Bから受信したデータを、受信したデータの属性に基づき、制御部41およびディスプレイコネクター22の各々に分岐して出力するので、制御部41が何ら処理に関わらなくても、ホストコンピューター11からカスタマーディスプレイ13に表示用データが出力される。また、カスタマーディスプレイ13が接続されているか否かに関わらず制御部41が処理すべきデータは制御部41に入力される。このため、最小限の制御により、ホストコンピューター11から入力されるデータを効率よく伝送して適切に処理できる。   In this configuration, the output circuit 20 of the printer 12 transmits the data received from the RS-232C connector 32B to the control unit 41 based on the attributes of the received data through the output path 20C that passes through the display data to the display connector 22. Since the data is branched and output to each of the display connectors 22, display data is output from the host computer 11 to the customer display 13 regardless of the processing of the control unit 41. Further, data to be processed by the control unit 41 is input to the control unit 41 regardless of whether or not the customer display 13 is connected. For this reason, the data input from the host computer 11 can be efficiently transmitted and appropriately processed with the minimum control.

なお、上記各実施形態は本発明を適用した一具体例を示すものであり、本発明はこれに限定されるものではない。
例えば、上記実施形態においては、プリンター12がUSB規格に準じたコネクター21、RS−232C規格に準じたディスプレイコネクター22、USBコネクター32A、RS−232Cコネクター32Bの各インターフェイスを使用する場合を例に挙げて説明したが、本発明はこれに限定されるものではなく、例えば、IEEE1394インターフェイス、10/100BASE−T、1000BASE−TX等のLANインターフェイス、無線通信インターフェイス等を備えていてもよく、インターフェイスの総数や種類は限定されない。
また、本発明を適用可能な電子機器は、記録媒体への記録速度を制御可能なプリンターであれば特に制限されず、例えば、ドットインパクト式プリンター、インクジェット式プリンター、熱昇華型プリンター、レーザープリンターに対しても適用可能であり、他の装置に組み込まれるプリンターにも適用可能であって、その適用対象は限定されない。
また、以上の説明においては、電子機器としてプリンターの場合について説明したが、一つの通信コントローラーと、外部のホストコンピューターを接続可能な複数のインターフェイスと、を有する電子機器であれば適用が可能である。具体的には、ハードディスク装置や光ディスク記録装置などにも適用が可能である。
また、上記実施形態に示したプリンター12(電子機器)の各処理をプログラムとして提供することが可能である。更に、そのプログラムをハードディスク、光ディスク、光磁気ディスク、フラッシュメモリー等の記録媒体に格納して提供することも可能である。
Each of the above embodiments shows a specific example to which the present invention is applied, and the present invention is not limited to this.
For example, in the above-described embodiment, the printer 12 uses the connector 21 according to the USB standard, the display connector 22 according to the RS-232C standard, the USB connector 32A, and the RS-232C connector 32B as an example. However, the present invention is not limited to this, and may include, for example, an IEEE1394 interface, a LAN interface such as 10 / 100BASE-T, 1000BASE-TX, or a wireless communication interface. There are no restrictions on the type.
The electronic apparatus to which the present invention can be applied is not particularly limited as long as it is a printer that can control the recording speed onto the recording medium. For example, the electronic apparatus can be a dot impact printer, an ink jet printer, a thermal sublimation printer, or a laser printer. The present invention can also be applied to a printer incorporated in another apparatus, and the application target is not limited.
In the above description, the case of a printer as an electronic device has been described. However, the present invention can be applied to any electronic device having one communication controller and a plurality of interfaces to which an external host computer can be connected. . Specifically, the present invention can be applied to a hard disk device, an optical disk recording device, and the like.
Moreover, it is possible to provide each process of the printer 12 (electronic device) shown in the said embodiment as a program. Further, the program can be provided by being stored in a recording medium such as a hard disk, an optical disk, a magneto-optical disk, or a flash memory.

10…POS端末システム、11…ホストコンピューター、12…プリンター(電子機器)、13…カスタマーディスプレイ(外部装置)、20…出力回路(出力手段)、20A、20B、20C…出力経路、21…コネクター(インターフェイス)、22…ディスプレイコネクター(外部装置用インターフェイス)、30、30A、30B…サブ基板、32…ホスト用コネクター(インターフェイス)、32A…USBコネクター(インターフェイス)、32B…RS−232Cコネクター(インターフェイス)、40…メイン基板、41…制御部(制御手段)、41A…切換制御信号、41B…通信データ、201、202、203…スイッチ。   DESCRIPTION OF SYMBOLS 10 ... POS terminal system, 11 ... Host computer, 12 ... Printer (electronic device), 13 ... Customer display (external device), 20 ... Output circuit (output means), 20A, 20B, 20C ... Output path, 21 ... Connector ( Interface), 22 ... display connector (interface for external device), 30, 30A, 30B ... sub-board, 32 ... host connector (interface), 32A ... USB connector (interface), 32B ... RS-232C connector (interface), DESCRIPTION OF SYMBOLS 40 ... Main board | substrate, 41 ... Control part (control means), 41A ... Switching control signal, 41B ... Communication data, 201, 202, 203 ... Switch.

Claims (8)

ホストコンピューターと接続可能な複数のインターフェイスと、外部装置に接続される外部装置用インターフェイスとを備え、
前記ホストコンピューターから送信される制御データを受信して、この受信した制御データに基づいて動作する制御手段と、
複数の出力経路を有し、前記ホストコンピューターから受信した外部出力用データを前記外部装置用インターフェイスに出力する出力手段と、を備え、
前記出力手段は、前記ホストコンピューターが複数の前記インターフェイスのどれに接続されたかを検知し、その結果に応じて、前記ホストコンピューターから受信した外部出力用データを前記外部装置用インターフェイスに出力する前記出力経路を選択すること、
を特徴とする電子機器。
A plurality of interfaces connectable to the host computer and an external device interface connected to the external device,
Control means for receiving control data transmitted from the host computer and operating based on the received control data;
An output unit having a plurality of output paths and outputting external output data received from the host computer to the external device interface;
The output means detects which of the plurality of interfaces the host computer is connected to, and outputs the output data received from the host computer to the external device interface according to the result. Choosing a route,
Electronic equipment characterized by
前記制御手段と前記制御手段に接続された前記インターフェイスとを備えたメイン基板と、前記メイン基板に着脱可能に構成され、少なくとも一つのインターフェイスを備えたサブ基板とを有し、
前記出力手段は、前記ホストコンピューターが、前記メイン基板の前記インターフェイスと前記サブ基板の前記インターフェイスとのどちらに接続されたかを検知し、その結果に応じて、前記外部出力用データを前記外部装置用インターフェイスに出力する前記出力経路を切り換えることを特徴とする請求項1記載の電子機器。
A main board comprising the control means and the interface connected to the control means; and a sub-board comprising at least one interface configured to be detachable from the main board,
The output means detects whether the host computer is connected to the interface of the main board or the interface of the sub board, and according to the result, the external output data is used for the external device The electronic apparatus according to claim 1, wherein the output path to be output to the interface is switched.
前記メイン基板には、前記制御手段および前記インターフェイスとともに、前記外部装置用インターフェイスが設けられ、
前記出力手段は、前記サブ基板に設けられた前記インターフェイスに前記ホストコンピューターが接続されたことを検知した場合には、前記ホストコンピューターから送信される前記外部出力用データを前記外部装置インターフェイスにパススルー伝送する出力経路に切り換え、
前記メイン基板が備える前記インターフェイスに前記ホストコンピューターが接続されていることを検知した場合には、前記ホストコンピューターから受信した前記外部出力用データを前記制御手段に入力し、前記制御手段から前記外部装置インターフェイスに出力する出力経路に切り換えることを特徴とする請求項2記載の電子機器。
In addition to the control means and the interface, the main board is provided with the external device interface,
When the output means detects that the host computer is connected to the interface provided on the sub-board, the output means transmits the external output data transmitted from the host computer to the external device interface. Switch to the output path to
When it is detected that the host computer is connected to the interface provided on the main board, the external output data received from the host computer is input to the control means, and the external device is sent from the control means. 3. The electronic apparatus according to claim 2, wherein the electronic apparatus is switched to an output path that outputs to the interface.
前記出力手段は、前記外部出力用データを前記外部装置インターフェイスにパススルー伝送する出力経路により、前記サブ基板の前記インターフェイスから受信したデータを、前記データの属性に基づき前記メイン基板に設けられた前記制御手段および前記外部装置インターフェイスの各々に分岐して出力することを特徴とする請求項3記載の電子機器。   The output means is configured to provide data received from the interface of the sub-board by means of an output path through which the data for external output is passed through to the external device interface. 4. The electronic device according to claim 3, wherein the electronic device branches and outputs to each of the means and the external device interface. 前記制御手段は、前記ホストコンピューターから受信した前記外部出力用データを、前記外部装置インターフェイスに対応した信号形態に変換する機能を有することを特徴とする請求項4記載の電子機器。   5. The electronic apparatus according to claim 4, wherein the control unit has a function of converting the external output data received from the host computer into a signal form corresponding to the external device interface. 前記外部装置としての表示装置に接続され、前記ホストコンピューターから受信した表示用データを前記表示装置用インターフェイスに出力するとともに、前記ホストコンピューターから受信したデータを受信して記録する記録装置として構成されたことを特徴とする請求項1から5のいずれかに記載の電子機器。   Connected to the display device as the external device and configured to output the display data received from the host computer to the display device interface, and to receive and record the data received from the host computer The electronic device according to claim 1, wherein the electronic device is an electronic device. ホストコンピューターと接続可能な複数のインターフェイスと、外部装置に接続される外部装置用インターフェイスとを備えた電子機器を制御して、
前記ホストコンピューターから送信される制御データを受信して、受信した制御データに基づいて動作し、前記ホストコンピューターから送信される外部出力用データを前記外部装置用インターフェイスに出力し、
前記ホストコンピューターが、複数の前記インターフェイスのどれに接続されたかを検知し、その結果に応じて、前記ホストコンピューターから受信した外部出力用データを前記外部装置用インターフェイスに出力する複数の出力経路から選択すること、
を特徴とする電子機器の制御方法。
Controlling an electronic device having a plurality of interfaces connectable to a host computer and an external device interface connected to an external device;
Receiving control data transmitted from the host computer, operating based on the received control data, outputting external output data transmitted from the host computer to the external device interface;
Detecting which of the plurality of interfaces is connected to the host computer, and selecting from a plurality of output paths for outputting the external output data received from the host computer to the external device interface according to the result To do,
A method for controlling an electronic device.
ホストコンピューターと接続可能な複数のインターフェイスと、外部装置に接続される外部装置用インターフェイスとを備えた電子機器を制御する制御手段が実行可能なプログラムであって、
前記ホストコンピューターから送信される制御データを受信して、受信した制御データに基づいて動作し、前記ホストコンピューターから送信される外部出力用データを前記外部装置用インターフェイスに出力し、
前記ホストコンピューターが、複数の前記インターフェイスのどれに接続されたかを検知し、その結果に応じて、前記ホストコンピューターから受信した外部出力用データを前記外部装置用インターフェイスに出力する複数の出力経路から選択すること、
を特徴とするプログラム。
A program executable by control means for controlling an electronic device having a plurality of interfaces connectable to a host computer and an external device interface connected to an external device,
Receiving control data transmitted from the host computer, operating based on the received control data, outputting external output data transmitted from the host computer to the external device interface;
Detecting which of the plurality of interfaces is connected to the host computer, and selecting from a plurality of output paths for outputting the external output data received from the host computer to the external device interface according to the result To do,
A program characterized by
JP2015109668A 2015-05-29 2015-05-29 Electronic device, control method of electronic device, and program Expired - Fee Related JP5954467B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015109668A JP5954467B2 (en) 2015-05-29 2015-05-29 Electronic device, control method of electronic device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015109668A JP5954467B2 (en) 2015-05-29 2015-05-29 Electronic device, control method of electronic device, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010207745A Division JP2012063981A (en) 2010-09-16 2010-09-16 Electronic device, electronic device control method and program

Publications (2)

Publication Number Publication Date
JP2015195038A true JP2015195038A (en) 2015-11-05
JP5954467B2 JP5954467B2 (en) 2016-07-20

Family

ID=54433928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015109668A Expired - Fee Related JP5954467B2 (en) 2015-05-29 2015-05-29 Electronic device, control method of electronic device, and program

Country Status (1)

Country Link
JP (1) JP5954467B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200036453A (en) * 2018-09-28 2020-04-07 주식회사 스토리지안 Apparatus and method for controlling data storage means having data protection function by wireless communication with smartphone
KR20200118780A (en) * 2018-09-28 2020-10-16 주식회사 스토리지안 Apparatus and method for controlling data storage means having data protection function by wireless communication with smartphone
US11949829B2 (en) 2022-01-24 2024-04-02 Seiko Epson Corporation Medium processing apparatus that includes notification unit, and method for controlling medium processing apparatus that includes notification unit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002140140A (en) * 2000-10-31 2002-05-17 Canon Inc Device provided with interface
JP2002218098A (en) * 2001-01-15 2002-08-02 Tdk Corp Radio communication unit and system thereof
JP2003108510A (en) * 2001-09-28 2003-04-11 I-O Data Device Inc Interface converting mechanism and externally attaching storage apparatus
JP2003256360A (en) * 2002-03-06 2003-09-12 Ricoh Co Ltd Expansion board apparatus
JP2004102716A (en) * 2002-09-10 2004-04-02 Seiko Epson Corp Electronic equipment having serial interface
JP2006238413A (en) * 2005-01-27 2006-09-07 Nec Electronics Corp Usb hub, usb-compliant apparatus, and communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002140140A (en) * 2000-10-31 2002-05-17 Canon Inc Device provided with interface
JP2002218098A (en) * 2001-01-15 2002-08-02 Tdk Corp Radio communication unit and system thereof
JP2003108510A (en) * 2001-09-28 2003-04-11 I-O Data Device Inc Interface converting mechanism and externally attaching storage apparatus
JP2003256360A (en) * 2002-03-06 2003-09-12 Ricoh Co Ltd Expansion board apparatus
JP2004102716A (en) * 2002-09-10 2004-04-02 Seiko Epson Corp Electronic equipment having serial interface
JP2006238413A (en) * 2005-01-27 2006-09-07 Nec Electronics Corp Usb hub, usb-compliant apparatus, and communication system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200036453A (en) * 2018-09-28 2020-04-07 주식회사 스토리지안 Apparatus and method for controlling data storage means having data protection function by wireless communication with smartphone
KR20200118780A (en) * 2018-09-28 2020-10-16 주식회사 스토리지안 Apparatus and method for controlling data storage means having data protection function by wireless communication with smartphone
KR102318716B1 (en) 2018-09-28 2021-10-28 주식회사 스토리지안 Apparatus and method for controlling data storage means having data protection function by wireless communication with smartphone
KR102320090B1 (en) 2018-09-28 2021-11-02 주식회사 스토리지안 Apparatus for controlling data storage means having data protection function by wireless communication with smartphone
US11949829B2 (en) 2022-01-24 2024-04-02 Seiko Epson Corporation Medium processing apparatus that includes notification unit, and method for controlling medium processing apparatus that includes notification unit

Also Published As

Publication number Publication date
JP5954467B2 (en) 2016-07-20

Similar Documents

Publication Publication Date Title
US20100027065A1 (en) Printing device, control method for a printing device, and a control program
JP6008109B2 (en) Printing system and printing apparatus
US8489798B2 (en) Electronic device, control method thereof and recording medium
WO2006123544A1 (en) Printing system, pos system, connecting device, and method and program for controlling printing system
KR101467690B1 (en) Printing device and printing system
JP2006323445A (en) Printing system, pos system, connection device, control method for printing system, and program therefor
US9030685B2 (en) Printing device, printing system, and printing method
JP5954467B2 (en) Electronic device, control method of electronic device, and program
KR101281889B1 (en) Electronic device, control method for an electronic device, and recording medium storing a program executed by a control unit that controls the electronic device
US20150070716A1 (en) Media Processing Device and Systems with Multiple Processing Units
CN106462368B (en) printing control device, printing system, and printing control method
JP2012003525A (en) Electronic device, electronic device control method and program
US9058133B2 (en) Control device, control method for a control device, and recording medium
JP6056196B2 (en) Medium processing apparatus and POS system
JP5958143B2 (en) Printing apparatus, printing system, and printing control apparatus
CN102529454B (en) Recording device and control method thereof
US20190210377A1 (en) Printer and printer system
JP6019871B2 (en) Printing apparatus, printing system, and POS system
JP6587146B2 (en) Printer
JP2019117532A (en) Printer program, terminal, and method of controlling terminal
JP5924126B2 (en) Medium processing apparatus and POS system
JP6613159B2 (en) Printer
JP6111546B2 (en) Printing apparatus, printing system, and POS system
JP6019749B2 (en) Medium processing apparatus and POS system
JP2015014917A (en) Electronic apparatus, printing system, and control method of printing system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160428

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160517

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160530

R150 Certificate of patent or registration of utility model

Ref document number: 5954467

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees