JP6237110B2 - Printer, printing system, and printer control method - Google Patents

Printer, printing system, and printer control method Download PDF

Info

Publication number
JP6237110B2
JP6237110B2 JP2013219324A JP2013219324A JP6237110B2 JP 6237110 B2 JP6237110 B2 JP 6237110B2 JP 2013219324 A JP2013219324 A JP 2013219324A JP 2013219324 A JP2013219324 A JP 2013219324A JP 6237110 B2 JP6237110 B2 JP 6237110B2
Authority
JP
Japan
Prior art keywords
unit
control
power
control unit
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2013219324A
Other languages
Japanese (ja)
Other versions
JP2015080890A (en
JP2015080890A5 (en
Inventor
崇 河森
崇 河森
直弘 金子
直弘 金子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2013219324A priority Critical patent/JP6237110B2/en
Publication of JP2015080890A publication Critical patent/JP2015080890A/en
Publication of JP2015080890A5 publication Critical patent/JP2015080890A5/ja
Application granted granted Critical
Publication of JP6237110B2 publication Critical patent/JP6237110B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、プリンター、印刷システム及びプリンターの制御方法に関する。   The present invention relates to a printer, a printing system, and a printer control method.

一般に、プリンターは、電源のオンオフを切り換える電源スイッチを備え、この電源スイッチの操作によって印刷ヘッドへの電源供給、及びプリンターの各種ユニットを制御する制御回路の電源供給が、オンオフされる(例えば、特許文献1参照)。   Generally, a printer includes a power switch that switches power on and off. By operating the power switch, power supply to a print head and power supply to a control circuit that controls various units of the printer are turned on and off (for example, patents). Reference 1).

特開2013−103410号公報JP2013-103410A

ところで、プリンターがデータ処理を行っている間に電源スイッチの操作により、電源供給が物理的に遮断されると、処理中のデータが消失する等の影響がある。処理中のデータに影響を与えないように電源をオフにするためには、電源スイッチの他に、電源をオフにさせる手段を設けることが考えられるが、例えば新たなスイッチを設けると装置構成が複雑化してしまうので、好ましくない。
本発明は上述した事情に鑑みてなされたものであり、プリンターが処理するデータに影響を与えないように電源をオフにする制御が可能なプリンター、印刷システム及びプリンターの制御方法を提供することを目的とする。
By the way, if the power supply is physically cut off by operating the power switch while the printer is processing data, there is an effect that data being processed is lost. In order to turn off the power supply so as not to affect the data being processed, it is conceivable to provide a means for turning off the power supply in addition to the power switch. Since it will become complicated, it is not preferable.
The present invention has been made in view of the above circumstances, and provides a printer, a printing system, and a printer control method capable of controlling to turn off the power so as not to affect data processed by the printer. Objective.

上記目的を達成するために、本発明のプリンターは、電源を供給する電源部と、前記電源部からの電源の供給を開始させる電源スイッチと、前記電源部から電源が供給され、印刷を行う印刷部と、前記電源部から電源が供給され、決済処理に係る制御を行う制御部と、前記決済処理に係るデータ及び前記制御部への電源の供給を停止させる制御情報を受信する通信部と、前記通信部で前記制御情報を受信した場合に、前記電源部から前記制御部への電源の供給を停止する制御を行う電源制御部と、を有することを特徴とする。
本発明によれば、通信部が制御情報を受信した場合に、電源制御部の制御によりプリンターの制御部の電源をオフにする。これにより、制御部が処理するデータの消失等を招かないように電源をオフにする制御が可能となる。
In order to achieve the above object, a printer according to the present invention includes a power supply unit that supplies power, a power switch that starts supplying power from the power supply unit, and printing that is supplied with power from the power supply unit and performs printing. A control unit that receives power from the power supply unit and performs control related to payment processing, a communication unit that receives data related to the payment processing and control information that stops supply of power to the control unit, And a power supply control unit that performs control to stop the supply of power from the power supply unit to the control unit when the communication unit receives the control information.
According to the present invention, when the communication unit receives control information, the printer control unit is turned off by the control of the power control unit. Thereby, it is possible to control to turn off the power so as not to cause loss of data processed by the control unit.

また、本発明は、上記プリンターにおいて、前記制御情報を受信した場合に、前記制御情報の認証を行う認証情報を記憶する記憶部を有し、前記通信部は、前記制御情報を受信する時に、前記制御情報に係る認証データを受信し、前記電源制御部は、前記制御情報を受信した場合に前記記憶部に記憶される前記認証情報に基づいて前記認証データの認証を行う。
本発明によれば、認証を行うことにより、不正な指示によってプリンターの電源がオフされることを防止できる。
In the printer, when the control information is received, the printer has a storage unit that stores authentication information for authenticating the control information, and the communication unit receives the control information. Upon receiving authentication data related to the control information, the power supply control unit authenticates the authentication data based on the authentication information stored in the storage unit when the control information is received.
According to the present invention, it is possible to prevent the printer from being turned off by an unauthorized instruction by performing authentication.

また、本発明は、上記プリンターにおいて、前記電源制御部は、前記制御情報を受信した場合に、予め設定された前記制御部のシャットダウン処理を実行して前記制御部への電源の供給を停止させる。
本発明によれば、制御部がシャットダウン処理を実行することにより、処理中のデータの消失や破損を防止できる。
In the printer according to the aspect of the invention, when the control information is received, the power control unit executes a preset shutdown process of the control unit to stop the supply of power to the control unit. .
According to the present invention, when the control unit executes the shutdown process, it is possible to prevent data from being lost or damaged during the process.

また、本発明は、上記プリンターにおいて、前記印刷部を制御する印刷制御部を有し、前記制御部は、前記決済処理に係るデータを前記印刷制御部に出力する第1処理と、前記決済処理に係るデータを処理して、処理したデータを前記通信部で送信する第2処理とを実行し、前記制御情報を受信した場合に、前記制御部は、前記シャットダウン処理で前記第1処理と前記第2処理とを終了させ、前記電源制御部は、前記制御部への電源の供給を停止させる。
本発明によれば、決済処理に係るデータを印刷制御部に出力する第1処理、及び、決済処理に係るデータを処理して、処理したデータを通信部で送信する第2処理のいずれにおいても、処理中のデータの消失や破損を防止できる。
In the printer, the present invention further includes a print control unit that controls the printing unit, and the control unit outputs a first process for outputting data related to the settlement process to the print control unit, and the settlement process. When the control information is received, the control unit performs the first process in the shutdown process and the second process of transmitting the processed data and transmitting the processed data by the communication unit. The second process is terminated, and the power control unit stops the supply of power to the control unit.
According to the present invention, both the first process for outputting the data related to the payment process to the print control unit and the second process for processing the data related to the payment process and transmitting the processed data by the communication unit. , Data loss and corruption during processing can be prevented.

また、本発明は、前記印刷制御部を有する印刷制御基板と、前記電源部及び前記制御部を有する制御基板を有し、前記電源部は、前記制御基板、前記印刷制御基板及び前記印刷部に電源を供給することを特徴とする。
また、本発明は、データを送受信する接続部と、前記接続部で送受信されるデータを制御するデータ制御部と、を有し、前記電源制御部は、前記制御情報を受信した場合に前記データ制御部への電源の供給を停止させることを特徴とする。
The present invention also includes a print control board having the print control unit, and a control board having the power supply unit and the control unit. The power supply unit is connected to the control board, the print control board, and the printing unit. It is characterized by supplying power.
The present invention further includes a connection unit that transmits and receives data, and a data control unit that controls data transmitted and received by the connection unit, and the power supply control unit receives the control information when the control information is received. The power supply to the control unit is stopped.

また、本発明の印刷システムは、決済情報に係るデータ及び制御部への電源の供給を停止させる制御情報を送信する送信装置と、電源を供給する電源部、前記電源部からの電源の供給を開始させる電源スイッチ、前記電源部から電源が供給されて印刷を行う印刷部、前記電源部から電源が供給されて決済処理に係る制御を行う前記制御部、前記決済処理に係るデータ及び前記制御情報を受信する通信部、及び前記通信部で前記制御情報を受信した場合に前記電源部から前記制御部への電源の供給を停止する制御を行う電源制御部を有するプリンターと、を備えることを特徴とする。
本発明によれば、通信部が制御情報を受信した場合に、電源制御部の制御によりプリンターの制御部の電源をオフにする。これにより、制御部が処理するデータの消失等を招かないように電源をオフにする制御が可能となる。
Further, the printing system of the present invention includes a transmission device that transmits data relating to payment information and control information for stopping supply of power to the control unit, a power supply unit that supplies power, and supply of power from the power supply unit. A power switch to be started, a printing unit that performs printing with power supplied from the power unit, the control unit that performs control related to payment processing with power supplied from the power unit, data related to the payment processing, and the control information And a printer having a power supply control unit that performs control to stop the supply of power from the power supply unit to the control unit when the control information is received by the communication unit. And
According to the present invention, when the communication unit receives control information, the printer control unit is turned off by the control of the power control unit. Thereby, it is possible to control to turn off the power so as not to cause loss of data processed by the control unit.

また、本発明のプリンターの制御方法は、電源スイッチへの動作に従って電源の供給が開始され、受信する決済情報に係るデータに基づいて制御部で制御を行い、前記決済情報に係るデータに基づく印刷を実行し、前記制御部への電源の供給を停止させる制御情報を受信した場合、前記制御情報に基づいて前記制御部への電源の供給を停止させることを特徴とする。
本発明によれば、通信部が制御情報を受信した場合に、電源制御部の制御によりプリンターの制御部の電源をオフにする。これにより、制御部が処理するデータの消失等を招かないように電源をオフにする制御が可能となる。
In the printer control method of the present invention, the supply of power is started according to the operation to the power switch, the control unit performs control based on the received data related to the payment information, and printing based on the data related to the payment information is performed. When the control information for stopping the supply of power to the control unit is received, the supply of power to the control unit is stopped based on the control information.
According to the present invention, when the communication unit receives control information, the printer control unit is turned off by the control of the power control unit. Thereby, it is possible to control to turn off the power so as not to cause loss of data processed by the control unit.

POSシステムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of a POS system. POSシステムの各装置の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of each apparatus of a POS system. プリンターのハードウェア構成を示す図である。2 is a diagram illustrating a hardware configuration of a printer. FIG. 制御部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a control part.

以下、図面を参照して本発明の実施形態について説明する。
図1に、本実施形態のPOS(Point of Sales)システム1の概略構成図を示す。POSシステム1(印刷システム)は、小売店、飲食店、或いはその他の店舗、施設等に適用されるシステムである。POSシステム1は、店舗における商品(サービスを含む)販売に関し、商品の登録、支払い金額算出、支払いに伴う会計処理、販売及び会計処理の結果を印刷するレシート発行、この会計処理に伴う情報の提供等を行う。また、POSシステム1は、店舗における商品の販売状況、商品の在庫の状況、売上の状況等を管理する機能を有する。
POSシステム1が使用される店舗には、少なくとも1台のプリンター11が設けられ、会計処理等を行う制御タブレット端末101と、表示等の処理を行う1又は複数のタブレット端末102を設置可能である。制御タブレット端末101及び各タブレット端末102はプリンター11に接続される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 shows a schematic configuration diagram of a POS (Point of Sales) system 1 of the present embodiment. The POS system 1 (printing system) is a system applied to retail stores, restaurants, or other stores and facilities. The POS system 1 relates to sales of merchandise (including services) in a store, registration of merchandise, calculation of payment amount, accounting processing associated with payment, issuance of receipts for printing results of sales and accounting processing, and provision of information accompanying this accounting processing Etc. The POS system 1 also has a function of managing the sales status of products in stores, the status of product inventory, the status of sales, and the like.
In a store where the POS system 1 is used, at least one printer 11 is provided, and a control tablet terminal 101 that performs accounting processing and one or a plurality of tablet terminals 102 that perform processing such as display can be installed. . The control tablet terminal 101 and each tablet terminal 102 are connected to the printer 11.

制御タブレット端末101及びタブレット端末102は、タブレット型(板状)のコンピューターであり、本実施形態では、前面に形成された表示領域にタッチパネルが設けられ、タッチ操作によって各種入力が可能である。制御タブレット端末101は、会計を担当するレジ担当者(以下、オペレーターという)が使用する。タブレット端末102は、会計に関する情報、例えば、会計の合計金額等を顧客に対して表示する、カスタマーディスプレイとして機能する。   The control tablet terminal 101 and the tablet terminal 102 are tablet-type (plate-like) computers, and in this embodiment, a touch panel is provided in a display area formed on the front surface, and various inputs can be performed by touch operations. The control tablet terminal 101 is used by a cashier person in charge of accounting (hereinafter referred to as an operator). The tablet terminal 102 functions as a customer display that displays information related to accounting, for example, the total amount of accounting, to the customer.

プリンター11は、POSサーバー17と、デバイスサーバー18とを備える。
POSサーバー17は、POSシステム1を管理するサーバーユニットであり、制御タブレット端末101に対するデータの提供等を行う。また、デバイスサーバー18は、複数のタブレット端末102に対して表示データを送信する。
The printer 11 includes a POS server 17 and a device server 18.
The POS server 17 is a server unit that manages the POS system 1 and provides data to the control tablet terminal 101. The device server 18 transmits display data to the plurality of tablet terminals 102.

デバイスサーバー18は、カードリーダー12と、バーコードスキャナー13と、キャッシュドロワー14とに接続している。カードリーダー12は、USB等の規格に準拠した有線通信インターフェイスによりデバイスサーバー18に接続される。カードリーダー12は、クレジットカードや顧客の会員カード等に使用される磁気カードやICカードに記録された情報を読み取って、読取結果をデバイスサーバー18に出力する。バーコードスキャナー13は、近距離無線通信や通信ケーブルを介してデバイスサーバー18に接続され、商品又は商品の包装に付されたバーコードを読み取って、読取結果をデバイスサーバー18に出力する。デバイスサーバー18は、カードリーダー12や、バーコードスキャナー13から入力したデータを制御タブレット端末101に送信する。   The device server 18 is connected to the card reader 12, the barcode scanner 13, and the cash drawer 14. The card reader 12 is connected to the device server 18 by a wired communication interface compliant with a standard such as USB. The card reader 12 reads information recorded on a magnetic card or IC card used for a credit card, a customer membership card, or the like, and outputs the read result to the device server 18. The barcode scanner 13 is connected to the device server 18 via short-range wireless communication or a communication cable, reads the barcode attached to the product or the product packaging, and outputs the read result to the device server 18. The device server 18 transmits data input from the card reader 12 or the barcode scanner 13 to the control tablet terminal 101.

キャッシュドロワー14は、デバイスサーバー18に有線接続され、制御タブレット端末101から所定の信号が入力されると、金銭等を収容するドロワーを開く。
また、デバイスサーバー18は、プリンターユニット(印刷部)21を備えている。デバイスサーバー18は、プリンターユニット21を制御して、レシートを印刷させる。
The cash drawer 14 is wired to the device server 18 and opens a drawer that stores money or the like when a predetermined signal is input from the control tablet terminal 101.
The device server 18 includes a printer unit (printing unit) 21. The device server 18 controls the printer unit 21 to print a receipt.

図2は、制御タブレット端末101、タブレット端末102及びプリンター11の機能的構成を示すブロック図である。
図2に示すように、プリンター11は、制御タブレット端末101及びタブレット端末102と通信を行うサーバーインターフェイス(図2及び図3ではI/Fと略記する)32を備えている。プリンター11において、サーバーインターフェイス(通信部)32には、POSサーバー17とデバイスサーバー18とが接続される。
FIG. 2 is a block diagram illustrating functional configurations of the control tablet terminal 101, the tablet terminal 102, and the printer 11.
As shown in FIG. 2, the printer 11 includes a server interface (abbreviated as I / F in FIGS. 2 and 3) 32 that communicates with the control tablet terminal 101 and the tablet terminal 102. In the printer 11, a POS server 17 and a device server 18 are connected to a server interface (communication unit) 32.

サーバーインターフェイス32は、ネットワークカード等の所定の通信インターフェイスを備え、POSサーバー17が備えるPOSサーバー制御部30と、デバイスサーバー18が備えるデバイス制御部20との少なくとも一方の制御により動作する。サーバーインターフェイス32は、制御タブレット端末101との間、及び、タブレット端末102との間で所定の無線通信プロトコルを実行し、各種データを送受信する。これにより、POSサーバー17及びデバイスサーバー18は、サーバーインターフェイス32を介して制御タブレット端末101及びタブレット端末102とデータ通信を行う。データ通信されるデータには、決済処理に係るデータ及び制御情報が含まれる。決済処理に係るデータには、例えば、カードリーダー12やバーコードスキャナー13により読み取られる情報が含まれる。具体的には、クレジットカードや顧客の会員カード等に使用される磁気カードやICカードに記録された情報が挙げられる。また、決済処理に係るデータには、店舗における商品(サービスを含む)販売に関し、商品の登録、支払い金額算出、支払いに伴う会計処理、販売及び会計処理の結果を印刷するレシート発行等のデータが含まれる。また、制御情報は、制御タブレット端末101からプリンター11に送信される、プリンター11を制御する情報である。特に、制御情報には、制御部310への電源の供給を停止させる情報が含まれる。なお、制御部310については後述する。   The server interface 32 includes a predetermined communication interface such as a network card, and operates under the control of at least one of the POS server control unit 30 included in the POS server 17 and the device control unit 20 included in the device server 18. The server interface 32 executes a predetermined wireless communication protocol with the control tablet terminal 101 and with the tablet terminal 102 to transmit / receive various data. Accordingly, the POS server 17 and the device server 18 perform data communication with the control tablet terminal 101 and the tablet terminal 102 via the server interface 32. Data to be communicated includes data related to payment processing and control information. The data related to the payment process includes, for example, information read by the card reader 12 or the barcode scanner 13. Specifically, information recorded on a magnetic card or an IC card used for a credit card, a customer membership card, or the like can be used. In addition, data related to payment processing includes data on product sales (including services) in stores, product registration, payment amount calculation, accounting processing associated with payment, receipt issuance that prints the results of sales and accounting processing, etc. included. The control information is information for controlling the printer 11 that is transmitted from the control tablet terminal 101 to the printer 11. In particular, the control information includes information for stopping the supply of power to the control unit 310. The control unit 310 will be described later.

デバイスサーバー18は、デバイス制御部20と、プリンターユニット21と、無線デバイス通信部22と、有線デバイス通信部24と、記憶部25とを備える。
デバイス制御部20は、デバイスサーバー18を制御する。デバイス制御部20は、機能ブロックとして、プリンターユニット制御部20a、通信部20b、デバイス通信制御部20c及び電源制御部20dを備える。
The device server 18 includes a device control unit 20, a printer unit 21, a wireless device communication unit 22, a wired device communication unit 24, and a storage unit 25.
The device control unit 20 controls the device server 18. The device control unit 20 includes a printer unit control unit 20a, a communication unit 20b, a device communication control unit 20c, and a power supply control unit 20d as functional blocks.

プリンターユニット制御部20aは、プリンターユニット21の制御プログラムを実行してプリンターユニット21を制御する。プリンターユニット21は、印刷媒体であるロール紙を搬送する搬送機構、サーマルヘッドによってロール紙に文字や画像を印刷する印刷機構、ロール紙を切断するカッター機構等を備える。プリンターユニット21は、プリンターユニット制御部20aの制御の下、ロール紙にレシートの画像を印刷した後、所定の位置でロール紙を切断することにより、レシートを発行する。   The printer unit control unit 20 a controls the printer unit 21 by executing a control program for the printer unit 21. The printer unit 21 includes a conveyance mechanism that conveys roll paper that is a printing medium, a printing mechanism that prints characters and images on the roll paper using a thermal head, a cutter mechanism that cuts the roll paper, and the like. The printer unit 21 prints an image of a receipt on roll paper under the control of the printer unit control unit 20a, and then issues a receipt by cutting the roll paper at a predetermined position.

通信部20bは、通信制御プログラムを実行して、制御タブレット端末101とタブレット端末102との間で行われるデータ通信を制御する。通信部20bは、端末インターフェイス271を介して第1端末制御部261と接続され、第1端末制御部261から送信されたデータを受信する。通信部20bは、第1端末制御部261から受信したデータを記憶部25に送信する。また、通信部20bは、端末インターフェイス272を介して、第2端末制御部262と接続される。通信部20bは、第2端末制御部262に対して、制御タブレット端末101から受信したデータを送信する。   The communication unit 20b executes a communication control program and controls data communication performed between the control tablet terminal 101 and the tablet terminal 102. The communication unit 20b is connected to the first terminal control unit 261 via the terminal interface 271 and receives data transmitted from the first terminal control unit 261. The communication unit 20b transmits the data received from the first terminal control unit 261 to the storage unit 25. Further, the communication unit 20b is connected to the second terminal control unit 262 via the terminal interface 272. The communication unit 20b transmits the data received from the control tablet terminal 101 to the second terminal control unit 262.

デバイス通信制御部20cは、デバイス制御プログラムを実行して、デバイスと通信し、デバイスを制御する。
上述したプリンターユニット21の制御プログラムや、通信制御プログラム、デバイスの制御プログラムは、例えば、プリンター11のメーカーが提供するAPI(Application Program Interface)を利用して生成される。また、これらのプログラムは、デバイス制御部20が実行する。
The device communication control unit 20c executes a device control program, communicates with the device, and controls the device.
The printer unit 21 control program, communication control program, and device control program described above are generated using, for example, an API (Application Program Interface) provided by the manufacturer of the printer 11. These programs are executed by the device control unit 20.

電源制御部20dは、プリンターユニット制御部20a、通信部20b、POSサーバー制御部30に接続している。また、電源制御部20dは、後述する電源部320(図3参照)に接続している。電源制御部20dは、電源の制御プログラムを実行して、プリンター11の各部への電源供給を制御する。特に、電源制御部20dは、サーバーインターフェイス32で電源の供給を停止させる制御情報を受信した場合に、電源部320から制御部310への電源の供給を停止する制御を行う。なお、電源制御部20dの詳細については、図3を参照しながら後述する。   The power control unit 20d is connected to the printer unit control unit 20a, the communication unit 20b, and the POS server control unit 30. Further, the power supply control unit 20d is connected to a power supply unit 320 (see FIG. 3) described later. The power control unit 20 d executes a power control program to control power supply to each unit of the printer 11. In particular, the power supply control unit 20d performs control to stop the supply of power from the power supply unit 320 to the control unit 310 when the server interface 32 receives control information for stopping the supply of power. Details of the power supply control unit 20d will be described later with reference to FIG.

無線デバイス通信部(接続部)22は、例えばリンクマネージャーや、リンクコントローラー、高周波回路、アンテナ等を含む。デバイス通信制御部20cは、無線デバイス通信部22を制御する。この制御に従って、無線デバイス通信部22は、バーコードスキャナー13との間で近距離無線通信を行う。
デバイス通信制御部(データ制御部)20cは、有線デバイス通信部(接続部)24を制御する。有線デバイス通信部24は、デバイス通信制御部20cの制御に従って、カードリーダー12との間で有線通信を行う。記憶部25は、各種のプログラムやデータを書き換え可能に記憶する。
The wireless device communication unit (connection unit) 22 includes, for example, a link manager, a link controller, a high frequency circuit, an antenna, and the like. The device communication control unit 20 c controls the wireless device communication unit 22. In accordance with this control, the wireless device communication unit 22 performs short-range wireless communication with the barcode scanner 13.
The device communication control unit (data control unit) 20 c controls the wired device communication unit (connection unit) 24. The wired device communication unit 24 performs wired communication with the card reader 12 under the control of the device communication control unit 20c. The storage unit 25 stores various programs and data in a rewritable manner.

POSサーバー17は、POSサーバー制御部30と、POSサーバー記憶部31とを備え、POSサーバー制御部30がサーバーインターフェイス32に接続される。POSサーバー17は、例えば、商品に関する情報を格納するデータベース、売り上げを管理するデータベース、在庫を管理するデータベース等を記憶するPOSサーバー記憶部31を備え、これらのデータベースを利用してPOSシステム1を管理する。   The POS server 17 includes a POS server control unit 30 and a POS server storage unit 31, and the POS server control unit 30 is connected to the server interface 32. The POS server 17 includes a POS server storage unit 31 for storing, for example, a database for storing information about merchandise, a database for managing sales, a database for managing inventory, and the like, and the POS system 1 is managed using these databases. To do.

なお、以下の説明では、制御タブレット端末101及びタブレット端末102が、POSサーバー17のアプリケーション実行部30aでウェブアプリケーションを実行し、データを処理する例について説明する。つまり、制御タブレット端末101は、第1ブラウザー実行部261aが実行するウェブアプリケーションによって、各種データをプリンター11に送信する。これはあくまで一例であり、例えば、制御タブレット端末101が、オペレーティングシステムで実行するアプリケーションプログラムの機能により、POSサーバー17とデータを送受信してPOSシステム1の機能を実現してもよい。この場合、第1端末制御部261は、アプリケーションプログラムの機能により、デバイスサーバー18からバーコードの読取データやカードの読取データを取得する。また、第1端末制御部261は、取得したデータとタッチパネル101aで入力されたデータとに基づき、金額の表示等の処理を行い、POSサーバー17にデータを送信する。ここで、第1端末制御部261は、例えばXML形式のデータをプリンター11に送信する。POSサーバー17はサーバープログラムを実行し、制御タブレット端末101から受信したXML形式のデータを処理し、処理結果のデータを制御タブレット端末101およびタブレット端末102にXML形式で送信する。このように、ウェブアプリケーションに限らない方法で、本発明に係るPOSシステム1の機能を実現可能である。   In the following description, an example will be described in which the control tablet terminal 101 and the tablet terminal 102 execute a web application by the application execution unit 30a of the POS server 17 and process data. That is, the control tablet terminal 101 transmits various data to the printer 11 by the web application executed by the first browser execution unit 261a. This is merely an example, and for example, the function of the POS system 1 may be realized by the control tablet terminal 101 transmitting and receiving data to and from the POS server 17 by the function of an application program executed by the operating system. In this case, the first terminal control unit 261 acquires barcode reading data and card reading data from the device server 18 by the function of the application program. Further, the first terminal control unit 261 performs processing such as displaying the amount based on the acquired data and the data input on the touch panel 101a, and transmits the data to the POS server 17. Here, the first terminal control unit 261 transmits, for example, data in XML format to the printer 11. The POS server 17 executes a server program, processes data in XML format received from the control tablet terminal 101, and transmits processing result data to the control tablet terminal 101 and the tablet terminal 102 in XML format. Thus, the function of the POS system 1 according to the present invention can be realized by a method not limited to the web application.

POSサーバー制御部30は、POSサーバー17を制御する。また、POSサーバー記憶部31は、各種のプログラムやデータを書き換え可能に記憶する。
POSサーバー記憶部31には、ロードされたアプリケーション35が記憶される。アプリケーション実行部30aは、アプリケーション35を読み出して実行し、単独又は第1ブラウザー実行部261aと、各種処理を実行する。アプリケーション実行部30aは、制御タブレット端末101又はタブレット端末102から要求されたウェブページのデータを生成し、或いはPOSサーバー記憶部31から読み出して、要求元の端末に送信する。各端末は、受信したウェブページのデータに基づいて、後述する画面を表示する。
The POS server control unit 30 controls the POS server 17. The POS server storage unit 31 stores various programs and data in a rewritable manner.
The POS server storage unit 31 stores the loaded application 35. The application execution unit 30a reads and executes the application 35, and executes various processes alone or with the first browser execution unit 261a. The application execution unit 30a generates web page data requested from the control tablet terminal 101 or the tablet terminal 102, or reads the data from the POS server storage unit 31 and transmits it to the requesting terminal. Each terminal displays a screen to be described later based on the received web page data.

制御タブレット端末101は、第1端末制御部261と、端末インターフェイス(I/F)271と、表示制御部281と、入力検出部291と、タッチパネル101aとを備える。
タッチパネル101aは、制御タブレット端末101に配設された表示パネル101cと、表示パネル101cに重ねて配置されたタッチセンサー101bとを備える。表示パネル101cは、液晶表示パネル、有機EL(electroluminescence)パネル、電子ペーパー等のディスプレイであり、表示制御部281の制御により駆動する。タッチセンサー101bは、表示パネル101cに重ねて配設された静電容量式もしくは感圧式のセンサーであり、ユーザーの手指やペン型操作デバイスによる接触操作を検出して、操作を検出した位置を示す信号を入力検出部291に出力する。表示制御部281は、第1ブラウザー実行部261aから入力する表示データに基づいて、表示パネル101cを駆動して、文字や画像等を含む画面を表示する。
入力検出部291は、タッチセンサー101bが出力する信号に基づいて、タッチパネル101aに対する接触操作を検出する。この操作を検出した場合、入力検出部291は、操作位置を、表示パネル101cの表示位置に対応する座標により示す座標データを生成して、第1ブラウザー実行部261aに出力する。
The control tablet terminal 101 includes a first terminal control unit 261, a terminal interface (I / F) 271, a display control unit 281, an input detection unit 291, and a touch panel 101a.
The touch panel 101a includes a display panel 101c disposed on the control tablet terminal 101, and a touch sensor 101b disposed on the display panel 101c. The display panel 101 c is a display such as a liquid crystal display panel, an organic EL (electroluminescence) panel, or electronic paper, and is driven by the control of the display control unit 281. The touch sensor 101b is a capacitance-type or pressure-sensitive type sensor that is disposed over the display panel 101c, and detects a contact operation by a user's finger or a pen-type operation device and indicates a position where the operation is detected. The signal is output to the input detection unit 291. The display control unit 281 drives the display panel 101c based on the display data input from the first browser execution unit 261a to display a screen including characters, images, and the like.
The input detection unit 291 detects a touch operation on the touch panel 101a based on a signal output from the touch sensor 101b. When this operation is detected, the input detection unit 291 generates coordinate data indicating the operation position by coordinates corresponding to the display position of the display panel 101c, and outputs the coordinate data to the first browser execution unit 261a.

第1端末制御部261は、制御タブレット端末101を制御するものであり、CPUや、ROM、RAM、その他の周辺回路等を備える。第1端末制御部261は、ブラウザープログラムを実行してブラウザーの機能を実現する第1ブラウザー実行部261aを備える。
第1ブラウザー実行部261aは、ブラウザーの機能により、HTML等のマークアップ言語やスクリプト言語で記述されたウェブページを、POSサーバー17からダウンロードする。ダウンロードされたウェブページのデータは、例えば図示しないRAMに記憶される。第1ブラウザー実行部261aは、ブラウザーの機能により、ダウンロードされたウェブページのデータを読み込み、このウェブページの表示データを生成して、表示制御部281に出力する。また、第1ブラウザー実行部261aは、ウェブページに実装されたスクリプトの機能により、単独で又はアプリケーション実行部30aと、各種処理を実行する。従って、制御タブレット端末101は、第1ブラウザー実行部261a単体で、又は第1ブラウザー実行部261aとPOSサーバー17のアプリケーション実行部30aとによりPOS端末装置として機能する。
The first terminal control unit 261 controls the control tablet terminal 101 and includes a CPU, a ROM, a RAM, other peripheral circuits, and the like. The first terminal control unit 261 includes a first browser execution unit 261a that executes a browser program to realize a browser function.
The first browser execution unit 261a downloads a web page described in a markup language such as HTML or a script language from the POS server 17 by a browser function. The downloaded web page data is stored in a RAM (not shown), for example. The first browser execution unit 261a reads the downloaded web page data by the browser function, generates display data of the web page, and outputs the display data to the display control unit 281. In addition, the first browser execution unit 261a executes various processes alone or with the application execution unit 30a by the function of the script implemented on the web page. Therefore, the control tablet terminal 101 functions as a POS terminal device by the first browser execution unit 261a alone or by the first browser execution unit 261a and the application execution unit 30a of the POS server 17.

第1ブラウザー実行部261aは、タッチセンサー101bへのタッチ操作に対応して入力検出部291から入力される座標データと表示制御部281に出力した表示データに基づき、入力された内容を特定する。第1ブラウザー実行部261aは、特定した入力内容に基づいて、スクリプトの機能によって適切な処理を実行し、また、特定した入力内容を示すデータをPOSサーバー17へ送信する。アプリケーション実行部30aは、入力されたデータに基づいて各種処理を実行する。また、第1ブラウザー実行部261aは、アプリケーション実行部30aがアプリケーションプログラムを実行した実行結果のデータをPOSサーバー17から受信して、受信したデータを反映した表示データを生成して表示制御部281に出力する。
端末インターフェイス271(I/F)は、第1端末制御部261の制御の下、デバイスサーバー18及びPOSサーバー17と、所定の無線通信プロトコルを実行して通信を行う。
The first browser execution unit 261a specifies the input content based on the coordinate data input from the input detection unit 291 and the display data output to the display control unit 281 in response to a touch operation on the touch sensor 101b. The first browser execution unit 261a executes an appropriate process by the function of the script based on the specified input content, and transmits data indicating the specified input content to the POS server 17. The application execution unit 30a executes various processes based on the input data. In addition, the first browser execution unit 261a receives data of an execution result obtained by executing the application program by the application execution unit 30a from the POS server 17, generates display data reflecting the received data, and sends the display data to the display control unit 281. Output.
The terminal interface 271 (I / F) performs communication with the device server 18 and the POS server 17 by executing a predetermined wireless communication protocol under the control of the first terminal control unit 261.

タブレット端末102は、制御タブレット端末101と同様、第2端末制御部262、端末インターフェイス(I/F)272、表示制御部282、入力検出部292及びタッチパネル102aを備える。
タッチパネル102aは、タブレット端末102に配設された表示パネル102c(表示部)と、表示パネル102cに重ねて配置されたタッチセンサー102bとで構成される。表示パネル102cは、液晶表示パネル、有機ELパネル、電子ペーパー等のディスプレイであり、表示制御部282によって駆動される。タッチセンサー102bは、表示パネル102cに重ねて配設された静電容量式もしくは感圧式のセンサーであり、ユーザーの手指やペン型操作デバイスによる接触操作を検出して、操作を検出した位置を示す信号を入力検出部292に出力する。
表示制御部282は、後述する第2ブラウザー実行部262aから入力する表示データに基づいて、表示パネル102cを駆動し、表示パネル102cに文字や画像等を含む画面を表示する。
入力検出部292は、タッチセンサー102bが出力する信号に基づいて、タッチパネル102aに対する接触操作を検出する。この操作を検出した場合、入力検出部292は、操作位置を、表示パネル102cの表示位置に対応する座標により示す座標データを生成し、第2ブラウザー実行部262aに出力する。
Similar to the control tablet terminal 101, the tablet terminal 102 includes a second terminal control unit 262, a terminal interface (I / F) 272, a display control unit 282, an input detection unit 292, and a touch panel 102a.
The touch panel 102a includes a display panel 102c (display unit) disposed on the tablet terminal 102 and a touch sensor 102b disposed on the display panel 102c. The display panel 102 c is a display such as a liquid crystal display panel, an organic EL panel, or electronic paper, and is driven by the display control unit 282. The touch sensor 102b is a capacitance-type or pressure-sensitive type sensor that is disposed so as to overlap the display panel 102c. The touch sensor 102b detects a contact operation by a user's finger or a pen-type operation device and indicates a position where the operation is detected. The signal is output to the input detection unit 292.
The display control unit 282 drives the display panel 102c based on display data input from a second browser execution unit 262a described later, and displays a screen including characters, images, and the like on the display panel 102c.
The input detection unit 292 detects a touch operation on the touch panel 102a based on a signal output from the touch sensor 102b. When this operation is detected, the input detection unit 292 generates coordinate data indicating the operation position by coordinates corresponding to the display position of the display panel 102c, and outputs the coordinate data to the second browser execution unit 262a.

第2端末制御部262は、タブレット端末102を制御するものであり、CPUや、ROM、RAM、その他の周辺回路等を備える。第2端末制御部262は、ブラウザープログラムを実行してブラウザーの機能を実現する第2ブラウザー実行部262aを備える。   The second terminal control unit 262 controls the tablet terminal 102 and includes a CPU, a ROM, a RAM, other peripheral circuits, and the like. The second terminal control unit 262 includes a second browser execution unit 262a that executes a browser program to realize a browser function.

第2ブラウザー実行部262aは、ブラウザーの機能により、HTML等のマークアップ言語やスクリプト言語で記述されたウェブページを、デバイスサーバー18からダウンロードする。ダウンロードされたウェブページのデータは、例えば図示しないRAMに記憶される。第2ブラウザー実行部262aは、ブラウザーの機能により、ダウンロードされたウェブページのデータを読み込み、このウェブページの表示データを生成して、表示制御部282に出力する。   The second browser execution unit 262a downloads a web page described in a markup language such as HTML or a script language from the device server 18 by the browser function. The downloaded web page data is stored in a RAM (not shown), for example. The second browser execution unit 262a reads the data of the downloaded web page by using the browser function, generates display data of the web page, and outputs it to the display control unit 282.

また、第2ブラウザー実行部262aは、会計処理の実行中にデバイスサーバー18から送信される会計処理データ等を受信して、受信したデータを所定の表示態様で表示データを生成して、表示制御部282に出力する。これにより、表示パネル102cに会計に係る金額などの情報が表示され、タブレット端末102がカスタマーディスプレイとして機能する。   Further, the second browser execution unit 262a receives the accounting process data transmitted from the device server 18 during the execution of the accounting process, generates display data from the received data in a predetermined display mode, and performs display control. To the unit 282. Thereby, information such as the amount related to accounting is displayed on the display panel 102c, and the tablet terminal 102 functions as a customer display.

POSシステム1による商品販売に関する処理の概略を説明する。
オペレーターがバーコードスキャナー13によって商品に付されたバーコードを読み取ると、デバイス通信制御部20cがバーコードスキャナー13の読み取り結果を示すデータを取得する。デバイス通信制御部20cは、読み取ったバーコード情報を示すデータを生成し、通信部20bに出力する。通信部20bは、バーコード情報を示すデータを第1ブラウザー実行部261aに送信する。
第1ブラウザー実行部261aは、受信したバーコード情報を表示する表示データを生成して表示制御部281に出力する。これによりバーコード情報が表示パネル101cに表示される。第1ブラウザー実行部261aは、アプリケーション実行部30aと通信し、バーコード情報が示す商品の商品名称、単価を問い合わせる。この問い合わせを受けたアプリケーション実行部30aは、データベースにアクセスして情報を取得し、取得した情報を第1ブラウザー実行部261aに送信する。
第1ブラウザー実行部261aは、アプリケーション実行部30aから受信した商品の名称、商品の単価等の情報や、タッチセンサー101bで入力された商品の数量、合計金額等を表示する表示データを生成する。さらに、タッチセンサー101bで会計すべき商品を確定する旨の操作が行われると、顧客から代金の預かり、及びお釣りの返却が行われる。これに伴い、第1ブラウザー実行部261aは、合計金額、預かり代金の金額、釣り銭の金額を表示する表示データを生成する。これにより、各種金額が表示パネル101cに表示される。
An outline of processing related to product sales by the POS system 1 will be described.
When the operator reads the barcode attached to the product by the barcode scanner 13, the device communication control unit 20 c acquires data indicating the reading result of the barcode scanner 13. The device communication control unit 20c generates data indicating the read barcode information and outputs the data to the communication unit 20b. The communication unit 20b transmits data indicating the barcode information to the first browser execution unit 261a.
The first browser execution unit 261a generates display data for displaying the received barcode information and outputs the display data to the display control unit 281. As a result, the barcode information is displayed on the display panel 101c. The first browser execution unit 261a communicates with the application execution unit 30a to inquire about the product name and unit price of the product indicated by the barcode information. Upon receiving this inquiry, the application execution unit 30a accesses the database to acquire information, and transmits the acquired information to the first browser execution unit 261a.
The first browser execution unit 261a generates display data that displays information such as the name of the product and the unit price of the product received from the application execution unit 30a, the quantity of the product input by the touch sensor 101b, the total price, and the like. Further, when an operation for confirming a product to be checked is performed by the touch sensor 101b, the customer deposits the money and returns the change. Accordingly, the first browser execution unit 261a generates display data that displays the total amount, the amount of deposit, and the amount of change. As a result, various amounts are displayed on the display panel 101c.

また、第1ブラウザー実行部261aは、商品名、数量、合計金額、預かり金額、釣り銭の金額等のデータを通信部20bに送信する。通信部20bは、第1ブラウザー実行部261aから受信したデータを第2ブラウザー実行部262aに送信する。第2ブラウザー実行部262aは、このデータを受信して表示データを生成し、表示制御部282に出力する。これにより、カスタマーディスプレイであるタブレット端末102に商品販売の会計処理に関する各種の情報が表示される。
その後、第1ブラウザー実行部261aが、プリンターユニット21が印刷するレシートに関する情報が含まれたXMLドキュメントを生成する。第1ブラウザー実行部261aは生成したXMLドキュメントを、通信部20bに送信する。
通信部20bは、第1ブラウザー実行部261aからXMLドキュメントを受信し、プリンターユニット制御部20aに出力する。プリンターユニット制御部20aは、入力されたXMLドキュメントに基づいて、プリンターユニット21にレシートの発行に関する各種処理を行わせる。これにより、プリンターユニット21が各種機構を動かして、レシートを発行する。
In addition, the first browser execution unit 261a transmits data such as the product name, quantity, total amount, deposit amount, and change amount to the communication unit 20b. The communication unit 20b transmits the data received from the first browser execution unit 261a to the second browser execution unit 262a. The second browser execution unit 262a receives this data, generates display data, and outputs it to the display control unit 282. As a result, various kinds of information related to the accounting process of the product sales are displayed on the tablet terminal 102 which is a customer display.
Thereafter, the first browser execution unit 261a generates an XML document that includes information related to a receipt printed by the printer unit 21. The first browser execution unit 261a transmits the generated XML document to the communication unit 20b.
The communication unit 20b receives the XML document from the first browser execution unit 261a and outputs it to the printer unit control unit 20a. The printer unit control unit 20a causes the printer unit 21 to perform various processes related to issuance of receipts based on the input XML document. Thereby, the printer unit 21 moves various mechanisms and issues a receipt.

図3は、プリンター11のハードウェア構成を示す図であり、特に、POSサーバー17及びデバイス制御部20の機能を実現する構成と、プリンター11に電源を供給する電源部320とを示す。
図3に示すハードウェアの構成例では、メイン制御基板300に、CPU(Central Processing Unit)311、ROM(Read Only Memory)312、RAM(Random Access Memory)313が実装される。また、メイン制御基板300には記憶部314、入出力部(Input/Output、以下、I/Oと略記する)315等のハードウェアが搭載される。これらのハードウェアは、システムバス316により相互に接続している。これらメイン制御基板300に形成されたハードウェアにより、制御部310が構成される。制御部310は、CPU311でプログラムを実行して、決済処理に係る制御を行うPOSサーバー制御部30、デバイス制御部20の通信部20b、デバイス通信制御部20c、及び、電源制御部20dの機能を実現する。また、記憶部314の記憶領域は、POSサーバー17のPOSサーバー記憶部31、及びデバイスサーバー18の記憶部25として使用される。
FIG. 3 is a diagram illustrating a hardware configuration of the printer 11. In particular, a configuration for realizing the functions of the POS server 17 and the device control unit 20 and a power supply unit 320 that supplies power to the printer 11 are illustrated.
In the hardware configuration example shown in FIG. 3, a CPU (Central Processing Unit) 311, a ROM (Read Only Memory) 312, and a RAM (Random Access Memory) 313 are mounted on the main control board 300. The main control board 300 includes hardware such as a storage unit 314 and an input / output unit (Input / Output, hereinafter abbreviated as I / O) 315. These hardwares are connected to each other via a system bus 316. The control unit 310 is configured by hardware formed on the main control board 300. The control unit 310 executes functions of the CPU 311 to perform functions related to the payment processing, the communication unit 20b of the device control unit 20, the device communication control unit 20c, and the power control unit 20d. Realize. The storage area of the storage unit 314 is used as the POS server storage unit 31 of the POS server 17 and the storage unit 25 of the device server 18.

メイン制御基板300には、電源を供給する電源部320が搭載される。電源部320は、メイン制御基板300に設けられたI/O315と制御信号線321で接続する。また、電源部320は、制御部310と、プリンターユニット制御部(印刷制御部)20aを搭載するプリンター基板(印刷制御基板)200と、プリンターユニット21とに電源線322で接続される。   A power supply unit 320 that supplies power is mounted on the main control board 300. The power supply unit 320 is connected to an I / O 315 provided on the main control board 300 through a control signal line 321. The power supply unit 320 is connected to the control unit 310, the printer board (printing control board) 200 on which the printer unit control unit (printing control unit) 20a is mounted, and the printer unit 21 through a power line 322.

I/O315は、サーバーインターフェイス32と、電源スイッチ33と、電源部320と、無線デバイス通信部22と、有線デバイス通信部24とに接続する。I/O315は、サーバーインターフェイス32、電源スイッチ33、無線デバイス通信部22及び有線デバイス通信部24のいずれかから入力したデータを、システムバス316を介してCPU311へと出力する。また、I/O315は、CPU311が出力するデータを無線デバイス通信部22、有線デバイス通信部24、サーバーインターフェイス32、及び電源部320に出力する。   The I / O 315 is connected to the server interface 32, the power switch 33, the power supply unit 320, the wireless device communication unit 22, and the wired device communication unit 24. The I / O 315 outputs data input from any of the server interface 32, the power switch 33, the wireless device communication unit 22, and the wired device communication unit 24 to the CPU 311 via the system bus 316. Further, the I / O 315 outputs data output from the CPU 311 to the wireless device communication unit 22, the wired device communication unit 24, the server interface 32, and the power supply unit 320.

記憶部314は、磁気的、光学的記憶媒体又は半導体記憶素子で構成される不揮発性の記憶装置により構成される。CPU311は、プリンター11の電源をオフさせる場合に、RAM313に記憶されているデータを記憶部314に記憶させ、プリンター11の電源オフによるデータの消失を防止する。
記憶部314には、各種のプログラムやデータが、CPU311により読み取り及び書き換え可能な態様で記憶される。各種のプログラムには、アプリケーションプログラムが含まれ、データには、制御タブレット端末101から受信するデータが含まれる。
The storage unit 314 is configured by a nonvolatile storage device including a magnetic or optical storage medium or a semiconductor storage element. When the power of the printer 11 is turned off, the CPU 311 stores the data stored in the RAM 313 in the storage unit 314 to prevent data loss due to the power off of the printer 11.
Various programs and data are stored in the storage unit 314 in a manner that can be read and rewritten by the CPU 311. The various programs include application programs, and the data includes data received from the control tablet terminal 101.

電源部320には、プリンター11の外部に設けられる不図示のAC/DCアダプターによって直流24Vに変換された商用電源が入力される。電源部320は、外部から供給される24Vの直流電源に基づき、プリンターユニット21に24V電源を供給する。また、電源部320は、直流24Vの電源を5Vに降圧して、制御部310及びプリンター基板200のプリンターユニット制御部20aに供給する。
電源部320は、制御部310から制御信号線321を介して入力される制御信号に従って、電源供給のオンとオフとを切り替える。電源部320は、プリンターユニット21、プリンター基板200、及び、制御部310に対する電源供給を、個別にオンオフ可能であってもよい。また、電源部320は、電源供給をオフにしている状態で、制御部310、またはCPU311に、電源スイッチ33の操作を検出する電力を供給可能であってもよい。
The power supply unit 320 is supplied with commercial power converted to DC 24V by an AC / DC adapter (not shown) provided outside the printer 11. The power supply unit 320 supplies 24V power to the printer unit 21 based on 24V DC power supplied from the outside. Further, the power supply unit 320 steps down the DC 24V power supply to 5V and supplies it to the control unit 310 and the printer unit control unit 20a of the printer substrate 200.
The power supply unit 320 switches power supply on and off in accordance with a control signal input from the control unit 310 via the control signal line 321. The power supply unit 320 may be capable of individually turning on / off the power supply to the printer unit 21, the printer substrate 200, and the control unit 310. Further, the power supply unit 320 may be able to supply power for detecting the operation of the power switch 33 to the control unit 310 or the CPU 311 in a state where the power supply is turned off.

電源スイッチ33は、プリンター11の筐体に設けられ、オペレーターの操作により電源部320からの電源の供給を開始させるスイッチである。電源スイッチ33は、押下されたときに所定時間通電し、CPU311は、電源スイッチ33の通電を検出することで、電源スイッチ33の操作を検出する。   The power switch 33 is a switch that is provided in the casing of the printer 11 and starts supply of power from the power supply unit 320 by the operation of the operator. The power switch 33 is energized for a predetermined time when pressed, and the CPU 311 detects the operation of the power switch 33 by detecting the energization of the power switch 33.

記憶部314は、プリンター11の電源をオフにする動作を設定する設定情報を記憶している。設定情報は、例えば、外部の装置としての制御タブレット端末101(送信装置)又はタブレット端末102からデータを送信し、記憶させることができる。
制御部310は、電源部320の電源供給がオンの状態で、電源スイッチ33が操作された場合に、設定情報を参照して、設定情報により示される動作を実行する。プリンター11では、プリンター11の稼働状態を、通常モード、スタンバイモード、スリープモードの3通りに設定できる。制御部310は、設定情報に従って、これら3通りの動作状態のいずれかに移行し、或いは、後述するシャットダウンシーケンスを実行する。
The storage unit 314 stores setting information for setting an operation for turning off the printer 11. For example, the setting information can be stored by transmitting data from the control tablet terminal 101 (transmission device) or the tablet terminal 102 as an external device.
When the power switch 33 is operated while the power supply of the power supply unit 320 is on, the control unit 310 refers to the setting information and executes an operation indicated by the setting information. In the printer 11, the operating state of the printer 11 can be set in three modes: a normal mode, a standby mode, and a sleep mode. The control unit 310 shifts to one of these three operation states according to the setting information, or executes a shutdown sequence described later.

通常モードは、プリンター11への通電を維持してプリンター11が稼働可能な状態をいう。
スタンバイモードは、オペレーターからの印刷開始の指示を待つ待機モードのことである。スタンバイモードでは、例えば、プリンターユニット21が備える印刷ヘッド、或いは、キャリッジ駆動モーター等の各種モーターへの通電が停止される。例えばプリンター11がサーマルヘッドを備える場合に、サーマルヘッドの温度が画像形成時の温度よりも低温に維持され、電力消費量が抑制される。
スリープモードは、スタンバイモードより更に消費電力を抑えたモードである。スリープモードでは、プリンター11のうち消費電力の大きい構成部分への通電が停止され、プリンター11の消費電力が、より少ない状態となる。例えば、スリープモードでは、制御部310を構成するROM312、RAM313、記憶部314、及びI/O315が停止され、CPU311は定期的に入力を検出する動作を行ってその他の時間は停止する。また、スリープモードではI/F32、有線デバイス通信部24、及び無線デバイス通信部22への通電が停止される。スリープモードでは、CPU311が、スリープモードからスタンバイモードまたは通常モードへの復帰を指示する入力を受け付け可能であるが、それ以外の入力を受け付けない。
The normal mode refers to a state in which the printer 11 can be operated while energization of the printer 11 is maintained.
The standby mode is a standby mode that waits for an instruction to start printing from the operator. In the standby mode, for example, energization to the print head included in the printer unit 21 or various motors such as a carriage drive motor is stopped. For example, when the printer 11 includes a thermal head, the temperature of the thermal head is maintained at a lower temperature than the temperature at the time of image formation, and power consumption is suppressed.
The sleep mode is a mode in which power consumption is further suppressed than in the standby mode. In the sleep mode, the energization of the components with high power consumption in the printer 11 is stopped, and the power consumption of the printer 11 is reduced. For example, in the sleep mode, the ROM 312, the RAM 313, the storage unit 314, and the I / O 315 that constitute the control unit 310 are stopped, and the CPU 311 periodically performs an operation of detecting an input and stops at other times. In the sleep mode, the energization to the I / F 32, the wired device communication unit 24, and the wireless device communication unit 22 is stopped. In the sleep mode, the CPU 311 can accept an input for instructing a return from the sleep mode to the standby mode or the normal mode, but does not accept any other input.

制御部310は、CPU311がプログラムを実行することで、電源制御部20dとして機能する。また、設定情報を記憶する記憶部314は、記憶部25に相当する。
制御部310は、電源スイッチ33の操作がなされた場合に、操作時におけるプリンター11の稼働状態と、記憶部314に記憶された設定情報に基づき、プリンター11の稼働状態の移行またはシャットダウンシーケンス(シャットダウン処理)を実行する。
また、制御部310は、制御タブレット端末101から送信されるデータを受信し、このデータに従って設定情報を生成する。ここで生成された設定情報は、記憶部314が記憶する。また、制御部310は、制御タブレット端末101から受信したデータ(制御情報)が、プリンター11の稼働状態の移行又はシャットダウン(電源オフ)を指示するデータであった場合、このデータに従って稼働状態の移行又はシャットダウンシーケンスを行う。
The control unit 310 functions as the power supply control unit 20d when the CPU 311 executes the program. The storage unit 314 that stores setting information corresponds to the storage unit 25.
When the power switch 33 is operated, the control unit 310 shifts the operating state of the printer 11 or shuts down a sequence (shutdown) based on the operating state of the printer 11 at the time of operation and the setting information stored in the storage unit 314. Process).
In addition, the control unit 310 receives data transmitted from the control tablet terminal 101 and generates setting information according to this data. The setting information generated here is stored in the storage unit 314. In addition, when the data (control information) received from the control tablet terminal 101 is data for instructing the operation state transition or shutdown (power off) of the printer 11, the control unit 310 transitions the operation state according to this data. Or perform a shutdown sequence.

設定情報には、制御部310が制御タブレット端末101から送信されるデータに従って設定情報を生成する場合に用いる、認証処理に関する情報を含んでもよい。認証処理に関する情報には、記憶部314に記憶された認証情報が含まれる。制御部310(電源制御部20d)は、制御タブレット端末101から制御情報と共に認証データを受信する場合に、記憶部314に記憶された認証情報に基づいて認証データの認証を行う。認証処理に関する情報としては、認証処理の要否、及び、認証処理に用いる情報が挙げられる。認証処理としては、文字や数字からなるパスワードの照合、指紋や掌紋等の生体情報の照合による認証が挙げられる。また、特定の図形を描画する操作による認証であってもよい。この情報を用いると、制御部310(電源制御部20d)が制御タブレット端末101から送信されたデータに基づいて、設定情報を生成する際に、認証を実行できる。制御部310は、認証に成功した場合に、制御タブレット端末101から受信した指示に従ってプリンター11の電源をオフにする。これにより、権限のない装置がプリンター11の稼働状態を設定できなくなるので、セキュリティー面の信頼性が向上する。   The setting information may include information related to authentication processing used when the control unit 310 generates setting information according to data transmitted from the control tablet terminal 101. The information related to the authentication process includes authentication information stored in the storage unit 314. Control unit 310 (power supply control unit 20 d) authenticates authentication data based on the authentication information stored in storage unit 314 when receiving authentication data together with control information from control tablet terminal 101. Information related to the authentication process includes the necessity of the authentication process and information used for the authentication process. Examples of the authentication process include verification of passwords made up of letters and numbers, and authentication by verification of biometric information such as fingerprints and palm prints. Further, authentication by an operation of drawing a specific figure may be used. Using this information, authentication can be performed when the control unit 310 (power control unit 20d) generates setting information based on data transmitted from the control tablet terminal 101. When the authentication is successful, the control unit 310 turns off the printer 11 according to the instruction received from the control tablet terminal 101. As a result, an unauthorized device cannot set the operating state of the printer 11, which improves security reliability.

制御部310は、プリンター11の電源をオフにする場合、シャットダウンシーケンスを実行して、電源部320の電源供給を遮断する。シャットダウンシーケンスは、上述したPOSサーバー制御部30とデバイス制御部20が処理するデータの破損や消失をすることなく、プリンター11の電源をオフにする一連の動作であり、電源部320の電源供給を遮断する動作を含む。
以下の説明では、POSサーバー制御部30とデバイス制御部20が通常モードで実行する処理を、第1処理および第2処理に区別する。第1処理は、プリンターユニット制御部20aがプリンターユニット21を制御して、印刷を実行する処理である。第2処理は、制御タブレット端末101やタブレット端末102と、プリンター11とがデータ通信を行って、制御タブレット端末101又はタブレット端末102から要求された処理を実行する処理である。この第2処理は、POSサーバー制御部30と、通信部20bと、デバイス通信制御部20cとで実行される。具体的には、商品販売に関する会計処理、この会計処理に伴いデータを表示する処理等であるが、電源制御部20dが設定情報を生成する処理を含んでもよい。
When the power of the printer 11 is turned off, the control unit 310 executes a shutdown sequence to cut off the power supply of the power supply unit 320. The shutdown sequence is a series of operations for turning off the power of the printer 11 without damaging or erasing data processed by the POS server control unit 30 and the device control unit 20 described above. Includes actions to shut off.
In the following description, processing executed by the POS server control unit 30 and the device control unit 20 in the normal mode is distinguished into first processing and second processing. The first process is a process in which the printer unit control unit 20a controls the printer unit 21 to execute printing. The second process is a process in which the control tablet terminal 101 or the tablet terminal 102 and the printer 11 perform data communication to execute a process requested from the control tablet terminal 101 or the tablet terminal 102. This second process is executed by the POS server control unit 30, the communication unit 20b, and the device communication control unit 20c. Specifically, it is an accounting process related to merchandise sales, a process of displaying data accompanying this accounting process, and the like, but may include a process in which the power supply control unit 20d generates setting information.

制御部310は、シャットダウンシーケンスにおいて、第1処理と第2処理の実行状態を検出し、実行中の第1処理及び第2処理を終了させた後で、電源部320の電源供給をオフにする。この過程で、制御部310は、プリンターユニット制御部20aが実行中の第1処理を検出する。第1処理が実行中である場合、制御部310は、第1処理の終了を待機する。プリンターユニット制御部20aは、第1処理が終了した際に、第1処理の終了を制御部310に通知する。また、制御部310は、プリンターユニット制御部20aに対し、第1処理を中断するように指示してもよい。この場合、制御部310は、プリンターユニット制御部20aに出力したデータを取得して、記憶部314に記憶する。次にプリンター11が通常モードに移行した際に、記憶部314に記憶したデータに基づきプリンターユニット制御部20aが動作を再開するように設定を行ってもよい。   The control unit 310 detects the execution state of the first process and the second process in the shutdown sequence, and turns off the power supply of the power supply unit 320 after ending the first process and the second process being executed. . In this process, the control unit 310 detects the first process being executed by the printer unit control unit 20a. When the first process is being executed, the control unit 310 waits for the end of the first process. When the first process ends, the printer unit control unit 20a notifies the control unit 310 of the end of the first process. In addition, the control unit 310 may instruct the printer unit control unit 20a to interrupt the first process. In this case, the control unit 310 acquires the data output to the printer unit control unit 20a and stores it in the storage unit 314. Next, when the printer 11 shifts to the normal mode, the printer unit control unit 20a may be set to restart the operation based on the data stored in the storage unit 314.

また、制御部310は、POSサーバー制御部30により実行中の第2処理を検出する。制御部310は、第2処理が実行中である場合には、第2処理の終了を待機する。また、制御部310は、第2処理を中断することも可能であり、この場合、POSサーバー制御部30が処理中のデータを取得して、記憶部314に記憶する。次にプリンター11が通常モードに移行した際に、記憶部314に記憶したデータに基づきPOSサーバー制御部30の第2処理を再開するように設定を行ってもよい。
制御部310は、RAM313に記憶されているデータを、記憶部314に予め設けられた領域に記憶させる。記憶部314は不揮発性であるため、RAM313に記憶されたデータを記憶部314に待避させることで、制御部310が処理中のデータの消失及び破損を防止できる。
このように、制御部310は、シャットダウンシーケンスにおいて、次の(1)、(2)、(3)の処理動作を実行する。
(1)第1処理及び第2処理を終了する動作
(2)RAM313に記憶されているデータを記憶部314に待避する動作
(3)電源部320を制御して、電源部320の電源供給をオフにする動作
(1)〜(3)の動作の実行順序は、(3)の実行前に(1)及び(2)の実行を完了することを除き、制限されない。また、(3)の動作では、電源部320からプリンターユニット21、プリンター基板200、及び制御部310に対する電源供給を遮断してもよい。また、制御部310の一部(例えば、CPU311、ROM312、I/O315)に電源供給をして、その他の各部への電源供給をオフにしてもよい。
Further, the control unit 310 detects the second process being executed by the POS server control unit 30. When the second process is being executed, control unit 310 waits for the end of the second process. The control unit 310 can also interrupt the second process. In this case, the POS server control unit 30 acquires data being processed and stores it in the storage unit 314. Next, when the printer 11 shifts to the normal mode, the setting may be made so that the second processing of the POS server control unit 30 is resumed based on the data stored in the storage unit 314.
The control unit 310 stores the data stored in the RAM 313 in an area provided in advance in the storage unit 314. Since the storage unit 314 is non-volatile, the data stored in the RAM 313 can be saved in the storage unit 314 to prevent the control unit 310 from losing and damaging the data being processed.
In this way, the control unit 310 performs the following processing operations (1), (2), and (3) in the shutdown sequence.
(1) Operation to end first processing and second processing (2) Operation to save data stored in RAM 313 in storage unit 314 (3) Control power supply unit 320 to supply power to power supply unit 320 Operation to turn off The execution order of the operations (1) to (3) is not limited except that the execution of (1) and (2) is completed before the execution of (3). In the operation (3), the power supply from the power supply unit 320 to the printer unit 21, the printer substrate 200, and the control unit 310 may be cut off. Further, power may be supplied to a part of the control unit 310 (for example, the CPU 311, the ROM 312, and the I / O 315), and the power supply to other units may be turned off.

プリンター11の電源がオフの状態で電源スイッチ33が操作されると、電源部320からメイン制御基板300への電源供給が開始され、プリンター11が起動する。また、プリンター基板200及びプリンターユニット21への電源供給も開始され、プリンター11が、POSサーバー17及びデバイスサーバー18の機能、及び印刷機能を実行可能となる。また、スタンバイモードおよびスリープモードで電源スイッチ33が操作された場合、CPU311は、プリンター11の稼働状態を通常モードに移行させる。   When the power switch 33 is operated while the printer 11 is turned off, power supply from the power supply unit 320 to the main control board 300 is started, and the printer 11 is activated. In addition, power supply to the printer substrate 200 and the printer unit 21 is started, and the printer 11 can execute the functions of the POS server 17 and the device server 18 and the printing function. Further, when the power switch 33 is operated in the standby mode and the sleep mode, the CPU 311 shifts the operating state of the printer 11 to the normal mode.

図4は、制御部310の動作を示すフローチャートである。この図4には、制御タブレット端末101からプリンター11の電源をオフする要求を受信した場合の制御部310の動作を示す。図4に示す制御部310の処理は、電源制御部20dの機能に相当する。この動作では制御タブレット端末101が送信装置に相当し、第1端末制御部261は指示部に相当する。   FIG. 4 is a flowchart showing the operation of the control unit 310. FIG. 4 shows the operation of the control unit 310 when a request to turn off the printer 11 is received from the control tablet terminal 101. The process of the control unit 310 illustrated in FIG. 4 corresponds to the function of the power supply control unit 20d. In this operation, the control tablet terminal 101 corresponds to a transmission device, and the first terminal control unit 261 corresponds to an instruction unit.

制御部310は、制御タブレット端末101からデータ(制御情報)を受信したか否かを判定する(ステップS1)。制御タブレット端末101からデータを受信した場合(ステップS1;Yes)、制御部310は、受信したデータが、プリンター11の電源オフの指示であるか否かを判定する(ステップS2)。受信したデータがプリンター11の電源オフの指示ではなかった場合(ステップS2;No)、制御部310は、受信したデータに応じた処理を行う(ステップS3)。
受信したデータがプリンター11のオフ要求であった場合(ステップS4;Yes)、制御部310は、RAM313に保存された設定情報を参照して、認証処理の要否を判定する(ステップS4)。認証を要しない場合(ステップS4;No)、制御部310は、上述のシャットダウンシーケンスを実行してプリンター11の電源をオフにする(ステップS5)。
The control unit 310 determines whether data (control information) has been received from the control tablet terminal 101 (step S1). When data is received from the control tablet terminal 101 (step S1; Yes), the control unit 310 determines whether or not the received data is an instruction to turn off the printer 11 (step S2). When the received data is not an instruction to turn off the printer 11 (step S2; No), the control unit 310 performs processing according to the received data (step S3).
If the received data is a request to turn off the printer 11 (step S4; Yes), the control unit 310 refers to the setting information stored in the RAM 313 to determine whether or not an authentication process is necessary (step S4). When authentication is not required (step S4; No), the control unit 310 executes the above-described shutdown sequence to turn off the printer 11 (step S5).

また、認証を要する場合(ステップS4;Yes)、制御部310は、制御タブレット端末101に対して認証データを要求する(ステップS6)。制御タブレット端末101では、第1ブラウザー実行部261aが制御を行い、タッチパネル101aに認証データの入力画面が表示される。ここで、タッチパネル101aにタッチ操作が行われて認証データが入力されると、制御タブレット端末101は、入力されたデータをプリンター11に送信する。
制御部310は、制御タブレット端末101から認証データを受信するまで待機し(ステップS7)、認証データを受信した場合に(ステップS7;Yes)、受信したデータと設定情報に含まれる認証データとを照合して、認証を行う(ステップS8)。
ここで、受信したデータと設定情報の認証データとが一致、または適合し、認証に成功した場合(ステップS8;Yes)、制御部310はプリンター11のシャットダウンシーケンスを実行する。また、受信したデータと設定情報の認証データが一致しない、または不適合であった場合、制御部310は認証失敗と判定する(ステップS8;No)。この場合、制御部310は、制御タブレット端末101に対して認証失敗を通知し、認証データの再送信を要求して(ステップS9)、ステップS7に戻る。
If authentication is required (step S4; Yes), the control unit 310 requests authentication data from the control tablet terminal 101 (step S6). In the control tablet terminal 101, the first browser execution unit 261a performs control, and an authentication data input screen is displayed on the touch panel 101a. Here, when a touch operation is performed on the touch panel 101 a and authentication data is input, the control tablet terminal 101 transmits the input data to the printer 11.
The control unit 310 waits until the authentication data is received from the control tablet terminal 101 (step S7). When the authentication data is received (step S7; Yes), the received data and the authentication data included in the setting information are displayed. Verification is performed (step S8).
Here, when the received data and the authentication data of the setting information match or match and the authentication is successful (step S8; Yes), the control unit 310 executes a shutdown sequence of the printer 11. If the received data and the authentication data of the setting information do not match or do not match, the control unit 310 determines that the authentication has failed (step S8; No). In this case, the control unit 310 notifies the control tablet terminal 101 of the authentication failure, requests retransmission of the authentication data (step S9), and returns to step S7.

以上説明したように、本実施形態のプリンター11は、電源部320、電源スイッチ33、プリンターユニット21、制御部310、サーバーインターフェイス32と、電源制御部20dとを備える。電源部320は、電源を供給する。電源スイッチ33は、電源部320からの電源の供給を開始させる。プリンターユニット21は、電源部320から電源が供給され、印刷を行う。制御部310は、電源部320から電源が供給され、決済処理に係る制御を行う。サーバーインターフェイス32は、決済処理に係るデータ及び制御部310への電源の供給を停止させる制御情報を受信する。電源制御部20dは、サーバーインターフェイス32で制御情報を受信した場合に、電源部320から制御部310への電源の供給を停止する制御を行う。
従って、本実施形態のプリンター11によれば、サーバーインターフェイス32が制御情報を受信した場合に、電源制御部20dの制御によりプリンター11の制御部310の電源をオフにする。これにより、制御部が処理するデータの消失等を招かないような制御を行うことが可能となる。
As described above, the printer 11 of this embodiment includes the power supply unit 320, the power switch 33, the printer unit 21, the control unit 310, the server interface 32, and the power supply control unit 20d. The power supply unit 320 supplies power. The power switch 33 starts supplying power from the power supply unit 320. The printer unit 21 is supplied with power from the power supply unit 320 and performs printing. The control unit 310 is supplied with power from the power supply unit 320 and performs control related to the settlement process. The server interface 32 receives data related to the payment process and control information for stopping the supply of power to the control unit 310. The power supply control unit 20 d performs control to stop the supply of power from the power supply unit 320 to the control unit 310 when the control information is received by the server interface 32.
Therefore, according to the printer 11 of the present embodiment, when the server interface 32 receives control information, the power of the control unit 310 of the printer 11 is turned off under the control of the power control unit 20d. This makes it possible to perform control that does not cause loss of data processed by the control unit.

また、本実施形態のプリンター11は、制御情報を受信した場合に、制御情報の認証を行う認証情報を記憶する記憶部25を備える。そして、サーバーインターフェイス32は、制御情報を受信する時に、制御情報に係る認証データを受信し、電源制御部20dは、制御情報を受信した場合に記憶部25に記憶される認証情報に基づいて認証データの認証を行う。従って、認証を行って、不正な指示によってプリンターの電源がオフされることを防止できる。   In addition, the printer 11 of the present embodiment includes a storage unit 25 that stores authentication information for authenticating control information when control information is received. The server interface 32 receives the authentication data related to the control information when receiving the control information, and the power supply control unit 20d authenticates based on the authentication information stored in the storage unit 25 when the control information is received. Authenticate data. Accordingly, authentication can be performed to prevent the printer from being turned off by an unauthorized instruction.

また、電源制御部20dは、制御情報を受信した場合に、予め設定された制御部310のシャットダウン処理を実行して制御部310への電源の供給を停止させる。制御部310がシャットダウン処理を実行することにより、処理中のデータの消失や破損を防止できる。   Further, when receiving the control information, the power supply control unit 20d executes a preset shutdown process of the control unit 310 to stop the supply of power to the control unit 310. When the control unit 310 executes the shutdown process, it is possible to prevent data from being lost or damaged during the process.

また、本実施形態のプリンター11は、プリンターユニット21を制御するプリンターユニット制御部20aを備える。制御部310は、決済処理に係るデータをプリンターユニット制御部20aに出力する第1処理と、決済処理に係るデータを処理して、処理したデータをサーバーインターフェイス32で送信する第2処理とを実行する。そして、制御情報を受信した場合に、制御部310は、シャットダウン処理で第1処理と第2処理とを終了させ、電源制御部20dは、制御部310への電源の供給を停止させる。
従って、決済処理に係るデータをプリンターユニット制御部20aに出力する第1処理、及び決済処理に係るデータを処理して、処理したデータをサーバーインターフェイス32で送信する第2処理のいずれにおいても、処理中のデータの消失や破損を防止できる。
In addition, the printer 11 of the present embodiment includes a printer unit control unit 20 a that controls the printer unit 21. The control unit 310 executes a first process for outputting data related to the payment process to the printer unit control unit 20a and a second process for processing the data related to the payment process and transmitting the processed data through the server interface 32. To do. When the control information is received, the control unit 310 ends the first process and the second process in the shutdown process, and the power supply control unit 20d stops the supply of power to the control unit 310.
Therefore, in both the first process for outputting the data related to the payment process to the printer unit control unit 20a and the second process for processing the data related to the payment process and transmitting the processed data through the server interface 32, the process is performed. Data loss and damage can be prevented.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の範囲内で任意に変形および応用が可能である。
例えば、上述した実施形態では、制御タブレット端末101を、プリンター11に対して電源オフの指示を送信する外部の装置として用いる場合について説明したが、これに限らず、タブレット端末102から電源オフの指示を送信してもよい。また、プリンター11と通信可能に接続された、他の装置が電源オフの指示を送信してもよい。外部の装置の具体的な態様は任意であり、プリンター11と通信可能であればよく、携帯型電話機、パーソナルコンピューター等を用いることも可能である。また、プリンター11が実行するデータ処理のうち、上述した第2処理は、POSサーバー17及びデバイスサーバー18の機能に係る処理に限定されない。その他の細部構成についても任意に変更可能である。
The above-described embodiment is merely an aspect of the present invention, and can be arbitrarily modified and applied within the scope of the present invention.
For example, in the above-described embodiment, the case where the control tablet terminal 101 is used as an external device that transmits a power-off instruction to the printer 11 has been described. May be sent. Further, another device connected to be communicable with the printer 11 may transmit a power-off instruction. A specific aspect of the external device is arbitrary, and it is only necessary to be able to communicate with the printer 11, and a portable telephone, a personal computer, or the like can also be used. Of the data processing executed by the printer 11, the second processing described above is not limited to processing related to the functions of the POS server 17 and the device server 18. Other detailed configurations can be arbitrarily changed.

1…POSシステム(印刷システム)、11…プリンター、17…POSサーバー、18…デバイスサーバー、20…デバイス制御部、20a…プリンターユニット制御部(印刷制御部)、20b…通信部、20c…デバイス通信制御部(データ制御部)、20d…電源制御部、25…記憶部、21…プリンターユニット(印刷部)、22…無線デバイス通信部(接続部)、24…有線デバイス通信部(接続部)、30…POSサーバー制御部、30a…アプリケーション実行部、31…POSサーバー記憶部、32…サーバーインターフェイス(通信部)、33…電源スイッチ、35…アプリケーション、101…制御タブレット端末(送信装置)、101c…表示パネル、102…タブレット端末、200…プリンター基板(印刷制御基板)、261…第1端末制御部(指示部)、261a…第1ブラウザー実行部、262…第2端末制御部、262a…第2ブラウザー実行部、300…メイン制御基板、310…制御部、313…RAM、314…記憶部、320…電源部。   DESCRIPTION OF SYMBOLS 1 ... POS system (printing system), 11 ... Printer, 17 ... POS server, 18 ... Device server, 20 ... Device control part, 20a ... Printer unit control part (printing control part), 20b ... Communication part, 20c ... Device communication Control unit (data control unit), 20d ... power supply control unit, 25 ... storage unit, 21 ... printer unit (printing unit), 22 ... wireless device communication unit (connection unit), 24 ... wired device communication unit (connection unit), DESCRIPTION OF SYMBOLS 30 ... POS server control part, 30a ... Application execution part, 31 ... POS server memory | storage part, 32 ... Server interface (communication part), 33 ... Power switch, 35 ... Application, 101 ... Control tablet terminal (transmission apparatus), 101c ... Display panel, 102 ... tablet terminal, 200 ... printer board (printing control group , 261 ... First terminal control unit (instruction unit), 261a ... First browser execution unit, 262 ... Second terminal control unit, 262a ... Second browser execution unit, 300 ... Main control board, 310 ... Control unit, 313 ... RAM, 314 ... storage part, 320 ... power supply part.

Claims (8)

電源を供給する電源部と、
前記電源部からの電源の供給を開始させる電源スイッチと、
前記電源部から電源が供給され、印刷を行う印刷部と、
前記電源部から電源が供給され、決済処理に係る制御を行う制御部と、
前記決済処理に係るデータ及び前記制御部への電源の供給を停止させる制御情報を受信する通信部と、
前記通信部で前記制御情報を受信した場合に、前記電源部から前記制御部への電源の供給を停止する制御を行う電源制御部と、
前記電源スイッチが操作されたときの前記電源制御部の動作を設定した設定情報を記憶する記憶部と、を備え、
前記設定情報は、前記電源制御部によるシャットダウン処理の実行、又は、前記印刷部及び前記制御部への通電を維持して稼動可能な状態である通常モード、及び、電力消費量が抑制され印刷開始の指示を待つ待機モード、一時的に前記制御部が停止するスリープモードを含む動作状態のいずれかへの移行を設定する情報であり、
前記電源制御部は、前記印刷部及び前記制御部に電源が供給された状態で、前記制御情報を受信した場合には実行中の処理を終了させた後に前記電源部から前記印刷部及び前記制御部への電源の供給を停止する制御を行い、前記電源スイッチが操作された場合には前記設定情報に従って前記シャットダウン処理の実行、又は、前記設定情報に設定された動作状態への移行を行うことを特徴とするプリンター。
A power supply for supplying power;
A power switch for starting the supply of power from the power supply unit;
A power supply unit that receives power from the power supply unit and performs printing;
A control unit that receives power from the power supply unit and performs control related to the settlement process;
A communication unit that receives data related to the settlement process and control information for stopping supply of power to the control unit;
A power supply control unit that performs control to stop power supply from the power supply unit to the control unit when the communication unit receives the control information;
A storage unit that stores setting information that sets the operation of the power control unit when the power switch is operated,
The setting information includes execution of a shutdown process by the power supply control unit, or normal mode in which the printing unit and the control unit are maintained in an operable state, and printing is started with reduced power consumption. Information for setting a transition to any of the operation modes including a standby mode waiting for an instruction, and a sleep mode in which the control unit temporarily stops,
The power control unit, when power is supplied to the printing unit and the control unit, when the control information is received, terminates the current process and then performs the printing unit and the control from the power unit. Control to stop the supply of power to the unit, and when the power switch is operated , execute the shutdown process according to the setting information , or shift to the operation state set in the setting information Printer characterized by.
前記記憶部は、前記制御情報を受信した場合に、前記制御情報の認証を行う認証情報を記憶し、
前記通信部は、前記制御情報を受信するときに、前記制御情報に係る認証データを受信し、
前記電源制御部は、前記制御情報を受信した場合に前記記憶部に記憶される前記認証情報に基づいて前記認証データの認証を行う請求項1に記載のプリンター。
The storage unit stores authentication information for authenticating the control information when the control information is received;
The communication unit receives the authentication data related to the control information when receiving the control information,
The printer according to claim 1, wherein the power supply control unit authenticates the authentication data based on the authentication information stored in the storage unit when the control information is received.
前記電源制御部は、前記制御情報を受信した場合に、予め設定された前記制御部の前記シャットダウン処理を実行して前記制御部への電源の供給を停止させる請求項1または2記載のプリンター。 The power control unit, when receiving the control information, a power supply according to claim 1 or 2 printer according stopping the supply to preset the control unit of the shutdown processing executed by the control unit. 前記印刷部を制御する印刷制御部を有し、
前記制御部は、前記決済処理に係る前記データを前記印刷制御部に出力する第1処理と、前記決済処理に係る前記データを処理して、処理したデータを前記通信部で送信する第2処理とを実行し、
前記制御情報を受信した場合に、
前記制御部は、前記シャットダウン処理で前記第1処理と前記第2処理とを終了させ、前記電源制御部は、前記第1処理と前記第2処理が終了した後、前記制御部への電源の供給を停止させる請求項3記載のプリンター。
A printing control unit for controlling the printing unit;
The control unit outputs a first process of outputting the data related to the payment process to the print control unit, and a second process of processing the data related to the payment process and transmitting the processed data through the communication unit And run
When the control information is received,
The control unit terminates the first process and the second process in the shutdown process, and the power supply control unit performs power supply to the control unit after the first process and the second process are completed. The printer according to claim 3, wherein the supply is stopped.
前記印刷制御部を有する印刷制御基板と、
前記電源部及び前記制御部を有する制御基板を有し、
前記電源部は、前記制御基板、前記印刷制御基板及び前記印刷部に電源を供給する請求項4記載のプリンター。
A print control board having the print control unit;
A control board having the power supply unit and the control unit;
The printer according to claim 4, wherein the power supply unit supplies power to the control board, the print control board, and the printing unit.
無線デバイスからの第2のデータを送受信する接続部と、
前記接続部で送受信される前記第2のデータを制御するデータ制御部と、を有し、
前記電源制御部は、前記制御情報を受信した場合に前記データ制御部への電源の供給を停止させる請求項1から5のいずれか1項に記載のプリンター。
A connection for transmitting and receiving second data from the wireless device;
A data control unit that controls the second data transmitted and received at the connection unit,
The printer according to claim 1, wherein the power supply control unit stops supply of power to the data control unit when the control information is received.
決済情報に係るデータ及び制御部への電源の供給を停止させる制御情報を送信する送信装置と、
電源を供給する電源部、前記電源部からの電源の供給を開始させる電源スイッチ、前記電源部から電源が供給されて印刷を行う印刷部、前記電源部から電源が供給されて決済処理に係る制御を行う前記制御部、前記決済情報に係るデータ及び前記制御情報を受信する通信部、前記通信部で前記制御情報を受信した場合に前記電源部から前記制御部への電源の供給を停止する制御を行う電源制御部、及び前記電源スイッチが操作されたときの前記電源制御部の動作を設定した設定情報を記憶する記憶部と、を備えるプリンターと、を有し、
前記設定情報は、前記電源制御部によるシャットダウン処理の実行、又は、前記印刷部及び前記制御部への通電を維持して稼動可能な状態である通常モード、及び、電力消費量が抑制され印刷開始の指示を待つ待機モード、一時的に前記制御部が停止するスリープモードを含む動作状態のいずれかへの移行を設定する情報であり、
前記電源制御部は、前記印刷部及び前記制御部に電源が供給された状態で、前記制御情報を受信した場合には実行中の処理を終了させた後に前記電源部から前記印刷部及び前記制御部への電源の供給を停止する制御を行い、前記電源スイッチが操作された場合には前記設定情報に従って前記シャットダウン処理の実行、又は、前記設定情報に設定された動作状態への移行を行うことを特徴とする印刷システム。
A transmission device that transmits data relating to payment information and control information for stopping the supply of power to the control unit;
A power supply unit that supplies power, a power switch that starts supply of power from the power supply unit, a printing unit that performs printing when power is supplied from the power supply unit, and a control related to settlement processing that is supplied with power from the power supply unit The control unit that performs, the communication unit that receives the data related to the payment information and the control information, and the control that stops the supply of power from the power supply unit to the control unit when the control unit receives the control information And a storage unit that stores setting information that sets the operation of the power control unit when the power switch is operated.
The setting information includes execution of a shutdown process by the power supply control unit, or normal mode in which the printing unit and the control unit are maintained in an operable state, and printing is started with reduced power consumption. Information for setting a transition to any of the operation modes including a standby mode waiting for an instruction, and a sleep mode in which the control unit temporarily stops,
The power control unit, when power is supplied to the printing unit and the control unit, when the control information is received, terminates the current process and then performs the printing unit and the control from the power unit. Control to stop the supply of power to the unit, and when the power switch is operated , execute the shutdown process according to the setting information , or shift to the operation state set in the setting information A printing system featuring.
電源スイッチへの動作に従って電源の供給が開始され、
受信する決済情報に係るデータに基づいて制御部で制御を行い、前記決済情報に係るデータに基づく印刷を印刷部に実行させ、
前記印刷部及び制御部に電源が供給された状態で、前記制御部への電源の供給を停止させる制御情報を受信した場合には実行中の処理を終了させた後に前記印刷部及び前記制御部への電源の供給を停止させ、前記電源スイッチが操作された場合には前記電源スイッチが操作されたときの電源制御の動作を設定した設定情報に従って、シャットダウン処理の実行、又は、前記印刷部及び前記制御部への通電を維持して稼動可能な状態である通常モード、及び、電力消費量が抑制され印刷開始の指示を待つ待機モード、一時的に前記制御部が停止するスリープモードを含む動作状態のいずれかへの移行を行うことを特徴とするプリンターの制御方法。
Power supply starts according to the operation of the power switch,
Control is performed by the control unit based on the data related to the payment information received, and the printing unit is caused to execute printing based on the data related to the payment information,
When control information for stopping the supply of power to the control unit is received in a state where power is supplied to the printing unit and the control unit, the printing unit and the control unit are terminated after ending the processing being executed. stopping the supply of power to, when the power switch is operated, according to the setting information set the operation of the power control when the power switch is operated, the execution of the shutdown processing, or, the printing unit And a normal mode in which the controller can be operated while being energized, a standby mode in which power consumption is suppressed and waiting for an instruction to start printing, and a sleep mode in which the controller is temporarily stopped A method for controlling a printer, characterized by performing transition to one of operating states .
JP2013219324A 2013-10-22 2013-10-22 Printer, printing system, and printer control method Expired - Fee Related JP6237110B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013219324A JP6237110B2 (en) 2013-10-22 2013-10-22 Printer, printing system, and printer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013219324A JP6237110B2 (en) 2013-10-22 2013-10-22 Printer, printing system, and printer control method

Publications (3)

Publication Number Publication Date
JP2015080890A JP2015080890A (en) 2015-04-27
JP2015080890A5 JP2015080890A5 (en) 2016-05-26
JP6237110B2 true JP6237110B2 (en) 2017-11-29

Family

ID=53011767

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013219324A Expired - Fee Related JP6237110B2 (en) 2013-10-22 2013-10-22 Printer, printing system, and printer control method

Country Status (1)

Country Link
JP (1) JP6237110B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6680004B2 (en) * 2016-03-11 2020-04-15 セイコーエプソン株式会社 Printing apparatus and printing apparatus control method
JP2021135641A (en) * 2020-02-26 2021-09-13 三菱重工機械システム株式会社 Fare machine and control method

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0433097A (en) * 1990-05-24 1992-02-04 Teraoka Seiko Co Ltd Pos system
JPH0793053A (en) * 1993-09-28 1995-04-07 Omron Corp Control board for pos system
JP2000339551A (en) * 1999-05-26 2000-12-08 Toshiba Tec Corp Article sales registration data processing system
JP2002023895A (en) * 2000-07-03 2002-01-25 Seiko Epson Corp Information terminal equipment
JP2005031903A (en) * 2003-07-10 2005-02-03 Toshiba Tec Corp Information processor
JP2009277209A (en) * 2008-04-17 2009-11-26 Teraoka Seiko Co Ltd Portable terminal
JP5655323B2 (en) * 2010-02-22 2015-01-21 株式会社リコー Image processing device
JP5699435B2 (en) * 2010-03-10 2015-04-08 株式会社リコー Image processing device
JP5780769B2 (en) * 2011-01-26 2015-09-16 キヤノン株式会社 Data processing apparatus, control method and program thereof, and storage medium
JP5948760B2 (en) * 2011-08-18 2016-07-06 株式会社リコー Image forming apparatus and operation method thereof
JP5810855B2 (en) * 2011-11-14 2015-11-11 セイコーエプソン株式会社 Image forming apparatus
JP5963470B2 (en) * 2012-02-17 2016-08-03 キヤノン株式会社 PRINT CONTROL DEVICE, CONTROL METHOD FOR PRINT CONTROL DEVICE, AND PROGRAM
RU2598820C2 (en) * 2012-03-05 2016-09-27 Сейко Эпсон Корпорейшн Control system, control system control method and recording device
JP5935400B2 (en) * 2012-03-05 2016-06-15 セイコーエプソン株式会社 Control system, control method of control system, and printer

Also Published As

Publication number Publication date
JP2015080890A (en) 2015-04-27

Similar Documents

Publication Publication Date Title
JP6572884B2 (en) POS system and control method of POS system
JP6277959B2 (en) Receipt issuing system, printer, and receipt issuing method
JP2013250602A (en) Terminal device, control method of terminal device and program
JP2011173290A (en) Printer with scanner, and control method of printer with scanner
JP6237110B2 (en) Printer, printing system, and printer control method
JP2012141880A (en) Controller, recording system, control method of controller and program
CN103019629A (en) Printing apparatus, information processing apparatus, printing system, and computer readable medium
JP2002251674A (en) Control method for pos terminal and pos device
JP6171838B2 (en) Printer and printing system
JP6446812B2 (en) POS system and control method of POS system
JP5358594B2 (en) Electronic equipment and programs
JP6191385B2 (en) Transmission system, host device, and data transmission method
JP4910030B2 (en) Electronics
JP2006018455A (en) Rfid label printer
JP2007109066A (en) Commodity sale data processing system, pos terminal and computer program
JP6326924B2 (en) POS system and control method of POS system
JP7396520B2 (en) Sales data processing system
JP6171837B2 (en) Transmission system, transmission apparatus, and data transmission method
JP2018049562A (en) Settlement device and program
JP2010282271A (en) Low-order device and information processing system
JP6964480B2 (en) Product sales data processing equipment, input equipment and programs
JP2008140072A (en) Electronic device
JP6160437B2 (en) POS system, host device, and host device control method
JP2008146478A (en) Display apparatus for displaying shelf label
JP6206083B2 (en) Transmission system, transmission apparatus, and data transmission method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160330

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170327

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170904

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171016

R150 Certificate of patent or registration of utility model

Ref document number: 6237110

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees