JP2018103525A - Printer - Google Patents

Printer Download PDF

Info

Publication number
JP2018103525A
JP2018103525A JP2016254008A JP2016254008A JP2018103525A JP 2018103525 A JP2018103525 A JP 2018103525A JP 2016254008 A JP2016254008 A JP 2016254008A JP 2016254008 A JP2016254008 A JP 2016254008A JP 2018103525 A JP2018103525 A JP 2018103525A
Authority
JP
Japan
Prior art keywords
printer
distance
target data
terminal device
received
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.)
Granted
Application number
JP2016254008A
Other languages
Japanese (ja)
Other versions
JP6926471B2 (en
Inventor
宗久 松田
Munehisa Matsuda
宗久 松田
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2016254008A priority Critical patent/JP6926471B2/en
Publication of JP2018103525A publication Critical patent/JP2018103525A/en
Application granted granted Critical
Publication of JP6926471B2 publication Critical patent/JP6926471B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a printer that can achieve secure printing without input of a password into the printer by a user.SOLUTION: The printer receives first target data from a first terminal device and memorizes the first target data in a memory. The printer, when receiving a first specific signal from the first terminal device after the first target data is memorized in the memory, determines whether or not an inter-device distance between the printer and the first terminal device is equal to a first prescribed distance or less using first received radio waves of the first specific signal. The printer, when determining that the inter-device distance is equal to the first prescribed distance or less, makes a printing executing part to execute printing according to the first target data, and when determining that the inter-device distance is not equal to the first prescribed distance or less, does not make the printing executing part to execute the printing according to the first target data.SELECTED DRAWING: Figure 3

Description

本明細書では、端末装置から対象データを受信し、対象データに従った印刷を実行するプリンタを開示する。   The present specification discloses a printer that receives target data from a terminal device and executes printing according to the target data.

特許文献1には、いわゆるセキュア印刷を実行可能な画像形成装置が開示されている。画像形成装置は、パソコンから画像ファイルと当該画像ファイルを印刷するためのパスワードとを受信し、画像ファイルとパスワードとを記憶する。画像形成装置は、記憶済みのパスワードに一致するパスワードがユーザによって画像形成装置に入力される場合に、記憶済みの画像ファイルに従った印刷を実行する。従って、ユーザとは異なる第三者によって印刷物が取得されるのを抑制することができ、セキュア印刷を実現することができる。   Patent Document 1 discloses an image forming apparatus capable of performing so-called secure printing. The image forming apparatus receives an image file and a password for printing the image file from a personal computer, and stores the image file and the password. The image forming apparatus executes printing according to the stored image file when a password that matches the stored password is input to the image forming apparatus by the user. Therefore, it is possible to suppress the acquisition of the printed matter by a third party different from the user, and secure printing can be realized.

特開平11−45034号公報Japanese Patent Laid-Open No. 11-45034 特開2016−151950号公報Japanese Patent Laid-Open No. 2006-151950

上記の技術では、ユーザは、画像ファイルがプリンタに記憶された後に、画像形成装置に近づいてパスワードをプリンタに入力しなければならない。本明細書では、ユーザがプリンタにパスワードを入力しなくても、セキュア印刷を実現することができるプリンタを開示する。   In the above technique, the user must approach the image forming apparatus and input a password to the printer after the image file is stored in the printer. The present specification discloses a printer capable of realizing secure printing without a user entering a password in the printer.

本明細書によって開示されるプリンタは、印刷実行部と、メモリと、第1の端末装置から第1の対象データを受信する第1のデータ受信部と、前記第1の対象データを前記メモリに記憶させる第1の記憶制御部と、前記第1の対象データが前記メモリに記憶された後に、前記第1の端末装置から第1の特定信号が受信される場合に、前記第1の特定信号の第1の受信電波強度を利用して、前記プリンタと前記第1の端末装置との間のデバイス間距離が第1の所定距離以下であるのか否かを判断する第1の判断部と、前記デバイス間距離が前記第1の所定距離以下であると判断される場合に、前記第1の対象データに従った印刷を前記印刷実行部に実行させ、前記デバイス間距離が前記第1の所定距離以下でないと判断される場合に、前記第1の対象データに従った印刷を前記印刷実行部に実行させない第1の印刷制御部と、を備えていてもよい。   The printer disclosed in this specification includes a print execution unit, a memory, a first data receiving unit that receives first target data from a first terminal device, and the first target data in the memory. The first storage control unit to be stored and the first specific signal when the first specific signal is received from the first terminal device after the first target data is stored in the memory A first determination unit that determines whether an inter-device distance between the printer and the first terminal device is equal to or less than a first predetermined distance using the first received radio wave intensity; When it is determined that the inter-device distance is equal to or less than the first predetermined distance, the printing execution unit is caused to execute printing according to the first target data, and the inter-device distance is the first predetermined distance. When it is determined that the distance is not less than the distance, the first A first printing control unit not to execute the printing according to the object data to the print performing unit may include a.

上記の構成によると、プリンタは、第1の対象データを記憶した後に、第1の端末装置から受信される第1の特定信号の第1の受信電波強度を利用して、デバイス間距離が第1の所定距離以下であるのか否かを判断する。プリンタは、デバイス間距離が第1の所定距離以下であると判断する場合、即ち、第1の端末装置のユーザがプリンタに比較的に近い場合には、第1の対象データに従った印刷を実行する。一方、プリンタは、デバイス間距離が第1の所定距離以下でないと判断する場合、即ち、第1の端末装置のユーザがプリンタから比較的に遠い場合には、第1の対象データに従った印刷を実行しない。従って、プリンタは、ユーザがプリンタにパスワードを入力しなくても、セキュア印刷を実現することができる。   According to the above configuration, after storing the first target data, the printer uses the first received radio wave intensity of the first specific signal received from the first terminal device to set the inter-device distance to the first. It is determined whether or not the distance is equal to or less than one predetermined distance. When the printer determines that the distance between the devices is equal to or less than the first predetermined distance, that is, when the user of the first terminal device is relatively close to the printer, the printer performs printing according to the first target data. Run. On the other hand, when the printer determines that the distance between the devices is not equal to or less than the first predetermined distance, that is, when the user of the first terminal device is relatively far from the printer, printing according to the first target data is performed. Do not execute. Therefore, the printer can realize secure printing without the user inputting a password to the printer.

上記のプリンタを実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。また、上記のプリンタと第1の端末装置とを備える通信システムも、新規で有用である。   A control method, a computer program, and a computer-readable recording medium storing the computer program for realizing the printer are also novel and useful. A communication system including the printer and the first terminal device is also new and useful.

通信システムの構成を示す。1 shows a configuration of a communication system. プリンタの第1の監視処理のフローチャートを示す。2 shows a flowchart of a first monitoring process of a printer. プリンタの第2の監視処理のフローチャートを示す。6 shows a flowchart of a second monitoring process of the printer. プリンタが記憶モードで動作して記憶印刷を実行するケースのシーケンス図を示す。FIG. 5 shows a sequence diagram of a case where the printer operates in the storage mode and executes storage printing. 図4の続きのシーケンス図を示す。FIG. 5 shows a sequence diagram continued from FIG. 4. プリンタが通常モードで動作して記憶印刷を実行するケースのシーケンス図を示す。FIG. 5 shows a sequence diagram of a case where a printer operates in a normal mode and executes storage printing. プリンタが通常モードで動作して通常印刷を実行するケースのシーケンス図を示す。FIG. 5 shows a sequence diagram of a case where the printer operates in the normal mode and executes normal printing.

(通信システムの構成)
図1に示されるように、通信システムは、プリンタ10と、複数個の携帯端末100,200と、AP(Access Pointの略)300と、を備える。各デバイス10,100,200は、AP300を介して、Wi−Fi方式に従った無線通信(以下では「Wi−Fi通信」と呼ぶ)を実行可能である。また、各デバイス10,100,200は、Bluetooth方式(以下では「BT方式」と呼ぶ)に従った無線通信(以下では「BT通信」と呼ぶ)を実行可能である。
(Configuration of communication system)
As shown in FIG. 1, the communication system includes a printer 10, a plurality of portable terminals 100 and 200, and an AP (abbreviation for Access Point) 300. Each device 10, 100, 200 can execute wireless communication (hereinafter referred to as “Wi-Fi communication”) in accordance with the Wi-Fi system via the AP 300. Each device 10, 100, 200 can execute wireless communication (hereinafter referred to as “BT communication”) according to the Bluetooth method (hereinafter referred to as “BT method”).

(プリンタ10の構成)
プリンタ10は、印刷機能を実行可能な周辺機器(即ち携帯端末等の周辺機器)である。プリンタ10は、例えば、印刷サービスを提供するショップ等に設置される場合には、不特定の多数のユーザによって共用される。また、プリンタ10は、例えば、家庭内に設置される場合には、特定のユーザのみによって利用される。
(Configuration of Printer 10)
The printer 10 is a peripheral device that can execute a printing function (that is, a peripheral device such as a portable terminal). For example, when the printer 10 is installed in a shop that provides a printing service, the printer 10 is shared by an unspecified number of users. For example, when the printer 10 is installed in a home, the printer 10 is used only by a specific user.

プリンタ10は、操作部12と、表示部14と、印刷実行部16と、Wi−Fiインターフェース20と、BT(Bluetoothの略)インターフェース22と、制御部30と、を備える。各部12〜30は、バス線(符号省略)に接続されている。以下では、インターフェースのことを「I/F」と記載する。   The printer 10 includes an operation unit 12, a display unit 14, a print execution unit 16, a Wi-Fi interface 20, a BT (abbreviation for Bluetooth) interface 22, and a control unit 30. Each part 12-30 is connected to a bus line (reference number omitted). Hereinafter, the interface is described as “I / F”.

操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。   The operation unit 12 includes a plurality of keys. The user can input various instructions to the printer 10 by operating the operation unit 12. The display unit 14 is a display for displaying various information. The print execution unit 16 is a printing mechanism such as an inkjet method or a laser method.

Wi−FiI/F20は、Wi−Fi方式に従ったWi−Fi通信を実行するためのI/Fである。Wi−Fi方式は、例えば、IEEE(The Institute of Electrical and Electronics Engineers, Inc.の略)の802.11の規格、及び、それに準ずる規格(例えば、802.11a,11b,11g,11n等)に基づく無線通信方式である。   The Wi-Fi I / F 20 is an I / F for executing Wi-Fi communication according to the Wi-Fi scheme. The Wi-Fi system conforms to, for example, IEEE (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and standards (for example, 802.11a, 11b, 11g, 11n, etc.). Based wireless communication scheme.

BTI/F22は、BT方式に従ったBT通信を実行するためのI/Fである。Bluetooth方式は、例えば、IEEEの802.15.1の規格、及び、それに準ずる規格に基づく無線通信方式である。より具体的に言うと、BTI/F22は、BLE(Bluetooth(登録商標) Low Energyの略)をサポートしている。   The BTI / F 22 is an I / F for executing BT communication according to the BT method. The Bluetooth system is a wireless communication system based on, for example, the IEEE 802.15.1 standard and standards conforming thereto. More specifically, the BTI / F 22 supports BLE (abbreviation of Bluetooth (registered trademark) Low Energy).

Wi−Fi方式とBT方式との相違点を記述しておく。Wi−Fi通信の通信速度(例えば最大の通信速度が600[Mbps])は、BT通信の通信速度(例えば最大の通信速度が24[Mbps])よりも速い。Wi−Fi通信における搬送波の周波数は、2.4[GHz]帯又は5.0[GHz]帯である。BT通信における搬送波の周波数は、2.4[GHz]帯である。即ち、Wi−Fi通信における搬送波の周波数として5.0[GHz]帯が採用される場合には、Wi−Fi通信における搬送波の周波数とBT通信における搬送波の周波数とは異なる。また、Wi−Fi通信を実行可能な最大の距離(例えば約100[m])は、BT通信を実行可能な最大の距離(例えば約数十[m])よりも大きい。   Differences between the Wi-Fi system and the BT system will be described. The communication speed of Wi-Fi communication (for example, the maximum communication speed is 600 [Mbps]) is higher than the communication speed of BT communication (for example, the maximum communication speed is 24 [Mbps]). The frequency of the carrier wave in Wi-Fi communication is the 2.4 [GHz] band or the 5.0 [GHz] band. The frequency of the carrier wave in BT communication is the 2.4 [GHz] band. That is, when the 5.0 [GHz] band is adopted as the carrier frequency in Wi-Fi communication, the carrier frequency in Wi-Fi communication is different from the carrier frequency in BT communication. In addition, the maximum distance (for example, about 100 [m]) at which Wi-Fi communication can be performed is larger than the maximum distance (for example, about several tens [m]) at which BT communication can be performed.

制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に格納されているプログラム38に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ34は、さらに、モード情報40を格納する。モード情報40は、プリンタ10の動作モードが記憶モード及び通常モードのどちらであるのかを示す情報である。記憶モードは、携帯端末から受信される画像ファイルを記憶しておき、プリンタ10と携帯端末との間の距離が比較的に小さくなった際に、当該画像ファイルに従った印刷を実行する記憶印刷(即ちセキュア印刷)を実現するためのモードである。通常モードは、携帯端末から画像ファイルが受信されると、プリンタ10と携帯端末との間の距離に関わらず、当該画像ファイルに従った通常印刷を実行するためのモードである。プリンタ10の管理者は、プリンタ10が利用される状況に応じて、プリンタ10の動作モードを記憶モード及び通常モードのどちらかに設定する。例えば、プリンタ10が上記のショップ等に設置される場合には、不特定の多数のユーザによってプリンタ10が共用される。この場合、記憶印刷(即ちセキュア印刷)を実現するための記憶モードに設定され得る。また、例えば、プリンタ10が家庭内に設置される場合には、特定のユーザのみによってプリンタ10が利用される。この場合、セキュア印刷が必要ないと管理者によって判断される場合には、通常印刷を実現するための通常モードに設定され得る。メモリ34は、管理者によって設定される記憶モード又は通常モードを示すモード情報40を格納する。   The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to a program 38 stored in the memory 34. The memory 34 is configured by a volatile memory, a nonvolatile memory, or the like. The memory 34 further stores mode information 40. The mode information 40 is information indicating whether the operation mode of the printer 10 is the storage mode or the normal mode. The storage mode stores an image file received from the mobile terminal, and performs storage printing in accordance with the image file when the distance between the printer 10 and the mobile terminal becomes relatively small. This is a mode for realizing (that is, secure printing). The normal mode is a mode for executing normal printing according to the image file when an image file is received from the portable terminal, regardless of the distance between the printer 10 and the portable terminal. The administrator of the printer 10 sets the operation mode of the printer 10 to either the storage mode or the normal mode according to the situation where the printer 10 is used. For example, when the printer 10 is installed in the shop or the like, the printer 10 is shared by an unspecified number of users. In this case, a storage mode for realizing storage printing (that is, secure printing) can be set. For example, when the printer 10 is installed in a home, the printer 10 is used only by a specific user. In this case, if the administrator determines that secure printing is not necessary, the normal mode for realizing normal printing can be set. The memory 34 stores mode information 40 indicating a storage mode or a normal mode set by the administrator.

(携帯端末100,200の構成)
携帯端末100と携帯端末200とは同一の構成を有する。以下では、携帯端末100の構成を説明し、携帯端末200の構成の説明を省略する。携帯端末100は、例えば、携帯電話(例えばスマートフォン)、PDA、ノートPC、タブレットPC、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。携帯端末100は、操作部112と、表示部114と、Wi−FiI/F120と、BTI/F122と、制御部130と、を備える。各部112〜130は、バス線(符号省略)に接続されている。
(Configuration of mobile terminals 100 and 200)
The mobile terminal 100 and the mobile terminal 200 have the same configuration. Below, the structure of the portable terminal 100 is demonstrated and description of the structure of the portable terminal 200 is abbreviate | omitted. The mobile terminal 100 is, for example, a portable terminal device such as a mobile phone (for example, a smartphone), a PDA, a notebook PC, a tablet PC, a portable music playback device, and a portable video playback device. The mobile terminal 100 includes an operation unit 112, a display unit 114, a Wi-Fi I / F 120, a BTI / F 122, and a control unit 130. Each unit 112 to 130 is connected to a bus line (reference numeral omitted).

操作部112は、複数のキーを備える。ユーザは、操作部112を操作することによって、様々な指示を携帯端末100に入力することができる。表示部114は、様々な情報を表示するためのディスプレイである。表示部114は、いわゆるタッチパネルとしても機能する(即ち操作部としても機能する)。Wi−FiI/F120、BTI/F122は、それぞれ、プリンタ10のWi−FiI/F20、BTI/F22と同様である。   The operation unit 112 includes a plurality of keys. The user can input various instructions to the mobile terminal 100 by operating the operation unit 112. The display unit 114 is a display for displaying various information. The display unit 114 also functions as a so-called touch panel (that is, also functions as an operation unit). Wi-Fi I / F 120 and BTI / F 122 are the same as Wi-Fi I / F 20 and BTI / F 22 of printer 10, respectively.

制御部130は、CPU132とメモリ134とを備える。CPU132は、メモリ134に格納されているOSソフトウェア138に従って、様々な処理を実行する。メモリ134は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ134は、携帯端末100の基本的な動作を実現するためのOSソフトウェア138のみならず、印刷アプリケーション(以下では「印刷アプリ」と呼ぶ)140を格納する。印刷アプリ140は、プリンタ10に印刷機能を実行させるためのアプリケーションである。印刷アプリ140は、例えば、プリンタ10のベンダによって提供されるインターネット上のサーバから携帯端末100にインストールされてもよいし、プリンタ10と共に出荷されるメディアから携帯端末100にインストールされてもよい。   The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes according to the OS software 138 stored in the memory 134. The memory 134 is configured by a volatile memory, a nonvolatile memory, or the like. The memory 134 stores not only the OS software 138 for realizing the basic operation of the mobile terminal 100 but also a print application (hereinafter referred to as “print application”) 140. The print application 140 is an application for causing the printer 10 to execute a print function. For example, the print application 140 may be installed in the mobile terminal 100 from a server on the Internet provided by the vendor of the printer 10, or may be installed in the mobile terminal 100 from a medium shipped with the printer 10.

(プリンタの第1の監視処理;図2)
図2を参照して、プリンタ10のCPU32がプログラム38に従って実行する第1の監視処理の内容を説明する。第1の監視処理は、プリンタ10の電源がONされることをトリガとして開始される。
(First monitoring process of printer; FIG. 2)
With reference to FIG. 2, the contents of the first monitoring process executed by the CPU 32 of the printer 10 according to the program 38 will be described. The first monitoring process is started when the printer 10 is turned on.

S3では、CPU32は、Wi−FiI/F20を介して、プリンタを検索するためのプリンタ検索信号を携帯端末から受信することを監視する。CPU32は、携帯端末からプリンタ検索信号を受信する場合(S3でYES)に、S5において、Wi−FiI/F20を介して、プリンタIDを携帯端末に送信する。プリンタIDは、プリンタ10を識別するための識別情報(例えば、プリンタ名、IPアドレス、MACアドレス等)であり、メモリ34に予め記憶されている。   In S <b> 3, the CPU 32 monitors whether a printer search signal for searching for a printer is received from the portable terminal via the Wi-Fi I / F 20. When receiving the printer search signal from the mobile terminal (YES in S3), the CPU 32 transmits the printer ID to the mobile terminal via the Wi-Fi I / F 20 in S5. The printer ID is identification information (for example, a printer name, an IP address, a MAC address, etc.) for identifying the printer 10 and is stored in the memory 34 in advance.

S8では、CPU32は、Wi−FiI/F20を介して、携帯端末からジョブIDを要求するためのジョブID要求を受信することを監視する。ジョブID要求は、携帯端末のユーザによって指定された印刷設定を含む。印刷設定は、例えば、印刷用紙のサイズ(即ち用紙サイズ)、両面印刷の実行の有無、色数(即ち、モノクロ印刷、カラー印刷)等を含む。CPU32は、携帯端末からジョブID要求を受信する場合(S8でYES)に、S10において、ジョブIDを生成する。ジョブIDは、印刷ジョブを特定するためのユニークな情報である。以下では、ジョブID要求の送信元の携帯端末のことを「対象携帯端末」と呼ぶ。S10が終了すると、S13に進む。   In S8, the CPU 32 monitors whether a job ID request for requesting a job ID is received from the portable terminal via the Wi-Fi I / F 20. The job ID request includes print settings specified by the user of the mobile terminal. The print settings include, for example, the size of the printing paper (that is, the paper size), whether double-sided printing is performed, the number of colors (that is, monochrome printing, color printing), and the like. When receiving a job ID request from the portable terminal (YES in S8), the CPU 32 generates a job ID in S10. The job ID is unique information for specifying a print job. Hereinafter, the mobile terminal that has transmitted the job ID request is referred to as a “target mobile terminal”. When S10 ends, the process proceeds to S13.

S13では、CPU32は、メモリ34内のモード情報40を利用して、プリンタ10の動作モードが記憶モードであるのか否かを判断する。CPU32は、プリンタ10の動作モードが記憶モードであると判断する場合(S13でYES)に、S15に進み、プリンタ10の動作モードが通常モードであると判断する場合(S13でNO)に、S23に進む。   In S13, the CPU 32 uses the mode information 40 in the memory 34 to determine whether the operation mode of the printer 10 is the storage mode. When determining that the operation mode of the printer 10 is the storage mode (YES in S13), the CPU 32 proceeds to S15, and when determining that the operation mode of the printer 10 is the normal mode (NO in S13), the CPU 32 proceeds to S23. Proceed to

S15では、CPU32は、S10で生成されたジョブIDによって特定される印刷ジョブのステータスを「pending-held」に設定する。ステータス「pending-held」は、プリンタ10が記憶印刷を実行することを示すステータスである。   In S15, the CPU 32 sets the status of the print job specified by the job ID generated in S10 to “pending-held”. The status “pending-held” is a status indicating that the printer 10 executes storage printing.

S20では、CPU32は、Wi−FiI/F20を介して、生成済みのジョブIDと設定済みのステータス「pending-held」とを対象携帯端末に送信する。S20が終了すると、S35に進む。   In S20, the CPU 32 transmits the generated job ID and the set status “pending-held” to the target mobile terminal via the Wi-Fi I / F 20. When S20 ends, the process proceeds to S35.

一方、S23では、CPU32は、ステータスを「pending」に設定する。ステータス「pending」は、プリンタ10が通常印刷を実行することを示すステータスである。   On the other hand, in S23, the CPU 32 sets the status to “pending”. The status “pending” is a status indicating that the printer 10 performs normal printing.

S25では、CPU32は、Wi−FiI/F20を介して、生成済みのジョブIDと設定済みのステータス「pending」とを対象携帯端末に送信する。   In S25, the CPU 32 transmits the generated job ID and the set status “pending” to the target mobile terminal via the Wi-Fi I / F 20.

S28では、CPU32は、Wi−FiI/F20を介して、対象携帯端末からジョブIDを含む待機指示を受信することを監視する。待機指示は、設定済みのステータスを「pending」から「pending-held」に変更することを指示するためのコマンドである。即ち、通常印刷を実行しようとしているプリンタ10に記憶印刷を実行させるための指示である。CPU32は、対象携帯端末から待機指示を受信する場合(S28でYES)に、S30において、S23で設定されたステータスを「pending」から「pending-held」に変更する。これにより、CPU32は、通常モードで動作しているにも関わらず、記憶印刷を実行することができる。S30が終了すると、S35に進む。また、CPU32は、S25でジョブID等を対象携帯端末に送信してから所定時間が経過するまでの間に、対象携帯端末から待機指示を受信しない場合に、S28でNOと判断して、S45に進む。   In S <b> 28, the CPU 32 monitors whether a standby instruction including a job ID is received from the target mobile terminal via the Wi-Fi I / F 20. The standby instruction is a command for instructing to change the set status from “pending” to “pending-held”. That is, it is an instruction for causing the printer 10 that is to execute normal printing to execute stored printing. When receiving a standby instruction from the target portable terminal (YES in S28), the CPU 32 changes the status set in S23 from “pending” to “pending-held” in S30. As a result, the CPU 32 can execute the storage printing despite the operation in the normal mode. When S30 ends, the process proceeds to S35. In addition, when the CPU 32 does not receive a standby instruction from the target portable terminal until the predetermined time elapses after the job ID is transmitted to the target portable terminal in S25, the CPU 32 determines NO in S28, and S45. Proceed to

CPU32は、S35において、Wi−FiI/F20を介して、対象携帯端末から画像ファイルを受信し、S38において、受信済みの画像ファイルをメモリ34に記憶させる。この際に、CPU32は、S10で生成されたジョブIDと、ステータス「pending-held」と、画像ファイルと、S8で受信された印刷設定と、が関連付けられている印刷ジョブをメモリ34に記憶させる。   The CPU 32 receives the image file from the target portable terminal via the Wi-Fi I / F 20 in S35, and stores the received image file in the memory 34 in S38. At this time, the CPU 32 stores in the memory 34 a print job in which the job ID generated in S10, the status “pending-held”, the image file, and the print setting received in S8 are associated. .

S40では、CPU32は、メモリ34内のBT監視フラグ(図示省略)が「0」であるのか否かを判断する。BT監視フラグは、図3の第2の監視処理を実行すべきことを示す「1」と、第2の監視処理を実行すべきでないことを示す「0」と、のどちらかの値を有するフラグである。CPU32は、BT監視フラグが「0」であると判断する場合(S40でYES)に、S43において、BT監視フラグを「0」から「1」に変更する。S43が終了すると、図2の処理が終了する。また、CPU32は、BT監視フラグが「0」でないと判断する場合(S40でNO)に、S43をスキップして、図2の処理を終了する。この場合、CPU32は、過去にS43の処理を実行し、BT監視フラグが「1」に変更済みである。   In S <b> 40, the CPU 32 determines whether or not a BT monitoring flag (not shown) in the memory 34 is “0”. The BT monitoring flag has either a value “1” indicating that the second monitoring process in FIG. 3 should be executed or “0” indicating that the second monitoring process should not be executed. Flag. When determining that the BT monitoring flag is “0” (YES in S40), the CPU 32 changes the BT monitoring flag from “0” to “1” in S43. When S43 ends, the process of FIG. 2 ends. When determining that the BT monitoring flag is not “0” (NO in S40), the CPU 32 skips S43 and ends the process of FIG. In this case, the CPU 32 has executed the process of S43 in the past, and the BT monitoring flag has been changed to “1”.

BT監視フラグが「0」である状態では、BTI/F22への電力供給が実行されていない。この状態では、BTI/F22は、外部から信号を受信することができない。CPU32は、S43でBT監視フラグを「1」に変更すると、BTI/F22への電力供給を開始する。これにより、BTI/F22は、外部から信号を受信して、当該信号に関する情報を制御部30に供給することができる。なお、変形例では、CPU32は、BT監視フラグが「0」である状態において、BTI/F22への電力供給が実行されていてもよい。ただし、この場合、BTI/F22は、外部から信号を受信することができるが、当該信号に関する情報を制御部30に供給せずに、当該信号を破棄する。そして、CPU32は、S43でBT監視フラグを「1」に変更すると、その旨をBTI/F22に通知する。この結果、BTI/F22は、外部から信号を受信すると、当該信号に関する情報を制御部30に供給する状態に移行する。   In the state where the BT monitoring flag is “0”, power supply to the BTI / F 22 is not executed. In this state, the BTI / F 22 cannot receive a signal from the outside. When the CPU 32 changes the BT monitoring flag to “1” in S <b> 43, the CPU 32 starts supplying power to the BTI / F 22. Thereby, the BTI / F 22 can receive a signal from the outside and supply information related to the signal to the control unit 30. In the modification, the CPU 32 may execute power supply to the BTI / F 22 in a state where the BT monitoring flag is “0”. However, in this case, the BTI / F 22 can receive a signal from the outside, but discards the signal without supplying information related to the signal to the control unit 30. Then, when the CPU 32 changes the BT monitoring flag to “1” in S43, the CPU 32 notifies the BTI / F 22 to that effect. As a result, when the BTI / F 22 receives a signal from the outside, the BTI / F 22 shifts to a state of supplying information related to the signal to the control unit 30.

S45では、CPU32は、Wi−FiI/F20を介して、対象携帯端末から画像ファイルを受信する。図示省略しているが、この際に、CPU32は、ステータス「pending」を利用する点を除いてS38と同様に、印刷ジョブをメモリ34に記憶させる。   In S45, the CPU 32 receives an image file from the target portable terminal via the Wi-Fi I / F 20. Although not shown, at this time, the CPU 32 stores the print job in the memory 34 as in S38 except that the status “pending” is used.

S47では、CPU32は、S23で設定されたステータスを「pending」から「processing」に変更する。ステータス「processing」は、画像ファイルに従った印刷を実行中であることを示すステータスである。   In S47, the CPU 32 changes the status set in S23 from “pending” to “processing”. The status “processing” is a status indicating that printing according to the image file is being executed.

S48では、CPU32は、印刷ジョブに含まれる画像ファイルに従った印刷を印刷実行部16に実行させる。具体的には、CPU32は、まず、印刷実行部16のハードウェアの動作を開始させる印刷準備を開始させる。例えば、印刷実行部16がレーザ方式の印刷機構を備える場合には、CPU32は、定着器への電力供給を開始して、定着器を駆動させる。また、例えば、印刷実行部16がインクジェット方式の印刷機構を備える場合には、CPU32は、インクジェットヘッドを待機位置から所定の印刷開始位置まで移動させる。次いで、CPU32は、印刷ジョブに含まれる印刷設定に従って画像ファイルを変換して、印刷実行部16が解釈可能なデータ形式を有する印刷データを生成する。上記の変換は、例えば、多階調(例えば256階調)のRGBビットマップデータを多階調のCMYKビットマップデータに変換する色変換処理、多階調のCMYKビットマップデータを比較的に少ない階調(例えば2階調等)のCMYKビットマップデータに変換するハーフトーン処理等を含む。そして、CPU32は、印刷データを印刷実行部16に供給する。これにより、印刷実行部16において、印刷データによって表わされる画像、即ち、画像ファイルによって表わされる画像の印刷が開始される。   In S <b> 48, the CPU 32 causes the print execution unit 16 to execute printing according to the image file included in the print job. Specifically, the CPU 32 first starts a print preparation for starting the hardware operation of the print execution unit 16. For example, when the print execution unit 16 includes a laser-type printing mechanism, the CPU 32 starts supplying power to the fixing device and drives the fixing device. For example, when the print execution unit 16 includes an inkjet printing mechanism, the CPU 32 moves the inkjet head from the standby position to a predetermined print start position. Next, the CPU 32 converts the image file in accordance with the print settings included in the print job, and generates print data having a data format that can be interpreted by the print execution unit 16. The above conversion is, for example, a color conversion process for converting multi-gradation (for example, 256 gradations) RGB bitmap data into multi-gradation CMYK bitmap data, and relatively few multi-gradation CMYK bitmap data. Including halftone processing for converting to CMYK bitmap data of gradation (for example, two gradations). Then, the CPU 32 supplies print data to the print execution unit 16. As a result, the print execution unit 16 starts printing the image represented by the print data, that is, the image represented by the image file.

CPU32は、印刷実行部16から印刷が完了したことを示す通知を受信すると、S50において、S47で変更されたステータスを「processing」から「complete」に変更する。ステータス「complete」は、画像ファイルに従った印刷を完了したことを示すステータスである。S50が終了すると、図2の処理が終了する。   When the CPU 32 receives a notification indicating that the printing is completed from the print execution unit 16, the CPU 32 changes the status changed in S47 from “processing” to “complete” in S50. The status “complete” is a status indicating that printing according to the image file has been completed. When S50 ends, the process of FIG. 2 ends.

(プリンタの第2の監視処理;図3)
続いて、図3を参照して、プリンタ10のCPU32がプログラム38に従って実行する第2の監視処理の内容を説明する。CPU32は、図2のS43でBT監視フラグが「1」に変更されたことをトリガとして図3の処理を実行する。
(Second monitoring process of the printer; FIG. 3)
Next, the contents of the second monitoring process executed by the CPU 32 of the printer 10 according to the program 38 will be described with reference to FIG. The CPU 32 executes the process of FIG. 3 triggered by the change of the BT monitoring flag to “1” in S43 of FIG.

S100では、CPU32は、BTI/F22を介して、携帯端末からプリンタIDとジョブIDとを含むBeacon信号を受信することを監視する。CPU32は、Beacon信号を受信する場合に、S100でYESと判断し、S105に進む。   In S100, the CPU 32 monitors whether a Beacon signal including a printer ID and a job ID is received from the portable terminal via the BTI / F22. When receiving the Beacon signal, the CPU 32 determines YES in S100, and proceeds to S105.

S105では、CPU32は、受信済みのBeacon信号内のプリンタIDと、メモリ34に記憶されているプリンタ10のプリンタIDと、が一致するのか否かを判断する。CPU32は、2個のプリンタIDが一致すると判断する場合(S105でYES)に、S115に進む。この場合、受信済みのBeacon信号の送信元の携帯端末は、図2のS8のジョブID要求の送信元の携帯端末(即ち対象携帯端末)である。一方、CPU32は、2個のプリンタIDが一致しないと判断する場合(S105でNO)に、S100に戻る。この場合、受信済みのBeacon信号の送信元である携帯端末は、対象携帯端末とは異なる携帯端末であるので、S115以降の処理が実行されず、この結果、処理負荷を軽減することができる。   In S <b> 105, the CPU 32 determines whether or not the printer ID in the received Beacon signal matches the printer ID of the printer 10 stored in the memory 34. If the CPU 32 determines that the two printer IDs match (YES in S105), the process proceeds to S115. In this case, the mobile terminal that has transmitted the received Beacon signal is the mobile terminal (that is, the target mobile terminal) that has transmitted the job ID request in S8 of FIG. On the other hand, when the CPU 32 determines that the two printer IDs do not match (NO in S105), the CPU 32 returns to S100. In this case, since the mobile terminal that is the transmission source of the received Beacon signal is a mobile terminal that is different from the target mobile terminal, the processing after S115 is not executed, and as a result, the processing load can be reduced.

S115では、CPU32は、プリンタ10と対象携帯端末との間の距離を算出する。具体的には、まず、CPU32は、Beacon信号内に記述されている送信電波強度を特定する。送信電波強度は、Beacon信号の送信時における搬送波の電波強度である。より詳細には、送信電波強度は、Beacon信号の送信元である対象携帯端末から1m離れた地点で測定される搬送波の受信電波強度に等しい。携帯端末のベンダは、携帯端末から1m離れた地点で測定される搬送波の受信電波強度を予め測定しておき、測定済みの受信電波強度が送信電波強度としてBeacon信号内に記述されるように、携帯端末を調整しておく。次いで、CPU32は、BTI/F22から、Beacon信号の受信時における搬送波の電波強度である受信電波強度を取得する。そして、CPU32は、特定済みの送信電波強度と取得済みの受信電波強度とをS115に示される数式に代入して、プリンタ10と対象携帯端末との間の距離を算出する。   In S115, the CPU 32 calculates the distance between the printer 10 and the target mobile terminal. Specifically, first, the CPU 32 specifies the transmission radio wave intensity described in the Beacon signal. The transmission radio wave intensity is the radio wave intensity of the carrier wave when transmitting the Beacon signal. More specifically, the transmission radio wave intensity is equal to the reception radio wave intensity of the carrier wave measured at a point 1 m away from the target mobile terminal that is the transmission source of the Beacon signal. The vendor of the mobile terminal measures in advance the received radio wave intensity of the carrier wave measured at a point 1 m away from the mobile terminal, and the measured received radio wave intensity is described in the Beacon signal as the transmitted radio wave intensity. Adjust your mobile device. Next, the CPU 32 acquires, from the BTI / F 22, a received radio wave intensity that is a radio wave intensity of the carrier wave when receiving the Beacon signal. Then, the CPU 32 calculates the distance between the printer 10 and the target portable terminal by substituting the specified transmission radio wave intensity and the acquired reception radio wave intensity into the mathematical formula shown in S115.

S120では、CPU32は、算出済みの距離と2個の所定距離D1,D2とを比較する。所定距離D1は、比較的に小さな値(例えば1m)に設定され、所定距離D2は、比較的に大きな値(例えば10m)、即ち、所定距離D1よりも大きい値に設定されている。CPU32は、算出済みの距離が所定距離D2よりも大きいと判断する場合(S120で「携帯端末との距離>D2」)に、S100に戻る。また、CPU32は、算出済みの距離が所定距離D2以下かつ所定距離D1よりも大きいと判断する場合(S120で「D1<携帯端末との距離≦D2」)に、S125に進む。また、CPU32は、算出済みの距離が所定距離D1以下であると判断する場合(S20で「携帯端末との距離≦D1」)に、S135に進む。   In S120, the CPU 32 compares the calculated distance with the two predetermined distances D1 and D2. The predetermined distance D1 is set to a relatively small value (for example, 1 m), and the predetermined distance D2 is set to a relatively large value (for example, 10 m), that is, a value that is larger than the predetermined distance D1. If the CPU 32 determines that the calculated distance is greater than the predetermined distance D2 (“distance with portable terminal> D2” in S120), the CPU 32 returns to S100. If the CPU 32 determines that the calculated distance is equal to or less than the predetermined distance D2 and greater than the predetermined distance D1 (“D1 <distance with portable terminal ≦ D2” in S120), the process proceeds to S125. When the CPU 32 determines that the calculated distance is equal to or less than the predetermined distance D1 (“distance with portable terminal ≦ D1” in S20), the CPU 32 proceeds to S135.

S125では、CPU32は、メモリ34から、受信済みのBeacon信号内のジョブIDに関連付けられている画像ファイルを取得する。   In S <b> 125, the CPU 32 acquires an image file associated with the job ID in the received Beacon signal from the memory 34.

S130では、CPU32は、印刷準備を実行する。ここで実行される印刷準備は、図2のS48で説明した印刷準備と同様であり、例えば、印刷実行部16のハードウェアを動作させること、及び、S125で取得された画像ファイルを変換して印刷データを生成することを含む。特に、ここで生成される印刷データは、印刷ジョブに含まれるように、画像ファイルに代えてメモリ34に記憶される。即ち、印刷ジョブ内では、ジョブIDと印刷データとが関連付けられる。   In S130, the CPU 32 executes preparation for printing. The print preparation executed here is the same as the print preparation described in S48 of FIG. 2. For example, the hardware of the print execution unit 16 is operated, and the image file acquired in S125 is converted. Generating print data. In particular, the print data generated here is stored in the memory 34 instead of the image file so as to be included in the print job. That is, in the print job, the job ID and the print data are associated with each other.

一方、S135では、CPU32は、S100で受信されたジョブIDによって識別される印刷ジョブ内のステータスを「pending-held」から「processing」に変更する。   On the other hand, in S135, the CPU 32 changes the status in the print job identified by the job ID received in S100 from “pending-held” to “processing”.

上述したように、S130において、印刷ジョブにおいて、ジョブIDと印刷データとが関連付けられる。S140では、CPU32は、メモリ34から、S100で受信されたジョブIDに関連付けられている印刷データを取得する。   As described above, in S130, the job ID and the print data are associated with each other in the print job. In S140, the CPU 32 acquires the print data associated with the job ID received in S100 from the memory 34.

S145では、取得済みの印刷データを印刷実行部16に供給する。これにより、印刷実行部16において、印刷データによって表わされる画像の印刷が開始される。S150は、図2のS50と同様である。   In S145, the acquired print data is supplied to the print execution unit 16. As a result, the print execution unit 16 starts printing the image represented by the print data. S150 is the same as S50 of FIG.

S155では、CPU32は、メモリ34に記憶されている全ての印刷ジョブに含まれる全てのステータスが「complete」であるのか否かを判断する。CPU32は、いずれかの印刷ジョブに含まれるステータスが「complete」でないと判断する場合(S155でNO)に、S100に戻る。一方、CPU32は、全てのステータスが「complete」であると判断する場合(S155でYES)に、S160において、BT監視フラグを「1」から「0」に変更する。この際に、CPU32は、BTI/F22への電力供給を停止する。これにより、プリンタ10の消費電力を低減させることができる。S160が終了すると、図3の処理が終了する。   In S <b> 155, the CPU 32 determines whether all statuses included in all print jobs stored in the memory 34 are “complete”. If the CPU 32 determines that the status included in any of the print jobs is not “complete” (NO in S155), the CPU 32 returns to S100. On the other hand, when determining that all the statuses are “complete” (YES in S155), the CPU 32 changes the BT monitoring flag from “1” to “0” in S160. At this time, the CPU 32 stops power supply to the BTI / F 22. Thereby, the power consumption of the printer 10 can be reduced. When S160 ends, the process of FIG. 3 ends.

(具体的なケース;図4〜図7)
続いて、図4〜図7を参照して、図2及び図3の処理によって実現される具体的なケースを説明する。図4〜図7では、プリンタ10と各携帯端末100,200との間で実行されるWi−Fi通信、BT通信を、それぞれ、細線矢印、太線矢印で示す。
(Specific cases: Figs. 4 to 7)
Next, specific cases realized by the processes of FIGS. 2 and 3 will be described with reference to FIGS. 4 to 7, Wi-Fi communication and BT communication executed between the printer 10 and each of the mobile terminals 100 and 200 are indicated by thin line arrows and thick line arrows, respectively.

(記憶モードのケース;図4)
図4のケースでは、プリンタ10の動作モードは記憶モードに設定されている。T5では、携帯端末100のユーザは、印刷アプリ140を起動し、携帯端末100が所属しているWi−Fi方式のネットワークに所属している1個以上のプリンタを検索するための検索操作を実行する。T10では、携帯端末100は、プリンタ検索信号をブロードキャスト送信する。
(Memory mode case; Fig. 4)
In the case of FIG. 4, the operation mode of the printer 10 is set to the storage mode. In T5, the user of the mobile terminal 100 starts the print application 140 and executes a search operation for searching for one or more printers belonging to the Wi-Fi network to which the mobile terminal 100 belongs. To do. In T10, the mobile terminal 100 broadcasts a printer search signal.

プリンタ10は、T10において、携帯端末100からプリンタ検索信号を受信すると(図2のS3でYES)、T20において、プリンタIDを携帯端末100に送信する(S5)。   When the printer 10 receives a printer search signal from the portable terminal 100 at T10 (YES in S3 of FIG. 2), the printer 10 transmits a printer ID to the portable terminal 100 at T20 (S5).

携帯端末100は、T20において、プリンタ10からプリンタIDを受信すると、当該プリンタIDを含む選択画面を表示する。プリンタ10とは異なるプリンタがAP300に接続されている場合には、選択画面は、当該異なるプリンタのプリンタIDも含む。携帯端末100は、選択画面に含まれる1個以上のプリンタIDの中から、プリンタ10のプリンタIDを選択する操作を受け付けると、T30において、プリンタ10のプリンタIDを記憶する。次いで、T40では、携帯端末100のユーザは、画像ファイルF1と印刷設定PS1とを選択する。この際に、ユーザは、記憶印刷及び通常印刷のどちらかを選択することができ、本ケースでは、記憶印刷が選択される。そして、T50では、携帯端末100は、選択済みの印刷設定PS1を含むジョブID要求をプリンタ10に送信する。   When the portable terminal 100 receives a printer ID from the printer 10 at T20, the portable terminal 100 displays a selection screen including the printer ID. When a printer different from the printer 10 is connected to the AP 300, the selection screen also includes the printer ID of the different printer. When receiving an operation for selecting the printer ID of the printer 10 from one or more printer IDs included in the selection screen, the portable terminal 100 stores the printer ID of the printer 10 at T30. Next, at T40, the user of the mobile terminal 100 selects the image file F1 and the print setting PS1. At this time, the user can select either storage printing or normal printing, and in this case, storage printing is selected. In T50, the portable terminal 100 transmits a job ID request including the selected print setting PS1 to the printer 10.

プリンタ10は、T50において、携帯端末100からジョブID要求を受信すると(S8でYES)、T60において、ジョブID「X」を生成し(S10)、プリンタ10の動作モードが記憶モードであるので(S13でYES)、T65において、ジョブID「X」に関連付けられるステータスを「pending-held」に設定する(S15)。そして、T70において、プリンタ10は、ジョブID「X」とステータス「pending-held」とを携帯端末100に送信する(S20)。   When the printer 10 receives a job ID request from the portable terminal 100 at T50 (YES at S8), the printer 10 generates a job ID “X” at T60 (S10), and the operation mode of the printer 10 is the storage mode (S10). In S13, the status associated with the job ID “X” is set to “pending-held” (S15). In T70, the printer 10 transmits the job ID “X” and the status “pending-held” to the portable terminal 100 (S20).

携帯端末100は、T70において、プリンタ10からジョブID「X」等を受信すると、T80において、T40で選択された画像ファイルF1をプリンタ10に送信する。   When the portable terminal 100 receives a job ID “X” or the like from the printer 10 at T70, the portable terminal 100 transmits the image file F1 selected at T40 to the printer 10 at T80.

プリンタ10は、T80において、携帯端末100から画像ファイルF1を受信すると(S35)、T90において、ジョブID「X」とステータス「pending-held」と画像ファイルF1と印刷設定PS1とが関連付けられている印刷ジョブを記憶する。   When the printer 10 receives the image file F1 from the portable terminal 100 at T80 (S35), the job ID “X”, the status “pending-held”, the image file F1, and the print setting PS1 are associated with each other at T90. Store the print job.

携帯端末100は、プリンタ10に画像ファイルF1を送信した後に、T100において、T30で記憶されたプリンタIDと、T70で受信されたジョブID「X」と、を含むBeacon信号を送信することを繰り返す。   After transmitting the image file F1 to the printer 10, the portable terminal 100 repeatedly transmits a Beacon signal including the printer ID stored in T30 and the job ID “X” received in T70 in T100. .

一方、携帯端末100とは異なる携帯端末200もT5〜T30の同様の処理を実行する。T140〜T200は、画像ファイルF2、印刷設定PS2、及び、ジョブID「Y」が利用されることを除き、T50〜T100と同様である。これにより、プリンタ10は、ジョブID「X」によって識別される印刷ジョブ及びジョブID「Y」によって識別される印刷ジョブの双方を記憶している状態になる。   On the other hand, the portable terminal 200 different from the portable terminal 100 also executes the same processing from T5 to T30. T140 to T200 are the same as T50 to T100 except that the image file F2, the print setting PS2, and the job ID “Y” are used. As a result, the printer 10 stores both the print job identified by the job ID “X” and the print job identified by the job ID “Y”.

(図4の続きのケース;図5)
携帯端末100のユーザが、携帯端末100を持参した状態で、プリンタ10に近づいていく。これにより、プリンタ10は、図5のT300において、携帯端末100からプリンタIDとジョブID「X」とを含むBeacon信号を受信し(図3のS100でYES)、T310において、プリンタ10と携帯端末100との間の距離が所定距離D2以下かつ所定距離D1よりも大きいと判断する(S120で「D1<携帯端末との距離≦D2」)。この場合、T315では、プリンタ10は、印刷準備を実行する(S130)。具体的には、プリンタ10は、印刷実行部16のハードウェアの動作を開始させ、かつ、受信済みのBeacon信号内のジョブID「X」に関連付けられている画像ファイルF1を変換して印刷データを生成する。これにより、ジョブID「X」によって特定される印刷ジョブでは、画像ファイルF1に代えて印刷データが関連付けられる。このように、画像ファイルF1にジョブID「X」が関連付けられているので、プリンタ10は、ジョブID「X」を含むBeacon信号を受信することに応じて、画像ファイルF2ではなく画像ファイルF1を利用して印刷データを適切に生成することができる。
(Continued from Fig. 4; Fig. 5)
The user of the mobile terminal 100 approaches the printer 10 with the mobile terminal 100 brought. Accordingly, the printer 10 receives the Beacon signal including the printer ID and the job ID “X” from the portable terminal 100 at T300 in FIG. 5 (YES in S100 in FIG. 3). At T310, the printer 10 and the portable terminal It is determined that the distance to 100 is equal to or less than the predetermined distance D2 and larger than the predetermined distance D1 (“D1 <distance with portable terminal ≦ D2” in S120). In this case, in T315, the printer 10 prepares for printing (S130). Specifically, the printer 10 starts the hardware operation of the print execution unit 16, converts the image file F1 associated with the job ID “X” in the received Beacon signal, and print data Is generated. Thereby, in the print job specified by the job ID “X”, the print data is associated in place of the image file F1. As described above, since the job ID “X” is associated with the image file F1, the printer 10 receives not the image file F2 but the image file F1 in response to receiving the Beacon signal including the job ID “X”. It is possible to generate print data appropriately using this.

その後、携帯端末100のユーザが、携帯端末100を持参した状態で、プリンタ10にさらに近づいていく。これにより、プリンタ10は、T320において、携帯端末100からプリンタIDとジョブID「X」とを含むBeacon信号を受信し(図3のS100でYES)、T330において、プリンタ10と携帯端末100との間の距離が所定距離D1以下であると判断する(S120で「携帯端末との距離≦D1」)。この場合、プリンタ10は、T335において、受信済みのBeacon信号内のジョブID「X」に関連付けられているステータスを「pending-held」から「processing」に変更し(S135)、メモリ34からジョブID「X」に関連付けられている印刷データを取得し(S140)、T340において、取得済みの印刷データに従った印刷を実行する(S145)。このように、印刷データにジョブID「X」が関連付けられているので、プリンタ10は、ジョブID「X」を含むBeacon信号を受信することに応じて、当該印刷データに従った印刷を適切に実行することができる。そして、プリンタ10は、当該印刷が完了すると、T345において、ステータスを「processing」から「complete」に変更する(S150)。   Thereafter, the user of the mobile terminal 100 gets closer to the printer 10 with the mobile terminal 100 brought. As a result, the printer 10 receives the Beacon signal including the printer ID and the job ID “X” from the portable terminal 100 at T320 (YES in S100 of FIG. 3), and at T330, the printer 10 and the portable terminal 100 It is determined that the distance between them is equal to or less than the predetermined distance D1 (“distance with portable terminal ≦ D1” in S120). In this case, in T335, the printer 10 changes the status associated with the job ID “X” in the received Beacon signal from “pending-held” to “processing” (S135), and stores the job ID from the memory 34. Print data associated with “X” is acquired (S140), and printing according to the acquired print data is executed at T340 (S145). As described above, since the job ID “X” is associated with the print data, the printer 10 appropriately performs printing according to the print data in response to receiving the Beacon signal including the job ID “X”. Can be executed. When the printing is completed, the printer 10 changes the status from “processing” to “complete” in T345 (S150).

なお、T350に示されるように、携帯端末100は、T300,T320のBeacon信号の送信と同時的に、Wi−Fi通信を利用して、ジョブID「X」を含むステータス要求をプリンタ10に送信する。ステータス要求は、ジョブID「X」によって特定される印刷ジョブのステータスの送信を要求するためのコマンドである。そして、T360において、携帯端末100は、プリンタ10からジョブID「X」に関連付けられるステータス「complete」を受信する。携帯端末100は、プリンタ10からステータス「complete」を受信すると、T365において、Beacon信号の送信を停止する。これにより、印刷が完了した後に携帯端末100がBeacon信号の送信を繰り返し続けることが抑制されるので、携帯端末100の消費電力を低減させることができる。   As indicated by T350, the mobile terminal 100 transmits a status request including the job ID “X” to the printer 10 using Wi-Fi communication simultaneously with the transmission of the Beacon signal of T300 and T320. To do. The status request is a command for requesting transmission of the status of the print job specified by the job ID “X”. In T360, the mobile terminal 100 receives the status “complete” associated with the job ID “X” from the printer 10. When receiving the status “complete” from the printer 10, the portable terminal 100 stops transmitting the Beacon signal at T <b> 365. Thereby, since it is suppressed that the portable terminal 100 continues transmitting the Beacon signal after printing is completed, the power consumption of the portable terminal 100 can be reduced.

図4及び図5のケースに示されるように、プリンタ10は、記憶モードで動作する場合に、携帯端末100から画像ファイルF1を受信すると(図4のT80)、画像ファイルF1に従った印刷を即座に開始するのではなく、画像ファイルF1を記憶しておく(T90)。そして、プリンタ10は、携帯端末100からBeacon信号を受信し(図5のT320)、プリンタ10と携帯端末100との間の距離が所定距離D1以下であると判断する場合(T330)に、画像ファイルF1に従った印刷を実行する。一方、プリンタ10は、プリンタ10と携帯端末100との間の距離が所定距離D1以下でないと判断する場合に、画像ファイルF1に従った印刷を実行しない(図3のS120で「携帯端末との距離>D2」又は「D1<携帯端末との距離≦D2」)。これにより、プリンタ10は、ユーザがプリンタ10にパスワードを入力しなくても、セキュア印刷を実現することができる。   4 and 5, when the printer 10 receives the image file F1 from the portable terminal 100 when operating in the storage mode (T80 in FIG. 4), printing according to the image file F1 is performed. Instead of starting immediately, the image file F1 is stored (T90). The printer 10 receives the Beacon signal from the mobile terminal 100 (T320 in FIG. 5), and determines that the distance between the printer 10 and the mobile terminal 100 is equal to or less than the predetermined distance D1 (T330). Printing according to the file F1 is executed. On the other hand, when the printer 10 determines that the distance between the printer 10 and the portable terminal 100 is not equal to or less than the predetermined distance D1, the printer 10 does not execute printing in accordance with the image file F1 (in step S120 in FIG. Distance> D2 ”or“ D1 <Distance with portable terminal ≦ D2 ”). Accordingly, the printer 10 can realize secure printing without the user inputting a password to the printer 10.

また、プリンタ10は、プリンタ10と携帯端末100との間の距離が所定距離D2以下かつ所定距離D1よりも大きいと判断する場合に、印刷準備を実行する(T315)。これにより、プリンタ10は、プリンタ10と携帯端末100との間の距離が所定距離D1以下であると判断する場合に、印刷準備を完了しているので、印刷を迅速に実行することができる。このために、ユーザに迅速に印刷物を提供することができる。   In addition, when the printer 10 determines that the distance between the printer 10 and the portable terminal 100 is equal to or less than the predetermined distance D2 and greater than the predetermined distance D1, the printer 10 prepares for printing (T315). Accordingly, when the printer 10 determines that the distance between the printer 10 and the portable terminal 100 is equal to or less than the predetermined distance D1, the printer 10 has completed the preparation for printing, and thus can perform printing quickly. For this reason, a printed matter can be provided to the user quickly.

(通常印刷が選択されるケース)
なお、図示省略しているが、プリンタ10が記憶モードで動作しており、かつ、携帯端末100のユーザが図4のT40で記憶印刷に代えて通常印刷を選択するケースを説明する。この場合、プリンタ10は、図4及び図5のケースと同様に、T60〜T90を実行する。ただし、携帯端末100は、Beacon信号の送信(T100、図5のT300、T320等)を実行しない。
(When normal printing is selected)
Although not shown, a case will be described in which the printer 10 is operating in the storage mode and the user of the mobile terminal 100 selects normal printing instead of storage printing at T40 in FIG. In this case, the printer 10 executes T60 to T90 similarly to the cases of FIGS. However, the portable terminal 100 does not transmit a Beacon signal (T100, T300, T320, etc. in FIG. 5).

携帯端末100のユーザは、プリンタ10の操作部12を操作して、プリンタ10が現在記憶している印刷ジョブのリストを表示させる。そして、ユーザは、当該リストからジョブID「X」を選択する。この場合、プリンタ10は、T315,T335〜T345の処理を実行して、画像ファイルF1に従った印刷を実行する。   The user of the portable terminal 100 operates the operation unit 12 of the printer 10 to display a list of print jobs currently stored in the printer 10. Then, the user selects a job ID “X” from the list. In this case, the printer 10 executes the processes of T315, T335 to T345, and executes printing according to the image file F1.

(通常モードのケース;図6)
図6のケースでは、プリンタ10の動作モードは通常モードに設定されている。まず、図4のT5〜T60と同様の処理が実行される。即ち、プリンタ10が通常印刷を実行するための通常モードで動作しているにも関わらず、携帯端末100ではT40において記憶印刷が選択される。T400では、プリンタ10は、ジョブID「X」に関連付けられるステータスを「pending」に設定する(図2のS13でNO、S23)。T410では、プリンタ10は、ジョブID「X」とステータス「pending」とを携帯端末100に送信する(S25)。
(Normal mode case; Fig. 6)
In the case of FIG. 6, the operation mode of the printer 10 is set to the normal mode. First, the same processing as T5 to T60 in FIG. 4 is executed. That is, although the printer 10 is operating in the normal mode for executing normal printing, the portable terminal 100 selects storage printing at T40. In T400, the printer 10 sets the status associated with the job ID “X” to “pending” (NO in S13 of FIG. 2, S23). In T410, the printer 10 transmits the job ID “X” and the status “pending” to the portable terminal 100 (S25).

携帯端末100は、T420において、プリンタ10からジョブID「X」とステータス「pending」とを受信すると、T40で記憶印刷が選択されたので、T420において、記憶印刷をプリンタ10に実行させるための待機指示をプリンタ10に送信する。待機指示は、ジョブID「X」を含む。   When the portable terminal 100 receives the job ID “X” and the status “pending” from the printer 10 at T420, since the storage printing is selected at T40, the portable terminal 100 waits for the printer 10 to execute the storage printing at T420. An instruction is transmitted to the printer 10. The standby instruction includes a job ID “X”.

プリンタ10は、T420において、携帯端末100から待機指示を受信すると(S28でYES)、T430において、ステータスを「pending」から「pending-held」に変更する(S30)。T440、T450は、それぞれ、図4のT80、T90と同様である。その後、図5のT300〜T365と同様の処理が実行される。   When the printer 10 receives a standby instruction from the mobile terminal 100 at T420 (YES at S28), the printer 10 changes the status from “pending” to “pending-held” at S430 (S30). T440 and T450 are the same as T80 and T90 in FIG. 4, respectively. Thereafter, the same processing as T300 to T365 in FIG. 5 is executed.

図6のケースに示されるように、プリンタ10は、通常印刷を実行するための通常モードで動作している状況において、携帯端末100において記憶印刷が選択される場合(T40)には、携帯端末100から待機指示を受信し、この結果、記憶印刷を実行する。従って、プリンタ10は、携帯端末100のユーザの意図に応じて、記憶印刷(即ちセキュア印刷)を適切に実行することができる。   As shown in the case of FIG. 6, in the situation where the printer 10 is operating in the normal mode for executing normal printing and the storage printing is selected in the mobile terminal 100 (T40), the mobile terminal 100 A standby instruction is received from 100, and as a result, stored printing is executed. Therefore, the printer 10 can appropriately execute storage printing (that is, secure printing) according to the intention of the user of the mobile terminal 100.

(通常モードのケース;図7)
図7のケースでは、プリンタ10の動作モードは通常モードに設定されている。まず、図4のT5〜T30と同様である。T500では、携帯端末100のユーザは、画像ファイルF1と印刷設定PS1とを選択することに加えて、記憶印刷及び通常印刷のうちの通常印刷を選択する。この点が、図4及び図6のケースとは異なる。T510、T520は、それぞれ、図4のT50、T60と同様である。T525、T530は、それぞれ、図6のT400、T410と同様である。
(Normal mode case; Fig. 7)
In the case of FIG. 7, the operation mode of the printer 10 is set to the normal mode. First, it is the same as T5 to T30 in FIG. In T500, in addition to selecting the image file F1 and the print setting PS1, the user of the portable terminal 100 selects normal printing out of stored printing and normal printing. This point is different from the cases of FIGS. T510 and T520 are the same as T50 and T60 in FIG. 4, respectively. T525 and T530 are the same as T400 and T410 in FIG. 6, respectively.

携帯端末100は、T530において、プリンタ10からジョブID「X」とステータス「pending」とを受信すると、T500で通常印刷が選択されたので、待機指示をプリンタ10に送信することなく、T540において、画像ファイルF1をプリンタ10に送信する。この点が、図6のケースとは異なる。   When the portable terminal 100 receives the job ID “X” and the status “pending” from the printer 10 at T530, since normal printing is selected at T500, the mobile terminal 100 transmits the standby instruction to the printer 10 at T540. The image file F1 is transmitted to the printer 10. This is different from the case of FIG.

プリンタ10は、T540において、携帯端末100から画像ファイルF1を受信すると(図2のS45)、T550〜T560において、プリンタ10と携帯端末100との間の距離に関わらず、画像ファイルF1に従った印刷を実行する(S47〜S50)。   When the printer 10 receives the image file F1 from the portable terminal 100 at T540 (S45 in FIG. 2), the printer 10 follows the image file F1 at T550 to T560 regardless of the distance between the printer 10 and the portable terminal 100. Printing is executed (S47 to S50).

上述したように、図4及び図5のケースでは、プリンタ10は、記憶モードで動作する場合には、プリンタ10と携帯端末100との間の距離に応じて、画像ファイルF1に従ったセキュア印刷を実行する。一方、図7のケースに示されるように、プリンタ10は、通常モードで動作する場合には、プリンタ10と携帯端末100との間の距離に関わらず、画像ファイルF1に従った印刷を実行する(即ちセキュア印刷を実行しない)。プリンタ10は、自身の動作モードに応じて、セキュア印刷を実行するのか否かを適切に切り換えることができる。   As described above, in the case of FIGS. 4 and 5, when the printer 10 operates in the storage mode, the secure printing according to the image file F <b> 1 is performed according to the distance between the printer 10 and the portable terminal 100. Execute. On the other hand, as shown in the case of FIG. 7, when the printer 10 operates in the normal mode, the printer 10 executes printing according to the image file F1 regardless of the distance between the printer 10 and the portable terminal 100. (That is, secure printing is not executed). The printer 10 can appropriately switch whether or not to execute secure printing according to its own operation mode.

また、上述したように、図6のケースでは、プリンタ10は、携帯端末100から待機指示が受信される場合には、プリンタ10と携帯端末100との間の距離に応じて、画像ファイルF1に従ったセキュア印刷を実行する。一方、図7のケースに示されるように、プリンタ10は、携帯端末100から待機指示が受信されない場合には、プリンタ10と携帯端末100との間の距離に関わらず、画像ファイルF1に従った印刷を実行する(即ちセキュア印刷を実行しない)。プリンタ10は、携帯端末100から待機指示が受信されるのか否かに応じて、即ち、携帯端末100のユーザの意図に応じて、セキュア印刷を実行するのか否かを適切に切り換えることができる。   Further, as described above, in the case of FIG. 6, when the standby instruction is received from the mobile terminal 100, the printer 10 stores the image file F <b> 1 according to the distance between the printer 10 and the mobile terminal 100. Perform secure printing accordingly. On the other hand, as shown in the case of FIG. 7, when the standby instruction is not received from the mobile terminal 100, the printer 10 follows the image file F <b> 1 regardless of the distance between the printer 10 and the mobile terminal 100. Printing is performed (that is, secure printing is not performed). The printer 10 can appropriately switch whether to execute secure printing according to whether a standby instruction is received from the mobile terminal 100, that is, according to the intention of the user of the mobile terminal 100.

(対応関係)
携帯端末100,200が、それぞれ、「第1の端末装置」、「第2の端末装置」の一例である。画像ファイルF1,F2が、それぞれ「第1の対象データ」、「第2の対象データ」の一例である。図5のT320のBeacon信号、T300のBeacon信号が、それぞれ、「第1の特定信号」、「第2の特定信号」の一例である。所定距離D1,D2が、それぞれ、「第1の所定距離」、「第2の所定距離」の一例である。図3のS115で算出される距離が、「対象値」の一例である。ジョブID「X」、ジョブID「Y」、プリンタIDが、それぞれ、「第1の特定情報」、「第2の特定情報」、「識別情報」の一例である。記憶モード、通常モードが、それぞれ、「第1の動作モード」、「第2の動作モード」の一例である。Wi−FiI/F20、BTI/F22が、それぞれ、「第1の通信インターフェース」、「第2の通信インターフェース」の一例である。
(Correspondence)
The mobile terminals 100 and 200 are examples of “first terminal device” and “second terminal device”, respectively. The image files F1 and F2 are examples of “first target data” and “second target data”, respectively. The Beacon signal at T320 and the Beacon signal at T300 in FIG. 5 are examples of “first specific signal” and “second specific signal”, respectively. The predetermined distances D1 and D2 are examples of “first predetermined distance” and “second predetermined distance”, respectively. The distance calculated in S115 of FIG. 3 is an example of “target value”. The job ID “X”, job ID “Y”, and printer ID are examples of “first specific information”, “second specific information”, and “identification information”, respectively. The storage mode and the normal mode are examples of the “first operation mode” and the “second operation mode”, respectively. Wi-Fi I / F 20 and BTI / F 22 are examples of “first communication interface” and “second communication interface”, respectively.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. The modifications of the above embodiment are listed below.

(変形例1)携帯端末100の印刷アプリ140は、画像ファイルをプリンタ10が解釈可能なデータ形式を有する印刷データに変換するためのドライバプログラムを含んでいてもよい。この場合、CPU32は、図2のS35及びS45において、携帯端末100から画像ファイルに代えて印刷データを受信する。そして、CPU32は、図2のS48において画像ファイルの変換を実行することなく、印刷データに従った印刷を印刷実行部16に実行させる。また、CPU32は、図3のS130において画像ファイルの変換を実行しない。本変形例では、印刷データが、「第1の対象データ」及び「第2の対象データ」の一例である。また、「印刷準備」は、印刷データに変換することを含まなくてもよい。 (Modification 1) The print application 140 of the mobile terminal 100 may include a driver program for converting an image file into print data having a data format that the printer 10 can interpret. In this case, the CPU 32 receives print data instead of the image file from the portable terminal 100 in S35 and S45 of FIG. Then, the CPU 32 causes the print execution unit 16 to execute printing according to the print data without executing the image file conversion in S48 of FIG. Further, the CPU 32 does not perform image file conversion in S130 of FIG. In the present modification, the print data is an example of “first target data” and “second target data”. Further, “print preparation” may not include conversion to print data.

(変形例2)CPU32は、図2のS8において、携帯端末100のユーザIDを含むジョブID要求を受信してもよい。この場合、CPU32は、S38において、ユーザIDに関連付けて画像ファイルをメモリ34に記憶させる。また、CPU32は、図3のS100において、ジョブIDの代わりにユーザIDを含むBeacon信号を受信してもよい。この場合、CPU32は、S125において、Beacon信号内のユーザIDに関連付けられている画像ファイルを印刷データに変換し、S140において、Beacon信号内のユーザIDに関連付けられている印刷データに従った印刷を印刷実行部16に実行させる。本変形例では、ユーザIDが、「第1の特定情報」及び「第2の特定情報」の一例である。 (Modification 2) The CPU 32 may receive a job ID request including the user ID of the portable terminal 100 in S8 of FIG. In this case, the CPU 32 stores the image file in the memory 34 in association with the user ID in S38. Further, the CPU 32 may receive a Beacon signal including the user ID instead of the job ID in S100 of FIG. In this case, the CPU 32 converts the image file associated with the user ID in the Beacon signal into print data in S125, and performs printing according to the print data associated with the user ID in the Beacon signal in S140. The print execution unit 16 executes the process. In this modification, the user ID is an example of “first specific information” and “second specific information”.

(変形例3)CPU32は、図3のS100において、プリンタID及びジョブIDを含まないBeacon信号を受信してもよい。この場合、S105が省略され、S100でYESの場合に、S115に進む。本変形例では、「第1の特定情報」及び「第2の特定情報」が利用されなくてもよく、「第2のデータ受信部」及び「第2の記憶制御部」を省略可能である。また、本変形例では、「プリンタを識別するための識別情報」が利用されなくてもよく、「第1の算出部」は、当該識別情報を含む第1の特定信号が受信されるのか否かに関わらず、第1の対象値を算出してもよい。 (Modification 3) The CPU 32 may receive a Beacon signal that does not include a printer ID and a job ID in S100 of FIG. In this case, S105 is omitted, and if YES in S100, the process proceeds to S115. In this modification, the “first specific information” and the “second specific information” may not be used, and the “second data receiving unit” and the “second storage control unit” can be omitted. . In this modification, “identification information for identifying a printer” may not be used, and the “first calculation unit” determines whether or not the first specific signal including the identification information is received. Regardless of this, the first target value may be calculated.

(変形例4)各携帯端末100,200におけるBeacon信号の送信電波強度が同じになるように、各携帯端末100,200が調整されていてもよい。そして、所定距離D1に対応する受信電波強度と、所定距離D2に対応する受信電波強度と、がメモリ34に予め記憶されていてもよい。この場合、CPU32は、図3のS115,S120に代えて、Beacon信号の受信電波強度とメモリ34内の2個の受信電波強度とを比較することによって、携帯端末100との距離と、2個の所定距離D1,D2と、を比較してもよい。即ち、「第1の算出部」及び「第2の算出部」を省略可能である。 (Modification 4) Each mobile terminal 100, 200 may be adjusted so that the transmitted radio wave intensity of the Beacon signal in each mobile terminal 100, 200 is the same. The received radio wave intensity corresponding to the predetermined distance D1 and the received radio wave intensity corresponding to the predetermined distance D2 may be stored in the memory 34 in advance. In this case, the CPU 32 compares the received radio wave intensity of the Beacon signal with the two received radio wave intensities in the memory 34 instead of S115 and S120 in FIG. The predetermined distances D1 and D2 may be compared. That is, the “first calculation unit” and the “second calculation unit” can be omitted.

(変形例5)CPU32は、図3のS115において、プリンタ10と携帯端末との間の距離に代えて、例えば、送信電波強度と受信電波強度との差分を算出してもよい。そして、所定距離D1に対応する差分と、所定距離D2に対応する差分と、がメモリ34に予め記憶されていてもよい。この場合、CPU32は、S120において、算出済みの差分とメモリ34内の2個の差分とを比較することによって、携帯端末100との距離と、2個の所定距離D1,D2と、を比較してもよい。本変形例では、送信電波強度と受信電波強度との差分が、「第1の対象値」及び「第2の対象値」の一例である。 (Modification 5) The CPU 32 may calculate the difference between the transmission radio wave intensity and the reception radio wave intensity, for example, instead of the distance between the printer 10 and the portable terminal in S115 of FIG. A difference corresponding to the predetermined distance D1 and a difference corresponding to the predetermined distance D2 may be stored in the memory 34 in advance. In this case, in step S120, the CPU 32 compares the calculated difference with the two differences in the memory 34, thereby comparing the distance from the portable terminal 100 and the two predetermined distances D1 and D2. May be. In the present modification, the difference between the transmission radio wave intensity and the reception radio wave intensity is an example of the “first target value” and the “second target value”.

(変形例6)CPU32は、図3のS120において、携帯端末との距離と所定距離D2とを比較しなくてもよい。この場合、CPU32は、S120でプリンタ10と携帯端末100との間の距離がD1以下であると判断する場合に、S125及びS130の処理を実行する。本変形例では、「第2の判断部」及び「準備部」を省略可能である。 (Modification 6) The CPU 32 does not have to compare the distance from the portable terminal with the predetermined distance D2 in S120 of FIG. In this case, when the CPU 32 determines in S120 that the distance between the printer 10 and the portable terminal 100 is equal to or less than D1, the CPU 32 executes the processes of S125 and S130. In the present modification, the “second determination unit” and the “preparation unit” can be omitted.

(変形例7)CPU32は、図3のS130において、画像ファイルから印刷データへの変換処理と、印刷実行部16のハードウェアの動作の開始処理と、のうちのいずれか一方のみを実行し、S145において、変換処理と開始処理とのうちの他方を実行してもよい。即ち、「準備処理」は、変換処理と開始処理とのうちの一方を含まなくてもよい。 (Modification 7) In S <b> 130 of FIG. 3, the CPU 32 executes only one of the conversion process from the image file to the print data and the hardware operation start process of the print execution unit 16. In S145, the other of the conversion process and the start process may be executed. That is, the “preparation process” may not include one of the conversion process and the start process.

(変形例8)プリンタ10は、BTI/F22を備えていなくてもよい。この場合、CPU32は、S43でBT監視フラグに代わりWi−Fi監視フラグを「0」から「1」に変更する。CPU32は、Wi−Fi監視フラグが「1」である場合に、図3のS100において、Wi−FiI/F20を介して、携帯端末からWi−Fi方式の信号(例えばProbe Request信号等)を受信することを監視する。そして、CPU32は、当該信号の受信電波強度に基づく携帯端末との距離と、所定距離D1,D2と、を比較する。本変形例では、「第1の通信インターフェース」及び「第2の通信インターフェース」が区別されていなくてもよい。 (Modification 8) The printer 10 may not include the BTI / F 22. In this case, the CPU 32 changes the Wi-Fi monitoring flag from “0” to “1” instead of the BT monitoring flag in S43. When the Wi-Fi monitoring flag is “1”, the CPU 32 receives a Wi-Fi signal (for example, a probe request signal) from the mobile terminal via the Wi-Fi I / F 20 in S100 of FIG. Monitor what you do. Then, the CPU 32 compares the distance from the mobile terminal based on the received radio wave intensity of the signal with the predetermined distances D1 and D2. In the present modification, the “first communication interface” and the “second communication interface” may not be distinguished.

(変形例9)「プリンタ」は、プリンタ10に限られず、印刷機能と他の機能(例えば、スキャン機能、FAX機能等)とを備える多機能機等であってもよい。 (Modification 9) The “printer” is not limited to the printer 10 and may be a multi-function device or the like having a printing function and other functions (for example, a scanning function, a FAX function, etc.).

(変形例10)各実施例では、プリンタ10のCPU32がプログラム(即ちソフトウェア)を実行することによって、図2〜図7の各処理が実現される。これに代えて、図2〜図7の各処理のうちの少なくとも1つの処理は、論理回路等のハードウェアによって実現されてもよい。 (Modification 10) In each embodiment, the CPU 32 of the printer 10 executes a program (that is, software), thereby realizing the processes shown in FIGS. Instead, at least one of the processes in FIGS. 2 to 7 may be realized by hardware such as a logic circuit.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組み合わせによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.

10:プリンタ、12,112:操作部、14,114:表示部、16:印刷実行部、20,120:Wi−FiI/F、22,122:BTI/F、30,130:制御部、32,132:CPU、34,134:メモリ、38:プログラム、100,200:携帯端末、138:OSソフトウェア、140:印刷アプリケーション、300:AP、F1,F2:画像ファイル、PS1,PS2:印刷設定   10: printer, 12, 112: operation unit, 14, 114: display unit, 16: print execution unit, 20, 120: Wi-Fi I / F, 22, 122: BTI / F, 30, 130: control unit, 32 , 132: CPU, 34, 134: Memory, 38: Program, 100, 200: Mobile terminal, 138: OS software, 140: Print application, 300: AP, F1, F2: Image file, PS1, PS2: Print setting

Claims (12)

プリンタであって、
印刷実行部と、
メモリと、
第1の端末装置から第1の対象データを受信する第1のデータ受信部と、
前記第1の対象データを前記メモリに記憶させる第1の記憶制御部と、
前記第1の対象データが前記メモリに記憶された後に、前記第1の端末装置から第1の特定信号が受信される場合に、前記第1の特定信号の第1の受信電波強度を利用して、前記プリンタと前記第1の端末装置との間のデバイス間距離が第1の所定距離以下であるのか否かを判断する第1の判断部と、
前記デバイス間距離が前記第1の所定距離以下であると判断される場合に、前記第1の対象データに従った印刷を前記印刷実行部に実行させ、前記デバイス間距離が前記第1の所定距離以下でないと判断される場合に、前記第1の対象データに従った印刷を前記印刷実行部に実行させない第1の印刷制御部と、
を備えるプリンタ。
A printer,
A print execution unit;
Memory,
A first data receiving unit for receiving first target data from a first terminal device;
A first storage control unit for storing the first target data in the memory;
When the first specific signal is received from the first terminal device after the first target data is stored in the memory, the first received radio wave intensity of the first specific signal is used. A first determination unit that determines whether an inter-device distance between the printer and the first terminal device is equal to or less than a first predetermined distance;
When it is determined that the inter-device distance is equal to or less than the first predetermined distance, the printing execution unit is caused to execute printing according to the first target data, and the inter-device distance is the first predetermined distance. A first print control unit that does not cause the print execution unit to execute printing according to the first target data when it is determined that the distance is not less than a distance;
Printer with.
前記第1の記憶制御部は、前記第1の端末装置から前記第1の対象データが受信される場合に、前記第1の対象データと、前記第1の対象データを特定するための第1の特定情報と、を対応付けて前記メモリに記憶させ、
前記プリンタは、さらに、
前記第1の端末装置とは異なる第2の端末装置から第2の対象データを受信する第2のデータ受信部と、
前記第2の端末装置から前記第2の対象データが受信される場合に、前記第2の対象データと、前記第2の対象データを特定するための第2の特定情報であって、前記第1の特定情報とは異なる前記第2の特定情報と、を対応付けて前記メモリに記憶させる第2の記憶制御部と、を備え、
前記第1の印刷制御部は、前記第1の端末装置から前記第1の特定情報を含む前記第1の特定信号が受信され、かつ、前記デバイス間距離が前記第1の所定距離以下であると判断される場合に、前記メモリに記憶された前記第1の対象データと前記第2の対象データとのうち、前記第1の特定信号に含まれる前記第1の特定情報に対応付けられている前記第1の対象データに従った印刷を前記印刷実行部に実行させる、請求項1に記載のプリンタ。
The first storage control unit is configured to identify the first target data and the first target data when the first target data is received from the first terminal device. Are stored in the memory in association with each other,
The printer further includes:
A second data receiving unit for receiving second target data from a second terminal device different from the first terminal device;
When the second target data is received from the second terminal device, the second target data and second specifying information for specifying the second target data, the second target data, A second storage control unit that associates and stores the second specific information different from the one specific information in the memory,
The first print control unit receives the first specific signal including the first specific information from the first terminal device, and the inter-device distance is equal to or less than the first predetermined distance. Is determined in association with the first specific information included in the first specific signal among the first target data and the second target data stored in the memory. The printer according to claim 1, wherein the printing execution unit executes printing according to the first target data.
前記プリンタは、さらに、
前記第1の端末装置から前記第1の特定信号が受信される場合に、前記第1の特定信号の前記第1の受信電波強度を利用して、前記デバイス間距離に関係する第1の対象値を算出する第1の算出部を備え、
前記第1の判断部は、前記第1の受信電波強度に基づく前記第1の対象値を利用して、前記デバイス間距離が前記第1の所定距離以下であるのか否かを判断する、請求項1又は2に記載のプリンタ。
The printer further includes:
When the first specific signal is received from the first terminal device, the first target related to the inter-device distance using the first received radio wave intensity of the first specific signal A first calculation unit for calculating a value;
The first determination unit determines whether the inter-device distance is equal to or less than the first predetermined distance by using the first target value based on the first received radio wave intensity. Item 3. The printer according to Item 1 or 2.
前記第1の算出部は、
前記第1の端末装置から、前記プリンタを識別するための識別情報を含む前記第1の特定信号が受信される場合に、前記第1の対象値を算出し、
前記第1の端末装置から、前記プリンタとは異なるプリンタを識別するための識別情報を含む特定信号が受信される場合に、前記第1の対象値を算出しない、請求項3に記載のプリンタ。
The first calculation unit includes:
When the first specific signal including identification information for identifying the printer is received from the first terminal device, the first target value is calculated;
4. The printer according to claim 3, wherein the first target value is not calculated when a specific signal including identification information for identifying a printer different from the printer is received from the first terminal device.
前記プリンタは、さらに、
前記第1の対象データが前記メモリに記憶された後であって、前記第1の端末装置から前記第1の特定信号が受信される前に、前記第1の端末装置から第2の特定信号が受信される場合に、前記第2の特定信号の第2の受信電波強度を利用して、前記デバイス間距離が前記第1の所定距離よりも大きい第2の所定距離以下であるのか否かを判断する第2の判断部と、
前記デバイス間距離が前記第2の所定距離以下であると判断される場合に、前記第1の対象データに従った印刷を実行するための印刷準備を実行し、前記デバイス間距離が前記第2の所定距離以下でないと判断される場合に、前記印刷準備を実行しない準備部と、を備える、請求項1から4のいずれか一項に記載のプリンタ。
The printer further includes:
After the first target data is stored in the memory and before the first specific signal is received from the first terminal device, the second specific signal from the first terminal device Whether or not the inter-device distance is less than or equal to a second predetermined distance greater than the first predetermined distance using the second received radio wave intensity of the second specific signal. A second determination unit for determining
When it is determined that the inter-device distance is equal to or less than the second predetermined distance, print preparation for executing printing according to the first target data is executed, and the inter-device distance is the second distance. The printer according to claim 1, further comprising: a preparation unit that does not execute the print preparation when it is determined that the distance is not less than the predetermined distance.
前記プリンタは、さらに、
前記第1の端末装置から前記第2の特定信号が受信される場合に、前記第2の特定信号の前記第2の受信電波強度を利用して、前記デバイス間距離に関係する第2の対象値を算出する第2の算出部を備え、
前記第2の判断部は、前記第2の受信電波強度に基づく前記第2の対象値を利用して、前記デバイス間距離が前記第2の所定距離以下であるのか否かを判断する、請求項5に記載のプリンタ。
The printer further includes:
When the second specific signal is received from the first terminal device, a second target related to the inter-device distance using the second received radio wave intensity of the second specific signal A second calculation unit for calculating a value;
The second determination unit determines whether or not the inter-device distance is equal to or less than the second predetermined distance by using the second target value based on the second received radio wave intensity. Item 6. The printer according to Item 5.
前記印刷準備は、前記印刷実行部に含まれるハードウェアの動作を開始させることを含む、請求項5又は6に記載のプリンタ。   The printer according to claim 5, wherein the print preparation includes starting an operation of hardware included in the print execution unit. 前記印刷準備は、前記第1の対象データを前記印刷実行部が解釈可能なデータ形式を有する前記印刷データに変換することを含む、請求項5から7のいずれか一項に記載のプリンタ。   The printer according to claim 5, wherein the print preparation includes converting the first target data into the print data having a data format that can be interpreted by the print execution unit. 前記第1の判断部は、前記プリンタの動作モードが第1の動作モードである状態において、前記第1の対象データが前記メモリに記憶された後に、前記第1の端末装置から前記第1の特定信号が受信される場合に、前記デバイス間距離が前記第1の所定距離以下であるのか否かを判断し、
前記プリンタは、さらに、
前記プリンタの動作モードが前記第1の動作モードとは異なる第2の動作モードである状態において、前記第1の対象データが受信される場合に、前記デバイス間距離が前記第1の所定距離以下であるのか否かに関わらず、前記第1の対象データに従った印刷を前記印刷実行部に実行させる第2の印刷制御部を備える、請求項1から8のいずれか一項に記載のプリンタ。
In the state where the operation mode of the printer is the first operation mode, the first determination unit stores the first target data from the first terminal device after the first target data is stored in the memory. When a specific signal is received, determine whether the distance between the devices is less than or equal to the first predetermined distance;
The printer further includes:
When the first target data is received in a state where the operation mode of the printer is a second operation mode different from the first operation mode, the inter-device distance is equal to or less than the first predetermined distance. 9. The printer according to claim 1, further comprising a second print control unit that causes the print execution unit to execute printing according to the first target data regardless of whether or not .
前記第1の判断部は、前記第1の端末装置から待機指示が受信され、かつ、前記第1の対象データが前記メモリに記憶された後に、前記第1の端末装置から前記第1の特定信号が受信される場合に、前記デバイス間距離が前記第1の所定距離以下であるのか否かを判断し、
前記プリンタは、さらに、
前記第1の端末装置から前記待機指示が受信されずに、前記第1の対象データが受信される場合に、前記デバイス間距離が前記第1の所定距離以下であるのか否かに関わらず、前記第1の対象データに従った印刷を前記印刷実行部に実行させる第2の印刷制御部を備える、請求項1から9のいずれか一項に記載のプリンタ。
The first determination unit receives the first identification from the first terminal device after a standby instruction is received from the first terminal device and the first target data is stored in the memory. If a signal is received, determine whether the device-to-device distance is less than or equal to the first predetermined distance;
The printer further includes:
When the first target data is received without receiving the standby instruction from the first terminal device, regardless of whether the inter-device distance is equal to or less than the first predetermined distance, The printer according to claim 1, further comprising a second print control unit that causes the print execution unit to perform printing according to the first target data.
前記プリンタは、さらに、
第1の通信インターフェースと、
前記第1の通信インターフェースとは異なる第2の通信インターフェースと、を備え、
前記第1のデータ受信部は、前記第1の通信インターフェースを介して、前記第1の端末装置から前記第1の対象データを受信し、
前記プリンタは、さらに、
前記第2の通信インターフェースを介して、前記第1の端末装置から前記第1の特定信号を受信する特定信号受信部を備える、請求項1から10のいずれか一項に記載のプリンタ。
The printer further includes:
A first communication interface;
A second communication interface different from the first communication interface,
The first data receiving unit receives the first target data from the first terminal device via the first communication interface;
The printer further includes:
The printer according to any one of claims 1 to 10, further comprising a specific signal receiving unit that receives the first specific signal from the first terminal device via the second communication interface.
プリンタのためのコンピュータプログラムであって、
前記プリンタに搭載されるコンピュータを、以下の各部、即ち、
第1の端末装置から第1の対象データを受信する第1のデータ受信部と、
前記第1の対象データを前記プリンタのメモリに記憶させる第1の記憶制御部と、
前記第1の対象データが前記メモリに記憶された後に、前記第1の端末装置から第1の特定信号が受信される場合に、前記第1の特定信号の第1の受信電波強度を利用して、前記プリンタと前記第1の端末装置との間のデバイス間距離が第1の所定距離以下であるのか否かを判断する第1の判断部と、
前記デバイス間距離が前記第1の所定距離以下であると判断される場合に、前記第1の対象データに従った印刷を前記プリンタの印刷実行部に実行させ、前記デバイス間距離が前記第1の所定距離以下でないと判断される場合に、前記第1の対象データに従った印刷を前記印刷実行部に実行させない第1の印刷制御部と、
として機能させるコンピュータプログラム。
A computer program for a printer,
The computer mounted on the printer is divided into the following parts:
A first data receiving unit for receiving first target data from a first terminal device;
A first storage control unit for storing the first target data in a memory of the printer;
When the first specific signal is received from the first terminal device after the first target data is stored in the memory, the first received radio wave intensity of the first specific signal is used. A first determination unit that determines whether an inter-device distance between the printer and the first terminal device is equal to or less than a first predetermined distance;
When it is determined that the inter-device distance is equal to or less than the first predetermined distance, the printing execution unit of the printer is caused to execute printing according to the first target data, and the inter-device distance is the first distance. A first print control unit that does not cause the print execution unit to execute printing according to the first target data when it is determined that the distance is not less than the predetermined distance;
A computer program that functions as a computer program.
JP2016254008A 2016-12-27 2016-12-27 Printer Active JP6926471B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016254008A JP6926471B2 (en) 2016-12-27 2016-12-27 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016254008A JP6926471B2 (en) 2016-12-27 2016-12-27 Printer

Publications (2)

Publication Number Publication Date
JP2018103525A true JP2018103525A (en) 2018-07-05
JP6926471B2 JP6926471B2 (en) 2021-08-25

Family

ID=62786224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016254008A Active JP6926471B2 (en) 2016-12-27 2016-12-27 Printer

Country Status (1)

Country Link
JP (1) JP6926471B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003341190A (en) * 2002-05-30 2003-12-03 Fuji Xerox Co Ltd Method and system for controlling imaging operation, imaging operation controller, imaging method, imaging apparatus, program
JP2007290324A (en) * 2006-04-27 2007-11-08 Canon Inc Printer, operation control method, and program
JP2008017381A (en) * 2006-07-10 2008-01-24 Konica Minolta Business Technologies Inc Image forming apparatus
JP2011131604A (en) * 2011-03-24 2011-07-07 Canon Inc Printing device, and method of controlling the same
US20150378296A1 (en) * 2014-06-27 2015-12-31 Samsung Electronics Co., Ltd. Image forming apparatus and image forming method
JP2016097653A (en) * 2014-11-26 2016-05-30 船井電機株式会社 Image formation device and image formation method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003341190A (en) * 2002-05-30 2003-12-03 Fuji Xerox Co Ltd Method and system for controlling imaging operation, imaging operation controller, imaging method, imaging apparatus, program
JP2007290324A (en) * 2006-04-27 2007-11-08 Canon Inc Printer, operation control method, and program
JP2008017381A (en) * 2006-07-10 2008-01-24 Konica Minolta Business Technologies Inc Image forming apparatus
JP2011131604A (en) * 2011-03-24 2011-07-07 Canon Inc Printing device, and method of controlling the same
US20150378296A1 (en) * 2014-06-27 2015-12-31 Samsung Electronics Co., Ltd. Image forming apparatus and image forming method
JP2016097653A (en) * 2014-11-26 2016-05-30 船井電機株式会社 Image formation device and image formation method

Also Published As

Publication number Publication date
JP6926471B2 (en) 2021-08-25

Similar Documents

Publication Publication Date Title
US11488588B2 (en) Voice control system and control method for controlling printing apparatus
JP6406092B2 (en) Communication equipment
US9591674B2 (en) Communication apparatus and control method thereof
US11102371B2 (en) Terminal device configured to initiate printing based on distance from printing device
US10916247B2 (en) Voice control system, control method, and non-transitory computer-readable storage medium storing program
US10747477B2 (en) Print control system that transmit to a registered printing apparatus, a change instruction for changing a setting of the power of the registered printing apparatus, and related method
JP6477132B2 (en) Communication equipment
JP6468027B2 (en) Communication equipment and computer program therefor
US10261727B2 (en) Communication apparatus
CN108882338B (en) Information processing apparatus and control method
EP3382987B1 (en) Information processing apparatus, control method, and program
US10937422B2 (en) Voice control system, control method, and non-transitory computer-readable storage medium storing program
JP6293247B1 (en) Printing apparatus, printing apparatus control method, and program
JP2017069721A (en) Communication apparatus
EP3582529B1 (en) Computer program, information processing apparatus, and control method
JP6866700B2 (en) Terminal equipment and computer programs for it
JP6926471B2 (en) Printer
US20210377835A1 (en) Electronic apparatus and communication control method
JP2015198434A (en) Communication device and control method thereof, and program
US10798257B2 (en) Computer-readable medium, information processing device, and method for selecting image processing apparatus
JP2019066998A (en) Control program, information processing apparatus, and control method
JP2021072573A (en) Information processing device, program, and control method
JP6859625B2 (en) Communication device
JP2019159570A (en) Computer program for terminal device and terminal device
JP6638786B2 (en) Communication equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201008

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201110

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210330

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210506

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210719

R150 Certificate of patent or registration of utility model

Ref document number: 6926471

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150