JP6331337B2 - Print control system and printing apparatus - Google Patents

Print control system and printing apparatus Download PDF

Info

Publication number
JP6331337B2
JP6331337B2 JP2013227827A JP2013227827A JP6331337B2 JP 6331337 B2 JP6331337 B2 JP 6331337B2 JP 2013227827 A JP2013227827 A JP 2013227827A JP 2013227827 A JP2013227827 A JP 2013227827A JP 6331337 B2 JP6331337 B2 JP 6331337B2
Authority
JP
Japan
Prior art keywords
printing
communication
printing apparatus
unit
control
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.)
Active
Application number
JP2013227827A
Other languages
Japanese (ja)
Other versions
JP2015088077A5 (en
JP2015088077A (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 JP2013227827A priority Critical patent/JP6331337B2/en
Priority to IN2931DE2014 priority patent/IN2014DE02931A/en
Priority to CA2868692A priority patent/CA2868692C/en
Priority to CN201410589906.1A priority patent/CN104615389B/en
Priority to US14/527,614 priority patent/US9195418B2/en
Priority to TW103137481A priority patent/TWI569981B/en
Priority to EP14190997.8A priority patent/EP2869187B1/en
Priority to KR1020140149340A priority patent/KR101630280B1/en
Priority to BR102014027344A priority patent/BR102014027344A2/en
Publication of JP2015088077A publication Critical patent/JP2015088077A/en
Priority to US14/885,658 priority patent/US9542133B2/en
Priority to US15/363,457 priority patent/US10091388B2/en
Publication of JP2015088077A5 publication Critical patent/JP2015088077A5/ja
Application granted granted Critical
Publication of JP6331337B2 publication Critical patent/JP6331337B2/en
Active 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 control system including a printing control apparatus and a printing apparatus, and a printing apparatus.

従来、印刷制御装置の制御の下、印刷装置によって印刷媒体に印刷し、レシートを発行する印刷制御システムが知られている(例えば、特許文献1参照)。この種の印刷制御システムでは、印刷装置と、印刷制御装置とがネットワークを介して接続され、当該ネットワークを介して通信する。   2. Description of the Related Art Conventionally, a print control system that prints on a print medium by a printing apparatus and issues a receipt under the control of the printing control apparatus is known (see, for example, Patent Document 1). In this type of print control system, a printing apparatus and a print control apparatus are connected via a network and communicate via the network.

特開2011−108097号公報JP 2011-108097 A

上述した印刷制御システムのように、印刷装置と印刷制御装置とがネットワークを介して通信するシステムを構築する場合、システム、及び、印刷装置を、印刷機能を有する印刷装置と印刷制御装置とがネットワークを介して通信する構成に対応させる必要がある。
本発明は、上述した事情に鑑みてなされたものであり、印刷装置と印刷制御装置とがネットワークを介して通信する印刷制御システムに関し、印刷制御システム、及び、印刷装置を、装置間がネットワークを介して通信する構成に対応させることを目的とする。
In the case of constructing a system in which a printing apparatus and a printing control apparatus communicate via a network like the above-described printing control system, the system and the printing apparatus are connected to a printing apparatus having a printing function and the printing control apparatus. It is necessary to correspond to the configuration that communicates through the network.
The present invention has been made in view of the above-described circumstances, and relates to a printing control system in which a printing apparatus and a printing control apparatus communicate via a network, and relates to a printing control system and a printing apparatus. It aims at making it respond | correspond to the structure which communicates via.

上記目的を達成するために、本発明の印刷制御システムは、制御データを送信する印刷制御装置と、印刷を行う印刷部、非同期の双方向通信を行う通信経路で前記印刷制御装置と通信する通信制御部、及び前記通信経路で前記印刷制御装置が送信した前記制御データに基づいて前記印刷部を制御する印刷制御部を有する印刷装置と、を備えることを特徴とする。
本発明の構成によれば、印刷制御システムにおいて、印刷制御装置と、印刷装置とが非同期の双方向通信を行う通信経路で通信する。このため、印刷制御装置は任意のタイミングで通信経路により印刷装置にデータを送信でき、また、印刷装置は任意のタイミングで印刷制御装置にデータを送信できる。従って、印刷制御装置は、印刷装置に印刷させるトリガーが発生したときに、通信経路により制御データを印刷装置に送信し、制御データに基づく印刷を印刷装置に実行させることができ、また、印刷装置は、印刷結果を示すデータや、各種データを必要に応じて印刷制御装置に送信し、データに基づく処理を印刷制御装置に実行させることができる。つまり、上記構成によれば、印刷制御システムを、印刷装置と、印刷制御装置とがネットワークを介して通信する構成に対応させることができる。
In order to achieve the above object, a print control system of the present invention includes a print control apparatus that transmits control data, a printing unit that performs printing, and communication that communicates with the print control apparatus via a communication path that performs asynchronous bidirectional communication. And a printing device having a printing control unit that controls the printing unit based on the control data transmitted by the printing control device via the communication path.
According to the configuration of the present invention, in the print control system, the print control apparatus and the printing apparatus communicate with each other through a communication path that performs asynchronous bidirectional communication. For this reason, the printing control apparatus can transmit data to the printing apparatus through a communication path at an arbitrary timing, and the printing apparatus can transmit data to the printing control apparatus at an arbitrary timing. Therefore, the print control apparatus can transmit control data to the printing apparatus through the communication path when a trigger for causing the printing apparatus to print is generated, and can cause the printing apparatus to execute printing based on the control data. Can transmit data indicating the print result and various data to the print control apparatus as necessary, and cause the print control apparatus to execute processing based on the data. That is, according to the above configuration, the print control system can correspond to a configuration in which the printing apparatus and the print control apparatus communicate via the network.

また、前記非同期の双方向通信は、WebSocket通信である。
本発明の構成によれば、印刷制御装置と、印刷装置との間で、WebSocket通信により、非同期の双方向通信を実行できる。
The asynchronous bidirectional communication is WebSocket communication.
According to the configuration of the present invention, asynchronous two-way communication can be performed between the print control apparatus and the printing apparatus by WebSocket communication.

また、前記印刷装置は、前記印刷制御装置のアドレスを示すアドレス情報を記憶する記憶部を有し、前記印刷装置の前記通信制御部は、前記記憶部が記憶する前記アドレス情報に基づいて前記印刷制御装置との間で前記通信経路を確立する。
本発明の構成によれば、印刷装置は、記憶部が記憶する印刷制御装置のアドレスを示すアドレス情報に基づいて、通信経路の確立を実行できる。
The printing apparatus includes a storage unit that stores address information indicating an address of the print control apparatus, and the communication control unit of the printing apparatus performs the printing based on the address information stored in the storage unit. The communication path is established with the control device.
According to the configuration of the present invention, the printing apparatus can establish the communication path based on the address information indicating the address of the printing control apparatus stored in the storage unit.

また、前記通信制御部は、電源投入時に前記通信経路の確立を行う。
本発明の構成によれば、電源投入時に、印刷装置により自動で通信経路が確立されるため、ユーザーによる通信経路の確立のための作業が必要なく、また、電源投入後、通信経路によるデータの通信により印刷装置を制御できる。
The communication control unit establishes the communication path when power is turned on.
According to the configuration of the present invention, since the communication path is automatically established by the printing apparatus when the power is turned on, there is no need for the user to establish a communication path. The printing apparatus can be controlled by communication.

また、前記印刷装置の前記記憶部は、前記印刷装置の識別情報を記憶し、前記通信制御部は、前記通信経路の確立時に、前記印刷装置の識別情報を送信する。
本発明の構成によれば、識別情報を受信した印刷制御装置は、識別情報に基づいて通信経路を確立した印刷装置を識別可能であり、また、印刷制御装置は、識別情報を利用して、確立した通信経路の管理が可能となる。
The storage unit of the printing apparatus stores identification information of the printing apparatus, and the communication control unit transmits the identification information of the printing apparatus when the communication path is established.
According to the configuration of the present invention, the printing control apparatus that has received the identification information can identify the printing apparatus that has established the communication path based on the identification information, and the printing control apparatus can use the identification information to The established communication path can be managed.

また、本発明の印刷装置は、非同期の双方向通信を行う通信経路で制御データを受信する通信制御部と、印刷を行う印刷部と、前記通信経路で受信した前記制御データに基づいて、前記印刷部を制御する印刷制御部と、を有することを特徴とする。
本発明の構成によれば、印刷装置は、印刷制御装置等の外部装置から任意のタイミングで通信経路によりデータを受信でき、また、印刷装置は、任意のタイミングで印刷制御装置等の外部装置にデータを送信できる。従って、印刷装置は、通信経路により制御データを受信して、制御データに基づく印刷を実行することができ、また、印刷装置は、印刷結果を示すデータや、各種データを、必要に応じて印刷制御装置等の外部装置に送信して、外部装置にデータに基づく処理を実行させることができる。つまり、上記構成によれば、印刷制御システムに含まれる印刷装置を、印刷装置と、印刷制御装置等の外部装置とがネットワークを介して通信する構成に対応させることができる。
Further, the printing apparatus of the present invention is based on the communication control unit that receives control data through a communication path that performs asynchronous two-way communication, the printing unit that performs printing, and the control data received through the communication path. And a printing control unit that controls the printing unit.
According to the configuration of the present invention, the printing apparatus can receive data from an external apparatus such as a print control apparatus via a communication path at an arbitrary timing, and the printing apparatus can be transferred to an external apparatus such as a print control apparatus at an arbitrary timing. Can send data. Therefore, the printing apparatus can receive control data via the communication path and execute printing based on the control data. The printing apparatus can also print data indicating the printing result and various data as necessary. The data can be transmitted to an external device such as a control device, and the external device can execute processing based on the data. In other words, according to the above configuration, the printing device included in the printing control system can correspond to a configuration in which the printing device and an external device such as the printing control device communicate via the network.

また、非同期の双方向通信は、WebSocket通信である。
本発明の構成によれば、印刷装置は、WebSocket通信により、非同期の双方向通信を実行できる。
In addition, asynchronous bidirectional communication is WebSocket communication.
According to the configuration of the present invention, the printing apparatus can execute asynchronous two-way communication by WebSocket communication.

また、前記制御データを送信する外部装置のアドレス情報を記憶する記憶部を有し、前記通信制御部は、前記記憶部が記憶する前記アドレス情報に基づいて前記外部装置との間で前記通信経路を確立する。
本発明の構成によれば、印刷装置は、記憶部が記憶する印刷制御装置のアドレスを示すアドレス情報に基づいて、通信経路の確立を実行できる。
A storage unit configured to store address information of an external device that transmits the control data, wherein the communication control unit communicates with the external device based on the address information stored in the storage unit; Establish.
According to the configuration of the present invention, the printing apparatus can establish the communication path based on the address information indicating the address of the printing control apparatus stored in the storage unit.

本実施形態に係る制御システムの構成を示す図。The figure which shows the structure of the control system which concerns on this embodiment. 制御サーバーと、印刷装置との間で確立される通信経路を示す図。The figure which shows the communication path established between a control server and a printing apparatus. 制御サーバー、印刷装置の機能的構成を示すブロック図。The block diagram which shows the functional structure of a control server and a printing apparatus. 制御サーバー、印刷装置の動作を示すフローチャート。6 is a flowchart illustrating operations of a control server and a printing apparatus. 制御サーバー、印刷装置の動作を示すフローチャート。6 is a flowchart illustrating operations of a control server and a printing apparatus.

以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係る制御システム1(印刷制御システム)の構成を示す図である。
図1に示すように、制御システム1は、制御サーバー10(印刷制御装置、外部装置)を備え、制御サーバー10にインターネット等のネットワークGNを介して複数の店舗システム11が接続される。
店舗システム11は、スーパーマーケットや、コンビニエンスストア、デパート、飲食店等の店舗に適用されたシステムである。店舗システム11は、少なくとも、店舗に来店した顧客に対してレシートを発行する機能を備える。
店舗システム11は、印刷媒体に印刷する印刷機能を有し、レシートを発行可能な1又は複数の印刷装置12を備える。印刷装置12は、店舗内に構築されたローカルエリアネットワークLNに接続される。ローカルエリアネットワークLNには、ネットワークルーターや、モデム等の通信機器を含んで構成されたネットワーク通信制御装置13が接続される。印刷装置12は、ネットワーク通信制御装置13を介して、ネットワークGNにアクセスする。例えば、店舗システム11Aは、スーパーマーケットSMに適用されたシステムである。スーパーマーケットSMには、複数のレジカウンターRCが設けられ、各レジカウンターRCには、印刷装置12が設けられる。店舗システム11Aに係る印刷装置12は、ローカルエリアネットワークLNに接続され、ネットワーク通信制御装置13を介して、ネットワークGNにアクセスする。
本実施形態に係る制御システム1では、店舗システム11の印刷装置12が、制御サーバー10との間で通信経路を確立し、制御サーバー10と、通信する。そして、印刷装置12は、制御サーバー10の制御の下、印刷に係る処理を実行する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration of a control system 1 (printing control system) according to the present embodiment.
As shown in FIG. 1, the control system 1 includes a control server 10 (printing control device, external device), and a plurality of store systems 11 are connected to the control server 10 via a network GN such as the Internet.
The store system 11 is a system applied to stores such as supermarkets, convenience stores, department stores, restaurants, and the like. The store system 11 has at least a function of issuing a receipt to a customer who has visited the store.
The store system 11 includes a printing function for printing on a print medium, and includes one or a plurality of printing devices 12 that can issue receipts. The printing apparatus 12 is connected to a local area network LN built in the store. Connected to the local area network LN is a network communication control device 13 including a network router and a communication device such as a modem. The printing device 12 accesses the network GN via the network communication control device 13. For example, the store system 11A is a system applied to the supermarket SM. The supermarket SM is provided with a plurality of cashier counters RC, and each cashier counter RC is provided with a printing device 12. The printing device 12 according to the store system 11A is connected to the local area network LN and accesses the network GN via the network communication control device 13.
In the control system 1 according to the present embodiment, the printing device 12 of the store system 11 establishes a communication path with the control server 10 and communicates with the control server 10. Then, the printing apparatus 12 executes processing related to printing under the control of the control server 10.

図2は、制御システム1における制御サーバー10と、印刷装置12と間に確立される通信経路を示す図である。
図2に示すように、制御システム1において、制御サーバー10と、各店舗システム11の印刷装置12との間には、WebSocketに係るWebSocketコネクションCT(非同期の双方向通信を行う通信経路)が確立される。
なお、WebSocketとは、ネットワークを介して接続されたサーバーと、クライアントとの間で、非同期な双方向通信を可能とする通信規格の1つである。WebSocketでは、サーバーとクライアントがWebSocketコネクションCTを確立した後は、データの送受信を、当該コネクションにより専用のプロトコルを用いて行う。このため、データの送信が発生する度に、コネクションを確立する必要がない。
また、WebSocketコネクションCTとは、当該コネクションで接続された印刷装置12と、制御サーバー10との間で、WebSocketのプロトコル、手続きに従ってデータを送受信する論理的な通信経路のことである。従って、印刷装置12と、制御サーバー10との間で、所定のハンドシェイクが行われ、WebSocketコネクションCTが確立した後は、印刷装置12と、制御サーバー10とは、WebSocketコネクションCTにより、非同期にデータを送受信できる。つまり、制御サーバー10は、任意のタイミングでWebSocketコネクションCTで印刷装置12にデータを送信でき、また、印刷装置12は、WebSocketコネクションCTで制御サーバー10にデータを送信できる。
また、WebSocket通信とは、WebSocketコネクションCTにより印刷装置12と、制御サーバー10との間で行われる、WebSocketのプロトコル、手続きに従った非同期な双方向通信のことである。
制御サーバー10、及び、印刷装置12は、WebSocketコネクションCTにより、非同期で双方向通信(WebSocket通信)する。すなわち、制御サーバー10は、クライアントとしての印刷装置12からリクエストを受けることなく、任意のタイミングで、WebSocketコネクションCTで印刷装置12に対してデータをプッシュ送信できる。従って、制御サーバー10は、任意のタイミングで、印刷装置12を制御して、印刷媒体に印刷させることができる。同様に、印刷装置12は、任意のタイミングで、WebSocketコネクションCTで制御サーバー10に対してデータをプッシュ送信できる。
FIG. 2 is a diagram illustrating a communication path established between the control server 10 and the printing apparatus 12 in the control system 1.
As shown in FIG. 2, in the control system 1, a WebSocket connection CT (communication path for performing asynchronous two-way communication) related to WebSocket is established between the control server 10 and the printing device 12 of each store system 11. Is done.
WebSocket is one of the communication standards that enables asynchronous two-way communication between a server and a client connected via a network. In WebSocket, after a server and a client establish a WebSocket connection CT, data transmission / reception is performed using a dedicated protocol by the connection. For this reason, it is not necessary to establish a connection every time data transmission occurs.
The WebSocket connection CT is a logical communication path for transmitting and receiving data according to the WebSocket protocol and procedure between the printing apparatus 12 connected via the connection and the control server 10. Therefore, after a predetermined handshake is performed between the printing apparatus 12 and the control server 10 and the WebSocket connection CT is established, the printing apparatus 12 and the control server 10 are asynchronously transmitted by the WebSocket connection CT. Can send and receive data. That is, the control server 10 can transmit data to the printing apparatus 12 through the WebSocket connection CT at an arbitrary timing, and the printing apparatus 12 can transmit data to the control server 10 through the WebSocket connection CT.
WebSocket communication is asynchronous two-way communication according to the WebSocket protocol and procedure, which is performed between the printing apparatus 12 and the control server 10 by the WebSocket connection CT.
The control server 10 and the printing device 12 perform asynchronous two-way communication (WebSocket communication) using the WebSocket connection CT. That is, the control server 10 can push-transmit data to the printing apparatus 12 through the WebSocket connection CT at an arbitrary timing without receiving a request from the printing apparatus 12 as a client. Therefore, the control server 10 can control the printing device 12 to print on the printing medium at an arbitrary timing. Similarly, the printing apparatus 12 can push-transmit data to the control server 10 through the WebSocket connection CT at an arbitrary timing.

本実施形態において、制御サーバー10は、いわゆるクラウドシステムにおけるクラウドサーバーに該当する。すなわち、制御サーバー10は、演算処理機能を有し、外部装置からの印刷装置12への要求等をトリガーとして所定の演算処理を実行し、演算処理の結果に基づくデータを、WebSocketコネクションCTで印刷装置12に送信する。
なお、図2では、制御サーバー10を、1つのブロックによって表現しているが、これは、制御サーバー10が単一のサーバー装置により構成されることを意味するものではない。例えば、制御サーバー10は、複数のサーバー装置を含んで構成されたものであってもよく、所定のシステムの一部の機能により実現されるサーバーであってもよい。すなわち、後述する各種処理を実現可能な構成であれば、その形態を問わない。
また、本実施形態では、制御サーバー10と、印刷装置12との間で、WebSocket通信を行う。しかしながら、これら装置が、WebSocket通信に代えて、WebSocket通信と同様な非同期な双方向通信を行う構成であってもよい。
In the present embodiment, the control server 10 corresponds to a cloud server in a so-called cloud system. That is, the control server 10 has an arithmetic processing function, executes predetermined arithmetic processing triggered by a request from the external device to the printing device 12, and prints data based on the result of the arithmetic processing with the WebSocket connection CT. Transmit to device 12.
In FIG. 2, the control server 10 is represented by one block, but this does not mean that the control server 10 is configured by a single server device. For example, the control server 10 may be configured to include a plurality of server devices, or may be a server realized by some functions of a predetermined system. That is, the configuration is not limited as long as various processes described later can be realized.
In the present embodiment, WebSocket communication is performed between the control server 10 and the printing apparatus 12. However, these devices may be configured to perform asynchronous bidirectional communication similar to WebSocket communication instead of WebSocket communication.

このように、制御システム1は、印刷機能が実装された印刷装置が、複数台(例えば、1000台)、WebSocketのWebSocketコネクションCTにより、制御サーバー10との間で通信可能に接続された構成である。
このような構成のため、以下の効果を得ることができる。
すなわち、制御サーバー10は、複数の店舗システム11の、複数の印刷装置12から受信したデータに基づく情報を収集し、管理、分析できる。このため、有益な情報を蓄積することができる。蓄積した情報は、いわゆるビッグデータとして活用可能である。
また、店舗システム11の構築の簡易化、及び、低コスト化を図ることが可能となる。すなわち、制御システム1では、印刷装置12がWebSocketコネクションCTにより制御サーバー10に接続される。このため、制御サーバー10が提供するサービスを利用して、制御サーバー10の制御の下、印刷装置12に各種処理を実行させることが可能である。従って、店舗システム11を構築する管理者は、店舗システム11の構築に際し、印刷装置12を所望の場所に設置した上で、印刷装置12をネットワークGNに接続する、という簡易な作業を行えばよい。これにより、制御サーバー10が提供するサービスを利用して、印刷装置12に所望の処理、例えば、レシートの発行に係る処理を実行させることが可能となる。
また、制御サーバー10に、異なる店舗システム11の印刷装置12がWebSocketコネクションCTで接続されるため、制御サーバー10は、複数の店舗システム11の複数の印刷装置12を管理できる。また、制御サーバー10は、複数の印刷装置12を連動して動作させることが可能となる。
As described above, the control system 1 has a configuration in which a plurality of printing apparatuses (for example, 1000) on which a printing function is implemented are connected so as to be communicable with the control server 10 through the WebSocket connection CT of WebSocket. is there.
Due to such a configuration, the following effects can be obtained.
That is, the control server 10 can collect, manage, and analyze information based on data received from the plurality of printing apparatuses 12 of the plurality of store systems 11. For this reason, useful information can be accumulated. The accumulated information can be used as so-called big data.
In addition, the construction of the store system 11 can be simplified and the cost can be reduced. That is, in the control system 1, the printing device 12 is connected to the control server 10 by the WebSocket connection CT. For this reason, it is possible to cause the printing apparatus 12 to execute various processes under the control of the control server 10 using the service provided by the control server 10. Therefore, an administrator who constructs the store system 11 may perform a simple operation of connecting the printing apparatus 12 to the network GN after installing the printing apparatus 12 in a desired place when constructing the store system 11. . Accordingly, it is possible to cause the printing apparatus 12 to execute a desired process, for example, a process related to the receipt issuance, using the service provided by the control server 10.
In addition, since the printing devices 12 of different store systems 11 are connected to the control server 10 by the WebSocket connection CT, the control server 10 can manage the plurality of printing devices 12 of the plurality of store systems 11. Further, the control server 10 can operate a plurality of printing apparatuses 12 in conjunction with each other.

図3は、本実施形態に係る印刷装置12、及び、制御サーバー10の機能的構成を示すブロック図である。
図3に示すように、印刷装置12は、通信制御部15と、通信部16と、印刷制御部17と、印刷部18と、印刷装置記憶部19と、を備える。
通信制御部15、通信部16、及び、印刷制御部17の機能については後述する。
印刷部18は、印刷媒体に印刷を行う印刷機構、印刷媒体を搬送する搬送機構、印刷媒体を切断する切断機構等の印刷に係る機構、及び、各機構の制御に係る制御基板等を備える。
印刷装置記憶部19は、不揮発性メモリーを備え、各種データを記憶する。印刷装置記憶部19には、通信先情報データ19aと、識別情報データ19bとが記憶されるが、これらデータについては後述する。
一方、制御サーバー10は、通信管理部25と、接続部26と、印刷データ処理部27と、制御サーバー記憶部28と、を備える。
通信管理部25、接続部26、及び、印刷データ処理部27の機能については後述する。
制御サーバー記憶部28は、不揮発性メモリーを備え、各種データを記憶する。制御サーバー記憶部28には、コネクション管理データベース28aが記憶されるが、これについては後述する。
FIG. 3 is a block diagram illustrating functional configurations of the printing apparatus 12 and the control server 10 according to the present embodiment.
As illustrated in FIG. 3, the printing apparatus 12 includes a communication control unit 15, a communication unit 16, a print control unit 17, a printing unit 18, and a printing device storage unit 19.
The functions of the communication control unit 15, the communication unit 16, and the print control unit 17 will be described later.
The printing unit 18 includes a printing mechanism that performs printing on a printing medium, a conveyance mechanism that conveys the printing medium, a printing mechanism such as a cutting mechanism that cuts the printing medium, and a control board that controls each mechanism.
The printing device storage unit 19 includes a nonvolatile memory and stores various data. The printing device storage unit 19 stores communication destination information data 19a and identification information data 19b, which will be described later.
On the other hand, the control server 10 includes a communication management unit 25, a connection unit 26, a print data processing unit 27, and a control server storage unit 28.
Functions of the communication management unit 25, the connection unit 26, and the print data processing unit 27 will be described later.
The control server storage unit 28 includes a nonvolatile memory and stores various data. The control server storage unit 28 stores a connection management database 28a, which will be described later.

なお、図3では、制御サーバー10と、制御サーバー10に接続された1つの印刷装置12との関係を示す。制御サーバー10に、複数の印刷装置12が接続される場合は、制御サーバー10は、複数の印刷装置12に対応して複数のWebSocketインターフェースを備え、各印刷装置12との間でWebSocketコネクションCTを確立し、各印刷装置12と当該コネクションでWebSocket通信する。   FIG. 3 shows the relationship between the control server 10 and one printing device 12 connected to the control server 10. When a plurality of printing devices 12 are connected to the control server 10, the control server 10 includes a plurality of WebSocket interfaces corresponding to the plurality of printing devices 12, and establishes a WebSocket connection CT with each printing device 12. And establishes WebSocket communication with each printing apparatus 12 through the connection.

次に、印刷装置12の電源投入時における、印刷装置12、及び、制御サーバー10の動作について説明する。
図4は、印刷装置12に電源が投入された後の印刷装置12、及び、制御サーバー10の動作を示すフローチャートであり、(A)は印刷装置12の動作を、(B)は制御サーバー10の動作を示す。
なお、以下の説明では、印刷装置12は、対応する店舗システム11のローカルエリアネットワークLNに接続され、ネットワークGNにアクセス可能であるものとする。
また、図4のフローチャートの処理のトリガーは、電源投入時に限らない。例えば、印刷装置12がネットワークGNに通信可能に接続された場合や、ユーザーから指示があった場合等であってもよい。
Next, operations of the printing apparatus 12 and the control server 10 when the printing apparatus 12 is turned on will be described.
FIG. 4 is a flowchart showing operations of the printing apparatus 12 and the control server 10 after the printing apparatus 12 is turned on. (A) shows the operation of the printing apparatus 12, and (B) shows the control server 10. Shows the operation.
In the following description, it is assumed that the printing apparatus 12 is connected to the local area network LN of the corresponding store system 11 and can access the network GN.
Further, the trigger of the processing in the flowchart of FIG. 4 is not limited to when the power is turned on. For example, the case where the printing apparatus 12 is connected to the network GN so as to be communicable or the case where an instruction is given from the user may be used.

また、以下の説明において、印刷装置12が備える通信制御部15、印刷制御部17、及び、制御サーバー10が備える印刷データ処理部27の各機能ブロックの機能は、例えば、以下のようにして実現される。
すなわち、例えば、これら機能ブロックは、オブジェクトである。オブジェクトとは、オブジェクト指向プログラミングで生成されるインスタンス、すなわち、データ、及び、メソッドの集合として定義されたソフトウェアの機能ブロックである。そして、これら機能ブロックの機能は、各機能ブロックに実装されたメソッドが呼び出されることによって実現される。
また例えば、これら機能ブロックの機能は、アプリケーションがCPU等のハードウェア資源によって読み出され実行されることによって、実現される。1つのアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよく、1つのアプリケーションにより複数の機能ブロックの機能が実現される構成であってもよく、また、複数のアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよい。
すなわち、各機能ブロックは、各機能をブロックとして表現したものであり、特定のアプリケーションや、ハードウェア等を意味するものではない。
In the following description, the functions of the functional blocks of the communication control unit 15, the print control unit 17, and the print data processing unit 27 included in the control server 10 are realized as follows, for example. Is done.
That is, for example, these functional blocks are objects. An object is a functional block of software defined as a collection of instances, that is, data and methods generated by object-oriented programming. And the function of these functional blocks is implement | achieved by calling the method mounted in each functional block.
Further, for example, the functions of these functional blocks are realized by an application being read and executed by a hardware resource such as a CPU. The configuration may be such that the function of one functional block is realized by one application, the function of a plurality of functional blocks may be realized by one application, and one function block may be realized by a plurality of applications. A configuration in which the function of the function block is realized may be used.
That is, each function block represents each function as a block, and does not mean a specific application, hardware, or the like.

図4(A)に示すように、印刷装置12の電源が投入されると(ステップSX1)、通信制御部15は、印刷装置記憶部19にアクセスし、印刷装置記憶部19に記憶される通信先情報データ19aを取得する(ステップSA1)。
通信先情報データ19aとは、WebSocketに係るWebSocketコネクションCTの確立する際に、アクセスする制御サーバー10のドメイン名等のアドレスを示すアドレス情報のデータである。ここで、WebSocketでは、WebSocketコネクションCTの確立に当たり、クライアント(本例では、印刷装置12)は、サーバー(本例では、制御サーバー10)に対して、HTTP(Hypertext Transfer Protocol)に基づくハンドシェイクを行う。当該ハンドシェイクにおいて、クライアントは、サーバーのドメイン名が記述されたメッセージを送信するが、通信先情報データ19aは、ドメイン名を示すデータである。
次いで、通信制御部15は、通信先情報データ19aが示すドメイン名に基づいて、制御サーバー10の通信管理部25と、通信部16と接続部26との間に、WebSocketコネクションCTを確立する(ステップSA2、ステップSB1)。つまり、本実施形態に係る印刷装置12は、ユーザーによる指示や、制御サーバー10からの要求を受けることなく、電源の投入をトリガーとしてWebSocketコネクションCTを確立する。
WebSocketコネクションCTの確立に伴って、印刷装置12、及び、制御サーバー10は、非同期で、双方向通信できる。つまり、制御サーバー10は、クライアントとしての印刷装置12からリクエストを受けることなく、WebSocketコネクションCTで制御サーバー10から印刷装置12にデータを送信できる。
なお、通信部16、及び、接続部26は、WebSocketの規格、手続きに従ってデータの送受信を行うWebSocketインターフェースである。これら機能ブロックは、例えば、WebSocketに係るSocketライブラリーを利用して生成される。
通信制御部15は、通信部16にデータを送信すれば、WebSocketコネクションCTにより、WebSocketに従ってデータの送信を実行できる。
すなわち、通信部16は、受信したデータについて、WebSocketに従った処理を行って、WebSocketに従った手続きでWebSocketコネクションCTによりデータを送信する機能を有する。また、通信部16は、WebSocketコネクションCTにより受信したデータについて、WebSocketに従った処理を行って、通信制御部15に送信する機能を有する。接続部26についても同様である。
As shown in FIG. 4A, when the printing apparatus 12 is turned on (step SX1), the communication control unit 15 accesses the printing apparatus storage unit 19 and stores the communication stored in the printing apparatus storage unit 19. The destination information data 19a is acquired (step SA1).
The communication destination information data 19a is address information data indicating an address such as a domain name of the control server 10 to be accessed when the WebSocket connection CT related to the WebSocket is established. Here, in the WebSocket, in establishing the WebSocket connection CT, the client (printing device 12 in this example) performs a handshake based on HTTP (Hypertext Transfer Protocol) to the server (control server 10 in this example). Do. In the handshake, the client transmits a message in which the domain name of the server is described. The communication destination information data 19a is data indicating the domain name.
Next, the communication control unit 15 establishes a WebSocket connection CT between the communication management unit 25 of the control server 10, the communication unit 16, and the connection unit 26 based on the domain name indicated by the communication destination information data 19a ( Step SA2, Step SB1). That is, the printing apparatus 12 according to the present embodiment establishes the WebSocket connection CT using the power-on as a trigger without receiving a user instruction or a request from the control server 10.
With the establishment of the WebSocket connection CT, the printing apparatus 12 and the control server 10 can perform two-way communication asynchronously. That is, the control server 10 can transmit data from the control server 10 to the printing apparatus 12 through the WebSocket connection CT without receiving a request from the printing apparatus 12 as a client.
The communication unit 16 and the connection unit 26 are WebSocket interfaces that transmit and receive data according to WebSocket standards and procedures. These functional blocks are generated using, for example, a Socket library related to WebSocket.
If the communication control part 15 transmits data to the communication part 16, it can perform transmission of data according to WebSocket by WebSocket connection CT.
That is, the communication unit 16 has a function of performing processing according to the WebSocket on the received data and transmitting the data through the WebSocket connection CT according to the procedure according to the WebSocket. Further, the communication unit 16 has a function of performing processing according to WebSocket on data received through the WebSocket connection CT and transmitting the data to the communication control unit 15. The same applies to the connection unit 26.

次いで、印刷装置12の通信制御部15は、印刷装置記憶部19にアクセスし、印刷装置記憶部19に記憶される識別情報データ19bを取得する(ステップSA3)。識別情報データ19bとは、印刷装置12を示す識別情報(以下、「印刷装置識別情報」)を示すデータである。印刷装置識別情報は、例えば、印刷装置12の製造段階で、印刷装置12に割り当てられるシリアル番号である。
次いで、通信制御部15は、WebSocketコネクションCTで、識別情報データ19bを送信する(ステップSA4)。
図4(B)に示すように、制御サーバー10の通信管理部25は、識別情報データ19bを受信する(ステップSB2)。
次いで、通信管理部25は、制御サーバー記憶部28に記憶されたコネクション管理データベース28aにアクセスする(ステップSB3)。コネクション管理データベース28aとは、確立している1又は複数のWebSocketコネクションCTについて、WebSocketコネクションCTを示すコネクション識別番号と、上述した印刷装置識別情報とを対応付けて記憶するデータベースである。
次いで、通信管理部25は、コネクション管理データベース28aに1件のレコードを生成する。そして、通信管理部25は、生成したレコードにおいて、ステップSB1で確立したWebSocketコネクションCTのコネクション識別番号と、ステップSB2で受信した識別情報データ19bが示す印刷装置識別情報とを対応付けて記憶する(ステップSB4)。なお、通信管理部25は、WebSocketコネクションCTが確立したときに、既に確立しているWebSocketコネクションCTのコネクション識別番号と異なる値のコネクション識別番号を生成する。ステップSB4の処理により、WebSocketコネクションCTと、印刷装置12との対応関係が管理される。
このように、印刷装置12の通信制御部15は、ユーザーによる指示や、制御サーバー10からの要求を受けることなく、電源の投入をトリガーとしてWebSocketコネクションCTを確立する。このような構成のため、ユーザーは、WebSocketコネクションCTを確立するために、煩雑な作業を行う必要がない。また、WebSocketコネクションCTを確立するために、専門的な知識も必要ない。また、電源投入後、印刷装置12を、制御サーバー10の制御の下で各種処理を実行できる状態とすることができる。
Next, the communication control unit 15 of the printing apparatus 12 accesses the printing apparatus storage unit 19 and acquires identification information data 19b stored in the printing apparatus storage unit 19 (step SA3). The identification information data 19b is data indicating identification information indicating the printing apparatus 12 (hereinafter, “printing apparatus identification information”). The printing device identification information is, for example, a serial number assigned to the printing device 12 at the manufacturing stage of the printing device 12.
Next, the communication control unit 15 transmits the identification information data 19b through the WebSocket connection CT (Step SA4).
As shown in FIG. 4B, the communication management unit 25 of the control server 10 receives the identification information data 19b (step SB2).
Next, the communication management unit 25 accesses the connection management database 28a stored in the control server storage unit 28 (step SB3). The connection management database 28a is a database that stores, for one or more established WebSocket connections CT, a connection identification number indicating the WebSocket connection CT and the above-described printing apparatus identification information in association with each other.
Next, the communication management unit 25 generates one record in the connection management database 28a. Then, the communication management unit 25 associates and stores the connection identification number of the WebSocket connection CT established in step SB1 and the printing apparatus identification information indicated by the identification information data 19b received in step SB2 in the generated record ( Step SB4). Note that when the WebSocket connection CT is established, the communication management unit 25 generates a connection identification number having a value different from the connection identification number of the already established WebSocket connection CT. By the processing in step SB4, the correspondence relationship between the WebSocket connection CT and the printing apparatus 12 is managed.
As described above, the communication control unit 15 of the printing apparatus 12 establishes the WebSocket connection CT using the power-on as a trigger without receiving a user instruction or a request from the control server 10. Due to such a configuration, the user does not need to perform complicated work in order to establish the WebSocket connection CT. Also, no specialized knowledge is required to establish the WebSocket connection CT. In addition, after the power is turned on, the printing apparatus 12 can be in a state where various processes can be executed under the control of the control server 10.

次に、制御サーバー10の制御の下、印刷装置12が印刷媒体に印刷するときの、制御サーバー10、及び、印刷装置12の動作について説明する。
図5は、印刷装置12が印刷媒体に印刷を行うときの制御サーバー10、及び、印刷装置12の動作を示すフローチャートであり、(A)は制御サーバー10の動作を、(B)は印刷装置12の動作を示す。
図5(A)に示すように、印刷データ処理部27は、印刷装置12の制御に係る制御データを生成し、通信管理部25に送信する(ステップSC1)。制御データは、印刷装置12に印刷させる情報が記述されたXML(Extensible Markup Language)ファイルである。制御データには、XMLに係るフォーマットに基づいて、印刷装置12に印刷させる情報、例えば、印刷する画像データや、画像の位置を示す情報等が記述される。また、制御データには、印刷させる印刷装置12の印刷装置識別情報がタグとして記述される。
次いで、通信管理部25は、制御サーバー記憶部28に記憶されたコネクション管理データベース28aにアクセスする(ステップSC2)。次いで、通信管理部25は、受信した制御データに記述された印刷装置識別情報をキーとして、コネクション管理データベース28aにおいて、当該印刷装置識別情報と対応付けられたWebSocketコネクションCTのコネクション識別番号を取得する(ステップSC3)。ここで取得されたコネクション識別番号は、印刷させる印刷装置12との間で確立されたWebSocketコネクションCTのコネクション識別番号である。
次いで、通信管理部25は、ステップSC3で取得したコネクション識別番号に係るWebSocketコネクションCTに対応する接続部26に制御データを送信する(ステップSC4)。
次いで、接続部26は、受信した制御データを、WebSocketコネクションCTで、WebSocket通信により、プッシュ送信する(ステップSC5)。
Next, operations of the control server 10 and the printing apparatus 12 when the printing apparatus 12 prints on a print medium under the control of the control server 10 will be described.
FIG. 5 is a flowchart showing the operation of the control server 10 and the printing device 12 when the printing device 12 performs printing on the printing medium, where (A) shows the operation of the control server 10 and (B) shows the printing device. 12 operations are shown.
As shown in FIG. 5A, the print data processing unit 27 generates control data related to the control of the printing apparatus 12 and transmits it to the communication management unit 25 (step SC1). The control data is an XML (Extensible Markup Language) file in which information to be printed by the printing apparatus 12 is described. In the control data, information to be printed by the printing apparatus 12 based on the XML format, for example, image data to be printed, information indicating the position of the image, and the like are described. In the control data, printing device identification information of the printing device 12 to be printed is described as a tag.
Next, the communication management unit 25 accesses the connection management database 28a stored in the control server storage unit 28 (step SC2). Next, using the printing device identification information described in the received control data as a key, the communication management unit 25 acquires the connection identification number of the WebSocket connection CT associated with the printing device identification information in the connection management database 28a. (Step SC3). The connection identification number acquired here is the connection identification number of the WebSocket connection CT established with the printing apparatus 12 to be printed.
Next, the communication management unit 25 transmits control data to the connection unit 26 corresponding to the WebSocket connection CT related to the connection identification number acquired in step SC3 (step SC4).
Next, the connection unit 26 push-transmits the received control data through WebSocket communication using the WebSocket connection CT (step SC5).

図5(B)に示すように、通信部16は、WebSocket通信により制御データを受信する(ステップSD1)。次いで、通信部16は、受信した制御データを通信制御部15に送信する(ステップSD2)。次いで、通信制御部15は、受信した制御データを、印刷制御部17に送信する(ステップSD3)。次いで、印刷制御部17は、受信した制御データを、印刷部18のコマンド体系の制御コマンドに変換する(ステップSD4)。つまり、印刷制御部17は、XMLファイルである制御データを、印刷部18の制御基板が解釈可能なコマンドに変換する。
次いで、印刷制御部17は、制御コマンドを、印刷部18に送信する(ステップSD5)。次いで、印刷部18は、制御コマンドに基づいて、印刷媒体への印刷を実行する(ステップSD6)。
このように、本実施形態では、印刷装置12からのリクエストを受けることなく、制御サーバー10は、印刷装置12に印刷を実行させる事象が発生した場合に、印刷装置12に印刷させることができる。印刷装置12に印刷を実行させる事象が発生した場合とは、例えば、ユーザーからの指示があった場合や、通信可能に接続された外部機器からの要求があった場合、事前に定義した条件が成立した場合等、である。
このため、印刷装置12から制御サーバー10に対して間欠的にリクエストを送り、印刷装置12に印刷をさせたい場合に、当該リクエストに応じて制御データを送信する構成とした場合と比較して、より迅速に印刷を開始させることができる。また、制御サーバー10がリクエストに対する保留状態を作る構成とした場合と比較して、リソースの消費を抑制できる。
As shown in FIG. 5B, the communication unit 16 receives control data by WebSocket communication (step SD1). Next, the communication unit 16 transmits the received control data to the communication control unit 15 (step SD2). Next, the communication control unit 15 transmits the received control data to the print control unit 17 (step SD3). Next, the print control unit 17 converts the received control data into a control command of the command system of the printing unit 18 (step SD4). That is, the print control unit 17 converts the control data that is an XML file into a command that can be interpreted by the control board of the printing unit 18.
Next, the printing control unit 17 transmits a control command to the printing unit 18 (step SD5). Next, the printing unit 18 executes printing on the print medium based on the control command (step SD6).
As described above, in this embodiment, the control server 10 can cause the printing apparatus 12 to print without receiving a request from the printing apparatus 12 when an event that causes the printing apparatus 12 to execute printing occurs. An event that causes the printing apparatus 12 to execute printing is, for example, when there is an instruction from a user or when there is a request from an external device that is connected to be communicable, This is the case.
For this reason, when a request is intermittently sent from the printing device 12 to the control server 10 and the printing device 12 wants to print, compared to a configuration in which control data is sent in response to the request, Printing can be started more quickly. Moreover, resource consumption can be suppressed as compared with a case where the control server 10 is configured to create a pending state for the request.

以上説明したように、本実施形態によれば、制御システム1(印刷制御システム)は、制御データを送信する制御サーバー10(印刷制御装置)と、制御データに基づいて印刷を行う印刷部18、非同期の双方向通信を行うWebSocketコネクションCTで制御サーバー10と通信する通信制御部15、及びWebSocketコネクションCTで制御サーバー10が送信した制御データに基づいて印刷部18を制御する印刷制御部17を有する印刷装置12と、備える。
この構成によれば、制御システム1において、制御サーバー10と、印刷装置12とが非同期の双方向通信を行う通信経路(WebSocketコネクションCT)で通信する。このため、制御サーバー10は任意のタイミングでWebSocketコネクションCTにより印刷装置12にデータを送信でき、また、印刷装置12は任意のタイミングで制御サーバー10にデータを送信できる。従って、制御サーバー10は、印刷装置12に印刷させるトリガーが発生したときに、WebSocketコネクションCTにより制御データを印刷装置12に送信し、制御データに基づく印刷を印刷装置12に実行させることができる。また、印刷装置12は、印刷結果を示すデータや、各種データを必要に応じて制御サーバー10に送信し、データに基づく処理を制御サーバー10に実行させることができる。つまり、上記構成によれば、制御システム1を、印刷装置12と、制御サーバー10とがネットワークを介して通信する構成に対応させることができる。
As described above, according to the present embodiment, the control system 1 (printing control system) includes the control server 10 (printing control apparatus) that transmits control data, the printing unit 18 that performs printing based on the control data, A communication control unit 15 that communicates with the control server 10 through a WebSocket connection CT that performs asynchronous two-way communication, and a print control unit 17 that controls the printing unit 18 based on control data transmitted by the control server 10 through the WebSocket connection CT. And a printing device 12.
According to this configuration, in the control system 1, the control server 10 and the printing apparatus 12 communicate via a communication path (WebSocket connection CT) for performing asynchronous bidirectional communication. For this reason, the control server 10 can transmit data to the printing apparatus 12 through the WebSocket connection CT at an arbitrary timing, and the printing apparatus 12 can transmit data to the control server 10 at an arbitrary timing. Therefore, the control server 10 can transmit the control data to the printing apparatus 12 through the WebSocket connection CT when the trigger for printing by the printing apparatus 12 occurs, and can cause the printing apparatus 12 to execute printing based on the control data. Further, the printing apparatus 12 can transmit data indicating the print result and various data to the control server 10 as necessary, and cause the control server 10 to execute processing based on the data. That is, according to the above configuration, the control system 1 can correspond to a configuration in which the printing device 12 and the control server 10 communicate via a network.

また、本実施形態では、非同期の双方向通信は、WebSocket通信である。
本発明の構成によれば、制御サーバー10と、印刷装置12との間で、WebSocket通信により、非同期の双方向通信を実行できる。
In the present embodiment, the asynchronous bidirectional communication is WebSocket communication.
According to the configuration of the present invention, asynchronous two-way communication can be executed between the control server 10 and the printing apparatus 12 by WebSocket communication.

また、本実施形態では、印刷装置12は、制御サーバー10のアドレスを示すアドレス情報を記憶する印刷装置記憶部19を有し、印刷装置12の通信制御部15は、印刷装置記憶部19が記憶するアドレス情報に基づいて制御サーバー10との間でWebSocketコネクションCTを確立する。
本発明の構成によれば、印刷装置12は、印刷装置記憶部19が記憶する制御サーバー10のアドレスを示すアドレス情報に基づいて、WebSocketコネクションCTの確立を実行できる。
In the present embodiment, the printing apparatus 12 includes a printing apparatus storage unit 19 that stores address information indicating the address of the control server 10. The communication control unit 15 of the printing apparatus 12 is stored in the printing apparatus storage unit 19. A WebSocket connection CT is established with the control server 10 based on the address information to be processed.
According to the configuration of the present invention, the printing apparatus 12 can establish the WebSocket connection CT based on address information indicating the address of the control server 10 stored in the printing apparatus storage unit 19.

また、本実施形態では、通信制御部15は、電源投入時にWebSocketコネクションCTの確立を行う。
この構成によれば、電源投入時に、印刷装置12により自動でWebSocketコネクションCTが確立されるため、ユーザーによるWebSocketコネクションCTの確立のための作業が必要なく、また、電源投入後、WebSocketコネクションCTによるデータの通信により印刷装置12を制御できる。
In the present embodiment, the communication control unit 15 establishes the WebSocket connection CT when the power is turned on.
According to this configuration, since the WebSocket connection CT is automatically established by the printing apparatus 12 when the power is turned on, there is no need for the user to establish the WebSocket connection CT, and after the power is turned on, the WebSocket connection CT is used. The printer 12 can be controlled by data communication.

また、本実施形態では、印刷装置12の印刷装置記憶部19は、印刷装置12の識別情報(識別情報データ19b)を記憶し、通信制御部15は、WebSocketコネクションCTの確立時に、印刷装置12の識別情報を送信する。
この構成によれば、制御サーバー10は、受信した印刷装置12の識別情報に基づいて印刷装置12を識別可能であり、さらに、制御サーバー10は、識別情報を利用して、確立したWebSocketコネクションCTの管理が可能となる。
In the present embodiment, the printing device storage unit 19 of the printing device 12 stores the identification information (identification information data 19b) of the printing device 12, and the communication control unit 15 sets the printing device 12 when the WebSocket connection CT is established. The identification information is sent.
According to this configuration, the control server 10 can identify the printing apparatus 12 based on the received identification information of the printing apparatus 12, and the control server 10 further uses the identification information to establish the established WebSocket connection CT. Can be managed.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
上述した実施形態では、印刷装置12は店舗に構築された店舗システム11に設けられていた。しかしながら、印刷装置12は、必ずしも、店舗システム11に設けられたものでなくてもよい。例えば、他のシステムに設けられたものであってもよい。
また、上述した実施形態では、制御サーバー10から、印刷装置12に対して、XMLファイルの制御データを送信していたが、制御データのデータ形式はXMLでなくともよい。例えば、他のマークアップ言語で生成されたデータであってもよく、また、印刷部18のコマンド体系の制御コマンドであってもよい。
また、上述した実施形態では、通信先情報データ19aとは、アクセスする制御サーバー10のドメイン名(通信先情報)を示すデータであったが、ドメイン名でなくともよい。例えば、IPアドレスであってもよい。
また、図3に示す各機能ブロックはハードウェアとソフトウェアとにより任意に実現可能であり、特定のハードウェア構成を示唆するものではない。また、印刷装置12の各機能を、当該装置に外部接続される別の装置に持たせるようにしてもよい。また、印刷装置12は、外部接続される記憶媒体に記憶させたプログラムを実行することにより、各種処理を実行してもよい。
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.
In the above-described embodiment, the printing apparatus 12 is provided in the store system 11 built in the store. However, the printing apparatus 12 is not necessarily provided in the store system 11. For example, it may be provided in another system.
In the above-described embodiment, the control data of the XML file is transmitted from the control server 10 to the printing apparatus 12. However, the data format of the control data may not be XML. For example, it may be data generated in another markup language, or may be a control command of the command system of the printing unit 18.
In the above-described embodiment, the communication destination information data 19a is data indicating the domain name (communication destination information) of the control server 10 to be accessed, but may not be a domain name. For example, it may be an IP address.
Each functional block shown in FIG. 3 can be arbitrarily realized by hardware and software, and does not suggest a specific hardware configuration. Further, each function of the printing apparatus 12 may be provided to another apparatus externally connected to the apparatus. Further, the printing apparatus 12 may execute various processes by executing a program stored in an externally connected storage medium.

1…制御システム(印刷制御システム)、10…制御サーバー(印刷制御装置、外部装置)、12…印刷装置、15…通信制御部、17…印刷制御部、19…印刷装置記憶部(記憶部)、19a…通信先情報データ、19b…識別情報データ(印刷装置の識別情報)、CT…WebSocketコネクション。   DESCRIPTION OF SYMBOLS 1 ... Control system (printing control system) 10 ... Control server (printing control apparatus, external device), 12 ... Printing apparatus, 15 ... Communication control part, 17 ... Printing control part, 19 ... Printing apparatus memory | storage part (memory | storage part) , 19a ... Communication destination information data, 19b ... Identification information data (printing device identification information), CT ... WebSocket connection.

Claims (5)

非同期の双方向通信を行う通信経路を介して通信する印刷制御装置と、
印刷を行う印刷部、前記通信経路を介して前記印刷制御装置との間の通信を制御する通信制御部、前記印刷部を制御する印刷制御部、および、前記印刷制御装置のアドレスを示すアドレス情報を記憶する記憶部を有する印刷装置と、を備え、
複数の前記印刷装置がローカルネットワークに接続され、前記印刷制御装置は、ネットワークを介して前記ローカルネットワークに接続され、
前記印刷装置の前記記憶部は、前記印刷装置の識別情報を記憶し、
前記印刷装置の前記通信制御部は、前記記憶部が記憶する前記アドレス情報に基づいて、前記ローカルネットワークおよび前記ネットワークを介して前記印刷制御装置にアクセスし、前記印刷装置の識別情報を前記印刷制御装置へ送信して、前記印刷制御装置との間で前記通信経路を介する通信を確立し、
前記印刷制御装置は、前記通信経路を介して前記印刷装置へマークアップ言語に係るフォーマットに基づいて記述されたデータをプッシュ送信し、
前記印刷装置は前記通信経路を介して前記通信制御部により前記データを受信し、前記印刷制御部は前記マークアップ言語に係るフォーマットに基づいて記述された前記データを前記印刷装置のコマンド体系の制御コマンドに変換し、前記印刷部を制御して印刷させる印刷制御システム。
A print control device that communicates via a communication path that performs asynchronous bidirectional communication;
A printing unit that performs printing, a communication control unit that controls communication with the print control device via the communication path, a print control unit that controls the printing unit, and address information indicating an address of the print control device A printing device having a storage unit for storing
A plurality of the printing devices are connected to a local network, and the printing control device is connected to the local network via a network;
The storage unit of the printing apparatus stores identification information of the printing apparatus;
The communication control unit of the printing apparatus accesses the print control apparatus via the local network and the network based on the address information stored in the storage unit, and prints identification information of the printing apparatus. To the device, establish communication with the print control device via the communication path,
The print control device pushes data described based on a format related to a markup language to the printing device via the communication path,
The printing apparatus receives the data by the communication control unit via the communication path, and the print control unit controls the data described based on the format according to the markup language to control a command system of the printing apparatus. A print control system that converts commands into commands and controls the printing unit to print.
前記非同期の双方向通信は、WebSocket通信であり、前記印刷制御装置と前記印刷装置の関係は、サーバーとクライアントの関係である請求項1に記載の印刷制御システム。   The print control system according to claim 1, wherein the asynchronous bidirectional communication is WebSocket communication, and a relationship between the print control device and the print device is a relationship between a server and a client. 前記通信制御部は、前記印刷装置の電源投入時に前記通信経路を介する通信の確立を行う請求項2に記載の印刷制御システム。   The print control system according to claim 2, wherein the communication control unit establishes communication via the communication path when the printing apparatus is powered on. 印刷装置であって、
印刷制御装置と非同期の双方向通信を行う通信経路を介して通信を制御する通信制御部と、
印刷を行う印刷部と、
前記通信経路を介して前記通信制御部により受信したデータに基づいて、前記印刷部を制御して前記データを印刷させる印刷制御部と、
前記印刷制御装置のアドレスを示すアドレス情報を記憶する記憶部と、を備え、
前記記憶部は、前記印刷装置の識別情報を記憶し、
他の前記印刷装置とともにローカルネットワークに接続され、前記ローカルネットワークに接続するネットワークを介して前記印刷制御装置に接続可能であり、
前記通信制御部は、前記記憶部が記憶する前記アドレス情報に基づいて、前記印刷制御装置にアクセスし、前記印刷装置の識別情報を前記印刷制御装置へ送信して、前記印刷制御装置との間で前記通信経路を介する通信を確立し、前記印刷制御装置がプッシュ送信した、マークアップ言語に係るフォーマットに基づいて記述された前記データを受信し、
前記印刷制御部は、前記マークアップ言語に係るフォーマットに基づいて記述された前記データを前記印刷装置のコマンド体系の制御コマンドに変換し、前記印刷部を制御して印刷させる印刷装置。
A printing device,
A communication control unit that controls communication via a communication path that performs asynchronous bidirectional communication with the print control device;
A printing section for printing;
A printing control unit that controls the printing unit to print the data based on data received by the communication control unit via the communication path;
A storage unit for storing address information indicating an address of the print control apparatus,
The storage unit stores identification information of the printing apparatus,
Connected to a local network together with the other printing device, and connectable to the print control device via a network connected to the local network;
The communication control unit accesses the print control device based on the address information stored in the storage unit , transmits identification information of the print device to the print control device, and communicates with the print control device. The communication via the communication path is established, and the print control device push-transmits the data described based on the markup language format,
The printing control unit converts the data described based on the format related to the markup language into a control command of a command system of the printing device, and controls the printing unit to print.
前記非同期の双方向通信は、WebSocket通信であり、前記印刷制御装置と前記印刷装置の関係は、サーバーとクライアントの関係である請求項に記載の印刷装置。 The printing apparatus according to claim 4 , wherein the asynchronous bidirectional communication is WebSocket communication, and a relationship between the print control device and the printing device is a relationship between a server and a client.
JP2013227827A 2013-11-01 2013-11-01 Print control system and printing apparatus Active JP6331337B2 (en)

Priority Applications (11)

Application Number Priority Date Filing Date Title
JP2013227827A JP6331337B2 (en) 2013-11-01 2013-11-01 Print control system and printing apparatus
IN2931DE2014 IN2014DE02931A (en) 2013-11-01 2014-10-13
CA2868692A CA2868692C (en) 2013-11-01 2014-10-24 Print control system and print control method
CN201410589906.1A CN104615389B (en) 2013-11-01 2014-10-28 Print control system and print control program
TW103137481A TWI569981B (en) 2013-11-01 2014-10-29 Print control system, print control method and print device
US14/527,614 US9195418B2 (en) 2013-11-01 2014-10-29 Print control system and print control method
EP14190997.8A EP2869187B1 (en) 2013-11-01 2014-10-30 Print control system and print control method
KR1020140149340A KR101630280B1 (en) 2013-11-01 2014-10-30 Print control system, print control method, and printing device
BR102014027344A BR102014027344A2 (en) 2013-11-01 2014-10-31 print control system and print control method
US14/885,658 US9542133B2 (en) 2013-11-01 2015-10-16 Print control system and print control method
US15/363,457 US10091388B2 (en) 2013-11-01 2016-11-29 Print control system and print control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013227827A JP6331337B2 (en) 2013-11-01 2013-11-01 Print control system and printing apparatus

Publications (3)

Publication Number Publication Date
JP2015088077A JP2015088077A (en) 2015-05-07
JP2015088077A5 JP2015088077A5 (en) 2016-12-08
JP6331337B2 true JP6331337B2 (en) 2018-05-30

Family

ID=53050760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013227827A Active JP6331337B2 (en) 2013-11-01 2013-11-01 Print control system and printing apparatus

Country Status (1)

Country Link
JP (1) JP6331337B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003108449A (en) * 2001-10-02 2003-04-11 Seiko Epson Corp Intermediary device connected to network
JP2012160992A (en) * 2011-02-02 2012-08-23 Renesas Electronics Corp Clock synchronous serial communication device and communication control method thereof
JP2012220945A (en) * 2011-04-13 2012-11-12 Technomate Co Ltd Cleaner for 3d spectacles
JP2013103477A (en) * 2011-11-16 2013-05-30 Canon Inc Image forming apparatus, print control method, and program
JP5817545B2 (en) * 2012-01-18 2015-11-18 セイコーエプソン株式会社 Print trial device, print trial program, print trial method, print control server
JP6053364B2 (en) * 2012-07-19 2016-12-27 キヤノン株式会社 Information processing system, server device, client device, and control method
JP6039339B2 (en) * 2012-10-03 2016-12-07 キヤノン株式会社 Image forming apparatus, control method, and computer program

Also Published As

Publication number Publication date
JP2015088077A (en) 2015-05-07

Similar Documents

Publication Publication Date Title
US10091388B2 (en) Print control system and print control method
JP6291846B2 (en) Print control system, print control method, and printing apparatus
JP6331337B2 (en) Print control system and printing apparatus
JP2015130087A (en) Pos control system, and control method of pos control system
JP6268931B2 (en) Print control apparatus and print control system
JP2015141569A (en) Print control system and control method of the same
JP6287215B2 (en) POS control system, printing apparatus, and control method of POS control system
JP6281248B2 (en) Printing apparatus, printing apparatus control method, and printing control system
JP6260231B2 (en) Print control system and print control method
JP2015088105A (en) Printer and print control system
JP6343931B2 (en) Print control system and print control method
JP2015089678A (en) Printer and printing control system
JP2015090643A (en) Printing control device and printing control system
JP6252115B2 (en) Print control system
JP6221681B2 (en) Print control system and print control method
JP2015146153A (en) Print control system, and control method of print control system
JP2015090644A (en) Printing control device and printing control system
JP2015148874A (en) Print control system control method and print control system
JP2015090646A (en) Printing control device and printing control system
JP6269055B2 (en) Print control system control method, print control system, and printing apparatus
JP2014142802A (en) Network print relaying device and system, and network print relaying method
JP2015127877A (en) Print control system and print control method
JP2015106245A (en) Print control system and print control method
JP2015106366A (en) Print control system and print controller
JP2015148873A (en) Control system and control system control method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161024

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161024

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170718

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170907

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20171219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180312

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20180319

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180416

R150 Certificate of patent or registration of utility model

Ref document number: 6331337

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150