JP2013240964A - Media processing device, and pos system - Google Patents
Media processing device, and pos system Download PDFInfo
- Publication number
- JP2013240964A JP2013240964A JP2012116881A JP2012116881A JP2013240964A JP 2013240964 A JP2013240964 A JP 2013240964A JP 2012116881 A JP2012116881 A JP 2012116881A JP 2012116881 A JP2012116881 A JP 2012116881A JP 2013240964 A JP2013240964 A JP 2013240964A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- command
- processing
- medium
- printer
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 30
- 230000008569 process Effects 0.000 claims description 26
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000002093 peripheral effect Effects 0.000 description 43
- 230000006870 function Effects 0.000 description 39
- 238000006243 chemical reaction Methods 0.000 description 28
- 238000007405 data analysis Methods 0.000 description 18
- 238000004458 analytical method Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 13
- 239000000758 substrate Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000010200 validation analysis Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 229920003002 synthetic resin Polymers 0.000 description 1
- 239000000057 synthetic resin Substances 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
【課題】複数の媒体処理装置を、簡単な制御により適切に使用できるようにする。
【解決手段】ロール紙を処理するロール紙印刷部120と、POS端末20から送信されたコマンドを受信する第1インターフェイス110と、第1インターフェイス110で受信されたコマンドを、ロール紙印刷部120と共通する処理を行うプリンター200に送信する第2インターフェイス115と、受信されたコマンドに基づいて、ロール紙印刷部120で処理を実行させる制御、及び、コマンドを第2インターフェイス115によりプリンター200に送信させる制御を行う制御部150と、を備え、制御部150は、受信されたコマンドが予め設定されたコマンドである場合に、この予め設定されたコマンドを第2インターフェイス115によりプリンター200に送信させる。
【選択図】図1A plurality of media processing apparatuses can be appropriately used by simple control.
A roll paper printing unit for processing roll paper, a first interface for receiving a command transmitted from a POS terminal, and a command received by the first interface for receiving the command from the roll paper printing unit. The second interface 115 that transmits to the printer 200 that performs common processing, the control that causes the roll paper printing unit 120 to execute processing based on the received command, and the command that is transmitted to the printer 200 by the second interface 115 And a control unit 150 that performs control. When the received command is a preset command, the control unit 150 causes the second interface 115 to transmit the preset command to the printer 200.
[Selection] Figure 1
Description
本発明は、媒体処理装置、及び、POSシステムに関する。 The present invention relates to a medium processing apparatus and a POS system.
従来、媒体処理装置の一例であるプリンターと、複数のプリンターを備えたPOS(Point Of Sales)システムが知られている(例えば、特許文献1参照)。特許文献1の構成では、POSレジスターにレシートを印刷するレシートプリンターが接続され、この第1プリンターに、シールを印刷するラベルプリンターが接続されている。そして、POSレジスターが会計処理データを出力すると、レシートプリンターがレシートを印刷し、さらに所定の条件のもとにレシートプリンターがシール印刷データを出力する。ラベルプリンターは、レシートプリンターが出力したシール印刷データに従ってシールを印刷する。 Conventionally, a printer that is an example of a medium processing apparatus and a POS (Point Of Sales) system including a plurality of printers are known (see, for example, Patent Document 1). In the configuration of Patent Document 1, a receipt printer that prints a receipt is connected to a POS register, and a label printer that prints a sticker is connected to the first printer. When the POS register outputs the accounting process data, the receipt printer prints the receipt, and the receipt printer outputs the seal print data under a predetermined condition. The label printer prints a sticker according to the sticker print data output from the receipt printer.
上記従来の構成では、レシート印刷専用のレシートプリンターとシール印刷専用のラベルプリンターとを接続している。すなわち、異なる処理の専用の媒体処理装置を接続している。従って、各媒体処理装置の役割が固定されているので、媒体処理装置の使い分けを制御する必要はない。
これに対し、共通する機能を有する複数の媒体処理装置を接続してシステムを構築した場合、どのような場合にどの媒体処理装置を動作させるかを制御する必要がある。この場合、媒体処理装置を制御するコンピューター等の制御装置は、複数の媒体処理装置をそれぞれ制御する必要があった。
本発明は、上述した事情に鑑みてなされたものであり、複数の媒体処理装置を、簡単な制御により適切に使用できるようにすることを目的とする。
In the above conventional configuration, a receipt printer dedicated to receipt printing and a label printer dedicated to sticker printing are connected. That is, a dedicated medium processing device for different processing is connected. Therefore, since the role of each media processing device is fixed, it is not necessary to control the proper use of the media processing device.
On the other hand, when a system is constructed by connecting a plurality of media processing devices having common functions, it is necessary to control which media processing device is operated in which case. In this case, a control device such as a computer that controls the media processing device needs to control each of the plurality of media processing devices.
The present invention has been made in view of the above-described circumstances, and an object of the present invention is to enable a plurality of medium processing apparatuses to be appropriately used by simple control.
上記目的を達成するために、本発明の媒体処理装置は、媒体を処理する処理部と、ホストコンピューターから送信されたコマンドを受信する第1接続部と、前記第1接続部で受信されたコマンドを前記処理部と共通する処理を行う外部の処理装置に送信する第2接続部と、前記第1接続部で受信されたコマンドに基づいて、前記処理部で処理を実行させる制御、及び、前記コマンドを前記第2接続部により前記外部の処理装置に送信させる制御を行う制御部と、を備え、前記制御部は、前記第1接続部で受信されたコマンドが予め設定されたコマンドである場合に、前記予め設定されたコマンドを前記第2接続部により前記外部の処理装置に送信させること、を特徴とする。
本発明の媒体処理装置によれば、ホストコンピューターから送信されたコマンドを受信し、受信したコマンドに基づいて処理部によって媒体を処理することができ、かつ、予め設定されたコマンドを外部の処理装置に送信して、例えば外部の処理装置に媒体を処理させることができる。このため、ホストコンピューターが、本発明の媒体処理装置に対してコマンドを送信すれば、この媒体処理装置が媒体を処理し、或いは、適切にコマンドが外部の処理装置に転送される。従って、ホストコンピューターは媒体処理装置と外部の処理装置とを使い分ける制御を行う必要がなく、複数の処理装置を簡単な制御により適切に使用できる。
さらに、媒体処理装置がホストコンピューターに接続される第1接続部に加え、外部の処理装置に接続される第2接続部を備えている。このため、ホストコンピューターは1台の媒体処理装置が接続された場合と同様にコマンド等を送信すればよい。従って、ホストコンピューターの機能やソフトウェアを、複数の処理装置を使用するための専用の構成にする必要がない。例えば、既存のホストコンピューターの構成をそのまま使用できるという利点がある。
To achieve the above object, a medium processing apparatus according to the present invention includes a processing unit that processes a medium, a first connection unit that receives a command transmitted from a host computer, and a command received by the first connection unit. A second connection unit that transmits an external processing device that performs processing common to the processing unit, a control that causes the processing unit to execute processing based on a command received by the first connection unit, and A control unit that performs control to transmit a command to the external processing device through the second connection unit, and the control unit is configured such that the command received at the first connection unit is a preset command. In addition, the preset command is transmitted to the external processing device by the second connection unit.
According to the medium processing device of the present invention, a command transmitted from a host computer can be received, the medium can be processed by the processing unit based on the received command, and a preset command can be processed by an external processing device. For example, an external processing device can process the medium. For this reason, when the host computer transmits a command to the medium processing apparatus of the present invention, the medium processing apparatus processes the medium, or the command is appropriately transferred to an external processing apparatus. Therefore, it is not necessary for the host computer to perform control for using the medium processing device and the external processing device properly, and a plurality of processing devices can be appropriately used by simple control.
Further, the medium processing apparatus includes a second connection unit connected to an external processing apparatus in addition to a first connection unit connected to the host computer. For this reason, the host computer may transmit a command or the like as in the case where one medium processing apparatus is connected. Therefore, it is not necessary to make the function and software of the host computer dedicated to use a plurality of processing devices. For example, there is an advantage that the configuration of an existing host computer can be used as it is.
また、本発明は、上記媒体処理装置であって、前記制御部は、前記第1接続部により受信されたコマンドのうち、前記外部の処理装置により実行されるコマンドを、前記第2接続部により前記外部の処理装置に送信させることを特徴とする。
本発明によれば、媒体処理装置が、ホストコンピューターから受信したコマンドのうち外部の処理装置が実行可能なコマンドを、外部の処理装置に送信する。このため、ホストコンピューターがコマンドを送信したときに、媒体処理装置の機能によって外部の処理装置を動作させることができる。従って、ホストコンピューターが複数の処理装置を簡単な制御により適切に使用できる。
Further, the present invention is the above-described medium processing device, wherein the control unit sends commands executed by the external processing device out of commands received by the first connection unit to the second connection unit. Transmitting to the external processing device.
According to the present invention, the medium processing device transmits a command that can be executed by the external processing device among commands received from the host computer to the external processing device. Therefore, when the host computer transmits a command, the external processing device can be operated by the function of the medium processing device. Therefore, the host computer can appropriately use the plurality of processing devices by simple control.
また、本発明は、上記媒体処理装置であって、前記処理部と異なる処理を実行する第2処理部と、前記外部の処理装置が実行可能な処理を検出する外部装置制御部と、を備え、前記外部装置制御部で前記外部の処理装置が前記第2処理部と共通の処理部を有していないことを検出したとき、前記制御部は、前記第1接続部で受信されたコマンドのうち、前記処理部が実行可能なコマンドを、前記第2処理部により実行させることを特徴とする。
本発明によれば、媒体処理装置が異なる処理を実行する処理部と第2処理部とを備えるとともに、外部の処理装置が実行できる処理を検出できる。そして、媒体処理装置が、外部の処理装置が第2処理部と共通の処理部を有していないことを検出すると、ホストコンピューターから受信したコマンドを第2処理部により実行する。つまり、外部の処理装置が実行できないコマンドを、第2処理部が実行する。これにより、ホストコンピューターがコマンドを送信するだけで、外部の処理装置によって実行可能な処理を実行させ、それ以外の処理を媒体処理装置によって実行させることができる。つまり、外部の処理装置が備える機能に合わせて、媒体処理装置が適切に外部の処理装置を動作させる。従って、ホストコンピューターが各処理装置の機能に合わせた制御を行わなくても、複数の処理装置を適切に使用できる。
The present invention is the above-described medium processing device, comprising: a second processing unit that executes processing different from the processing unit; and an external device control unit that detects processing that can be executed by the external processing device. When the external device control unit detects that the external processing device does not have a processing unit in common with the second processing unit, the control unit receives the command received by the first connection unit. Among them, the command that can be executed by the processing unit is executed by the second processing unit.
According to the present invention, it is possible to detect a process that can be executed by an external processing apparatus while the medium processing apparatus includes a processing unit and a second processing unit that execute different processes. When the medium processing device detects that the external processing device does not have a processing unit in common with the second processing unit, the second processing unit executes a command received from the host computer. That is, the second processing unit executes a command that cannot be executed by the external processing device. As a result, the host computer can execute a process that can be executed by an external processing device and the other processing can be executed by the medium processing device simply by transmitting a command. In other words, the medium processing device appropriately operates the external processing device in accordance with the function of the external processing device. Therefore, a plurality of processing devices can be appropriately used without the host computer performing control according to the function of each processing device.
また、本発明は、上記媒体処理装置であって、前記第1接続部で受信されたコマンドが、前記処理部及び前記外部の処理装置で実行されるコマンドである場合に、前記コマンドを前記処理部により実行させる第1モード、もしくは前記コマンドを前記第2接続部により前記外部の処理装置に送信させる第2モードに切り換える切換部を有することを特徴とする。
本発明によれば、媒体処理装置と外部の処理装置の両方が実行できるコマンドを、どちらの処理装置が実行するかについて、媒体処理装置が切り換えることができる。例えば、ホストコンピューターが、媒体処理装置によってコマンドを実行する装置を切り換えさせることが可能である。また、例えば、媒体処理装置が所定の条件に従って、コマンドを実行する装置を切り換えることが可能である。従って、ホストコンピューターが複雑な制御を行わなくても、媒体処理装置と外部の処理装置とを処理の目的や内容等に応じて適切に使い分けることができる。
Further, the present invention provides the medium processing device, wherein the command is processed when the command received by the first connection unit is a command executed by the processing unit and the external processing device. A switching unit that switches to a first mode to be executed by a unit or a second mode to transmit the command to the external processing device by the second connection unit.
According to the present invention, the media processing device can switch which processing device executes a command that can be executed by both the media processing device and the external processing device. For example, it is possible for the host computer to switch the device for executing commands by the media processing device. In addition, for example, it is possible for the medium processing apparatus to switch an apparatus that executes a command according to a predetermined condition. Therefore, even if the host computer does not perform complicated control, the medium processing device and the external processing device can be properly used according to the purpose and contents of the processing.
また、上記目的を達成するために、本発明のPOSシステムは、コマンドを送信するPOS端末と、記録媒体に対して第1の処理を行う第1処理部、前記第1処理部とは異なる処理を行う第2処理部、前記POS端末から送信されたコマンドを受信する第1接続部、前記第1接続部で受信したコマンドを送信する第2接続部、及び、前記第1接続部により受信されたコマンドに基づいて前記第1処理部で処理を実行させる制御と前記第1接続部により受信されたコマンドが予め設定されたコマンドである場合に前記予め設定されたコマンドを前記第2接続部により送信させる制御と、を実行させる制御部を有する第1媒体処理装置と、前記第1媒体処理装置の前記第2接続部に接続され、前記第2接続部から送信されたコマンドを受信する受信部、及び前記受信部により受信されたコマンドに基づいて前記第1媒体処理装置の前記第1処理部と共通の処理を行う媒体処理部を有する第2媒体処理装置と、を備えることを特徴とする。
本発明のPOSシステムによれば、POS端末が送信したコマンドを第1媒体処理装置が受信して、第1媒体処理装置が媒体を処理することができ、かつ、予め設定されたコマンドを第2媒体処理装置に送信して、例えば第2媒体処理装置に媒体を処理させることができる。このため、POS端末がコマンドを送信すれば、第1及び第2媒体処理装置が適宜処理を実行する。従って、POS端末は第1及び第2媒体処理装置を使い分ける制御を行う必要がなく、複数の媒体処理装置を簡単な制御により適切に使用できる。
さらに、第1媒体処理装置が、POS端末に接続される第1接続部に加え、第2媒体処理装置に接続される第2接続部を備えている。このため、POS端末は第1媒体処理装置を制御する場合と同様にコマンド等を送信すればよいので、POS端末の機能やソフトウェアを、複数の媒体処理装置を使用するための専用の構成にする必要がない。例えば、既存のPOS端末の構成をそのまま使用できるという利点がある。
In order to achieve the above object, a POS system of the present invention includes a POS terminal that transmits a command, a first processing unit that performs a first process on a recording medium, and a process different from the first processing unit. Received by the first connection unit, the first connection unit that receives the command transmitted from the POS terminal, the second connection unit that transmits the command received by the first connection unit, and the first connection unit. When the command received by the first connection unit and the control for executing the processing by the first processing unit based on the received command are preset commands, the preset command is sent by the second connection unit. A first medium processing device having a control unit for executing transmission, and a command connected to the second connection unit of the first medium processing device and receiving a command transmitted from the second connection unit. And a second medium processing device having a medium processing unit that performs processing common to the first processing unit of the first medium processing device based on a command received by the receiving unit. To do.
According to the POS system of the present invention, the first medium processing apparatus receives the command transmitted from the POS terminal, the first medium processing apparatus can process the medium, and the preset command is the second. For example, the second medium processing apparatus can process the medium by transmitting to the medium processing apparatus. For this reason, when the POS terminal transmits a command, the first and second medium processing apparatuses appropriately execute processing. Therefore, the POS terminal does not need to perform control for properly using the first and second media processing devices, and can appropriately use a plurality of media processing devices by simple control.
Further, the first medium processing device includes a second connection unit connected to the second medium processing device in addition to the first connection unit connected to the POS terminal. For this reason, the POS terminal only needs to transmit a command or the like as in the case of controlling the first medium processing apparatus, so that the function and software of the POS terminal are configured exclusively for using a plurality of medium processing apparatuses. There is no need. For example, there is an advantage that the configuration of an existing POS terminal can be used as it is.
また、本発明は、上記POSシステムであって、前記第1媒体処理装置が備える前記第1処理部は、ロール紙に印刷を行う印刷部であり、前記第2処理部は、カットシートに記録された情報を読み取る読取部であることを特徴とする。
本発明のPOSシステムによれば、ロール紙に印刷を行う処理と、カットシートに記録された情報を読み取る処理とを実行可能な第1媒体処理装置、及び、上記の少なくとも一部と共通する処理を実行可能な第2媒体処理装置を適切に使い分けて、処理を実行させることができる。
Further, the present invention is the POS system, wherein the first processing unit included in the first medium processing apparatus is a printing unit that performs printing on roll paper, and the second processing unit records on a cut sheet. It is a reading unit that reads out the read information.
According to the POS system of the present invention, the first medium processing apparatus capable of executing processing for printing on roll paper and processing for reading information recorded on a cut sheet, and processing common to at least a part of the above The second medium processing apparatus capable of executing the above can be properly used to execute the processing.
また、本発明は、上記POSシステムであって、前記第2媒体処理装置は、前記媒体処理部と異なる第2媒体処理部を有し、前記第1媒体処理装置の前記制御部は、前記第1接続部で受信されたコマンドのうち、前記第2媒体処理装置が実行しない機能に関するコマンドであって、前記第1処理部または前記第2処理部が実行可能なコマンドを、前記第1処理部または前記第2処理部に実行させることを特徴とする。
本発明によれば、第1媒体処理装置が異なる種類の処理を実行可能であり、第2媒体処理装置が実行可能な処理を検出できる。第1媒体処理装置は、POS端末が送信したコマンドのうち第2媒体処理装置が実行しないコマンドを実行する。これにより、POS端末がコマンドを送信するだけで、第2媒体処理装置に実行可能な処理を実行させ、それ以外の処理を第1媒体処理装置に実行させる。つまり、第2媒体処理装置の機能に合わせて、第1媒体処理装置が適切に第2媒体処理装置を動作させる。従って、POS端末が第1及び第2媒体処理装置の各々の機能に合わせた制御を行わなくても、複数の媒体処理装置を適切に使用できる。
Further, the present invention is the POS system, wherein the second medium processing device includes a second medium processing unit different from the medium processing unit, and the control unit of the first medium processing device includes the first medium processing unit. Of the commands received by one connection unit, a command related to a function that is not executed by the second medium processing device, and a command that can be executed by the first processing unit or the second processing unit is the first processing unit. Or it makes the said 2nd process part perform.
According to the present invention, different types of processing can be executed by the first medium processing device, and processing that can be executed by the second medium processing device can be detected. The first media processing device executes a command that is not executed by the second media processing device among the commands transmitted by the POS terminal. As a result, the POS terminal simply transmits a command to cause the second medium processing device to execute an executable process, and causes the first medium processing device to execute other processes. That is, the first medium processing apparatus appropriately operates the second medium processing apparatus in accordance with the function of the second medium processing apparatus. Therefore, a plurality of media processing devices can be appropriately used without the POS terminal performing control in accordance with the functions of the first and second media processing devices.
本発明によれば、ホストコンピューターが複数の処理装置を使い分ける制御を行わなくても、複数の処理装置を適切に使用できる。 According to the present invention, it is possible to appropriately use a plurality of processing devices without the host computer performing control for properly using the plurality of processing devices.
以下、図面を参照して本発明の実施形態について説明する。
図1は、実施形態に係るPOSシステム3の構成を示すブロック図である。
POSシステム3は小売り店舗等に設置され、商品販売時の売上データ登録、会計処理、レシート印刷等の処理を行うシステムである。POSシステム3は、オペレーターが操作するPOS端末20(ホストコンピューター)と、POS端末20に接続された複合機100(媒体処理装置、第1媒体処理装置)と、複合機100に接続されたプリンター200(外部の処理装置、第2媒体処理装置)とを備えて構成される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram illustrating a configuration of a
The
POS端末20には、各種情報を表示するオペレーター用のディスプレイ31、顧客向けに金額等を表示するカスタマーディスプレイ32、金銭を収容したキャッシュドロワー33、オペレーターが操作するキーボード36、商品のバーコードを読み取るバーコードスキャナー37、及び、クレジットカードやキャッシュカード等のカードに記録された磁気情報を読み取るカードリーダー38が接続されている。オペレーターは、キーボード36の操作またはバーコードスキャナー37による読み取り操作を行い、商品情報を入力する。POS端末20は、入力された商品情報に基づいてPOSサーバー10への問合せを行う。POSサーバー10は、POS端末20から送信された商品情報に基づいて商品マスターを検索し、商品マスターから商品コード、商品名、金額に関する情報を抽出してPOS端末20に返信する。POS端末20は、POSサーバー10から返信された情報に基づいてディスプレイ31及びカスタマーディスプレイ32に商品代金を表示する。この処理が一取引の全ての商品について完了すると、オペレーターはキーボード36等の操作により会計処理を実行し、必要に応じてキャッシュドロワー33から釣り銭を支払う。POS端末20は、複合機100またはプリンター200を制御してレシートを印刷出力させる。
The
複合機100は、記録媒体としてのロール紙にレシートを印刷する機能を備えている。また、複合機100は、小切手等の帳票に磁気的に記録された情報を読み取る磁気読取機能、及び、小切手等の帳票に対して使用済みであることを印刷するバリデーション機能を備えている。会計処理において、顧客が小切手を使用する場合には、オペレーターは複合機100に小切手をセットして、小切手の磁気情報を読み取らせる。複合機100は、小切手の磁気情報の読み取りと、バリデーション印刷を実行する。POS端末20は、複合機100により読み取られた情報に基づいて会計処理を実行する。
また、プリンター200は、ロール紙にレシートを印刷する機能を備えている。なお、複合機100及びプリンター200は、感熱ロール紙にレシートを印刷するサーマルプリンターであってもよいし、普通紙からなるロール紙に印刷するシリアルドットインパクトプリンターやインクジェット式プリンターであってもよい。
The
The
POS端末20は、POS端末20の各部を制御する制御部21を備えている。制御部21は、図示しないCPU、RAM、ROM等を備え、記憶部23に記憶されたプログラムを実行する。制御部21は、記憶部23に記憶されたプリンタードライバープログラム24を実行するプリンタードライバー実行部22を有する。プリンタードライバー実行部22は、インターフェイス27に接続されたプリンターに対し、印刷実行を指示するコマンド、及び、レシートに印刷される印刷データを生成して、送信する。プリンタードライバー実行部22は、特定のメーカーのプリンターまたは特定の機種に対応したプリンタードライバープログラム24を実行する。このため、プリンタードライバー実行部22が生成するコマンド及び印刷データは、特定のメーカーのプリンターまたは特定の機種に対応するコマンド体系のコマンド、及び、印刷データである。また、プリンタードライバープログラム24は、汎用のプリンタードライバーであってもよい。すなわち、プリンタードライバー実行部22が、複数のメーカーのプリンターまたは複数の機種に対応するコマンド体系のコマンド、及び、印刷データであってもよい。
The
本実施形態では、複合機100及びプリンター200の両方、または、少なくともプリンター200が、プリンタードライバープログラム24に対応していない場合、より具体的には、プリンタードライバー実行部22が出力するコマンドを少なくともプリンター200、若しくは複合機100とプリンター200の両方が実行できない場合を例に挙げて説明する。例えば、プリンタードライバープログラム24が、複合機100及びプリンター200とは別の機種またはメーカーのプリンター等の機器に対応したプリンタードライバープログラムである場合、或いは、プリンタードライバープログラム24が汎用のプリンタードライバープログラムであり、複合機100及びプリンター200、またはプリンター200が専用のプリンタードライバープログラム24を必要とする場合である。
In the present embodiment, when both the
POS端末20は、ディスプレイ31、カスタマーディスプレイ32及びキャッシュドロワー33が接続されるコネクター(図示略)を有する出力部28を備えている。出力部28は、制御部21の制御に従って、出力部28から表示用のデータをディスプレイ31及びカスタマーディスプレイ32に出力する。また、出力部28は、制御部21の制御に従って、キャッシュドロワー33を開かせる信号をキャッシュドロワー33に出力する。出力部28は、キャッシュドロワー33の状態(開/閉)を検出して、検出結果を制御部21に出力する機能を有していてもよい。出力部28には、外部のプリンターに接続されるインターフェイス27が接続されている。インターフェイス27は、USB、RS−232C、Ethernet(登録商標)等の規格に準拠したコネクター(図示略)を有し、このコネクターに接続されるケーブルによりプリンターに接続される。なお、インターフェイス27は、無線通信インターフェイスを備え、プリンターと無線通信回線により接続されてもよい。無線通信インターフェイスの具体例は、IEEE802.11、ワイヤレスUSB、Bluetooth(登録商標)、UWB等である。本実施形態では、インターフェイス27には、ケーブル6を介して複合機100が接続されている。POS端末20と複合機100とは1対1で接続されている。
また、POS端末20は、通信回線5に接続される通信インターフェイス26を備え、通信インターフェイス26を介してPOSサーバー10に接続されている。通信インターフェイス26は、例えば、Ethernetに準拠したLANインターフェイスやモデム等の通信インターフェイス回路を備えていてもよい。
The
The
複合機100は、外部の装置に接続される第1インターフェイス110(第1接続部)、及び、第2インターフェイス115(第2接続部)を備えている。第1インターフェイス110はケーブル6を介してPOS端末20に接続されている。第2インターフェイス115はケーブル7を介してプリンター200に接続されている。第1インターフェイス110はPOS端末20と1対1で接続され、第2インターフェイス115は、プリンター200と1対1で接続されている。
The
複合機100は、制御部150を備えている。制御部150は、例えば、図示しないCPU、RAM、ROM、及びEEPROMやフラッシュメモリー等の不揮発性の記憶装置を備えている。制御部150は、不揮発性の記憶装置に記憶したプログラムを実行して、各部を制御する。このプログラムは、複合機100を動作させるための、いわゆるファームウェアであってもよい。
また、複合機100は、制御部150の制御に従って動作するロール紙印刷部120(処理部、第1処理部)、磁気読取部130(処理部、第2処理部)、及び帳票印刷部140(処理部、第2処理部)を備えている。つまり、複合機100は、レシートを印刷する機能と、帳票の磁気情報の読取機能と帳票への印刷機能とを含む複数の機能を有する複合装置である。
制御部150は、第1インターフェイス110によりPOS端末20との間でデータを送受信するとともに、第2インターフェイス115を介してプリンター200との間でデータを送受信する。
The
The
The
ロール紙印刷部120は、図示はしないが、ロール紙に文字や画像を印刷する印刷ヘッド、ロール紙を搬送する搬送機構、ロール紙をカットするカッター機構、ロール紙の有無や先端の位置を検出する検出器等を備えている。ロール紙印刷部120は、制御部150の制御に従ってロール紙に印刷を行い、レシートとして出力する。
磁気読取部130は、オペレーターがセットした小切手等の帳票に磁気的に記録された情報を読み取る。磁気読取部130は、図示はしないが、上記帳票を搬送する搬送機構、及び、帳票に磁気的に記録された情報(例えば、MICR文字)を読み取るMICRヘッド等を備えている。また、帳票印刷部140は、磁気読取部130により読み取られる帳票に対し、例えば処理済みである旨を示す文字等を印刷する。帳票印刷部140は、図示しない印刷ヘッドを備えている。この印刷ヘッドは、例えば、磁気読取部130の搬送機構により帳票が搬送される位置に設けられ、この帳票に印刷を施す。
Although not shown, the roll
The
プリンター200は、レシートを印刷する機能を備えた単機能のプリンターである。プリンター200は、複合機100に対してケーブル7を介して接続されるインターフェイス210と、ロール紙に印刷する印刷ヘッド等を備えたロール紙印刷部220(媒体処理部)と、これらを制御する制御部250とを備えている。インターフェイス210は、第1インターフェイス110或いは第2インターフェイス115と同様に、コネクター(図示略)を有する有線インターフェイス、または無線通信インターフェイスである。制御部250は、インターフェイス210を介して複合機100との間でデータを送受信する。
The
図2は、POSシステム3の機能ブロック図であり、複合機100の構成を特に詳細に示している。
この図2に示すように、複合機100は、複合機100の各部を制御するCPU等が実装された本体基板101と、本体基板101とは別に設けられたインターフェイス基板103とを有する。インターフェイス基板103は、例えば、接離可能なバスライン(図示略)を介して本体基板101に接続されていて、複合機100の本体から着脱可能であってもよい。インターフェイス基板103には、第1インターフェイス110及びロール紙印刷部120が実装され、本体基板101には制御部150が実装されている。また、本体基板101は、複合機100の本体に設けられたロール紙印刷部120、磁気読取部130、帳票印刷部140、切換スイッチ170、及び操作パネル180の各部に接続されている。
FIG. 2 is a functional block diagram of the
As illustrated in FIG. 2, the multifunction peripheral 100 includes a
第1インターフェイス110は、ケーブル6を接続可能なコネクター111を備え、第2インターフェイス115はケーブル7を接続可能なコネクター116を備えている。これらのコネクター111、116は、インターフェイス基板103上で独立して設けられている。具体的な例としては、複合機100の本体の背面に、コネクター111、116が並んで露出する形態が挙げられる。また、第1インターフェイス110及び第2インターフェイス115は、互いに独立して通信を実行可能である。
コネクター111、116は、例えば、USB、RS−232C、Ethernet(登録商標)等の規格に準拠したコネクターであり、これらの規格に準拠したケーブル6、7を接続できる。また、第1インターフェイス110及び第2インターフェイス115が無線通信インターフェイスを備え、POS端末20やプリンター200と無線通信回線により接続されてもよい。この無線通信インターフェイスの具体例は、IEEE802.11、ワイヤレスUSB、Bluetooth(登録商標)、UWB等である。
The
The
制御部150は、本体基板101に実装されたCPUにより各種プログラムを実行することで、外部装置制御部151、動作モード制御部153(切換部)、データ解析部155、変換部157、コマンド解析部158、及び処理制御部159として動作する。
The
外部装置制御部151は、第2インターフェイス115に接続された装置との間でデータを送受信し、その装置の種類(複合機かプリンターか)、機種名、メーカー名、その装置に対応するコマンド体系(コマンドの種類)、その装置が実行可能な機能等を特定する。本実施形態で、外部装置制御部151は、少なくとも、第2インターフェイス115に接続された装置が実行可能な処理の種類を特定する。さらに好ましくは、外部装置制御部151は、第2インターフェイス115に接続された装置が使用するコマンド体系を特定する。コマンド体系を特定する方法は、例えば、第2インターフェイス115を介してコマンドの種類を問い合わせるデータを送信し、このデータに対する応答に基づいて特定する方法、或いは、第2インターフェイス115に接続された装置の機種名やメーカー名を判定することで、対応するコマンド体系を特定する方法が挙げられる。本実施形態では第2インターフェイス115にプリンター200が接続されるので、外部装置制御部151は、プリンター200が使用するコマンド体系を特定する。
The external
動作モード制御部153は、複合機100の動作モードの切換を制御する。複合機100は、POS端末20が印刷実行を指示するコマンドを出力した場合に、複合機100が印刷を行う第1モードと、プリンター200に印刷を行わせる第2モードとを実行できる。第1モードと第2モードは排他的に選択される。
言い換えれば、第1モードでは、第1インターフェイス110により受信したコマンドのうち、複合機100により実行可能な処理に関する全てのコマンドを、複合機100が実行する。これに対し、第2モードでは、複合機100は、第1インターフェイス110により受信したコマンドのうち、第2インターフェイス115に接続された装置が実行可能な処理に関するコマンドを第2インターフェイス115から送信する。第2インターフェイス115に接続された装置が実行できない処理に関するコマンドを、複合機100が実行する。
The operation
In other words, in the first mode, the
複合機100は、第1モードにおいて第1インターフェイス110により印刷実行を指示するコマンドを受信した場合、このコマンドとともに受信した印刷データに基づいて、ロール紙印刷部120によって印刷を実行する。
また、複合機100は、第2モードにおいて第1インターフェイス110により印刷実行を指示するコマンドを受信した場合、このコマンドと、コマンドとともに受信した印刷データとを、第2インターフェイス115から送信する。プリンター200は、インターフェイス210を介して、印刷を指示するコマンドと印刷データを受信し、ロール紙印刷部220によって印刷を実行する。
When receiving a command for instructing execution of printing from the
When receiving a command for instructing execution of printing from the
第1モードと第2モードの切り換えは、例えば、後述するデータ解析部155がテキストコマンドを検出した場合、複合機100が備える切換スイッチ170が操作された場合、及び、複合機100が備える操作パネル180の操作により動作モードの切り換えが指示された場合に、実行される。切換スイッチ170は、例えば複合機100の外装パネルの外側に配設されたスイッチである。切換スイッチ170の形状は、押しボタンスイッチであってもよいし、タッチセンサー式のスイッチであってもよいし、レバースイッチであってもよい。動作モード制御部153は、切換スイッチ170が操作されてオンになる毎に、実行中の動作モードを別の動作モードに切り換える。操作パネル180は、複合機100の動作を制御する各種のスイッチ(図示略)と、複合機100の動作状態を表示するインジケーターランプ(図示略)とを備えている。操作パネル180の特定のスイッチの操作を検出した場合、動作モード制御部153は、実行中の動作モードを別の動作モードに切り換える。また、操作パネル180に、実行中の動作モードを示すインジケーターランプ(図示略)やディスプレイを設けてもよい。
The switching between the first mode and the second mode is performed, for example, when a
データ解析部155は、第1インターフェイス110により受信した印刷データに含まれるテキストデータを解析して、このテキストデータ中にテキストコマンドが含まれているか否かを判定する。テキストコマンドとは、POS端末20が出力する印刷データに含まれているコマンドである。印刷データは、文字を印刷するためのテキストデータを含み、このテキストデータは文字及び記号の羅列である。テキストデータに含まれる文字及び記号はレシートに印刷されて顧客が見るものであるから、通常、人が認識可能な意味のある内容を構成する。このため、単語や記号として特定の意味を持たない(意味が割り当てられていない場合を含む)文字列は、印刷されない。例えば、「$10」は金額を示す文字列である。これに対し、例えば「#1122」という文字列は、「#」という文字に何らかの意味が割り当てられていなければ、意味を持たない文字列である。このように意味を持たない文字列はレシートに印刷されないから、複合機100が解釈可能なコマンドとして使用することができる。このように印刷データ中のテキストデータの一部として複合機100に送信されるコマンドを、本実施形態ではテキストコマンドと呼ぶ。
テキストコマンドの具体的な例を挙げる。複合機100に対して動作モードの切り換えを指示するコマンドとして、「#1122」が予め設定されたものとする。予め設定されたコマンドは、例えば制御部150が有する不揮発性メモリー(図示略)に記憶される。データ解析部155は、第1インターフェイス110を介して受信した印刷データ中のテキストデータを取得し、このテキストデータに「#1122」が含まれているか検索する。「#1122」が検出された場合、データ解析部155は、動作モード制御部153に対し、動作モードの切り換えを指示するコマンドが検出されたことを通知する。これにより、動作モード制御部153が、実行中の動作モードを別の動作モードに切り換える。
The
Here are some specific examples of text commands. It is assumed that “# 1122” is set in advance as a command for instructing the
テキストコマンドは印刷データの一部として出力される。このため、POS端末20が使用するコマンドセット(コマンド体系)に変更を加えることなく、新しいコマンドを追加できる。すなわち、印刷データに含まれるテキストデータは、プリンタードライバープログラム24に対して印刷データを出力するアプリケーションプログラムが生成する。プリンタードライバープログラム24は、アプリケーションプログラムが生成した印刷データを複合機100用のデータ形式に変換して、印刷実行を指示するコマンドとともに送信する。従って、アプリケーションプログラムがテキストコマンドを含む印刷データを出力すれば、そのテキストコマンドをプリンタードライバープログラム24が認識できなくても、複合機100は、テキストコマンドに従って動作する。従って、POS端末20が実行するプリンタードライバープログラム24の内容を変更することなく、複合機100の動作に係る任意のコマンドを追加できる。
The text command is output as part of the print data. Therefore, a new command can be added without changing the command set (command system) used by the
また、データ解析部155は、第1インターフェイス110が受信した印刷データ中にテキストコマンドを検出した場合、テキストコマンドを削除して、新たに印刷データを生成する。これにより、レシートに意味の無い文字列が印刷されないようにすることができる。データ解析部155は、第1及び第2モードのいずれにおいても、印刷データからキストコマンドを除去する。
In addition, when the
変換部157は、第1インターフェイス110により受信したコマンドを、別のコマンド体系における同じ意味のコマンドに変換する。上述のように、POS端末20は、プリンタードライバープログラム24の機能により、所定のコマンド体系におけるコマンドを生成して送信する。コマンド体系は、複合機100やプリンター200を含む装置のメーカーや機種によって異なる。このため、POS端末20が送信するコマンド体系と、複合機100及び/またはプリンター200が実行可能なコマンド体系とが、一致しないことがあり得る。本実施形態では、上述のように、プリンタードライバー実行部22が出力するコマンドを少なくともプリンター200、若しくは複合機100とプリンター200の両方が実行できない。変換部157は、プリンタードライバー実行部22が出力するコマンドを変換することで、プリンタードライバー実行部22が出力するコマンドにより支持された処理を、複合機100及びプリンター200が実行できるようにする。
The
変換部157は、少なくとも1のコマンド体系におけるコマンドと、別のコマンド体系におけるコマンドとの対応関係を定義するテーブルを記憶している。制御部150は、POS端末20が送信するコマンドのコマンド体系と、複合機100が実行可能なコマンド体系とを対応づけるテーブルを記憶していてもよい。また、制御部150は、POS端末20が送信するコマンドのコマンド体系と、プリンター200が実行可能なコマンド体系とを対応づけるテーブルを記憶していてもよい。変換部157は、第1インターフェイス110により受信したコマンドが、複合機100が実行可能なコマンド体系のコマンドでない場合、複合機100が実行可能なコマンド体系のコマンドへの変換を行う。これにより、第1インターフェイス110により受信したすべてのコマンドを複合機100が実行できる。また、変換部157は、第2モードの実行中に、第1インターフェイス110により受信したコマンドが、プリンター200が実行可能なコマンド体系のコマンドでない場合、プリンター200が実行可能なコマンド体系のコマンドへの変換を行う。プリンター200が実行可能なコマンドは、外部装置制御部151が特定できる。従って、POS端末20と複合機100及び/またはプリンター200との間でコマンド体系が一致していない場合、第1モード及び第2モードのいずれにおいても、POS端末20が送信したコマンドを実行できる。これにより、例えば、POSシステム3を構成するプリンターを、別のメーカーの機種である複合機100やプリンター200に置き換えた場合、プリンタードライバープログラム24を変更することなく、複合機100やプリンター200を動作させることができる。
The
また、変換部157は、第1インターフェイス110により受信されたコマンドをプリンター200に適したコマンドに変換する際に、コマンドの内容および印刷データの内容を変換するものであってもよい。例えば、プリンタードライバープログラム24が対応するプリンターの印刷ヘッドの解像度、改行量、フォントサイズ、フォントの種類、文字間マージン、ロール紙の左右のマージン、ロール紙のサイズ等の印刷条件が、複合機100のロール紙印刷部120とは異なっていることがある。また、プリンター200のロール紙印刷部220と印刷条件が異なっていることもある。さらに、ロール紙印刷部120とロール紙印刷部220の間で、印刷条件が異なることもある。
このような場合、変換部157は、印刷条件が異なるプリンターであっても、同様の、或いは類似した印刷結果が得られるように、コマンド及び印刷データの内容を変換する。例えば、変換部157は、ロール紙印刷部120が、プリンタードライバープログラム24に対応するプリンターと同様または類似の形態で印刷できるように、第1インターフェイス110により受信されたコマンドに含まれる印刷位置指定コマンド、マージン指定コマンド、改行コマンド、フォント指定コマンド、文字間マージン指定コマンド等のコマンドとパラメーターを変換する。さらに、変換部157は、印刷データに含まれる画像データのピクセル数の変換を行ってもよい。同様に、変換部157は、ロール紙印刷部220が、プリンタードライバープログラム24に対応するプリンターと同様または類似の形態で印刷できるように、第1インターフェイス110により受信されたコマンドに含まれる上記の各種コマンドとパラメーター、印刷データに含まれる画像データのピクセル数等を変換する。これにより、POS端末20のソフトウェアを改変することなく、同様の、或いは類似した形態の印刷物を、複合機100及びプリンター200によって得ることができる。
The
In such a case, the
コマンド解析部158は、第1インターフェイス110により受信したコマンドを解析して、受信されたコマンドに対応する機能を特定する。例えば、コマンド解析部158は、受信されたコマンドが、ロール紙印刷部120の機能に関するコマンドか、磁気読取部130の機能に関するコマンドか、帳票印刷部140の機能に関するコマンドかを特定する。
コマンド解析部158は、第1インターフェイス110により受信したコマンドが磁気読取部130または帳票印刷部140の機能に関するコマンドである場合、そのコマンドを後述する処理制御部159により実行させる。
また、第1インターフェイス110により受信したコマンドがロール紙印刷部120の機能に関するコマンドである場合、コマンド解析部158は、複合機100の動作モードを判別する。複合機100の動作モードが第1モードである場合、コマンド解析部158は、ロール紙印刷部120に関するコマンドを処理制御部159により実行させる。一方、複合機100の動作モードが第2モードである場合、コマンド解析部158は、ロール紙印刷部120に関するコマンドを、第2インターフェイス115によってプリンター200へ送信させる。ここで、第1インターフェイス110により受信したコマンドが印刷データを伴う場合、コマンド解析部158は、コマンドと印刷データとを第2インターフェイス115により送信させる。
The
When the command received by the
When the command received by the
処理制御部159は、第1インターフェイス110により受信したコマンドを実行し、ロール紙印刷部120、磁気読取部130及び帳票印刷部140を駆動させて、レシート印刷、磁気情報の読み取り、或いは、帳票への印刷を実行させる。
The
図3は、複合機100の動作を示すフローチャートである。
制御部150は、第1インターフェイス110によりコマンドを受信したことを検出すると(ステップS11)、受信されたコマンドの変換が必要か否かを変換部157が判定する(ステップS12)。受信されたコマンドが、複合機100が対応するコマンドとは異なっている場合、変換部157はコマンドの変換が必要であると判定する(ステップS12;Yes)。この場合、変換部157は、受信されたコマンドを、複合機100が対応するコマンド体系における対応コマンドに変換する(ステップS13)。また、変換部157は、コマンドの変換が必要ないと判定した場合(ステップS12;No)、コマンドの変換を行わない。
FIG. 3 is a flowchart showing the operation of the
When the
続いて、データ解析部155が、第1インターフェイス110により、コマンドとともにテキストデータが受信されたか否かを判定する(ステップS14)。テキストデータが受信された場合(ステップS14;Yes)、データ解析部155は受信されたテキストデータを解析し(ステップS15)、テキストコマンドを検索する(ステップS16)。ここで、受信されたテキストデータにテキストコマンドが含まれている場合(ステップS16;Yes)、データ解析部155が動作モード制御部153にテキストコマンドを出力する。動作モード制御部153は、テキストコマンドに従って、現在の動作モードを他の動作モードに切り換える(設定する)処理を行う(ステップS17)。また、データ解析部155は、受信されたテキストデータから、動作モード制御部153に出力したテキストコマンドを除去して新たなテキストデータを生成し(ステップS18)、次のステップS19に移行する。また、受信されたテキストデータにテキストコマンドが含まれていない場合(ステップS16;No)、データ解析部155はステップS19に移行する。
Subsequently, the
ステップS19では、コマンド解析部158が、受信されたコマンドを解析する。コマンド解析部158は、受信されたコマンドが印刷コマンドであるか否かを判定する(ステップS20)。受信されたコマンドが印刷コマンドでない場合(ステップS20;No)、コマンド解析部158は処理制御部159にコマンドを出力し、処理制御部159が磁気読取部130または帳票印刷部140を制御して、コマンドに従って処理を実行する(ステップS21)。
一方、受信されたコマンドが印刷コマンドである場合(ステップS21;Yes)、データ解析部155は、動作モード制御部153により設定されている動作モードを判定する(ステップS22)。動作モードが第1モードである場合(ステップS23;Yes)、データ解析部155は処理制御部159にコマンドを出力し、処理制御部159がロール紙印刷部120を制御して、印刷コマンドに従って印刷を実行する(ステップS24)。これに対し、動作モードが第2モードである場合(ステップS23;No)、変換部157がコマンドの変換の要否を判定する(ステップS25)。第2モードではプリンター200にコマンドを送信するので、変換部157は、第1インターフェイス110により受信したコマンドが、プリンター200が使用するコマンドと異なっている場合に、コマンドの変換が必要であると判定する(ステップS25;Yes)。この場合、変換部157は、プリンター200が使用するコマンド体系におけるコマンドへの変換を行い(ステップS26)、第2インターフェイス115によってプリンター200に印刷コマンドと印刷データとを送信する(ステップS27)。また、コマンドの変換が必要ない場合には(ステップS25;No)、変換部157は、第1インターフェイス110により受信したコマンドと印刷データとを第2インターフェイス115により送信する。なお、ステップS27で第2インターフェイス115によって送信される印刷データは、第1インターフェイス110により受信された印刷データ、或いは、ステップS18でテキストコマンドが除去されたデータである。
In step S19, the
On the other hand, when the received command is a print command (step S21; Yes), the
以上説明したように、本実施形態に係るPOSシステム3が備える複合機100は、媒体としてのロール紙を処理するロール紙印刷部120と、POS端末20から送信されたコマンドを受信する第1インターフェイス110と、第1インターフェイス110で受信されたコマンドを、ロール紙印刷部120と共通する処理を行うプリンター200に送信する第2インターフェイス115と、第1インターフェイス110で受信されたコマンドに基づいて、ロール紙印刷部120で処理を実行させる制御、及び、コマンドを第2インターフェイス115によりプリンター200に送信させる制御を行う制御部150と、を備え、制御部150は、第1インターフェイス110で受信されたコマンドが予め設定されたコマンドである場合に、予め設定されたコマンドを第2インターフェイス115によりプリンター200に送信させる。
これにより、複合機100は、POS端末20から送信されたコマンドを受信し、受信したコマンドに基づいてロール紙印刷部120によってロール紙に印刷することができ、かつ、予め設定されたコマンドをプリンター200に送信して、例えばプリンター200にレシートを印刷させることができる。このため、POS端末20が複合機100にコマンドを送信すれば、複合機100が印刷を行い、或いは、コマンドが適切にプリンター200に転送される。従って、POS端末20は複合機100とプリンター200とを使い分ける制御を行う必要がなく、簡単な制御により複合機100とプリンター200とを適切に使用できる。
さらに、複合機100は、第1インターフェイス110に加え、第2インターフェイス115を備えている。このため、POS端末20は1台の複合機100が接続された場合と同様にコマンド等を送信すればよい。従って、POS端末20の機能やソフトウェアを、複数の処理装置を使用するための専用の構成にする必要がない。例えば、既存のPOS端末20の構成をそのまま使用できるという利点がある。
As described above, the
Accordingly, the
Furthermore, the multifunction peripheral 100 includes a
また、制御部150は、第1インターフェイス110により受信されたコマンドのうち、プリンター200により実行されるコマンドを、第2インターフェイス115によりプリンター200に送信させる。このため、POS端末20は、コマンドを送信したときに、複合機100の機能によってプリンター200を動作させることができる。
また、複合機100がロール紙印刷部120と異なる処理を実行する第2処理部として磁気読取部130、及び帳票印刷部140を備え、プリンター200が実行可能な処理を検出する外部装置制御部151をさらに備え、制御部150は、プリンター200が磁気読取部130及び帳票印刷部140と共通の処理部を有していないことを検出した場合に、第1インターフェイス110により受信されたコマンドのうち、プリンター200が備える処理部としてのロール紙印刷部220が実行可能なコマンドを、ロール紙印刷部220により実行させる。これにより、POS端末20がコマンドを送信するだけで、プリンター200が実行できる種類の処理をプリンター200に実行させ、それ以外の処理を複合機100に実行させることができる。つまり、プリンター200が備える機能に合わせて、複合機100が適切にプリンター200を動作させる。従って、POS端末20が各処理装置の機能に合わせた制御を行わなくても、複数の処理装置を適切に使用できる。
In addition, the
In addition, the
また、複合機100は、第1インターフェイス110で受信されたコマンドが、ロール紙印刷部120及びプリンター200のロール紙印刷部220の両方で実行可能なコマンドである場合に、コマンドをロール紙印刷部120により実行させる第1モード、もしくはコマンドを第2インターフェイス115によりプリンター200に送信させる第2モードに切り換える動作モード制御部153を有する。このため、複合機100とプリンター200の両方が実行できるコマンドを、どちらの処理装置が実行するかについて、複合機100が切り換えることができる。
In addition, when the command received by the
POSシステム3の使用方法の具体的な例を挙げる。複合機100とプリンター200とが離れた場所に設置された構成において、複合機100とプリンター200とを使い分けることができる。例えば、複合機100の近くにオペレーターがいる場合には、複合機100の動作モードを第1モードにして、複合機100によってレシートを印刷する形態でPOSシステム3を使用する。そして、オペレーターが複合機100の近くから離れて、複合機100の近くにオペレーターが居ない場合には、POS端末20によりコマンドを送信して複合機100を第2モードに切り換える。これにより、レシートがプリンター200によって印刷される。このように、複合機100の動作モードを切り換えることで、レシートが出力される場所を変更することができる。
A specific example of how to use the
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上記実施形態で説明した複合機100が備える外部装置制御部151、動作モード制御部153、データ解析部155、変換部157、コマンド解析部158、及び処理制御部159の各機能部のうち、一部を省略した構成としても、本発明による効果を得ることが可能である。例えば、第2インターフェイス115に接続される装置について、実行可能な処理の種類、コマンド体系についての情報が予め制御部150に設定されている場合、外部装置制御部151によりプリンター200を検出する機能を省略できる。また、例えば、POS端末20が送信するコマンドのコマンド体系に複合機100及びプリンター200が対応している場合、変換部157によりコマンドを変換する機能を省略できる。また、例えば、テキストコマンドを使用せず、POS端末20が複合機100に対して動作モードの切換を指示するコマンドが印刷コマンド等と同様に定義されている場合、データ解析部155によりテキストコマンドを検出する機能を省略できる。さらにまた、例えば、制御部150に対して、第1インターフェイス110により受信したコマンドのうち第2インターフェイス115から送信するコマンドが個別に、或いは、対応する機能毎に設定されている場合、動作モード制御部153は、受信されたコマンドが設定されたコマンドに該当する場合に第2インターフェイス115から送信すればよいので、コマンド解析部158によりコマンドを解析する機能を省略できる。
また、上記実施形態において、切換スイッチ170または操作パネル180の操作によって動作モードを切り換えることが可能であるから、テキストコマンドや、動作モードの切換を指示するコマンドを用いることなく本発明を適用してもよい。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
For example, among the functional units of the external
In the above embodiment, since the operation mode can be switched by operating the changeover switch 170 or the operation panel 180, the present invention is applied without using a text command or a command for switching the operation mode. Also good.
また、上記実施形態では、媒体を処理する媒体処理装置、及び、外部の処理装置の例として、ロール紙に印刷を行う複合機100及びプリンター200を備えた構成を例に挙げて説明したが、本発明はこれに限定されない。例えば、媒体は紙に限定される合成樹脂製のシートを用いることも可能であり、媒体の表面に加工が施されていてもよい。媒体は所定サイズにカットされたカットシートであってもよいし、スプロケット紙などの連続シートであってもよい。また、例えば、媒体として複写紙を用いる構成としてもよい。さらに、ロール紙印刷部120、220は、感熱紙に熱を与えて印刷を行うサーマルプリンターに限定されず、インクジェット式、ドットインパクト式等の各種の記録方式を採用できる。また、上述した実施形態では、複合機100が備える印刷以外の処理部について、磁気読取部130及び帳票印刷部140を例示したが、本発明はこれに限定されず、別種の媒体に印刷を行う印刷部であってもよいし、小切手等の媒体を光学的に読み取るスキャナーであってもよく、ICカード等により認証を行う処理部であってもよい。
さらに、上記実施形態のPOSシステム3は、POS端末20に対して複数の機能を有する複合機100を接続し、複合機100にプリンター200を接続した構成とした。本発明はこれに限定されず、例えばPOS端末20にプリンター200を接続し、このプリンター200に、複合機100あるいは別のプリンター200を接続してもよい。
また、上記実施形態においては、ホストコンピューターの一例としてPOS端末20を挙げて説明したが、本発明はこれに限定されない。ホストコンピューターとしては、複合機100等の媒体処理装置に対してコマンドとテキストデータとを送信する機能を備えたものであればよく、一般的なパーソナルコンピューターや、メインフレームコンピューター、サーバー等のコンピューター機器、或いは、携帯型デバイスを用いることができる。さらに、ホストコンピューターの用途はPOSとしての会計処理に限定されず、文書作成処理、画像編集処理等の一般的な用途、或いは、特定の用途に用いられるコンピューターを含むシステムにも本発明を適用できる。
図1及び図2に示す各機能ブロックは、ハードウェアとソフトウェアの協働により任意に実現可能であり、特定のハードウェア構成を示唆するものではない。
また、例えば、複合機100の制御部150が、外部接続される記憶媒体に記憶させたプログラムを実行することにより、制御部150の各種機能を実現する構成とすることも可能である。その他の細部構成についても、任意に変更可能であることは勿論である。
In the above embodiment, as an example of a medium processing apparatus that processes a medium and an external processing apparatus, the configuration including the multifunction peripheral 100 and the
Furthermore, the
In the above embodiment, the
Each functional block shown in FIGS. 1 and 2 can be arbitrarily realized by cooperation of hardware and software, and does not suggest a specific hardware configuration.
Further, for example, the
3…POSシステム、10…POSサーバー、20…POS端末(ホストコンピューター)、21…制御部、22…プリンタードライバー実行部、23…記憶部、24…プリンタードライバープログラム、40…チェックアウトシステム、100…複合機(媒体処理装置、第1媒体処理装置)、101…本体基板、103…インターフェイス基板、110…第1インターフェイス(第1接続部)、115…第2インターフェイス(第2接続部)、120…ロール紙印刷部(処理部、第1処理部)、130…磁気読取部(処理部、第2処理部)、140…帳票印刷部(処理部、第2処理部)、150…制御部、151…外部装置制御部、153…動作モード制御部(切換部)、155…データ解析部、157…変換部、158…コマンド解析部、159…処理制御部、170…切換スイッチ、180…操作パネル、200…プリンター(外部の処理装置、第2媒体処理装置)、220…ロール紙印刷部(媒体処理部)、250…制御部、R…レシート。
DESCRIPTION OF
Claims (7)
ホストコンピューターから送信されたコマンドを受信する第1接続部と、
前記第1接続部で受信されたコマンドを、前記処理部と共通する処理を行う外部の処理装置に送信する第2接続部と、
前記第1接続部で受信されたコマンドに基づいて、前記処理部で処理を実行させる制御、及び、前記コマンドを前記第2接続部により前記外部の処理装置に送信させる制御を行う制御部と、を備え、
前記制御部は、前記第1接続部で受信されたコマンドが予め設定されたコマンドである場合に、前記予め設定されたコマンドを前記第2接続部により前記外部の処理装置に送信させること、
を特徴とする媒体処理装置。 A processing unit for processing the medium;
A first connection for receiving a command transmitted from a host computer;
A second connection unit that transmits a command received by the first connection unit to an external processing device that performs processing common to the processing unit;
A control unit that performs control to execute processing in the processing unit based on a command received by the first connection unit, and control to transmit the command to the external processing device through the second connection unit; With
The control unit causes the second connection unit to transmit the preset command to the external processing device when the command received by the first connection unit is a preset command;
A medium processing apparatus.
前記外部の処理装置が実行可能な処理を検出する外部装置制御部と、を備え、
前記外部装置制御部で前記外部の処理装置が前記第2処理部と共通の処理部を有していないことを検出したとき、前記制御部は、前記第1接続部で受信されたコマンドのうち、前記第2処理部が実行可能なコマンドを、前記第2処理部に実行させることを特徴とする請求項1または2に記載の媒体処理装置。 A second processing unit that executes processing different from the processing unit;
An external device control unit that detects processing that can be executed by the external processing device,
When the external device control unit detects that the external processing device does not have a processing unit in common with the second processing unit, the control unit includes the command received by the first connection unit. The medium processing apparatus according to claim 1, wherein the second processing unit causes the second processing unit to execute a command that can be executed by the second processing unit.
記録媒体に対して第1の処理を行う第1処理部、前記第1処理部とは異なる処理を行う第2処理部、前記POS端末から送信されたコマンドを受信する第1接続部、前記第1接続部で受信したコマンドを送信する第2接続部、及び前記第1接続部により受信されたコマンドに基づいて前記第1処理部で処理を実行させる制御と前記第1接続部により受信されたコマンドが予め設定されたコマンドである場合に前記予め設定されたコマンドを前記第2接続部により送信させる制御とを実行させる制御部を有する第1媒体処理装置と、
前記第1媒体処理装置の前記第2接続部に接続され、前記第2接続部から送信されたコマンドを受信する受信部、及び前記受信部により受信されたコマンドに基づいて前記第1媒体処理装置の前記第1処理部と共通の処理を行う媒体処理部を有する第2媒体処理装置と、
を備えることを特徴とするPOSシステム。 A POS terminal that sends a command;
A first processing unit that performs a first process on a recording medium; a second processing unit that performs a process different from the first processing unit; a first connection unit that receives a command transmitted from the POS terminal; A second connection unit that transmits a command received by one connection unit, and a control that causes the first processing unit to execute a process based on the command received by the first connection unit and the first connection unit that receives the command. A first medium processing device having a control unit that executes control for transmitting the preset command by the second connection unit when the command is a preset command;
A receiving unit connected to the second connection unit of the first medium processing device and receiving a command transmitted from the second connection unit, and the first medium processing device based on the command received by the receiving unit A second medium processing apparatus having a medium processing unit that performs processing common to the first processing unit of
A POS system comprising:
前記第1媒体処理装置の前記制御部は、前記第1接続部で受信されたコマンドのうち、前記第2媒体処理装置が実行しない機能に関するコマンドであって、前記第1処理部または前記第2処理部が実行可能なコマンドを、前記第1処理部または前記第2処理部に実行させることを特徴とする請求項5または6に記載のPOSシステム。 The second medium processing apparatus has a second medium processing unit different from the medium processing unit,
The control unit of the first medium processing device is a command related to a function that the second medium processing device does not execute among commands received by the first connection unit, the first processing unit or the second The POS system according to claim 5 or 6, wherein a command executable by a processing unit is caused to be executed by the first processing unit or the second processing unit.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012116881A JP2013240964A (en) | 2012-05-22 | 2012-05-22 | Media processing device, and pos system |
| US13/870,839 US8913284B2 (en) | 2012-05-22 | 2013-04-25 | Media processing device and systems with multiple processing units |
| CN201310178792.7A CN103426256B (en) | 2012-05-22 | 2013-05-15 | Media processing apparatus, media processing system and POS system |
| US14/538,712 US9224275B2 (en) | 2012-05-22 | 2014-11-11 | Media processing method using multiple processing units for performing multiple processes |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2012116881A JP2013240964A (en) | 2012-05-22 | 2012-05-22 | Media processing device, and pos system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2013240964A true JP2013240964A (en) | 2013-12-05 |
| JP2013240964A5 JP2013240964A5 (en) | 2015-05-28 |
Family
ID=49842358
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2012116881A Pending JP2013240964A (en) | 2012-05-22 | 2012-05-22 | Media processing device, and pos system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2013240964A (en) |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07319650A (en) * | 1994-05-26 | 1995-12-08 | Fuji Xerox Co Ltd | Printing system |
| JPH08297780A (en) * | 1995-04-27 | 1996-11-12 | Seiko Epson Corp | Check reader for a printer and its control method |
| JPH10207657A (en) * | 1997-01-27 | 1998-08-07 | Seiko Epson Corp | Network adaptive device and method for printing, and network print system |
| JP2001298565A (en) * | 2000-04-14 | 2001-10-26 | Sharp Corp | Copy network system and image forming apparatus used in the system |
| JP2001306283A (en) * | 2000-04-20 | 2001-11-02 | Nec Corp | Network printer |
| JP2003271776A (en) * | 2002-03-13 | 2003-09-26 | Sogo Insatsu:Kk | System, apparatus, method and program for drawing lots |
| JP2006146946A (en) * | 1997-07-25 | 2006-06-08 | Seiko Epson Corp | Printing system, method and printer |
| JP2007076112A (en) * | 2005-09-13 | 2007-03-29 | Canon Inc | Printing device |
| JP2007283628A (en) * | 2006-04-17 | 2007-11-01 | Fuji Xerox Co Ltd | Printing system, printer and control method thereof |
| JP2009199588A (en) * | 2008-01-24 | 2009-09-03 | Seiko Epson Corp | Receipt issuing processing method, receipt issuing processing system and printer |
-
2012
- 2012-05-22 JP JP2012116881A patent/JP2013240964A/en active Pending
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07319650A (en) * | 1994-05-26 | 1995-12-08 | Fuji Xerox Co Ltd | Printing system |
| JPH08297780A (en) * | 1995-04-27 | 1996-11-12 | Seiko Epson Corp | Check reader for a printer and its control method |
| JPH10207657A (en) * | 1997-01-27 | 1998-08-07 | Seiko Epson Corp | Network adaptive device and method for printing, and network print system |
| JP2006146946A (en) * | 1997-07-25 | 2006-06-08 | Seiko Epson Corp | Printing system, method and printer |
| JP2001298565A (en) * | 2000-04-14 | 2001-10-26 | Sharp Corp | Copy network system and image forming apparatus used in the system |
| JP2001306283A (en) * | 2000-04-20 | 2001-11-02 | Nec Corp | Network printer |
| JP2003271776A (en) * | 2002-03-13 | 2003-09-26 | Sogo Insatsu:Kk | System, apparatus, method and program for drawing lots |
| JP2007076112A (en) * | 2005-09-13 | 2007-03-29 | Canon Inc | Printing device |
| JP2007283628A (en) * | 2006-04-17 | 2007-11-01 | Fuji Xerox Co Ltd | Printing system, printer and control method thereof |
| JP2009199588A (en) * | 2008-01-24 | 2009-09-03 | Seiko Epson Corp | Receipt issuing processing method, receipt issuing processing system and printer |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103426257B (en) | Media processing apparatus and POS system | |
| JP5810609B2 (en) | RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM | |
| US9156279B2 (en) | Printing system, printing device, and printing method | |
| JP6008109B2 (en) | Printing system and printing apparatus | |
| US9129206B2 (en) | Printing device and printing system | |
| US9224275B2 (en) | Media processing method using multiple processing units for performing multiple processes | |
| CN103568606B (en) | Printing equipment, print system and printing process | |
| JP6115025B2 (en) | Medium processing apparatus and POS system | |
| US20150278787A1 (en) | POS System and Control Method of a POS System | |
| CN102609225B (en) | The control method of control device, register system and control device | |
| JP6056196B2 (en) | Medium processing apparatus and POS system | |
| US9524130B2 (en) | Control device, control method of a control device, and storage medium to generate and output a control command compatible with a second printing device that differs structurally from the first printing device | |
| JP6019749B2 (en) | Medium processing apparatus and POS system | |
| JP2013240964A (en) | Media processing device, and pos system | |
| JP5924126B2 (en) | Medium processing apparatus and POS system | |
| US20040019495A1 (en) | System for setting up a point-of-sale system, a method for setting up a point-of-sale system, and a data recording medium storing the same | |
| JP6019871B2 (en) | Printing apparatus, printing system, and POS system | |
| JP6003475B2 (en) | Printing system, printing apparatus, and printing method | |
| JP6111546B2 (en) | Printing apparatus, printing system, and POS system | |
| JP2011084027A (en) | Recording device, control method of recording device, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150413 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150413 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160218 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160301 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160426 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160920 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161114 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20170509 |