JP6622874B2 - Printing apparatus, control method therefor, and program - Google Patents

Printing apparatus, control method therefor, and program Download PDF

Info

Publication number
JP6622874B2
JP6622874B2 JP2018157499A JP2018157499A JP6622874B2 JP 6622874 B2 JP6622874 B2 JP 6622874B2 JP 2018157499 A JP2018157499 A JP 2018157499A JP 2018157499 A JP2018157499 A JP 2018157499A JP 6622874 B2 JP6622874 B2 JP 6622874B2
Authority
JP
Japan
Prior art keywords
wireless communication
communication unit
printing apparatus
unit
communication
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
JP2018157499A
Other languages
Japanese (ja)
Other versions
JP2019049971A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2018157499A priority Critical patent/JP6622874B2/en
Publication of JP2019049971A publication Critical patent/JP2019049971A/en
Application granted granted Critical
Publication of JP6622874B2 publication Critical patent/JP6622874B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Ink Jet (AREA)

Description

本発明は、印刷装置及びその制御方法及びプログラムに関するものである。   The present invention relates to a printing apparatus, a control method therefor, and a program.

近年、プリンタと、デジタルカメラや携帯電話等の外部装置との間で無線通信を行い、プリンタが外部装置から画像を受信し印刷することが可能となっている。この際、プリンタと外部装置とが、当初はNFC(Near Field Communication)をはじめとする近距離無線通信によって互いに通信相手を特定する。その後、近距離無線通信とは別の、より高速な無線通信によって、プリンタが外部装置から印刷対象の画像ファイルを受信することも知られている。   In recent years, wireless communication has been performed between a printer and an external device such as a digital camera or a mobile phone, and the printer can receive and print an image from the external device. At this time, the printer and the external device initially specify communication partners by short-range wireless communication such as NFC (Near Field Communication). Thereafter, it is also known that a printer receives an image file to be printed from an external device by higher-speed wireless communication different from short-range wireless communication.

また、プリンタは有線LANと無線LANといった複数のインタフェースが搭載されており、ユーザーはどちらかのインタフェースを使って、印刷を行うことができる。従来のプリンタでは、複数のインタフェースを有していても、いずれか一方のインタフェースでのみを用いて通信を行うのが一般的である。   The printer is equipped with a plurality of interfaces such as a wired LAN and a wireless LAN, and the user can perform printing using either interface. Conventional printers generally perform communication using only one of the interfaces, even if they have a plurality of interfaces.

また、近年ではNFCを利用して、端末装置と外部装置を共通のアクセスポイントに接続させインターネットの接続が切断されないようにする方法が提案されている(特許文献1)。   In recent years, a method has been proposed in which a terminal device and an external device are connected to a common access point using NFC so that the Internet connection is not disconnected (Patent Document 1).

特開2011−182449号公報JP 2011-182449 A

しかしながら、特許文献1には、端末と装置の両者が同一ネットワーク上にあり、接続可能な場合はよいが、そうでない場合には容易には端末の処理要求(例えば印刷)を行うことができないという問題がある。   However, in Patent Document 1, it is preferable that both the terminal and the device are on the same network and can be connected, but otherwise it is not possible to easily request processing (for example, printing) of the terminal. There's a problem.

本発明は上記の課題に鑑みなされたものであり、簡便な操作で、処理装置が有する複数のネットワーク接続手段のうち、利用しているネットワークを特定し、端末装置から処理装置に向けて処理要求を送信できる技術を提供しようとするものである。   The present invention has been made in view of the above problems, and identifies a network being used among a plurality of network connection means included in a processing device with a simple operation, and requests processing from the terminal device to the processing device. It is intended to provide technology that can transmit.

この課題を解決するため、例えば本発明の印刷装置は以下の構成を備える。すなわち、
有線通信部、無線通信部および近距離無線通信部を備える印刷装置であって、
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示された場合、前記有線通信部を有効化し、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示された場合、前記無線通信部を有効化する制御手段と、
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されており、かつ、前記通信相手装置が接続しているネットワークに前記印刷装置の前記無線通信部が接続している場合、前記近距離無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記印刷装置の前記近距離無線通信部と前記通信相手装置の間で前記近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置が接続しているネットワークに前記印刷装置の前記無線通信部が接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段を有し、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする。
In order to solve this problem, for example, a printing apparatus of the present invention has the following configuration. That is,
A printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
When instructed to activate the wired communication unit using the display unit of the printing apparatus, the wired communication unit is activated, and the wireless communication unit is activated using the display unit of the printing apparatus. Is instructed, control means for enabling the wireless communication unit,
Near field communication is performed between the near field communication unit of the printing device and the communication partner device, the wireless communication unit of the printing device is enabled, and the communication partner device is connected. If the wireless communication unit of the printing device is connected to a network that is running, the print data is received via the network from the communication partner device that has performed the short-range wireless communication,
The short-range wireless communication is performed between the short-range wireless communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication partner When the wireless communication unit of the printing apparatus is not connected to a network to which the apparatus is connected, the wireless communication of the communication partner apparatus and the printing apparatus established by the printing apparatus executing a communication control process Receiving means for receiving print data from the communication counterpart device via a direct connection between copies;
Print control means for executing print processing based on the print data;
A communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.

また、他の発明の印刷装置は以下の構成を有する。すなわち、
有線通信部、無線通信部および近距離無線通信部を備える印刷装置であって、
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示された場合、前記有線通信部を有効化し、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示された場合、前記無線通信部を有効化する制御手段と、
前記印刷装置の前記近距離無線通信部と前記通信相手装置の間で前記近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段を有し、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする。
In addition, a printing apparatus according to another invention has the following configuration. That is,
A printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
When instructed to activate the wired communication unit using the display unit of the printing apparatus, the wired communication unit is activated, and the wireless communication unit is activated using the display unit of the printing apparatus. Is instructed, control means for enabling the wireless communication unit,
The short-range wireless communication is performed between the short-range wireless communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication partner When the apparatus and the wireless communication unit of the printing apparatus are not connected to the same network, the printing apparatus establishes communication control processing between the communication partner apparatus and the wireless communication part of the printing apparatus. Receiving means for receiving print data from the communication partner device via a direct connection;
Printing control means for executing a printing process based on the print data;
A communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.

本発明によれば、端末装置を処理装置に近づけるという簡単な操作で、処理装置が有する複数のネットワーク接続手段のうち、利用しているネットワークを特定し、端末装置から処理装置に向けて処理要求を送信できるようになる。   According to the present invention, a simple operation of bringing a terminal device closer to a processing device identifies a network that is being used among a plurality of network connection means included in the processing device, and requests processing from the terminal device to the processing device. Can be sent.

実施形態における印刷システムの構成を示す図。1 is a diagram illustrating a configuration of a printing system according to an embodiment. 端末装置の外観を表す図。The figure showing the external appearance of a terminal device. 印刷装置の外観を表す図。1 is a diagram illustrating an appearance of a printing apparatus. 端末装置の構成を示すブロック図。The block diagram which shows the structure of a terminal device. 印刷装置の構成を示すブロック図。FIG. 2 is a block diagram illustrating a configuration of a printing apparatus. NFCユニットの構成を表したブロック図。The block diagram showing the structure of the NFC unit. NFCユニットに保存されているNDEFデータ構造を示す図。The figure which shows the NDEF data structure preserve | saved at the NFC unit. 端末装置の処理を示すフローチャート。The flowchart which shows the process of a terminal device. 印刷装置の処理を示すフローチャート。6 is a flowchart showing processing of the printing apparatus. 第2の実施形態における端末装置の処理を示すフローチャート。The flowchart which shows the process of the terminal device in 2nd Embodiment. 第4の実施形態における印刷訴追の処理を示すフローチャート。The flowchart which shows the process of the print prosecution in 4th Embodiment.

以下に、図面を参照しながら、本発明の実施形態を例示的に詳しく説明する。但し、本実施形態に記載されている構成要素の相対配置、表示画面等は、特に、特定的な記載がない限りは、この発明の範囲をそれらのみに限定する趣旨のものではない。   Embodiments of the present invention will be exemplarily described in detail below with reference to the drawings. However, the relative arrangement of components, the display screen, and the like described in the present embodiment are not intended to limit the scope of the present invention only to those unless otherwise specified.

<システム構成>
図1は実施形態におけるネットワーク処理システムの構成を示す図である。このシステムは、ネットワーク100を中心に、そのネットワーク100に接続可能な携帯型の端末装置200及び、端末装置200からの依頼要求を受けて処理を行う処理装置としての印刷装置300で構成される。通信装置としても機能する端末装置200は、通信速度(又は通信可能範囲)が異なる少なくとも2種類以上の無線通信部を有する。端末装置200は、PDA(Personal Digital Assistant)等の個人情報端末、スマートフォンや携帯電話、デジタルカメラ等、印刷対象となるファイルを扱える装置であればその種類は問わない。
<System configuration>
FIG. 1 is a diagram showing a configuration of a network processing system in the embodiment. This system is mainly composed of a network 100 and a portable terminal device 200 that can be connected to the network 100, and a printing device 300 as a processing device that performs processing in response to a request from the terminal device 200. The terminal device 200 that also functions as a communication device has at least two types of wireless communication units having different communication speeds (or communicable ranges). The terminal device 200 may be of any type as long as it can handle files to be printed, such as a personal information terminal such as a PDA (Personal Digital Assistant), a smartphone, a mobile phone, or a digital camera.

通信装置としても機能する印刷装置300は、原稿台に載置された原稿を光学的に読み取る読取機能と、インクジェットプリンタ等の印刷エンジンを用いて印刷を行う印刷機能を有しており、その他、FAX機能や電話機能を有していても良い。   The printing apparatus 300 that also functions as a communication apparatus has a reading function for optically reading a document placed on a document table, and a printing function for performing printing using a print engine such as an inkjet printer. It may have a FAX function or a telephone function.

ネットワーク100と印刷装置300は、有線LANもしくは無線LANで接続されている。ネットワーク100と端末装置200は無線LANで接続されている。端末装置200と印刷装置300は近距離無線通信による通信が実行可能である。また、端末装置200と印刷装置300は共に無線LANの機能を有するため、相互認証をすることによってピアツーピア(以後、P2P)の通信が可能となる。   The network 100 and the printing apparatus 300 are connected by a wired LAN or a wireless LAN. The network 100 and the terminal device 200 are connected by a wireless LAN. The terminal device 200 and the printing device 300 can execute communication by short-range wireless communication. Since both the terminal device 200 and the printing device 300 have a wireless LAN function, peer-to-peer (hereinafter referred to as P2P) communication is possible by performing mutual authentication.

図2は端末装置200の外観を示す図である。本実施形態では、スマートフォンを例にしている。スマートフォンとは、携帯電話の機能の他に、カメラや、ネットブラウザ、メール機能等を搭載した多機能型の携帯電話のことである。   FIG. 2 is a diagram illustrating an appearance of the terminal device 200. In this embodiment, a smartphone is taken as an example. A smartphone is a multi-function mobile phone equipped with a camera, a network browser, a mail function, etc. in addition to the functions of a mobile phone.

NFC(Near Field Communication)ユニット201は、近距離無線通信を行うユニットである。実際にNFCユニット201を相手デバイスのNFCユニット(実施形態では、印刷装置300のNFCユニット)に所定距離(10cm程度)以内に近づけることで通信を行うことができる。   An NFC (Near Field Communication) unit 201 is a unit that performs near field communication. Communication can be performed by actually bringing the NFC unit 201 closer to the NFC unit of the counterpart device (in the embodiment, the NFC unit of the printing apparatus 300) within a predetermined distance (about 10 cm).

無線LANユニット202は、NFC通信よりも高速な無線LANで通信を行うためのユニットであり、端末装置200内に配置されている。表示部203は、例えば、LCD方式の表示機構を備えるディスプレイである。操作部204は、タッチパネル方式の操作機構を備えており、ユーザーの押下情報を検知する。代表的な操作方法には、表示部203がボタンアイコンやソフトウェアキーボードの表示を行い、ユーザーが操作部204を押下することによってボタンが押下されたイベントを発行することである。電源キー205は、電源のオン及びオフをする際に用いる。   The wireless LAN unit 202 is a unit for performing communication with a wireless LAN faster than NFC communication, and is disposed in the terminal device 200. The display unit 203 is, for example, a display having an LCD display mechanism. The operation unit 204 includes a touch panel type operation mechanism, and detects user press information. A typical operation method is that the display unit 203 displays a button icon or a software keyboard, and the user presses the operation unit 204 to issue an event in which the button is pressed. A power key 205 is used to turn on and off the power.

図3は印刷装置300の外観を示す図である。本実施形態では、読取機能(スキャナ)を有するMulti Function Printer(MFP)を例にしている。図3(a)において、原稿台301はガラス状の透明な台であり、原稿を載せてスキャナで読み取る時に使用する。原稿蓋302は、スキャナで読取を行う際に読取光が外部に漏れないようにするための蓋である。印刷用紙挿入口303は、様々なサイズの用紙をセットする挿入口である。印刷用紙挿入口303にセットされた用紙は一枚ずつ印刷部に搬送され、印刷を行って印刷用紙排出口304から排出される。   FIG. 3 is a diagram illustrating an appearance of the printing apparatus 300. In the present exemplary embodiment, a multi function printer (MFP) having a reading function (scanner) is taken as an example. In FIG. 3A, a document table 301 is a glassy transparent table, and is used when a document is placed and read by a scanner. The document cover 302 is a cover for preventing reading light from leaking to the outside when reading with the scanner. The printing paper insertion port 303 is an insertion port for setting paper of various sizes. The sheets set in the printing sheet insertion port 303 are conveyed one by one to the printing unit, printed, and discharged from the printing sheet discharge port 304.

図3(b)は、原稿蓋302の上面図である。原稿蓋302の上部には操作表示部305及びNFCユニット306が配置されている。NFCユニット306は、近距離無線通信を行うためのユニットであり、実際に、端末装置200を印刷装置300に近接させる場所である。NFCユニット306から所定距離(約10cm)が接触の有効距離である。無線LANアンテナ307は、無線LANで通信するためのアンテナが埋め込まれている。   FIG. 3B is a top view of the document cover 302. An operation display unit 305 and an NFC unit 306 are disposed above the document cover 302. The NFC unit 306 is a unit for performing short-range wireless communication, and is actually a place where the terminal device 200 is brought close to the printing apparatus 300. A predetermined distance (about 10 cm) from the NFC unit 306 is an effective contact distance. The wireless LAN antenna 307 is embedded with an antenna for communicating with a wireless LAN.

尚、近距離無線通信とは、NFCに代表される、通信範囲が、比較的小さい所定範囲(例えば、1メートル〜数センチ)となる無線通信を意味する。   Note that short-range wireless communication refers to wireless communication represented by NFC in which a communication range is a relatively small predetermined range (for example, 1 meter to several centimeters).

図4は端末装置200のブロック構成図である。端末装置200は、装置全体の制御を行うメインボード210、無線LANユニット202、NFCユニット201、回線接続ユニット206、表示部203及び操作部204を有する。ここで、無線LANユニット202、NFCユニット201、回線接続ユニット206及び優先LANユニット309はいずれも、端末装置200の通信部として機能する。   FIG. 4 is a block configuration diagram of the terminal device 200. The terminal device 200 includes a main board 210 that controls the entire device, a wireless LAN unit 202, an NFC unit 201, a line connection unit 206, a display unit 203, and an operation unit 204. Here, the wireless LAN unit 202, the NFC unit 201, the line connection unit 206, and the priority LAN unit 309 all function as a communication unit of the terminal device 200.

メインボード210に配置されるマイクロプロセッサ形態のCPU211は、内部バス212を介し、接続されているROM形態のプログラムメモリ213に格納されている制御プログラムと、RAM形態のデータメモリ214の内容に従って処理を実行する。   The microprocessor-type CPU 211 arranged on the main board 210 performs processing according to the control program stored in the ROM-type program memory 213 and the contents of the RAM-type data memory 214 via the internal bus 212. Execute.

CPU211は、無線LAN制御回路215を介して無線LANユニット202を制御することで、他の通信端末装置と無線LAN102による通信を行う。CPU211は、NFC制御回路216を介してNFCユニット201を制御することによって、他のNFC端末とのNFC101による接続を検知したり、他のNFC端末との間でデータの送受信を行うことができる。CPU211は、回線制御回路217を介して回線接続ユニット206を制御することで、携帯電話回線網105に接続し、通話やデータ送受信を行うことができる。   The CPU 211 controls the wireless LAN unit 202 via the wireless LAN control circuit 215 to communicate with other communication terminal devices via the wireless LAN 102. The CPU 211 controls the NFC unit 201 via the NFC control circuit 216, thereby detecting connection with another NFC terminal by the NFC 101 and transmitting / receiving data to / from another NFC terminal. The CPU 211 controls the line connection unit 206 via the line control circuit 217 to connect to the mobile phone line network 105 and perform a call and data transmission / reception.

CPU211は、操作部制御回路218を制御することによって操作部204を介してのユーザからの指示を受け取ったり、表示部203に各種メニューや画像などの表示を行ったりするが可能である。CPU211は、カメラ部219を制御して画像を撮影することができ、撮影した画像をデータメモリ214中の画像メモリ220に格納する。また、撮影した画像以外にも、携帯電話回線網105、無線LAN102、あるいはNFC101を通じて外部から取得した画像を画像メモリ220に格納したり、逆に外部に送信することも可能である。   The CPU 211 can receive instructions from the user via the operation unit 204 by controlling the operation unit control circuit 218, and can display various menus and images on the display unit 203. The CPU 211 can take an image by controlling the camera unit 219, and stores the taken image in the image memory 220 in the data memory 214. In addition to the captured image, an image acquired from the outside through the cellular phone network 105, the wireless LAN 102, or the NFC 101 can be stored in the image memory 220, or conversely transmitted to the outside.

不揮発性メモリ221は、フラッシュメモリ等のメモリで構成され、電源をオフされた後でも保存しておきたいデータを格納する。例えば、電話帳データや、各種通信接続情報や過去に接続したデバイス情報等の他、保存しておきたい画像データ、あるいは端末装置200に各種機能を実現するアプリケーションソフトウェア等のプログラムが格納される。   The non-volatile memory 221 is configured by a memory such as a flash memory, and stores data that should be saved even after the power is turned off. For example, in addition to telephone directory data, various communication connection information, device information connected in the past, image data to be stored, or programs such as application software for realizing various functions in the terminal device 200 are stored.

図5は印刷装置300の構成を示すブロック図である。印刷装置300は、装置全体の制御を行うメインボード310、回線接続ユニット322、無線LANユニット308、NFCユニット306、有線LANユニット309、及び、操作パネル305を有する。ここで、回線接続ユニット322、無線LANユニット308、NFCユニット306及び優先LANユニット309は、印刷装置300の通信部として機能する。なお、無線LANはNFCユニットよりも高速で、有線LANは更に高速な通信が行える。   FIG. 5 is a block diagram illustrating a configuration of the printing apparatus 300. The printing apparatus 300 includes a main board 310 that controls the entire apparatus, a line connection unit 322, a wireless LAN unit 308, an NFC unit 306, a wired LAN unit 309, and an operation panel 305. Here, the line connection unit 322, the wireless LAN unit 308, the NFC unit 306, and the priority LAN unit 309 function as a communication unit of the printing apparatus 300. Note that the wireless LAN is faster than the NFC unit, and the wired LAN can perform higher-speed communication.

メインボード310に配置されるマイクロプロセッサ形態のCPU311は、内部バス312を介して接続されているROM形態のプログラムメモリ313に格納されている制御プログラムと、RAM形態のデータメモリ314の内容とに従って処理を実行する。   The microprocessor-type CPU 311 arranged on the main board 310 performs processing according to the control program stored in the ROM-type program memory 313 connected via the internal bus 312 and the contents of the RAM-type data memory 314. Execute.

CPU311は、スキャナ部315を制御して原稿を読み取り、データメモリ314中の画像メモリ316に格納する。また、CPU311は、印刷部317を制御してデータメモリ314中の画像メモリ316の画像を記録媒体に印刷することができる。   The CPU 311 controls the scanner unit 315 to read a document and stores it in the image memory 316 in the data memory 314. Further, the CPU 311 can print the image in the image memory 316 in the data memory 314 on a recording medium by controlling the printing unit 317.

CPU311は、無線LAN制御回路318を通じて無線LANユニット308を制御することで、他の通信端末装置と無線LAN102による通信を行う。また、CPU311は、有線LAN制御回路329を通じて優先LANユニット309を制御することで、他の通信端末装置と優先LAN102による通信を行う。また、CPU311は、NFC制御回路319を介してNFCユニット306を制御することによって、他のNFC端末とのNFC101による接続を検知したり、他のNFC端末との間でデータの送受信を行うことができる。CPU311は、回線制御回路321を介して回線接続ユニット322を制御することで、電話回線網323に接続し、FAX送受信やデータ送受信を行うことができる。   The CPU 311 controls the wireless LAN unit 308 through the wireless LAN control circuit 318, thereby communicating with other communication terminal devices via the wireless LAN 102. In addition, the CPU 311 controls the priority LAN unit 309 through the wired LAN control circuit 329, thereby communicating with other communication terminal apparatuses using the priority LAN 102. Further, the CPU 311 can control connection of the NFC unit 306 via the NFC control circuit 319 to detect connection with the other NFC terminal by the NFC 101 or transmit / receive data to / from another NFC terminal. it can. The CPU 311 controls the line connection unit 322 via the line control circuit 321 to connect to the telephone line network 323 and perform FAX transmission / reception and data transmission / reception.

CPU311は、操作部制御回路320を制御することによって操作パネル305に印刷装置300の状態の表示や機能選択メニューの表示を行ったり、ユーザーからの操作を受け付けることが可能である。このため、操作パネル305は、各種スイッチやボタンをはじめ、タッチパネル付きディスプレイで構成される。   The CPU 311 can control the operation unit control circuit 320 to display the status of the printing apparatus 300 and the function selection menu on the operation panel 305 and accept operations from the user. For this reason, the operation panel 305 includes a display with a touch panel including various switches and buttons.

図6は端末装置200におけるNFCユニット201あるいは、印刷装置300におけるNFCユニット306で使用されているNFCユニット600の詳細を示すブロック図である。   FIG. 6 is a block diagram showing details of the NFC unit 600 used in the NFC unit 201 in the terminal apparatus 200 or the NFC unit 306 in the printing apparatus 300.

NFCユニット600による近距離無線通信(NFC通信)では、通信時にRF(Radio Frequency)フィールドを出力して通信を開始する装置をイニシエータと呼ぶ。また、イニシエータの発する命令に応答し、イニシエータとの通信を行う装置をターゲットと呼ぶ。そして、NFCユニットの通信モードには、パッシブモードとアクティブモードが存在する。   In short-range wireless communication (NFC communication) by the NFC unit 600, a device that starts communication by outputting an RF (Radio Frequency) field during communication is called an initiator. A device that communicates with an initiator in response to a command issued by the initiator is called a target. The communication mode of the NFC unit includes a passive mode and an active mode.

パッシブモードでは、ターゲットは、イニシエータの命令に対し、負荷変調を行うことで応答する。そのため、ターゲットには電力の供給が不要である。一方、アクティブモードでは、ターゲットは、イニシエータの命令に対し、ターゲット自らが発するRFフィールドによって応答する。そのため、ターゲットに電力の供給が必要となる。アクティブモードはパッシブモードと比較して通信速度を高速にできるという特徴もある。   In the passive mode, the target responds to the initiator command by performing load modulation. Therefore, it is not necessary to supply power to the target. On the other hand, in the active mode, the target responds to the command of the initiator by the RF field emitted by the target itself. Therefore, it is necessary to supply power to the target. The active mode is also characterized in that the communication speed can be increased compared to the passive mode.

図6の説明に戻る。NFCユニット内には、NFCコントローラ部601、アンテナ部602、RF部603、送受信制御部604、NFCメモリ605、電源606、及びデバイス接続部607が存在する。アンテナ部602は、他のNFCデバイスから電波やキャリアを受信したり、他のNFCデバイスに電波やキャリアを送信したりする。RF部603は、アナログ信号をデジタル信号に変復調する機能を備えている。RF部603は、シンセサイザを備えていて、バンド、チャネルの周波数を識別し、周波数割り当てデータによるバンド、チャネルの制御をしている。   Returning to the description of FIG. In the NFC unit, there are an NFC controller unit 601, an antenna unit 602, an RF unit 603, a transmission / reception control unit 604, an NFC memory 605, a power supply 606, and a device connection unit 607. The antenna unit 602 receives radio waves and carriers from other NFC devices, and transmits radio waves and carriers to other NFC devices. The RF unit 603 has a function of modulating / demodulating an analog signal into a digital signal. The RF unit 603 includes a synthesizer, identifies the frequency of the band and channel, and controls the band and channel based on the frequency allocation data.

尚、NFCメモリ605は、読み書き可能な不揮発性メモリで構成される。そして、電源606からの電力が供給されていない状態でも、パッシブモードで誘導起電力が生成されている限り、NFCメモリ605に記憶されているデータを読み書きすることができる。このNFCメモリ605へのデータの読み書きを含むデータの記憶制御は、NFCコントローラ部601によって実現される。なお、電源606からの電力が供給されていない状態とは、端末装置200の電池が無くなった状態、印刷装置300へ電源が供給されていない状態を指す。   The NFC memory 605 is composed of a readable / writable nonvolatile memory. Even when the power from the power source 606 is not supplied, the data stored in the NFC memory 605 can be read and written as long as the induced electromotive force is generated in the passive mode. Data storage control including reading / writing of data to / from the NFC memory 605 is realized by the NFC controller unit 601. Note that the state in which power from the power source 606 is not supplied refers to a state in which the battery of the terminal device 200 is exhausted and a state in which power is not supplied to the printing apparatus 300.

送受信制御部604は、送受信フレームの組み立て及び分解、プリアンブル付加及び検出、フレーム識別等、送受信に関する制御を行う。送受信制御部604は、NFCメモリ605の制御も行い、各種データやプログラムを読み書きする。アクティブモードとして動作する場合、電源606を介して電力の供給を受ける。そして、デバイス接続部607を通じてデバイス(端末装置200のCPU211や、印刷装置300のCPU311)と通信を行ったり、アンテナ部602を介して送受信されるキャリアにより、通信可能な範囲にある他のNFCデバイスと通信する。パッシブモードとして動作する場合、アンテナ部602を介して他のNFCデバイスからキャリアを受信して、電磁誘導により他のNFCデバイスから電力の供給を受け、キャリアの変調により当該他のNFCデバイスとの間で通信を行ってデータを送受信する。以下では、端末装置200(のNFCユニット201)と印刷装置300の(NFCユニット306)を近づける操作のことを、「NFCタッチ操作」と記すものとする。   The transmission / reception control unit 604 performs transmission / reception control such as assembly / disassembly of transmission / reception frames, preamble addition / detection, frame identification, and the like. The transmission / reception control unit 604 also controls the NFC memory 605 to read / write various data and programs. When operating in the active mode, power is supplied via the power source 606. Then, other NFC devices that are in a communicable range by a device (CPU 211 of the terminal device 200 or CPU 311 of the printing apparatus 300) through the device connection unit 607 or by a carrier transmitted and received through the antenna unit 602. Communicate with. When operating in the passive mode, a carrier is received from another NFC device via the antenna unit 602, power is supplied from another NFC device by electromagnetic induction, and the other NFC device is modulated by carrier modulation. Send and receive data via communication. Hereinafter, an operation for bringing the terminal device 200 (the NFC unit 201) and the printing device 300 (the NFC unit 306) closer to each other will be referred to as an “NFC touch operation”.

[第1の実施形態]
本第1の実施形態では、ユーザが端末装置200を操作して印刷対象の画像を選択した後、印刷を行う印刷装置300に対してNFCタッチ操作を行うことで、選択した画像を印刷装置300で印刷するというユースケースについて説明する。
[First Embodiment]
In the first embodiment, after the user operates the terminal device 200 to select an image to be printed, an NFC touch operation is performed on the printing device 300 that performs printing, so that the selected image is displayed on the printing device 300. Explain the use case of printing with.

図8は、端末装置200で、指定した画像を印刷装置300で印刷する際の処理を示すフローチャートである。なお、本願では、端末装置200において実行されるフローチャートは、端末装置200のCPU211がフローチャートに関係するプログラムを読み出して実行することで実現される。   FIG. 8 is a flowchart illustrating processing when the terminal device 200 prints a designated image with the printing apparatus 300. In the present application, the flowchart executed in the terminal device 200 is realized by the CPU 211 of the terminal device 200 reading and executing a program related to the flowchart.

まず、ユーザは、操作部204からの操作に応じて、画像メモリ220に格納された画像データを選択する。ここで、選択される画像データは単数、複数は問わない。   First, the user selects image data stored in the image memory 220 in accordance with an operation from the operation unit 204. Here, a single image data or a plurality of image data may be selected.

ユーザは、画像が選択状態の端末装置200を、処理の依頼対象である印刷装置300のNFCユニット306に近づける操作(NFCタッチ操作)を行う。この結果、端末装置200と印刷装置300がNFC通信モードに移行する。なお、NFC通信モードへの移行は、例えば印刷装置300の操作パネルにおいてユーザーが設定することで実現されても良いし、NFCタッチ操作によって自動的に実現されても良い。   The user performs an operation (NFC touch operation) to bring the terminal device 200 whose image is selected closer to the NFC unit 306 of the printing apparatus 300 that is the processing request target. As a result, the terminal device 200 and the printing device 300 shift to the NFC communication mode. The transition to the NFC communication mode may be realized by, for example, a user setting on the operation panel of the printing apparatus 300, or may be automatically realized by an NFC touch operation.

ステップS802で、端末装置200が、印刷装置300のNFCユニット306から、そのNFCユニット306内のNFCメモリ605にあるNDEFメッセージを受信する。   In step S <b> 802, the terminal apparatus 200 receives an NDEF message in the NFC memory 605 in the NFC unit 306 from the NFC unit 306 of the printing apparatus 300.

図7を用いてNFCユニットに保存されているNDEFデータ構造を説明する。NDEFデータとして、ヘッダ部分を構成する第1のNDEFの「Record1」には、NDEFメッセージが何であるかを示すRecordTypeが格納される。具体的は、ハンドオーバー要求用のメッセージであることを示す“Hq(HandoverRequest)”、又は要求への返答メッセージであることを示す”Hs(HandoverSelect)”等がRecord Type内に記入されている。なお、NDEFデータは、近距離無線通信によって通信相手装置に送信されるため近距離無線通信情報と呼ばれることもある。   The NDEF data structure stored in the NFC unit will be described with reference to FIG. As NDEF data, RecordType indicating what the NDEF message is is stored in “Record1” of the first NDEF constituting the header portion. Specifically, “Hq (Handover Request)” indicating that the message is a handover request message, “Hs (HandoverSelect)” indicating that it is a response message to the request, or the like is entered in the Record Type. Note that NDEF data is sometimes referred to as short-range wireless communication information because it is transmitted to the communication partner device by short-range wireless communication.

「Record2」は、このパケットがAサービス設定情報であることを示す内容が含まれるRecordTypeと詳細ネットワーク設定情報が含まれるPayload部で構成される。ネットワーク情報には各通信方式に関するパラメータが格納されている。具体的には、印刷装置300が持つ2つのネットワークインターフェースユニット(もしくはネットワークインターフェースカード:NIC)のうち第1のユニットの第1のMACアドレスと、第2のユニットの第2のMACアドレス情報がネットワーク情報に格納される。例えば、有線LAN用のMACアドレスと無線LAN用のMACアドレスがネットワーク情報に格納されている。これにより、端末装置200は印刷装置300が持つ物理インタフェースであるMACアドレス情報をNDEFメッセージから取得することが可能となる。なお、本願では、印刷装置300が有するネットワークインターフェースユニットの個数が2つの例を示しているが、1以上であればよく、この数に特に制限はない。   “Record 2” is composed of a Record Type including contents indicating that this packet is A service setting information and a Payload section including detailed network setting information. The network information stores parameters related to each communication method. Specifically, the first MAC address of the first unit and the second MAC address information of the second unit of the two network interface units (or network interface cards: NIC) of the printing apparatus 300 are the network. Stored in the information. For example, a wired LAN MAC address and a wireless LAN MAC address are stored in the network information. Thereby, the terminal device 200 can acquire the MAC address information, which is a physical interface of the printing apparatus 300, from the NDEF message. In the present application, the number of network interface units included in the printing apparatus 300 is two. However, the number may be one or more, and the number is not particularly limited.

さらにPayload部には、ピアツーピア接続情報(以下、「ピアツーピア」を単にP2Pと略す)が格納される。具体的には、WiFiダイレクト等のP2P接続のために必要なSSID、暗号方式、認証方式、ネットワークキー等の情報が格納されている。   Further, peer-to-peer connection information (hereinafter, “peer-to-peer” is simply abbreviated as P2P) is stored in the payload section. Specifically, information such as SSID, encryption method, authentication method, and network key necessary for P2P connection such as WiFi Direct is stored.

一般に、端末装置200と印刷装置300が同一アクセスポイントに接続してない場合、データ通信を行うことができない。これを回避するため、端末装置200は印刷装置300のNDEFメッセージから取得したP2P情報を用いて、端末装置200側の無線ネットワーク設定を変更する。このようにすることで、端末装置200と印刷装置300とで、ピアツーピア通信が確立し、データ通信を行うことができる。   In general, when the terminal device 200 and the printing device 300 are not connected to the same access point, data communication cannot be performed. In order to avoid this, the terminal device 200 changes the wireless network setting on the terminal device 200 side using the P2P information acquired from the NDEF message of the printing device 300. By doing so, peer-to-peer communication is established between the terminal device 200 and the printing device 300, and data communication can be performed.

端末装置200は、NDEFメッセージを受信後、ステップS803で、端末装置200からのデータ受信待ちへのモード移行コマンドを印刷装置300に発行したかを判断する。発行したか否かの情報は、端末装置200のデータメモリ214に記憶しておく。モード移行コマンドを発行していない場合、ステップS804で、NDEFメッセージの第1のMACアドレスが端末装置200と同一ネットワーク上に存在するかを確認(探索)する。第1のMACアドレスが同一ネットワーク上に存在する場合、端末装置200は印刷装置300のIPアドレスを認識することができる(ステップS805)。例えば、IPアドレスを認識するために、ICMPやMulticastDNS等を用いる。そして、ステップS806で、端末装置200は印刷装置300に対して、データ受信待ちへのモード移行コマンドを発行する。   After receiving the NDEF message, the terminal device 200 determines in step S803 whether or not a mode transition command to wait for data reception from the terminal device 200 has been issued to the printing device 300. Information on whether or not it has been issued is stored in the data memory 214 of the terminal device 200. If the mode transition command has not been issued, it is confirmed (searched) whether or not the first MAC address of the NDEF message exists on the same network as the terminal device 200 in step S804. If the first MAC address exists on the same network, the terminal device 200 can recognize the IP address of the printing device 300 (step S805). For example, ICMP or Multicast DNS is used to recognize the IP address. In step S806, the terminal device 200 issues a mode shift command to wait for data reception to the printing apparatus 300.

また、第1のMACアドレスがネットワーク上で検出できない場合、端末装置200は、ステップS810で第2のMACアドレスが端末装置200と同一ネットワーク上に存在するかを確認する。そこで検出できない場合、端末装置200は、ステップS811で印刷装置300のNFCユニット201から取得したNDEFメッセージに格納されているP2P情報を参照し、端末装置200の通信モードがP2P情報の無線LAN設定と同じかを判定する。判定の一例としては、端末装置200は、印刷装置300が備えるアクセスポイントのSSIDと端末装置200に設定されているSSIDとを比較し、同じか否かを判定する。   When the first MAC address cannot be detected on the network, the terminal device 200 confirms whether the second MAC address exists on the same network as the terminal device 200 in step S810. If it cannot be detected, the terminal apparatus 200 refers to the P2P information stored in the NDEF message acquired from the NFC unit 201 of the printing apparatus 300 in step S811, and the communication mode of the terminal apparatus 200 is the wireless LAN setting of the P2P information. Determine if they are the same. As an example of the determination, the terminal apparatus 200 compares the SSID of the access point provided in the printing apparatus 300 with the SSID set in the terminal apparatus 200, and determines whether or not they are the same.

端末装置200の通信モードがP2P情報と一致しない場合、端末装置200は、印刷装置300の通信モードに合わせて、端末装置200の通信モードを変更する(ステップS812)。例えば、端末装置200は、印刷装置300のSSIDを設定する。   If the communication mode of the terminal device 200 does not match the P2P information, the terminal device 200 changes the communication mode of the terminal device 200 in accordance with the communication mode of the printing device 300 (step S812). For example, the terminal device 200 sets the SSID of the printing apparatus 300.

このように、印刷装置300が複数のインタフェースを備える状況で、いずれかひとつのインタフェース情報しか返さない場合、装置を検出できないおそれがある。例えば、有線LANが有効状態であるにも関わらず、無線LANのMACアドレスがNDEFメッセージに格納されていた場合、端末装置200は無線LANのMACアドレスをネットワーク上から探索することとなる。結果的に、端末装置200と印刷装置300が同一ネットワーク上にあったとしても、NFCでタッチした印刷装置300を探索できない。しかしながら、上記処理を行うことで適切に端末装置200と印刷装置300の接続を確立することが可能となる。   As described above, in a situation where the printing apparatus 300 includes a plurality of interfaces, if only one interface information is returned, the apparatus may not be detected. For example, if the wireless LAN MAC address is stored in the NDEF message even though the wired LAN is valid, the terminal device 200 searches the network for the wireless LAN MAC address. As a result, even if the terminal apparatus 200 and the printing apparatus 300 are on the same network, the printing apparatus 300 touched by NFC cannot be searched. However, the connection between the terminal device 200 and the printing device 300 can be appropriately established by performing the above processing.

ステップS806では、端末装置200は、端末装置からのデータ受信待ちへのモード移行コマンドを印刷装置300に対して発行する。コマンド発行後、ステップS807で、端末装置200は、ユーザーが選択した画像データを印刷装置300が印刷できる形式に変換して、無線LANユニット202を介して印刷装置300に印刷データとして送信する。なお、端末装置200が印刷装置300に無線LANで印刷データを送信するからと言って、印刷装置300が端末装置200から無線LANを介して印刷データを受信するとは限らない。アクセスポイントと接続されている有線LANを介して受信することも起こり得るからである。   In step S <b> 806, the terminal device 200 issues a mode shift command to wait for data reception from the terminal device to the printing device 300. After issuing the command, in step S807, the terminal apparatus 200 converts the image data selected by the user into a format that can be printed by the printing apparatus 300, and transmits the converted data to the printing apparatus 300 via the wireless LAN unit 202 as print data. Note that just because the terminal apparatus 200 transmits print data to the printing apparatus 300 via the wireless LAN does not necessarily mean that the printing apparatus 300 receives print data from the terminal apparatus 200 via the wireless LAN. This is because reception via a wired LAN connected to the access point may occur.

そして、すべての印字データ送信完了後、ステップS808で、端末装置200は、続けて印刷データを送信するかの判定を行う。この判定は、ユーザー操作でもよいし、一定時間操作がないことを判断してもよい。印刷を終了する際、ステップS809で、端末装置200は印刷装置300に対して、データ受信待ちのモードを解除するコマンドを発行する。この結果、端末装置200と印刷装置300の接続は解除される。   Then, after all the print data transmission is completed, in step S808, the terminal device 200 determines whether to continue transmitting the print data. This determination may be performed by a user operation or may be determined that there is no operation for a certain period of time. When the printing is finished, in step S809, the terminal apparatus 200 issues a command for canceling the data reception waiting mode to the printing apparatus 300. As a result, the connection between the terminal device 200 and the printing device 300 is released.

次に、図9のフローチャートを用いて、印刷装置300が端末装置200から受信した画像を印刷する際の処理を説明する。なお、本願では、印刷装置300において実行されるフローチャートは、印刷装置300のCPU311がフローチャートに関係するプログラムを読み出して実行することで実現される。   Next, processing when the printing apparatus 300 prints an image received from the terminal apparatus 200 will be described using the flowchart of FIG. In the present application, the flowchart executed in the printing apparatus 300 is realized by the CPU 311 of the printing apparatus 300 reading and executing a program related to the flowchart.

まず、ユーザが端末装置200(のNFCユニット201)を、印刷装置300(のNFCユニット306)に近づける操作を行う。この結果、双方のNFCユニットによるNFC通信が開始され、ステップS902で、印刷装置300は、印刷装置のNFCユニット306内のNFCメモリに格納されているNDEFメッセージを端末装置200に転送する。   First, the user performs an operation of bringing the terminal device 200 (the NFC unit 201) closer to the printing device 300 (the NFC unit 306). As a result, NFC communication by both NFC units is started, and in step S902, the printing apparatus 300 transfers the NDEF message stored in the NFC memory in the NFC unit 306 of the printing apparatus to the terminal apparatus 200.

NDEFメッセージが端末装置200へ転送されると、ステップS903で、印刷装置300は、すでに端末装置200からのデータ受信待ちへのモード移行コマンドを受信しているかを判定する。   When the NDEF message is transferred to the terminal device 200, in step S903, the printing apparatus 300 determines whether a mode transition command for waiting for data reception from the terminal apparatus 200 has already been received.

モード移行コマンドを受信していなければ、ステップS904で、印刷装置300は端末装置200からIPプロトコルレベルのリクエストがあるかを判断する。IPプロトコルレベルのリクエストがある場合、すでに端末装置200と印刷装置300は同一ネットワーク上に存在することが確定できるので、印刷装置300は端末装置200から発行されるデータ受信待ちへのモード移行コマンドの受信待ちとなる。   If the mode shift command has not been received, the printing apparatus 300 determines whether there is an IP protocol level request from the terminal apparatus 200 in step S904. When there is an IP protocol level request, it can be determined that the terminal device 200 and the printing device 300 already exist on the same network, so the printing device 300 sends a mode transition command to wait for data reception issued from the terminal device 200. Waiting for reception.

その後、ステップS905で印刷装置300が端末装置200からのモード移行コマンドを受信する。また、ステップS904でIPプロトコルレベルの通信がないと判断した場合、印刷装置300は、ステップS910で現在の印刷装置300の通信モードをデータメモリ314に記憶(待避)する。そして、印刷装置300は、ステップS911で印刷装置300の通信モードをP2Pモードの通信モードに変更する。その後、端末装置200が、S812の処理を実行することで、印刷装置300が端末装置200と同一ネットワークで接続可能となる。例えば、印刷装置300が、外部のアクセスポイントを用いて通信を行う通信モードで動作している場合、S911によりアクセスポイントを用いて通信を行う通信モードからP2Pモードに通信モードを変更する。   Thereafter, in step S905, the printing apparatus 300 receives a mode transition command from the terminal apparatus 200. If it is determined in step S904 that there is no IP protocol level communication, the printing apparatus 300 stores (retracts) the current communication mode of the printing apparatus 300 in the data memory 314 in step S910. In step S911, the printing apparatus 300 changes the communication mode of the printing apparatus 300 to the communication mode of the P2P mode. Thereafter, the terminal device 200 executes the process of S812, so that the printing device 300 can be connected to the terminal device 200 on the same network. For example, when the printing apparatus 300 is operating in a communication mode in which communication is performed using an external access point, the communication mode is changed from the communication mode in which communication is performed using the access point to the P2P mode in S911.

ネットワークが確立した後、ステップS907で、印刷装置300は、端末装置200から印字データを受信し、印刷を行う。但し、ネットワークが確立した場合でも、ステップS906で、端末装置200からデータが一定時間送られてこない場合、ステップS909で印刷の通信モードを元に戻す。   After the network is established, in step S907, the printing apparatus 300 receives print data from the terminal apparatus 200 and performs printing. However, even if the network is established, if the data is not sent from the terminal device 200 for a certain time in step S906, the printing communication mode is returned to the original in step S909.

印刷後、ステップS908で、印刷装置300は端末装置200からデータ受信待ちへのモード解除待ちのコマンドを受信したかを判断する。解除コマンドを受信した場合、ステップS909で印刷の通信モードを変更していれば、NFCを使った印刷を行う直前の通信モード(つまり、S910いて記憶した通信モード)に戻す。   After printing, in step S908, the printing apparatus 300 determines whether a command for waiting for mode release to wait for data reception has been received from the terminal apparatus 200. When the cancel command is received, if the printing communication mode is changed in step S909, the communication mode immediately before printing using NFC (that is, the communication mode stored in S910) is restored.

具体的な通信モードを戻す例は以下の通りである。例えば、印刷装置300の無線LANが無効の場合、ステップS910で無線LAN無効状態を記憶し、P2Pモードで印刷を実行し、印刷終了後、無線LAN状態を切断して処理を終了する。つまり、印刷装置300の通信モードが無線LAN無効状態へと変更される。また、印刷装置300の無線LANが有効で、端末装置と同じネットワーク上に場合、通信モードはそのままで印刷処理を行い、印刷終了後ステップS909では、通信モードはそのままの状態を保持する。   An example of returning a specific communication mode is as follows. For example, if the wireless LAN of the printing apparatus 300 is invalid, the wireless LAN invalid state is stored in step S910, printing is performed in the P2P mode, and after the printing is completed, the wireless LAN state is disconnected and the process is terminated. That is, the communication mode of the printing apparatus 300 is changed to the wireless LAN invalid state. If the wireless LAN of the printing apparatus 300 is valid and is on the same network as the terminal apparatus, the printing process is performed with the communication mode as it is, and the communication mode is maintained as it is in step S909 after the printing is completed.

また、印刷装置300の第1、第2のインタフェースのいずれか、もしくは両方が有効状態で、それらが端末装置と同じネットワーク上にない場合、ステップS911で第1、第2のインタフェース状態を記憶する。そして、P2Pモードで印刷を実行し、印刷終了後、第1、第2のインタフェース状態を元に戻して処理を終了する。   If one or both of the first and second interfaces of the printing apparatus 300 are valid and they are not on the same network as the terminal device, the first and second interface states are stored in step S911. . Then, the printing is executed in the P2P mode, and after the printing is finished, the first and second interface states are returned to the original, and the process is finished.

このように、本実施形態では、ユーザが現在の通信モードを切り替えなくても、端末装置200のNFCタッチ操作によって最適な通信方法が自動的に選択される。ステップS908で一定時間、端末装置200からモード解除待ちのコマンドが送られてこない場合、ステップS912で時間経過をみることで、モード解除待ちのコマンドが一定時間送られてこない場合、通信モードを直前の通信モードに戻すことを可能にする。   Thus, in this embodiment, the optimal communication method is automatically selected by the NFC touch operation of the terminal device 200 without the user switching the current communication mode. If a command for waiting for mode release is not sent from the terminal device 200 for a certain time in step S908, if the command for waiting for mode release is not sent for a certain time by looking at the elapse of time in step S912, the communication mode is immediately It is possible to return to the communication mode.

一定時間を計測するためにタイマを用いることになるが、タイマの開始トリガとして、印刷終了後をトリガにしてもよいし、タイマが開始されても、一定時間を経過する前に次の印刷処理が実行されることで、タイマをクリアしてもよい。これ以外にも、操作パネル305での本体操作によって、通信モードを終了させてもよい。こうすることで、ユーザが通信モードを意識することなく、印刷を実行することが可能となる。   A timer is used to measure a certain time, but as a timer start trigger, after the end of printing may be used as a trigger, or even after the timer has started, the next printing process is performed before the certain time has elapsed. May be executed to clear the timer. In addition to this, the communication mode may be ended by operating the main body on the operation panel 305. By doing so, it becomes possible for the user to execute printing without being aware of the communication mode.

[第2の実施形態]
本第2の実施形態でも、ユーザが端末装置200を操作して印刷対象の画像を選択した後、印刷を行うユースケースについて説明する。
[Second Embodiment]
Also in the second embodiment, a use case will be described in which printing is performed after the user operates the terminal device 200 to select an image to be printed.

なお、第1の実施形態との差異は、NFCタッチ操作によって取得するインタフェース情報に有効なMACアドレスを示す情報が含まれる点である。以下、ユーザーが、端末装置200を印刷装置300に対してNFCタッチ操作を行う。そして、端末装置200が、現在有効になっているインタフェース情報を取得し、有効なインタフェースのMACアドレスを使って、選択した画像を印刷装置300で印刷するというユースケースについて説明する。例えば、端末装置200は、有線のMACアドレスと無線のMACアドレスの内、NFCタッチ操作によって現在印刷装置300において有効なMACアドレスを示す情報を取得できる。   The difference from the first embodiment is that the interface information acquired by the NFC touch operation includes information indicating a valid MAC address. Hereinafter, the user performs an NFC touch operation on the printing apparatus 300 using the terminal apparatus 200. A use case will be described in which the terminal device 200 acquires interface information that is currently valid, and uses the MAC address of the valid interface to print the selected image with the printing device 300. For example, the terminal device 200 can acquire information indicating a MAC address that is currently valid in the printing apparatus 300 by an NFC touch operation from among a wired MAC address and a wireless MAC address.

まず、ユーザは、操作部204からの操作に応じて、画像データを選択する。ここで、画像データは複数選択しても良い。   First, the user selects image data in accordance with an operation from the operation unit 204. Here, a plurality of image data may be selected.

ユーザは端末装置200(のNFCユニット201)を印刷装置300(のNFCユニット306)に近づけるNFCタッチ操作を行う。   The user performs an NFC touch operation to bring the terminal device 200 (the NFC unit 201) closer to the printing device 300 (the NFC unit 306).

この結果、ステップS1002で、端末装置200が印刷装置300のNFCユニット306内のNFCメモリ605にあるNDEFメッセージを受信する。   As a result, in step S1002, the terminal apparatus 200 receives the NDEF message in the NFC memory 605 in the NFC unit 306 of the printing apparatus 300.

端末装置200はNDEFメッセージを受信後、ステップS1003で、端末装置200から印刷装置300へ、データ受信待ちへのモード移行コマンドを発行したかを判断する。発行したか否かの情報は、端末装置200のデータメモリ214に記憶しておく。モード移行コマンドを発行していない場合、ステップS1004で、端末装置200は、NDEFメッセージから取得した現在有効な状態のインタフェース情報を取得する。例えば、端末装置200が、NDEFメッセージに含まれる複数のMACアドレスの内、有効なMACアドレス情報を示す情報を取得することで、S1004を実現できる。ちなみに、有効な状態とは、印刷装置300がネットワーク接続を確立して、IPアドレスが取得可能な状態を指す。   After receiving the NDEF message, the terminal device 200 determines in step S1003 whether the terminal device 200 has issued a mode shift command for waiting for data reception from the terminal device 200 to the printing device 300. Information on whether or not it has been issued is stored in the data memory 214 of the terminal device 200. If the mode transition command has not been issued, in step S1004, the terminal device 200 acquires the interface information in the currently valid state acquired from the NDEF message. For example, S1004 can be realized by the terminal device 200 acquiring information indicating valid MAC address information from among a plurality of MAC addresses included in the NDEF message. Incidentally, the valid state refers to a state in which the printing apparatus 300 can establish a network connection and obtain an IP address.

ステップS1005で、端末装置200は、NDEFメッセージに記述されている、有効状態であるインタフェースのMACアドレスが端末装置200と同一ネットワーク上に存在するかを確認する。ステップS1006でMACアドレスが同一ネットワーク上に存在する場合、端末装置200は印刷装置300のIPアドレスを認識することができる。IPアドレスを検出できない場合、端末装置200は、ステップS1011−1012を行う。なお、S1011−S1012の処理はS811−S812と同じであるため詳細な説明は省略する。また、S1007−S1010の処理は、S806−S809と同じであるため詳細な説明は省略する。   In step S <b> 1005, the terminal device 200 confirms whether the MAC address of the interface in the valid state described in the NDEF message exists on the same network as the terminal device 200. If the MAC address is present on the same network in step S1006, the terminal apparatus 200 can recognize the IP address of the printing apparatus 300. If the IP address cannot be detected, the terminal device 200 performs steps S1011-1012. In addition, since the process of S1011-S1012 is the same as S811-S812, detailed description is abbreviate | omitted. Further, the processing in S1007 to S1010 is the same as that in S806 to S809, and thus detailed description thereof is omitted.

本実施形態により、例えば、複数のMACアドレスを用いてブロードキャストにてデバイス探索を行う場合、無効化されているインタフェースのMACアドレスを使ったデバイス探索を防止できる。そのため、本実施形態は、ネットワーク通信負荷を軽減できる。   According to the present embodiment, for example, when a device search is performed by broadcast using a plurality of MAC addresses, it is possible to prevent a device search using a MAC address of an invalid interface. Therefore, this embodiment can reduce the network communication load.

[第3の実施形態]
上記の第1の実施形態において、NDEFメッセージに記憶された第1のインタフェースのMACアドレスと第2のインタフェースのMACアドレスを順番に参照する形態を説明した。第1のインタフェースと第2のインタフェースに優先順位を設けて、どちらを優先的に接続するか判断するための情報をNDEFメッセージに格納させてもよい。端末装置200は読み取ったNDEFメッセージの優先順位をもとに取得したMACアドレスが同一ネットワーク上に存在するかを検出してもよい。
[Third embodiment]
In the first embodiment described above, the mode in which the MAC address of the first interface and the MAC address of the second interface stored in the NDEF message are sequentially referred to has been described. Priorities may be provided for the first interface and the second interface, and information for determining which one to connect preferentially may be stored in the NDEF message. The terminal device 200 may detect whether the MAC address acquired based on the priority order of the read NDEF message exists on the same network.

また、実施形態では端末装置200と通信する処理装置は印刷装置(MFP)300として説明したが、処理要求に応える装置であれば特に印刷装置に限定されない。例えば、ネットワークスキャナであても良いし、ネットワークストレージであっても構わない。   In the embodiment, the processing apparatus that communicates with the terminal apparatus 200 has been described as the printing apparatus (MFP) 300. However, the processing apparatus is not particularly limited to the printing apparatus as long as it is an apparatus that responds to processing requests. For example, a network scanner or a network storage may be used.

[第4の実施形態]
本実施形態では、印刷装置300が、有効なインタフェースに応じてNDEFの情報を書き換える処理について図11を用いて説明する。
[Fourth Embodiment]
In the present embodiment, a process in which the printing apparatus 300 rewrites NDEF information according to an effective interface will be described with reference to FIG.

印刷装置300は、操作パネル305を用いてユーザーから有効化されるべきインタフェースの選択指示を受け付けたか否かを判定する(S1101)。例えば、印刷装置300は、有線LANと無線LANの内、いずれか一方を有効化する指示を受け付ける。なお、印刷装置300と通信可能な端末装置200が有効化するインタフェースを選択するための選択指示を発行しても良い。その他、印刷装置300と通信可能な情報処理装置が有効化するインタフェースを選択するための指示を発行しても良い。   The printing apparatus 300 determines whether an instruction to select an interface to be activated is received from the user using the operation panel 305 (S1101). For example, the printing apparatus 300 receives an instruction to activate either one of a wired LAN and a wireless LAN. Note that a selection instruction for selecting an interface to be activated by the terminal device 200 that can communicate with the printing apparatus 300 may be issued. In addition, an instruction for selecting an interface to be activated by an information processing apparatus that can communicate with the printing apparatus 300 may be issued.

S1101において指示を受け付けたと判定された場合、印刷装置300は、ユーザーの指示により有効化されたインタフェースに対応するMACアドレスをNFCユニット600のNFCメモリ605のNDEF内に記述する(S1102)。図7では、印刷装置300が持つ2つのネットワークインターフェースユニット(もしくはNIC)のうち第1のユニットの第1のMACアドレスと、第2のユニットの第2のMACアドレスがネットワーク情報に格納されると記載した。しかしながら、本実施形態では、印刷装置300が、有効化されたインタフェースに対応するMACアドレスのみを図7のネットワーク情報に書き込む。例えば、上記指示によって有線LANが有効化された場合、有線LANのMACアドレスのみが図7のネットワーク情報に記述される。一方、有効化されるインタフェースが有線LANから無線LANに変更された場合、印刷装置300は、図7のネットワーク情報を有線LANのMACアドレスから無線LANのMACアドレスに書き換える。   If it is determined in S1101 that the instruction has been accepted, the printing apparatus 300 describes the MAC address corresponding to the interface enabled by the user's instruction in the NDEF of the NFC memory 605 of the NFC unit 600 (S1102). In FIG. 7, when the first MAC address of the first unit and the second MAC address of the second unit of the two network interface units (or NICs) of the printing apparatus 300 are stored in the network information. Described. However, in this embodiment, the printing apparatus 300 writes only the MAC address corresponding to the enabled interface in the network information in FIG. For example, when the wired LAN is enabled by the above instruction, only the MAC address of the wired LAN is described in the network information of FIG. On the other hand, when the interface to be activated is changed from the wired LAN to the wireless LAN, the printing apparatus 300 rewrites the network information in FIG. 7 from the MAC address of the wired LAN to the MAC address of the wireless LAN.

印刷装置300は、NFCタッチ操作を受け付けたか判定する(S1103)。ここでNFCタッチ操作を受け付けたと判定した場合、S902以降の処理へと進む。一方、NFCタッチ操作を受け付けていない場合、S1101へと処理が戻る。なお、S902以降の処理は、図9と同じであるため詳細な記述は省略する。   The printing apparatus 300 determines whether an NFC touch operation has been received (S1103). If it is determined that an NFC touch operation has been received, the process proceeds to S902 and subsequent steps. On the other hand, when the NFC touch operation is not received, the process returns to S1101. Since the processing after S902 is the same as that in FIG. 9, detailed description thereof is omitted.

以上の処理により、端末装置200は、印刷装置300において有効化されているインタフェースのMACアドレスを取得できるため、適切に印刷装置300と接続することが可能となる。   With the above processing, the terminal device 200 can acquire the MAC address of the interface enabled in the printing apparatus 300, and thus can be appropriately connected to the printing apparatus 300.

(その他の実施例)
なお、本願では、近距離無線通信の一例としてNFCを用いて説明したが、別の通信方法として、例えばブルートゥース(登録商標)を用いても構わない。また、本願では印刷装置を用いて説明したが、印刷装置とは別の装置としてデジタルカメラや音楽プレイヤーなどを用いても構わない。
(Other examples)
In addition, in this application, although demonstrated using NFC as an example of near field communication, you may use Bluetooth (trademark) as another communication method, for example. Further, in the present application, the description has been given using the printing apparatus, but a digital camera, a music player, or the like may be used as an apparatus different from the printing apparatus.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

100…ネットワーク、200…端末装置、300…印刷装置 DESCRIPTION OF SYMBOLS 100 ... Network, 200 ... Terminal device, 300 ... Printing apparatus

Claims (32)

有線通信部、無線通信部および近距離無線通信部を備える印刷装置であって、
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示された場合、前記有線通信部を有効化し、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示された場合、前記無線通信部を有効化する制御手段と、
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されており、かつ、前記通信相手装置が接続しているネットワークに前記印刷装置の前記無線通信部が接続している場合、前記近距離無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記印刷装置の前記近距離無線通信部と前記通信相手装置の間で前記近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置が接続しているネットワークに前記印刷装置の前記無線通信部が接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段を有し、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする印刷装置。
A printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
When instructed to activate the wired communication unit using the display unit of the printing apparatus, the wired communication unit is activated, and the wireless communication unit is activated using the display unit of the printing apparatus. Is instructed, control means for enabling the wireless communication unit,
Near field communication is performed between the near field communication unit of the printing device and the communication partner device, the wireless communication unit of the printing device is enabled, and the communication partner device is connected. If the wireless communication unit of the printing device is connected to a network that is running, the print data is received via the network from the communication partner device that has performed the short-range wireless communication,
The short-range wireless communication is performed between the short-range wireless communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication partner When the wireless communication unit of the printing apparatus is not connected to a network to which the apparatus is connected, the wireless communication of the communication partner apparatus and the printing apparatus established by the printing apparatus executing a communication control process Receiving means for receiving print data from the communication counterpart device via a direct connection between copies;
Print control means for executing print processing based on the print data;
The printing apparatus according to claim 1, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
有線通信部、無線通信部および近距離無線通信部を備える印刷装置であって、
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示された場合、前記有線通信部を有効化し、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示された場合、前記無線通信部を有効化する制御手段と、
前記印刷装置の前記近距離無線通信部と信相手装置の間で距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段を有し、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする印刷装置。
A printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
When instructed to activate the wired communication unit using the display unit of the printing apparatus, the wired communication unit is activated, and the wireless communication unit is activated using the display unit of the printing apparatus. Is instructed, control means for enabling the wireless communication unit,
The printing said proximal distance wireless communication between the wireless communication unit and the communication counterpart device of the apparatus is executed, and the wireless communication unit has not been activated for the printing device and the communication partner device And the wireless communication unit of the printing apparatus are not connected to the same network, the direct communication between the communication partner apparatus established by the printing apparatus executing communication control processing and the wireless communication part of the printing apparatus Receiving means for receiving print data from the communication partner device via a connection;
Print control means for executing print processing based on the print data;
The printing apparatus according to claim 1, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
有線通信部、無線通信部および近距離無線通信部を備える印刷装置であって、A printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示されたことに基づいて前記有線通信部を有効化して前記無線通信部を有効化せず、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示されたことに基づいて前記無線通信部を有効化して前記有線通信部を有効化しない制御手段と、The display unit of the printing apparatus does not activate the wireless communication unit by enabling the wired communication unit based on an instruction to activate the wired communication unit using the display unit of the printing apparatus. Control means for activating the wireless communication unit and not activating the wired communication unit based on an instruction to activate the wireless communication unit using
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、Near field communication is performed between the near field communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication apparatus When the wireless communication unit of the printing device is not connected to the same network, the direct connection between the communication partner device and the wireless communication unit of the printing device established by the printing device executing communication control processing Receiving means for receiving print data from the communication partner device via
前記印刷データに基づいて印刷処理を実行する印刷制御手段を有し、Print control means for executing print processing based on the print data;
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする印刷装置。The printing apparatus according to claim 1, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
前記印刷装置の表示部は、前記印刷装置の操作パネルであることを特徴とする請求項1乃至3のいずれか1項に記載の印刷装置。 The printed display unit of the apparatus, the printing apparatus according to any one of claims 1 to 3, characterized in that an operation panel of the printing apparatus. 無線通信部および近距離無線通信部を備える印刷装置であって、
前記無線通信部を有効化するユーザ指示を受け付ける受付手段と、
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されており、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続している場合、前記近距離無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記印刷装置の前記近距離無線通信部と前記通信相手装置の間で前記近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段を有し、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする印刷装置。
A printing apparatus including a wireless communication unit and a short-range wireless communication unit,
Accepting means for accepting a user instruction to validate the wireless communication unit;
Near field communication is performed between the near field communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is enabled, and the communication partner apparatus and the communication partner apparatus When the wireless communication unit of the printing apparatus is connected to the same network, print data is received via the network from the communication partner apparatus that has executed the short-range wireless communication,
The short-range wireless communication is performed between the short-range wireless communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication partner When the apparatus and the wireless communication unit of the printing apparatus are not connected to the same network, the printing apparatus establishes communication control processing between the communication partner apparatus and the wireless communication part of the printing apparatus. Receiving means for receiving print data from the communication partner device via a direct connection;
Print control means for executing print processing based on the print data;
The printing apparatus according to claim 1, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
前記無線通信部を有効化するユーザ指示は前記印刷装置の操作パネルを介して受け付けられることを特徴とする請求項に記載の印刷装置。 The printing apparatus according to claim 5 , wherein a user instruction to activate the wireless communication unit is received via an operation panel of the printing apparatus. 前記近距離無線通信部は、Near Field Communication(NFC)通信を実行することを特徴とする請求項1乃至のいずれか1項に記載の印刷装置。 The short-range wireless communication unit, Near Field Communication (NFC) printing apparatus according to any one of claims 1 to 6, characterized in that to perform the communication. 前記近距離無線通信部は、ブルートゥース(登録商標)通信を実行することを特徴とする請求項1乃至のいずれか1項に記載の印刷装置。 The short-range wireless communication unit, Bluetooth printing apparatus according to any one of claims 1 to 6, characterized in that to perform the communication. 前記印刷制御手段はインクジェット方式により前記印刷処理を実行することを特徴とする請求項1乃至のいずれか1項に記載の印刷装置。 It said print control means printing apparatus according to any one of claims 1 to 8, wherein performing said printing process by an ink jet method. 前記ダイレクト接続はWiFiダイレクトであることを特徴とする請求項1乃至のいずれか1項に記載の印刷装置。 The direct connection printing apparatus according to any one of claims 1 to 9, characterized in that it is a WiFi Direct. 前記近距離無線通信部を用いてMACアドレスが前記通信相手装置に送信されることを特徴とする請求項1乃至10のいずれか1項に記載の印刷装置。 Printing apparatus according to any one of claims 1 to 10, characterized in that MAC address by using the short-range wireless communication unit is transmitted to the communication partner device. 前記通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続は、前記印刷処理の終了後に切断されることを特徴とする請求項1乃至11のいずれか1項に記載の印刷装置。 Direct connection between the wireless communication unit of the printing apparatus to have been established the communication partner apparatus by executing the communication control processing according to claim 1 to 11, characterized in that it is cut after completion of the printing process The printing apparatus according to any one of the above. 前記操作パネルはタッチパネルであることを特徴とする請求項またはに記載の印刷装置。 The printing apparatus according to claim 4 or 6, wherein the operation panel is a touch panel. 前記操作パネルを含む部材とスキャン処理のために文書を配置する原稿面の間の角度が変更可能であることを特徴とする請求項13に記載の印刷装置。 The printing apparatus according to claim 13 , wherein an angle between a member including the operation panel and a document surface on which a document is arranged for scanning processing can be changed. 有線通信部、無線通信部および近距離無線通信部を備える印刷装置のコンピュータを、
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示された場合、前記有線通信部を有効化し、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示された場合、前記無線通信部を有効化する制御手段と、
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されており、かつ、前記通信相手装置が接続しているネットワークに前記印刷装置の前記無線通信部が接続している場合、前記近距離無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記印刷装置の前記近距離無線通信部と前記通信相手装置の間で前記近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置が接続しているネットワークに前記印刷装置の前記無線通信部が接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段として機能させ、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする前記コンピュータが読み取り可能なプログラム。
A computer of a printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
When instructed to activate the wired communication unit using the display unit of the printing apparatus, the wired communication unit is activated, and the wireless communication unit is activated using the display unit of the printing apparatus. Is instructed, control means for enabling the wireless communication unit,
Near field communication is performed between the near field communication unit of the printing device and the communication partner device, the wireless communication unit of the printing device is enabled, and the communication partner device is connected. If the wireless communication unit of the printing device is connected to a network that is running, the print data is received via the network from the communication partner device that has performed the short-range wireless communication,
The short-range wireless communication is performed between the short-range wireless communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication partner When the wireless communication unit of the printing apparatus is not connected to a network to which the apparatus is connected, the wireless communication of the communication partner apparatus and the printing apparatus established by the printing apparatus executing a communication control process Receiving means for receiving print data from the communication counterpart device via a direct connection between copies;
Function as print control means for executing print processing based on the print data;
The computer-readable program, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
有線通信部、無線通信部および近距離無線通信部を備える印刷装置のコンピュータを、
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示された場合、前記有線通信部を有効化し、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示された場合、前記無線通信部を有効化する制御手段と、
前記印刷装置の前記近距離無線通信部と信相手装置の間で距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段として機能させ、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする前記コンピュータが読取可能なプログラム。
A computer of a printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
When instructed to activate the wired communication unit using the display unit of the printing apparatus, the wired communication unit is activated, and the wireless communication unit is activated using the display unit of the printing apparatus. Is instructed, control means for enabling the wireless communication unit,
The printing said proximal distance wireless communication between the wireless communication unit and the communication counterpart device of the apparatus is executed, and the wireless communication unit has not been activated for the printing device and the communication partner device And the wireless communication unit of the printing apparatus are not connected to the same network, the direct communication between the communication partner apparatus established by the printing apparatus executing communication control processing and the wireless communication part of the printing apparatus Receiving means for receiving print data from the communication partner device via a connection;
Function as print control means for executing print processing based on the print data;
The computer-readable program, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
有線通信部、無線通信部および近距離無線通信部を備える印刷装置のコンピュータを、A computer of a printing apparatus including a wired communication unit, a wireless communication unit, and a near field communication unit,
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示されたことに基づいて前記有線通信部を有効化して前記無線通信部を有効化せず、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示されたことに基づいて前記無線通信部を有効化して前記有線通信部を有効化しない制御手段と、The display unit of the printing apparatus does not activate the wireless communication unit by enabling the wired communication unit based on an instruction to activate the wired communication unit using the display unit of the printing apparatus. Control means for activating the wireless communication unit and not activating the wired communication unit based on an instruction to activate the wireless communication unit using
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、Near field communication is performed between the near field communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication apparatus When the wireless communication unit of the printing device is not connected to the same network, the direct connection between the communication partner device and the wireless communication unit of the printing device established by the printing device executing communication control processing Receiving means for receiving print data from the communication partner device via
前記印刷データに基づいて印刷処理を実行する印刷制御手段として機能させ、Function as print control means for executing print processing based on the print data;
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする前記コンピュータが読取可能なプログラム。The computer-readable program, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
前記印刷装置の表示部は、前記印刷装置の操作パネルであることを特徴とする請求項15乃至17のいずれか1項に記載のプログラム。 The program according to claim 15 , wherein the display unit of the printing apparatus is an operation panel of the printing apparatus. 無線通信部および近距離無線通信部を備える印刷装置のコンピュータを、
前記無線通信部を有効化するユーザ指示を受け付ける受付手段と、
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されており、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続している場合、前記近距離無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記印刷装置の前記近距離無線通信部と前記通信相手装置の間で前記近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信手段と、
前記印刷データに基づいて印刷処理を実行する印刷制御手段として機能させ、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする前記コンピュータが読み取り可能なプログラム。
A computer of a printing apparatus including a wireless communication unit and a short-range wireless communication unit,
Accepting means for accepting a user instruction to validate the wireless communication unit;
Near field communication is performed between the near field communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is enabled, and the communication partner apparatus and the communication partner apparatus When the wireless communication unit of the printing apparatus is connected to the same network, print data is received via the network from the communication partner apparatus that has executed the short-range wireless communication,
The short-range wireless communication is performed between the short-range wireless communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication partner When the apparatus and the wireless communication unit of the printing apparatus are not connected to the same network, the printing apparatus establishes communication control processing between the communication partner apparatus and the wireless communication part of the printing apparatus. Receiving means for receiving print data from the communication partner device via a direct connection;
Function as print control means for executing print processing based on the print data;
The computer-readable program, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
前記無線通信部を有効化するユーザ指示は前記印刷装置の操作パネルを介して受け付けられることを特徴とする請求項19に記載のプログラム。 The program according to claim 19 , wherein a user instruction for enabling the wireless communication unit is received via an operation panel of the printing apparatus. 前記近距離無線通信部は、Near Field Communication(NFC)通信を実行することを特徴とする請求項15乃至20のいずれか1項に記載のプログラム。 The program according to any one of claims 15 to 20 , wherein the short-range wireless communication unit executes Near Field Communication (NFC) communication. 前記近距離無線通信部は、ブルートゥース(登録商標)通信を実行することを特徴とする請求項15乃至20のいずれか1項に記載のプログラム。 The short-range wireless communication unit, the Bluetooth (registered trademark) program according to any one of claims 15 to 20, characterized in that to perform the communication. 前記印刷制御手段はインクジェット方式により前記印刷処理を実行することを特徴とする請求項15乃至22のいずれか1項に記載のプログラム。 The program according to any one of claims 15 to 22 , wherein the printing control unit executes the printing process by an inkjet method. 前記ダイレクト接続はWiFiダイレクトであることを特徴とする請求項15乃至23のいずれか1項に記載のプログラム。 The program according to any one of claims 15 to 23 , wherein the direct connection is WiFi direct. 前記近距離無線通信部を用いてMACアドレスが前記通信相手装置に送信されることを特徴とする請求項15乃至24のいずれか1項に記載のプログラム。 The program according to any one of claims 15 to 24 , wherein a MAC address is transmitted to the communication partner apparatus using the short-range wireless communication unit. 前記通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続は、前記印刷処理の終了後に切断されることを特徴とする請求項15乃至25のいずれか1項に記載のプログラム。 Direct connection between the wireless communication unit of the printing apparatus to have been established the communication partner apparatus by executing the communication control processing, claims 15 to 25, characterized in that it is cut after completion of the printing process The program according to any one of the above. 前記操作パネルはタッチパネルであることを特徴とする請求項18または20に記載のプログラム。 The program according to claim 18 or 20 , wherein the operation panel is a touch panel. 前記操作パネルを含む部材とスキャン処理のために文書を配置する原稿面の間の角度が変更可能であることを特徴とする請求項27に記載のプログラム。 28. The program according to claim 27 , wherein an angle between a member including the operation panel and a document surface on which a document is arranged for scanning processing can be changed. 有線通信部、無線通信部および近距離無線通信部を備える印刷装置の制御方法であって、
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示された場合、前記有線通信部を有効化し、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示された場合、前記無線通信部を有効化する制御工程と、
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されており、かつ、前記通信相手装置が接続しているネットワークに前記印刷装置の前記無線通信部が接続している場合、前記近距離無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記印刷装置の前記近距離無線通信部と前記通信相手装置の間で前記近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置が接続しているネットワークに前記印刷装置の前記無線通信部が接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信工程と、
前記印刷データに基づいて印刷処理を実行する印刷制御工程を有し、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする印刷装置の制御方法。
A method for controlling a printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
When instructed to activate the wired communication unit using the display unit of the printing apparatus, the wired communication unit is activated, and the wireless communication unit is activated using the display unit of the printing apparatus. Is instructed, a control step of enabling the wireless communication unit,
Near field communication is performed between the near field communication unit of the printing device and the communication partner device, the wireless communication unit of the printing device is enabled, and the communication partner device is connected. If the wireless communication unit of the printing device is connected to a network that is running, the print data is received via the network from the communication partner device that has performed the short-range wireless communication,
The short-range wireless communication is performed between the short-range wireless communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication partner When the wireless communication unit of the printing apparatus is not connected to a network to which the apparatus is connected, the wireless communication of the communication partner apparatus and the printing apparatus established by the printing apparatus executing a communication control process A receiving step of receiving print data from the communication counterpart device via a direct connection between the copies;
A print control step of executing a print process based on the print data;
A printing apparatus control method, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
有線通信部、無線通信部および近距離無線通信部を備える印刷装置の制御方法であって、
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示された場合、前記有線通信部を有効化し、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示された場合、前記無線通信部を有効化する制御工程と、
前記印刷装置の前記近距離無線通信部と信相手装置の間で距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信工程と、
前記印刷データに基づいて印刷処理を実行する印刷制御工程を有し、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする印刷装置の制御方法。
A method for controlling a printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
When instructed to activate the wired communication unit using the display unit of the printing apparatus, the wired communication unit is activated, and the wireless communication unit is activated using the display unit of the printing apparatus. Is instructed, a control step of enabling the wireless communication unit,
The printing said proximal distance wireless communication between the wireless communication unit and the communication counterpart device of the apparatus is executed, and the wireless communication unit has not been activated for the printing device and the communication partner device And the wireless communication unit of the printing apparatus are not connected to the same network, the direct communication between the communication partner apparatus established by the printing apparatus executing communication control processing and the wireless communication part of the printing apparatus A receiving step of receiving print data from the communication partner device via a connection;
A print control step of executing a print process based on the print data;
A printing apparatus control method, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
有線通信部、無線通信部および近距離無線通信部を備える印刷装置の制御方法であって、A method for controlling a printing apparatus including a wired communication unit, a wireless communication unit, and a short-range wireless communication unit,
前記印刷装置の表示部を用いて前記有線通信部を有効化することが指示されたことに基づいて前記有線通信部を有効化して前記無線通信部を有効化せず、前記印刷装置の表示部を用いて前記無線通信部を有効化することが指示されたことに基づいて前記無線通信部を有効化して前記有線通信部を有効化しない制御工程と、The display unit of the printing apparatus does not activate the wireless communication unit by enabling the wired communication unit based on an instruction to activate the wired communication unit using the display unit of the printing apparatus. A control step of activating the wireless communication unit and not activating the wired communication unit based on an instruction to activate the wireless communication unit using
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信工程と、Near field communication is performed between the near field communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication apparatus When the wireless communication unit of the printing device is not connected to the same network, the direct connection between the communication partner device and the wireless communication unit of the printing device established by the printing device executing communication control processing A receiving step of receiving print data from the communication partner device via
前記印刷データに基づいて印刷処理を実行する印刷制御工程を有し、A print control step of executing a print process based on the print data;
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする印刷装置の制御方法。A printing apparatus control method, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
無線通信部および近距離無線通信部を備える印刷装置の制御方法であって、
前記無線通信部を有効化するユーザ指示を受け付ける受付工程と、
前記印刷装置の前記近距離無線通信部と通信相手装置の間で近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されており、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続している場合、前記近距離無線通信を実行した前記通信相手装置から前記ネットワークを介して印刷データを受信し、
前記印刷装置の前記近距離無線通信部と前記通信相手装置の間で前記近距離無線通信が実行され、かつ、前記印刷装置の前記無線通信部が有効化されておらず、かつ、前記通信相手装置と前記印刷装置の前記無線通信部が同一ネットワークに接続していない場合、前記印刷装置が通信制御処理を実行することで確立された前記通信相手装置と前記印刷装置の前記無線通信部間のダイレクト接続を介して前記通信相手装置から印刷データを受信する受信工程と、
前記印刷データに基づいて印刷処理を実行する印刷制御工程を有し、
前記近距離無線通信の通信速度は、前記無線通信部により実行される無線通信の通信速度よりも遅いことを特徴とする印刷装置の制御方法。
A method for controlling a printing apparatus including a wireless communication unit and a short-range wireless communication unit,
Accepting a user instruction to validate the wireless communication unit;
Near field communication is performed between the near field communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is enabled, and the communication partner apparatus and the communication partner apparatus When the wireless communication unit of the printing apparatus is connected to the same network, print data is received via the network from the communication partner apparatus that has executed the short-range wireless communication,
The short-range wireless communication is performed between the short-range wireless communication unit of the printing apparatus and the communication partner apparatus, the wireless communication unit of the printing apparatus is not activated, and the communication partner When the apparatus and the wireless communication unit of the printing apparatus are not connected to the same network, the printing apparatus establishes communication control processing between the communication partner apparatus and the wireless communication part of the printing apparatus. A receiving step of receiving print data from the communication counterpart device via a direct connection;
A print control step of executing a print process based on the print data;
A printing apparatus control method, wherein a communication speed of the short-range wireless communication is slower than a communication speed of wireless communication executed by the wireless communication unit.
JP2018157499A 2018-08-24 2018-08-24 Printing apparatus, control method therefor, and program Active JP6622874B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018157499A JP6622874B2 (en) 2018-08-24 2018-08-24 Printing apparatus, control method therefor, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018157499A JP6622874B2 (en) 2018-08-24 2018-08-24 Printing apparatus, control method therefor, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014139166A Division JP6401523B2 (en) 2014-07-04 2014-07-04 COMMUNICATION DEVICE, TERMINAL DEVICE, ITS CONTROL METHOD AND PROGRAM, AND NETWORK PROCESSING SYSTEM

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019210607A Division JP6869314B2 (en) 2019-11-21 2019-11-21 Communication equipment and its control method and program

Publications (2)

Publication Number Publication Date
JP2019049971A JP2019049971A (en) 2019-03-28
JP6622874B2 true JP6622874B2 (en) 2019-12-18

Family

ID=65905667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018157499A Active JP6622874B2 (en) 2018-08-24 2018-08-24 Printing apparatus, control method therefor, and program

Country Status (1)

Country Link
JP (1) JP6622874B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4902254B2 (en) * 2006-04-20 2012-03-21 株式会社リコー Wireless communication apparatus and information processing apparatus
JP5522471B2 (en) * 2010-09-30 2014-06-18 ブラザー工業株式会社 Device and program
JP5941300B2 (en) * 2012-03-05 2016-06-29 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program
JP5962146B2 (en) * 2012-03-30 2016-08-03 ブラザー工業株式会社 Communication device

Also Published As

Publication number Publication date
JP2019049971A (en) 2019-03-28

Similar Documents

Publication Publication Date Title
JP6401523B2 (en) COMMUNICATION DEVICE, TERMINAL DEVICE, ITS CONTROL METHOD AND PROGRAM, AND NETWORK PROCESSING SYSTEM
EP2637092B1 (en) Information processing apparatus, control method of information processing apparatus, and program thereof
JP6399825B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, PROGRAM, AND CONTROL METHOD
CN108377458B (en) Wireless communication device, control method thereof, and recording medium
JP2016012910A (en) Communication equipment, control method, and program
JP6452313B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
CN110572881B (en) Communication apparatus and control method thereof
JP2015032037A (en) Network system, mobile terminal, information processing device, and control method
WO2020137164A1 (en) Communication device, method of controlling same, and program
JP2023112032A (en) Communication device, control method, and program
JP6622874B2 (en) Printing apparatus, control method therefor, and program
JP7146009B2 (en) Communication device and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180824

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190920

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191122

R151 Written notification of patent or utility model registration

Ref document number: 6622874

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151