JP2017130044A - Pos system, printer and control method of printer - Google Patents
Pos system, printer and control method of printer Download PDFInfo
- Publication number
- JP2017130044A JP2017130044A JP2016008955A JP2016008955A JP2017130044A JP 2017130044 A JP2017130044 A JP 2017130044A JP 2016008955 A JP2016008955 A JP 2016008955A JP 2016008955 A JP2016008955 A JP 2016008955A JP 2017130044 A JP2017130044 A JP 2017130044A
- Authority
- JP
- Japan
- Prior art keywords
- port
- printing
- printing apparatus
- state
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、POSシステム、印刷装置、及び、印刷装置の制御方法に関する。 The present invention relates to a POS system, a printing apparatus, and a printing apparatus control method.
従来、サーバーと複数のデジタル複合機とがネットワークを介して接続するネットワークシステムにおいて、同じネットワーク内の1のデジタル複合機又はサーバーのファームウェアを更新することにより、ネットワーク内に接続する全てのデジタル複合機のファームウェアが更新するシステムが知られている(例えば、特許文献1参照)。 Conventionally, in a network system in which a server and a plurality of digital multi-function peripherals are connected via a network, all digital multi-function peripherals connected to the network by updating the firmware of one digital multi-function peripheral or server in the same network There is known a system in which the firmware is updated (see, for example, Patent Document 1).
一般に、複数のポートを有する印刷装置と、印刷装置に印刷コマンドを送信するPOS装置と、印刷装置の状態を取得し印刷装置を管理する管理装置とを備えるPOSシステムが知られている。この種のPOSシステムの印刷装置は、POS装置から送信される印刷コマンドに基づく処理を優先して実行する構成とされる場合がある。特に、店舗のレジにて利用される印刷装置は、レシートの発行に遅延を生じさせないために常にレシートの印刷処理を優先して実行している。しかし、このような構成の印刷装置は、印刷装置の状態に係らず、印刷の動作を優先して実行するため、管理装置から受信したコマンドに基づく処理に遅延が発生する可能性があり、印刷装置が印刷の動作を実行できない状態が長い期間継続してしまう虞があった。
そこで、本発明は、印刷装置の状態に応じて、優先して実行する印刷装置の処理を変えることにより、管理装置から受信したコマンドに基づく処理の遅延を抑制できるようにすることを目的とする。
In general, a POS system including a printing apparatus having a plurality of ports, a POS apparatus that transmits a print command to the printing apparatus, and a management apparatus that acquires the state of the printing apparatus and manages the printing apparatus is known. A printing apparatus of this type of POS system may be configured to preferentially execute processing based on a print command transmitted from the POS apparatus. In particular, a printing apparatus used at a cash register in a store always executes the receipt printing process with priority in order to prevent a delay in issuing a receipt. However, since a printing apparatus having such a configuration executes printing operations with priority regardless of the state of the printing apparatus, there is a possibility that processing may be delayed based on commands received from the management apparatus. There is a possibility that the state in which the apparatus cannot execute the printing operation continues for a long period of time.
Therefore, an object of the present invention is to suppress a delay in processing based on a command received from a management device by changing processing of a printing device to be executed with priority according to the state of the printing device. .
上記目的を達成するために、本発明は、第1ポートと第2ポートとを有する印刷装置と、前記第1ポートに接続するPOS装置と、前記第2ポートに接続する管理装置とを備えるPOSシステムであって、前記POS装置は、印刷の実行を指示する印刷コマンドを前記第1ポートに送信可能であり、前記管理装置は、前記印刷装置の状態の送信を指示する送信コマンドを前記第2ポートに送信可能であり、前記印刷装置は、自身の状態が所定の状態になったと判別した場合、前記第2ポートで受信する前記送信コマンドに基づく処理を、前記第1ポートで受信する前記印刷コマンドに基づく処理よりも優先して実行することを特徴とする。
これにより、印刷装置の状態が所定の状態である場合に、第1ポートで受信する印刷コマンドに基づく処理よりも優先して第2ポートで受信する送信コマンドに基づく処理を実行するため、管理装置から受信したコマンドに基づく処理の遅延を抑制できる。
In order to achieve the above object, the present invention provides a POS comprising a printing device having a first port and a second port, a POS device connected to the first port, and a management device connected to the second port. In the system, the POS device can transmit a print command instructing execution of printing to the first port, and the management device transmits a transmission command instructing transmission of the state of the printing device to the second port. The printing apparatus is capable of transmitting to a port, and when the printing apparatus determines that its own state has reached a predetermined state, the printing apparatus receives processing based on the transmission command received at the second port at the first port. It is characterized by being executed with priority over processing based on commands.
Thereby, when the state of the printing apparatus is a predetermined state, the management apparatus executes processing based on the transmission command received at the second port in preference to processing based on the printing command received at the first port. The processing delay based on the command received from can be suppressed.
また、本発明は、前記印刷装置は、前記第1ポートで前記印刷コマンドを受信した場合、受信した印刷コマンドに基づく処理を優先して実行し、受信した前記印刷コマンドに基づく処理を実行している間、前記管理装置から送信される前記送信コマンドを処理せず、自身の状態が前記所定の状態になったと判別した場合に、前記第2ポートで受信した前記送信コマンドに基づく処理を優先して実行することを特徴とする。
これにより、印刷コマンドに基づく処理を実行している間、送信コマンドを処理せず、印刷装置が所定の状態になった場合に、送信コマンドに基づく処理を優先して実行するため、印刷コマンドに基づく処理を実行している場合であっても、管理装置から受信した送信コマンドに基づく処理の遅延を抑制できる。
Further, according to the present invention, when the printing apparatus receives the print command at the first port, the printing apparatus preferentially executes processing based on the received print command, and executes processing based on the received print command. If the transmission command transmitted from the management device is not processed while it is determined that its own state is the predetermined state, the processing based on the transmission command received at the second port is prioritized. It is characterized by executing.
As a result, while the processing based on the print command is being executed, the transmission command is not processed, and the processing based on the transmission command is preferentially executed when the printing apparatus is in a predetermined state. Even when the processing based on the command is executed, the delay of the processing based on the transmission command received from the management apparatus can be suppressed.
また、本発明は、前記印刷装置は、前記第1ポートを示す第1ポート情報、又は、前記第2ポートを示す第2ポート情報のいずれかに、処理を優先して実行することを示す優先情報が対応付く優先ポート情報を記憶し、自身の状態が前記所定の状態になったと判別した場合、前記第2ポート情報に前記優先情報を対応付け、前記優先ポート情報に基づき、前記第2ポートで受信する前記送信コマンドに基づく処理を優先して実行することを特徴とする。
これにより、印刷装置が所定の状態になった場合、第2ポート情報に優先情報を対応付けるため、優先ポート情報に基づいて、送信コマンドに基づく処理を実行でき、管理装置から受信したコマンドに基づく処理の遅延を抑制できる。
Also, the present invention provides a priority indicating that the printing apparatus preferentially executes a process on either the first port information indicating the first port or the second port information indicating the second port. If the priority port information associated with the information is stored and it is determined that its own state is the predetermined state, the priority information is associated with the second port information, and the second port information is based on the priority port information. The processing based on the transmission command received in step 1 is preferentially executed.
Thus, when the printing apparatus is in a predetermined state, the priority information is associated with the second port information, so that the process based on the transmission command can be executed based on the priority port information, and the process based on the command received from the management apparatus Can be suppressed.
また、本発明は、前記印刷装置は、前記所定の状態が解除された場合、前記第1ポート情報に前記優先情報を対応付けることを特徴とする。
これにより、印刷装置が所定の状態から解除された場合、第1ポート情報に優先情報を対応付けるため、印刷装置が所定の状態になった後、所定の状態が解除された場合、印刷コマンドに基づく処理を優先して実行できる。
Further, the present invention is characterized in that the printing apparatus associates the priority information with the first port information when the predetermined state is released.
As a result, when the printing apparatus is released from the predetermined state, priority information is associated with the first port information. Therefore, when the predetermined state is released after the printing apparatus is in the predetermined state, the print command is used. Processing can be prioritized and executed.
また、本発明は、前記所定の状態は、前記印刷装置が印刷できない状態であることを特徴とする。
これにより、印刷装置が印刷の動作を実行できない場合に、管理装置から受信したコマンドに基づく処理の遅延を抑制できる。
In addition, the present invention is characterized in that the predetermined state is a state in which the printing apparatus cannot print.
Thereby, when the printing apparatus cannot execute the printing operation, it is possible to suppress a delay in processing based on the command received from the management apparatus.
上記目的を達成するために、本発明は、POS装置と接続し、前記POS装置から印刷の実行を指示する印刷コマンドを受信する第1ポートと、管理装置と接続し、前記管理装置から前記印刷装置の状態の送信を指示する送信コマンドを受信する第2ポートと、自身の状態が所定の状態になったと判別した場合、前記第2ポートで受信する前記送信コマンドに基づく処理を、前記第1ポートで受信する前記印刷コマンドに基づく処理よりも優先して実行する制御部と、を備えることを特徴とする。
これにより、印刷装置の状態が所定の状態である場合に、第1ポートで受信する印刷コマンドに基づく処理よりも優先して第2ポートで受信する送信コマンドに基づく処理を実行するため、管理装置から受信したコマンドに基づく処理の遅延を抑制できる。
In order to achieve the above object, the present invention connects a POS device, receives a print command for instructing execution of printing from the POS device, connects to a management device, and connects the print from the management device. When it is determined that the second port that receives a transmission command instructing transmission of the state of the device and the state of the device has reached a predetermined state, processing based on the transmission command received at the second port is And a control unit that has priority over processing based on the print command received at the port.
Thereby, when the state of the printing apparatus is a predetermined state, the management apparatus executes processing based on the transmission command received at the second port in preference to processing based on the printing command received at the first port. The processing delay based on the command received from can be suppressed.
上記目的を達成するために、本発明は、POS装置と接続し、前記POS装置から印刷の実行を指示する印刷コマンドを受信する第1ポートと、管理装置と接続し、前記管理装置から印刷装置の状態の送信を指示する送信コマンドを受信する第2ポートと、を備える印刷装置の制御方法であって、自身の状態が所定の状態になったと判別した場合、前記第2ポートで受信する前記送信コマンドに基づく処理を、前記第1ポートで受信する前記印刷コマンドに基づく処理よりも優先して実行することを特徴とする。
これにより、印刷装置の状態が所定の状態である場合に、第1ポートで受信する印刷コマンドに基づく処理よりも優先して第2ポートで受信する送信コマンドに基づく処理を実行するため、管理装置から受信したコマンドに基づく処理の遅延を抑制できる。
In order to achieve the above object, the present invention connects a POS device, a first port for receiving a print command instructing execution of printing from the POS device, a management device, and the management device to the printing device. And a second port for receiving a transmission command for instructing transmission of the state of the printing apparatus, wherein the second port receives the second port when it is determined that the state is a predetermined state. The process based on the transmission command is executed with priority over the process based on the print command received at the first port.
Thereby, when the state of the printing apparatus is a predetermined state, the management apparatus executes processing based on the transmission command received at the second port in preference to processing based on the printing command received at the first port. The processing delay based on the command received from can be suppressed.
以下、図面を参照して本発明の実施形態について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本実施形態に係るネットワークシステム1の構成を示す図である。ネットワークシステム1は、スーパーマーケットや、コンビニエンスストア、デパート、飲食店等の商品や、サービス等を提供し、当該提供に応じて会計が行われる店舗を運営する企業が利用するシステムである。
図1に示すように、ネットワークシステム1は、複数の店舗システム3(POSシステム)と、メンテナンスサーバー7とを備える。
FIG. 1 is a diagram showing a configuration of a network system 1 according to the present embodiment. The network system 1 is a system that is used by companies that provide products, services, etc., such as supermarkets, convenience stores, department stores, restaurants, etc., and operate stores that perform accounting according to the provisions.
As shown in FIG. 1, the network system 1 includes a plurality of store systems 3 (POS systems) and a
店舗システム3は、店舗に設けられるシステムである。
図1に示すように、店舗システム3は、ローカルネットワークLNを備える。ローカルネットワークLNには、1又は複数の印刷装置9と、POSサーバー10と、管理装置11と、通信装置12とが接続する。1又は複数の印刷装置9のそれぞれには、POS端末8(POS装置)が接続する。
The
As shown in FIG. 1, the
印刷装置9は、印刷機能を有する装置である。印刷装置9は、印刷装置9を制御するPOS端末8と共に、店舗において顧客が会計を行なうレジカウンターに設けられる。つまり、レジカウンターには、印刷装置9と、POS端末8とが設けられる。
The
POS端末8は、印刷装置9と通信し、印刷装置9を制御する装置である。後述するように、店舗システム3において、POS端末8は、レジカウンターで行われる会計に応じて、POSサーバー10から必要な情報を取得して会計処理を実行し、会計処理に基づいて、印刷装置9にレシートを発行させる。印刷装置9により発行されたレシートは、レジ担当者によって顧客に引き渡される。
The
POSサーバー10は、POS端末8が会計処理を行うのに必要な情報を記憶するサーバーである。
The
管理装置11は、印刷装置9の状態に関する情報をメンテナンスサーバー7に送信する機能を備える装置である。
The
POS端末8、印刷装置9、POSサーバー10、及び、管理装置11の構成、機能、及び、機能に基づく処理の詳細については後述する。
Details of the configuration, functions, and processing based on the functions of the
通信装置12は、ローカルネットワークLNと、グローバルネットワークGNとを接続するインターフェース装置である。通信装置12は、モデム(又は、ONU(Optical Network Unit))としての機能、ルーター機能、NAT(Network Address Translation)機能、及び、DHCP(Dynamic Host Configuration Protocol)サーバー機能等を有する。通信装置12は、ローカルネットワークLNに接続された機器と、グローバルネットワークGNに接続された機器との間で行われる通信に際し、機器間で送受信されるデータを転送する。なお、図1では、通信装置12を1つのブロックで表現するが、通信装置12は、機能に応じた複数の装置を有する構成でもよい。
The
店舗システム3において、印刷装置9と、POSサーバー10と、管理装置11とは、ローカルネットワークLNを介して通信可能である。
また、店舗システム3の管理装置11は、通信装置12の機能を利用して、ローカルネットワークLN、及び、グローバルネットワークGNを介して、メンテナンスサーバー7と通信する。
In the
Moreover, the
メンテナンスサーバー7は、店舗システム3に設けられた印刷装置9の状態を管理する機能を有するサーバーである。メンテナンスサーバー7については後述する。
The
なお、図1では、メンテナンスサーバー7、及び、POSサーバー10を、それぞれ、1つのブロックによって表現するが、これは、これらサーバーが、それぞれ、単一のサーバー装置により構成されることを意味するものではない。例えば、メンテナンスサーバー7、及び、POSサーバー10は、複数のサーバー装置を含んで構成されたものでもよい。
また、メンテナンスサーバー7と、管理装置11との間では、VPN(Virtual Private Network)等の、暗号化に係る技術や、仮想専用線(物理的な専用線であってもよい。)に係る技術によりセキュアな通信が行われる。
In FIG. 1, the
Further, between the
次に、メンテナンスサーバー7の構成について説明する。
図2は、メンテナンスサーバー7の構成を示すブロック図である。
Next, the configuration of the
FIG. 2 is a block diagram showing the configuration of the
図2に示すように、メンテナンスサーバー7は、メンテナンスサーバー制御部71と、メンテナンスサーバー記憶部72と、メンテナンスサーバー通信部73と、を備える。
As shown in FIG. 2, the
メンテナンスサーバー制御部71は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、メンテナンスサーバー7を制御する。
The maintenance
メンテナンスサーバー記憶部72は、図示しないハードディスクや、EEPROM等の不揮発性メモリーを備え、各種データを不揮発的に記憶する。また、メンテナンスサーバー記憶部72は、後述するステータスデータベース72aを記憶する。
The maintenance
メンテナンスサーバー通信部73は、メンテナンスサーバー制御部71の制御で、ローカルネットワークLNを介して、グローバルネットワークGNに接続する店舗システム3と通信する。
The maintenance
次に、店舗システム3が備えるPOS端末8、印刷装置9、POSサーバー10、及び、管理装置11の構成について説明する。
図3は、店舗システム3の構成を示すブロック図である。
Next, the configuration of the
FIG. 3 is a block diagram showing the configuration of the
POS端末8は、印刷装置9を制御するホストコンピューターである。特に、POS端末8は、レジカウンターにおいて行われる会計に基づいて会計処理を実行し、会計処理に基づいて印刷装置9を制御して、印刷装置9にレシートを発行させる。
The
図3に示すように、POS端末制御部80と、POS端末記憶部81と、POS端末通信部82と、POS端末デバイス通信部83とを備える。
As shown in FIG. 3, a POS
POS端末制御部80は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、POS端末8の各部を制御する。
The POS
POS端末記憶部81は、図示しないハードディスクや、EEPROM等の不揮発性メモリーを備え、各種データを不揮発的に記憶する。
The POS
POS端末通信部82は、POS端末制御部80の制御で、印刷装置9と通信する。本実施形態では、POS端末通信部82は、印刷装置9のUSBインターフェース93bに接続し、USB規格に従って印刷装置9と通信する。
The POS
POS端末デバイス通信部83は、USBの規格に従ったポートや、USB以外のシリアル通信規格に従ったポート、その他通信規格に従ったポートを有するインターフェースボードを備える。POS端末デバイス通信部83は、POS端末制御部80の制御で、ポートに接続されたデバイスと通信する。なお、POS端末デバイス通信部83が無線通信機能を備え、デバイスと無線通信する構成でもよい。
The POS terminal
図3の例では、POS端末8に、デバイスとして、バーコードスキャナーBS、カスタマーディスプレーCD、キャッシュドロアーKS、ディスプレーDPが接続される。
In the example of FIG. 3, a barcode scanner BS, customer display CD, cash drawer KS, and display DP are connected to the
バーコードスキャナーBSは、商品や、商品の包装等に付されたバーコードを読み取り、読取結果を示すデータをPOS端末デバイス通信部83に出力する。POS端末デバイス通信部83は、バーコードスキャナーBSから入力されたデータを、POS端末制御部80に出力する。
The barcode scanner BS reads a barcode attached to a product, product packaging, and the like, and outputs data indicating the read result to the POS terminal
カスタマーディスプレーCDは、液晶ディスプレー等の表示装置であり、POS端末制御部80の制御で、各種情報を表示する。カスタマーディスプレーCDに表示された情報は、レジカウンターで会計を行う顧客が視認できる。
The customer display CD is a display device such as a liquid crystal display, and displays various information under the control of the POS
キャッシュドロアーKSは、現金を収容するトレイや、トレイをロックし、ロックを解除する機構、トレイを引き出す機構等を備え、POS端末制御部80の制御で、ロックを解除し、トレイを引き出す。
The cash drawer KS includes a tray for storing cash, a mechanism for locking and unlocking the tray, a mechanism for pulling out the tray, and the like. The control is controlled by the POS
ディスプレーDPは、液晶表示パネル等の表示パネルを備え、POS端末制御部80の制御で、各種情報を表示する。ディスプレーDPに表示された情報は、レジカウンターでレジを行うレジ担当者が視認できる。
The display DP includes a display panel such as a liquid crystal display panel, and displays various types of information under the control of the POS
印刷装置9は、前述したとおり、印刷機能を有する装置であり、例えば、店舗において顧客が会計を行うレジカウンターに設けられる。印刷装置9は、ロール紙(不図示)を収容し、ロール紙にライン型のサーマルヘッドによってドットを形成することにより、画像を印刷するラインサーマルプリンターである。図1に示すように、印刷装置9は、印刷装置制御部90(制御部)と、印刷装置印刷部91と、印刷装置記憶部92と、印刷装置通信部93とを備える。
As described above, the
印刷装置制御部90は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、印刷装置9を制御する。
The printing
印刷装置印刷部91は、印刷ヘッド911、カッター912、及び、搬送モーター913の印刷機構を備える。
The printing
印刷ヘッド911は、ロール紙の搬送方向と交わる方向に解像度に応じた複数の発熱素子が並んで設けられたライン型のサーマルヘッドであり、発熱素子を発熱させて、感熱紙であるロール紙にドットを形成する。
カッター912は、固定刃と可動刃とを備え、固定刃に対して可動刃を相対的に移動させて固定刃と可動刃とを交叉させることにより、ロール紙を切断する。
搬送モーター913は、搬送ローラー(不図示)を回転させて、印刷装置9の筐体に収容されたロール紙を搬送する。
印刷装置印刷部91は、印刷装置制御部90の制御で、搬送モーター913によりロール紙を搬送しつつ、印刷ヘッド911によりロール紙にレシートに係る画像を印刷し、カッター912により所定の位置でロール紙を切断して、レシートを発行する。
The
The
The
The printing
印刷装置記憶部92は、図示しないハードディスクや、EEPROM等の不揮発性メモリーを備え、各種データを不揮発的に記憶する。また、印刷装置記憶部92は、後述するログファイル92a、及び、優先ポートテーブル92bを記憶する。
The printing
印刷装置通信部93は、LANインターフェース93aと、USBインターフェース93bとを備える。
The printing
LANインターフェース93aは、LANに係るLANポートP2(第2ポート)を有するインターフェースボード、その他のLAN通信に従った通信に関する構成を備える。LANインターフェース93aが有線LANインターフェースである場合、有線LANインターフェースは、イーサネット(登録商標)等の有線LANに係る通信プロトコルに対応するインターフェースボード、その他の有線LANに係る通信プロトコルに従った通信に関する構成を備える。また、LANインターフェース93aが無線LANインターフェースである場合、無線LANインターフェースは、Wi−Fi(登録商標)等の無線LANに係る通信プロトコルに対応する無線通信モジュール、その他の無線LANに係る通信プロトコルに従った通信に関する構成を備える。
本実施形態では、管理装置11は、LANインターフェース93aが有線LANインターフェースである場合において、LANインターフェース93aのLANポートP2を介して印刷装置9と通信する場合を例示する。したがって、LANインターフェース93aは、印刷装置制御部90の制御で、LANポートP2にLANケーブルを介して接続された管理装置11と通信する。
The
In the present embodiment, the
USBインターフェース93bは、USBに係るUSBポートP1(第1ポート)を有するインターフェースボード、その他のUSB通信に従った通信に関する構成を備える。USBインターフェース93bは、印刷装置制御部90の制御で、USBポートP1にUSBケーブルを介して接続されたPOS端末8との間で通信する。
The
なお、本実施形態では、LANに係るLANポートP2は、印刷装置9が有する第2ポートに相当し、USBに係るUSBポートP1は、印刷装置9が有する第1ポートに相当する。
In this embodiment, the LAN port P2 related to the LAN corresponds to the second port included in the
図3に示すように、POSサーバー10は、商品マスター10aを備える。商品マスター10aは、店舗で販売される商品について、商品の商品コードと、商品の単価と、その他の商品に関する情報とを対応付けて記憶するデータベースである。
As shown in FIG. 3, the
管理装置11は、管理装置制御部111と、管理装置記憶部112と、管理装置通信部113とを備える。
The
管理装置制御部111は、図示しないCPUや、ROM、RAM、その他周辺回路等を備え、管理装置11を制御する。
The management
管理装置記憶部112は、図示しないハードディスクや、EEPROM等の不揮発性メモリーを備え、各種データを記憶する。
The management
管理装置通信部113は、管理装置制御部111の制御で、ローカルネットワークLNにアクセスし、ローカルネットワークLNに接続された機器(印刷装置9を含む。)と通信する。また、管理装置通信部113は、管理装置制御部111の制御で、通信装置12を制御して、ローカルネットワークLN、及び、グローバルネットワークGNを介して、メンテナンスサーバー7と通信する。
The management
次に、店舗のレジカウンターにおいて、会計が行われた場合のPOS端末8、及び、印刷装置9の動作について説明する。
図4は、会計が行われた場合のPOS端末8、及び、印刷装置9の動作を示すフローチャートであり、(A)はPOS端末8の動作を示し、(B)は印刷装置9の動作を示す。
Next, operations of the
FIG. 4 is a flowchart showing the operations of the
図4の(A)に示すように、POS端末8のPOS端末制御部80は、顧客の会計に応じて、会計処理を実行する(ステップSA1)。
詳述すると、会計に際し、レジ担当者は、顧客が購入した商品に付されたバーコードをバーコードスキャナーBSにより読み取る。POS端末制御部80は、バーコードスキャナーBSの読み取り結果に基づいて、商品の商品コードを取得し、適宜、POSサーバー10の商品マスター10aを参照して、商品の単価等の会計処理に必要な商品に関する情報を取得する。POS端末制御部80は、取得した商品に関する情報に基づいて、カスタマーディスプレーCDや、ディスプレーDPに商品に関する情報を表示する。また、POS端末制御部80は、取得した商品に関する情報に基づいて、合計金額の計算や、釣銭の計算を行って会計を確定し、カスタマーディスプレーCDや、ディスプレーDPに計算結果を示す情報を表示し、また、キャッシュドロアーKSを制御する。
As shown in FIG. 4A, the POS
More specifically, at the time of accounting, the cashier in charge reads the barcode attached to the product purchased by the customer with the barcode scanner BS. The POS
ステップSA1の会計処理を実行した後、POS端末制御部80は、会計処理に基づいて、印刷装置9に会計に関する情報(商品に関する情報や、合計金額に関する情報、釣銭に関する情報等)が印刷されたレシートを発行させるレシート発行コマンド(印刷コマンド)を生成する(ステップSA2)。つまり、POS端末制御部80は、印刷装置9に印刷の動作を指示するコマンドとして、レシート印刷コマンドを生成する。
After executing the accounting process in step SA1, the POS
次いで、POS端末制御部80は、POS端末通信部82を制御して、生成したレシート発行コマンドを印刷装置9に送信する(ステップSA3)。
Next, the POS
図4の(B)に示すように、印刷装置9の印刷装置制御部90は、印刷装置通信部93を制御して、USBポートP1を介してレシート発行コマンドを受信する(ステップSB1)。
As shown in FIG. 4B, the printing
次いで、印刷装置制御部90は、受信したレシート発行コマンドに基づいて、印刷装置印刷部91を制御して、レシートを発行する(ステップSB2)。発行されたレシートは、レジ担当者によって、顧客に引き渡される。
Next, the printing
次に、メンテナンスサーバー7により印刷装置9の状態を管理するときの印刷装置9、管理装置11、及び、メンテナンスサーバー7の動作について説明する。
図5は、印刷装置9、管理装置11、及び、メンテナンスサーバー7の動作を示すフローチャートであり、(A)は印刷装置9の動作を示し、(B)は管理装置11の動作を示し、(C)はメンテナンスサーバー7の動作を示す。
Next, operations of the
FIG. 5 is a flowchart showing the operations of the
図5の(B)に示すように、管理装置11の管理装置制御部111は、所定のタイミングで、印刷装置9の状態に係る情報を含む印刷装置状態情報データの送信を指示する送信コマンドを印刷装置9に送信する(ステップSD1)。送信コマンドは、印刷装置の状態の送信を指示するコマンドに相当する。また、印刷装置状態情報データは、予め定められた監視項目のログを含む。
As shown in FIG. 5B, the management
監視項目とは、印刷装置9の状態を監視し、ログを取る対象とすることが事前に定められた項目のことである。本実施形態では、監視項目として、監視項目:プリンターエラー、監視項目:印刷ヘッド形成ライン累計数、監視項目:カッター使用累計数が少なくとも存在する。なお、本実施形態で説明する監視項目は一例であり、例示した監視項目に加えて、又は、例示した監視項目の少なくとも一部に代えて、他の監視項目が存在してもよい。例えば、監視項目として、印刷装置9に接続されたデバイスに関する項目や、通信に関する項目(データ転送速度等)等が存在してもよい。
The monitoring item is an item that is predetermined to monitor the state of the
図5の(A)に示すように、印刷装置9の印刷装置制御部90は、LANポートP2を介して、印刷装置状態情報データの送信を指示する送信コマンドを受信する(ステップSC1)。次いで、印刷装置制御部90は、印刷装置記憶部92が記憶するログファイル92aに基づき、印刷装置状態情報データを生成する。
As shown in FIG. 5A, the printing
ログファイル92aとは、ログ情報が記述されたファイルである。ログ情報とは、複数の監視項目のログである。監視項目とは、印刷装置9の状態を監視し、ログを取る対象とすることが事前に定められた項目のことである。
The
監視項目:プリンターエラーのログとして、ログファイル92aには、プリンターエラーが発生したことを示す情報、及び、発生したプリンターエラーが解消したことを示す情報が、日時を示す情報と共に、時系列で記録される。プリンターエラーとは、ロール紙の紙切れや、ロール紙の紙詰まり、印刷ヘッド911の異常発熱等、正常に印刷を行うことができない状態をいう。
Monitoring item: As a printer error log, the
印刷装置制御部90は、プリンターエラーが発生したか否か、及び、プリンターエラーが解消したか否かを監視し(監視項目:プリンターエラーの状態を監視し)、監視結果に基づいて、ログファイル92aに監視項目:プリンターエラーのログを記録する。
The printing
監視項目:印刷ヘッド形成ライン累計数のログとして、ログファイル92aには、印刷ヘッド形成ライン累計数を示す情報が、日時を示す情報と共に、時系列で記録される。印刷ヘッド形成ライン累計数とは、印刷ヘッド911により形成したラインの累計数のことである。本実施形態に係る印刷装置9の印刷装置印刷部91は、印刷ヘッド911による1ライン分のドットの形成、及び、搬送機構による1ライン分のロール紙の搬送を交互に繰り返し行って画像の印刷を実行する。また上述したように、ラインの形成とは、印刷ヘッド911により1ライン分のドットを形成することをいう。
Monitoring item: As a log of the total number of print head formation lines, information indicating the total number of print head formation lines is recorded in time series in the
印刷装置制御部90は、所定の間隔で印刷ヘッドライン累計数を取得し(監視項目:印刷ヘッド形成ライン累計数を監視し)、ログファイル92aに監視項目:印刷ヘッド形成ライン累計数のログを記録する。
The printing
監視項目:カッター使用累計数のログとして、ログファイル92aには、カッター使用累計数を示す情報が、日時を示す情報と共に、時系列で記録される。カッター使用累計数とは、カッター912が行ったロール紙の切断の累計数のことである。
Monitoring item: As a log of the cumulative number of cutters used, information indicating the cumulative number of cutters used is recorded in time series in the
印刷装置制御部90は、所定の間隔でカッター使用累計数を取得し(監視項目:カッター使用累計数を監視し)、ログファイル92aに監視項目:カッター使用累計数のログを記録する。
The printing
印刷装置9の印刷装置制御部90は、印刷装置状態情報データを生成し、LANポートP2を介して管理装置11に送信する(ステップSC2)。
The printing
管理装置11の管理装置制御部111は、管理装置通信部113を制御して、印刷装置状態情報データを受信し(ステップSD2)、所定の記憶領域に記憶する(ステップSD3)。
The management
管理装置制御部111は、印刷装置状態情報データの受信、記憶と並行して、ステータスデータ(後述)を生成するタイミングが到来したか否かを監視する(ステップSD4)。本実施形態では、管理装置11からメンテナンスサーバー7に対して、所定の間隔でステータスデータを生成し、送信する構成となっている。ステップSD4において、管理装置通信部113は、前回、印刷装置状態情報データを送信してから所定の間隔が経過した場合、ステータスデータを生成するタイミングが到来したと判別する。
The management
ステータスデータを生成するタイミングが到来した場合(ステップSD4:YES)、管理装置制御部111は、所定の記憶領域に記憶した印刷装置状態情報データ(複数の印刷装置9に対応する複数の印刷装置状態情報データが記憶された状態の場合は、複数の印刷装置状態情報データ)に基づいて、ステータスデータを生成する(ステップSD5)。
When the timing for generating the status data has arrived (step SD4: YES), the management
ステータスデータとは、印刷装置状態情報データの送信元の印刷装置9のそれぞれについて、印刷装置9を識別する情報と、印刷装置状態データに含まれる監視項目ごとのログ情報との組み合わせを含むデータである。
The status data is data including a combination of information for identifying the
ステータスデータを生成した後、管理装置制御部111は、管理装置通信部113を制御して、生成したステータスデータをメンテナンスサーバー7に送信する(ステップSD6)。次いで、管理装置制御部111は、所定の記憶領域に記憶された印刷装置状態情報データを、所定の記憶領域から削除し(ステップSD7)、処理手順をステップSD2へ戻す。
After generating the status data, the management
図4の(C)に示すように、メンテナンスサーバー7は、ステータスデータを受信する(ステップSE1)。次いで、メンテナンスサーバー7は、受信したステータスデータに基づいて、ステータスデータベース72aを更新する(ステップSE2)。
As shown in FIG. 4C, the
ステータスデータベース72aとは、店舗システム3に設けられた印刷装置9ごとに、印刷装置9を識別する情報と、監視項目ごとのログ情報とを対応付けて記憶するデータベースである。ステップSE2において、メンテナンスサーバー7は、ステータスデータに含まれる印刷装置9ごとのログ情報に基づいて、ステータスデータベース72aに記憶されたログ情報を更新する。
The
以上のようにして、ステータスデータベース72aは、店舗システム3に設けられた印刷装置9のそれぞれについて、印刷装置9を識別する情報と、最新のログ情報とが対応付けられた状態とされる。
メンテナンスサーバー7は、特定の印刷装置9の状態についての問い合わせに応じて、ステータスデータベース72aを参照し、当該特定の印刷装置9のログ情報を取得する。次いで、メンテナンスサーバー7は、取得したログ情報に基づいて、当該特定の印刷装置9の状態に関する情報を応答する。これによって、メンテナンスサーバー7は、店舗システム3の印刷装置9の保守を担当する保守担当者に対して、ステータスデータベース72aに基づき、印刷装置9の保守のために有益な情報を提供する。
As described above, the
The
ところで、印刷装置9は、受信したコマンドに基づく処理を複数並行して実行しない構成とされる場合がある。これは、印刷装置9が印刷の動作の実行の指示するコマンドを複数受信した場合に、並行して搬送モーター913や印刷ヘッド911等の印刷機構が動作することを確実に防止するためである。また、この種の印刷装置9は、受信したコマンドに基づく処理を優先して実行可能に構成される場合がある。特に、店舗システム3で利用される印刷装置9は、レシートの発行に遅延を生じさせないため、レシート発行コマンドに基づく処理を優先して実行する場合がある。つまり、本実施形態では、USBポートP1を介して受信するレシート発行コマンドに基づく処理を優先して実行する場合がある。したがって、処理を複数並行して実行しない構成の場合、レシート発行コマンドに基づく処理を実行している間は、印刷装置9は、他の受信したコマンドに基づく処理を実行しない。しかしながら、印刷装置9は、レシート発行コマンドに基づく処理を実行している間、他のコマンドに基づく処理を実行しないため、レシートを発行している間、印刷の動作が実行できない状態になった場合でも他のコマンドに基づく処理を実行しない。つまり、印刷装置9は、レシートを発行している間、例えば、ロール紙の紙切れ場合や、印刷ヘッド911が故障した場合等の印刷の動作が実行できない状態になった場合、管理装置11から受信するコマンドに基づく処理に遅延が生じる。管理装置11から受信するコマンドに基づく処理に遅延が発生すると、メンテナンスサーバー7は、印刷装置9が印刷の動作を実行できない状態であることの情報の取得に遅延が発生する。これにより、保守担当者へ、印刷装置9が印刷の動作を実行できない状態であることの情報の提供に遅延が生じ、印刷装置9の状態が印刷の動作を実行できない状態が長い期間継続する可能性がある。
By the way, the
そこで、本実施形態の店舗システム3は、以下の動作を実行する。
Therefore, the
図6は、店舗システム3の動作を示すフローチャートである。図6において、(A)はPOS端末8の動作を示し、(B)は印刷装置9の動作を示し、(C)は管理装置11の動作を示す。
FIG. 6 is a flowchart showing the operation of the
POS端末8のPOS端末制御部80は、会計処理を実行しレシート発行コマンドを生成すると、図6の(A)に示すように、生成したレシート発行コマンドを印刷装置9に送信する(ステップSF1)。
When the POS
図6の(B)に示すように、印刷装置9の印刷装置制御部90は、レシート発行コマンドを受信し(ステップSG1)、レシートの発行を開始する(ステップSG2)。レシートの発行を実行している間、印刷装置制御部90は、自身の状態が後述する状態でない場合、管理装置11からLANポートP2を介して送信コマンドを受信しない。これによって、仮に、管理装置11から印刷の動作を指示するコマンドを受信した場合であっても、並行した印刷機構の動作を伴う処理を防止できる。
As shown in FIG. 6B, the printing
次いで、印刷装置制御部90は、自身の状態が印刷の動作が実行できない状態であるか否かを判別する(ステップSG3)。印刷の動作が実行できない状態とは、例えば、ロール紙の紙切れや、ロール紙の紙詰まり、印刷ヘッド911の異常発熱等、正常に印刷を実行できない状態を示す。
Next, the printing
印刷装置制御部90は、自身の状態が印刷の動作を実行できない状態であると判別した場合(ステップS3:YES)、ログファイル92aの監視項目:プリンターエラーに、プリンターエラーが発生したことのログを記録する。そして、印刷装置制御部90は、優先ポートテーブル92b(優先ポート情報)が備えるLANポートP2情報(第2ポート情報)に、処理を優先して実行することを示す優先情報を対応付ける(ステップSG4)。
When the printing
ここで、優先ポートテーブル92bについて説明する。
図7は、優先ポートテーブル92bの一例を示す図である。
Here, the priority port table 92b will be described.
FIG. 7 is a diagram illustrating an example of the priority port table 92b.
優先ポートテーブル92bが格納する1件のレコードには、ポートフィールドF1と、優先フィールドF2とが対応付く。ポートフィールドF1は、印刷装置9が備えるインターフェースが有するポートを示す情報を格納する。本実施形態の場合、印刷装置9は、LANポートP2と、USBポートP1とを備える。そのため、ポートフィールドF1には、図7に示すように、USBポートP1を示すUSBポートP1情報(第1ポート情報)と、LANポートP2を示すLANポートP2情報(第2ポート情報)とを格納する。優先フィールドF2は、印刷装置9が有するポートが受信したコマンドに基づく処理を優先して実行することを示す優先情報(図7では、「○」で表現)を格納する。優先情報は、優先ポートテーブル92bが複数のレコードを格納する場合でも、1のレコードの優先フィールドF2のみに格納される。図7では、レコードR1に優先情報(図7では、「○」で表現)が格納され、レコードR2には優先情報が格納されない。
The port field F1 and the priority field F2 are associated with one record stored in the priority port table 92b. The port field F1 stores information indicating a port included in an interface included in the
印刷装置制御部90は、優先する処理を優先情報が対応付くポートを示す情報に基づき、実行する。すなわち、図7の場合、レコードR1の優先フィールドF2に優先情報(図7では、「○」と表現)が格納されるため、印刷装置制御部90は、USBポートP1を介して通信する装置から受信するコマンドに基づく処理を実行する。すなわち、本実施形態の場合、印刷装置制御部90は、USBポートP1を介してPOS端末8と通信するため、POS端末8から受信するレシート発行コマンドに基づく処理を、LANポートP2を介して通信する管理装置11から受信する送信コマンドに基づく処理よりも優先して実行する。
The printing
図6に示すフローチャートの説明に戻り、前述した通り、印刷装置制御部90は、自身の状態が印刷の動作を実行できない状態であると判別した場合(ステップSG3:YES)、優先情報をLANポートP2情報に対応付ける。本実施形態の場合、印刷装置制御部90は、レコードR1の優先フィールドF2に優先情報(図7では「○」で表現)を格納することをやめ、レコードR2の優先フィールドF2に優先情報を格納する(図7では「○」で表現)。
Returning to the description of the flowchart shown in FIG. 6, as described above, when the printing
次いで、印刷装置制御部90は、優先ポートテーブル92bを参照し、LANポートP2を介して管理装置11から受信する送信コマンドに基づく処理を優先する。ここで、印刷装置制御部90は、優先ポートテーブル92bのLANポートP2情報に優先情報を対応付けると、LANポートP2を介して管理装置11からの送信コマンドを受信可能にする。
Next, the printing
図6の(C)に示すように、管理装置11の管理装置制御部111は、所定のタイミングで、印刷装置状態情報データの送信を指示するコマンドを印刷装置9に送信する(ステップSH1)。
As shown in FIG. 6C, the management
図6の(B)に示すように、印刷装置9の印刷装置制御部90は、管理装置11からLANポートP2を介して送信コマンドを受信する(ステップSG5)。次いで、印刷装置制御部90は、ログファイル92aを参照し、印刷装置状態情報データを生成して、管理装置11に送信する(ステップSG6)。
As shown in FIG. 6B, the printing
図6の(C)に示すように、管理装置11の管理装置制御部111は、印刷装置9から印刷装置状態情報データを受信する(ステップSH2)。
As shown in FIG. 6C, the management
このように、印刷装置制御部90は、レシート発行コマンドに基づく処理を実行している間、印刷の動作が実行できない状態になった場合でも、管理装置11から受信する送信コマンドに基づく処理を実行できる。すなわち、印刷装置制御部90は、印刷の動作が実行できない状態になった場合でも、印刷装置状態情報データを管理装置11に送信でき、管理装置11から受信する送信コマンドに基づく処理の遅延の発生を抑制できる。
特に、管理装置11から受信する送信コマンドに基づく処理の遅延の発生を抑制できるため、印刷装置9が印刷の動作を実行できない状態である場合において、メンテナンスサーバー7が、印刷装置9が印刷の動作を実行できないことを示す情報の取得の遅延を抑制できる。これにより、保守担当者への印刷装置9が印刷の動作を実行できない状態であることを示す情報の提供の遅延を抑制でき、印刷装置9が印刷の動作を実行できない状態が長い期間継続することを抑制できる。
As described above, the printing
In particular, since the occurrence of processing delay based on a transmission command received from the
図6の(B)に示すように、印刷装置9の印刷装置制御部90は、印刷の動作が実行できない状態が解除されたか否かを判別する(ステップSG7)。印刷の動作が実行できない状態が解除されたとは、例えば、印刷の動作が実行できない状態がロール紙の紙切れの場合、ロール紙が補充されたことを示す。また、例えば、印刷の動作が実行できない状態がロール紙の紙詰まりの場合、当該状態が解除されたとは、ロール紙の紙詰まりが解除されたことを示す。
As shown in FIG. 6B, the printing
印刷の動作が実行できない状態が解除されたと判別した場合(ステップSG7:YES)、印刷装置制御部90は、優先情報をUSBポートP1情報に対応付ける(ステップSG8)。本実施形態の場合、印刷装置制御部90は、レコードR2の優先フィールドF2に優先情報(図7では「○」で表現)を格納することをやめ、レコードR1の優先フィールドF2に優先情報を格納する(図7では「○」で表現)。
When it is determined that the state in which the printing operation cannot be performed is canceled (step SG7: YES), the printing
次いで、印刷装置制御部90は、優先ポートテーブル92bを参照し、レシート印刷コマンドに基づく処理を再開する(ステップSG9)。印刷装置制御部90は、図示しない受信バッファーに格納されたレシート印刷コマンドが含むコマンドに基づく処理の実行を再開する。
Next, the printing
このように、印刷装置制御部90は、印刷の動作を実行できない状態が解除されると、レシートの発行を優先して実行できる。そのため、印刷装置制御部90は、印刷の動作を実行できない状態が解除された場合、ロール紙の紙切れや印刷ヘッド911の異常発熱等により中断されたレシートの発行が行われ、レシートの発行の遅延を抑制できる。
As described above, when the state in which the printing operation cannot be performed is canceled, the printing
次いで、印刷装置制御部90は、レシートの発行が終了したか否かを判別する(ステップSG10)。レシートの発行が終了しないと判別した場合(ステップSG10:NO)、印刷装置制御部90は、処理をステップSG3に戻す。一方で、レシートの発行が終了したと判別した場合、印刷装置制御部90は本処理を終了する。なお、レシートの発行の処理を実行していない場合、印刷装置制御部90は、受信したコマンドに基づく処理を実行する。すなわち、レシートの発行の処理を実行していない場合において管理装置11から送信コマンドを、LANポートP2を介して受信した場合、印刷装置制御部90は、送信コマンドに基づく処理を実行する。レシートの発行の処理を実行していない場合において、管理装置11からの送信コマンドと、POS端末8からのレシート発行コマンドとを同時に受信した場合、印刷装置制御部90は、レシート発行コマンドに基づく処理を優先して実行する。
Next, the printing
以上、説明したように、本実施形態の店舗システム3(POSシステム)は、USBポートP1(第1ポート)とLANポートP2(第2ポート)とを有する印刷装置9と、USBポートP1に接続するPOS端末8(POS装置)と、LANポートP2に接続する管理装置11とを備える。POS端末8は、印刷の動作の実行を指示するレシート発行コマンド(印刷コマンド)をUSBポートP1に送信可能である。管理装置11は、印刷装置9の状態の送信を指示する送信コマンドをLANポートP2に送信可能である。印刷装置9は、自身の状態が印刷の動作を実行できない状態になった場合、LANポートP2で受信する送信コマンドに基づく処理を、USBポートP1で受信するレシート発行コマンドに基づく処理よりも優先して実行する。
As described above, the store system 3 (POS system) of this embodiment is connected to the
これにより、印刷装置9の状態が印刷の動作を実行できない状態に、USBポートP1で受信するレシート発行コマンドよりも優先してLANポートP2で受信する送信コマンドに基づく処理を実行する。そのため、管理装置11から受信した送信コマンドに基づく処理の遅延を抑制できる。
As a result, processing based on the transmission command received at the LAN port P2 is executed in preference to the receipt issue command received at the USB port P1, so that the
また、印刷装置9は、USBポートP1でレシート発行コマンドを受信した場合、受信したレシート発行コマンドに基づく処理を優先して実行し、受信したレシート発行コマンドに基づく処理を実行している間、管理装置11から送信される送信コマンドを処理しない。印刷装置9は、レシート発行コマンドに基づく処理を実行している間、自身の状態が印刷の動作が実行できない状態になった場合に、送信コマンドをLANポートP2で受信し、受信した送信コマンドに基づく処理を優先して実行する。
In addition, when receiving a receipt issuance command at the USB port P1, the
これにより、レシート発行コマンドに基づく処理を実行している間、送信コマンドを処理せず、印刷装置9が印刷の動作を実行できない状態になった場合に、送信コマンドに基づく処理を優先して実行するため、レシート発行コマンドに基づく処理を実行している場合であっても、管理装置11から受信したコマンドに基づく処理の遅延を抑制できる。
As a result, when the processing based on the receipt issuance command is being executed, the transmission command is not processed, and the processing based on the transmission command is preferentially executed when the
また、印刷装置9は、USBポートP1を示すUSBポートP1情報(第1ポート情報)、又は、LANポートP2を示す第2ポート情報(LANポートP2情報)のいずれかに、処理を優先して実行することを示す優先情報が対応付く優先ポートテーブル92b(優先ポート情報)を記憶する。印刷装置9は、自身の状態が印刷の動作を実行できない状態になった場合、LANポートP2情報に優先情報を対応付け、優先ポートテーブル92b(優先ポート情報)に基づき、LANポートP2で受信する送信コマンドに基づく処理を優先して実行する。
Further, the
これにより、印刷装置9が印刷の動作を実行できない状態なった場合、LANポートP2情報に優先情報を対応付けるため、優先ポートテーブル92bに基づいて、送信コマンドに基づく処理を実行でき、管理装置11から受信した送信コマンドに基づく処理の遅延を抑制できる。
As a result, when the
また、印刷装置9は、印刷の動作を実行できない状態が解除された場合、USBポートP1情報に優先情報を対応付ける。
Further, when the state in which the printing operation cannot be performed is canceled, the
これにより、印刷装置9が印刷の動作を実行できない状態から解除された場合、USBポートP1情報に優先情報を対応付けるため、印刷装置9が印刷の動作を実行できない状態になった後、当該状態が解除された場合に、レシート発行コマンドに基づく処理を優先して実行できる。
As a result, when the
なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。 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.
例えば、上述した実行形態では、印刷装置9がLANポートP2とUSBポートP1とを有する構成を例示したが、この構成に限定されない。例えば、RS232等の所定のシリアル通信プロトコルに係るポートや、IEEE1284等の所定のパラレル通信プロトコルに係るポート等を備える構成でもよい。この場合、各ポートに対応するインターフェースを印刷装置9が有する。また、この場合、優先ポートテーブル92bが有すレコードは、各ポートに対応するレコードを有する。
For example, in the above-described execution mode, the configuration in which the
また、例えば、上述した実施形態では、レシート発行コマンドをUSBポートP1を介して、送信コマンドをLANポートP2を介して受信する構成、すなわち、物理ポートを介してコマンドを受信する構成を例示した。しかしながら、ブルートゥース等に従った論理ポートでもよい。 Further, for example, in the above-described embodiment, the configuration in which the receipt issue command is received via the USB port P1 and the transmission command is received via the LAN port P2, that is, the configuration in which the command is received via the physical port is exemplified. However, a logical port according to Bluetooth or the like may be used.
また、例えば、上述した実施形態において、印刷装置9は、レシート発行コマンドに基づきレシートの発行の動作を実行している場合、管理装置11から送信コマンドを受信しない構成を例示した。しかしながら、レシートの発行の動作を実行している間、送信コマンドに基づく処理を実行しなければよく、印刷装置9は、送信コマンドを受信してもよい。この場合、印刷装置9は、レシートの発行の動作を実行している間、図示しない受信バッファーに送信コマンドを格納し、レシートの動作を実行終了後、受信バッファーに格納した送信コマンドに基づく処理を実行する。また、印刷装置9は、レシートの発行の動作を実行している間、送信コマンドを受信し、その後、印刷の動作を実行できない状態になった場合、受信し受信バッファーに格納した送信コマンドに基づき処理を実行してもよい。
Further, for example, in the above-described embodiment, the configuration in which the
また例えば、上述した実施形態では、店舗システム3が、店舗に適用される場合を例示して発明を説明したが、店舗システム3が適用される施設は、店舗に限らない。
Further, for example, in the above-described embodiment, the invention has been described by exemplifying the case where the
また、例えば、ネットワークシステム1を構成する各装置の通信方法はどのような方法でもよい。 Further, for example, any method may be used as a communication method for each device constituting the network system 1.
また、例えば、図4、図5、及び、図6の処理単位は、店舗システム3の各構成の処理を理解容易にするために、主な処理内容に応じて分割したものであり、処理単位の分割の仕方や名称によって、本発明が限定されることはない。店舗システム3の各構成の処理は、処理内容に応じて、されに多くの処理単位に分割してもよい。また、1つの処理単位がさらに多くの処理を含むように分割してもよい。
Further, for example, the processing units in FIGS. 4, 5, and 6 are divided according to main processing contents in order to facilitate understanding of the processing of each component of the
また、図2、及び、図3に示した各機能部は機能的構成を示すものであって、具体的な実装形態は特に限定されない。つまり、必ずしも各機能部に個別に対応するハードウェアが実装される必要はなく、一つのプロセッサーがプログラムを実行することで複数の機能部の機能を実現する構成とすることも勿論可能である。また、上述した各実施形態においてソフトウェアで実現される機能の一部をハードウェアとしてもよく、或いは、ハードウェアで実現される機能の一部をハードウェアで実現してもよい。その他、メンテナンスサーバー7、POS端末8、印刷装置9、POSサーバー10、及び、管理装置11の他の各部の具体的な細部構成についても、本発明の趣旨を逸脱しない範囲で任意に変更可能である。
Moreover, each function part shown in FIG.2 and FIG.3 shows a functional structure, Comprising: A specific mounting form is not specifically limited. That is, it is not always necessary to mount hardware corresponding to each function unit individually, and it is of course possible to adopt a configuration in which the functions of a plurality of function units are realized by one processor executing a program. In each of the above-described embodiments, a part of functions realized by software may be hardware, or a part of functions realized by hardware may be realized by hardware. In addition, the specific details of the other components of the
また、例えば、上述した実施形態において、印刷装置9をサーマルプリンターとして例示したが、これに限定されない。例えば、インクジェットプリンターや、ドットインパクトプリンター、レーザープリンター等の他のプリンターでも本発明を適応できる。
For example, in the above-described embodiment, the
3…店舗システム、8…POS端末、9…印刷装置、10…POSサーバー、10a…商品マスター、11…管理装置、12…通信装置、80…POS端末制御部、81…POS端末記憶部、82…POS端末通信部、83…POS端末デバイス通信部、90…印刷装置制御部、91…印刷装置印刷部、92…印刷装置記憶部、92a…ログファイル、92b…優先ポートテーブル、93…印刷装置通信部、93a…LANインターフェース、93b…USBインターフェース、111…管理装置制御部、112…管理装置記憶部、113…管理装置通信部、911…印刷ヘッド、912…カッター、913…搬送モーター、BS…バーコードスキャナー、CD…カスタマーディスプレー、DP…ディスプレー、KS…キャッシュドロアー、P1…USBポート、P2…LANポート。
DESCRIPTION OF
Claims (7)
前記POS装置は、
印刷の実行を指示する印刷コマンドを前記第1ポートに送信可能であり、
前記管理装置は、
前記印刷装置の状態の送信を指示する送信コマンドを前記第2ポートに送信可能であり、
前記印刷装置は、
自身の状態が所定の状態になったと判別した場合、前記第2ポートで受信する前記送信コマンドに基づく処理を、前記第1ポートで受信する前記印刷コマンドに基づく処理よりも優先して実行する、
ことを特徴とするPOSシステム。 A POS system comprising a printing device having a first port and a second port, a POS device connected to the first port, and a management device connected to the second port,
The POS device is
A print command for instructing execution of printing can be transmitted to the first port;
The management device
A transmission command for instructing transmission of the status of the printing apparatus can be transmitted to the second port;
The printing apparatus includes:
When it is determined that its own state has become a predetermined state, the process based on the transmission command received at the second port is executed in preference to the process based on the print command received at the first port;
POS system characterized by that.
前記第1ポートで前記印刷コマンドを受信した場合、受信した印刷コマンドに基づく処理を優先して実行し、受信した前記印刷コマンドに基づく処理を実行している間、前記管理装置から送信される前記送信コマンドを処理せず、
自身の状態が前記所定の状態になったと判別した場合に、前記第2ポートで受信した前記送信コマンドに基づく処理を優先して実行する、
ことを特徴とする請求項1に記載のPOSシステム。 The printing apparatus includes:
When the print command is received at the first port, the process based on the received print command is preferentially executed, and the process transmitted from the management apparatus is performed while the process based on the received print command is being executed. Do not process send commands,
When it is determined that its own state is the predetermined state, the process based on the transmission command received at the second port is preferentially executed.
The POS system according to claim 1.
前記第1ポートを示す第1ポート情報、又は、前記第2ポートを示す第2ポート情報のいずれかに、処理を優先して実行することを示す優先情報が対応付く優先ポート情報を記憶し、
自身の状態が前記所定の状態になったと判別した場合、前記第2ポート情報に前記優先情報を対応付け、前記優先ポート情報に基づき、前記第2ポートで受信する前記送信コマンドに基づく処理を優先して実行する、
ことを特徴とする請求項1から2のいずれか一項に記載のPOSシステム。 The printing apparatus includes:
Storing priority port information associated with priority information indicating that processing is preferentially performed in either the first port information indicating the first port or the second port information indicating the second port;
When it is determined that its own state has become the predetermined state, the priority information is associated with the second port information, and processing based on the transmission command received at the second port is prioritized based on the priority port information And run,
The POS system according to claim 1, wherein the POS system is a POS system.
前記所定の状態が解除された場合、前記第1ポート情報に前記優先情報を対応付ける、
ことを特徴とする請求項3に記載のPOSシステム。 The printing apparatus includes:
When the predetermined state is released, the priority information is associated with the first port information.
The POS system according to claim 3.
ことを特徴とする請求項1から4のいずれか一項に記載のPOSシステム。 The predetermined state is a state in which the printing apparatus cannot print.
The POS system according to any one of claims 1 to 4, wherein
管理装置と接続し、前記管理装置から印刷装置の状態の送信を指示する送信コマンドを受信する第2ポートと、
自身の状態が所定の状態になったと判別した場合、前記第2ポートで受信する前記送信コマンドに基づく処理を、前記第1ポートで受信する前記印刷コマンドに基づく処理よりも優先して実行する制御部と、を備える、
ことを特徴とする印刷装置。 A first port connected to a POS device and receiving a print command instructing execution of printing from the POS device;
A second port connected to the management device and receiving a transmission command instructing transmission of the status of the printing device from the management device;
Control that executes processing based on the transmission command received at the second port in preference to processing based on the print command received at the first port when it is determined that its own state has reached a predetermined state And comprising
A printing apparatus characterized by that.
自身の状態が所定の状態になったと判別した場合、前記第2ポートで受信する前記送信コマンドに基づく処理を、前記第1ポートで受信する前記印刷コマンドに基づく処理よりも優先して実行する、
ことを特徴とする印刷装置の制御方法。 A first port that is connected to the POS device and receives a print command for instructing execution of printing from the POS device, and a management device, and receives a transmission command for instructing transmission of the status of the printing device from the management device. And a second port control method, comprising:
When it is determined that its own state has become a predetermined state, the process based on the transmission command received at the second port is executed in preference to the process based on the print command received at the first port;
A control method for a printing apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016008955A JP2017130044A (en) | 2016-01-20 | 2016-01-20 | Pos system, printer and control method of printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016008955A JP2017130044A (en) | 2016-01-20 | 2016-01-20 | Pos system, printer and control method of printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2017130044A true JP2017130044A (en) | 2017-07-27 |
Family
ID=59395579
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016008955A Pending JP2017130044A (en) | 2016-01-20 | 2016-01-20 | Pos system, printer and control method of printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2017130044A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020117204A1 (en) * | 2018-12-04 | 2020-06-11 | Hewlett-Packard Development Company, L.P. | Connector cables to transmit data and power |
-
2016
- 2016-01-20 JP JP2016008955A patent/JP2017130044A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020117204A1 (en) * | 2018-12-04 | 2020-06-11 | Hewlett-Packard Development Company, L.P. | Connector cables to transmit data and power |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3190509B1 (en) | Network system | |
JP6375853B2 (en) | RECORDING DEVICE, ACCOUNTING SYSTEM, AND RECORDING DEVICE CONTROL METHOD | |
JP2017130044A (en) | Pos system, printer and control method of printer | |
JP6065761B2 (en) | Control device and control method of control device | |
JP5556248B2 (en) | CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
JP2017073068A (en) | Network system and server | |
JP6623661B2 (en) | Network system and communication control method | |
JP2017077660A (en) | Printer, fan motor replacement period calculating method, and network system | |
US9959489B2 (en) | Network system, printing device, and control method of a printing device | |
JP2016212491A (en) | Network system, network system control method, and control device | |
JP2019081273A (en) | Printer and control method for printer | |
JP2016081106A (en) | Information processor, accounting system and recording apparatus | |
JP6578894B2 (en) | Network system and control device | |
JP6686377B2 (en) | Network system | |
JP6531606B2 (en) | Network system | |
JP6578895B2 (en) | Network system and control device | |
JP2019204385A (en) | Image processing system and image forming apparatus | |
JP6572785B2 (en) | Network system, control device, and control method of control device | |
JP6015141B2 (en) | CONTROL DEVICE, CONTROL SYSTEM, CONTROL DEVICE CONTROL METHOD, AND PROGRAM | |
JP2017091161A (en) | Network system and information processor | |
JP6003475B2 (en) | Printing system, printing apparatus, and printing method | |
JP6634832B2 (en) | Network system, information processing apparatus, and control method for information processing apparatus | |
US20170132500A1 (en) | Printing System, Control Device, and Control Method of a Printing System | |
JP2011034506A (en) | Controller, method for controlling controller, and program | |
JP6127638B2 (en) | Printing apparatus, printing apparatus control method, and program |