JP6405956B2 - Printing apparatus, printing system, and printing apparatus control method - Google Patents

Printing apparatus, printing system, and printing apparatus control method Download PDF

Info

Publication number
JP6405956B2
JP6405956B2 JP2014245605A JP2014245605A JP6405956B2 JP 6405956 B2 JP6405956 B2 JP 6405956B2 JP 2014245605 A JP2014245605 A JP 2014245605A JP 2014245605 A JP2014245605 A JP 2014245605A JP 6405956 B2 JP6405956 B2 JP 6405956B2
Authority
JP
Japan
Prior art keywords
pairing
printing
external device
printing apparatus
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014245605A
Other languages
Japanese (ja)
Other versions
JP2016107458A (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 JP2014245605A priority Critical patent/JP6405956B2/en
Publication of JP2016107458A publication Critical patent/JP2016107458A/en
Application granted granted Critical
Publication of JP6405956B2 publication Critical patent/JP6405956B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

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

従来、無線通信機能を有する印刷装置を備えるシステムにおいて、印刷装置が外部機器
と無線通信する際に、認証コードを用いて認証を行うシステムが知られている(例えば、
特許文献1参照)。
Conventionally, in a system including a printing apparatus having a wireless communication function, a system that performs authentication using an authentication code when the printing apparatus wirelessly communicates with an external device is known (for example,
Patent Document 1).

特開2005−165601号公報JP-A-2005-165601

上述した特許文献1に係る印刷装置のように、無線通信機能を有する装置では、想定し
ていない外部機器が印刷装置と無線接続し、印刷装置が使用されることを防止する必要が
ある。
本発明は、上述した事情に鑑みてなされたものであり、無線通信機能を有する印刷装置
について、想定していない外部装置による使用されることを防止することを目的とする。
In an apparatus having a wireless communication function, such as the printing apparatus according to Patent Document 1 described above, it is necessary to prevent an unexpected external device from being wirelessly connected to the printing apparatus and using the printing apparatus.
SUMMARY An advantage of some aspects of the invention is that a printing apparatus having a wireless communication function is prevented from being used by an external apparatus that is not assumed.

上記目的を達成するために、本発明の印刷装置は、記録媒体に印刷を実行する印刷部と
、無線通信する無線通信部と、ペアリングが完了した前記外部装置から無線通信で受信し
た印刷データに基づいて前記印刷部を制御する制御部と、を備え、前記制御部は、外部装
置からペアリング要求があった場合、前記外部装置を識別する識別情報を取得し、前記識
別情報に基づいてペアリングを行うか否かを判別することを特徴とする。
本発明の構成によれば、無線通信機能を有する印刷装置について、想定していない外部
装置によって使用されることを防止できる。
In order to achieve the above object, a printing apparatus according to the present invention includes a printing unit that performs printing on a recording medium, a wireless communication unit that performs wireless communication, and print data received by wireless communication from the external device that has been paired. A control unit that controls the printing unit based on the control unit, and when there is a pairing request from the external device, the control unit acquires identification information that identifies the external device, and based on the identification information It is characterized by determining whether or not to perform pairing.
According to the configuration of the present invention, it is possible to prevent a printing apparatus having a wireless communication function from being used by an unexpected external apparatus.

また、本発明の印刷装置は、前記制御部は、前記外部装置からペアリング要求があった
場合、前記印刷部を制御して、前記識別情報を印刷させ、前記外部装置とのペアリングを
許可するか否かの入力を受け付け、入力に基づいてペアリングを行うか否かを判別するこ
とを特徴とする。
本発明の構成によれば、識別情報をユーザーに通知して、ユーザーにペアリングの許可
/拒否を判断させることができ、また、識別情報に基づくユーザーの判断に従って、ペア
リングの許可/拒否を判別できる。
Further, in the printing apparatus of the present invention, when there is a pairing request from the external device, the control unit controls the printing unit to print the identification information and permits pairing with the external device. It is characterized by receiving an input as to whether or not to perform pairing and determining whether or not to perform pairing based on the input.
According to the configuration of the present invention, it is possible to notify the user of the identification information and allow the user to determine permission / rejection of pairing, and to permit / reject pairing according to the user's determination based on the identification information. Can be determined.

また、本発明の印刷装置は、操作スイッチを備え、前記制御部は、前記外部装置からペ
アリング要求があった場合、前記印刷部を制御して、前記識別情報、及び、前記外部装置
とのペアリングを許可する場合の前記操作スイッチの操作と許可しない場合の前記操作ス
イッチの操作とを示す情報を印刷させ、前記操作スイッチに対して行われた操作に基づい
てペアリングを行うか否かを判別することを特徴とする。
本発明の構成によれば、印刷機能を有する特性を利用して、ユーザーに、ペアリングを
行う場合と行わない場合に行うべき操作を通知でき、また、ユーザーの判断に従って、ペ
アリングの許可/拒否を判別できる。
In addition, the printing apparatus of the present invention includes an operation switch, and the control unit controls the printing unit when there is a pairing request from the external device, and controls the identification information and the external device. Whether to print information indicating the operation of the operation switch when the pairing is permitted and the operation switch when the pairing is not permitted, and to perform the pairing based on the operation performed on the operation switch It is characterized by distinguishing.
According to the configuration of the present invention, it is possible to notify the user of an operation to be performed when pairing is performed or not by using the characteristics having the print function. Reject can be determined.

また、本発明の印刷装置は、前記識別情報と、前記識別情報の前記外部装置とのペアリ
ングを許可するか否かを示す情報と、を対応付けたペアリング可否情報を記憶する記憶部
を備え、前記制御部は、前記外部装置からペアリング要求があった場合、前記記憶部が記
憶する前記ペアリング可否情報に基づいて、ペアリングを行うか否かを判別することを特
徴とする。
本発明の構成によれば、印刷装置は、ペアリング可否情報に基づいてペアリングを行う
か否かを判別することにより、印刷装置が想定していない外部装置によって使用されるこ
とを防止できる。
The printing apparatus of the present invention further includes a storage unit that stores pairing availability information in which the identification information is associated with information indicating whether or not pairing of the identification information with the external device is permitted. The control unit determines whether or not to perform pairing based on the pairing availability information stored in the storage unit when a pairing request is received from the external device.
According to the configuration of the present invention, the printing apparatus can prevent the printing apparatus from being used by an external device that is not assumed by determining whether to perform pairing based on the pairing availability information.

また、本発明の印刷装置は、前記制御部は、前記ペアリング可否情報の内容の変更を指
示する制御コマンドを受信し、受信した前記制御コマンドに基づいて、前記ペアリング可
否情報の内容を変更することを特徴とする。
本発明の構成によれば、ユーザーは、端末等から印刷装置に制御コマンドを出力するこ
とにより、ペアリング可否情報の内容を変更できる。
In the printing apparatus according to the aspect of the invention, the control unit receives a control command instructing to change the content of the pairing availability information, and changes the content of the pairing availability information based on the received control command. It is characterized by doing.
According to the configuration of the present invention, the user can change the contents of the pairing permission / prohibition information by outputting a control command from the terminal or the like to the printing apparatus.

また、上記目的を達成するために、本発明の印刷システムは、ペアリング要求を行う外
部装置と、記録媒体に印刷を実行する印刷部、無線通信する無線通信部、及び、ペアリン
グが完了した前記外部装置から無線通信で受信した印刷データに基づいて前記印刷部を制
御する制御部と、を有し、前記制御部は、前記外部装置からペアリング要求があった場合
、前記外部装置を識別する識別情報を取得し、前記識別情報に基づいてペアリングを行う
か否かを判別する印刷装置と、を備えることを特徴とする。
本発明の構成によれば、無線通信機能を有する印刷装置について、想定していない外部
装置によって使用されることを防止できる。
In order to achieve the above object, the printing system of the present invention has an external device that makes a pairing request, a printing unit that performs printing on a recording medium, a wireless communication unit that performs wireless communication, and pairing is completed. A control unit that controls the printing unit based on print data received by wireless communication from the external device, and the control unit identifies the external device when there is a pairing request from the external device And a printing apparatus that determines whether or not to perform pairing based on the identification information.
According to the configuration of the present invention, it is possible to prevent a printing apparatus having a wireless communication function from being used by an unexpected external apparatus.

また、上記目的を達成するために、本発明の印刷装置の制御方法は、ペアリングが完了
した外部装置から無線通信で受信した印刷データに基づいて印刷を実行する印刷装置の制
御方法であって、前記外部装置からペアリング要求があった場合、前記外部装置を識別す
る識別情報を取得し、前記識別情報に基づいてペアリングを行うか否かを判別し、ことを
特徴とする。
本発明の構成によれば、無線通信機能を有する印刷装置について、想定していない外部
装置によって使用されることを防止できる。
In order to achieve the above object, a printing apparatus control method according to the present invention is a printing apparatus control method for executing printing based on print data received by wireless communication from an external apparatus for which pairing has been completed. When there is a pairing request from the external device, identification information for identifying the external device is acquired, and it is determined whether or not to perform pairing based on the identification information.
According to the configuration of the present invention, it is possible to prevent a printing apparatus having a wireless communication function from being used by an unexpected external apparatus.

本実施形態に係る印刷システムを示す図。1 is a diagram illustrating a printing system according to an embodiment. 印刷装置、及び、制御装置の機能的構成を示すブロック図。The block diagram which shows the functional structure of a printing apparatus and a control apparatus. 印刷装置の動作を示すフローチャート。6 is a flowchart showing the operation of the printing apparatus. ペアリング可否シートを示す図。The figure which shows a pairing availability sheet. 印刷装置の動作を示すフローチャート。6 is a flowchart showing the operation of the printing apparatus. デバイスリストを示す図。The figure which shows a device list.

以下、図面を参照して本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<第1実施形態>
図1は、第1実施形態に係る印刷システム1を示す図である。
印刷システム1は、ショッピングセンターや、百貨店、コンビニエンスストア等の小売
店や、レストランや、喫茶店、居酒屋等の飲食店等の店舗に適用されるシステムである。
印刷システム1は、顧客が購入した商品に応じた会計を行う機能、会計に応じてレシー
トを発行する機能等を備える。
印刷システム1が適用される店舗には、顧客が会計を行なうレジカウンターLが設けら
れる。レジカウンターLには、会計に応じてレシートを発行可能な印刷装置10が設けら
れる。また、レジカウンターLで会計を担当するレジ担当者には、制御装置11が付与さ
れる。
<First Embodiment>
FIG. 1 is a diagram illustrating a printing system 1 according to the first embodiment.
The printing system 1 is a system that is applied to a store such as a shopping center, a retail store such as a department store, a convenience store, a restaurant, a restaurant such as a coffee shop, and a tavern.
The printing system 1 has a function of performing accounting according to a product purchased by a customer, a function of issuing a receipt according to accounting, and the like.
A store to which the printing system 1 is applied is provided with a cashier counter L for a customer to pay for. The cashier counter L is provided with a printing device 10 capable of issuing a receipt according to a transaction. A control device 11 is assigned to a cashier in charge of accounting at the cashier counter L.

制御装置11は、前面にタッチパネル31が設けられたタブレット型(板状)のコンピ
ューターである。
印刷装置10と、各レジ担当者に付与された制御装置11とは、事前に、Bluetooth(
登録商標)の規格に従ってペアリングが行われる。
レジカウンターLにおける会計に際し、レジ担当者は、自身に付与された制御装置11
を、印刷装置10とBluetoothに従って無線接続すると共に、制御装置11に事前にイン
ストールされた専用のアプリケーション(以下、「専用アプリAP」と表現する。)を起
動する。
専用アプリAPは、レジカウンターLにおける会計に際し、レジ担当者に所定のユーザ
ーインターフェースを提供する。レジ担当者は、当該ユーザーインターフェースに、会計
に対応する入力を行い、また、ユーザーインターフェースに表示された会計に関する情報
を参照する。
制御装置11は、レジカウンターLで行われる会計に応じて、専用アプリAPの機能に
より、印刷装置10を制御して、レシートを発行させる。印刷装置10により発行された
レシートは、顧客に引き渡される。
The control device 11 is a tablet-type (plate-like) computer having a touch panel 31 provided on the front surface.
The printing device 10 and the control device 11 assigned to each cashier person in advance are connected with Bluetooth (
Pairing is performed according to the registered trademark standard.
At the time of payment at the cashier counter L, the cashier person in charge checks the control device 11 assigned to him.
Is wirelessly connected to the printing apparatus 10 according to Bluetooth, and a dedicated application (hereinafter referred to as “dedicated application AP”) installed in advance in the control apparatus 11 is activated.
The dedicated application AP provides a predetermined user interface to the cashier in charge of payment at the cashier counter L. The cashier person makes an input corresponding to the transaction in the user interface, and refers to information related to the transaction displayed on the user interface.
The control device 11 controls the printing device 10 and issues a receipt by the function of the dedicated application AP according to the transaction performed at the checkout counter L. The receipt issued by the printing apparatus 10 is delivered to the customer.

なお、本実施形態において、「無線接続」とは、印刷装置10と制御装置11との間で
、Bluetoothに従って通信リンクを確立し、通信リンクを介してこれら装置間でデータの
送受信が可能な状態とすることをいう。
In this embodiment, “wireless connection” means a state in which a communication link is established between the printing apparatus 10 and the control apparatus 11 according to Bluetooth, and data can be transmitted and received between these apparatuses via the communication link. It means that.

図2は、印刷装置10、及び、制御装置11の機能的構成を示すブロック図である。   FIG. 2 is a block diagram illustrating functional configurations of the printing apparatus 10 and the control apparatus 11.

図2に示すように、印刷装置10は、ロール紙を収容し、ロール紙にライン型のサーマ
ルヘッドによってドットを形成することにより画像を印刷するラインサーマルプリンター
である。
図2に示すように、印刷装置10は、印刷部21と、記憶部22と、無線通信部23と
、入力部24と、センサーユニット25と、を備える。
As illustrated in FIG. 2, the printing apparatus 10 is a line thermal printer that stores roll paper and prints an image by forming dots on the roll paper with a line-type thermal head.
As illustrated in FIG. 2, the printing apparatus 10 includes a printing unit 21, a storage unit 22, a wireless communication unit 23, an input unit 24, and a sensor unit 25.

制御部20は、CPUや、ROM、RAM、その他周辺回路等を備え、印刷装置10を
制御する。制御部20は、インストールされたファームウェア、その他制御プログラムを
読み出して実行することにより、印刷装置10を制御する。
The control unit 20 includes a CPU, ROM, RAM, and other peripheral circuits, and controls the printing apparatus 10. The control unit 20 controls the printing apparatus 10 by reading and executing the installed firmware and other control programs.

印刷部21は、印刷装置10の筐体に収容されたロール紙を搬送する搬送機構や、サー
マルヘッドによってロール紙にドットを形成して画像を印刷する印刷機構、ロール紙を所
定の位置で切断する切断機構等を備える。印刷部21は、制御部20の制御で、搬送機構
によりロール紙を搬送しつつ、印刷機構によりロール紙に画像を印刷し、切断機構により
所定の位置でロール紙を切断して、レシートを発行する。
The printing unit 21 includes a conveyance mechanism that conveys roll paper accommodated in the casing of the printing apparatus 10, a printing mechanism that prints an image by forming dots on the roll paper using a thermal head, and cuts the roll paper at a predetermined position. A cutting mechanism is provided. Under the control of the control unit 20, the printing unit 21 prints an image on the roll paper by the printing mechanism while conveying the roll paper by the conveyance mechanism, cuts the roll paper at a predetermined position by the cutting mechanism, and issues a receipt. To do.

記憶部22は、不揮発性メモリーを備え、各種データを記憶する。   The storage unit 22 includes a nonvolatile memory and stores various data.

無線通信部23は、リンクマネージャーや、リンクコントローラー、高周波回路、アン
テナ等を含む無線通信モジュールを備え、制御部20の制御で、制御装置11と通信リン
クを確立してBluetoothに従って無線通信する。
The wireless communication unit 23 includes a wireless communication module including a link manager, a link controller, a high frequency circuit, an antenna, and the like, and establishes a communication link with the control device 11 under the control of the control unit 20 and performs wireless communication according to Bluetooth.

入力部24は、電源をオン/オフする電源スイッチ241、ロール紙の搬送を指示する
フィードスイッチ242、その他の操作スイッチを備える。入力部24は、操作スイッチ
に対する操作を検出し、制御部20に出力する。制御部20は、入力部24からの入力に
基づいて、操作スイッチに対する操作に対応する処理を実行する。
The input unit 24 includes a power switch 241 for turning on / off the power, a feed switch 242 for instructing conveyance of roll paper, and other operation switches. The input unit 24 detects an operation on the operation switch and outputs it to the control unit 20. Based on the input from the input unit 24, the control unit 20 executes processing corresponding to the operation on the operation switch.

センサーユニット25は、複数のセンサーと、各センサーの検出値をA/D変換するコ
ンバーター等を備え、各センサーの検出値を制御部20に出力する。
センサーは、印刷装置10に設けられた図示しないカバーの開閉状態を検出するセンサ
ーや、ロール紙の位置を検出する位置検出センサー、ロール紙の搬送に関するエラー、印
刷機構に関するエラー、その他エラーを検出するセンサー、切断機構が有するカッターの
位置を検出するセンサー等、印刷機構が有するサーマルヘッドの温度を検出するセンサー
、ロール紙の紙切れを検出するセンサー等を含む。
制御部20は、センサーユニット25からの入力に基づいて、印刷装置10の状態を検
出する。
The sensor unit 25 includes a plurality of sensors and a converter that performs A / D conversion on the detection values of each sensor, and outputs the detection values of each sensor to the control unit 20.
The sensor detects an open / closed state of a cover (not shown) provided in the printing apparatus 10, a position detection sensor that detects the position of the roll paper, an error related to the conveyance of the roll paper, an error related to the printing mechanism, and other errors. It includes a sensor, a sensor that detects the position of the cutter that the cutting mechanism has, a sensor that detects the temperature of the thermal head that the printing mechanism has, and a sensor that detects the running out of roll paper.
The control unit 20 detects the state of the printing apparatus 10 based on the input from the sensor unit 25.

なお、本実施形態に係る印刷装置10は、液晶表示パネル等の、文字によって情報を表
示する表示手段を有さない。これにより、製造コストの削減、装置の小型化が実現されて
いる。
Note that the printing apparatus 10 according to the present embodiment does not have a display unit that displays information using characters, such as a liquid crystal display panel. Thereby, reduction of manufacturing cost and size reduction of an apparatus are implement | achieved.

制御装置11は、タブレット型のコンピューターである。
図2に示すように、制御装置11は、制御装置制御部30と、タッチパネル31と、制
御装置記憶部32と、制御装置無線通信部33と、を備える。
The control device 11 is a tablet computer.
As shown in FIG. 2, the control device 11 includes a control device control unit 30, a touch panel 31, a control device storage unit 32, and a control device wireless communication unit 33.

制御装置制御部30は、CPUや、ROM、RAM、その他周辺回路等を備え、制御装
置11を制御する。
The control device control unit 30 includes a CPU, ROM, RAM, and other peripheral circuits, and controls the control device 11.

タッチパネル31は、液晶表示パネル等の表示パネルと、表示パネルに重ねて設けられ
たタッチセンサーとを備える。表示パネルは、制御装置制御部30の制御で、各種画像を
表示する。タッチセンサーは、タッチ操作を検出し、制御装置制御部30に出力する。制
御装置制御部30は、タッチパネル31からの入力に基づいて、タッチ操作に対応する処
理を実行する。
The touch panel 31 includes a display panel such as a liquid crystal display panel and a touch sensor provided so as to overlap the display panel. The display panel displays various images under the control of the control device control unit 30. The touch sensor detects a touch operation and outputs it to the control device controller 30. The control device control unit 30 executes processing corresponding to the touch operation based on the input from the touch panel 31.

制御装置記憶部32は、不揮発性メモリーを備え、各種データを記憶する。   The control device storage unit 32 includes a nonvolatile memory and stores various data.

制御装置無線通信部33は、無線通信モジュールを備え、制御装置制御部30の制御で
、印刷装置10と通信リンクを確立してBluetoothに従って無線通信する。
The control device wireless communication unit 33 includes a wireless communication module, and establishes a communication link with the printing device 10 and performs wireless communication according to Bluetooth under the control of the control device control unit 30.

次に、レシートを発行するときの制御装置11、及び、印刷装置10の動作について説
明する。
以下の説明では、印刷装置10と、制御装置11との間でペアリングが行われており、
これら装置が無線接続された状態(通信リンクが確立した状態)である。また、制御装置
11の専用アプリAPが起動されており、専用アプリAPが提供するユーザーインターフ
ェースが、タッチパネル31に表示された状態である。
以下の説明において、制御装置制御部30は、専用アプリAP、専用アプリAPにより
呼び出し可能なAPI((Application Programming Interface))、及び、制御装置1
1のOSを含む制御プログラムの機能に基づいて処理を実行する。
Next, operations of the control device 11 and the printing device 10 when issuing a receipt will be described.
In the following description, pairing is performed between the printing apparatus 10 and the control apparatus 11,
This is a state where these devices are wirelessly connected (a state where a communication link is established). In addition, the dedicated application AP of the control device 11 is activated, and the user interface provided by the dedicated application AP is displayed on the touch panel 31.
In the following description, the control device control unit 30 includes a dedicated application AP, an API ((Application Programming Interface)) that can be called by the dedicated application AP, and the control device 1.
The processing is executed based on the function of the control program including one OS.

制御装置11の制御装置制御部30は、専用アプリAPが提供するユーザーインターフ
ェースに対して会計に対応する入力が行われた後、レシートの発行を指示するタッチボタ
ンが操作されたことを検出すると、レシートの発行を指示する印刷データを生成する。印
刷データは、印刷装置10のコマンド体系に従った制御コマンドを含んで構成された制御
データである。
次いで、制御装置制御部30は、制御装置無線通信部33を制御して、生成した印刷デ
ータを、印刷装置10に送信する。
印刷装置10の制御部20は、無線通信部23を制御して、制御装置11が送信した印
刷データを受信する。
次いで、制御部20は、受信した印刷データに基づいて、印刷部21を制御してレシー
トを発行する。
When the control device control unit 30 of the control device 11 detects that the touch button for instructing the receipt is operated after the input corresponding to the accounting is performed on the user interface provided by the dedicated application AP, Print data for issuing a receipt is generated. The print data is control data that includes control commands according to the command system of the printing apparatus 10.
Next, the control device control unit 30 controls the control device wireless communication unit 33 to transmit the generated print data to the printing device 10.
The control unit 20 of the printing apparatus 10 controls the wireless communication unit 23 to receive the print data transmitted by the control apparatus 11.
Next, the control unit 20 controls the printing unit 21 based on the received print data to issue a receipt.

ところで、上述したように、印刷装置10には、ペアリングが完了した制御装置11が
無線接続され、無線接続された制御装置11の制御でレシートの発行を含む処理を実行す
る。
ここで、印刷装置10と、レジ担当者に付与された制御装置11以外の端末、すなわち
、印刷装置10との通信が許可されない端末との間で、ペアリングが行われることを防止
する必要がある。悪意を持った第三者が、自身の端末と印刷装置10とを接続して印刷装
置10を占有したり、また、印刷装置10に想定されない情報を印刷させたりすることが
可能となるからである。
そして、通信が許可されない外部装置がペアリングされることを防止すれば、当該外部
装置は印刷装置10と無線接続できず、印刷装置10が第三者により悪意をもって使用さ
れることを防止できる。
以上を踏まえ、本実施形態に係る印刷装置10は、ペアリングに関し、以下の処理を実
行する。
Incidentally, as described above, the printing apparatus 10 is wirelessly connected to the control device 11 that has been paired, and performs processing including receipt issuance under the control of the wirelessly connected control device 11.
Here, it is necessary to prevent pairing between the printing apparatus 10 and a terminal other than the control apparatus 11 assigned to the cashier, that is, a terminal that is not permitted to communicate with the printing apparatus 10. is there. This is because a malicious third party can connect his terminal and the printing apparatus 10 to occupy the printing apparatus 10 or cause the printing apparatus 10 to print unexpected information. is there.
If an external device that is not permitted to communicate is prevented from being paired, the external device cannot be wirelessly connected to the printing apparatus 10, and the printing apparatus 10 can be prevented from being used maliciously by a third party.
Based on the above, the printing apparatus 10 according to the present embodiment executes the following processing regarding pairing.

図3は、印刷装置10の動作を示すフローチャートである。
図3のフローチャートの開始時点では、印刷装置10は、制御装置11と無線接続され
ておらず、任意の外部装置が、印刷装置10に対してペアリング要求を行える状態である
FIG. 3 is a flowchart showing the operation of the printing apparatus 10.
At the start of the flowchart of FIG. 3, the printing apparatus 10 is not wirelessly connected to the control apparatus 11, and any external apparatus can make a pairing request to the printing apparatus 10.

図3に示すように、印刷装置10の制御部20は、外部装置からペアリング要求があっ
たか否かを監視する(ステップSA1)。ペアリング要求は、Bluetoothに係る所定のプ
ロトコルに従って、ペアリングを要求する信号が印刷装置10に対して送信されることに
より行われる。
ペアリング要求があった場合(ステップSA1:YES)、制御部20は、ペアリング
要求を行った外部装置のデバイス名と、BDアドレス(Bluetoothデバイスに一意に付与
された識別情報)とを取得する(ステップSA2)。
ここで、印刷装置10の制御部20は、ペアリング要求を受け付けた場合、ペアリング
要求を行った外部装置と、対応するプロトコルに従った手続きで通信し、デバイス名、及
び、BDアドレスを取得する。
BDアドレスが、「識別情報」に相当する。
As shown in FIG. 3, the control unit 20 of the printing apparatus 10 monitors whether there is a pairing request from an external apparatus (step SA1). The pairing request is made by transmitting a signal requesting pairing to the printing apparatus 10 in accordance with a predetermined protocol related to Bluetooth.
When there is a pairing request (step SA1: YES), the control unit 20 acquires the device name of the external device that has made the pairing request and the BD address (identification information uniquely assigned to the Bluetooth device). (Step SA2).
Here, when receiving a pairing request, the control unit 20 of the printing apparatus 10 communicates with the external apparatus that has made the pairing request according to a procedure according to a corresponding protocol, and acquires a device name and a BD address. To do.
The BD address corresponds to “identification information”.

次いで、制御部20は、記憶部22が記憶する不許可リストを参照する(ステップSA
3)。
不許可リストとは、後述する方法によって、ペアリングを許可しない外部装置のBDア
ドレスが登録されたリストである。制御部20は、不許可リストに登録されたBDアドレ
スの外部装置からペアリング要求があった場合であっても、ペアリングを行わない。
Next, the control unit 20 refers to the non-permission list stored in the storage unit 22 (step SA).
3).
The non-permission list is a list in which BD addresses of external devices that do not permit pairing are registered by a method described later. The control unit 20 does not perform pairing even when there is a pairing request from an external device having a BD address registered in the non-permission list.

次いで、制御部20は、ステップSA2で取得したBDアドレスが、不許可リストに登
録されているか否かを判別する(ステップSA4)。
BDアドレスが不許可リストに登録されている場合(ステップSA4:YES)、制御
部20は、ペアリング要求を行った外部装置とペアリングを行わず、プロトコルに従って
、ペアリングが失敗したことを示す情報を含むペアリング確認信号を応答する(ステップ
SA5)。
Next, the control unit 20 determines whether or not the BD address acquired in Step SA2 is registered in the non-permission list (Step SA4).
When the BD address is registered in the non-permission list (step SA4: YES), the control unit 20 does not perform pairing with the external device that has made the pairing request, and indicates that pairing has failed according to the protocol. A pairing confirmation signal including information is returned (step SA5).

BDアドレスが不許可リストに登録されていない場合(ステップSA4:NO)、制御
部20は、印刷装置10が印刷を実行できる状態か否かを判別する(ステップSA6)。
例えば、搬送機構や印刷機構にエラーが発生した場合や、カバーが開いた状態の場合、紙
切れの場合は印刷が実行できない。制御部20は、センサーユニット25からの入力に基
づいて、印刷装置10が印刷を実行できる状態であるか否かを判別する。
If the BD address is not registered in the non-permission list (step SA4: NO), the control unit 20 determines whether the printing apparatus 10 is ready to perform printing (step SA6).
For example, printing cannot be executed when an error occurs in the transport mechanism or the printing mechanism, when the cover is open, or when the paper is out. Based on the input from the sensor unit 25, the control unit 20 determines whether or not the printing apparatus 10 is ready to perform printing.

印刷が実行できる状態ではない場合(ステップSA6:NO)、制御部20は、ペアリ
ングを行わず、対応する処理を実行する(ステップSA7)。例えば、制御部20は、所
定の手段で、印刷が実行できる状態ではなく、ペアリングを行わない旨、報知する。印刷
が実行できない状態の場合に、ペアリングを行わないのは、後述するペアリング可否シー
トを発行できないからである。
When it is not in a state where printing can be performed (step SA6: NO), the control unit 20 performs a corresponding process without performing pairing (step SA7). For example, the control unit 20 informs that a predetermined unit is not in a state where printing can be executed and that pairing is not performed. The reason why pairing is not performed in a state where printing cannot be performed is that a pairing availability sheet described later cannot be issued.

一方、印刷が実行できる状態の場合(ステップSA6:YES)、制御部20は、ペア
リング可否シートを発行する(ステップSA8)。
On the other hand, when printing is possible (step SA6: YES), the control unit 20 issues a pairing availability sheet (step SA8).

図4は、ペアリング可否シートの一例を示す図である。
ペアリング可否シートには、ペアリング要求を行った外部装置のデバイス名、及び、B
Dアドレスが印刷される。また、ペアリング可否シートには、ペアリング要求を行った外
部装置とペアリングを許可する場合にユーザーが行う操作、ペアリング要求を行った外部
装置とのペアリングを今回は許可しない場合にユーザーが行う操作、及び、ペアリング要
求を行った外部装置とのペアリングを今回も含め今後も許可しない場合にユーザーが行う
操作を示す情報が印刷される。
図4に例示したペアリング可否シートは、エリアとして、エリアA1〜エリアA3の3
つのエリアを有する。
エリアA1には、ペアリング要求を行った外部装置のデバイス名と、BDアドレスとが
印刷される。
また、エリアA2には、モード1〜モード3の3つのモードが選択可能である旨の情報
が印刷される。また、エリアA2には、モード1はペアリングを許可するモードであり、
モード2はペアリングを今回は許可しないモードであり、モード3はペアリングを今回も
含め今後も許可しないモードであることを示す情報が印刷される。
また、エリアA3には、モード1〜モード3のいずれかを選択するときの手順を示す情
報が印刷される。手順は、具体的には、モード1を選択する場合、フィードスイッチ24
2(Feed button)を1秒未満で1回押下した後、フィードスイッチ242を1秒以上で
1回押下する操作(以下、「第1操作」という。)を行う。モード2を選択する場合、フ
ィードスイッチ242を1秒未満で2回押下した後、フィードスイッチ242を1秒以上
で1回押下する操作(以下、「第2操作」という。)を行う。モード3を選択する場合、
フィードスイッチ242を1秒未満で3回押下した後、フィードスイッチ242を1秒以
上で1回押下する操作(以下、「第3操作」という。)を行う。
FIG. 4 is a diagram illustrating an example of a pairing availability sheet.
The pairing availability sheet includes the device name of the external device that has made the pairing request, and B
The D address is printed. The pairing permission / inhibition sheet shows the user's operation when pairing is permitted with the external device that made the pairing request, and the user when pairing with the external device that made the pairing request is not permitted this time. The information indicating the operation performed by the user and the operation performed by the user when the pairing with the external device that has made the pairing request is not permitted in the future including this time is printed.
The pairing availability sheet illustrated in FIG. 4 has areas A1 to A3 as areas.
Has two areas.
In the area A1, the device name of the external device that has made the pairing request and the BD address are printed.
In the area A2, information indicating that three modes 1 to 3 can be selected is printed. In area A2, mode 1 is a mode that permits pairing,
Mode 2 is a mode in which pairing is not permitted this time, and information indicating that mode 3 is a mode in which pairing is not permitted in the future including this time is printed.
In the area A3, information indicating a procedure for selecting one of the modes 1 to 3 is printed. Specifically, when the mode 1 is selected, the feed switch 24 is selected.
2 (Feed button) is pressed once in less than 1 second, and then the feed switch 242 is pressed once in 1 second or longer (hereinafter referred to as “first operation”). When mode 2 is selected, after the feed switch 242 is pressed twice in less than 1 second, an operation of pressing the feed switch 242 once in 1 second or longer (hereinafter referred to as “second operation”) is performed. When selecting mode 3,
After pressing the feed switch 242 three times in less than one second, an operation of pressing the feed switch 242 once in one second or longer (hereinafter referred to as “third operation”) is performed.

ユーザー(例えば、レジ担当者)は、印刷装置10がペアリング可否シートを発行した
ことを認識することにより、外部装置が印刷装置10に対してペアリング要求を行ったこ
とを認識できる。
また、ユーザーは、以下のようにして、外部装置とのペアリングを許可すべきか否かを
判断できる。
例えば、事前に、印刷装置10に無線接続可能な制御装置11のBDアドレスの一覧表
が用意され、レジカウンターLの所定の位置に置かれる。そして、ユーザーは、ペアリン
グ可否シートに印刷されたBDアドレスが一覧表に記載されている場合、ペアリングを許
可すると判断でき、一覧表に記載されていない場合、ペアリングを許可しないと判断でき
る。
また例えば、上述したように、印刷装置10と無線接続することが想定された装置は、
レジ担当者に付与された制御装置11である。これを踏まえ、ユーザーは、印刷装置10
の周囲における制御装置11の有無等の周囲の状況から、印刷装置10に対するペアリン
グ要求が、担当者に付与された制御装置11からのペアリング要求であると判断できる場
合ペアリングを許可すると判断でき、制御装置11からのペアリング要求ではないと判断
できる場合、ペアリングを許可しないと判断できる。
特に、ユーザーは、ペアリング要求があったときの状況や、過去の経緯等を踏まえ、悪
意を持った第三者に係る外部装置からのペアリング要求であると判断できる場合は、今回
含め、今後もペアリングを許可すべきでないと判断できる。
ユーザーは、判断結果に応じて、第1操作〜第3操作のうちのいずれかの操作を行う。
By recognizing that the printing apparatus 10 has issued a pairing availability sheet, a user (for example, a cashier person in charge) can recognize that the external apparatus has made a pairing request to the printing apparatus 10.
Further, the user can determine whether or not pairing with an external device should be permitted as follows.
For example, a list of BD addresses of the control device 11 that can be wirelessly connected to the printing apparatus 10 is prepared in advance, and placed at a predetermined position of the register counter L. Then, when the BD address printed on the pairing permission / inhibition sheet is described in the list, the user can determine that the pairing is permitted. When the BD address is not described in the list, the user can determine that the pairing is not permitted. .
For example, as described above, an apparatus that is assumed to be wirelessly connected to the printing apparatus 10 is:
The control device 11 is given to the cashier. Based on this, the user can use the printing apparatus 10.
If it can be determined that the pairing request to the printing apparatus 10 is a pairing request from the control apparatus 11 given to the person in charge from the surrounding situation such as the presence or absence of the control apparatus 11 around If it can be determined that the request is not a pairing request from the control device 11, it can be determined that pairing is not permitted.
In particular, if the user can determine that it is a pairing request from an external device related to a malicious third party based on the situation when there was a pairing request, past circumstances, etc., include this time, It can be determined that pairing should not be allowed in the future.
The user performs any one of the first operation to the third operation according to the determination result.

ここで、上述したように、印刷装置10は、液晶表示パネル等の、文字によって情報を
表示する表示手段を有さない。しかしながら、印刷装置10は、ペアリング可否シートを
発行することにより、印刷機構を有する特性を利用して、ユーザーに、ペアリング要求を
行った制御装置11のデバイス名及びBDアドレスを通知でき、また、ペアリングの許可
/不許可を指示する場合にどのような操作を行えばよいのかを通知できる。
Here, as described above, the printing apparatus 10 does not have a display unit that displays information using characters, such as a liquid crystal display panel. However, the printing apparatus 10 can notify the user of the device name and the BD address of the control apparatus 11 that has made the pairing request by using a characteristic having a printing mechanism by issuing a pairing availability sheet. It is possible to notify what operation should be performed when instructing permission / non-permission of pairing.

ペアリング可否シートを印刷した後、制御部20は、ペアリング可否シートに印刷した
操作のうち、いずれかの操作が行われたか否かを監視する(ステップSA9)。
いずれかの操作が行われた場合(ステップSA9:YES)、制御部20は、第1操作
〜第3操作のうち、いずれの操作が行われかを判別する(ステップSA10)。
After printing the pairing availability sheet, the control unit 20 monitors whether any of the operations printed on the pairing availability sheet has been performed (step SA9).
When any operation is performed (step SA9: YES), the control unit 20 determines which one of the first operation to the third operation is performed (step SA10).

第1操作が行われた場合(ステップSA10:「第1操作」)、制御部20は、対応す
るプロトコルに従って印刷装置10と外部装置との間のペアリングを実行する(ステップ
SA11)。次いで、制御部20は、対応するプロトコルに従って、ペアリングが成功し
たことを示す情報を含むペアリング確認信号を応答する(ステップSA12)。以後、外
部装置は、印刷装置10と無線接続した後、印刷装置10と通信リンクを介した通信が可
能である。
When the first operation is performed (step SA10: “first operation”), the control unit 20 performs pairing between the printing apparatus 10 and the external apparatus according to the corresponding protocol (step SA11). Next, the control unit 20 responds with a pairing confirmation signal including information indicating that the pairing was successful according to the corresponding protocol (step SA12). Thereafter, the external apparatus can communicate with the printing apparatus 10 through a communication link after wirelessly connecting to the printing apparatus 10.

第2操作が行われた場合(ステップSA10:「第2操作」)、制御部20は、外部装
置との間でのペアリングを行わない(ステップSA13)。
次いで、制御部20は、対応するプロトコルに従って、ペアリングが失敗したことを示
す情報を含むペアリング確認信号を応答する(ステップSA14)。この結果、ステップ
SA1で受け付けたペアリング要求に基づくペアリングは行われない。
When the second operation is performed (step SA10: “second operation”), the control unit 20 does not perform pairing with the external device (step SA13).
Next, the control unit 20 responds with a pairing confirmation signal including information indicating that pairing has failed according to the corresponding protocol (step SA14). As a result, pairing based on the pairing request received in step SA1 is not performed.

第3操作が行われた場合(ステップSA10:「第3操作」)、制御部20は、外部装
置との間でのペアリングを行わない(ステップSA15)。
次いで、制御部20は、対応するプロトコルに従って、ペアリングが失敗したことを示
す情報を含むペアリング確認信号を応答する(ステップSA16)。
次いで、制御部20は、上述した不許可リストに、ステップSA2で取得したBDアド
レス(ペアリング要求を行った外部装置のBDアドレス)を登録する(ステップSA17
)。この結果、ペアリング要求を行った外部装置から、後にペアリング要求があった場合
であっても、当該ペアリング要求に基づくペアリングは行われない。
When the third operation is performed (step SA10: “third operation”), the control unit 20 does not perform pairing with the external device (step SA15).
Next, the control unit 20 responds with a pairing confirmation signal including information indicating that the pairing has failed in accordance with the corresponding protocol (step SA16).
Next, the control unit 20 registers the BD address (BD address of the external device that has made the pairing request) acquired in Step SA2 in the above-described disapproval list (Step SA17).
). As a result, even if there is a pairing request later from the external device that has made the pairing request, pairing based on the pairing request is not performed.

以上説明したように、本実施形態に係る印刷装置10は、ロール紙(記録媒体)に印刷
する印刷部21と、無線通信する無線通信部23と、外部装置からペアリング要求があっ
た場合、外部装置を識別するBDアドレス(識別情報)を取得し、BDアドレスに基づい
てペアリングを行うか否かを判別する制御部20と、を備える。また、制御部20は、ペ
アリングが完了した制御装置11から受信した印刷データに基づいて印刷部21を制御す
る。
この構成によれば、外部装置のBDアドレスに基づいてペアリングを行うか否かが判別
され、判別結果に応じて外部装置のペアリングが行われるため、印刷装置10と無線接続
されることが想定されない制御装置11のペアリングが行われることが防止され、印刷装
置10が悪意を持って使用されることを防止できる。
As described above, the printing apparatus 10 according to the present embodiment has a printing unit 21 that prints on roll paper (recording medium), a wireless communication unit 23 that performs wireless communication, and a pairing request from an external device. A control unit 20 that acquires a BD address (identification information) for identifying an external device and determines whether or not to perform pairing based on the BD address. Further, the control unit 20 controls the printing unit 21 based on the print data received from the control device 11 that has been paired.
According to this configuration, it is determined whether or not to perform pairing based on the BD address of the external device, and the external device is paired according to the determination result, so that it can be wirelessly connected to the printing apparatus 10. Unexpected pairing of the control device 11 is prevented, and the printing device 10 can be prevented from being used maliciously.

また、本実施形態では、制御部20は、外部装置からペアリング要求があった場合、印
刷部21を制御して、BDアドレスを印刷させ、外部装置とのペアリングを許可するか否
かの入力を受け付け、入力に基づいてペアリングを行うか否かを判別する。
この構成によれば、印刷装置10は、BDアドレスに基づくユーザーの判断に従って、
ペアリングを行う/行わないを決定できる。
In the present embodiment, when there is a pairing request from the external device, the control unit 20 controls the printing unit 21 to print the BD address and determine whether to permit pairing with the external device. An input is received, and it is determined whether or not to perform pairing based on the input.
According to this configuration, the printing apparatus 10 can determine according to the user's determination based on the BD address.
You can decide whether or not to pair.

また、本実施形態では、制御部20は、外部装置からペアリング要求があった場合、印
刷部21を制御して、BDアドレス、及び、外部装置とのペアリングを許可する場合のフ
ィードスイッチ242(操作スイッチ)の操作と許可しない場合のフィードスイッチ24
2の操作とを示す情報を印刷させ、フィードスイッチ242に対して行われた操作に基づ
いてペアリングを行うか否かを判別する。
この構成によれば、文字によって情報を表示する表示手段を持たない印刷装置10につ
いて、印刷機能を有する特性を利用して、ユーザーに、ペアリングを行う場合と行わない
場合に行うべき操作を通知することができる。
In the present embodiment, when there is a pairing request from the external device, the control unit 20 controls the printing unit 21 to allow the pairing with the BD address and the external device. (Operation switch) operation and feed switch 24 when not permitted
2 is printed, and it is determined whether or not to perform pairing based on the operation performed on the feed switch 242.
According to this configuration, with respect to the printing apparatus 10 that does not have a display unit that displays information by characters, the user has an operation to be performed when pairing is performed and when it is not performed using a characteristic having a printing function. can do.

<第2実施形態>
次に、第2実施形態について説明する。
上述した第1実施形態では、印刷装置10は、ユーザーからの入力に基づいて、ペアリ
ングを許可するか否かを判別した。一方、第2実施形態では、以下の方法で、印刷装置1
0は、ペアリングを許可するか否かを判断する。
Second Embodiment
Next, a second embodiment will be described.
In the first embodiment described above, the printing apparatus 10 determines whether or not to permit pairing based on an input from the user. On the other hand, in the second embodiment, the printing apparatus 1 is processed by the following method.
0 determines whether pairing is permitted.

図5は、本実施形態に係る印刷装置10の動作を示すフローチャートである。
図5に示すように、印刷装置10の制御部20は、外部装置からペアリング要求があっ
たか否かを監視する(ステップSB1)。
ペアリング要求があった場合(ステップSB1:YES)、制御部20は、ペアリング
に関するモードとして、第1ペアリングモード〜第4ペアリングモードのいずれが設定さ
れているかを判別する(ステップSB2)。第1ペアリングモード〜第4ペアリングモー
ドの各モードにおける印刷装置10の動作については後述する。ユーザーは、第1ペアリ
ングモード〜第4ペアリングモードのいずれか1つのモードを、ペアリングに関するモー
ドとして事前に設定できる。
上述したように、外部装置からのペアリング要求に応じて、制御部20は、当該外部装
置のBDアドレス、及び、デバイス名を取得する。
FIG. 5 is a flowchart showing the operation of the printing apparatus 10 according to the present embodiment.
As shown in FIG. 5, the control unit 20 of the printing apparatus 10 monitors whether or not there is a pairing request from an external apparatus (step SB1).
When there is a pairing request (step SB1: YES), the control unit 20 determines which of the first pairing mode to the fourth pairing mode is set as the mode related to pairing (step SB2). . The operation of the printing apparatus 10 in each mode of the first pairing mode to the fourth pairing mode will be described later. The user can set in advance any one of the first to fourth pairing modes as a mode related to pairing.
As described above, in response to a pairing request from an external device, the control unit 20 acquires a BD address and a device name of the external device.

モードが第1ペアリングモードの場合(ステップSB2:「第1ペアリングモード」)
、制御部20は、以下の処理を実行する(ステップSB3)。
第1ペアリングモードは、外部装置からペアリング要求があった場合、拒否することな
く、ペアリング要求に基づくペアリングを実行するモードである。
ステップSB3において、制御部20は、ペアリング要求に応じてペアリングを行い、
外部装置に対してペアリングが成功したことを示す情報を含むペアリング確認信号を応答
する。
第1ペアリングモードは、例えば、印刷装置10が、悪意を持った第三者に係る端末と
通信できない場所にある等、印刷装置10との無線接続が許可されない外部装置がペアリ
ング要求を行えない状況の場合に選択される。
When the mode is the first pairing mode (step SB2: “first pairing mode”)
The control unit 20 executes the following process (step SB3).
The first pairing mode is a mode in which when a pairing request is received from an external device, pairing based on the pairing request is executed without refusal.
In step SB3, the control unit 20 performs pairing according to the pairing request,
A pairing confirmation signal including information indicating that the pairing is successful is returned to the external device.
In the first pairing mode, for example, an external device that is not allowed to wirelessly connect to the printing device 10 such as a location where the printing device 10 cannot communicate with a terminal related to a malicious third party can make a pairing request. Selected in case of no situation.

モードが第2ペアリングモードの場合(ステップSB2:「第2ペアリングモード」)
、制御部20は、以下の処理を実行する(ステップSB4)。
第2ペアリングモードは、外部装置からペアリング要求があった場合、許可することな
く、ペアリング要求に基づくペアリングを実行しないモードである。
ステップSB4において、制御部20は、ペアリング要求に応じたペアリングを実行せ
ず、外部装置に対してペアリングが失敗したことを示す情報を含むペアリング確認信号を
応答する。
第2ペアリングモードは、例えば、印刷装置10に、無線接続が許可された制御装置1
1のペアリングが完了しており、印刷装置10と新たにペアリングが必要な外部装置が存
在しない状況の場合に選択される。
When the mode is the second pairing mode (step SB2: “second pairing mode”)
The control unit 20 executes the following process (step SB4).
The second pairing mode is a mode in which, when there is a pairing request from an external device, pairing based on the pairing request is not performed without permission.
In step SB4, the control unit 20 does not execute the pairing according to the pairing request, and responds to the external device with a pairing confirmation signal including information indicating that the pairing has failed.
In the second pairing mode, for example, the control apparatus 1 that allows the printing apparatus 10 to be wirelessly connected.
This is selected when the pairing 1 is completed and there is no external device that needs to be paired with the printing apparatus 10.

モードが第3ペアリングモードの場合(ステップSB2:「第3ペアリングモード」)
、制御部20は、以下の処理を実行する。
すなわち、制御部20は、記憶部22が記憶するデバイスリスト(ペアリング可否情報
)を参照する(ステップSB5)。
When the mode is the third pairing mode (step SB2: “third pairing mode”)
The control unit 20 executes the following processing.
That is, the control unit 20 refers to the device list (pairing availability information) stored in the storage unit 22 (step SB5).

図6は、デバイスリストを示す図である。
図6に示すように、デバイスリストは、複数のレコードを有し、各レコードは、BDア
ドレスと、許可/拒否情報とを有する。
許可/拒否情報は、外部装置からペアリング要求があった場合に、ペアリングを許可す
るか否かを示す情報であり、例えば、ペアリングを許可する場合は「1」、許可しない場
合は「0」となるフラグである。
デバイスリストの1件のレコードは、1の外部装置について、当該1の外部装置のBD
アドレスと、当該1の外部装置からペアリング要求があった場合にペアリングを許可する
か否かを示す許可/拒否情報と、を対応付ける。
FIG. 6 is a diagram showing a device list.
As shown in FIG. 6, the device list has a plurality of records, and each record has a BD address and permission / denial information.
The permission / rejection information is information indicating whether or not pairing is permitted when there is a pairing request from an external device. For example, “1” is permitted when pairing is permitted, and “ The flag is “0”.
One record in the device list is the BD of the one external device for one external device.
The address is associated with permission / rejection information indicating whether or not to permit pairing when there is a pairing request from the one external device.

ユーザーは、デバイスリストの内容を、以下の方法により変更可能である。
すなわち、所定のソフトウェアツールがインストールされた端末を用意し、印刷装置1
0と接続する。印刷装置10と端末との接続は、どのような方法で行われてもよく、例え
ば、Bluetoothに従った無線接続であってもよく、他の方法で接続可能な場合は他の方法
で接続されてもよい。
ソフトウェアツールは、デバイスリストの内容の変更に関する所定のユーザーインター
フェースを提供する機能を有する。ユーザーは、当該ユーザーインターフェースに、デバ
イスリストに新たなレコードの生成や、登録されたレコードの削除、登録されたレコード
におけるBDアドレスの値の変更、許可/拒否情報の内容の変更等の指示、及び、必要な
情報を入力できる。
端末は、ユーザーインターフェースに対するユーザーの入力があり、当該入力が確定し
た場合、ユーザーの入力に対応してデバイスリストの内容を変更させる制御コマンドを生
成し、印刷装置10に送信する。
印刷装置10の制御部20は、制御コマンドを受信し、受信した制御コマンドに基づい
て、デバイスリストの内容を変更する。
The user can change the contents of the device list by the following method.
That is, a terminal on which a predetermined software tool is installed is prepared, and the printing apparatus 1
Connect with 0. The connection between the printing apparatus 10 and the terminal may be performed by any method, for example, may be a wireless connection according to Bluetooth, or may be connected by another method when connection by another method is possible. May be.
The software tool has a function of providing a predetermined user interface related to changing the contents of the device list. The user instructs the user interface to generate a new record in the device list, delete the registered record, change the value of the BD address in the registered record, change the content of the permission / rejection information, and the like. , You can enter the necessary information.
When there is a user input to the user interface and the input is confirmed, the terminal generates a control command for changing the contents of the device list corresponding to the user input, and transmits the control command to the printing apparatus 10.
The control unit 20 of the printing apparatus 10 receives the control command and changes the contents of the device list based on the received control command.

ここで、第3ペアリングモードは、デバイスリストにおいて、ペアリングを許可するこ
とを示す許可/拒否情報と対応付けられたBDアドレスの外部装置からペアリング要求が
あった場合にペアリングを行うモードである。
デバイスリストを参照した後、制御部20は、ペアリング要求を行った外部装置のBD
アドレスがデバイスリストに登録されており、かつ、対応する許可/拒否情報がペアリン
グを許可することを示す情報であるか否かを判別する(ステップSB6)。
ペアリング要求を行った外部装置のBDアドレスがデバイスリストに登録されており、
かつ、対応する許可/拒否情報がペアリングを許可することを示す情報である場合(ステ
ップSB6:YES)、制御部20は、ペアリング要求に応じてペアリングを実行し、外
部装置に対してペアリングが成功したことを示す情報を含むペアリング確認信号を応答す
る(ステップSB7)。
ペアリング要求を行った外部装置のBDアドレスがデバイスリストに登録されていない
か、又は、対応する許可/拒否情報がペアリングを拒否することを示す情報である場合(
ステップSB6:NO)、制御部20は、ペアリング要求に応じたペアリングを実行せず
、外部装置に対してペアリングが失敗したことを示す情報を含むペアリング確認信号を応
答する(ステップSB8)。
Here, the third pairing mode is a mode in which pairing is performed when there is a pairing request from an external device having a BD address associated with permission / rejection information indicating that pairing is permitted in the device list. It is.
After referring to the device list, the control unit 20 determines the BD of the external device that has made the pairing request.
It is determined whether the address is registered in the device list and the corresponding permit / deny information is information indicating that pairing is permitted (step SB6).
The BD address of the external device that made the pairing request is registered in the device list,
And when the corresponding permission / denial information is information indicating that pairing is permitted (step SB6: YES), the control unit 20 executes pairing in response to the pairing request, and A pairing confirmation signal including information indicating that the pairing has succeeded is returned (step SB7).
When the BD address of the external device that has made the pairing request is not registered in the device list, or the corresponding permission / denial information is information indicating that pairing is rejected (
(Step SB6: NO), the control unit 20 does not execute the pairing according to the pairing request, and responds to the external device with a pairing confirmation signal including information indicating that the pairing has failed (step SB8). ).

ユーザーは、以下のような場合に、第3ペアリングモードを選択する。
すなわち、例えば、印刷装置10との無線接続が許可される外部装置(制御装置11)
が、予め定められている場合である。このような場合、事前に、ユーザーは、印刷装置1
0との無線接続が許可される外部装置のそれぞれについて、デバイスリストに、BDアド
レスと、ペアリングを許可することを示す許可/拒否情報とを対応付けたレコードを登録
する。これにより、第3ペアリングモードに従った処理が行われることによって、印刷装
置10との無線接続が許可される外部装置について、ペアリングを行うことができる。
The user selects the third pairing mode in the following cases.
That is, for example, an external device (control device 11) that is permitted to wirelessly connect to the printing device 10
Is a predetermined case. In such a case, in advance, the user can use the printing apparatus 1.
For each external device that is permitted to wirelessly connect to 0, a record in which a BD address is associated with permission / rejection information indicating that pairing is permitted is registered in the device list. As a result, by performing processing according to the third pairing mode, it is possible to perform pairing for an external device that is permitted to wirelessly connect to the printing apparatus 10.

モードが第4ペアリングモードの場合(ステップSB2:「第4ペアリングモード」)
、制御部20は、以下の処理を実行する。
すなわち、制御部20は、記憶部22が記憶するデバイスリスト(ペアリング可否情報
)を参照する(ステップSB9)。
When the mode is the fourth pairing mode (step SB2: “fourth pairing mode”)
The control unit 20 executes the following processing.
That is, the control unit 20 refers to the device list (pairing availability information) stored in the storage unit 22 (step SB9).

ここで、第4ペアリングモードは、デバイスリストにおいて、ペアリングを拒否するこ
とを示す許可/拒否情報と対応付けられたBDアドレスの外部装置からペアリング要求が
あった場合に、ペアリングを行わないモードである。
デバイスリストを参照した後、制御部20は、ペアリング要求を行った外部装置のBD
アドレスがデバイスリストに登録されており、かつ、対応する許可/拒否情報がペアリン
グを拒否することを示す情報であるか否かを判別する(ステップSB10)。
ペアリング要求を行った外部装置のBDアドレスがデバイスリストに登録されており、
かつ、対応する許可/拒否情報がペアリングを拒否することを示す情報である場合(ステ
ップSB10:YES)、制御部20は、ペアリング要求に応じたペアリングを行わず、
外部装置に対してペアリングが失敗したことを示す情報を含むペアリング確認信号を応答
する(ステップSB11)。
ペアリング要求を行った外部装置のBDアドレスがデバイスリストに登録されていない
か、又は、対応する許可/拒否情報がペアリングを許可することを示す情報である場合(
ステップSB10:NO)、制御部20は、ペアリング要求に応じたペアリングを実行し
、外部装置に対してペアリングが成功したことを示す情報を含むペアリング確認信号を応
答する(ステップSB12)。
Here, the fourth pairing mode performs pairing when there is a pairing request from an external device having a BD address associated with permission / rejection information indicating that pairing is rejected in the device list. There is no mode.
After referring to the device list, the control unit 20 determines the BD of the external device that has made the pairing request.
It is determined whether the address is registered in the device list and the corresponding permit / deny information is information indicating that pairing is rejected (step SB10).
The BD address of the external device that made the pairing request is registered in the device list,
And when the corresponding permission / denial information is information indicating that the pairing is rejected (step SB10: YES), the control unit 20 does not perform the pairing according to the pairing request,
A pairing confirmation signal including information indicating that pairing has failed is returned to the external device (step SB11).
When the BD address of the external device that has made the pairing request is not registered in the device list, or the corresponding permission / denial information is information indicating that pairing is permitted (
(Step SB10: NO), the control unit 20 performs pairing according to the pairing request, and responds to the external device with a pairing confirmation signal including information indicating that the pairing is successful (step SB12). .

ユーザーは、以下のような場合に、第4ペアリングモードを選択する。
すなわち、例えば、悪意を持った第三者に係る端末(外部装置)が、判明している場合
である。このような場合、事前に、ユーザーは、悪意を持った第三者に係る端末のそれぞ
れについて、デバイスリストに、BDアドレスと、ペアリングを拒否することを示す許可
/拒否情報とを対応付けたレコードを登録する。これにより、第4ペアリングモードに従
った処理が行われることによって、悪意を持った第三者に係る端末とペアリングが行われ
、当該端末により印刷装置10が使用されることが防止される。
The user selects the fourth pairing mode in the following cases.
That is, for example, a case where a terminal (external device) related to a malicious third party is known. In such a case, in advance, the user associates a BD address with permission / rejection information indicating that pairing is rejected in the device list for each terminal related to a malicious third party. Register the record. As a result, by performing processing according to the fourth pairing mode, pairing with a terminal related to a malicious third party is performed, and the printing apparatus 10 is prevented from being used by the terminal. .

以上説明したように、本実施形態では、印刷装置10は、外部装置のBDアドレス(識
別情報)と、許可/拒否情報(ペアリングを許可するか否かを示す情報)と、を対応付け
たデバイスリスト(ペアリング可否情報)を記憶する記憶部22を備える。制御部20は
、外部装置からペアリング要求があった場合、記憶部22が記憶するデバイスリストに基
づいて、ペアリングを行うか否かを判別する。
本発明の構成によれば、印刷装置10は、デバイスリストに基づいて、外部装置からペ
アリング要求があった場合に、ペアリングを行うか否かを判別することにより、印刷装置
10と無線接続することが許可されない外部装置について、ペアリングが行われることを
防止できる。
As described above, in the present embodiment, the printing apparatus 10 associates the BD address (identification information) of the external apparatus with permission / rejection information (information indicating whether pairing is permitted). A storage unit 22 that stores a device list (pairing availability information) is provided. When there is a pairing request from the external device, the control unit 20 determines whether to perform pairing based on the device list stored in the storage unit 22.
According to the configuration of the present invention, the printing apparatus 10 wirelessly connects to the printing apparatus 10 by determining whether or not to perform pairing when there is a pairing request from an external apparatus based on the device list. It is possible to prevent pairing from being performed for an external device that is not permitted to do so.

また、本実施形態では、制御部20は、デバイスリストの内容の変更を指示する制御コ
マンドを受信し、受信した制御コマンドに基づいて、デバイスリストの内容を変更する。
この構成によれば、ユーザーは、適宜、デバイスリストの内容を変更して、印刷装置1
0と無線接続することが許可されない外部装置についてペアリングが行われないよう、デ
バイスリストの内容を適切なものとすることができる。
In the present embodiment, the control unit 20 receives a control command instructing to change the contents of the device list, and changes the contents of the device list based on the received control command.
According to this configuration, the user appropriately changes the contents of the device list, and the printing apparatus 1
The content of the device list can be made appropriate so that pairing is not performed for an external device that is not permitted to wirelessly connect to 0.

なお、上述した実施の形態は、あくまでも本発明の一態様を示すものであり、本発明の
範囲内で任意に変形および応用が可能である。
例えば、上述した実施形態では、印刷システム1が店舗に用いられ、制御装置11の制
御で印刷装置10がレシートを発行する場合を例にして発明を説明した。しかしながら、
印刷システム1の使用態様は例示したものに限らない。すなわち、本発明は、ペアリング
が完了した装置と無線通信する印刷装置10、及び、印刷装置10と制御装置11とがペ
アリングを行って無線通信するシステムに適用できる。
また、上述した実施形態では、印刷装置10は、サーマルプリンターであったが、印刷
装置10のプリント形式はサーマル式に限らず、インクジェット式等の他の形式であって
もよい。また、印刷装置10は、台等に載置されて使用される据え置きタイプのものであ
ってもよく、持ち運び可能なモバイルタイプのものであってもよい。
また、図を用いて説明した各機能ブロックはハードウェアとソフトウェアにより任意に
実現可能であり、特定のハードウェア構成を示唆するものではない。
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 invention has been described by taking the case where the printing system 1 is used in a store and the printing apparatus 10 issues a receipt under the control of the control apparatus 11 as an example. However,
The usage mode of the printing system 1 is not limited to that illustrated. That is, the present invention can be applied to a printing apparatus 10 that wirelessly communicates with a paired apparatus, and a system that wirelessly communicates by performing a pairing between the printing apparatus 10 and the control apparatus 11.
In the above-described embodiment, the printing apparatus 10 is a thermal printer. However, the printing format of the printing apparatus 10 is not limited to the thermal type, but may be other types such as an inkjet type. In addition, the printing apparatus 10 may be a stationary type that is used by being placed on a table or the like, or may be a mobile type that can be carried.
Each functional block described with reference to the drawings can be arbitrarily realized by hardware and software, and does not suggest a specific hardware configuration.

1…印刷システム、10…印刷装置、11…制御装置(外部装置)、20…制御部、2
1…印刷部、22…記憶部、23…無線通信部。
DESCRIPTION OF SYMBOLS 1 ... Printing system, 10 ... Printing apparatus, 11 ... Control apparatus (external device), 20 ... Control part, 2
DESCRIPTION OF SYMBOLS 1 ... Printing part, 22 ... Memory | storage part, 23 ... Wireless communication part.

Claims (6)

記録媒体に印刷を実行する印刷部と、
無線通信する無線通信部と、
ペアリングが完了した外部装置から無線通信で受信した印刷データに基づいて前記印刷部を制御する制御部と、を備え、
前記制御部は、外部装置からペアリング要求があった場合、前記外部装置を識別する識別情報を取得し、前記印刷部を制御して、前記識別情報を印刷させ、前記外部装置とのペアリングを許可するか否かの入力を受け付け、入力に基づいてペアリングを行うか否かを判別することを特徴とする印刷装置。
A printing unit for printing on a recording medium;
A wireless communication unit for wireless communication;
And a control unit for controlling the printing section based from an external device the pairing is completed in the print data received by the wireless communication,
When there is a pairing request from an external device, the control unit acquires identification information for identifying the external device , controls the printing unit to print the identification information, and performs pairing with the external device A printing apparatus characterized by accepting an input as to whether or not to permit, and determining whether or not to perform pairing based on the input .
操作スイッチを備え、
前記制御部は、
前記外部装置からペアリング要求があった場合、前記印刷部を制御して、前記識別情報、及び、前記外部装置とのペアリングを許可する場合の前記操作スイッチの操作と許可しない場合の前記操作スイッチの操作とを示す情報を印刷させ、前記操作スイッチに対して行われた操作に基づいてペアリングを行うか否かを判別することを特徴とする請求項に記載の印刷装置。
It has an operation switch,
The controller is
When there is a pairing request from the external device, the printing unit is controlled to operate the operation switch when the identification information and pairing with the external device are permitted, and when the operation is not permitted to print information indicating the operation of the switch, the printing apparatus according to claim 1, characterized in that to determine whether to perform the pairing based on the operation performed on the operation switch.
前記識別情報と、前記識別情報の前記外部装置とのペアリングを許可するか否かを示す情報と、を対応付けたペアリング可否情報を記憶する記憶部を備え、
前記制御部は、
前記外部装置からペアリング要求があった場合、前記記憶部が記憶する前記ペアリング可否情報に基づいて、ペアリングを行うか否かを判別することを特徴とする請求項1に記載の印刷装置。
A storage unit for storing pairing availability information in which the identification information is associated with information indicating whether or not pairing of the identification information with the external device is permitted;
The controller is
The printing apparatus according to claim 1, wherein when there is a pairing request from the external apparatus, it is determined whether to perform pairing based on the pairing availability information stored in the storage unit. .
前記制御部は、
前記ペアリング可否情報の内容の変更を指示する制御コマンドを受信し、受信した前記制御コマンドに基づいて、前記ペアリング可否情報の内容を変更することを特徴とする請求項に記載の印刷装置。
The controller is
4. The printing apparatus according to claim 3 , wherein a control command instructing a change in the content of the pairing availability information is received, and the content of the pairing availability information is changed based on the received control command. .
ペアリング要求を行う外部装置と、
記録媒体に印刷を実行する印刷部、無線通信する無線通信部、及び、ペアリングが完了した前記外部装置から無線通信で受信した印刷データに基づいて前記印刷部を制御する制御部と、を有し、
前記制御部は、前記外部装置からペアリング要求があった場合、前記外部装置を識別する識別情報を取得し、前記印刷部を制御して、前記識別情報を印刷させ、前記外部装置とのペアリングを許可するか否かの入力を受け付け、入力に基づいてペアリングを行うか否かを判別する印刷装置と、
を備えることを特徴とする印刷システム。
An external device that makes a pairing request;
A printing unit that performs printing on a recording medium, a wireless communication unit that performs wireless communication, and a control unit that controls the printing unit based on print data received by wireless communication from the external device that has been paired. And
When there is a pairing request from the external device, the control unit acquires identification information for identifying the external device , controls the printing unit to print the identification information, and performs pairing with the external device. A printing apparatus that accepts an input as to whether or not to permit ringing, and determines whether or not to perform pairing based on the input ;
A printing system comprising:
ペアリングが完了した外部装置から無線通信で受信した印刷データに基づいて印刷を実行する印刷装置の制御方法であって、
前記外部装置からペアリング要求があった場合、前記外部装置を識別する識別情報を取得し、前記印刷部を制御して、前記識別情報を印刷させ、前記外部装置とのペアリングを許可するか否かの入力を受け付け、入力に基づいてペアリングを行うか否かを判別する、ことを特徴とする印刷装置の制御方法。
A control method for a printing apparatus that executes printing based on print data received by wireless communication from an external apparatus that has completed pairing,
Whether there is a pairing request from the external device, acquires identification information for identifying the external device , controls the printing unit to print the identification information, and permits pairing with the external device. A control method for a printing apparatus, which receives an input of whether or not and determines whether or not to perform pairing based on the input .
JP2014245605A 2014-12-04 2014-12-04 Printing apparatus, printing system, and printing apparatus control method Active JP6405956B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014245605A JP6405956B2 (en) 2014-12-04 2014-12-04 Printing apparatus, printing system, and printing apparatus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014245605A JP6405956B2 (en) 2014-12-04 2014-12-04 Printing apparatus, printing system, and printing apparatus control method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018174992A Division JP2019018577A (en) 2018-09-19 2018-09-19 Printing device, printing system, and control method for printing device

Publications (2)

Publication Number Publication Date
JP2016107458A JP2016107458A (en) 2016-06-20
JP6405956B2 true JP6405956B2 (en) 2018-10-17

Family

ID=56122841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014245605A Active JP6405956B2 (en) 2014-12-04 2014-12-04 Printing apparatus, printing system, and printing apparatus control method

Country Status (1)

Country Link
JP (1) JP6405956B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019018577A (en) * 2018-09-19 2019-02-07 セイコーエプソン株式会社 Printing device, printing system, and control method for printing device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004139295A (en) * 2002-10-17 2004-05-13 Seiko Epson Corp Communication equipment holding authentication key for authenticating connection to other communication equipment
JP4058557B2 (en) * 2004-02-27 2008-03-12 株式会社デンソーウェーブ Wireless communication system and wireless communication relay device
JP4767332B2 (en) * 2009-03-13 2011-09-07 シャープ株式会社 Information processing system and image forming system
US8666313B2 (en) * 2011-07-29 2014-03-04 Motorola Solutions, Inc. Pairing devices using data exchanged in an out-of-band channel
JP2013117834A (en) * 2011-12-02 2013-06-13 Canon Inc Information processing apparatus, method for controlling the same, and control program

Also Published As

Publication number Publication date
JP2016107458A (en) 2016-06-20

Similar Documents

Publication Publication Date Title
JP6488865B2 (en) Printing apparatus, printing apparatus control method, and storage medium
US20130321864A1 (en) Control device, control method of a control device, and recording medium storing a program executed by a control unit of the control device
WO2015151510A1 (en) Pos terminal, pos system, and method for controlling pos terminal
JP2013080300A (en) Image recording device, image recording system, and program
JP6106984B2 (en) Printing apparatus, control system, printing apparatus control method, program, and control system control method
JP2016148975A (en) Control device, control system and control method of control device
JP6405956B2 (en) Printing apparatus, printing system, and printing apparatus control method
JP6432231B2 (en) Wireless communication setting method, wireless communication system, and recording apparatus
JP2019018577A (en) Printing device, printing system, and control method for printing device
JP2016171490A (en) Information processing device, communication system, and method for controlling information processing device
JP6822180B2 (en) Printing device, control method of printing device, and communication system
US11632486B2 (en) Printing device, and control method of a printing device, that is paired with an external device using bluetooth
JP6658318B2 (en) System, image forming apparatus, and server
CN107408083B (en) Device control apparatus, communication system, and method for controlling device control apparatus
JP6446812B2 (en) POS system and control method of POS system
JP2016152430A (en) Terminal device, setting system, and setting method
JP2017156855A (en) Receipt issuing device, control method, and program
JP2020155018A (en) Interaction support device and program
JP2019117531A (en) Printer program, terminal, and method of controlling terminal
JP6326924B2 (en) POS system and control method of POS system
JP2022126123A (en) Printing apparatus and method of controlling the same
JP2017028470A (en) System for reading document from portable terminal
JP2022134789A (en) Printing system, terminal device, printer, and method for controlling terminal device
JP6123656B2 (en) Verification system
JP2005165601A (en) Printer and authentication method for performing wireless connection to printer

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160623

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180731

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180731

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180809

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180903

R150 Certificate of patent or registration of utility model

Ref document number: 6405956

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150