JP6131640B2 - Printing apparatus, printing system, and printing method - Google Patents

Printing apparatus, printing system, and printing method Download PDF

Info

Publication number
JP6131640B2
JP6131640B2 JP2013046461A JP2013046461A JP6131640B2 JP 6131640 B2 JP6131640 B2 JP 6131640B2 JP 2013046461 A JP2013046461 A JP 2013046461A JP 2013046461 A JP2013046461 A JP 2013046461A JP 6131640 B2 JP6131640 B2 JP 6131640B2
Authority
JP
Japan
Prior art keywords
printing
print data
host
printer
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013046461A
Other languages
Japanese (ja)
Other versions
JP2014172270A (en
JP2014172270A5 (en
Inventor
克敏 寺島
克敏 寺島
整 古幡
整 古幡
明男 高本
明男 高本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2013046461A priority Critical patent/JP6131640B2/en
Priority to US13/933,771 priority patent/US20140022576A1/en
Priority to CN201310280980.0A priority patent/CN103568606B/en
Priority to EP13176234.6A priority patent/EP2687976A3/en
Priority to CN201310301222.2A priority patent/CN103577127B/en
Priority to EP13176774.1A priority patent/EP2687978A3/en
Priority to KR1020130084648A priority patent/KR101446436B1/en
Priority to US13/946,211 priority patent/US9030685B2/en
Priority to CN201310394993.0A priority patent/CN103692766B/en
Priority to US14/018,538 priority patent/US9156279B2/en
Priority to EP13184221.3A priority patent/EP2713264A3/en
Publication of JP2014172270A publication Critical patent/JP2014172270A/en
Publication of JP2014172270A5 publication Critical patent/JP2014172270A5/ja
Application granted granted Critical
Publication of JP6131640B2 publication Critical patent/JP6131640B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷装置、及び、印刷システムに関する。   The present invention relates to a printing apparatus and a printing system.

コンピューター等により印刷装置にデータを送信し、印刷を実行させるシステムにおいて、印刷装置を他の印刷装置により代替させるシステムが知られている(例えば、特許文献1参照)。   In a system in which data is transmitted to a printing apparatus by a computer or the like and printing is performed, a system in which the printing apparatus is replaced with another printing apparatus is known (for example, see Patent Document 1).

特開2012−096503号公報JP 2012-0965503 A

ところで、特許文献1に記載されたように複数の印刷装置を制御する場合、予め、制御側のコンピューターが各印刷装置を制御する必要がある。具体的には、制御側のコンピューターに、各印刷装置に対応した制御を行うデバイスドライバープログラムがインストールされている必要がある。このため、印刷装置を有する既存のシステムに別種の印刷装置を追加したり、印刷装置を交換したりする場合、制御側のコンピューターの構成を変更する必要があった。
本発明は、上述した事情に鑑みてなされたものであり、印刷装置を制御するシステムにおいて、制御側の装置の構成を変更することなく、印刷装置に係る構成変更を行えるようにすることを目的とする。
By the way, when a plurality of printing apparatuses are controlled as described in Patent Document 1, it is necessary for a computer on the control side to control each printing apparatus in advance. Specifically, a device driver program that performs control corresponding to each printing apparatus needs to be installed in the computer on the control side. For this reason, when another type of printing apparatus is added to the existing system having the printing apparatus or when the printing apparatus is replaced, it is necessary to change the configuration of the computer on the control side.
The present invention has been made in view of the above-described circumstances, and an object thereof is to enable a configuration change related to a printing apparatus to be performed without changing the configuration of a control-side apparatus in a system that controls the printing apparatus. And

上記目的を達成するために、本発明は、印刷を行う印刷部と、前記印刷部の種別を含む装置情報及び前記印刷部とは異なる印刷装置の装置情報を記憶する記憶部と、ホスト装置と接続する接続部と、前記接続部に前記ホスト装置が接続された場合に、前記ホスト装置に対して、前記印刷装置の装置情報を出力する制御部と、を備えたことを特徴とする。
本発明によれば、印刷部の種別を含む装置情報と、この印刷部とは異なる印刷装置の装置情報を記憶し、ホスト装置に異なる印刷装置の装置情報を出力する。これにより、ホスト装置に接続したときに、異なる印刷装置として認識させることができる。このため、ホスト装置の構成を変更することなく、ホスト装置が対応している印刷装置とは異なる印刷装置を、ホスト装置に接続できる。従って、ホスト装置と印刷装置とが接続されたシステムにおいて、ホスト装置の構成を変更することなく印刷装置に係る構成を変更できる。
To achieve the above object, the present invention provides a printing unit that performs printing, a storage unit that stores device information including the type of the printing unit, and device information of a printing device different from the printing unit, and a host device. And a controller that outputs device information of the printing apparatus to the host device when the host device is connected to the connection unit.
According to the present invention, the device information including the type of the printing unit and the device information of the printing device different from the printing unit are stored, and the device information of the different printing device is output to the host device. Thereby, when connected to the host device, it can be recognized as a different printing device. Therefore, it is possible to connect a printing device different from the printing device supported by the host device to the host device without changing the configuration of the host device. Therefore, in a system in which the host device and the printing device are connected, the configuration related to the printing device can be changed without changing the configuration of the host device.

また、本発明は、上記印刷装置において、前記印刷装置に接続されて、前記印刷装置で処理されるデータを前記ホスト装置が出力した場合に前記データを出力する機器接続部を有する。
本発明によれば、ホスト装置が異なる印刷装置に向けて出力したデータを、機器接続部を介して出力できる。このため、ホスト装置が出力したデータを処理するとともに、異なる印刷装置にデータを出力して処理させることができる。
According to the present invention, in the printing apparatus, the apparatus includes a device connection unit that is connected to the printing apparatus and outputs the data when the host apparatus outputs data to be processed by the printing apparatus.
According to the present invention, data output from a host device to a different printing device can be output via the device connection unit. Therefore, the data output from the host device can be processed, and the data can be output to a different printing device for processing.

また、上記目的を達成するために、本発明の印刷システムは、データを出力するホスト装置と、印刷を行う第1印刷部、及び前記ホスト装置と接続する接続部を有する第1印刷装置と、前記印刷装置と接続して通信を行う通信部、印刷を行う第2印刷部を有する第2印刷装置と、を備え、前記第1印刷装置は、前記第1印刷装置の種別を含む第1装置情報及び前記第2印刷装置の種別を含む第2装置情報を記憶する記憶部を有し、前記ホスト装置が前記第1印刷装置に装置情報を要求したときに、前記記憶部に記憶された前記第2装置情報を前記ホスト装置に送信することを特徴とする。
本発明によれば、ホスト装置に接続される第1印刷装置がホスト装置に対して第2印刷装置の第2装置情報を出力するので、ホスト装置には第2印刷装置として認識させることができる。このため、ホスト装置の構成を変更することなく、第2印刷装置に対応しているホスト装置に、第1印刷装置を接続できる。従って、ホスト装置と印刷装置とが接続されたシステムにおいて、ホスト装置の構成を変更することなく印刷装置に係る構成を変更できる。
In order to achieve the above object, a printing system of the present invention includes a host device that outputs data, a first printing unit that performs printing, and a first printing device that includes a connection unit connected to the host device, A communication unit that communicates with the printing device and a second printing device that includes a second printing unit that performs printing, and the first printing device includes a type of the first printing device. A storage unit that stores information and a second device information including a type of the second printing device, and the host device requests device information from the first printing device and stores the information in the storage unit. The second device information is transmitted to the host device.
According to the present invention, since the first printing device connected to the host device outputs the second device information of the second printing device to the host device, the host device can be recognized as the second printing device. . Therefore, the first printing device can be connected to a host device that supports the second printing device without changing the configuration of the host device. Therefore, in a system in which the host device and the printing device are connected, the configuration related to the printing device can be changed without changing the configuration of the host device.

また、本発明は、上記印刷システムにおいて、前記ホスト装置は、前記第2印刷装置で処理される印刷データを前記第1印刷装置の前記接続部に送信し、前記第1印刷装置は、前記ホスト装置から送信された前記印刷データを受信し、受信した前記印刷データを前記第2印刷装置に送信し、前記第2印刷装置は、前記第1印刷装置から送信された前記印刷データを受信し、受信した前記印刷データを前記第2印刷部で印刷する。
本発明によれば、ホスト装置が第2印刷装置用に出力する印刷データを第1印刷装置が受信し、第2印刷装置に送信する。このため、第1印刷装置及び第2印刷装置の両方で、ホスト装置が送信する印刷データを処理できる。
According to the present invention, in the printing system, the host device transmits print data to be processed by the second printing device to the connection unit of the first printing device, and the first printing device is the host. Receiving the print data transmitted from the apparatus, transmitting the received print data to the second printing apparatus, wherein the second printing apparatus receives the print data transmitted from the first printing apparatus; The received print data is printed by the second printing unit.
According to the present invention, the first printing device receives print data output from the host device for the second printing device, and transmits it to the second printing device. Therefore, the print data transmitted from the host device can be processed by both the first printing device and the second printing device.

また、本発明は、上記印刷システムにおいて、前記第1印刷装置は、前記ホスト装置から送信された印刷データを解析するデータ解析部と、予め定められた情報及び前記予め定められた情報に対応する印刷データを記憶する印刷データ記憶部と、を有し、前記データ解析部は、前記印刷データに前記予め定められた情報が含まれているか否かを判別し、前記予め定められた情報が含まれている場合、前記第1印刷部は、前記予め定められた情報に対応する印刷データを印刷する。
本発明によれば、ホスト装置の構成を変更することなく、第2印刷装置に対応したホスト装置に第1印刷装置を接続して、この第1印刷装置が、ホスト装置が送信した印刷データを解析して関連する情報を印刷することができる。
According to the present invention, in the printing system, the first printing device corresponds to a data analysis unit that analyzes print data transmitted from the host device, predetermined information, and the predetermined information. A print data storage unit for storing print data, wherein the data analysis unit determines whether the predetermined information is included in the print data and includes the predetermined information If so, the first printing unit prints print data corresponding to the predetermined information.
According to the present invention, the first printing device is connected to the host device corresponding to the second printing device without changing the configuration of the host device, and the first printing device transmits the print data transmitted by the host device. Parse and print relevant information.

また、本発明は、上記印刷システムにおいて、前記ホスト装置は、決済情報を処理するPOS端末であり、前記第2印刷装置は、前記POS端末から送信された前記決済情報に係るレシートを印刷する。
本発明によれば、第2印刷装置によりレシートを印刷するPOS端末装置の構成を変更することなく、POS端末装置に第1印刷装置を接続して、第2印刷装置によりレシートを印刷する機能と、第1印刷装置による処理との両方を実現できる。
In the printing system according to the present invention, the host device is a POS terminal that processes payment information, and the second printing device prints a receipt related to the payment information transmitted from the POS terminal.
According to the present invention, the first printing device is connected to the POS terminal device and the receipt is printed by the second printing device without changing the configuration of the POS terminal device that prints the receipt by the second printing device. Both processing by the first printing apparatus can be realized.

また、上記目的を達成するために、本発明の印刷方法は、ホスト装置と第1印刷装置とが接続された後、前記ホスト装置は前記第1印刷装置に印刷装置の種別を含む装置情報を要求し、前記装置情報を要求された前記第1印刷装置は記憶された第2印刷装置の装置情報を前記ホスト装置に送信し、前記ホスト装置は、前記第2印刷装置で処理される印刷データを送信し、前記第1印刷装置は、前記印刷データを前記第1印刷装置に接続された前記第2印刷装置に送信し、前記第2印刷装置は、前記印刷データを印刷することを特徴とする。
本発明によれば、ホスト装置に接続される第1印刷装置がホスト装置に対して第2印刷装置の第2装置情報を出力するので、ホスト装置には第2印刷装置として認識させることができる。このため、ホスト装置の構成を変更することなく、第2印刷装置に対応しているホスト装置に、第1印刷装置を接続できる。従って、ホスト装置と印刷装置とが接続されたシステムにおいて、ホスト装置の構成を変更することなく印刷装置に係る構成を変更できる。
In order to achieve the above object, according to the printing method of the present invention, after the host device and the first printing device are connected, the host device sends device information including the type of the printing device to the first printing device. The first printing device requested to send the device information transmits the stored device information of the second printing device to the host device, and the host device print data processed by the second printing device. The first printing device transmits the print data to the second printing device connected to the first printing device, and the second printing device prints the print data. To do.
According to the present invention, since the first printing device connected to the host device outputs the second device information of the second printing device to the host device, the host device can be recognized as the second printing device. . Therefore, the first printing device can be connected to a host device that supports the second printing device without changing the configuration of the host device. Therefore, in a system in which the host device and the printing device are connected, the configuration related to the printing device can be changed without changing the configuration of the host device.

実施形態に係る印刷システムの構成図である。1 is a configuration diagram of a printing system according to an embodiment. 第1プリンターの機能ブロック図である。It is a functional block diagram of a 1st printer. 実施形態に係る各部の動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of each part which concerns on embodiment. 実施形態に係る各部の動作を示すシーケンス図である。It is a sequence diagram which shows operation | movement of each part which concerns on embodiment.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本発明を適用した実施形態に係る印刷システム1の構成図である。
図1に示す印刷システム1は、本発明の印刷装置である第1プリンター30(印刷装置、第1印刷装置)と、アプリケーションプログラムを実行して文書等を生成し、印刷指示を出力するホストコンピューター10(ホスト装置)と、ホストコンピューター10が出力する印刷指示に従って印刷を実行する第2プリンター20(印刷装置、第2印刷装置)とを備え、ホストコンピューター10と第2プリンター20との間に第1プリンター30が介設される。ホストコンピューター10と第2プリンター20とは、USBケーブル2Aを介して1対1で直接接続することが可能であり、この場合、ホストコンピューター10が出力するコマンドやデータを直接第2プリンター20が受信して、印刷を実行する。
印刷システム1は、ホストコンピューター10と第2プリンター20とを接続するUSBケーブル2Aを外し、ホストコンピューター10に対してUSBケーブル2Bにより第1プリンター30を接続する一方、第1プリンター30と第2プリンター20とをUSBケーブル2Cにより接続したシステムである。つまり、印刷システム1は、ホストコンピューター10に第1プリンター30と第2プリンター20とがデイジーチェーン接続された構成となっている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a configuration diagram of a printing system 1 according to an embodiment to which the present invention is applied.
A printing system 1 shown in FIG. 1 includes a first printer 30 (printing apparatus, first printing apparatus) that is a printing apparatus of the present invention, and a host computer that executes an application program to generate a document and outputs a print instruction. 10 (host device) and a second printer 20 (printing device, second printing device) that executes printing in accordance with a print instruction output from the host computer 10, and a second printer 20 is provided between the host computer 10 and the second printer 20. One printer 30 is interposed. The host computer 10 and the second printer 20 can be directly connected one-to-one via the USB cable 2A. In this case, the second printer 20 directly receives commands and data output from the host computer 10. And execute printing.
The printing system 1 disconnects the USB cable 2A that connects the host computer 10 and the second printer 20, and connects the first printer 30 to the host computer 10 by the USB cable 2B, while the first printer 30 and the second printer. 20 with a USB cable 2C. That is, the printing system 1 has a configuration in which the first printer 30 and the second printer 20 are daisy chain connected to the host computer 10.

ホストコンピューター10は、制御部11、記憶部15、入力部16、及び表示部17を備えている。また、ホストコンピューター10は、外部の機器が接続されるインターフェイスとして、USBインターフェイス12を備えている。USBインターフェイス12は、USB_Aコネクター13と、このUSB_Aコネクター13にUSBケーブルを介して接続された機器との間の通信を、所定のプロトコルに従って実行するUSBホストコントローラー14とを備えている。   The host computer 10 includes a control unit 11, a storage unit 15, an input unit 16, and a display unit 17. The host computer 10 also includes a USB interface 12 as an interface to which an external device is connected. The USB interface 12 includes a USB_A connector 13 and a USB host controller 14 that executes communication between the USB_A connector 13 and a device connected to the USB_A connector 13 via a USB cable according to a predetermined protocol.

制御部11は、CPU、ROM、RAM等により構成され、記憶部15に記憶された各種プログラムを実行することにより、ホストコンピューター10の各部を中枢的に制御する。
制御部11は、アプリケーション実行部11Aにより、記憶部15に記憶されたアプリケーションプログラムを実行する。例えば、制御部11はPOSアプリケーションプログラムを実行して、POS端末として動作する。この場合、制御部11は、入力部16により入力されるデータに基づいて商品販売に係るデータ処理を実行し、商品販売処理の結果を示すレシートを印刷するデータを印刷実行の指示とともに出力する。
また、制御部11は、デバイスドライバー実行部11Bを備える。デバイスドライバー実行部11Bは、記憶部15に記憶されたデバイスドライバープログラムを実行し、ホストコンピューター10に接続される各種機器を制御する。本実施形態のホストコンピューター10は、USBインターフェイスを介して接続されるデバイスに対応して、デバイスドライバープログラムをデバイスドライバー実行部11Bにより実行可能である。デバイスドライバー実行部11Bは、アプリケーション実行部11Aが出力する印刷指示とデータに基づいて、プリンターにより印刷を実行させる印刷コマンドと印刷データとを生成し、USBインターフェイス12から出力する。本実施形態のホストコンピューター10には、第2プリンター20に対応して印刷指示及びデータを出力するデバイスドライバーがインストールされている。
The control unit 11 includes a CPU, a ROM, a RAM, and the like, and centrally controls each unit of the host computer 10 by executing various programs stored in the storage unit 15.
The control unit 11 executes the application program stored in the storage unit 15 by the application execution unit 11A. For example, the control unit 11 executes a POS application program and operates as a POS terminal. In this case, the control unit 11 executes data processing related to product sales based on the data input from the input unit 16, and outputs data for printing a receipt indicating the result of the product sales processing together with an instruction to execute printing.
The control unit 11 includes a device driver execution unit 11B. The device driver execution unit 11B executes a device driver program stored in the storage unit 15 and controls various devices connected to the host computer 10. The host computer 10 of the present embodiment can execute a device driver program by the device driver execution unit 11B corresponding to a device connected via the USB interface. The device driver execution unit 11B generates a print command and print data for executing printing by the printer based on the print instruction and data output from the application execution unit 11A, and outputs the print command and the print data from the USB interface 12. A device driver that outputs a print instruction and data corresponding to the second printer 20 is installed in the host computer 10 of the present embodiment.

USBインターフェイス12、及び、後述するUSBインターフェイス21、40、45は、いずれもUSB規格に準拠した物理層、リンク層及びプロトコル層を構成し、1対1で接続された機器間のシリアルデータ通信を実行する。ここで、USB規格とは、USB1.1〜USB3.0またはそれ以降の拡張規格を含む。   The USB interface 12 and USB interfaces 21, 40, and 45, which will be described later, all constitute a physical layer, a link layer, and a protocol layer compliant with the USB standard, and serial data communication between devices connected on a one-to-one basis. Run. Here, the USB standard includes an extended standard of USB 1.1 to USB 3.0 or later.

USBインターフェイス12が備えるUSB_Aコネクター13は、USB規格によりホスト側の装置のコネクターとして指定された形状及び端子を有するメス(receptacle)側コネクターであって、USB規格に準拠したUSBケーブル2A、2Bを接続可能である。USB_Aコネクター13は、miniUSB_A端子やmicroUSB_A端子としてもよい。なお、後述するUSB_Aコネクター46(図2)も同様である。また、USBインターフェイス12が備えるUSB_Aコネクター13の数について特に制限はない。
USBホストコントローラー14は、USB規格に準拠したデバイスに該当する機器がUSB_Aコネクター13に接続された場合に、この機器に対してホスト側として動作し、デバイスの認識及びデバイスとの間の通信を可能とする。
The USB_A connector 13 provided in the USB interface 12 is a female connector having a shape and a terminal designated as a connector of a host device according to the USB standard, and connects USB cables 2A and 2B conforming to the USB standard. Is possible. The USB_A connector 13 may be a miniUSB_A terminal or a microUSB_A terminal. The same applies to the USB_A connector 46 (FIG. 2) described later. Moreover, there is no restriction | limiting in particular about the number of the USB_A connectors 13 with which the USB interface 12 is provided.
When a device corresponding to a device conforming to the USB standard is connected to the USB_A connector 13, the USB host controller 14 operates as a host side with respect to this device and can recognize the device and communicate with the device. And

ここで、デバイスとは、例えばホストとして動作する装置に接続される入出力装置であり、ホストの制御に従ってデータをホストに出力し、或いは、ホストから入力されるデータを出力する。ここで、ホストとは、デバイスとしての入出力装置に対し、これら入出力装置を制御するコマンドを送信するコンピューター等が該当する。   Here, the device is an input / output device connected to a device operating as a host, for example, and outputs data to the host or outputs data input from the host according to the control of the host. Here, the host corresponds to a computer or the like that transmits a command for controlling the input / output device to the input / output device as a device.

第2プリンター20は、図示しない印刷ヘッド、搬送モーター、搬送ローラー、カッターユニット等の第2プリンター印刷部28(第2印刷部)を備え、カット紙やロール紙等の印刷媒体に、文字や画像を印刷(記録)する装置である。第2プリンター20は、USBインターフェイス21(通信部)と、USBインターフェイス21を介して接続された機器との間でデータ通信を実行する通信部26と、通信部26が受信したデータに基づいて第2プリンター印刷部28を制御し、印刷を実行させる第2プリンター制御部27とを備えている。   The second printer 20 includes a second printer printing unit 28 (second printing unit) such as a print head, a conveyance motor, a conveyance roller, and a cutter unit (not shown). Characters and images are printed on a print medium such as cut paper or roll paper. Is a device for printing (recording). The second printer 20 includes a communication unit 26 that performs data communication between the USB interface 21 (communication unit), a device connected via the USB interface 21, and data received by the communication unit 26. 2 includes a second printer control unit 27 that controls the printer printing unit 28 to execute printing.

USBインターフェイス21が備えるUSB_Bコネクター22は、USB規格によりデバイス側の装置のコネクターとして指定された形状及び端子を有するメス側コネクターであって、USB規格に準拠したUSBケーブル2A、2Cを接続可能である。USB_Bコネクター22は、miniUSB_B端子やmicroUSB_B端子としてもよい。なお、後述するUSB_Bコネクター41(図2)も同様である。USBデバイスコントローラー23は、USB規格のデバイス側の機器として動作する。USBデバイスコントローラー23は、USB_Bコネクター22にUSBケーブルを介して接続された機器に対してUSBデバイスクラスIDやデバイスID等を通知し、この機器から送信される制御データに従って、通信を実行する。   The USB_B connector 22 included in the USB interface 21 is a female connector having a shape and a terminal designated as a device-side device connector according to the USB standard, and can connect USB cables 2A and 2C compliant with the USB standard. . The USB_B connector 22 may be a miniUSB_B terminal or a microUSB_B terminal. The same applies to the USB_B connector 41 (FIG. 2) described later. The USB device controller 23 operates as a device on the USB standard device side. The USB device controller 23 notifies a device connected to the USB_B connector 22 via a USB cable, such as a USB device class ID and a device ID, and executes communication according to control data transmitted from the device.

通信部26は、USBインターフェイス21を介してコマンドやデータを受信して、受信バッファー25に一時的に記憶する。また、通信部26は、第2プリンター20のステータスを示すデータや制御コマンド等を、USBインターフェイス21を介して送信する。
第2プリンター制御部27は、受信バッファー25に記憶されたコマンドを受信順に読み出して実行する。例えば、第2プリンター制御部27は、受信バッファー25からステータスの送信を要求するコマンドを読み出した場合、第2プリンター20の動作状態を示すステータス情報を生成して、通信部26により送信する。また、例えば、第2プリンター制御部27は、受信バッファー25から印刷データを伴う印刷コマンドを読み出した場合、このコマンドに従って第2プリンター印刷部28を制御して印刷を実行し、印刷が完了したことを示す完了通知またはエラーが発生したことを示すエラー通知を生成して、通信部26により、USBインターフェイス21から送信する。
The communication unit 26 receives commands and data via the USB interface 21 and temporarily stores them in the reception buffer 25. In addition, the communication unit 26 transmits data indicating the status of the second printer 20, a control command, and the like via the USB interface 21.
The second printer control unit 27 reads and executes the commands stored in the reception buffer 25 in the order of reception. For example, when the second printer control unit 27 reads a command requesting status transmission from the reception buffer 25, the second printer control unit 27 generates status information indicating the operation state of the second printer 20 and transmits the status information by the communication unit 26. For example, when the second printer control unit 27 reads a print command accompanied by print data from the reception buffer 25, the second printer control unit 27 controls the second printer printing unit 28 according to this command to execute printing, and printing is completed. A completion notification indicating that an error has occurred or an error notification indicating that an error has occurred is generated and transmitted from the USB interface 21 by the communication unit 26.

第1プリンター30は、2つのUSBインターフェイス40、45を備え、USBインターフェイス40にはUSBケーブル2Bを介してホストコンピューター10が接続され、USBインターフェイス45にはUSBケーブル2Cを介して第2プリンター20が接続されている。
第1プリンター30は、USBインターフェイス40、45を介した通信を制御する制御部31と、図示しない印刷ヘッド、搬送モーター、搬送ローラー、カッターユニット等を備えて印刷を行う第1プリンター印刷部60(印刷部、第1印刷部)と、制御部31が送受信するデータに基づいて第1プリンター印刷部60を制御して印刷を実行させる第1プリンター制御部32(印刷制御部)とを備える。
The first printer 30 includes two USB interfaces 40 and 45, the host computer 10 is connected to the USB interface 40 via the USB cable 2B, and the second printer 20 is connected to the USB interface 45 via the USB cable 2C. It is connected.
The first printer 30 includes a control unit 31 that controls communication via the USB interfaces 40 and 45 and a first printer printing unit 60 (not shown) that performs printing by including a print head, a conveyance motor, a conveyance roller, a cutter unit, and the like. And a first printer control unit 32 (print control unit) that controls the first printer printing unit 60 based on data transmitted and received by the control unit 31 to execute printing.

図2は、印刷システム1の機能ブロック図であり、第1プリンター30の構成について特に詳細に示している。
図2に示すように、USBインターフェイス40(接続部)は、USB_Bコネクター41とUSBデバイスコントローラー42とを備え、USBインターフェイス45(機器接続部)は、USB_Aコネクター46とUSBホストコントローラー47とを備える。
FIG. 2 is a functional block diagram of the printing system 1 and particularly shows the configuration of the first printer 30 in detail.
As shown in FIG. 2, the USB interface 40 (connection unit) includes a USB_B connector 41 and a USB device controller 42, and the USB interface 45 (device connection unit) includes a USB_A connector 46 and a USB host controller 47.

USB_Bコネクター41は、USB_Bコネクター22と同様、USB規格によりデバイス側の装置のコネクターとして指定された形状及び端子を有するメス側コネクターであり、USBケーブル2Bが接続される。
また、USB_Aコネクター46は、USB_Aコネクター13と同様、USB規格によりホスト側の装置のコネクターとして指定された形状及び端子を有するメス側コネクターであって、USBケーブル2Cが接続される。なお、USBインターフェイス45が備えるUSB_Aコネクター46の数については特に制限はない。
Similar to the USB_B connector 22, the USB_B connector 41 is a female connector having a shape and a terminal designated as a device-side device connector according to the USB standard, and is connected to the USB cable 2B.
Similarly to the USB_A connector 13, the USB_A connector 46 is a female connector having a shape and a terminal designated as a connector of a host side device according to the USB standard, and is connected to the USB cable 2 </ b> C. The number of USB_A connectors 46 included in the USB interface 45 is not particularly limited.

USBデバイスコントローラー42は、USB_Bコネクター41に接続された機器に対してUSBデバイスクラスIDやデバイスID等を通知し、この機器から送信される制御データに従って、通信を実行する。一方、USBホストコントローラー47は、USB規格のデバイスに該当する機器がUSB_Aコネクター46に接続された場合に、この機器に対してホスト側として動作し、デバイスの認識及びデバイスとの間の通信を可能とする。
つまり、第1プリンター30は、USBインターフェイス40に接続された機器(本実施形態ではホストコンピューター10)に対してはデバイスとして動作し、USBインターフェイス45に接続された機器(本実施形態では第2プリンター20)に対してはホストとして動作する。
The USB device controller 42 notifies the device connected to the USB_B connector 41 of the USB device class ID, device ID, and the like, and executes communication according to control data transmitted from the device. On the other hand, when a device corresponding to a USB standard device is connected to the USB_A connector 46, the USB host controller 47 operates as a host side with respect to this device, and can recognize the device and communicate with the device. And
That is, the first printer 30 operates as a device for a device connected to the USB interface 40 (the host computer 10 in this embodiment), and a device connected to the USB interface 45 (the second printer in this embodiment). 20) acts as a host.

制御部31は、機器制御部51、USBクライアントドライバー52、USBドライバー53、印刷制御部55、及びプリンタードライバー56を備えている。制御部31は、インターフェイス基板35に実装された図示しないCPU、ROM、RAM等により構成され、CPUが制御プログラムを実行することによって制御部31の各部がソフトウェア的に実現される。また、インターフェイス基板35は、制御部31に接続された記憶部54を備えている。記憶部54は、例えばインターフェイス基板35に実装されたフラッシュROM等により構成される。記憶部54の記憶領域には、受信バッファー54A(印刷データ記憶部)、及び、デバイス情報記憶部54B(記憶部)が設けられている。受信バッファー54Aは、後述するように制御部31がホストコンピューター10から印刷指示のコマンドやデータを受信した場合に、受信されたコマンドやデータを逐次記憶する。また、デバイス情報記憶部54Bは、制御部31がホストコンピューター10に送信するUSBデバイス情報(装置情報)を記憶する。   The control unit 31 includes a device control unit 51, a USB client driver 52, a USB driver 53, a print control unit 55, and a printer driver 56. The control unit 31 is configured by a CPU, a ROM, a RAM, and the like (not shown) mounted on the interface board 35, and each unit of the control unit 31 is realized by software when the CPU executes a control program. In addition, the interface board 35 includes a storage unit 54 connected to the control unit 31. The storage unit 54 is configured by a flash ROM or the like mounted on the interface board 35, for example. In the storage area of the storage unit 54, a reception buffer 54A (print data storage unit) and a device information storage unit 54B (storage unit) are provided. The reception buffer 54A sequentially stores received commands and data when the control unit 31 receives commands and data for printing instructions from the host computer 10 as will be described later. The device information storage unit 54B stores USB device information (apparatus information) transmitted from the control unit 31 to the host computer 10.

制御部31は、所定のドライバープログラムを実行することにより、USBクライアントドライバー52として機能する。USBクライアントドライバー52は、USBインターフェイス40に接続されるホストコンピューター10に対して、USB規格に準拠したUSBデバイスとして動作する。USBクライアントドライバー52は、USBインターフェイス40に接続された機器からデバイスクラスIDやデバイスIDが要求された場合に、この要求に応答してUSBデバイスクラスIDやデバイスID等を含むUSBデバイス情報を通知して、この機器との間でデータ通信を可能とする。本実施形態では、USBインターフェイス40にホストコンピューター10が接続された場合に、ホストコンピューター10に対してUSBデバイス情報を通知する。ここで、USBクライアントドライバー52は、第1プリンター30の製造元のベンダーIDや第1プリンター30の機種名に対応するデバイスIDを含むUSBデバイス情報を出力することが可能である。さらに、USBクライアントドライバー52は、事前に設定された場合に、第2プリンター20の製造元のベンダーIDや第2プリンター20の機種名に対応するデバイスIDを含むUSBデバイス情報を出力することも可能である。   The control unit 31 functions as the USB client driver 52 by executing a predetermined driver program. The USB client driver 52 operates as a USB device compliant with the USB standard with respect to the host computer 10 connected to the USB interface 40. When a device class ID or device ID is requested from a device connected to the USB interface 40, the USB client driver 52 notifies USB device information including the USB device class ID and device ID in response to the request. Thus, data communication with this device is possible. In the present embodiment, when the host computer 10 is connected to the USB interface 40, the USB device information is notified to the host computer 10. Here, the USB client driver 52 can output USB device information including a vendor ID of the manufacturer of the first printer 30 and a device ID corresponding to the model name of the first printer 30. Further, the USB client driver 52 can output USB device information including a vendor ID of the manufacturer of the second printer 20 and a device ID corresponding to the model name of the second printer 20 when set in advance. is there.

すなわち、第1プリンター30は、第1プリンター30に対応するUSBデバイス情報(第1装置情報)とともに、第2プリンター20に対応するUSBデバイス情報(第2装置情報)をデバイス情報記憶部54Bに記憶している。機器制御部51は、USBインターフェイス40にホストコンピューター10が接続されたことを検出すると、事前の設定に従って、記憶部54に記憶された第2プリンター20に対応するUSBデバイス情報をUSBクライアントドライバー52に出力し、USBクライアントドライバー52は、このUSBデバイス情報をホストコンピューター10に通知する。これにより、ホストコンピューター10は、USB_Aコネクター13(図1)に第2プリンター20が接続されていると認識する。つまり、ホストコンピューター10は、USBケーブル2Bを介して第1プリンター30に接続されているにも関わらず、USBケーブル2A(図1)を介して第2プリンター20に接続された場合と同様に動作する。   That is, the first printer 30 stores USB device information (second device information) corresponding to the second printer 20 in the device information storage unit 54B together with USB device information (first device information) corresponding to the first printer 30. doing. When the device control unit 51 detects that the host computer 10 is connected to the USB interface 40, the device control unit 51 sends the USB device information corresponding to the second printer 20 stored in the storage unit 54 to the USB client driver 52 in accordance with the prior setting. The USB client driver 52 notifies the host computer 10 of this USB device information. Thereby, the host computer 10 recognizes that the second printer 20 is connected to the USB_A connector 13 (FIG. 1). That is, the host computer 10 operates in the same manner as when it is connected to the second printer 20 via the USB cable 2A (FIG. 1) even though it is connected to the first printer 30 via the USB cable 2B. To do.

また、制御部31は、所定のデバイスドライバープログラムを実行することにより、USBドライバー53として機能する。USBドライバー53は、USBインターフェイス45に接続された機器に対し、USBホストコントローラー47を利用して、USB規格により規定されたホスト機器として動作し、デバイスの認識及びデバイスとの間の通信を可能とする。本実施形態では、USBドライバー53は、第2プリンター20に対応したデバイスドライバーであり、第2プリンター20に対応する印刷コマンドや印刷データを生成して出力する機能を有する。USBインターフェイス45に第2プリンター20が接続された場合、USBドライバー53は、第2プリンター20に対してデバイスクラスIDやデバイスIDを含むUSBデバイス情報の送信を要求し、この要求に応答して第2プリンター20が送信する情報を取得する。その後、USBドライバー53は、第2プリンター20との間の通信が可能な状態に移行する。この場合、第2プリンター20は、USBケーブル2A(図1)を介してホストコンピューター10に接続された場合と同様に動作する。   The control unit 31 functions as the USB driver 53 by executing a predetermined device driver program. The USB driver 53 operates as a host device defined by the USB standard using a USB host controller 47 for a device connected to the USB interface 45, and can recognize a device and communicate with the device. To do. In this embodiment, the USB driver 53 is a device driver corresponding to the second printer 20 and has a function of generating and outputting a print command and print data corresponding to the second printer 20. When the second printer 20 is connected to the USB interface 45, the USB driver 53 requests the second printer 20 to transmit USB device information including a device class ID and a device ID, and in response to this request, the second driver 20 2 Information transmitted by the printer 20 is acquired. Thereafter, the USB driver 53 shifts to a state where communication with the second printer 20 is possible. In this case, the second printer 20 operates in the same manner as when connected to the host computer 10 via the USB cable 2A (FIG. 1).

機器制御部51は、USBインターフェイス40に接続されたホストコンピューター10から印刷コマンド及び印刷データが出力された場合に、このコマンド及びデータを記憶部54に設けられた受信バッファー54Aに記憶する。
機器制御部51は、受信バッファー54Aに記憶したコマンド及びデータを印刷制御部55に出力するとともに、USBドライバー53によって第2プリンター20に出力する。これにより、ホストコンピューター10が送信したコマンドやデータが第2プリンター20に送信される。
第2プリンター20に対して、第1プリンター30はUSBインターフェイス45によりホストとして機能するので、第2プリンター20は、ホストから送信されたコマンドやデータを受信した場合と同様に、このコマンドやデータに従って動作する。言い換えれば、第2プリンター20は、USBインターフェイス21にUSBケーブル2Aによりホストコンピューター10が接続された場合と同様に、コマンドやデータを受信して印刷を実行する。
When a print command and print data are output from the host computer 10 connected to the USB interface 40, the device control unit 51 stores the command and data in a reception buffer 54A provided in the storage unit 54.
The device control unit 51 outputs the commands and data stored in the reception buffer 54 </ b> A to the print control unit 55 and outputs them to the second printer 20 by the USB driver 53. As a result, the command and data transmitted by the host computer 10 are transmitted to the second printer 20.
Since the first printer 30 functions as a host by the USB interface 45 with respect to the second printer 20, the second printer 20 follows the command and data in the same manner as when receiving the command and data transmitted from the host. Operate. In other words, the second printer 20 receives commands and data and executes printing in the same manner as when the host computer 10 is connected to the USB interface 21 via the USB cable 2A.

第1プリンター30は、第1プリンター印刷部60を制御する第1プリンター制御部32が搭載されたメイン基板36(印刷制御基板)と、このメイン基板36とは別に、第1プリンター30の本体に対して着脱可能に設けられたインターフェイス基板35を備えている。インターフェイス基板35には、制御部31、メモリー33、及びUSBインターフェイス40、45の各部が実装されている。インターフェイス基板35に実装された各部と、メイン基板36に実装された第1プリンター制御部32とは、第1プリンター30が内蔵する内部インターフェイス37を介して相互にデータ入出力可能に接続される。また、インターフェイス基板35上の各部に対し内部インターフェイス37を介して電力を供給してもよいし、インターフェイス基板35に外部電源が接続される構成としてインターフェイス基板35からメイン基板36に電力を供給してもよい。第1プリンター制御部32にはメモリー34が接続される。メモリー34はコマンドやデータを一時的に記憶する記憶部である。
第1プリンター印刷部60は、図2に示すように、印刷ヘッド61、搬送モーター62、及びカッターユニット63を備えている。第1プリンター印刷部60は、第1プリンター制御部32の制御に従って図示しないカット紙やロール紙等の印刷媒体を搬送モーター62により搬送し、印刷ヘッド61により文字や画像を印刷し、印刷後の印刷媒体をカッターユニット63によりカットして出力する。
The first printer 30 includes a main board 36 (printing control board) on which a first printer control unit 32 for controlling the first printer printing unit 60 is mounted, and a main substrate 36 separately from the main board 36. An interface board 35 is provided so as to be detachable from the interface board. On the interface board 35, the control unit 31, the memory 33, and the USB interfaces 40 and 45 are mounted. Each unit mounted on the interface board 35 and the first printer control unit 32 mounted on the main board 36 are connected to each other via an internal interface 37 built in the first printer 30 so that data can be input / output. Further, power may be supplied to each part on the interface board 35 via the internal interface 37, or power may be supplied from the interface board 35 to the main board 36 as an external power source is connected to the interface board 35. Also good. A memory 34 is connected to the first printer control unit 32. The memory 34 is a storage unit that temporarily stores commands and data.
As shown in FIG. 2, the first printer printing unit 60 includes a print head 61, a transport motor 62, and a cutter unit 63. The first printer printing unit 60 conveys a print medium such as cut paper or roll paper (not shown) by the conveyance motor 62 according to the control of the first printer control unit 32, prints characters and images by the print head 61, and performs printing after printing. The print medium is cut by the cutter unit 63 and output.

印刷制御部55(データ解析部)は、機器制御部51から入力されたコマンド及びデータに基づいて、第1プリンター30が印刷を行う条件に合致しているか否かを判定し、印刷する条件に合致する場合は、印刷コマンド及び印刷データを生成して、プリンタードライバー56に出力する。例えば、印刷制御部55は、ホストコンピューター10が送信した印刷データに、予め設定された特定の文字列が含まれていることを検出した場合に、その文字列に対応づけて予め記憶部54に記憶している印刷コマンド及び印刷データを、第1プリンター制御部32に出力する。具体的には、ホストコンピューター10がPOS端末として動作し、レシートを印刷させる印刷コマンド及び印刷データを送信した場合、印刷制御部55は、印刷データ中に予め設定された特定の商品名や商品区分のデータが含まれているか否かを判別する。そして、印刷データに該当する商品名や商品区分のデータが含まれている場合、印刷制御部55は、予め記憶しているクーポンを印刷させる印刷コマンド及び印刷データをプリンタードライバー56に出力する。プリンタードライバー56は、第1プリンター30が内蔵するメイン基板36及び第1プリンター印刷部60を動作させるデバイスドライバーであり、制御部31が所定のデバイスドライバープログラムを実行することにより実現される。
この動作により、ホストコンピューター10がレシート印刷のコマンド及びデータを送信した場合に、このコマンド及びデータに従って第2プリンター20がレシートの印刷を実行し、さらに、このレシートに関連するクーポンを第1プリンター30が印刷する。
The print control unit 55 (data analysis unit) determines whether or not the first printer 30 matches a printing condition based on the command and data input from the device control unit 51, and sets the printing condition. If they match, a print command and print data are generated and output to the printer driver 56. For example, when the print control unit 55 detects that the print data transmitted by the host computer 10 includes a specific character string set in advance, the print control unit 55 associates the print data with the character string in advance in the storage unit 54. The stored print command and print data are output to the first printer control unit 32. Specifically, when the host computer 10 operates as a POS terminal and transmits a print command and print data for printing a receipt, the print control unit 55 selects a specific product name or product category preset in the print data. It is determined whether or not the data is included. If the print data includes product name or product category data, the print control unit 55 outputs a print command and print data for printing a coupon stored in advance to the printer driver 56. The printer driver 56 is a device driver that operates the main board 36 and the first printer printing unit 60 built in the first printer 30, and is realized by the control unit 31 executing a predetermined device driver program.
With this operation, when the host computer 10 transmits a receipt printing command and data, the second printer 20 prints the receipt according to the command and data, and further, the coupon associated with the receipt is given to the first printer 30. Prints.

また、ホストコンピューター10及び第2プリンター20は、USBケーブル2Aにより相互に直接接続された場合と同じ動作を実行すればよく、ホストコンピューター10で動作するアプリケーションプログラムやデバイスドライバープログラムの変更や、第2プリンター20の動作条件の変更等を行うことなく、ホストコンピューター10と第2プリンター20との間に第1プリンター30を設置できる。そして、ホストコンピューター10及び第2プリンター20の構成を変更することなく、印刷されるレシートに関連するクーポンを第1プリンター30によって印刷することができ、かつ、第2プリンター20によるレシート印刷も同じように行うことができる。   Further, the host computer 10 and the second printer 20 need only perform the same operations as when directly connected to each other by the USB cable 2A, change application programs and device driver programs that operate on the host computer 10, The first printer 30 can be installed between the host computer 10 and the second printer 20 without changing the operating conditions of the printer 20. The coupon related to the printed receipt can be printed by the first printer 30 without changing the configuration of the host computer 10 and the second printer 20, and the receipt printing by the second printer 20 is the same. Can be done.

図3は、印刷システム1の各部の動作を示すシーケンス図であり、(A)はホストコンピューター10の動作を示し、(B)は第1プリンター30の動作を示す。この図3の動作はホストコンピューター10と第1プリンター30とをUSBケーブル2Bにより接続した場合に実行される。
ホストコンピューター10は、USB_Aコネクター13に何らかの機器が接続されたことを検出すると(ステップS11)、接続先の機器に対してホスト機器として動作し、USBデバイス情報を要求する(ステップS12)。一方、第1プリンター30の機器制御部51は、USBインターフェイス40に何らかの機器が接続されたことを検出すると、デバイス機器として動作する。機器制御部51は、ホストコンピューター10が送信したUSBデバイス情報の要求を受信し(ステップS21)、デバイス情報記憶部54Bに記憶している第2プリンター20のUSBデバイス情報を読み出して、ホストコンピューター10に送信する(ステップS23)。ホストコンピューター10は、第1プリンター30から送信されたUSBデバイス情報を受信し(ステップS13)、受信したUSBデバイス情報に対応するデバイスドライバープログラムをデバイスドライバー実行部11Bにより実行する(ステップS14)。その後、ホストコンピューター10及び第1プリンター30は、USBケーブル2Bを介して相互に通信設定を行い(ステップS15、S24)、コマンドやデータを通信可能な状態に移行する。この図3の動作の後、ホストコンピューター10は、USBケーブル2Bを介して接続された相手側の機器を第2プリンター20として認識する。
FIG. 3 is a sequence diagram showing the operation of each part of the printing system 1, (A) shows the operation of the host computer 10, and (B) shows the operation of the first printer 30. The operation of FIG. 3 is executed when the host computer 10 and the first printer 30 are connected by the USB cable 2B.
When the host computer 10 detects that any device is connected to the USB_A connector 13 (step S11), it operates as a host device with respect to the connected device, and requests USB device information (step S12). On the other hand, when the device control unit 51 of the first printer 30 detects that any device is connected to the USB interface 40, it operates as a device device. The device control unit 51 receives the request for the USB device information transmitted from the host computer 10 (step S21), reads the USB device information of the second printer 20 stored in the device information storage unit 54B, and reads the host computer 10 (Step S23). The host computer 10 receives the USB device information transmitted from the first printer 30 (step S13), and the device driver execution unit 11B executes the device driver program corresponding to the received USB device information (step S14). Thereafter, the host computer 10 and the first printer 30 perform communication settings with each other via the USB cable 2B (steps S15 and S24), and shift to a state where commands and data can be communicated. After the operation in FIG. 3, the host computer 10 recognizes the counterpart device connected via the USB cable 2 </ b> B as the second printer 20.

図4は、印刷システム1の各部の動作を示すシーケンス図であり、(A)はホストコンピューター10の動作を示し、(B)は第1プリンター30の動作を示し、(C)は第2プリンター20の動作を示す。図4の動作は、図3の動作の後に実行される。
ホストコンピューター10は、アプリケーション実行部11Aの動作により文書等が作成され、印刷指示が出力されると(ステップS31)、この印刷指示に基づいてデバイスドライバー実行部11Bが第2プリンター20を動作させる印刷コマンドと印刷データを生成し(ステップS32)、生成した印刷コマンド及び印刷データをUSBインターフェイス12から送信する(ステップS33)。
FIG. 4 is a sequence diagram showing the operation of each part of the printing system 1, (A) shows the operation of the host computer 10, (B) shows the operation of the first printer 30, and (C) shows the second printer. 20 operations are shown. The operation of FIG. 4 is executed after the operation of FIG.
When the host computer 10 creates a document or the like by the operation of the application execution unit 11A and outputs a print instruction (step S31), the device driver execution unit 11B performs printing for operating the second printer 20 based on the print instruction. A command and print data are generated (step S32), and the generated print command and print data are transmitted from the USB interface 12 (step S33).

ホストコンピューター10が送信した印刷コマンド及び印刷データは、第1プリンター30がUSBインターフェイス40によって受信する(ステップS41)。機器制御部51は、USBインターフェイス40により受信した印刷コマンドと印刷データを受信バッファー54Aに記憶し、この印刷コマンドと印刷データとをUSBインターフェイス45から送信する(ステップS42)。また、機器制御部51は受信バッファー54Aに記憶したコマンドとデータを印刷制御部55に出力する。
ここで、印刷制御部55は、メモリー33に記憶した印刷データを解析する(ステップS43)。印刷制御部55は、解析した印刷データに対応するクーポン印刷のデータを取得し(ステップS44)、取得したデータをプリンタードライバー56に出力する。プリンタードライバー56は、クーポン印刷のデータを、内部インターフェイス37を介して第1プリンター制御部32に出力し、第1プリンター制御部32の制御によりクーポンが印刷される(ステップS45)。
その後、印刷制御部55は、第2プリンター20として印刷完了通知を生成し、ホストコンピューター10に送信する(ステップS46)。ホストコンピューター10は、第1プリンター30から送信された印刷完了通知を、第2プリンター20の印刷完了通知として受信し(ステップS34)、印刷が完了したことに基づき本処理を終了する。
The print command and print data transmitted by the host computer 10 are received by the first printer 30 through the USB interface 40 (step S41). The device control unit 51 stores the print command and print data received by the USB interface 40 in the reception buffer 54A, and transmits the print command and print data from the USB interface 45 (step S42). In addition, the device control unit 51 outputs the command and data stored in the reception buffer 54 </ b> A to the print control unit 55.
Here, the print control unit 55 analyzes the print data stored in the memory 33 (step S43). The print control unit 55 acquires coupon print data corresponding to the analyzed print data (step S44), and outputs the acquired data to the printer driver 56. The printer driver 56 outputs coupon printing data to the first printer control unit 32 via the internal interface 37, and the coupon is printed under the control of the first printer control unit 32 (step S45).
Thereafter, the print control unit 55 generates a print completion notification as the second printer 20 and transmits it to the host computer 10 (step S46). The host computer 10 receives the print completion notification transmitted from the first printer 30 as the print completion notification of the second printer 20 (step S34), and ends this processing based on the completion of printing.

一方、第2プリンター20は、第1プリンター30が送信した印刷コマンド及び印刷データを受信し(ステップS51)、受信した印刷コマンド及び印刷データに従って、第2プリンター制御部27の制御によりレシートを印刷する(ステップS42)。   On the other hand, the second printer 20 receives the print command and print data transmitted by the first printer 30 (step S51), and prints a receipt under the control of the second printer control unit 27 in accordance with the received print command and print data. (Step S42).

以上説明したように、本発明を適用した実施形態に係る印刷システム1を構成する第1プリンター30は、ホストコンピューター10に接続され、第1プリンター印刷部60と、ホストコンピューター10の種別を含むUSBデバイス情報、及び、異なる印刷装置である第2プリンター20に対応するUSBデバイス情報を記憶するデバイス情報記憶部54Bと、ホストコンピューター10が接続されるUSBインターフェイス40と、USBインターフェイス40にホストコンピューター10が接続された場合に、ホストコンピューター10に対して、第2プリンター20のUSBデバイス情報を出力する機器制御部51と、を備えている。第1プリンター30は、第2プリンター20に対応するUSBデバイス情報をホストコンピューター10に出力して、ホストコンピューター10に第2プリンター20が接続されたと認識させることができる。このため、ホストコンピューター10の構成を変更することなく、ホストコンピューター10に接続されるプリンターを、第2プリンター20から第1プリンター30に変更できる。   As described above, the first printer 30 constituting the printing system 1 according to the embodiment to which the present invention is applied is connected to the host computer 10 and includes the first printer printing unit 60 and the USB including the type of the host computer 10. A device information storage unit 54B that stores device information and USB device information corresponding to the second printer 20 that is a different printing apparatus, a USB interface 40 to which the host computer 10 is connected, and the host computer 10 to the USB interface 40 And a device control unit 51 that outputs USB device information of the second printer 20 to the host computer 10 when connected. The first printer 30 can output USB device information corresponding to the second printer 20 to the host computer 10 so that the host computer 10 can recognize that the second printer 20 is connected. Therefore, the printer connected to the host computer 10 can be changed from the second printer 20 to the first printer 30 without changing the configuration of the host computer 10.

また、機器制御部51は、ホストコンピューター10が第2プリンター20用の印刷コマンド及び印刷データを出力した場合に、このコマンド及びデータをUSBインターフェイス45から第2プリンター20に出力するので、第2プリンター20によって、ホストコンピューター10が出力したデータを印刷できる。   In addition, when the host computer 10 outputs a print command and print data for the second printer 20, the device control unit 51 outputs the command and data from the USB interface 45 to the second printer 20, so that the second printer 20, the data output from the host computer 10 can be printed.

そして、印刷システム1は、データを出力するホストコンピューター10と、印刷を行う第1プリンター印刷部60、及びホストコンピューター10と接続する接続部を有する第1プリンター30と、第1プリンター30と接続して通信を行うUSBインターフェイス21、印刷を行う第2プリンター印刷部28を有する第2プリンター20と、を備え、第1プリンター30は、第1プリンター30の種別を含むUSBデバイス情報及び第2プリンター20の種別を含むUSBデバイス情報を記憶するデバイス情報記憶部54Bを有し、ホストコンピューター10が第1プリンター30にUSBデバイス情報を要求したときに、デバイス情報記憶部54Bに記憶された第2プリンター20のUSBデバイス情報をホストコンピューター10に送信する。ホストコンピューター10に接続される第1プリンター30がホストコンピューター10に対して第2プリンター20のUSBデバイス情報を出力するので、ホストコンピューター10には第2プリンター20として認識させることができる。このため、ホストコンピューター10の構成を変更することなく、第2プリンター20に対応しているホストコンピューター10に、第1プリンター30を接続できる。従って、ホストコンピューター10と印刷装置とが接続されたシステムにおいて、ホストコンピューター10の構成を変更することなく印刷装置に係る構成を変更できる。   The printing system 1 is connected to the first printer 30, the host computer 10 that outputs data, the first printer printing unit 60 that performs printing, and the first printer 30 that has a connection unit that connects to the host computer 10. A USB interface 21 that performs communication and a second printer 20 that includes a second printer printing unit 28 that performs printing. The first printer 30 includes USB device information including the type of the first printer 30 and the second printer 20. The second printer 20 has a device information storage unit 54B for storing USB device information including the type of the second printer 20 stored in the device information storage unit 54B when the host computer 10 requests the USB device information from the first printer 30. USB device information to the host computer 10 To trust. Since the first printer 30 connected to the host computer 10 outputs the USB device information of the second printer 20 to the host computer 10, the host computer 10 can recognize the second printer 20. Therefore, the first printer 30 can be connected to the host computer 10 corresponding to the second printer 20 without changing the configuration of the host computer 10. Therefore, in a system in which the host computer 10 and the printing apparatus are connected, the configuration related to the printing apparatus can be changed without changing the configuration of the host computer 10.

なお、上記各実施形態は本発明を適用した一態様を示すものであって、本発明を限定するものではない。例えば、上記実施形態においては、第1プリンター30が備えるUSBインターフェイス40にホストコンピューター10が接続され、USBインターフェイス45に第2プリンター20が接続された構成を例に挙げて説明したが、本発明はこれに限定されるものではない。例えば、USBインターフェイス40に接続される装置はホストとして動作するものであれば特に制限されず、例えばUSBホストコントローラーを備えた携帯型の端末装置や他のプリンター等であってもよい。また、USBインターフェイス45に接続される装置はデバイスとして動作する装置であれば特に制限はなく、プリンターの他、他の入出力デバイスであってもよい。
また、上記実施形態では第2プリンター20が備える第2プリンター印刷部28及び第1プリンター30が備える第1プリンター印刷部60について、カット紙やロール紙に印刷する構成を例に挙げて説明したが、その具体的な構成は限定されず、例えば、サーマルプリンター、インクジェットプリンター、ドットインパクト式プリンター、レーザープリンター、その他の各種プリンターとしてもよい。さらに、図1及び図2に示す各機能ブロックはハードウェアとソフトウェアの協働により任意に実現でき、特定のハードウェア構成を示唆するものではない。さらに、これらの各部は外部接続される記憶媒体に記憶させたプログラムを実行することにより、図4のフローチャートに係る動作を含む各種動作を実行する構成としてもよい。
また、USBインターフェイス40とUSBインターフェイス45とは別個のハードウェアとして実現される場合に限定されず、例えば、USBデバイスコントローラー42とUSBホストコントローラー47との機能を兼ね備えた一つのハードウェアに、USB_Bコネクター41及びUSB_Aコネクター46を接続して構成することも勿論可能である。
Each of the above embodiments shows one aspect to which the present invention is applied, and does not limit the present invention. For example, in the above-described embodiment, the configuration in which the host computer 10 is connected to the USB interface 40 included in the first printer 30 and the second printer 20 is connected to the USB interface 45 has been described as an example. It is not limited to this. For example, the device connected to the USB interface 40 is not particularly limited as long as it operates as a host, and may be a portable terminal device equipped with a USB host controller, another printer, or the like. The device connected to the USB interface 45 is not particularly limited as long as it is a device that operates as a device, and may be another input / output device in addition to a printer.
In the above-described embodiment, the second printer printing unit 28 included in the second printer 20 and the first printer printing unit 60 included in the first printer 30 have been described by taking the configuration of printing on cut paper or roll paper as an example. The specific configuration is not limited, and for example, a thermal printer, an inkjet printer, a dot impact printer, a laser printer, and other various printers may be used. Furthermore, 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. Furthermore, each of these units may be configured to execute various operations including the operation according to the flowchart of FIG. 4 by executing a program stored in an externally connected storage medium.
In addition, the USB interface 40 and the USB interface 45 are not limited to being realized as separate hardware. For example, the USB_B connector is combined with one piece of hardware having the functions of the USB device controller 42 and the USB host controller 47. Of course, it is possible to connect 41 and the USB_A connector 46.

1…印刷システム、2A、2B、2C…USBケーブル、10…ホストコンピューター(ホスト装置)、11…制御部、12…USBインターフェイス、20…第2プリンター(印刷装置、第2印刷装置)、21…USBインターフェイス(通信部)、27…第2プリンター制御部、28…第2プリンター印刷部(第2印刷部)、30…第1プリンター(印刷装置、第1印刷装置)、40…USBインターフェイス(接続部)、45…USBインターフェイス(機器接続部)、51…機器制御部(制御部)、54…記憶部、54A…受信バッファー(印刷データ記憶部)、54B…デバイス情報記憶部(記憶部)、55…印刷制御部(データ解析部)、60…第1プリンター印刷部(印刷部、第1印刷部)。   DESCRIPTION OF SYMBOLS 1 ... Printing system, 2A, 2B, 2C ... USB cable, 10 ... Host computer (host apparatus), 11 ... Control part, 12 ... USB interface, 20 ... 2nd printer (printing apparatus, 2nd printing apparatus), 21 ... USB interface (communication unit), 27 ... second printer control unit, 28 ... second printer printing unit (second printing unit), 30 ... first printer (printing device, first printing device), 40 ... USB interface (connection) Part), 45 ... USB interface (device connection part), 51 ... equipment control part (control part), 54 ... storage part, 54A ... reception buffer (print data storage part), 54B ... device information storage part (storage part), 55... Print control unit (data analysis unit), 60... First printer printing unit (printing unit, first printing unit).

Claims (14)

ホスト装置および第2印刷装置と接続可能な印刷装置であって
前記印刷装置の種別を含む第1装置情報及び、前記第2印刷装置の種別を含む第2装置情報を記憶する記憶部と、
記ホスト装置が接続された場合に、前記記憶部で記憶する前記第1装置情報ではなく、前記第2装置情報を前記ホスト装置に送信する制御部と、
を備えたことを特徴とする印刷装置。
A printing device connectable to a host device and a second printing device ,
First apparatus information including a type of the printing apparatus, and a storage unit for storing the second device information including the type of the second printing unit,
If the previous SL host device is connected, instead of the first device information stored in the storage unit, and a control unit for transmitting the second device information to the host device,
A printing apparatus comprising:
前記第2印刷装置に接続されて、前記第2印刷装置で処理されるデータを前記ホスト装置が出力した場合に前記データを出力する機器接続部を有する請求項1記載の印刷装置。 The printing apparatus according to claim 1, further comprising: a device connection unit that is connected to the second printing apparatus and outputs the data when the host apparatus outputs data to be processed by the second printing apparatus. 前記機器接続部に前記印刷装置とは異なる機器が接続された場合に、接続された前記機器から前記第2印刷装置の種別を含む第2装置情報を取得する請求項2記載の印刷装置。 Wherein if it is different equipment connected to the printing apparatus to the device connecting part, connected printing apparatus according to claim 2, wherein acquiring the second apparatus information including the type of the second printing device from the device. データを出力するホスト装置と、
記ホスト装置と接続する第1印刷装置と、
前記第1印刷装置と接続可能な第2印刷装置と、を備え、
前記第1印刷装置は、
前記第1印刷装置の種別を含む第1装置情報及び前記第2印刷装置の種別を含む第2装置情報を記憶する記憶部を有し、
前記ホスト装置が前記第1印刷装置に装置情報を要求したときに、前記記憶部に記憶された前記第1装置情報ではなく、前記第2装置情報を前記ホスト装置に送信することを特徴とする印刷システム。
A host device that outputs data;
A first printing device to connect the front Symbol host device,
And a second printing device that can be connected to the first printing device,
The first printing apparatus includes:
A storage unit that stores first device information including a type of the first printing device and second device information including a type of the second printing device;
When the host device requests device information from the first printing device, the second device information is transmitted to the host device instead of the first device information stored in the storage unit. Printing system.
前記ホスト装置は、前記第2印刷装置で処理される印刷データを前記第1印刷装置に送信し、
前記第1印刷装置は、前記ホスト装置から送信された前記印刷データを受信し、受信した前記印刷データを前記第2印刷装置に送信し、
前記第2印刷装置は、前記第1印刷装置から送信された前記印刷データを受信し、受信した前記印刷データを印刷する請求項4に記載の印刷システム。
The host device transmits the print data to be processed by the second printing device to the first printing equipment,
The first printing device receives the print data transmitted from the host device, transmits the received print data to the second printing device,
The second printing apparatus, a printing system according to claim 4, wherein the first receives the print data transmitted from the printing apparatus to print the print data received.
前記第1印刷装置は、前記ホスト装置から送信された印刷データを解析するデータ解析部と、
予め定められた情報及び前記予め定められた情報に対応する印刷データを記憶する印刷データ記憶部と、を有し、
前記データ解析部は、前記印刷データに前記予め定められた情報が含まれているか否かを判別し、前記予め定められた情報が含まれている場合、前記予め定められた情報に対応する印刷データを印刷する請求項4または5に記載の印刷システム。
The first printing device includes a data analysis unit that analyzes print data transmitted from the host device;
A print data storage unit for storing predetermined information and print data corresponding to the predetermined information;
The data analyzing unit, the determines whether contains predetermined information to the print data, if the contains predetermined information, corresponding to the previous SL predetermined information The printing system according to claim 4 or 5, wherein the printing data is printed.
前記第1印刷装置は、前記第2印刷装置が接続された場合に、前記第2印刷装置の種別を含む第2装置情報を取得する請求項4乃至6のいずれか1項に記載の印刷システム。   The printing system according to any one of claims 4 to 6, wherein the first printing device acquires second device information including a type of the second printing device when the second printing device is connected. . 前記ホスト装置は、決済情報を処理するPOS端末であり、
前記第2印刷装置は、前記POS端末から送信された前記決済情報に係るレシートを印刷する請求項4乃至7のいずれか1項に記載の印刷システム。
The host device is a POS terminal that processes payment information;
The printing system according to claim 4, wherein the second printing apparatus prints a receipt related to the settlement information transmitted from the POS terminal.
前記ホスト装置は、  The host device is
前記第1印刷装置および前記第2印刷装置を接続可能な外部インターフェイス、及び、デバイスドライバーを実行するデバイスドライバー実行部を備え、  An external interface capable of connecting the first printing device and the second printing device, and a device driver execution unit for executing a device driver;
前記外部インターフェイスに機器が接続されたことを検出すると、接続された機器に対して装置情報を要求し、この要求に応じて前記外部インターフェイスにより前記第2装置情報を受信した場合に、前記外部インターフェイスに接続された機器が前記第2印刷装置であると認識して、前記デバイスドライバー実行部により前記デバイスドライバーを実行し、  When it is detected that a device is connected to the external interface, device information is requested from the connected device, and when the second device information is received by the external interface in response to the request, the external interface Recognizing that the device connected to the second printing apparatus is the device driver execution unit to execute the device driver,
前記デバイスドライバー実行部によって前記第2印刷装置を動作させる印刷指示及び印刷データを生成して、前記外部インターフェイスから出力する請求項4乃至8のいずれか1項に記載の印刷システム。  The printing system according to claim 4, wherein the device driver execution unit generates a print instruction and print data for operating the second printing apparatus, and outputs the print instruction and print data from the external interface.
ホスト装置および第2印刷装置と接続可能な第1印刷装置であって、前記第1印刷装置の種別を含む第1装置情報、及び、第2印刷装置の種別を含む第2装置情報を記憶する記憶部を有する前記第1印刷装置に、前記ホスト装置が接続された後、前記ホスト装置は前記第1印刷装置に印刷装置の種別を含む装置情報を要求し、
前記装置情報を要求された前記第1印刷装置は、前記記憶部で記憶する前記第1装置情報ではなく、前記第2装置情報を前記ホスト装置に送信し、
前記ホスト装置は、前記第2印刷装置で処理される印刷データを送信し、
前記第1印刷装置は、前記印刷データを前記第1印刷装置に接続された前記第2印刷装置に送信し、
前記第2印刷装置は、前記印刷データを印刷することを特徴とする印刷方法。
A first printing device that can be connected to a host device and a second printing device, and stores first device information including a type of the first printing device and second device information including a type of the second printing device. the first printing apparatus having a storage unit, wherein after the host equipment is connected, the host device requests the device information including the type of the printing device to the first printing device,
The first printing apparatus requested for the apparatus information transmits the second apparatus information to the host apparatus instead of the first apparatus information stored in the storage unit ,
The host device transmits print data to be processed by the second printing device;
The first printing device transmits the print data to the second printing device connected to the first printing device;
The printing method, wherein the second printing apparatus prints the print data.
前記ホスト装置は、前記第2印刷装置で処理される印刷データを前記第1印刷装置に送信し、
前記第1印刷装置は、前記ホスト装置から送信された前記印刷データを受信し、受信した前記印刷データを前記第2印刷装置に送信し、
前記第2印刷装置は、前記第1印刷装置から送信された前記印刷データを受信し、受信した前記印刷データを印刷する請求項10に記載の印刷方法。
The host device transmits the print data to be processed by the second printing device to the first printing equipment,
The first printing device receives the print data transmitted from the host device, transmits the received print data to the second printing device,
The second printing apparatus, printing method according to claim 10, wherein the first receives the print data transmitted from the printing apparatus to print the print data received.
前記第1印刷装置は、前記ホスト装置から送信された印刷データを解析し、
予め定められた情報及び前記予め定められた情報に対応する印刷データを記憶し、
前記印刷データの解析は、前記印刷データに前記予め定められた情報が含まれているか否かを判別し、前記予め定められた情報が含まれている場合、前記予め定められた情報に対応する印刷データを印刷する請求項10または11に記載の印刷方法。
The first printing device analyzes print data transmitted from the host device,
Storing predetermined information and print data corresponding to the predetermined information;
The analysis of the print data determines whether or not the predetermined information is included in the print data, and corresponds to the predetermined information when the predetermined information is included. The printing method according to claim 10 or 11 , wherein print data is printed.
前記第1印刷装置は、前記第2印刷装置が接続された場合に、前記第2印刷装置の種別を含む第2装置情報を取得する請求項10乃至12のいずれか1項に記載の印刷方法。 The printing method according to any one of claims 10 to 12 , wherein the first printing device acquires second device information including a type of the second printing device when the second printing device is connected. . 前記ホスト装置は、決済情報を処理するPOS端末であり、
前記第2印刷装置は、前記POS端末から送信された前記決済情報に係るレシートを印刷する請求項10乃至13のいずれか1項に記載の印刷方法。
The host device is a POS terminal that processes payment information;
The second printing apparatus, printing method according to any one of claims 10 to 13 for printing a receipt according to the payment information transmitted from the POS terminal.
JP2013046461A 2012-07-19 2013-03-08 Printing apparatus, printing system, and printing method Expired - Fee Related JP6131640B2 (en)

Priority Applications (11)

Application Number Priority Date Filing Date Title
JP2013046461A JP6131640B2 (en) 2013-03-08 2013-03-08 Printing apparatus, printing system, and printing method
US13/933,771 US20140022576A1 (en) 2012-07-19 2013-07-02 Printing Device, Printing System, and Printing Method
CN201310280980.0A CN103568606B (en) 2012-07-20 2013-07-05 Printing equipment, print system and printing process
EP13176234.6A EP2687976A3 (en) 2012-07-20 2013-07-12 Printing device, printing system and printing method
EP13176774.1A EP2687978A3 (en) 2012-07-19 2013-07-17 Printing device, printing system, and printing method
CN201310301222.2A CN103577127B (en) 2012-07-19 2013-07-17 Printing equipment, print system and printing process
KR1020130084648A KR101446436B1 (en) 2012-07-19 2013-07-18 Printing device, printing system and printing method
US13/946,211 US9030685B2 (en) 2012-07-20 2013-07-19 Printing device, printing system, and printing method
CN201310394993.0A CN103692766B (en) 2012-09-27 2013-09-03 Print system, printing equipment and printing process
US14/018,538 US9156279B2 (en) 2012-09-27 2013-09-05 Printing system, printing device, and printing method
EP13184221.3A EP2713264A3 (en) 2012-09-27 2013-09-13 Printing system, printing device, and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013046461A JP6131640B2 (en) 2013-03-08 2013-03-08 Printing apparatus, printing system, and printing method

Publications (3)

Publication Number Publication Date
JP2014172270A JP2014172270A (en) 2014-09-22
JP2014172270A5 JP2014172270A5 (en) 2016-01-14
JP6131640B2 true JP6131640B2 (en) 2017-05-24

Family

ID=51694038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013046461A Expired - Fee Related JP6131640B2 (en) 2012-07-19 2013-03-08 Printing apparatus, printing system, and printing method

Country Status (1)

Country Link
JP (1) JP6131640B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004351793A (en) * 2003-05-29 2004-12-16 Seiko Epson Corp Image output unit, image output system, and image output method
JP2006347025A (en) * 2005-06-16 2006-12-28 Seiko Epson Corp Image forming apparatus, printing method and program
JP2007283628A (en) * 2006-04-17 2007-11-01 Fuji Xerox Co Ltd Printing system, printer and control method thereof
JP2008176574A (en) * 2007-01-18 2008-07-31 Star Micronics Co Ltd Image processing system, method for controlling image processing system, instruction data supply device, method for cotrolling instruction data supply device, and program
JP2009157474A (en) * 2007-12-25 2009-07-16 Toshiba Tec Corp Merchandise sales data processor
JP5272897B2 (en) * 2008-07-29 2013-08-28 セイコーエプソン株式会社 Printing apparatus, printing apparatus control method, and control program
JP2012053729A (en) * 2010-09-02 2012-03-15 Seiko Epson Corp Coupon issuing printer, coupon issuing method with printer, and program

Also Published As

Publication number Publication date
JP2014172270A (en) 2014-09-22

Similar Documents

Publication Publication Date Title
KR101446436B1 (en) Printing device, printing system and printing method
JP2006309351A5 (en)
US9030685B2 (en) Printing device, printing system, and printing method
JP5031539B2 (en) Printing system, printing apparatus and printing method
US10459673B2 (en) Print control device, print system, and print control method
JP2019046075A (en) Program and printing system
WO2014156120A1 (en) Printing device, printing system, and printing system control method
JP2015195038A (en) Electronic device, electronic device control method and program
JP6131640B2 (en) Printing apparatus, printing system, and printing method
JP5939064B2 (en) Printing apparatus and printing system
JP6520278B2 (en) PRINT CONTROL DEVICE, PRINT SYSTEM, AND PRINT CONTROL METHOD
JP2014019088A (en) Printing apparatus and printing system
JP4949127B2 (en) Printing device, network printing system
JP2015014917A (en) Electronic apparatus, printing system, and control method of printing system
JP2016128215A (en) Printer and control method of the same
JP6217239B2 (en) Medium processing apparatus, medium processing system, and method for controlling medium processing apparatus
KR101219427B1 (en) Image forming apparatus, host apparatus and image processing method thereof
WO2020122134A1 (en) Printer system, printer setting method, printer, printer control program, printer setting device, and control program for printer setting device
JP6265053B2 (en) Printing control apparatus, printing system, and printing control method
JP2012185702A (en) System, device control apparatus, control method, and program
JP2011065375A (en) Printing system, printer, and printing method
JP2008046859A (en) Communication processor, communication processing method, and its program
JP2008080606A (en) Printing device and control method of printing device
JP2015064903A (en) Network system, client terminal, printer, and control method of client terminal
KR20070044708A (en) Apparatus and method of processing configuration information in image forming device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151120

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151120

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161027

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: 20170321

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170403

R150 Certificate of patent or registration of utility model

Ref document number: 6131640

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees