JP6269055B2 - Print control system control method, print control system, and printing apparatus - Google Patents
Print control system control method, print control system, and printing apparatus Download PDFInfo
- Publication number
- JP6269055B2 JP6269055B2 JP2013271885A JP2013271885A JP6269055B2 JP 6269055 B2 JP6269055 B2 JP 6269055B2 JP 2013271885 A JP2013271885 A JP 2013271885A JP 2013271885 A JP2013271885 A JP 2013271885A JP 6269055 B2 JP6269055 B2 JP 6269055B2
- Authority
- JP
- Japan
- Prior art keywords
- setting
- printing
- unit
- identification information
- 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
Links
Images
Description
本発明は、印刷装置を備える印刷制御システムの制御方法、及び印刷制御システムに関する。 The present invention relates to a control method for a print control system including a printing apparatus, and a print control system.
従来、印刷制御装置の制御の下、印刷装置によって印刷媒体に印刷し、レシートを発行する印刷制御システムが知られている(例えば、特許文献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 printing control system, a printing apparatus and a printing control apparatus are connected via a network, and these apparatuses communicate via the network. Further, the printing apparatus executes a printing process according to settings such as a printing speed and a printing density.
上述した印刷制御システムのように、印刷装置と、印刷制御装置とがネットワークを介して通信するシステムでは、印刷装置と印刷制御装置とがネットワークを介して通信する構成を用いて印刷装置の設定を変更できるようにしたいとするニーズがある。
本発明は、上述した事情に鑑みてなされたものであり、印刷装置と印刷制御装置とがネットワークを介して通信する印刷制御システムについて、印刷装置と印刷制御装置とがネットワークを介して通信する構成を用いて印刷装置の設定を変更できるようにすることを目的とする。
In a system in which the printing apparatus and the print control apparatus communicate via a network, such as the print control system described above, the setting of the printing apparatus is set using a configuration in which the printing apparatus and the print control apparatus communicate via the network. There is a need to be able to change.
The present invention has been made in view of the circumstances described above, and relates to a print control system in which a printing apparatus and a print control apparatus communicate via a network, and a configuration in which the printing apparatus and the print control apparatus communicate via a network. An object of the present invention is to make it possible to change the setting of a printing apparatus by using.
上記目的を達成するために、本発明の印刷制御システムの制御方法は、印刷装置と印刷制御装置とでネットワークを介した通信経路を確立し、前記通信経路の確立後、前記印刷装置から印刷に関する設定値を要求する要求コマンドを前記印刷制御装置に前記通信経路で送信し、前記印刷制御装置で前記要求コマンドを受信し、受信した前記要求コマンドに基づいて前記印刷装置に前記印刷に関する設定値を設定させる設定制御データを送信し前記印刷装置で前記設定制御データを受信し、受信した前記設定制御データに基づいて前記印刷装置で印刷に関する設定を行うことを特徴とする。
本発明の構成によれば、印刷装置と印刷制御装置との間で通信経路が確立した後、印刷装置は、印刷制御装置と通信して、印刷制御装置の機能を用いて、印刷に関する設定を行う。このため、印刷装置と印刷制御装置とがネットワークを介して通信する構成を用いて印刷装置の設定を変更できる。
In order to achieve the above object, a control method for a print control system according to the present invention establishes a communication path via a network between a printing apparatus and a print control apparatus, and relates to printing from the printing apparatus after the establishment of the communication path. A request command for requesting a setting value is transmitted to the print control apparatus via the communication path, the request command is received by the print control apparatus, and a setting value related to the printing is set in the printing apparatus based on the received request command. Setting control data to be set is transmitted, the setting control data is received by the printing apparatus, and settings related to printing are performed by the printing apparatus based on the received setting control data.
According to the configuration of the present invention, after the communication path is established between the printing apparatus and the printing control apparatus, the printing apparatus communicates with the printing control apparatus and uses the functions of the printing control apparatus to set the settings related to printing. Do. For this reason, the setting of the printing apparatus can be changed using a configuration in which the printing apparatus and the print control apparatus communicate via a network.
また、前記印刷装置の電源が投入されたときに、前記印刷装置は前記印刷制御装置との前記通信経路を確立する。
本発明の構成によれば、電源投入時に、印刷装置により自動で通信経路が確立されるため、ユーザーによる通信経路の確立のための作業が必要なく、また、電源投入後、印刷制御装置の機能により、印刷装置に設定処理を行わせることができる。
In addition, when the power of the printing apparatus is turned on, the printing apparatus establishes the communication path with the print control apparatus.
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, the user does not need to establish a communication path, and the function of the print control apparatus after the power is turned on Thus, it is possible to cause the printing apparatus to perform setting processing.
また、前記要求コマンドは、前記印刷装置の識別情報を有し、前記印刷制御装置は、前記識別情報と前記設定値を含む設定情報とを対応付けて記憶し、前記印刷制御装置で前記要求コマンドを受信した場合、前記印刷制御装置は前記要求コマンドに含まれる前記識別情報と対応付けられた前記設定情報を取得し、取得した前記設定情報に基づいて前記設定制御データを生成する。
本発明の構成によれば、印刷制御装置は、要求コマンドに含まれる印刷装置識別情報、及び、記憶する情報に基づいて、対応する設定情報を取得し、設定制御データを生成できる。
The request command includes identification information of the printing apparatus, and the print control apparatus stores the identification information and setting information including the setting value in association with each other, and the request command is stored in the print control apparatus. The print control apparatus acquires the setting information associated with the identification information included in the request command, and generates the setting control data based on the acquired setting information.
According to the configuration of the present invention, the print control apparatus can acquire the corresponding setting information and generate the setting control data based on the printing apparatus identification information included in the request command and the stored information.
また、本発明の印刷制御システムは、印刷を行う印刷部、印刷制御データに基づいて前記印刷部を制御する印刷制御部、通信経路を確立する通信制御部、及び前記通信経路が確立したときに印刷に関する設定値を要求する要求コマンドを送信して当該送信に応じて受信した設定制御データに基づいて設定処理を行う設定制御部を有する印刷装置と、前記印刷制御データを生成する印刷データ処理部、前記印刷装置から受信した前記要求コマンドに応じて前記設定制御データを生成する設定処理部、及び前記印刷データ処理部で生成された前記印刷制御データと前記設定処理部で生成された前記設定制御データとを前記通信経路で前記印刷装置に送信する接続部を有する印刷制御装置と、を備えることを特徴とする。
本発明の構成によれば、印刷装置と印刷制御装置との間で通信経路が確立した後、印刷装置は、印刷制御装置と通信して、印刷制御装置の機能を用いて、印刷に関する設定を行う。このため、印刷装置と印刷制御装置とがネットワークを介して通信する構成を用いて印刷装置の設定を変更できる。
The printing control system of the present invention includes a printing unit that performs printing, a printing control unit that controls the printing unit based on printing control data, a communication control unit that establishes a communication path, and when the communication path is established A printing apparatus having a setting control unit that transmits a request command for requesting a setting value related to printing and performs setting processing based on setting control data received in response to the transmission, and a print data processing unit that generates the print control data A setting processing unit that generates the setting control data in response to the request command received from the printing apparatus; the print control data generated by the print data processing unit; and the setting control generated by the setting processing unit And a printing control apparatus having a connection unit that transmits data to the printing apparatus through the communication path.
According to the configuration of the present invention, after the communication path is established between the printing apparatus and the printing control apparatus, the printing apparatus communicates with the printing control apparatus and uses the functions of the printing control apparatus to set the settings related to printing. Do. For this reason, the setting of the printing apparatus can be changed using a configuration in which the printing apparatus and the print control apparatus communicate via a network.
また、前記印刷装置の前記通信制御部は、前記印刷装置の電源が投入されたときに、前記印刷制御装置との間で前記通信経路の確立を行う。
本発明の構成によれば、電源投入時に、印刷装置により自動で通信経路が確立されるため、ユーザーによる通信経路の確立のための作業が必要なく、また、電源投入後、印刷制御装置の機能により、印刷装置に設定処理を行わせることができる。
The communication control unit of the printing apparatus establishes the communication path with the print control apparatus when the printing apparatus is powered 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, the user does not need to establish a communication path, and the function of the print control apparatus after the power is turned on Thus, it is possible to cause the printing apparatus to perform setting processing.
また、前記要求コマンドは、前記印刷装置を識別する識別情報を有し、前記印刷制御装置は、前記識別情報と、設定する設定値を含む設定情報とを対応付けて記憶する記憶部を有し、前記印刷制御装置の前記設定処理部は、前記要求コマンドを受信した場合、前記要求コマンドに含まれる前識別情報と対応付けられた前記設定情報を取得し、取得した前記設定情報に基づいて前記設定制御データを生成する。
本発明の構成によれば、印刷制御装置は、要求コマンドに含まれる印刷装置識別情報、及び、記憶部が記憶する情報に基づいて、対応する設定情報を取得し、設定制御データを生成できる。
The request command includes identification information for identifying the printing apparatus, and the print control apparatus includes a storage unit that stores the identification information and setting information including setting values to be set in association with each other. When the request command is received, the setting processing unit of the print control apparatus acquires the setting information associated with the previous identification information included in the request command, and based on the acquired setting information Generate setting control data.
According to the configuration of the present invention, the print control apparatus can acquire corresponding setting information and generate setting control data based on the printing apparatus identification information included in the request command and the information stored in the storage unit.
また、前記識別情報を有して前記識別情報と対応付けられた前記設定情報の内容の変更を指示する変更コマンドを生成する制御部、及び前記制御部で生成された前記変更コマンドを前記印刷制御装置に送信する通信接続部を有する管理装置を備える。
本発明の構成によれば、管理装置は、所定の印刷装置識別情報が示す設定情報の内容を変更することができ、所定の印刷装置識別情報が示す印刷装置の設定を変更することができる。
A control unit that generates a change command that instructs to change the content of the setting information that has the identification information and is associated with the identification information; and the print control that generates the change command generated by the control unit. A management device having a communication connection for transmitting to the device;
According to the configuration of the present invention, the management apparatus can change the content of the setting information indicated by the predetermined printing apparatus identification information, and can change the setting of the printing apparatus indicated by the predetermined printing apparatus identification information.
また、前記印刷装置と、前記印刷制御装置とは、非同期の双方向通信を行う。
本発明の構成によれば、印刷制御装置は、印刷装置からリクエストを受けることなく、任意のタイミングで印刷装置にデータを送信して、印刷装置にデータに基づく処理を行わせることができる。
The printing apparatus and the printing control apparatus perform asynchronous bidirectional communication.
According to the configuration of the present invention, the print control apparatus can transmit data to the printing apparatus at an arbitrary timing without receiving a request from the printing apparatus, and can cause the printing apparatus to perform processing based on the data.
以下、図面を参照して本発明の実施形態について説明する。
図1は、本実施形態に係る印刷制御システム1の構成を示す図である。
図1に示すように、印刷制御システム1は、制御サーバー10(印刷制御装置)を備え、制御サーバー10にインターネット等のネットワークGNを介して複数の店舗システム11と接続する。また、ネットワークGNには、複数の管理装置14を接続する。
店舗システム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の制御に従って、印刷に係る処理を実行する。
管理装置14は、後述するように1又は複数の店舗システム11を管理する装置である。例えば、管理装置14は、店舗を運営する企業の本社に設けられ、当該店舗を運営する企業のグループに属する複数の店舗に設けられた店舗システム11を管理する。後述するように、管理装置14は、管理する店舗システム11の所定の印刷装置12を制御して、当該所定の印刷装置12に印刷を実行させることができる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration of a
As shown in FIG. 1, the
The
The
The
In the
The
図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のプロトコル、手続きに従った非同期な双方向通信である。
WebSocketコネクションCTの確立により、印刷装置12、及び、制御サーバー10は、非同期で、双方向通信できる。つまり、制御サーバー10は、クライアントとしての印刷装置12からリクエストを受けることなく、任意のタイミングで、WebSocketコネクションCTによりWebSocket通信で印刷装置12にデータをプッシュ送信できる。同様に、印刷装置12は、任意のタイミングで、WebSocketコネクションCTで制御サーバー10に対してデータをプッシュ送信できる。
また、制御サーバー10は、複数の管理装置14と通信可能に接続する。後述するように、管理装置14は、制御サーバー10を介して、所定の印刷装置12に印刷制御データを送信し、当該所定の印刷装置12に印刷を実行させることができる。
FIG. 2 is a diagram illustrating a communication path established between the
As shown in FIG. 2, in the
WebSocket is one of the communication standards that enables asynchronous two-way communication. In the WebSocket, after the server and the client establish the WebSocket connection CT, data transmission / reception is performed using the protocol using 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
The WebSocket communication is asynchronous two-way communication according to the WebSocket protocol and procedure, which is performed between the
By establishing the WebSocket connection CT, the
Further, the
本実施形態において、制御サーバー10は、印刷装置12をクライアントとする、クラウドシステムのクラウドサーバーである。すなわち、制御サーバー10は、演算処理機能を有し、印刷装置12の要求や、管理装置14の要求、所定の条件の成立等をトリガーとして所定の演算処理を実行し、演算処理の結果に基づくデータを、WebSocketコネクションCTで印刷装置12に送信する。
なお、図2では、制御サーバー10を、1つのブロックによって表現するが、これは、制御サーバー10が単一のサーバー装置により構成されることを意味するものではない。例えば、制御サーバー10は、複数のサーバー装置を含んで構成されたものであってもよく、所定のシステムの一部の機能により実現されるサーバーであってもよい。すなわち、後述する各種処理を実現可能な構成であれば、その形態を問わない。
また、本実施形態では、制御サーバー10と、印刷装置12との間で、WebSocket通信を行う。しかしながら、これら装置が、WebSocket通信に代えて、WebSocket通信と同様な非同期な双方向通信を行う構成であってもよい。
In the present embodiment, the
In FIG. 2, the
In the present embodiment, WebSocket communication is performed between the
このように、印刷制御システム1は、印刷機能を有する印刷装置12を、複数台(例えば、1000台)、WebSocketコネクションCTで、制御サーバー10との間で通信可能に接続する。
このような構成のため、以下の効果を得ることができる。
すなわち、制御サーバー10は、複数の店舗システム11に接続された複数の印刷装置12から受信したデータに基づく情報を収集し、管理、分析できる。このため、制御サーバー10は、有益な情報を蓄積することができる。蓄積した情報は、いわゆるビッグデータとして活用可能である。
また、店舗システム11の構築の簡易化、及び、低コスト化を図ることが可能となる。すなわち、印刷制御システム1では、印刷装置12がWebSocketコネクションCTにより制御サーバー10に接続される。このため、制御サーバー10が提供するサービスを用いて、制御サーバー10の制御で、印刷装置12に各種処理を実行させることが可能である。従って、店舗システム11を構築する管理者は、店舗システム11の構築に際し、印刷装置12を所望の場所に設置し、印刷装置12をネットワークGNに接続する、という簡易な作業を行えばよい。これにより、制御サーバー10が提供するサービスを用いて、印刷装置12に所望の処理、例えば、レシートの発行に係る処理を実行させることが可能となる。管理装置14においても、構築の簡易化、及び、低コスト化を図ることができる。
特に、店舗システム11を構築する管理者は、1又は複数の店舗システム11を管理する管理装置14に、印刷装置12を制御する機能を有する必要がない。管理装置14は、制御サーバー10にアクセスし、制御サーバー10が提供するサービスを用いることによって、制御サーバー10に接続された印刷装置12を制御できる。これにより、店舗システム11の構築の簡易化、及び、低コスト化を図ることが可能となる。
また、制御サーバー10に、異なる店舗システム11の印刷装置12がWebSocketコネクションCTで接続されるため、制御サーバー10は、複数の店舗システム11に接続された複数の印刷装置12を管理できる。また、制御サーバー10は、複数の店舗システム11に接続された複数の印刷装置12を動作させることが可能となる。
As described above, the
Due to such a configuration, the following effects can be obtained.
That is, the
In addition, the construction of the
In particular, an administrator who constructs the
Further, since the
図3は、本実施形態に係る印刷装置12、制御サーバー10、及び、管理装置14の機能的構成を示すブロック図である。
図3に示すように、印刷装置12は、通信制御部15と、通信部16と、印刷制御部17と、印刷部18と、設定制御部23と、印刷装置記憶部19と、を備える。
通信制御部15、通信部16、印刷制御部17、及び、設定制御部23の機能については後述する。
印刷部18は、印刷媒体に印刷する印刷機構、印刷媒体を搬送する搬送機構、印刷媒体を切断する切断機構等の印刷に係る機構、及び、各機構の制御に係る制御基板等を備える。
印刷装置記憶部19は、不揮発性メモリーを備え、各種データを記憶する。印刷装置記憶部19は、通信先情報データ19aと、印刷装置識別情報データ19bと、機能部管理データベース19cと、を記憶するが、これらデータについては後述する。
以下の説明では、印刷制御部17、及び、設定制御部23を区別せずに表現する場合、これら機能ブロックを総称して「機能部」と表現する。
FIG. 3 is a block diagram showing a functional configuration of the
As illustrated in FIG. 3, the
The functions of the
The
The printing
In the following description, when the
図3に示すように、制御サーバー10は、通信管理部25と、第1接続部26(接続部)と、印刷データ処理部27と、設定処理部31と、制御サーバー記憶部28(記憶部)と、第2接続部30と、を備える。
通信管理部25、第1接続部26、印刷データ処理部27、及び、設定処理部31の機能については、後述する。
制御サーバー記憶部28は、不揮発性メモリーを備え、各種データを記憶する。制御サーバー記憶部28は、コネクション管理データベース28aと、処理部管理データベース28bと、設定情報データベース28cと、を記憶するが、これについては後述する。
第2接続部30は、通信管理部25の制御に従って、管理装置14との間で、HTTP通信を行う。すなわち、管理装置14にウェブブラウザーがインストールされており、第2接続部30は、管理装置14との間で、制御サーバー10をサーバーとし、管理装置14をクライアントとするHTTP通信をコネクションにより行う。
以下の説明では、印刷データ処理部27、及び、設定処理部31を区別せずに表現する場合、これら機能ブロックを総称して「処理部」と表現する。
As shown in FIG. 3, the
The functions of the
The control
The
In the following description, when the print
また、管理装置14は、管理装置制御部40(制御部)と、通信接続部41と、表示部42と、を備える。
管理装置制御部40は、CPUや、ROM、RAM、その他の周辺回路等を備え、管理装置14を制御する。管理装置14は、機能ブロックとして、ブラウザー実行部40aを備える。ブラウザー実行部40aは、ウェブブラウザーによって実現される機能ブロックである。
通信接続部41は、管理装置制御部40の制御で、コネクションKKにより制御サーバー10とHTTP通信を行う。
表示部42は、液晶表示パネル等の表示パネルを備え、管理装置制御部40の制御に従って、表示パネルに画像を表示する。
The
The management
The
The
なお、図3では、制御サーバー10と、制御サーバー10に接続された1つの印刷装置12との関係を示す。制御サーバー10に、複数の印刷装置12が接続される場合は、制御サーバー10は、複数の印刷装置12に対応して複数の第1接続部26(WebSocketインターフェース)を備え、印刷装置12との間でWebSocketコネクションCTを確立し、印刷装置12とWebSocketコネクションCTでWebSocket通信する。
また、図3では、制御サーバー10と、制御サーバー10に接続された1つの管理装置14との関係を示す。制御サーバー10に、複数の管理装置14が接続される場合は、制御サーバー10は、複数の管理装置14に対応して複数の第2接続部30を備え、管理装置14との間でコネクションKKを確立し、管理装置14とコネクションKKで通信する。
FIG. 3 shows the relationship between the
Further, FIG. 3 shows the relationship between the
次に、印刷装置12の電源投入時における、印刷装置12、及び、制御サーバー10の動作について説明する。
図4、5は、印刷装置12に電源が投入された後の印刷装置12、及び、制御サーバー10の動作を示すフローチャートであり、(A)は印刷装置12の動作を、(B)は制御サーバー10の動作を示す。
なお、図4、5のフローチャートの処理のトリガーは、電源投入時に限らない。例えば、印刷装置12がネットワークGNに通信可能に接続された場合や、ユーザーから指示があった場合等であってもよい。
また、以下の説明では、印刷装置12は、対応する店舗システム11のローカルエリアネットワークLNに接続され、ネットワークGNにアクセス可能である。
Next, operations of the
4 and 5 are flowcharts showing the operations of the
4 and 5 is not limited to when the power is turned on. For example, the case where the
In the following description, the
また、以下の説明において、印刷装置12が備える通信制御部15、印刷制御部17、設定制御部23、及び、制御サーバー10が備える通信管理部25、印刷データ処理部27、設定処理部31の機能は、例えば、以下のようにして実現される。
これら機能ブロックは、オブジェクトである。オブジェクトは、オブジェクト指向プログラミングで生成されるインスタンス、すなわち、データ、及び、メソッドの集合として定義された機能ブロックである。そして、これら機能ブロックの機能は、機能ブロックに実装されたメソッドが呼び出されることによって実現される。
また例えば、これら機能ブロックの機能は、アプリケーションがCPU等のハードウェアによって読み出され実行されることによって、実現される。1つのアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよい。また、1つのアプリケーションにより複数の機能ブロックの機能が実現される構成であってもよい。また、複数のアプリケーションにより1つの機能ブロックの機能が実現される構成であってもよい。
すなわち、機能ブロックは、機能をブロックとして表現したものであり、特定のアプリケーションや、ハードウェア等を意味するものではない。
In the following description, the
These functional blocks are objects. An object is a functional block defined as a collection of instances, ie, data and methods, generated by object-oriented programming. And the function of these functional blocks is implement | achieved by calling the method mounted in the functional block.
Further, for example, the functions of these functional blocks are realized by an application being read and executed by hardware such as a CPU. A configuration in which the function of one functional block is realized by one application may be employed. Moreover, the structure by which the function of a some functional block is implement | achieved by one application may be sufficient. Moreover, the structure by which the function of one functional block is implement | achieved by several applications may be sufficient.
In other words, the function block represents a 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コネクションCTの確立する際に、アクセスする制御サーバー10のアドレス(ドメイン名、IPアドレス、パス名、ポート情報等。)を示すデータである。ここで、WebSocket通信では、WebSocketコネクションCTの確立に、クライアント(本例では、印刷装置12)は、サーバー(本例では、制御サーバー10)に対して、HTTP(Hypertext Transfer Protocol)でハンドシェイクを行う。当該ハンドシェイクで、クライアントは、サーバーのアドレスを有するメッセージ等の各種メッセージを送信するが、通信先情報データ19aは、アクセス先のアドレスを有する。
次いで、通信制御部15は、通信先情報データ19aが示すアドレスに基づいて、制御サーバー10の通信管理部25と共に、通信部16と第1接続部26との間に、WebSocketコネクションCTを確立する(ステップSA2、ステップSB1)。本実施形態に係る印刷装置12は、ユーザーによる指示や、制御サーバー10からの要求を受けることなく、電源の投入をトリガーとしてWebSocketコネクションCTを確立する。
通信部16、及び、第1接続部26は、WebSocketの規格、手続きに従ってデータの送受信を行うWebSocketインターフェースである。これら機能ブロックは、例えば、WebSocketのSocketライブラリーを用いて生成される。
すなわち、通信部16は、通信制御部15や、印刷制御部17、設定制御部23から受信したデータについて、WebSocketのプロトコルに従って処理を行い、WebSocketの手続きでWebSocketコネクションCTによりデータを送信する機能を有する。また、通信部16は、WebSocketコネクションCTにより受信したデータについて、WebSocketに従った処理を行って、通信制御部15等に送信する機能を有する。第1接続部26についても同様である。
WebSocketコネクションCTの確立に伴って、印刷装置12、及び、制御サーバー10は、非同期で、双方向通信できる。制御サーバー10は、クライアントとしての印刷装置12からリクエストを受けることなく、WebSocketコネクションCTによりプッシュ送信で印刷装置12にデータを送信できる。同様に、印刷装置12は、WebSocketコネクションCTによりプッシュ送信で制御サーバー10にデータを送信できる。
As shown in FIG. 4A, when the
The communication destination information data 19a is data indicating the address (domain name, IP address, path name, port information, etc.) of the
Next, the
The
That is, the
With the establishment of the WebSocket connection CT, the
また、WebSocketコネクションCTの確立により、印刷装置12の印刷制御部17と、制御サーバー10の印刷データ処理部27との間で、WebSocketコネクションCTに基づく第1機能部間通信経路KT1が確立する。第1機能部間通信経路KT1は、印刷制御部17と、印刷データ処理部27との間で通信するデータを送受信する論理的な通信経路である。印刷制御部17と印刷データ処理部27とは、第1機能部間通信経路KT1により、非同期な双方向通信を行う。第1機能部間通信経路KT1により行われる非同期な双方向通信については後述する。
また、WebSocketコネクションCTの確立により、印刷装置12の設定制御部23と制御サーバー10の設定処理部31との間で、WebSocketコネクションCTに基づく第2機能部間通信経路KT2が確立する。第2機能部間通信経路KT2は、設定制御部23と設定処理部31との間で通信するデータを送受信する論理的な通信経路である。設定制御部23と設定処理部31とは、第2機能部間通信経路KT2により、非同期な双方向通信を行う。第2機能部間通信経路KT2により行われる非同期な双方向通信については後述する。
印刷装置12の通信制御部15は、印刷装置記憶部19にアクセスし、印刷装置記憶部19で記憶する印刷装置識別情報データ19bを取得する(ステップSA3)。印刷装置識別情報データ19bは、印刷装置12の識別情報(印刷装置12を識別する情報、以下「印刷装置識別情報」という。)を示すデータである。印刷装置識別情報は、例えば、印刷装置12の製造段階で、印刷装置12に割り当てられるシリアル番号である。
次いで、通信制御部15は、取得した印刷装置識別情報データ19bを通信部16に送信する(ステップSA4)。
通信部16は、受信した印刷装置識別情報データ19bを、WebSocketコネクションCTにより、制御サーバー10に送信する(ステップSA5)。
Further, the establishment of the WebSocket connection CT establishes a first inter-functional-unit communication path KT1 based on the WebSocket connection CT between the
In addition, the establishment of the WebSocket connection CT establishes a second functional unit communication path KT2 based on the WebSocket connection CT between the setting
The
Next, the
The
図4(B)に示すように、制御サーバー10の第1接続部26は、WebSocketコネクションCTにより、印刷装置識別情報データ19bを受信する(ステップSB2)。
次いで、第1接続部26は、受信した印刷装置識別情報データ19bを、通信管理部25に送信する(ステップSB3)。
通信管理部25は、制御サーバー記憶部28で記憶するコネクション管理データベース28aにアクセスする(ステップSB4)。コネクション管理データベース28aは、確立しているWebSocketコネクションCTについて、WebSocketコネクションCTの識別情報であるコネクション識別情報と、上述した印刷装置識別情報とを対応付けて記憶するデータベースである。
次いで、通信管理部25は、コネクション管理データベース28aに1件のレコードを生成する。そして、通信管理部25は、生成したレコードにおいて、ステップSB1で確立したWebSocketコネクションCTのコネクション識別情報と、ステップSB2で受信した印刷装置識別情報データ19bが示す印刷装置識別情報とを対応付けて記憶する(ステップSB5)。通信管理部25は、WebSocketコネクションCTが確立したときに、既に確立しているWebSocketコネクションCTのコネクション識別情報と異なる値のコネクション識別情報を生成する。このステップSB4の処理により、制御サーバー10で、WebSocketコネクションCTと、印刷装置12との対応関係が管理される。
このように、印刷装置12は、ユーザーによる指示や、制御サーバー10からの要求を受けることなく、電源の投入をトリガーとしてWebSocketコネクションCTを確立する。このような構成のため、ユーザーは、WebSocketコネクションCTを確立するために、煩雑な作業を行う必要がない。また、ユーザーは、WebSocketコネクションCTを確立するために、専門的な知識も必要ない。電源投入後、印刷装置12を、制御サーバー10の制御で各種処理を実行できる状態とすることができる。
As shown in FIG. 4B, the
Next, the
The
Next, the
In this way, the
図4(A)に示すように、印刷装置12の設定制御部23は、要求コマンドを生成する(ステップSA6)。要求コマンドは、制御サーバー10に対して設定制御データ(後述)の送信を要求するコマンドである。要求コマンドは、所定のフォーマットに従ったデータである。
次いで、設定制御部23は、生成した要求コマンドに、印刷装置識別情報、及び、設定制御部23の機能部識別情報を付加する(ステップSA7)。機能部識別情報は、印刷装置12が備える機能部の識別情報である。従って、印刷装置12が備える印刷制御部17、及び、設定制御部23には、異なる値の機能部識別情報が割り当てられる。ステップSA7では、設定制御部23は、印刷装置記憶部19が記憶する印刷装置識別情報データ19bを参照し、当該データに基づいて、要求コマンドに印刷装置識別情報を付加する。また、設定制御部23は、当該設定制御部23に割り当てられた機能部識別情報を管理し、当該管理に基づいて、要求コマンドに機能部識別情報を付加する。
次いで、設定制御部23は、要求コマンドを、通信部16に送信する(ステップSA8)。
通信部16は、WebSocketコネクションCTで、要求コマンドを、制御サーバー10に送信する(ステップSA9)。
As shown in FIG. 4A, the setting
Next, the setting
Next, the setting
The
図4(B)に示すように、制御サーバー10の第1接続部26は、WebSocketコネクションCTにより、要求コマンドを受信する(ステップSB6)。
次いで、第1接続部26は、受信した要求コマンドを通信管理部25に送信する(ステップSB7)。
通信管理部25は、要求コマンドに付加された印刷装置識別情報、及び、機能部識別情報を取得する(ステップSB8)。次いで、通信管理部25は、制御サーバー記憶部28が記憶する処理部管理データベース28bを参照する(ステップSB9)。処理部管理データベース28bは、印刷装置識別情報及び機能部識別情報の組合せと処理部識別情報とを対応づけて記憶するデータベースである。次いで、通信管理部25は、ステップSB8で取得した印刷装置識別情報、及び、機能部識別情報の組合せをキーとして、処理部管理データベース28bで、当該識別情報の組合せと対応付けられた処理部識別情報を取得する(ステップSB10)。処理部識別情報は、制御サーバー10が備える処理部の識別情報である。従って、制御サーバー10が備える印刷データ処理部27、及び、設定処理部31には、異なる値の処理部識別情報が割り当てられる。ステップSB10で通信管理部25が取得した処理部識別情報は、WebSocketコネクションCTで受信したデータを送信する処理部を示す処理部識別情報である。次いで、通信管理部25は、ステップSB10で取得した処理部識別情報が示す処理部(本例では、設定処理部31)に、要求コマンドを送信する(ステップSB11)。なお、通信管理部25は、処理部と処理部識別情報との関係を管理し、1の処理部識別情報に基づいて、当該1の処理部識別情報に対応する処理部にデータを送信できる。
As shown in FIG. 4B, the
Next, the
The
図5(B)に示すように、制御サーバー10の設定処理部31は、要求コマンドを受信すると、制御サーバー記憶部28が記憶する設定情報データベース28cを参照する(ステップSB12)。
設定情報データベース28cは、制御サーバー10と接続する印刷装置12について、印刷装置識別情報と、設定情報と、を対応付けて記憶するデータベースである。
設定情報とは、印刷装置12の印刷部18に関する1又は複数の設定項目と、設定項目に設定する設定値とを対応付けた情報である。
本実施形態に係る印刷装置12は、設定項目として、印刷時の濃度に関する設定である印字濃度設定と、印刷時の速度に関する設定である印字速度設定と、印刷装置12にセットされる印刷媒体(本例では、ロール紙)の紙幅に関する設定である紙幅設定と、を有する。設定項目は、本実施形態で例示するものに限らず、例えば、ネットワークに関する設定や、音声出力機能を有する場合は音声に関する設定等、他の設定項目を含んでいてもよい。
また、本実施形態に係る印刷装置12は、印字濃度設定の設定値として、印字濃度が濃いことを示す「設定値:濃」と、印字濃度が薄いことを示す「設定値:薄」と、を有する。また、印刷装置12は、印字速度設定の設定値として、印字速度が速いことを示す「設定値:速」と、印字速度が遅いことを示す「設定値:遅」と、を有する。また、印刷装置12は、紙幅設定の設定値として、セットされるロール紙が80mmであることを示す「設定値:80mm」と、セットされるロール紙が58mmであることを示す「設定値:58mm」と、を有する。
例えば、設定情報は、印字濃度設定と「設定値:濃」とを対応付け、印字速度設定と「設定値:速」とを対応付け、紙幅設定と「設定値:80mm」とを対応付けた情報である。
As shown in FIG. 5B, when receiving the request command, the setting
The setting information database 28c is a database that stores printing apparatus identification information and setting information in association with each other for the
The setting information is information in which one or a plurality of setting items related to the
The
In addition, the
For example, the setting information associates the printing density setting with “setting value: dark”, associates the printing speed setting with “setting value: speed”, and associates the paper width setting with “setting value: 80 mm”. Information.
次いで、設定処理部31は、要求コマンドに付加された印刷装置識別情報をキーとして、設定情報データベース28cで、当該識別情報と対応付けられた設定情報を取得する(ステップSB13)。
次いで、設定処理部31は、取得した設定情報に基づいて、設定制御データを生成する(ステップSB14)。
設定制御データは、設定項目の設定値を指定し、印刷装置12の設定制御部23に、設定項目の設定値を、指定した設定値となるよう設定させることを指示するデータである。例えば、設定制御データは、印字濃度設定の設定値を「設定値:濃」と設定させ、印字速度設定の設定値を「設定値:速」と設定させ、紙幅設定の設定値を「設定値:80mm」と設定させることを指示するデータである。
次いで、設定処理部31は、設定制御データに、処理部識別情報を付加する(ステップSB15)。設定処理部31は、当該設定処理部31に割り当てられた処理部識別情報を管理する。
次いで、設定処理部31は、設定制御データを、第1接続部26に送信する(ステップSB16)。
第1接続部26は、受信した設定制御データを、WebSocketコネクションCTにより、印刷装置12に送信する(ステップSB17)。
Next, the setting
Next, the setting
The setting control data is data that designates the setting value of the setting item and instructs the setting
Next, the setting
Next, the setting
The
図5(A)に示すように、印刷装置12の通信部16は、WebSocketコネクションCTにより、設定制御データを受信する(ステップSA10)。次いで、通信部16は、通信制御部15に、設定制御データを送信する(ステップSA11)。
通信制御部15は、設定制御データに付加された処理部識別情報を取得する(ステップSA12)。
次いで、通信制御部15は、機能部管理データベース19cを参照する(ステップSA13)。
機能部管理データベース19cは、印刷装置12が備える機能部の識別情報である機能部識別情報と、対応する処理部の処理部識別情報と、を対応付けて記憶するデータベースである。
1の機能部と1の処理部とが対応する場合、当該1の処理部が送信したデータを当該1の機能部が処理でき、逆に、当該1の機能部が送信したデータを当該1の処理部が処理できる関係にある。従って、当該1の処理部は、対応関係にある当該1の機能部に対してデータを送信して、当該1の機能部に、当該1の機能部が有する機能に基づく処理を実行させることができる。また、当該1の機能部は、対応関係にある当該1の処理部に対してデータを送信して、当該1の処理部に、当該1の処理部が有する機能に基づく処理を実行させることができる。本例では、印刷装置12の印刷制御部17と、制御サーバー10の印刷データ処理部27とが対応する。また、印刷装置12の設定制御部23と、制御サーバー10の設定処理部31とが対応する。
次いで、通信制御部15は、ステップSA12で取得した処理部識別情報をキーとして、機能部管理データベース19cで、当該識別情報と対応付けられた機能部識別情報を取得する(ステップSA14)。
次いで、通信制御部15は、ステップSA14で取得した機能部識別情報が示す機能部(本例では、設定制御部23)に、設定制御データを送信する(ステップSA15)。通信制御部15は、機能部識別情報と機能部との関係を管理する。従って、通信制御部15は、1の機能部識別情報に基づいて、当該1の機能部識別情報が示す機能部にデータを送信できる。
As shown in FIG. 5A, the
The
Next, the
The functional unit management database 19c is a database that stores functional unit identification information that is identification information of functional units included in the
When one functional unit corresponds to one processing unit, the data transmitted by the one processing unit can be processed by the one functional unit, and conversely, the data transmitted by the one functional unit is There is a relationship that the processing unit can process. Therefore, the one processing unit can transmit data to the one functional unit in a corresponding relationship, and cause the one functional unit to execute processing based on the function of the one functional unit. it can. In addition, the one function unit may transmit data to the one processing unit having a correspondence relationship, and cause the one processing unit to execute processing based on the function of the one processing unit. it can. In this example, the
Next, using the processing unit identification information acquired in step SA12 as a key, the
Next, the
設定制御部23は、受信した設定制御データに基づいて、設定処理を行う(ステップSA16)。
設定処理は、設定制御部23が、設定項目の設定値を、設定制御データで指定された設定値に設定する処理である。
本実施形態では、印刷装置12の印刷装置記憶部19は、設定項目と、設定値とを対応付けた情報を有する設定ファイルを記憶する。そして、ステップSA16の設定処理で、設定制御部23は、設定ファイルにアクセスし、設定項目と、設定制御データで指定された対応する設定値とが対応付けられるように、設定ファイルの内容を書き換える。設定処理において、プログラムに定義された設定に関する変数の値を変更する等の処理を行ってもよい。
The setting
The setting process is a process in which the
In the present embodiment, the printing
以上のように、本実施形態では、印刷装置12の電源投入をトリガーとして、印刷装置12と、制御サーバー10との間で、WebSocketコネクションCTが確立される。そして、このWebSocketコネクションCTの確立後に、当該コネクションにより、印刷装置12は設定制御データの送信を要求し、制御サーバー10は当該要求に応じて設定制御データを送信する。印刷装置12は、受信した設定制御データに基づいて設定処理を行う。このような構成のため、印刷装置12は、ユーザーによる指示や、制御サーバー10からの要求を受けることなく、設定項目について対応する設定値を設定できる。また、ユーザーが設定に係る作業を行う必要がなく、また、ユーザーが設定を行うための専門的な知識を取得する必要がない。
また、以上のように、WebSocketコネクションCTが確立した後は、制御サーバー10の設定処理部31と、印刷装置12の設定制御部23とは、WebSocketコネクションCTに基づく第2機能部間通信経路KT2で、非同期の双方向通信を行う。
また、以上のように、制御サーバー10の通信管理部25は、受信したデータの送信先を、印刷データ処理部27、又は、設定処理部31に振り分ける。この構成のため、制御サーバー10が受信したデータは、対応する処理部に送信され、当該処理部により対応する処理が実行される。同様に、印刷装置12の通信制御部15は、受信したデータの送信先を、印刷制御部17、又は、設定制御部23に振り分ける。この構成のため、印刷装置12が受信したデータは、対応する機能部に送信され、当該機能部により対応する処理が実行される。
As described above, in this embodiment, the WebSocket connection CT is established between the
Further, as described above, after the WebSocket connection CT is established, the setting
As described above, the
次に、所定の印刷装置12の設定情報の内容を変更する場合の、制御サーバー10と、管理装置14との動作について説明する。
上述したように、制御サーバー10の制御サーバー記憶部28は、設定情報データベース28cを記憶する。設定情報データベース28cは、制御サーバー10と接続する印刷装置12について、印刷装置識別情報と、設定情報とを対応付けて記憶する。
そして、本実施形態に係る印刷制御システム1では、管理装置14は、所定の印刷装置12の設定情報の内容を変更することができる。
図6は、所定の印刷装置12の設定情報の内容を変更する場合の、制御サーバー10と、管理装置14との動作を示すフローチャートである。図6(A)は管理装置14の動作を示し、(B)は制御サーバー10の動作を示す。
なお、以下の説明において、管理装置14の管理装置制御部40のブラウザー実行部40aの機能は、例えば、ブラウザー上で動作するアプリケーションや、描画ファイル(後述)が有するスクリプトの機能により実行される。
Next, operations of the
As described above, the control
In the
FIG. 6 is a flowchart showing the operations of the
In the following description, the function of the browser execution unit 40a of the management
まず、ユーザーは、管理装置14のブラウザーを立ち上げ、所定のURLへのアクセスを指示する(ステップSY1)。当該所定のURLは、後述する印刷装置識別情報入力ユーザーインターフェース50(以下、「印刷装置識別情報入力UI50」と表現する。)を、ブラウザーウィンドーに表示する場合に管理装置14がアクセスするURLである。当該所定のURLは、制御サーバー10が管理するURLであり、ユーザーに対して予め通知される。
図6(A)に示すように、ステップSY1のユーザーの指示に応じて、管理装置14の管理装置制御部40のブラウザー実行部40aは、指定されたURLへアクセスし、印刷装置識別情報入力UI50の表示に係る描画ファイルを要求する(ステップSC1)。描画ファイルは、HTML(HyperText Markup Language)等のマークアップ言語で記述されたファイルであり、管理装置14のブラウザーウィンドーにウェブページを表示させるファイルである。
図6(B)に示すように、ステップSC1における管理装置14の要求に応じて、制御サーバー10は、印刷装置識別情報入力UI50に係る描画ファイルを生成し、管理装置14に送信する(ステップSD1)。
図6(A)に示すように、管理装置14の管理装置制御部40のブラウザー実行部40aは、ステップSC1の要求に応じて取得した描画ファイルに基づいて、印刷装置識別情報入力UI50を表示する(ステップSC2)。
First, the user starts up the browser of the
As shown in FIG. 6A, in response to a user instruction in step SY1, the browser execution unit 40a of the management
As shown in FIG. 6B, in response to the request of the
As shown in FIG. 6A, the browser execution unit 40a of the management
図7(A)は、印刷装置識別情報入力UI50の一例を示す図である。
図7(A)に示すように、印刷装置識別情報入力UI50は、ユーザーが印刷装置識別情報を入力する入力欄R1と、入力欄R1への入力を確定するボタンB1とを有する。
ユーザーは、入力欄R1に、設定情報の内容を変更する印刷装置12の印刷装置識別情報を入力し、ボタンB1を操作する(ステップSY2)。
管理装置14の管理装置制御部40のブラウザー実行部40aは、印刷装置識別情報入力UI50に入力された印刷装置識別情報を示すデータを、所定のプロトコルに従って、制御サーバー10に送信する(ステップSC3)。ステップSC3の処理は、例えば、印刷装置識別情報入力UI50に係る描画ファイルに含まれるスクリプトの機能により実行される。
FIG. 7A is a diagram illustrating an example of the printing apparatus identification
As shown in FIG. 7A, the printing apparatus identification
The user inputs the printing apparatus identification information of the
The browser execution unit 40a of the management
図6(B)に示すように、印刷装置識別情報を示すデータを受信すると、制御サーバー10は、以下の処理を実行する。制御サーバー10は、印刷装置識別情報が示す印刷装置12に対応する設定値変更ユーザーインターフェース51(以下、「設定値変更UI51」と表現する。)に係る描画ファイルを生成し、管理装置14に送信する(ステップSD2)。ここで、制御サーバー10の制御サーバー記憶部28は、制御サーバー10と接続する印刷装置12について、印刷装置識別情報と対応付けて、設定変更ユーザーインターフェースに係る描画ファイルの生成に必要な情報(以下、「描画情報」という。)を記憶する。ステップSD2では、制御サーバー10は、受信したデータが示す印刷装置識別情報に対応する描画情報を取得し、取得した描画情報に基づいて、描画ファイルを生成する。
As shown in FIG. 6B, when receiving data indicating the printing apparatus identification information, the
図6(A)に示すように、管理装置14の管理装置制御部40のブラウザー実行部40aは、ステップSC3の要求に応じて取得した描画ファイルに基づいて、設定値変更UI51を表示する(ステップSC4)。
図7(B)は、設定値変更UI51の一例を示す図である。
図7(B)は、設定項目について、設定する設定値を入力するユーザーインターフェースである。
図7(B)に示すように、設定値変更UI51には、設定情報を変更する印刷装置12の印刷装置識別情報が表示される。
また、設定値変更UI51は、印字濃度設定の設定値を指定する印字濃度設定変更エリアAR1を有する。印字濃度設定変更エリアAR1は、印字濃度設定値入力欄RA1を有する。印字濃度設定値入力欄RA1は、印字濃度設定の設定値を入力する欄である。印字濃度設定値入力欄RA1は、プルダウンメニューとなっている。ユーザーは、プルダウンメニューに表示された「設定値:濃」、又は、「設定値:薄」のいずれかを選択することにより、印字濃度設定値入力欄RA1に印字濃度設定の設定値を入力できる。
また、設定値変更UI51は、印字速度設定の設定値を指定する印字速度設定変更エリアAR2を有する。印字速度設定変更エリアAR2は、印字速度設定値入力欄RA2を有する。印字速度設定値入力欄RA2は、印字速度設定の設定値を入力する欄である。印字速度設定値入力欄RA2は、プルダウンメニューとなっている。ユーザーは、プルダウンメニューに表示された「設定値:速」、又は、「設定値:遅」のいずれかを選択することにより、印字速度設定値入力欄RA2に印字速度設定の設定値を入力できる。
また、設定値変更UI51は、紙幅設定の設定値を指定する紙幅設定変更エリアAR3を有する。紙幅設定変更エリアAR3は、紙幅設定値入力欄RA3を有する。紙幅設定値入力欄RA3は、紙幅設定の設定値を入力する欄である。紙幅設定値入力欄RA3は、プルダウンメニューとなっている。ユーザーは、プルダウンメニューに表示された「設定値:80mm」、又は、「設定値:58mm」のいずれかを選択することにより、紙幅設定値入力欄RA3に紙幅設定の設定値を入力できる。
また、設定値変更UI51は、印字濃度設定値入力欄RA1、印字速度設定値入力欄RA2、及び、紙幅設定値入力欄RA3への入力を確定するボタンB2を有する。
As shown in FIG. 6A, the browser execution unit 40a of the management
FIG. 7B is a diagram illustrating an example of the setting
FIG. 7B shows a user interface for inputting setting values to be set for setting items.
As shown in FIG. 7B, the setting
The set
The set
The setting
The set
ユーザーは、設定値変更UI51の印字濃度設定値入力欄RA1、印字速度設定値入力欄RA2、及び、紙幅設定値入力欄RA3に対応する設定値を入力し、ボタンB2を操作する(ステップSY3)。
ブラウザー実行部40aは、設定値変更UI51に対するユーザーの入力に基づいて、変更コマンドを生成する(ステップSC5)。変更コマンドは、印刷装置識別情報を含み、印刷装置識別情報に対応する設定情報について、設定項目の設定値を、ユーザーが設定値変更UI51へ入力した設定値に変更することを指示するコマンドである。
次いで、ブラウザー実行部40aは、生成した変更コマンドに、当該変更コマンドに基づく処理をさせる処理部(本例では、設定処理部31)の処理部識別情報を付加する(ステップSC6)。ブラウザー実行部40aは、変更コマンドを処理させる処理部の処理部識別情報を管理しており、当該管理に基づいて、変更コマンドに処理部識別情報を付加する。ユーザーが処理部識別情報を入力する構成であってもよい。
次いで、ブラウザー実行部40aは、通信接続部41を制御して、変更コマンドを制御サーバー10に送信する(ステップSC7)。
管理装置14と、制御サーバー10とがHTTP通信をする場合、ステップSC7でブラウザー実行部40aは、制御サーバー10との間でHTTPのハンドシェイクを行い、コネクションを確立する。次いで、ブラウザー実行部40aは、通信接続部41を制御して、確立したコネクションにより、変更コマンドを送信する。
The user inputs set values corresponding to the print density set value input field RA1, print speed set value input field RA2, and paper width set value input field RA3 of the set
The browser execution unit 40a generates a change command based on the user input to the setting value change UI 51 (step SC5). The change command is a command that includes the printing apparatus identification information and instructs the user to change the setting value of the setting item to the setting value input to the setting
Next, the browser execution unit 40a adds processing unit identification information of a processing unit (in this example, the setting processing unit 31) that performs processing based on the change command to the generated change command (step SC6). The browser execution unit 40a manages the processing unit identification information of the processing unit that processes the change command, and adds the processing unit identification information to the change command based on the management. The configuration may be such that the user inputs the processing unit identification information.
Next, the browser execution unit 40a controls the
When the
図6(B)に示すように、通信管理部25は、第2接続部30を制御して、変更コマンドを受信する(ステップSD3)。
次いで、通信管理部25は、変更コマンドに含まれる処理部識別情報を取得する(ステップSD4)。
次いで、通信管理部25は、ステップSD4で取得した処理部識別情報が示す処理部(本例では、設定処理部31)に、変更コマンドを送信する(ステップSD5)。
次いで、設定処理部31は、変更コマンドに基づいて、設定値変更処理を実行する(ステップSD6)。
設定値変更処理は、設定情報データベース28cの対応する設定情報の内容を変更する処理である。上述したように、設定情報データベース28cは、制御サーバー10と接続する印刷装置12について、印刷装置識別情報と、設定情報と、を対応付けて記憶するデータベースである。
設定値変更処理において、設定処理部31は、設定情報データベース28cにアクセスする。次いで、設定処理部31は、変更コマンドに含まれる印刷装置識別情報をキーとして、対応するレコードを特定する。次いで、設定処理部31は、特定したレコードの設定情報について、設定項目の設定値を、変更コマンドで指定された設定値に変更する。
設定値変更処理の実行後は、設定情報に基づいて生成される設定制御データは、変更コマンドに基づく設定値の変更を反映したデータとなる。
As shown in FIG. 6B, the
Next, the
Next, the
Next, the setting
The setting value changing process is a process of changing the contents of the corresponding setting information in the setting information database 28c. As described above, the setting information database 28c is a database that stores the printing apparatus identification information and the setting information in association with each other for the
In the setting value changing process, the setting
After execution of the setting value changing process, the setting control data generated based on the setting information is data reflecting the change of the setting value based on the change command.
以上のようにして、設定情報の内容は、管理装置14が生成する変更コマンドに基づいて変更される。
変更コマンドに基づく設定情報の変更は、例えば、以下のタイミングで、以下のようにして印刷装置12の設定に反映される。
例えば、制御サーバー10の設定処理部31は、変更コマンドに基づく設定情報の変更を行った場合、変更後の設定情報に基づいて設定制御データを生成し、対応する印刷装置12に送信する。この構成によれば、設定情報の内容に変更があった場合、より迅速に、設定情報の内容の変更を、印刷装置12の設定に反映することができる。
また例えば、上述したように、制御サーバー10の設定処理部31は、1の印刷装置12から要求コマンドを受信した場合、当該1の印刷装置12に対応する設定情報に基づいて設定制御データを生成し、送信する。その際、設定処理部31は、設定情報の内容に変更があった場合は、変更後の設定情報に基づいて、設定制御データを生成する。印刷装置12は、受信した設定制御データに基づいて設定処理を行う。このように、当該1の印刷装置12が制御サーバー10に対して要求コマンドを送信したときに、設定情報の内容の変更が、当該1の印刷装置12の設定に反映される。なお、本実施形態に係る印刷装置12は、電源投入時に要求コマンドを送信する構成である。このため、電源投入の前に、変更コマンドに基づく設定情報の内容の変更があった場合は、電源投入時に、設定情報の内容の変更が、印刷装置12の設定に反映される。従って、例えば、店舗の開店時に、当該店舗の店舗システム11が有する複数の印刷装置12について、同時に設定を変更する、といった処理が可能となる。なお、印刷装置12について、電源が投入された後、定期的に要求コマンドを送信する構成としてもよい。
なお、制御サーバー10の設定処理部31は、要求コマンドを受信した場合、以下の処理を行ってもよい。すなわち、設定処理部31は、制御サーバー10と接続する印刷装置12について、設定項目に現時点で設定されている設定値を管理する。そして、設定処理部31は、1の印刷装置12から要求コマンドを受信した場合、当該1の印刷装置12の設定項目について、当該1の印刷装置12に現時点で設定されている設定値と、当該1の印刷装置12に対応する設定情報が示す設定値とに差があるか否かを判別する。変更コマンドに基づいて設定情報の内容が変更された場合は、設定処理部31により、差があると判別される。次いで、設定処理部31は、設定値に差がある設定項目について、設定値を指定して、指定した設定値の設定を指示する設定制御データを生成する。次いで、設定処理部31は、生成した設定制御データを送信する。一方、設定処理部31は、設定値に差がある設定項目が存在しない場合、その旨、通知する。この構成によれば、設定制御データのデータ量を小さくすることができ、通信効率の向上を図ることができる。
As described above, the contents of the setting information are changed based on the change command generated by the
The change of the setting information based on the change command is reflected in the setting of the
For example, when the setting information is changed based on the change command, the setting
For example, as described above, when the
In addition, the
次に、管理装置14が印刷装置12の印刷を制御する場合における管理装置14、制御サーバー10、及び、印刷装置12の動作について説明する。
図8は、管理装置14が印刷装置12の印刷を制御する場合の各装置の動作を示すフローチャートであり、(A)は管理装置14の動作を、(B)は制御サーバー10の動作を、(C)は印刷装置12の動作を示す。
また、図8のフローチャートを用いて、制御サーバー10の印刷データ処理部27と、印刷装置12の印刷制御部17との間で行われる第1機能部間通信経路KT1による非同期な双方向通信について、印刷データ処理部27がデータ(本例では、印刷制御データ)を送信する場合を例にして説明する。
Next, operations of the
FIG. 8 is a flowchart showing the operation of each device when the
Further, with reference to the flowchart of FIG. 8, asynchronous two-way communication using the first inter-function unit communication path KT1 performed between the print
図8(A)に示すように、印刷装置12による印刷に際し、ユーザーは、管理装置14のブラウザーを立ち上げ、所定のURLへのアクセスを指示する(ステップSZ1)。当該URLは、後述する印刷情報入力用ユーザーインターフェース(以下、「印刷UI」と表現する。)を、ブラウザーウィンドーに表示する場合にアクセスするURLである。当該所定のURLは、ユーザーに対して予め通知される。なお、URLは、制御サーバー10が管理するURLであってもよく、他のサーバーが管理するURLであってもよい。
ステップSZ1の指示に応じて、管理装置14の管理装置制御部40のブラウザー実行部40aは、指定されたURLへアクセスし、印刷UIの表示に係る描画ファイルを要求する(ステップSE1)。描画ファイルは、HTML(HyperText Markup Language)等のマークアップ言語で記述されたファイルであり、管理装置14のブラウザーウィンドーにウェブページを表示させるファイルである。
As shown in FIG. 8A, when printing by the
In response to the instruction in step SZ1, the browser execution unit 40a of the management
次いで、ブラウザー実行部40aは、ステップSE1の要求に応じて取得した描画ファイルに基づいて、印刷UIを表示する(ステップSE2)。
印刷UIは、印刷装置12に印刷させる印刷情報を、ユーザーが入力するユーザーインターフェースである。印刷情報は、画像データが格納されたファイル名や、印刷媒体における画像の位置に関する情報等である。印刷UIでは、制御サーバー10の印刷データ処理部27が印刷制御データの生成に用いる情報を入力可能である。
また、印刷UIは、印刷させる印刷装置12の印刷装置識別情報、及び、制御サーバー10の処理部のうち、後述する印刷指示データを送信し、印刷指示データに基づく処理を実行させる処理部(本例では、印刷データ処理部27。)の処理部識別情報をユーザーが入力するユーザーインターフェースである。印刷UIには、印刷情報、印刷装置識別情報、及び、処理部識別情報を入力する欄が設けられ、ユーザーは、当該欄に印刷情報、印刷装置識別情報、及び、処理部識別情報を入力する。
Next, the browser execution unit 40a displays a print UI based on the drawing file acquired in response to the request in step SE1 (step SE2).
The print UI is a user interface through which a user inputs print information to be printed by the
Further, the printing UI transmits the printing apparatus identification information of the
ユーザーが、印刷UIに対して印刷情報、印刷装置識別情報、及び、処理部識別情報を入力し、入力を確定すると(ステップSZ2)、ブラウザー実行部40aは、以下の処理を実行する。
ブラウザー実行部40aは、印刷指示データを生成する(ステップSE3)。印刷指示データは、印刷UIに入力された情報に基づく印刷情報、印刷装置識別情報、及び、処理部識別情報が含まれた所定のフォーマットのデータである。印刷指示データは、制御サーバー10の印刷データ処理部27がデータに基づく処理を実行可能なデータ形式である。
次いで、ブラウザー実行部40aは、通信接続部41を制御して、制御サーバー10に印刷指示データを送信する(ステップSE4)。ステップSE4において、通信接続部41は、制御サーバー10との間で、例えば、HTTPでハンドシェイクを行ってコネクションを確立し、コネクションにより印刷指示データを送信する。
なお、本実施形態では、印刷UIにユーザーが処理部識別情報を入力し、印刷指示データには、ユーザーが入力した処理部識別情報が付加される構成である。この構成に限らず、管理装置制御部40が、制御サーバー10に送信するデータについて、当該データを処理させる処理部を判別し、処理部の処理部識別情報をデータに付加する構成であってもよい。例えば、管理装置制御部40は、送信するデータの種類と、データを処理する処理部との関係を管理し、管理した関係に基づいて、送信するデータに付加する処理部識別情報を特定する。
When the user inputs printing information, printing device identification information, and processing unit identification information to the printing UI and confirms the input (step SZ2), the browser execution unit 40a executes the following processing.
The browser execution unit 40a generates print instruction data (step SE3). The print instruction data is data in a predetermined format including print information based on information input to the print UI, printing device identification information, and processing unit identification information. The print instruction data has a data format in which the print
Next, the browser execution unit 40a controls the
In the present embodiment, the processing unit identification information is input to the print UI by the user, and the processing unit identification information input by the user is added to the print instruction data. Not only in this configuration, but also in a configuration in which the management
図8(B)に示すように、通信管理部25は、第2接続部30を制御して、印刷指示データを受信する(ステップSF1)。
次いで、通信管理部25は、印刷指示データに含まれる処理部識別情報を取得する(ステップSF2)。
次いで、通信管理部25は、ステップSF2で取得した処理部識別情報が示す処理部(本例では、印刷データ処理部27)に印刷指示データを送信する(ステップSF3)。通信管理部25は、処理部と処理部識別情報との関係を管理し、1の処理部識別情報に基づいて、当該1の処理部識別情報が示す処理部にデータを送信できる。
印刷データ処理部27は、受信した印刷指示データに基づいて、印刷制御データを生成する(ステップSF4)。印刷制御データは、印刷装置12に印刷させる印刷情報を有するXML(Extensible Markup Language)ファイルである。印刷制御データは、XMLフォーマットに従って、印刷装置12に印刷させる印刷情報、例えば、画像データや、画像の位置を示す情報等が記述される。
印刷制御データは、印刷させる印刷装置12の印刷装置識別情報が付加される。印刷データ処理部27は、印刷指示データに含まれる印刷装置識別情報に基づいて、印刷制御データに、印刷装置識別情報を付加する。
印刷装置識別情報は、印刷制御データのヘッダー等の制御情報が記述される領域に記述されてもよく、また、印刷制御データ内の所定のタグに記述されてもよい。
次いで、印刷データ処理部27は、制御サーバー記憶部28に記憶されたコネクション管理データベース28aを参照する(ステップSF5)。
As shown in FIG. 8B, the
Next, the
Next, the
The print
Printing device identification information of the
The printing apparatus identification information may be described in an area where control information such as a header of the print control data is described, or may be described in a predetermined tag in the print control data.
Next, the print
次いで、印刷データ処理部27は、印刷装置識別情報をキーとして、コネクション管理データベース28aで、当該識別情報と対応付けられたWebSocketコネクションCTのコネクション識別情報を取得する(ステップSF6)。取得されたコネクション識別情報は、印刷させる印刷装置12との間で確立されたWebSocketコネクションCTのコネクション識別情報である。
次いで、印刷データ処理部27は、印刷制御データに、印刷データ処理部27の処理部識別情報を付加する(ステップSF7)。印刷データ処理部27は、当該印刷データ処理部27に割り当てられた処理部識別情報を管理する。
次いで、印刷データ処理部27は、印刷制御データを、ステップSF6で取得したコネクション識別情報に対応する第1接続部26に送信する(ステップSF8)。
第1接続部26は、受信した印刷制御データを、WebSocketコネクションCTで、印刷装置12にプッシュ送信する(ステップSF9)。
Next, the print
Next, the print
Next, the print
The
図5(C)に示すように、通信部16は、WebSocketコネクションCTで、印刷制御データを受信する(ステップSG1)。
次いで、通信部16は、通信制御部15に、印刷制御データを送信する(ステップSG2)。
通信制御部15は、印刷制御データに付加された処理部識別情報を取得する(ステップSG3)。次いで、通信制御部15は、機能部管理データベース19cを参照する(ステップSG4)。次いで、通信制御部15は、ステップSG3で取得した処理部識別情報をキーとして、機能部管理データベース19cで、当該識別情報と対応付けられた機能部識別情報を取得する(ステップSG5)。次いで、通信制御部15は、ステップSG5で取得した機能部識別情報が示す機能部(本例では、印刷制御部17)に、印刷制御データを送信する(ステップSG6)。通信制御部15は、機能部識別情報と機能部との関係を管理する。従って、通信制御部15は、1の機能部識別情報に基づいて、当該1の機能部識別情報が示す機能部にデータを送信できる。
印刷制御部17は、受信した印刷制御データを、印刷部18のコマンド体系の制御コマンドに変換する(ステップSG7)。印刷制御部17は、XMLファイルである印刷制御データを、印刷部18が解釈可能なコマンドに変換する。次いで、印刷制御部17は、制御コマンドを、印刷部18に送信する(ステップSG8)。
印刷部18は、制御コマンドに基づいて、印刷媒体への印刷を実行する(ステップSG9)。印刷部18は、設定ファイルの設定を反映して、印刷を実行する。
As shown in FIG. 5C, the
Next, the
The
The
The
このように、制御サーバー10は、印刷装置12に印刷を実行させる事象が発生した場合に、印刷装置12からのリクエストを受けることなく、印刷装置12に印刷制御データを送信して、印刷装置12に印刷させることができる。印刷装置12に印刷を実行させる事象が発生した場合とは、例えば、上記例のように通信可能に接続された外部機器からの要求があった場合や、ユーザーからの指示があった場合、予め定めた条件が成立した場合等、である。
このため、印刷装置12から制御サーバー10に対して間欠的にリクエストを送り、印刷装置12に印刷をさせたい場合に、当該リクエストに応じて印刷制御データを送信する構成とした場合と比較して、印刷を実行させる事象の発生後、より迅速に印刷を開始させることができる。また、制御サーバー10がリクエストに対する保留状態を作る構成とした場合と比較して、リソースの消費を抑制できる。
As described above, when an event that causes the
For this reason, when a request is intermittently sent from the
なお、印刷部18による印刷が行われた後は、印刷装置12、制御サーバー10、及び、管理装置14は、以下の処理を実行する。
すなわち、印刷制御部17は、印刷部18による印刷の結果に基づいて、印刷結果データを生成する。印刷結果データとは、印刷部18による印刷が成功したか失敗したかを示す情報、及び、失敗した場合はその原因を示す情報を含むデータである。
印刷制御部17は、WebSocketコネクションCTに基づく第1機能部間通信経路KT1により、印刷データ処理部27に印刷結果データを送信する。なお、第1機能部間通信経路KT1を利用した印刷制御部17から印刷データ処理部27へのデータの送信は、第2機能部間通信経路KT2を利用した設定制御部23から設定処理部31へのデータの送信と同様の方法で行われる。
印刷データ処理部27は、受信した印刷結果データを、印刷指示データを送信した管理装置14に対して送信する。例えば、印刷データ処理部27は、印刷指示データの送信に用いたコネクションを管理し、当該コネクションを利用して、印刷結果データを管理装置14に送信する。管理装置14の管理装置制御部40のブラウザー実行部40aは、受信した印刷結果データに基づいて対応する処理を実行する。例えば、管理装置制御部40は、印刷結果を示す情報を表示部42に表示し、印刷結果をユーザーに報知する処理を行う。
Note that after printing by the
That is, the
The
The print
ここで、本実施形態では、制御サーバー10は、印刷データ処理部27と、設定処理部31という異なる機能を有する処理部を有する。
これにより以下の効果を奏する。
すなわち、上述したように、印刷データ処理部27は、印刷結果データを受信した場合、印刷指示データを送信した管理装置14に対して、印刷結果データを送信する。これにより、印刷を指示した管理装置14が、印刷の結果を取得できる。一方で、設定処理部31は、印刷装置12から要求コマンドを受信した場合、設定制御データを生成して印刷装置12に送信する。
このように、印刷データ処理部27と、設定処理部31とでは、受信したデータの処理方法、特に、管理装置14との関係でデータをどのようにするかが異なる。このことに基づいて、制御サーバー10は、印刷データ処理部27とは独立して、処理部として、ステータス処理部29を備える。なお、上述した方法により、印刷制御部17が送信したデータは、印刷データ処理部27に送信され、また、設定制御部23が送信したデータは、設定処理部31に送信される。
Here, in the present embodiment, the
This produces the following effects.
That is, as described above, when the print
As described above, the print
以上説明したように、本実施形態に係る印刷制御システム1は、印刷装置12と、制御サーバー10(印刷制御装置)と、を備える。
印刷装置12は、印刷を行う印刷部18、印刷制御データに基づいて印刷部18を制御する印刷制御部17、設定制御データに基づいて設定処理を行う設定制御部23、及び非同期の双方向通信を行うWebSocketコネクションCTにより印刷制御データと設定制御データとを受信する通信部16を有する。
制御サーバー10は、印刷制御データを生成する印刷データ処理部27、設定制御データを生成する設定処理部31、及び印刷データ処理部27で生成された印刷制御データと設定処理部31で生成された設定制御データとをWebSocketコネクションCTで印刷装置12に送信する第1接続部26(接続部)を有する。
この構成によれば、制御サーバー10は、設定処理部31の機能により、設定制御データを生成して印刷装置12に送信し、印刷装置12は、設定制御部23の機能により、設定制御データに基づいて設定処理を行う。このため、印刷制御システム1では、印刷装置12と制御サーバー10とがネットワークGNを介して通信する構成を利用して印刷装置12の設定を変更できる。また、制御サーバー10は、印刷制御データと、設定制御データとを非同期の双方向通信を行うWebSocketコネクションCTで印刷装置12に通信する。このため、制御サーバー10は、印刷装置12に印刷させるトリガーが発生した場合に、印刷制御データを印刷装置12に送信して印刷処理を実行させることができる。また、制御サーバー10は、印刷装置12に設定処理を実行させるトリガーが発生した場合に、設定制御データを印刷装置12に送信して設定処理を実行させることができる。
As described above, the
The
The
According to this configuration, the
また、本実施形態では、印刷装置12は、電源が投入されたときに、制御サーバー10との間でWebSocketコネクションCTの確立を行う通信制御部15を有する。
この構成によれば、電源投入時に、印刷装置12により自動でWebSocketコネクションCTが確立されるため、ユーザーによるWebSocketコネクションCTの確立のための作業が必要なく、また、電源投入後、WebSocketコネクションCTにより印刷装置12と制御サーバー10とが非同期の双方向通信により通信できる状態とすることができる。
In the present embodiment, the
According to this configuration, since the WebSocket connection CT is automatically established by the
また、本実施形態では、印刷装置12の設定制御部23は、通信制御部15によりWebSocketコネクションCTが確立されたときに、設定制御データの送信を要求する要求コマンドをWebSocketコネクションCTで制御サーバー10に送信する。
この構成によれば、WebSocketコネクションCTの確立時に、自動で、印刷装置12により設定処理が行われるため、ユーザーによる煩雑な作業が必要なく、また、WebSocketコネクションCTの確立により制御サーバー10から印刷制御データを受信する可能性が生じた後に、印刷装置12が設定を反映した印刷処理を実行できる状態とすることができる。
In the present embodiment, the setting
According to this configuration, since the setting process is automatically performed by the
また、本実施形態では、制御サーバー10の制御サーバー記憶部28は、印刷装置識別情報と、印刷装置12の設定に係る情報である設定情報とを対応付ける設定情報データベース28cを記憶する。そして、制御サーバー10の設定処理部31は、印刷装置12から要求コマンドを受信した場合、要求コマンドに含まれる印刷装置識別情報と対応付けられた設定情報を取得し、取得した設定情報に基づいて設定制御データを生成する。
この構成によれば、制御サーバー10は、印刷装置識別情報を用いて、1の印刷装置識別情報が示す印刷装置12に、対応する設定情報に基づく設定処理を実行させることができる。
In the present embodiment, the control
According to this configuration, the
また、本実施形態では、管理装置14は、印刷装置識別情報を含み、印刷装置識別情報と対応付けられた設定情報の内容を変更させる変更コマンドを生成する管理装置制御部40、及び管理装置制御部40で生成された変更コマンドを制御サーバー10に送信する通信接続部41を有する。
この構成によれば、管理装置14は、所定の印刷装置識別情報が示す設定情報の内容を変更することができ、これにより、所定の印刷装置識別情報が示す印刷装置の設定を変更することができる。
In the present embodiment, the
According to this configuration, the
また、制御サーバー10は、印刷装置12から送信された要求コマンドを、設定処理部31に送信する通信管理部25を有する。
この構成によれば、通信管理部25の機能により、要求コマンドを、設定処理部31に送信して、設定処理部31に設定制御データを生成させることができる。
The
According to this configuration, the function of the
また、印刷装置12は、制御サーバー10から送信された印刷制御データを印刷制御部17に送信し、制御サーバー10から送信された設定制御データを設定制御部23に送信する通信制御部15を有する。
この構成によれば、通信制御部15の機能により、印刷制御データを印刷制御部17に送信して印刷を実行させ、設定制御データを設定制御部23に送信して設定処理を実行させることができる。
Further, the
According to this configuration, the function of the
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
上述した実施形態では、印刷装置12は店舗に用いる店舗システム11に設けられていた。しかしながら、印刷装置12は、必ずしも、店舗システム11に設けられたものでなくてもよい。例えば、他のシステムに設けられたものであってもよい。
また、上述した実施形態では、制御サーバー10から、印刷装置12に対して、XMLファイルの印刷制御データを送信していたが、印刷制御データのデータ形式はXMLでなくともよい。例えば、他のマークアップ言語で生成されたデータであってもよく、また、印刷部18のコマンド体系の制御コマンドであってもよい。
また、図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
In the embodiment described above, the print control data of the XML file is transmitted from the
Each functional block shown in FIG. 3 can be arbitrarily realized by hardware and software, and does not suggest a specific hardware configuration. Further, the function of the
1…印刷制御システム、10…制御サーバー(印刷制御装置)、12…印刷装置、14…管理装置、15…通信制御部、16…通信部、17…印刷制御部、18…印刷部、23…設定制御部、25…通信管理部、26…第1接続部(接続部)、27…印刷データ処理部、28…制御サーバー記憶部(記憶部)、31…設定処理部、40…管理装置制御部(制御部)、41…通信接続部、CT…WebSocketコネクション。
DESCRIPTION OF
Claims (11)
前記通信経路の確立後、前記印刷装置を識別する印刷装置識別情報と前記機能部を識別する機能部識別情報とを付加した、前記印刷装置から印刷に関する設定値を要求する要求コマンドを前記印刷制御装置に前記通信経路を介してプッシュ送信し、
前記印刷制御装置で前記要求コマンドを受信し、
受信した前記要求コマンドに付加された前記印刷装置識別情報と前記機能部識別情報とに基づく前記処理部により、前記印刷装置に前記印刷に関する設定値を設定させる設定制御データを生成し、
生成した前記設定制御データに前記処理部を識別する処理部識別情報を付加して、前記通信経路を介してプッシュ送信し、
前記印刷装置で前記設定制御データを受信し、
受信した前記設定制御データに付加された前記処理部識別情報に基づく前記機能部により、印刷に関する設定を行う、
ことを特徴とする印刷制御システムの制御方法。 Establishing a communication path that performs asynchronous two-way communication between a printing device having a function unit and a printing control device having a processing unit ,
After the establishment of the communication path, a request command for requesting a setting value related to printing from the printing device, to which printing device identification information for identifying the printing device and functional unit identification information for identifying the functional unit are added, is the print control. Push to the device via the communication path,
Receiving the request command at the print control device;
The processing unit based on the printing device identification information and the functional unit identification information added to the received request command generates setting control data for causing the printing device to set a setting value related to the printing ,
A processing unit identification information for identifying the processing unit is added to the generated setting control data, and push transmission is performed via the communication path.
Receiving the setting control data in the printing device;
Making settings related to printing by the function unit based on the processing unit identification information added to the received setting control data ;
A control method for a print control system.
前記機能部識別情報と前記処理部識別情報と対応付けて記憶し、Storing the function unit identification information and the processing unit identification information in association with each other;
受信した前記設定制御データに付加された前記処理部識別情報と対応付けられた前記機能部識別情報を取得し、取得した前記機能部識別情報が示す前記機能部により印刷に関する設定を行う、Acquiring the functional unit identification information associated with the processing unit identification information added to the received setting control data, and performing setting related to printing by the functional unit indicated by the acquired functional unit identification information;
請求項1に記載の印刷制御システムの制御方法。The control method of the printing control system according to claim 1.
請求項1又は2に記載の印刷制御システムの制御方法。 The printing apparatus push-transmits the result of printing based on the setting value to the print control apparatus via the communication path ;
The control method of the printing control system according to claim 1 or 2 .
前記印刷制御装置で前記要求コマンドを受信した場合、前記印刷制御装置は前記要求コマンドに含まれる前記印刷装置識別情報に基づき前記印刷装置識別情報と対応付けられた前記設定情報を取得し、取得した前記設定情報に基づいて前記設定制御データを生成する、
請求項1から3のいずれか一項に記載の印刷制御システムの制御方法。 Before SL printing control device stores in association with setting information including the setting values and the printing device identification information,
When the request command is received by the print control device, the print control device acquires the setting information associated with the print device identification information based on the print device identification information included in the request command, and acquires the setting information. Generating the setting control data based on the setting information ;
The control method of the printing control system according to any one of claims 1 to 3 .
前記印刷装置は、
印刷を行う印刷部、前記機能部として印刷制御データに基づいて前記印刷部を制御する印刷制御部、非同期の双方向通信を行う通信経路を確立し、前記通信経路を介して印刷に関する設定値を要求する要求コマンドに前記印刷装置を識別する印刷装置識別情報と前記機能部を識別する機能部識別情報とを付加してプッシュ送信する通信制御部、及び、前記機能部として前記プッシュ送信に応じて受信した設定制御データに基づいて設定処理を行う設定制御部とを備え、
前記設定制御部は、前記設定制御データに付加された前記処理部を識別する処理部識別情報に基づく前記機能部が前記設定制御部である場合、前記設定処理を行い、
前記印刷制御装置は、
前記処理部として前記印刷装置から受信した前記要求コマンドに応じて前記設定制御データを生成する設定処理部、及び、前記設定処理部で生成された前記設定制御データに前記処理部識別情報を付加して、前記通信経路を介して前記印刷装置にプッシュ送信する接続部を備える、
ことを特徴とする印刷制御システム。 A printing control system comprising a printing device having a functional unit and a printing control device having a processing unit,
The printing apparatus includes:
A printing unit that performs printing, a printing control unit that controls the printing unit based on print control data as the functional unit , a communication path that performs asynchronous two-way communication is established, and setting values related to printing are set via the communication path A communication control unit for performing push transmission by adding printing device identification information for identifying the printing device and a functional unit identification information for identifying the functional unit to a request command to be requested, and according to the push transmission as the functional unit Bei example a setting control unit which performs setting processing on the basis of the received setting control data,
The setting control unit performs the setting process when the functional unit based on processing unit identification information for identifying the processing unit added to the setting control data is the setting control unit,
The print control device includes:
A setting processing unit that generates the setting control data in response to the request command received from the printing apparatus as the processing unit, and the processing unit identification information is added to the setting control data generated by the setting processing unit. Te, and a connecting portion to push transmitted to the printing device via the communication path,
A printing control system characterized by that.
前記設定制御部は、受信した前記設定制御データに付加された前記処理部識別情報と対応付けられた前記機能部識別情報を取得し、取得した前記機能部識別情報が示す前記機能部が前記設定制御部である場合、前記設定処理を行う、 The setting control unit acquires the functional unit identification information associated with the processing unit identification information added to the received setting control data, and the functional unit indicated by the acquired functional unit identification information is the setting If it is a control unit, the setting process is performed.
請求項5に記載の印刷制御システム。 The print control system according to claim 5.
前記印刷制御装置の前記設定処理部は、前記要求コマンドを受信した場合、前記要求コマンドに含まれる前記印刷装置識別情報に基づき前記印刷装置識別情報と対応付けられた前記設定情報を取得し、取得した前記設定情報に基づいて前記設定制御データを生成する、
請求項5又は6に記載の印刷制御システム。 The printing control apparatus includes a storage unit that stores the printing apparatus identification information and setting information including setting values to be set in association with each other.
When receiving the request command, the setting processing unit of the print control apparatus acquires and acquires the setting information associated with the printing apparatus identification information based on the printing apparatus identification information included in the request command. generating the set control data on the basis of the above setting information,
The printing control system according to claim 5 or 6 .
請求項7に記載の印刷制御システム。 Control unit for generating a change command for changing the contents of the setting information associated with the printing device identification information comprises the printing device identification information, and the said change command generated by the controller A management device having a communication connection unit for transmitting to the print control device ;
The print control system according to claim 7 .
印刷を行う印刷部と、
印刷制御装置との間で非同期の双方向通信を行う通信経路を確立し、前記通信経路を介して前記印刷制御装置に対して、前記印刷装置を識別する印刷装置識別情報と前記機能部を識別する機能部識別情報とが付加された、印刷に関する設定値を要求する要求コマンドをプッシュ送信する通信制御部と、
前記機能部として前記プッシュ送信に応じて前記通信制御部で受信した設定制御データに基づいて設定処理を行う設定制御部と、
前記機能部として前記設定値に基づいて前記印刷部を制御する印刷制御部とを備え、
前記設定制御部は、前記設定制御データに付加された前記処理部を識別する処理部識別情報に基づく機能部が前記設定制御部である場合、前記設定処理を行う、
印刷装置。 A printing apparatus having a functional unit and capable of communicating with a printing control apparatus having a processing unit,
A printing section for printing;
Establishing a communication path for performing asynchronous two-way communication with the print control apparatus, and identifying the print apparatus identification information and the function unit for identifying the print apparatus to the print control apparatus via the communication path A communication control unit that push-transmits a request command for requesting a setting value related to printing , to which functional unit identification information is added ;
A setting control unit that performs setting processing based on setting control data received by the communication control unit in response to the push transmission as the function unit ;
A printing control unit that controls the printing unit based on the set value as the functional unit ;
The setting control unit performs the setting process when a functional unit based on processing unit identification information for identifying the processing unit added to the setting control data is the setting control unit.
Printing device.
前記設定制御部は、受信した前記設定制御データに付加された前記処理部識別情報と対応付けられた前記機能部識別情報を取得し、取得した前記機能部識別情報が示す前記機能部が前記設定制御部である場合、前記設定処理を行う、 The setting control unit acquires the functional unit identification information associated with the processing unit identification information added to the received setting control data, and the functional unit indicated by the acquired functional unit identification information is the setting If it is a control unit, the setting process is performed.
請求項9に記載の印刷装置。The printing apparatus according to claim 9.
Priority Applications (11)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013271885A JP6269055B2 (en) | 2013-12-27 | 2013-12-27 | Print control system control method, 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 |
---|---|---|---|
JP2013271885A JP6269055B2 (en) | 2013-12-27 | 2013-12-27 | Print control system control method, print control system, and printing apparatus |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2015125728A JP2015125728A (en) | 2015-07-06 |
JP2015125728A5 JP2015125728A5 (en) | 2017-01-05 |
JP6269055B2 true JP6269055B2 (en) | 2018-01-31 |
Family
ID=53536360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013271885A Active JP6269055B2 (en) | 2013-11-01 | 2013-12-27 | Print control system control method, print control system, and printing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6269055B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012118733A (en) * | 2010-11-30 | 2012-06-21 | Canon Inc | Printing system, printing method and program |
JP5786464B2 (en) * | 2011-06-01 | 2015-09-30 | コニカミノルタ株式会社 | Web server, printing apparatus, printing system, and web server program |
JP5995525B2 (en) * | 2012-05-23 | 2016-09-21 | キヤノン株式会社 | System, image forming apparatus, server, and control method thereof |
JP6140937B2 (en) * | 2012-05-23 | 2017-06-07 | キヤノン株式会社 | Network device, program, system and method |
-
2013
- 2013-12-27 JP JP2013271885A patent/JP6269055B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015125728A (en) | 2015-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6291846B2 (en) | Print control system, print control method, and printing apparatus | |
US10091388B2 (en) | Print control system and print control method | |
WO2014119290A1 (en) | Control system, control method for control system, and control device | |
JP2007034576A (en) | Information processor and information processing program | |
JP6269055B2 (en) | Print control system control method, print control system, and printing apparatus | |
JP6343931B2 (en) | Print control system and print control method | |
JP2015141569A (en) | Print control system and control method of the same | |
JP2015127877A (en) | Print control system and print control method | |
JP6268931B2 (en) | Print control apparatus and print control system | |
JP6252115B2 (en) | Print control system | |
JP2015130087A (en) | Pos control system, and control method of pos control system | |
JP6260231B2 (en) | Print control system and print control method | |
JP6287215B2 (en) | POS control system, printing apparatus, and control method of POS control system | |
JP6221681B2 (en) | Print control system and print control method | |
JP2015146153A (en) | Print control system, and control method of print control system | |
JP6252114B2 (en) | Print control system | |
JP2015135635A (en) | Pos system and pos system control method | |
JP6281248B2 (en) | Printing apparatus, printing apparatus control method, and printing control system | |
JP2015090644A (en) | Printing control device and printing control system | |
JP2015090646A (en) | Printing control device and printing control system | |
JP2015148873A (en) | Control system and control system control method | |
JP6331337B2 (en) | Print control system and printing apparatus | |
JP2015148874A (en) | Print control system control method and print control system | |
JP2015106366A (en) | Print control system and print controller | |
JP2015088105A (en) | Printer and print control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20161117 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20161117 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170810 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170829 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171027 |
|
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: 20171205 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171218 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6269055 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |