JP2019001106A - Communication device, control method, and program - Google Patents

Communication device, control method, and program Download PDF

Info

Publication number
JP2019001106A
JP2019001106A JP2017119067A JP2017119067A JP2019001106A JP 2019001106 A JP2019001106 A JP 2019001106A JP 2017119067 A JP2017119067 A JP 2017119067A JP 2017119067 A JP2017119067 A JP 2017119067A JP 2019001106 A JP2019001106 A JP 2019001106A
Authority
JP
Japan
Prior art keywords
communication
communication device
state
communication apparatus
information processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017119067A
Other languages
Japanese (ja)
Other versions
JP6904799B2 (en
Inventor
琢志 福元
Takushi Fukumoto
琢志 福元
渡邉 期子
Tokiko Watanabe
期子 渡邉
鈴木 健
Takeshi Suzuki
健 鈴木
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 JP2017119067A priority Critical patent/JP6904799B2/en
Publication of JP2019001106A publication Critical patent/JP2019001106A/en
Priority to JP2021103695A priority patent/JP7062814B2/en
Application granted granted Critical
Publication of JP6904799B2 publication Critical patent/JP6904799B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Ink Jet (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

To provide a communication device, a control method, and a program, which can execute connection processing at an appropriate timing when an object to be mounted is mounted in the communication device in a state in which the communication device is not capable of executing a prescribed operation to receive an operation for mounting the object to be mounted from a user.SOLUTION: A communication device includes execution means which executes detection processing for detecting an error on the basis of mounting of a prescribed object to be mounted and connection setting processing for connecting the communication device to an information processor on the basis of the transfer of the communication device from a second state to a first state. When the prescribed object to be mounted is mounted in the communication device in the second state of the communication device, the detection processing is executed after the connection setting processing is executed.SELECTED DRAWING: Figure 3

Description

本発明は、通信装置、制御方法およびプログラムに関する。   The present invention relates to a communication device, a control method, and a program.

記録ヘッドのような被取り付け物を取り付け可能な通信装置が知られている。このような通信装置は、被取り付け物を取り付けるための操作をユーザが容易に行えるように、当該操作をユーザから受け付けるための所定の動作を実行する。   There is known a communication device to which an object to be attached such as a recording head can be attached. Such a communication apparatus performs a predetermined operation for receiving the operation from the user so that the user can easily perform an operation for attaching the attachment object.

特許文献1には、カバーセンサによりカバーの開放を検出すると、キャリアをキャリア移動手段によりインクカートリッジを交換するためのカートリッジ交換位置であるカバーに対向する位置へ移動させることが記載されている。   Japanese Patent Application Laid-Open No. H10-228561 describes that when the cover sensor detects the opening of the cover, the carrier is moved to a position facing the cover, which is a cartridge replacement position for replacing the ink cartridge, by the carrier moving means.

特開2008−105333号公報JP 2008-105333 A

ところで通信装置は、被取り付け物を取り付けるための操作をユーザから受け付けるための所定の動作を、省電力状態である等の理由により実行できないことがある。そして、通信装置が当該所定の動作を実行できない状態であるにもかかわらず、ユーザによって被取り付け物の取り付けが無理やり行われてしまうことがある。   By the way, the communication apparatus may not be able to execute a predetermined operation for receiving an operation for attaching an attachment from a user because of a power saving state or the like. And although a communication apparatus is in the state which cannot perform the said predetermined | prescribed operation | movement, attachment of a to-be-attached object may be performed by a user forcibly.

通信装置が当該所定の動作を実行できない状態で、ユーザによって被取り付け物の取り付けが無理やり行われると、被取り付け物の取り付けに基づいてエラーが生じる可能性が高い。そしてエラーが生じた場合には、例えば通信装置と通信する情報処理装置(パーソナルコンピュータ等)に、エラーが生じたことが通知されることが好ましい。しかしながら、情報処理装置と接続するための接続処理が実行されていない状態では、通信装置は、エラーが生じたことを情報処理装置に通知することができないという課題がある。   If the user forcibly attaches the attachment in a state where the communication apparatus cannot perform the predetermined operation, there is a high possibility that an error will occur based on the attachment of the attachment. When an error occurs, it is preferable that an information processing apparatus (such as a personal computer) that communicates with the communication apparatus is notified that the error has occurred. However, in a state where connection processing for connecting to the information processing apparatus is not executed, there is a problem that the communication apparatus cannot notify the information processing apparatus that an error has occurred.

そこで本発明は、被取り付け物を取り付けるための操作をユーザから受け付けるための所定の動作を通信装置が実行できない状態で、通信装置に被取り付け物が取り付けられた場合に、接続処理を適切なタイミングで実行することを目的とする。   Therefore, the present invention provides an appropriate timing for connection processing when an attachment is attached to the communication device in a state where the communication device cannot execute a predetermined operation for accepting an operation for attaching the attachment from the user. The purpose is to run on.

そこで、上記目的を達成するために、本発明の通信装置は、
所定の被取り付け物の取り付けのための操作をユーザから受け付けるための所定の動作を実行する第1の状態と、前記所定の動作を実行しない第2の状態を含む複数の状態のうちいずれかで動作する通信装置であって、
前記所定の被取り付け物の取り付けに基づくエラーを検知するための検知処理及び、前記通信装置と情報処理装置とを接続させるための接続設定処理を、前記通信装置が前記第2の状態から前記第1の状態に移行したことに基づいて実行する実行手段と、
前記検知処理によって前記エラーが検知された場合、前記接続設定処理によって前記通信装置と接続した前記情報処理装置に、前記検知処理によって検知された前記エラーをユーザに通知するための情報を送信する送信手段と、を有し、
前記通信装置が前記第2の状態で、前記所定の被取り付け物が前記通信装置に取り付けられた場合、前記接続設定処理が実行された後、前記検知処理が実行されることを特徴とする。
Therefore, in order to achieve the above object, the communication device of the present invention provides:
One of a plurality of states including a first state in which a predetermined operation for receiving an operation for attaching a predetermined attachment from a user is executed and a second state in which the predetermined operation is not executed An operating communication device,
The communication device performs a detection process for detecting an error based on the attachment of the predetermined attachment and a connection setting process for connecting the communication device and the information processing device from the second state to the first state. Execution means for executing based on the transition to the state 1;
When the error is detected by the detection process, transmission for transmitting information for notifying the user of the error detected by the detection process to the information processing apparatus connected to the communication apparatus by the connection setting process Means,
When the communication apparatus is in the second state and the predetermined attachment is attached to the communication apparatus, the detection process is executed after the connection setting process is executed.

本発明によれば、被取り付け物を取り付けるための操作をユーザから受け付けるための所定の動作を通信装置が実行できない状態で、通信装置に被取り付け物が取り付けられた場合に、接続処理を適切なタイミングで実行することができる。   According to the present invention, when the attachment device is attached to the communication device in a state where the communication device cannot execute a predetermined operation for accepting an operation for attaching the attachment object from the user, an appropriate connection process is performed. Can be executed at the timing.

通信装置の概略構成を示すブロック図Block diagram showing schematic configuration of communication device 通信装置と接続する情報処理装置の概略構成を示すブロック図A block diagram showing a schematic configuration of an information processing apparatus connected to a communication apparatus 通信装置が行う処理の流れを示すフローチャートThe flowchart which shows the flow of the process which a communication apparatus performs 情報処理装置が行う処理の流れを示すフローチャートThe flowchart which shows the flow of the process which information processing apparatus performs

(第1実施形態)
以下に図面を参照して、本発明の好適な実施形態を例示的に説明する。ただし、本発明については、その趣旨を逸脱しない範囲で、当業者の通常の知識に基づいて、以下に記載する実施形態に対して適宜変更、改良が加えられたものについても本発明の範囲に入ることが理解されるべきである。
(First embodiment)
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, exemplary embodiments of the invention will be described with reference to the drawings. However, within the scope of the present invention, the present invention includes modifications and improvements appropriately made to the embodiments described below based on the ordinary knowledge of those skilled in the art without departing from the spirit of the present invention. It should be understood to enter.

図1を用いて、本実施形態に係る通信装置について説明する。通信装置として、本実施形態ではプリンタ(印刷装置)を例示しているが、これに限定されず、後述の情報処理装置と接続を行うことが可能な装置であれば、種々のものを適用可能である。例えば、プリンタであれば、インクジェットプリンタ、フルカラーレーザービームプリンタ、モノクロプリンタ等に適用することができる。またプリンタのみならず複写機やファクシミリ装置、携帯端末、スマートホン、PC(パーソナルコンピュータ)、タブレット端末、PDA(Personal Digital Assistant)、デジタルカメラ、スマートスピーカ等にも適用可能である。なお、スマートスピーカとは、ユーザが発する音声に従って、同一のネットワークに存在する機器に対して処理を指示したり、ユーザが発する音声に対応して、ネットワークを介して取得した情報をユーザに通知したりするための装置である。その他、複写機能、FAX機能、印刷機能を備える複合機にも適用可能である。また、情報処理装置として、本実施形態ではPCを例示しているが、これに限定されず、携帯端末、スマートホン、タブレット端末、PDA、デジタルカメラ等、種々のものを適用可能である。   A communication apparatus according to the present embodiment will be described with reference to FIG. In this embodiment, a printer (printing device) is exemplified as the communication device. However, the present invention is not limited to this, and various devices can be applied as long as they can be connected to an information processing device described later. It is. For example, a printer can be applied to an ink jet printer, a full color laser beam printer, a monochrome printer, and the like. Further, it can be applied not only to a printer but also to a copying machine, a facsimile machine, a portable terminal, a smart phone, a PC (personal computer), a tablet terminal, a PDA (Personal Digital Assistant), a digital camera, a smart speaker, and the like. A smart speaker is a device that gives instructions to a device in the same network in accordance with the voice uttered by the user or notifies the user of information acquired via the network in response to the voice uttered by the user. It is a device for. In addition, the present invention can also be applied to a multifunction machine having a copying function, a FAX function, and a printing function. Moreover, although PC is illustrated in this embodiment as information processing apparatus, it is not limited to this, Various things, such as a portable terminal, a smart phone, a tablet terminal, PDA, a digital camera, are applicable.

まず、本発明の通信装置の構成について図1のブロック図を参照して説明する。また、本実施形態では以下の構成を例に記載するが、本実施形態は情報処理装置と接続を行うことが可能な通信装置に関して適用可能なものであり、特にこの図のとおりに機能を限定するものではない。   First, the configuration of the communication apparatus of the present invention will be described with reference to the block diagram of FIG. Further, in the present embodiment, the following configuration is described as an example, but the present embodiment is applicable to a communication device that can be connected to an information processing device, and the function is limited particularly as shown in this figure. Not what you want.

CPU101は、システム制御部であり、通信装置100の全体を制御する。   The CPU 101 is a system control unit and controls the entire communication device 100.

ROM102は、CPU101が実行する制御プログラムやデータテーブル、組み込みオペレーティングシステム(OS)プログラム等の固定データを格納する。本発明では、ROM102に格納されている各制御プログラムは、ROM102に格納されている組み込みOSプログラムの管理下で、スケジューリングやタスクスイッチ、割り込み処理等のソフトウェア実行制御等を行う。   The ROM 102 stores fixed data such as a control program executed by the CPU 101, a data table, and an embedded operating system (OS) program. In the present invention, each control program stored in the ROM 102 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS program stored in the ROM 102.

RAM103は、バックアップ電源を必要とするSRAM(Static Random Access Memory)等で構成され、図示しないデータバックアップ用の1次電池によってデータが保持されている。RAM103は、プログラム制御変数等を格納する。また、RAM103には、無線LAN設定などユーザが登録した設定値や通信装置100の管理データ、電源投入後の最初の通信装置100の設定時(以下、初期設定時)か否かを示す情報等を格納するメモリエリアも設けられている。なお、初期設定時とは言い換えれば、通信装置100が後述の初期設定時クリーニング処理を一度も実行していない初期設定状態である時である。   The RAM 103 is configured by an SRAM (Static Random Access Memory) that requires a backup power source, and data is held by a primary battery for data backup (not shown). The RAM 103 stores program control variables and the like. The RAM 103 also stores setting values registered by the user, such as wireless LAN settings, management data of the communication apparatus 100, information indicating whether or not the first communication apparatus 100 is set after power-on (hereinafter, initial setting), and the like. Is also provided. In other words, the initial setting time is a time when the communication apparatus 100 is in an initial setting state in which the initial setting cleaning process described later has not been executed.

画像メモリ104は、DRAM(Dynamic Random Access Memory)等で構成され、画像データを蓄積する。また、画像メモリ104には、一部の領域がソフトウェア処理の実行のためのワークエリアとして確保されている。   The image memory 104 is configured by a DRAM (Dynamic Random Access Memory) or the like, and stores image data. In the image memory 104, a part of the area is secured as a work area for executing software processing.

データ変換部105は、ページ記述言語(PDL:Page Description Language)等の解析や、キャラクタデータのCG(Computer Graphics)展開等、画像データの生成を行う。また、データ変換部105は、情報処理装置200から受信した圧縮済みの画像データを伸長する処理を行っても良い。   The data conversion unit 105 generates image data such as analysis of a page description language (PDL) and development of CG (Computer Graphics) of character data. In addition, the data conversion unit 105 may perform a process of decompressing the compressed image data received from the information processing apparatus 200.

読取部107は、CISイメージセンサ等によって原稿を光学的に読み取る。   The reading unit 107 optically reads a document with a CIS image sensor or the like.

読取制御部106は、読取部107が読み取った画像を電気的な画像データに変換し、図示しない画像処理制御部を介して、2値化処理や中間調処理等の各種画像処理を施し、高精細な画像データを出力する。なお、読取制御部106、読取部107は、下記の2つの方式のどちらの制御方式を利用してもよい。第1の方式は、原稿を搬送しながら、固定されているCISイメージセンサで読み取りを行うシート読取制御方式である。また、第2の方式は、原稿台に固定されている原稿を、移動するCISイメージセンサでスキャンするブック読取制御方式である。   The reading control unit 106 converts the image read by the reading unit 107 into electrical image data, and performs various image processing such as binarization processing and halftone processing via an image processing control unit (not shown). Output fine image data. Note that the reading control unit 106 and the reading unit 107 may use either of the following two control methods. The first method is a sheet reading control method that performs reading with a fixed CIS image sensor while conveying a document. The second method is a book reading control method in which a document fixed on a document table is scanned with a moving CIS image sensor.

表示操作部108は、数値入力キー、モード設定キー、決定キー、取り消しキー等のキーと、LED(発光ダイオード)やLCD(液晶ディスプレイ)などから構成される。本実施形態では、情報を表示するための表示部はLEDによるセグメントディスプレイで構成されており、ユーザからの操作を受け付けるキーは物理ボタンで構成されているものとする。通信装置100は、表示操作部108を介してユーザによって操作されることで、通信装置100の各種機能の起動や各種設定を行うことができる。なお、表示操作部108は、LEDやLCDで構成される表示部がない構成としても良い。また、本実施形態のように、LEDで構成される表示部はあるが、LCDで構成される表示部がない構成としても良い。   The display operation unit 108 includes keys such as a numeric input key, a mode setting key, a determination key, and a cancel key, an LED (light emitting diode), an LCD (liquid crystal display), and the like. In the present embodiment, it is assumed that the display unit for displaying information is configured by a segment display using LEDs, and keys for receiving operations from the user are configured by physical buttons. The communication device 100 can be activated and set for various functions of the communication device 100 by being operated by the user via the display operation unit 108. Note that the display operation unit 108 may be configured without a display unit constituted by an LED or an LCD. Further, as in the present embodiment, there is a display unit configured by LEDs, but a configuration without a display unit configured by LCD may be employed.

FAX通信制御部109は、電話回線に接続し、図示しないFAX機との間でFAX画像の送受信を行う。   A FAX communication control unit 109 connects to a telephone line and transmits / receives a FAX image to / from a FAX machine (not shown).

解像度変換処理部110は、ミリ系の画像データとインチ系の画像データの相互変換や拡大縮小処理等の解像度変換制御を行う。   The resolution conversion processing unit 110 performs resolution conversion control such as mutual conversion and enlargement / reduction processing of millimeter image data and inch image data.

符号復号化処理部111は、通信装置100で扱う画像データ(非圧縮、MH、MR、MMR、JBIG、JPEG等)の符号復号化処理や、拡大縮小処理を行う。記録制御部112は、印刷される画像データに対し、図示しない画像処理制御部を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を施すことにより、高精細な画像データに変換し、記録部113に出力する。   The code decoding processing unit 111 performs code decoding processing and enlargement / reduction processing of image data (uncompressed, MH, MR, MMR, JBIG, JPEG, etc.) handled by the communication apparatus 100. The recording control unit 112 performs high-definition image data by performing various types of image processing such as smoothing processing, recording density correction processing, and color correction on the image data to be printed via an image processing control unit (not shown). The data is converted and output to the recording unit 113.

記録部113は、レーザビームプリンタやインクジェットプリンタ等からなる記録部であり、記録制御部112で生成したカラー画像データ、またはモノクロ画像データに基づき、記録媒体上に記録剤を付加することによって画像を印刷する。なお、使用される記録媒体は紙に限定されず、フィルム等の種々の媒体が利用されて良い。また、使用される記録媒体のサイズや形状も特に限定されない。また、使用される記録剤は、インク、トナー等である。   The recording unit 113 is a recording unit composed of a laser beam printer, an ink jet printer, or the like. Based on the color image data or monochrome image data generated by the recording control unit 112, an image is added by adding a recording agent on the recording medium. Print. Note that the recording medium used is not limited to paper, and various media such as a film may be used. Further, the size and shape of the recording medium used are not particularly limited. The recording agent used is ink, toner or the like.

なお、本実施形態では、通信装置100は、インクジェットプリンタであるものとし、記録部113は、記録媒体上にインクを吐出するための記録ヘッド及び、記録ヘッドに供給されるインクを保持するインクタンクを含むものとする。また、記録部113は、記録ヘッドとインクタンクとが一体型に形成されているインクカートリッジを用いる形態であるものとし、記録部113は、インクカートリッジが着脱され、印刷時に記録媒体上を走査するキャリッジを含むものとする。通信装置100は、キャリッジにインクカートリッジが取り付けられているか否かを、不図示のカートリッジセンサ(検知部)によって検知することができる。なお、記録ヘッドとインクタンクとが別体として形成されており、記録ヘッドとインクタンクとが、記録部113内のそれぞれ異なる取り付け部に取り付けられる形態であっても良い。   In this embodiment, the communication apparatus 100 is an ink jet printer, and the recording unit 113 includes a recording head for ejecting ink onto a recording medium and an ink tank that holds ink supplied to the recording head. Shall be included. The recording unit 113 uses an ink cartridge in which a recording head and an ink tank are integrally formed, and the recording unit 113 has an ink cartridge attached and detached and scans the recording medium during printing. Carriage shall be included. The communication device 100 can detect whether an ink cartridge is attached to the carriage by a cartridge sensor (detection unit) (not shown). The recording head and the ink tank may be formed as separate bodies, and the recording head and the ink tank may be attached to different attachment portions in the recording unit 113.

なお、通信装置100には、通信装置100の開口部を覆うカバーが備えられている。カバーは、通信装置100の開口部を開放する開放位置と、通信装置100の開口部を覆う閉じ位置との間で回動ないし移動可能である。カバーが開放位置に位置することで、ユーザは、通信装置100の開口部から通信装置100の内部を視認して、インクカートリッジを記録部113に取り付けることができる。通信装置100は、カバーが閉じ位置に位置するか否かを検知するための不図示のカバーセンサを有している。そして通信装置100は、カバーセンサによりカバーが閉じ位置から移動したことを検知した場合、キャリッジを待機位置から開口部の位置(カートリッジ取り付け位置)まで移動させる。そして、ユーザは、キャリッジにインクカートリッジを取り付ける。その後通信装置100は、センサによりカバーが閉じ位置に戻ったことを検知した場合、キャリッジをカートリッジ取り付け位置から待機位置まで移動させる。   The communication device 100 includes a cover that covers the opening of the communication device 100. The cover can be rotated or moved between an open position where the opening of the communication apparatus 100 is opened and a closed position which covers the opening of the communication apparatus 100. Since the cover is located at the open position, the user can visually recognize the inside of the communication device 100 from the opening of the communication device 100 and attach the ink cartridge to the recording unit 113. The communication device 100 has a cover sensor (not shown) for detecting whether or not the cover is in the closed position. If the cover sensor detects that the cover has moved from the closed position, the communication apparatus 100 moves the carriage from the standby position to the position of the opening (cartridge mounting position). Then, the user attaches the ink cartridge to the carriage. Thereafter, when the communication apparatus 100 detects that the cover has returned to the closed position by the sensor, the communication apparatus 100 moves the carriage from the cartridge mounting position to the standby position.

USBファンクション制御部114は、USBインターフェースの接続制御を行うものであり、USB接続規格に従って、プロトコル制御を行う。具体的には、USBファンクション制御部114は、CPU101が実行するUSBファンクション制御タスクからのデータをパケットに変換し、情報処理装置200にUSBパケット送信を行う。さらに、USBファンクション制御部114は、外部のPCからのUSBパケットをデータに変換してCPU101に対し送信を行う。さらに、USBファンクション制御部114は、通信装置100が情報処理装置200とUSBで接続されたことを検知する。USBホスト制御部115は、USB接続規格で定められたプロトコルで接続を行う為の制御部である。USB接続規格は、双方向のデータ接続を高速に行うことが出来る規格であり、該規格を利用することで、1台のホスト(マスター)に対し、複数台のハブまたはファンクション(スレーブ)を接続することが出来る。USBホスト制御部115は、USB接続におけるホストの機能を有する。   The USB function control unit 114 performs connection control of the USB interface, and performs protocol control according to the USB connection standard. Specifically, the USB function control unit 114 converts data from the USB function control task executed by the CPU 101 into a packet, and transmits the USB packet to the information processing apparatus 200. Further, the USB function control unit 114 converts a USB packet from an external PC into data and transmits the data to the CPU 101. Further, the USB function control unit 114 detects that the communication apparatus 100 is connected to the information processing apparatus 200 via USB. The USB host control unit 115 is a control unit for performing connection using a protocol defined by the USB connection standard. The USB connection standard is a standard that enables high-speed bidirectional data connection. By using this standard, multiple hubs or functions (slave) can be connected to one host (master). I can do it. The USB host control unit 115 has a host function in USB connection.

WLANユニット116は、無線接続によってネットワーク(TCP/IPに従った接続が可能なネットワーク)上の端末と接続する。WLANユニット116は、アクセスポイント(以下、APという。)118や情報処理装置200とWLAN接続を行うためのユニットであり、例えばIEEE802.11シリーズに準拠したWireless LAN(以後、WLANという。)システムにおけるデータ(パケット)接続が可能である。   The WLAN unit 116 connects to a terminal on a network (a network that can be connected according to TCP / IP) by wireless connection. The WLAN unit 116 is a unit for performing WLAN connection with an access point (hereinafter referred to as AP) 118 and the information processing apparatus 200, and is, for example, a wireless LAN (hereinafter referred to as WLAN) system compliant with the IEEE802.11 series. Data (packet) connection is possible.

通信装置100は、通信モードを設定することによって、該通信モードに応じた接続形態によってWLANユニット116を介して通信可能に動作する。すなわち、本実施形態では、通信装置100は、設定された通信モードに応じた接続形態による通信を、WLANによって実行するものとする。通信装置100には、例えば、接続設定モード、Wi−Fi Direct(登録商標)(以後、WFDという。)モード、ソフトAPモード、インフラストラクチャーモード(以後、インフラモードという。)、アドホックモードなどの通信モードが設定される。   By setting the communication mode, the communication device 100 operates to be able to communicate via the WLAN unit 116 with a connection form corresponding to the communication mode. In other words, in the present embodiment, the communication device 100 performs communication using a connection form according to the set communication mode using the WLAN. The communication device 100 includes, for example, a communication such as a connection setting mode, a Wi-Fi Direct (registered trademark) (hereinafter referred to as WFD) mode, a soft AP mode, an infrastructure mode (hereinafter referred to as infrastructure mode), an ad hoc mode, and the like. The mode is set.

接続設定モードは、通信装置100に通信モードを設定する際に利用されるモードである。通信装置100に通信モードを設定する処理とは、言い換えれば、通信装置100と、通信装置100の外部の装置とを接続させるための接続設定処理である。すなわち、通信装置100は、設定された通信モードに応じた接続形態で、通信装置100の外部の装置と接続する。通信装置100は、接続設定モードで動作する場合、ソフトウェアの設定によりAP118を有効にする有効化処理を行う。なおAP118は、接続設定モード時のみ有効にされるAPであり、いうなれば、接続設定モード専用のAPである。AP118が有効化されると、通信装置100は定期的にAP118のSSID等を含むビーコン信号(パケット)を送出する。このため、通信装置100と通信可能な情報処理装置は、AP探索を行うことによりAP118を検出することができる。AP118のSSIDは予め決められた規則に沿った形式で構成されており、情報処理装置は、該規則を認識することで通信装置100を特定可能となる。情報処理装置は、AP118を特定することで、AP118を介してピアツーピア(以後、P2Pという。)で通信装置100と通信する。なお、P2Pによる通信は、通信装置100の外部且つ情報処理装置の外部の装置(例えば、無線LANルータのAP等)を介さずに、情報処理装置と直接通信する形態を指す。該規則としては、例えば通信装置100の機種や当該機種を含むシリーズを特定する情報、通信装置100のMACアドレス、メーカー名などが利用される。このSSIDは、ROM102などに予め記憶されている。通信装置100は、接続設定モードとなることで、通信装置100周辺のネットワーク状況に応じた通信モードを自身に設定することができる。例えば、通信モードの設定は、設定情報を情報処理装置から受信する受信処理を実行することで行われる。設定情報は例えば、後述するAP情報や、通信装置100に設定される通信モードに関する情報である。この処理はケーブルレスで行うことが可能なため、接続設定モードはケーブルレスセットアップモードと呼ばれることもある。   The connection setting mode is a mode used when setting a communication mode in the communication apparatus 100. In other words, the process of setting the communication mode in the communication apparatus 100 is a connection setting process for connecting the communication apparatus 100 and an apparatus outside the communication apparatus 100. That is, the communication device 100 is connected to a device outside the communication device 100 in a connection form corresponding to the set communication mode. When the communication apparatus 100 operates in the connection setting mode, the communication apparatus 100 performs an enabling process for enabling the AP 118 by setting software. Note that the AP 118 is an AP that is enabled only in the connection setting mode, that is, an AP dedicated to the connection setting mode. When the AP 118 is activated, the communication device 100 periodically transmits a beacon signal (packet) including the SSID of the AP 118 and the like. Therefore, an information processing apparatus that can communicate with the communication apparatus 100 can detect the AP 118 by performing an AP search. The SSID of the AP 118 is configured in a format according to a predetermined rule, and the information processing apparatus can identify the communication device 100 by recognizing the rule. By specifying the AP 118, the information processing apparatus communicates with the communication apparatus 100 via peer-to-peer (hereinafter referred to as P2P) via the AP 118. Note that P2P communication refers to a form in which communication is performed directly with an information processing apparatus without going through a communication apparatus 100 and an apparatus outside the information processing apparatus (for example, an AP of a wireless LAN router). As the rule, for example, information specifying the model of the communication apparatus 100 or a series including the model, the MAC address of the communication apparatus 100, the manufacturer name, and the like are used. This SSID is stored in advance in the ROM 102 or the like. The communication device 100 can set the communication mode according to the network conditions around the communication device 100 by setting the connection setting mode. For example, the communication mode is set by executing a reception process for receiving setting information from the information processing apparatus. The setting information is, for example, AP information described later and information related to a communication mode set in the communication apparatus 100. Since this process can be performed without a cable, the connection setting mode is sometimes referred to as a cableless setup mode.

WFDモードは、WFDの規格に基づいた無線接続を行うモードである。通信装置100がWFDモードで動作している場合、通信装置100は、情報処理装置とP2Pの接続方式で直接無線接続を行う。このとき、どちらの装置内のAPを介して接続するかはGroup Owner Negotiationによって決まる。なお、WFDモードの通信装置100は、Group Owner Negotiationを実行せずに、必ず通信装置100内のAPを介して情報処理装置と接続しても良い。情報処理装置200は、WFDモードを通信装置100に設定する場合、WFDモードを示す設定情報を接続設定モードで動作する通信装置100に送信する。   The WFD mode is a mode for performing wireless connection based on the WFD standard. When the communication apparatus 100 is operating in the WFD mode, the communication apparatus 100 performs direct wireless connection with the information processing apparatus using a P2P connection method. At this time, in which device the AP is connected is determined by Group Owner Negotiation. Note that the communication device 100 in the WFD mode may always be connected to the information processing device via the AP in the communication device 100 without executing Group Owner Negotiation. When setting the WFD mode in the communication apparatus 100, the information processing apparatus 200 transmits setting information indicating the WFD mode to the communication apparatus 100 operating in the connection setting mode.

ソフトAPモードは、通信装置100内のAPを介して、情報処理装置とP2Pで直接無線接続を行うためのモードである。なお、このとき有効にされるAPは、接続設定モード時に有効にされるAPやWFDモード時に有効にされるAPと異なるAPであるものとする。すなわち、接続設定モード時に有効にされるAPと、WFDモード時に有効にされるAPと、ソフトAPモード時に有効にされるAPは、それぞれSSIDやパスワードが異なるものとする。情報処理装置200は、ソフトAPモードを通信装置100に設定する場合、ソフトAPモードを示す設定情報を接続設定モードで動作する通信装置100に送信する。   The soft AP mode is a mode for performing direct wireless connection with the information processing apparatus via P2P via the AP in the communication apparatus 100. It is assumed that the AP that is enabled at this time is an AP that is different from the AP that is enabled in the connection setting mode and the AP that is enabled in the WFD mode. That is, it is assumed that the AP enabled in the connection setting mode, the AP enabled in the WFD mode, and the AP enabled in the soft AP mode have different SSIDs and passwords. When setting the soft AP mode in the communication apparatus 100, the information processing apparatus 200 transmits setting information indicating the soft AP mode to the communication apparatus 100 operating in the connection setting mode.

インフラモードは、通信装置100が、通信装置100や情報処理装置以外の装置(無線LANルータ内のAP等)を介して接続する接続方式で情報処理装置との無線接続を行うモードである。なお、通信装置100は、インフラモードで動作するためには、通信装置100がインフラモードで利用するAPのSSID及び通信装置100が該APを利用するためのパラメータ(以後、これらをAP情報という。)を情報処理装置等から受信し、通信装置100自身に登録する必要がある。   The infrastructure mode is a mode in which the communication device 100 performs wireless connection with the information processing device using a connection method in which the communication device 100 is connected via a device other than the communication device 100 or the information processing device (such as an AP in the wireless LAN router). In order for the communication apparatus 100 to operate in the infrastructure mode, the SSID of the AP used by the communication apparatus 100 in the infrastructure mode and the parameters for the communication apparatus 100 to use the AP (hereinafter referred to as AP information). ) From the information processing apparatus or the like and registered in the communication apparatus 100 itself.

アドホックモードは、通信装置100と情報処理装置がP2Pで直接無線接続を行うモードである。アドホックモードは、WFDモードやソフトAPモードとは異なり、接続を行う装置内のAPを介さず接続を行う。通信装置100がアドホックモードで動作するためには、情報処理装置と共通の無線接続パラメータを設定情報として受信して、通信装置100に登録する必要がある。   The ad hoc mode is a mode in which the communication apparatus 100 and the information processing apparatus perform direct wireless connection with P2P. In the ad hoc mode, unlike the WFD mode and the soft AP mode, the connection is performed without using the AP in the device that performs the connection. In order for the communication apparatus 100 to operate in the ad hoc mode, it is necessary to receive wireless connection parameters common to the information processing apparatus as setting information and register them in the communication apparatus 100.

なお、これらのモードは排他的に設定されるものに限らず、複数のモードが同時に設定されることもある。具体的には例えば、通信装置100は、ソフトAPモードとインフラモードで同時に動作したり、WFDモードとインフラモードで同時に動作したりしても良い。   Note that these modes are not limited to being set exclusively, and a plurality of modes may be set simultaneously. Specifically, for example, the communication device 100 may operate simultaneously in the soft AP mode and the infrastructure mode, or may operate simultaneously in the WFD mode and the infrastructure mode.

上記の構成要素は、CPU101が管理するCPUバス121を介して、相互に接続されている。   The above components are connected to each other via a CPU bus 121 managed by the CPU 101.

通信装置100の電源状態について説明する。本実施形態では通信装置100は、ハードオフ状態、ソフトオフ状態、ソフトオン状態の少なくとも3つの電源状態のいずれかで動作するものとする。   The power supply state of the communication apparatus 100 will be described. In the present embodiment, it is assumed that the communication device 100 operates in any one of at least three power states: a hard-off state, a soft-off state, and a soft-on state.

ハードオフ状態とは、通信装置100に電力が全く供給されていない状態である。そのため当然、通信装置100は、ハードオフ状態では、カバーが閉じ位置から移動したことを検知することはできず、キャリッジをカートリッジ取り付け位置から待機位置まで移動させることができない。通信装置100は、電源との接続線が通信装置100から抜かれたり、不図示のハードオフ電源ボタンが押下されたりすることで、ソフトオフ状態やソフトオン状態からハードオフ状態に移行する。   The hard-off state is a state where no power is supplied to the communication device 100. Therefore, naturally, the communication device 100 cannot detect that the cover has moved from the closed position in the hard-off state, and cannot move the carriage from the cartridge mounting position to the standby position. The communication device 100 shifts from a soft-off state or a soft-on state to a hard-off state when a connection line to the power source is disconnected from the communication device 100 or a hard-off power button (not shown) is pressed.

ソフトオフ状態とは、通信装置100に電力が供給されているが、通信装置100の少なくとも1部のハードウェアに対して、電力の供給の停止や、電力の供給量の制限等の省電力制御が実行されている状態である。本実施形態では、通信装置100がソフトオフ状態である場合、少なくともカバーセンサに省電力制御が実行されているものとする。すなわち、通信装置100は、ソフトオフ状態では、カバーが閉じ位置から移動したことを検知することはできず、キャリッジをカートリッジ取り付け位置から待機位置まで移動させることができないものとする。通信装置100は、ソフトオフ電源ボタン(表示操作部108の電源ボタン等)が押下されたり、通信装置100の外部の装置やユーザから一定時間以上、通信や操作を受け付けなかったりした場合に、ソフトオン状態からソフトオフ状態に移行する。また、通信装置100は、通信装置100に電源との接続線が挿入された場合等に、ハードオフ状態からソフトオフ状態に移行する。   In the soft-off state, power is supplied to the communication device 100, but power saving control such as stopping power supply or limiting the amount of power supply to at least a part of the hardware of the communication device 100 Is in a running state. In the present embodiment, when the communication apparatus 100 is in the soft-off state, it is assumed that power saving control is performed on at least the cover sensor. That is, the communication device 100 cannot detect that the cover has moved from the closed position in the soft-off state, and cannot move the carriage from the cartridge mounting position to the standby position. The communication device 100 is soft when a soft-off power button (such as the power button of the display operation unit 108) is pressed or a communication or operation is not received from a device or user outside the communication device 100 for a certain period of time. Transition from on to soft off. In addition, the communication device 100 shifts from the hard-off state to the soft-off state, for example, when a connection line with a power source is inserted into the communication device 100.

ソフトオン状態とは、通信装置100に電力が供給されており、通信装置100が通常動作を実行可能なように、通信装置100の各ハードウェアに対して電力が供給されている状態である。通信装置100は、ソフトオン状態である場合に、カバーセンサやカートリッジセンサによる検知や、通信装置100の外部の装置やユーザから印刷の指示を受け付けて印刷を実行することができる。通信装置100は、ソフトオン電源ボタン(表示操作部108の電源ボタン等)が押下されたり、通信装置100の外部の装置やユーザから、通信や操作を受け付けたりした場合に、ソフトオフ状態からソフトオン状態に移行する。   The soft-on state is a state in which power is supplied to the communication device 100 and power is supplied to each piece of hardware of the communication device 100 so that the communication device 100 can perform a normal operation. When the communication device 100 is in a soft-on state, the communication device 100 can perform printing by detecting by a cover sensor or a cartridge sensor, or by receiving a print instruction from a device outside the communication device 100 or a user. The communication device 100 is switched from a soft-off state when a soft-on power button (such as the power button of the display operation unit 108) is pressed or a communication or operation is received from an external device or user of the communication device 100. Transition to the on state.

なお、通信装置100の消費電力は、ハードオフ状態<ソフトオフ状態<ソフトオン時状態の順で大きくなる。   The power consumption of the communication device 100 increases in the order of hard-off state <soft-off state <soft-on state.

本発明の通信装置と接続する情報処理装置の構成について図2のブロック図を参照して説明する。以下の構成を例に記載するが、情報処理装置200は、通信装置100と接続を行うことが可能な情報処理装置に関して適用可能なものであり、特にこの図のとおりに機能を限定するものではない。   The configuration of the information processing apparatus connected to the communication apparatus of the present invention will be described with reference to the block diagram of FIG. Although the following configuration is described as an example, the information processing apparatus 200 is applicable to an information processing apparatus that can be connected to the communication apparatus 100, and is not particularly limited in function as shown in this figure. Absent.

CPU201は、ROM202、RAM203、内部記憶装置204又は外部記憶装置205により外部記憶ディスク206等から読み出されたプログラムに従って、システムバスを介して情報処理装置200全体の動作を制御するものである。   The CPU 201 controls the overall operation of the information processing apparatus 200 via the system bus in accordance with a program read from the external storage disk 206 or the like by the ROM 202, RAM 203, internal storage device 204 or external storage device 205.

ROM202は、CPU201の制御プログラム等を格納している。   The ROM 202 stores a control program for the CPU 201 and the like.

RAM203は、一時的にプログラムや画像データを記憶し、処理を高速に動作させる。内部記憶装置204は、オペレーティングシステム、無線LAN設定アプリなど各種アプリケーションプログラムや画像データ等が格納する。通常、これらのアプリケーションソフトは、これらが記憶されたほかのコンピュータ可読媒体から外部記憶ディスク206(CD/DVDメディアなど)がデータを受け取り、外部記憶装置205を制御することにより、情報処理装置200にインストールされる。   The RAM 203 temporarily stores programs and image data, and operates at high speed. The internal storage device 204 stores various application programs such as an operating system and a wireless LAN setting application, image data, and the like. Normally, these application softwares receive data from an external computer readable medium in which they are stored and the external storage disk 206 (such as a CD / DVD medium) controls the external storage device 205 to control the external storage device 205. Installed.

操作部207は、ユーザからの指示入力手段としての不図示のキーボードやマウスを制御する。表示部208は、ユーザに対して各種表示を行う。AP212は、無線接続により、通信装置100や他の情報処理装置と接続を行う。   The operation unit 207 controls a keyboard and a mouse (not shown) as instruction input means from the user. The display unit 208 performs various displays for the user. The AP 212 connects to the communication device 100 and other information processing devices by wireless connection.

WLANユニット209は、WLANユニット116と同様の機能を有するため、詳細な説明は省略する。   Since the WLAN unit 209 has the same function as the WLAN unit 116, detailed description thereof is omitted.

USBホスト制御部210は、USB接続におけるホストの機能を有し、通信装置100との間で接続を行う。USBホスト制御部210は、USBホスト制御部115と同様の機能を有するため、詳細な説明は省略する。   The USB host control unit 210 has a host function for USB connection, and performs connection with the communication apparatus 100. Since the USB host control unit 210 has the same function as the USB host control unit 115, detailed description thereof is omitted.

ここで、本発明の課題について説明する。通信装置100は、上述したように、センサの検知結果に基づいてキャリッジをカートリッジ取り付け位置に移動させることで、ユーザからインクカートリッジの取り付け(装着)のための操作を受け付ける。なお、センサは、ソフトオフ状態やハードオフ状態では稼働しない。そのため、カートリッジ取り付け位置にてインクカートリッジが適切にキャリッジに取り付けられるためには、通信装置100は、ユーザからインクカートリッジの取り付けのための操作をソフトオン状態で受け付けることが好ましい。ゆえに本実施形態では、通信装置100に同梱される設置マニュアルには、インクカートリッジの取り付けのための操作を通信装置100がソフトオン状態で行うことをユーザに促すための記載がなされている。   Here, the problem of the present invention will be described. As described above, the communication device 100 receives an operation for mounting (mounting) the ink cartridge from the user by moving the carriage to the cartridge mounting position based on the detection result of the sensor. Note that the sensor does not operate in a soft-off state or a hard-off state. Therefore, in order for the ink cartridge to be properly attached to the carriage at the cartridge attachment position, it is preferable that the communication apparatus 100 accepts an operation for attaching the ink cartridge from the user in a soft-on state. Therefore, in this embodiment, the installation manual bundled with the communication device 100 includes a description for prompting the user to perform an operation for attaching the ink cartridge in the soft-on state.

しかしながら通信装置100は、例えばユーザが設置マニュアルを読んでいなかった場合等には、ユーザからインクカートリッジの取り付けのための操作をソフトオフ状態で受け付けることがある。ソフトオフ状態の通信装置100にインクカートリッジを取り付けさせるためには、例えばユーザは、無理やりキャリッジをカートリッジ取り付け位置に移動させる等の操作を実行することになる。このような操作は、例えばキャリッジの駆動系の損傷等の、記録部113に関するエラーを引き起こすことがある。   However, for example, when the user has not read the installation manual, the communication apparatus 100 may receive an operation for installing the ink cartridge from the user in a soft-off state. In order to attach the ink cartridge to the communication apparatus 100 in the soft-off state, for example, the user forcibly moves the carriage to the cartridge attachment position. Such an operation may cause an error related to the recording unit 113, such as damage to the carriage drive system.

すなわち、通信装置100は、ユーザからインクカートリッジの取り付けのための操作をソフトオフ状態で受け付けた場合は、記録部113に関するエラー状態となっている可能性が高い。   That is, the communication device 100 is likely to be in an error state related to the recording unit 113 when an operation for mounting the ink cartridge is received from the user in the soft-off state.

なお、通信装置100は、記録部113に関するエラーが発生している状態(エラー状態)であるかどうかを検知する検知処理を、インクカートリッジのクリーニング処理時に実行する。通信装置100がエラー状態である場合、通信装置100と通信する情報処理装置に対して、通信装置100がエラー状態である旨を通知する通知処理が実行されることが好ましい。通知処理が実行されることで、情報処理装置が備える表示部に、通信装置100がエラー状態である旨を通知するための画面が表示され、情報処理装置を操作しているユーザは、通信装置100のメンテナンスを行うことができる。なお、通信装置100が表示部を有していなかったり、セグメントディスプレイ等の簡易な表示部しか有していなかったりすることから、通信装置100がエラー状態である旨を通知するための画面を通信装置100が自身で表示できない場合がある。このような場合は、通信装置100と通信する情報処理装置に対して通知処理が実行されることはなおさら好ましい。   Note that the communication apparatus 100 executes a detection process for detecting whether or not an error relating to the recording unit 113 has occurred (error state) during the ink cartridge cleaning process. When the communication device 100 is in an error state, it is preferable that notification processing for notifying that the communication device 100 is in an error state is executed to the information processing device that communicates with the communication device 100. When the notification process is executed, a screen for notifying that the communication device 100 is in an error state is displayed on the display unit included in the information processing device, and the user operating the information processing device 100 maintenance can be performed. Since the communication device 100 does not have a display unit or only has a simple display unit such as a segment display, a screen for notifying that the communication device 100 is in an error state is communicated. The device 100 may not be able to display itself. In such a case, it is even more preferable that the notification process is executed for the information processing apparatus communicating with the communication apparatus 100.

しかしながら例えば、インクカートリッジのクリーニング処理時に情報処理装置が通信装置100に接続していない場合、通信装置100は、情報処理装置に対して、リアルタイムでエラーを通知することができないことがある。そのため、クリーニング処理後に情報処理装置との接続設定が行われる形態では、情報処理装置にエラーを通知することができないことがあるという課題がある。   However, for example, when the information processing apparatus is not connected to the communication apparatus 100 during the ink cartridge cleaning process, the communication apparatus 100 may not be able to notify the information processing apparatus of an error in real time. For this reason, in the form in which connection setting with the information processing apparatus is performed after the cleaning process, there is a problem that an error may not be notified to the information processing apparatus.

また例えば、通信装置100がエラー状態である場合、クリーニング処理が完了しなかったり、着荷シーケンスが中断されたりすることがある。そのため、クリーニング処理後に情報処理装置との接続設定が行われる形態では、接続設定が開始されないことがあるという課題がある。   For example, when the communication apparatus 100 is in an error state, the cleaning process may not be completed, or the arrival sequence may be interrupted. Therefore, in the form in which connection setting with the information processing apparatus is performed after the cleaning process, there is a problem that connection setting may not be started.

そこで、本実施形態では、通信装置100は、接続設定処理を適切なタイミングで行う。具体的には通信装置100は、ユーザからインクカートリッジの取り付けのための操作をソフトオフ状態で受け付けていた場合は、インクカートリッジのクリーニング処理の前に接続設定処理を行う。   Therefore, in the present embodiment, the communication device 100 performs the connection setting process at an appropriate timing. Specifically, when the communication device 100 accepts an operation for attaching an ink cartridge from a user in a soft-off state, the communication device 100 performs a connection setting process before the ink cartridge cleaning process.

図3は、本実施形態における通信装置100が初期設定時に行う処理である着荷時シーケンスの流れを示すフローチャートである。なお、本フローチャートは、CPU101が、ROM102又はHDD117に格納されているフローチャートに関する制御プログラムをRAM103にロードし、その制御プログラムを実行することにより実現されるものとする。なお、本フローチャートは、通信装置100がソフトオフ状態で開始されるものとする。   FIG. 3 is a flowchart illustrating a sequence of arrival time, which is processing performed by the communication device 100 according to the present embodiment at the time of initial setting. This flowchart is realized when the CPU 101 loads a control program related to the flowchart stored in the ROM 102 or the HDD 117 to the RAM 103 and executes the control program. Note that this flowchart is started when the communication apparatus 100 is in the soft-off state.

まず、S301にて、CPU101は、表示操作部108の電源ボタンが押下されたことを検知した場合、通信装置100をソフトオフ状態からソフトオン状態に移行させる。   First, in S301, when the CPU 101 detects that the power button of the display operation unit 108 is pressed, the CPU 101 shifts the communication device 100 from the soft-off state to the soft-on state.

次に、S302において、CPU101は、RAM103に保存されている初期設定時か否かを示す情報を参照して、初期設定時か否かを判定する。具体的には、ユーザが通信装置100を着荷後に初めて起動した場合、RAM103において初期設定時フラグがONとなっている。一方、着荷後2回目以降の通信装置100の起動処理では、RAM103において初期設定時フラグがOFFとなっている。CPU101は、初期設定時フラグのONとOFFを参照することによりS302の判定が実現される。なおこの判定は、例えば、通信装置100が過去に着荷時シーケンスを実行したか否かを判定しても良い。   Next, in step S <b> 302, the CPU 101 refers to information indicating whether the initial setting is stored in the RAM 103, and determines whether the initial setting is being performed. Specifically, when the user activates the communication device 100 for the first time after arrival, the initial setting flag in the RAM 103 is ON. On the other hand, in the activation process of the communication apparatus 100 for the second and subsequent times after arrival, the initial setting flag in the RAM 103 is OFF. The CPU 101 realizes the determination in S302 by referring to ON and OFF of the initial setting flag. Note that this determination may be performed, for example, by determining whether or not the communication device 100 has executed the arrival sequence in the past.

CPU101は、初期設定時でない場合、処理を終了する。通信装置100の接続環境が変化した等の場合を除いて、通常、初期設定時でない場合に通信モードの設定が再度行われる必要はない。そのため、このような形態とすることで、通信装置100がソフトオン状態に移行する度に通信モードを設定する処理を行うことを避けることができる。なお、このとき、ユーザに通信モードを設定する処理を行うか否かを問うUI等を表し、ユーザの返答に応じて、通信モードを設定する処理を行う構成としても良い。   If the CPU 101 is not at the time of initial setting, the process ends. Except when the connection environment of the communication device 100 has changed, it is not usually necessary to set the communication mode again when it is not the initial setting time. Therefore, by setting it as such a form, it can avoid performing the process which sets a communication mode, whenever the communication apparatus 100 transfers to a soft-on state. At this time, a UI or the like that asks the user whether or not to perform the process of setting the communication mode may be represented, and the process of setting the communication mode may be performed according to the user's response.

一方、CPU101は、初期設定時である場合、S303において、初期設定時か否かを示す情報を変更し、次回以降に通信装置100がソフトオン状態に移行した時が初期設定時でないことを示せるようにする。具体的には、CPU101は、初期設定時フラグの内容を変更する。なお、本実施形態では初期設定時フラグのON、OFFを用いてS302の処理を実行するがフラグ以外の情報を用いても良い。その場合例えば、着荷時からRAM103に初期設定時であることを示す情報を保存されているものとする。そして、S302では、初期設定時であることを示す情報がRAM103に保存されるか否かが判定され、その後の処理で初期設定時であることを示す情報が削除される。また、S303における処理は、初期設定時か否かの判定後であればいつ行われても良い。例えば、S314において通信装置100に通信モードを設定した後に行われても良いし、ステップS316において通信装置100の無線LAN設定の情報を無効にした後に行われても良い。   On the other hand, if it is the time of initial setting, the CPU 101 changes the information indicating whether or not it is the time of initial setting in S303, and can indicate that the time when the communication apparatus 100 shifts to the soft-on state after the next time is not the time of initial setting. Like that. Specifically, the CPU 101 changes the contents of the initial setting flag. In this embodiment, the processing of S302 is executed using ON and OFF of the initial setting flag, but information other than the flag may be used. In this case, for example, it is assumed that information indicating that the initial setting time is stored in the RAM 103 from the time of arrival. In S <b> 302, it is determined whether or not the information indicating the initial setting time is stored in the RAM 103, and the information indicating the initial setting time is deleted in the subsequent processing. Further, the process in S303 may be performed any time after the determination as to whether or not the initial setting is being performed. For example, it may be performed after setting the communication mode to the communication apparatus 100 in S314, or may be performed after invalidating the wireless LAN setting information of the communication apparatus 100 in Step S316.

S304にて、CPU101は、検知部による検知結果に基づいて、記録部113にインクカートリッジが取り付けられているか否かを判定する。なお、記録ヘッドとインクタンクとが別体として形成されている形態であれば、少なくとも記録ヘッドが記録部113に取り付けられているか否かを判定する。CPU101は、YES判定であれば、S310に進み、NO判定であれば、S305に進む。   In S <b> 304, the CPU 101 determines whether an ink cartridge is attached to the recording unit 113 based on the detection result by the detection unit. If the recording head and the ink tank are formed separately, it is determined whether or not at least the recording head is attached to the recording unit 113. If the determination is YES, the CPU 101 proceeds to S310, and if the determination is NO, the CPU 101 proceeds to S305.

本実施形態では、S301にて通信装置100がソフトオン状態に移行した後からS304が実行されるまでの間はキャリッジに対するインクカートリッジや記録ヘッドの着脱が不可な構成であるものとする。すなわち、カバーが閉じ位置から移動しても、キャリッジがカートリッジ取り付け位置に移動しない構成であるものとする。そのため、S304にてYES判定が行われた場合は、通信装置100がソフトオン状態に移行する前から(すなわち、通信装置100がソフトオフ状態やハードオフ状態で)、記録部113にインクカートリッジが取り付けられていたことになる。   In this embodiment, it is assumed that the ink cartridge and the recording head cannot be attached to and detached from the carriage after the communication apparatus 100 shifts to the soft-on state in S301 and until S304 is executed. That is, the carriage does not move to the cartridge mounting position even when the cover moves from the closed position. For this reason, if YES is determined in S304, an ink cartridge is inserted in the recording unit 113 before the communication apparatus 100 shifts to the soft-on state (that is, the communication apparatus 100 is in the soft-off state or the hard-off state). It was attached.

そのためS305にて、CPU101は、インクカートリッジがソフトオフ状態又はハードオフ状態で取り付けられたか否かを示す装着フラグ情報を、インクカートリッジがソフトオフ状態又はハードオフ状態で取り付けられたことを示す情報に設定する。これにより、装着フラグ情報がON状態となる。なお装着フラグ情報はRAM103に保存されている。その後、CPU101は、初期設定時クリーニング処理を実行することなく、S310に進む。なお、CPU101は、記録ヘッドによる記録媒体への記録位置の調整(以後、レジ調整)も、S310の前に実行しなくても良い。   Therefore, in S305, the CPU 101 changes the mounting flag information indicating whether or not the ink cartridge is mounted in a soft-off state or a hard-off state to information indicating that the ink cartridge is mounted in a soft-off state or a hard-off state. Set. Thereby, the mounting flag information is turned on. The mounting flag information is stored in the RAM 103. After that, the CPU 101 proceeds to S310 without executing the initial setting cleaning process. Note that the CPU 101 does not have to execute the adjustment of the recording position on the recording medium by the recording head (hereinafter, registration adjustment) before S310.

一方、S304にてNO判定が行われた場合は、通信装置100がソフトオン状態に移行する前には(すなわち、通信装置100がソフトオフ状態やハードオフ状態で)、記録部113にインクカートリッジが取り付けられていないことになる。   On the other hand, if NO determination is made in S304, before the communication apparatus 100 shifts to the soft-on state (that is, the communication apparatus 100 is in the soft-off state or the hard-off state), the ink cartridge is stored in the recording unit 113. Will not be attached.

そこで、S306にてCPU101は、表示操作部108のLED(発光ダイオード)を点滅させたり、表示操作部108のLCDに特定の画面を表示させたりすることにより、ユーザに対して記録部113に関する通知を行う。具体的には、CPU101は、通信装置100がインクカートリッジの取り付け待ちの状態であることを通知したり、インクカートリッジの取り付け方法を通知したりする。なお、通知の方法は特に限定されず、CPU101は、通知のための画面を表示操作部108のLCDに表示したり、表示操作部108のLEDを特定の方法で点滅させたり、音声によって通知をしたりして良い。   Therefore, in S306, the CPU 101 notifies the user of the recording unit 113 by blinking an LED (light emitting diode) of the display operation unit 108 or displaying a specific screen on the LCD of the display operation unit 108. I do. Specifically, the CPU 101 notifies that the communication apparatus 100 is in a state of waiting for ink cartridge installation, or notifies the ink cartridge installation method. The notification method is not particularly limited, and the CPU 101 displays a notification screen on the LCD of the display operation unit 108, blinks the LED of the display operation unit 108 by a specific method, or notifies by voice. You can do it.

その後、CPU101は、S307にて、検知部による検知結果に基づいて、記録部113にインクカートリッジが取り付けられたか否かを判定する。なお、記録ヘッドとインクタンクとが別体として形成されている形態であれば、記録ヘッドとインクタンクの両方が記録部113に取り付けられたか否かを判定する。CPU101は、YES判定であれば、S308に進み、NO判定であれば、S307の処理を再度実行する。なお、S307の判定にタイムアウトはなく、YES判定となったり、通信装置100がソフトオフ状態やハードオフ状態に移行したりするまで、S307の判定は繰り返される。また、CPU101は、S307の判定がYES判定となるまで、S306における通知を継続して実行していても良い。   Thereafter, in S307, the CPU 101 determines whether an ink cartridge is attached to the recording unit 113 based on the detection result by the detection unit. If the recording head and the ink tank are formed separately, it is determined whether both the recording head and the ink tank are attached to the recording unit 113. If the determination is YES, the CPU 101 proceeds to S308, and if the determination is NO, the process of S307 is executed again. Note that there is no timeout in the determination in S307, and the determination in S307 is repeated until the determination is YES or the communication apparatus 100 shifts to a soft-off state or a hard-off state. Further, the CPU 101 may continue to execute the notification in S306 until the determination in S307 is YES.

CPU101は、S308では、初期設定時クリーニング処理を開始する。具体的にはまず、CPU101は、廃インク吸収帯や、記録ヘッドの吐出口をキャッピングするキャッピング機構等のクリーニング部材が設置されている位置へ、キャリッジを移動させる。その後、CPU101は、キャッピング機構によって記録ヘッドの吐出口をキャッピングし、キャッピング機構に接続されているポンプを作動させる。これにより、CPU101は、キャッピング機構内部に負圧を発生させて吐出口から増粘インクや気泡等の異物を吸引排出することにより、吐出口内のインクをリフレッシュさせる。また、CPU101は記録ヘッドの吐出口面に付着したインク等の異物をワイパーによってワイピング(拭き取り清掃)する。なお、クリーニング処理は、例えば印刷開始前や、前回の印刷から所定の時間が経過した時、異常終了後のソフトオン時等、初期設定時以外のタイミングでも実行される。このような通常のクリーニング処理と初期設定時クリーニング処理とが異なっていても良い。具体的には、初期設定時には、ヘッドからノズル、またはインクタンクからヘッドまでの流路に対してインクを充填させることを目的として、通常のクリーニング動作よりも負圧吸引力を強くしたり、吸引量を多くしたり、吸引回数を多くしたりしても良い。あるいは、記録ヘッド内のインクを加熱して粘度を低下させても良い。   In step S <b> 308, the CPU 101 starts the initial setting cleaning process. Specifically, the CPU 101 first moves the carriage to a position where a cleaning member such as a waste ink absorption band or a capping mechanism for capping the ejection port of the recording head is installed. Thereafter, the CPU 101 capping the ejection port of the recording head by the capping mechanism, and operates the pump connected to the capping mechanism. Thus, the CPU 101 generates a negative pressure inside the capping mechanism and sucks and discharges foreign matters such as thickened ink and bubbles from the discharge port, thereby refreshing the ink in the discharge port. Further, the CPU 101 wipes (wipes and cleans) foreign matter such as ink adhering to the discharge port surface of the recording head with a wiper. The cleaning process is also executed at a timing other than the initial setting, for example, before the start of printing, when a predetermined time has elapsed since the previous printing, or when the software is turned on after abnormal termination. Such a normal cleaning process and the initial setting cleaning process may be different. Specifically, at the initial setting, the negative pressure suction force is increased or the suction is performed more than the normal cleaning operation for the purpose of filling ink into the flow path from the head to the nozzle or from the ink tank to the head. The amount may be increased or the number of suctions may be increased. Alternatively, the ink in the recording head may be heated to reduce the viscosity.

なお、CPU101は、初期設定時クリーニング処理を実行する際に、記録部113において生じているエラーを検出する。このとき検出されるエラーは、例えば、ヘッド不完全装着エラーやキャリッジ位置エラーである。   The CPU 101 detects an error occurring in the recording unit 113 when executing the initial setting cleaning process. The error detected at this time is, for example, an incomplete head mounting error or a carriage position error.

ヘッド不完全装着エラーは、インクカートリッジ(記録ヘッド)が、キャリッジに不完全な形で取り付けられているエラーである。例えば、インクカートリッジがキャリッジに不完全な形で取り付けられていると、キャリッジの駆動経路にインクカートリッジがはみ出すことがある。この場合、キャリッジの移動時にインクカートリッジが通信装置100内部の所定の構成にぶつかり、キャリッジが当該構成の位置でストップしてしまう。CPU101は、例えば、キャリッジの移動量を検知し、検知した移動量が、カートリッジ取り付け位置から当該構成の位置までの移動量に相当すれば、ヘッド不完全装着エラーが発生していることを検知する。また、例えば、インクカートリッジがキャリッジに不完全な形で取り付けられていると、キャリッジの移動中やクリーニング処理中にインクカートリッジがキャリッジから外れることがある。CPU101は、例えば、カートリッジセンサによってインクカートリッジがキャリッジに取り付けられているかを検知する。そして、CPU101は、キャリッジの移動中やクリーニング処理中に、インクカートリッジがキャリッジに取り付けられていないことがカートリッジセンサによって検知されたら、ヘッド不完全装着エラーが発生していることを検知する。なお、ヘッド不完全装着エラーは、ユーザが再びカバーを開けてインクカートリッジを正しく取り付け直すことで解消されるため、ヘッド不完全装着エラーの解消のために通信装置100がソフトオフ状態に移行する必要はない。   The incomplete head mounting error is an error in which the ink cartridge (recording head) is incompletely attached to the carriage. For example, if the ink cartridge is attached incompletely to the carriage, the ink cartridge may protrude from the carriage drive path. In this case, when the carriage moves, the ink cartridge hits a predetermined configuration inside the communication apparatus 100, and the carriage stops at the position of the configuration. For example, the CPU 101 detects the amount of movement of the carriage, and if the detected amount of movement corresponds to the amount of movement from the cartridge mounting position to the position of the configuration, it detects that an incomplete head mounting error has occurred. . For example, if the ink cartridge is attached to the carriage in an incomplete shape, the ink cartridge may be detached from the carriage during the movement of the carriage or during the cleaning process. For example, the CPU 101 detects whether an ink cartridge is attached to the carriage by a cartridge sensor. If the cartridge sensor detects that the ink cartridge is not attached to the carriage during the movement of the carriage or during the cleaning process, the CPU 101 detects that an incomplete head mounting error has occurred. Note that the incomplete head mounting error is resolved by the user reopening the cover and re-installing the ink cartridge correctly, so the communication apparatus 100 needs to shift to the soft-off state to eliminate the head incomplete mounting error. There is no.

キャリッジ位置エラーは、キャリッジの駆動経路に異物があるエラーである。例えば、キャリッジの駆動経路に異物があると、異物がキャリッジの移動を阻害するため、キャリッジの移動量が小さくなる。そのため、CPU101は、例えば、キャリッジの実際の移動量とキャリッジを駆動させるのに要した力(駆動力)を検知し、駆動力に対して実際の移動量が小さければ、キャリッジ位置エラーが発生していることを検知する。キャリッジ位置エラーは、通信装置100がソフトオフ状態に移行し、異物が取り除かれることで解消される。   A carriage position error is an error in which there is a foreign object in the carriage drive path. For example, if there is a foreign object in the carriage drive path, the foreign object obstructs the movement of the carriage, and the amount of movement of the carriage is reduced. Therefore, for example, the CPU 101 detects the actual movement amount of the carriage and the force (driving force) required to drive the carriage, and if the actual movement amount is small relative to the driving force, a carriage position error occurs. Is detected. The carriage position error is resolved when the communication apparatus 100 shifts to the soft-off state and foreign matter is removed.

CPU101は、エラーを検知すると、検知したエラーを通知するためのエラー通知処理を実行する。具体的には例えば、表示操作部108に、検知したエラーを通知するための画面を表示する。また、後述のS318にて開始する初期設定時クリーニング処理においてエラーを検知した場合等は、通信装置100が情報処理装置と接続している。その場合は、CPU101は、検知したエラーを通知するための画面を情報処理装置が備える表示部に表示させるための情報を、情報処理装置に送信する。これにより、情報処理装置は地震が備える表示部に、通信装置100において発生したエラーに関する画面を表示する。なお、CPU101は、通信装置100が接続している情報処理装置から問い合わせがあった場合に、エラー通知処理を実行する形態であっても良い。   When the CPU 101 detects an error, the CPU 101 executes an error notification process for notifying the detected error. Specifically, for example, a screen for notifying the detected error is displayed on the display operation unit 108. Further, when an error is detected in the initial setting cleaning process started in S318, which will be described later, the communication apparatus 100 is connected to the information processing apparatus. In that case, the CPU 101 transmits information for displaying a screen for notifying the detected error on the display unit included in the information processing apparatus to the information processing apparatus. As a result, the information processing apparatus displays a screen related to the error that has occurred in the communication apparatus 100 on the display unit included in the earthquake. Note that the CPU 101 may execute an error notification process when an inquiry is received from an information processing apparatus to which the communication apparatus 100 is connected.

続いて、CPU101は、S309にて、初期設定時に必要な処理が完了したか否かを判定する。初期設定時に必要な処理が完了していない場合、CPU101は、該処理が終わるまでS309を繰り返し、初期設定時に必要な処理が完了している場合、S310以降の接続設定処理を行う。なお、本実施形態においては初期設定時に必要な処理が、初期設定時クリーニング処理であるものとしてS309の処理が実行されるが、この形態に限定されない。例えば、初期設定時に必要な処理にレジ調整が含まれていても良い。   Subsequently, in step S309, the CPU 101 determines whether processing necessary for initial setting has been completed. If the processing necessary at the time of initial setting is not completed, the CPU 101 repeats S309 until the processing is completed. If the processing necessary at the time of initial setting is completed, the CPU 101 performs connection setting processing after S310. In the present embodiment, the processing of S309 is executed assuming that the processing required at the time of initial setting is the cleaning processing at the time of initial setting, but the present invention is not limited to this mode. For example, registration adjustment may be included in the processing required at the time of initial setting.

このように、S304にてインクカートリッジが取り付けられていないと判定された場合は、S306及びS307の処理により通信装置100がソフトオン状態に移行した後に、インクカートリッジが取り付けられる。本実施形態では、このようにソフトオン状態の通信装置100にインクカートリッジが取り付けられたケースでは、インクカートリッジのクリーニング処理の後に接続設定処理を行う。この理由について説明する。   As described above, when it is determined in S304 that the ink cartridge is not attached, the ink cartridge is attached after the communication apparatus 100 is shifted to the soft-on state by the processes of S306 and S307. In the present embodiment, in the case where the ink cartridge is attached to the communication device 100 in the soft-on state as described above, the connection setting process is performed after the ink cartridge cleaning process. The reason for this will be described.

後述するように、通信装置100は、接続設定処理を実行するにあたり、接続設定モードとなるためにAP118を有効にする。AP118は、接続設定モード時のみ有効となるAPであり、接続設定処理のために情報処理装置200と簡易に接続可能である必要があるため、セキュリティが比較的低いAPである。そのため、AP118が長時間有効となっていることは好ましくなく、接続設定処理には、タイムアウト処理が設けられている。また、接続設定処理がタイムアウトして中断されると、クリーニング処理を含む着荷時シーケンス全てが中断されることがある。そのため、接続設定処理の後にクリーニング処理が実行される形態では、クリーニング処理が実行されないことがあるという課題がある。   As will be described later, the communication apparatus 100 enables the AP 118 to enter the connection setting mode when executing the connection setting process. The AP 118 is effective only in the connection setting mode, and needs to be easily connectable to the information processing apparatus 200 for the connection setting process. Therefore, the AP 118 has a relatively low security. For this reason, it is not preferable that the AP 118 is valid for a long time, and a timeout process is provided in the connection setting process. Further, if the connection setting process is interrupted due to a timeout, the entire arrival sequence including the cleaning process may be interrupted. Therefore, in the form in which the cleaning process is performed after the connection setting process, there is a problem that the cleaning process may not be performed.

また、接続設定処理が実行された後には、情報処理装置200と通信装置100が通信可能な状態となるため、情報処理装置200が印刷ジョブを通信装置100に送信可能な状態となってしまう。そのため、接続設定処理の後にクリーニング処理が実行される形態では、クリーニング処理が完了していない状態で印刷ジョブが送信され、クリーニング処理が適切に完了しなかったり、印刷ジョブの開始が遅れたりすることがあるという課題がある。   Further, after the connection setting process is executed, the information processing apparatus 200 and the communication apparatus 100 are in a communicable state, and thus the information processing apparatus 200 is in a state in which a print job can be transmitted to the communication apparatus 100. Therefore, in the form in which the cleaning process is executed after the connection setting process, the print job is transmitted in a state where the cleaning process is not completed, and the cleaning process is not properly completed, or the start of the print job is delayed. There is a problem that there is.

以上の理由から、ソフトオン状態の通信装置100にインクカートリッジが取り付けられたケースでは、ソフトオフ状態の通信装置100にインクカートリッジが取り付けられたケースと異なり、クリーニング処理の後に接続設定処理が行われる。なお、このような処理は本実施形態においては必須ではない。具体的には、ソフトオン状態の通信装置100にインクカートリッジが取り付けられたケースも、ソフトオフ状態の通信装置100にインクカートリッジが取り付けられたケースと同様にクリーニング処理の前に接続設定処理が行われても良い。   For the above reasons, the case where the ink cartridge is attached to the communication device 100 in the soft-on state is different from the case where the ink cartridge is attached to the communication device 100 in the soft-off state, and the connection setting process is performed after the cleaning process. . Such processing is not essential in the present embodiment. Specifically, in the case where the ink cartridge is attached to the communication device 100 in the soft-on state, the connection setting process is performed before the cleaning process as in the case where the ink cartridge is attached to the communication device 100 in the soft-off state. It may be broken.

S310以降の処理により、CPU101は、接続設定処理を実行する。まずS310にて、CPU101は、通信装置100を接続設定モードに移行させる。これにより、通信装置100は、AP118のSSIDなどを含むビーコンを定期的に送出する状態となるため、情報処理装置(情報処理装置200等)からのAPサーチに対し、該ビーコンに含まれる情報を提供可能な状態となる。この状態で、情報処理装置200から接続要求があると、装置間で接続パラメータの交換等が行われ、通信装置100と情報処理装置200が、AP118を介して接続する。また、このとき、CPU101は、表示操作部108のLED(発光ダイオード)点滅をさせたり、LCDに特定の表示をしたりして、ユーザに対して通信装置100が接続設定モードに移行したことを通知してもいい。   The CPU 101 executes connection setting processing by the processing from S310. First, in S310, the CPU 101 shifts the communication apparatus 100 to the connection setting mode. As a result, the communication device 100 periodically sends out a beacon including the SSID of the AP 118, and therefore the information included in the beacon is detected in response to an AP search from the information processing device (the information processing device 200). It becomes ready to be provided. In this state, when there is a connection request from the information processing apparatus 200, connection parameters are exchanged between the apparatuses, and the communication apparatus 100 and the information processing apparatus 200 are connected via the AP 118. At this time, the CPU 101 causes the LED (light emitting diode) of the display operation unit 108 to blink or displays a specific display on the LCD to notify the user that the communication apparatus 100 has shifted to the connection setting mode. You can be notified.

前述したように、接続設定モードは、情報処理装置から設定情報を受信し、通信装置100に通信モードを設定するためのモードである。そこで、CPU101は、S311にて、情報処理装置200から設定情報を受信したか否かを判定する。受信していないと判定した場合、CPU101は、S312で接続設定処理がタイムアウトしたか否か判定する。接続設定処理におけるタイムアウトとは、S309にて通信装置100が接続設定モードに移行してから所定の時間以上、通信装置100が通信装置100の外部の装置と接続しない、または設定情報を受信しないことをいう。タイムアウトしていない場合、CPU101は、S311の処理を再び行う。タイムアウトした場合、CPU101は、S315にて、接続設定モードを終了し、AP118を無効化する。その後、CPU101は、S316にて、RAM103に保存されている無線LAN設定の情報を無効として処理を終了する。これは、タイムアウトした場合は、通信装置100の周辺に通信装置100と無線接続が可能な情報処理装置やAPがないと判定されるため、通信モードを設定できないためである。なお、このとき、CPU101は、タイムアウトした旨や、情報処理装置とのUSB接続を推奨する旨を表示操作部108に表示させてユーザに知らせても良い。その後、CPU101はS317に進む。   As described above, the connection setting mode is a mode for receiving setting information from the information processing apparatus and setting the communication mode in the communication apparatus 100. Therefore, the CPU 101 determines whether or not setting information has been received from the information processing apparatus 200 in S311. When determining that it has not been received, the CPU 101 determines whether or not the connection setting process has timed out in S312. The timeout in the connection setting process means that the communication device 100 does not connect to an external device of the communication device 100 or receives setting information for a predetermined time or longer after the communication device 100 shifts to the connection setting mode in S309. Say. If the timeout has not occurred, the CPU 101 performs the process of S311 again. If the timeout has occurred, the CPU 101 terminates the connection setting mode and invalidates the AP 118 in S315. Thereafter, in S316, the CPU 101 invalidates the wireless LAN setting information stored in the RAM 103 and ends the process. This is because when it times out, it is determined that there is no information processing apparatus or AP that can be wirelessly connected to the communication apparatus 100 in the vicinity of the communication apparatus 100, and the communication mode cannot be set. At this time, the CPU 101 may notify the user that the time-out has occurred or that the USB connection with the information processing apparatus is recommended on the display operation unit 108. Thereafter, the CPU 101 proceeds to S317.

一方、S310にて設定情報を受信した場合、CPU101は、S312にて、接続設定モードを終了し、AP118を無効化する。これにより、AP118と情報処理装置との接続が一旦解除される。その後、CPU101は、S313にて、受信した設定情報に基づく通信モードの設定を行う。具体的には、CPU101は、設定情報としてインフラモードに対応する情報(AP情報等)を受信した場合、設定情報に対応するAPをインフラモードで利用するAPとしてRAM103に登録し、当該APとの接続処理を実行する。また、APを利用するために暗号キーが必要な場合は、CPU101は、暗号キーの登録等を行う。そして、適切にAPの登録が終了したら、CPU101は、登録したAP経由での接続が可能なインフラモードに通信装置100を設定する。これにより、通信装置100は、登録したAP経由での情報処理装置との無線接続が可能な状態で動作する。またCPU101は、設定情報としてWFDモードやソフトAPモードに対応する情報を受信した場合は、WFDモードやソフトAPモードに対応するAPと接続するための接続情報を、設定情報の送信元の情報処理装置に接続設定モードを終了する前に送信する。そして、CPU101は、接続設定モードを終了した後、WFDモードやソフトAPモードに対応するAPを有効化して、WFDモードやソフトAPモードで動作する。CPU101は、この状態で、設定情報の送信元の情報処理装置から、接続設定モードを終了する前に送信した接続情報を含む接続要求を受信した場合、通信装置100と情報処理装置とをP2P方式で接続させる。これにより、通信装置100は、情報処理装置とP2Pによる無線接続が可能な状態で動作する。その後、CPU101はS317に進む。   On the other hand, when the setting information is received in S310, the CPU 101 ends the connection setting mode and invalidates the AP 118 in S312. Thereby, the connection between the AP 118 and the information processing apparatus is once released. Thereafter, in step S313, the CPU 101 sets a communication mode based on the received setting information. Specifically, when the CPU 101 receives information (AP information or the like) corresponding to the infrastructure mode as setting information, the CPU 101 registers the AP corresponding to the setting information in the RAM 103 as an AP used in the infrastructure mode. Execute the connection process. If an encryption key is required to use the AP, the CPU 101 registers the encryption key. Then, when the AP registration is properly completed, the CPU 101 sets the communication apparatus 100 to an infrastructure mode in which connection via the registered AP is possible. As a result, the communication apparatus 100 operates in a state where wireless connection with the information processing apparatus via the registered AP is possible. When the CPU 101 receives information corresponding to the WFD mode or the soft AP mode as the setting information, the CPU 101 uses the connection information for connecting to the AP corresponding to the WFD mode or the soft AP mode as information processing of the transmission source of the setting information. Sent to the device before exiting connection setting mode. Then, after completing the connection setting mode, the CPU 101 validates the AP corresponding to the WFD mode or the soft AP mode, and operates in the WFD mode or the soft AP mode. In this state, when the CPU 101 receives a connection request including connection information transmitted before ending the connection setting mode from the information processing apparatus that is the setting information transmission source, the CPU 101 sets the communication apparatus 100 and the information processing apparatus to the P2P method. Connect with. As a result, the communication device 100 operates in a state where wireless connection by P2P with the information processing device is possible. Thereafter, the CPU 101 proceeds to S317.

CPU101はS317にて、装着フラグ情報が、インクカートリッジがソフトオフ状態又はハードオフ状態で取り付けられたことを示す(ON状態)か否かを判定する。フラグ情報がON状態でない場合は、インクカートリッジがソフトオン状態で取り付けられたため、初期設定時クリーニング処理が実行されている。そのため、CPU101は、処理を終了する。一方、装着フラグ情報がON状態である場合は、インクカートリッジがソフトオフ状態又はハードオフ状態で取り付けられたため、初期設定時クリーニング処理が実行されていない。そのため、CPU101は、S318において、S308と同様にして初期設定時クリーニング処理を開始する。その後、CPU101は、S319において、装着フラグ情報を、インクカートリッジがソフトオフ状態又はハードオフ状態で取り付けられていないことを示す情報(OFF状態の情報)に更新し、処理を終了する。   In step S317, the CPU 101 determines whether or not the mounting flag information indicates that the ink cartridge is mounted in a soft-off state or a hard-off state (ON state). When the flag information is not in the ON state, the ink cartridge is mounted in the soft-on state, so that the initial setting cleaning process is executed. Therefore, the CPU 101 ends the process. On the other hand, when the mounting flag information is in the ON state, since the ink cartridge is mounted in the soft-off state or the hard-off state, the initial setting cleaning process is not executed. For this reason, in step S318, the CPU 101 starts the initial setting cleaning process in the same manner as in step S308. Thereafter, in S319, the CPU 101 updates the mounting flag information to information indicating that the ink cartridge is not attached in the soft-off state or the hard-off state (information in the OFF state), and ends the process.

なお、通信装置100は、USB(Universal Serial Bus)によって情報処理装置と通信することも可能である。上述で説明した通信モードは無線通信方式によって通信するためのモードであるため、通信装置100は、USBによって情報処理装置と通信する場合には、通信モードが設定される必要がない。そのため、例えば、通信装置100は、ソフトオン状態に移行した際に、USBによって情報処理装置と接続している場合には、接続設定処理を実行しない(接続設定モードに移行しない)形態としても良い。また例えば、通信装置100は、接続設定処理を実行している最中に、USBによって情報処理装置と接続した場合には、接続設定処理が完了していない状態でも接続設定処理を終了する(接続設定モードを終了する)形態としても良い。   Note that the communication apparatus 100 can also communicate with the information processing apparatus by USB (Universal Serial Bus). Since the communication mode described above is a mode for communicating by the wireless communication method, the communication device 100 does not need to be set when communicating with the information processing device by USB. Therefore, for example, the communication device 100 may be configured not to execute the connection setting process (does not shift to the connection setting mode) when the communication device 100 is connected to the information processing device through the USB when the communication device 100 is shifted to the soft-on state. . Further, for example, when the communication apparatus 100 is connected to the information processing apparatus via USB while the connection setting process is being executed, the communication apparatus 100 ends the connection setting process even if the connection setting process is not completed (connection The setting mode may be terminated).

図4は、情報処理装置200が本実施形態の通信装置に通信モードを設定する処理の流れを示すフローチャートである。なお、該フローチャートは、CPU201が、ROM202又はHDD211に格納されているフローチャートに関する制御プログラムをRAM203にロードし、その制御プログラムを実行することにより実現されるものとする。   FIG. 4 is a flowchart illustrating a flow of processing in which the information processing apparatus 200 sets a communication mode in the communication apparatus according to the present embodiment. The flowchart is realized by the CPU 201 loading a control program related to the flowchart stored in the ROM 202 or the HDD 211 into the RAM 203 and executing the control program.

まず、S401にて、CPU201は、ユーザの操作を受け付けて無線LAN設定アプリを起動させる。無線LAN設定アプリとは、通信装置100に通信モードを設定するためのアプリケーションである。なお、無線LAN設定アプリは、通信装置100に印刷ジョブを送信して印刷を実行させる機能等の、他の機能を有していても良い。無線LAN設定アプリは、内部記憶装置204に記憶されているプログラムであり、事前にユーザが情報処理装置200にインストールさせておくものである。以下の通信モードを設定するための処理は、CPU201が無線LAN設定アプリを実行することにより実現される。   First, in step S401, the CPU 201 accepts a user operation and activates a wireless LAN setting application. The wireless LAN setting application is an application for setting a communication mode in the communication device 100. Note that the wireless LAN setting application may have other functions such as a function of transmitting a print job to the communication apparatus 100 and executing printing. The wireless LAN setting application is a program stored in the internal storage device 204, and is installed in the information processing apparatus 200 by the user in advance. The processing for setting the following communication mode is realized by the CPU 201 executing the wireless LAN setting application.

ここでは、無線LAN設定アプリによって、インフラモードで利用するAPを通信装置100に登録することで、通信装置100をインフラモードに設定する例について説明する。なお、APの登録は、無線LAN設定アプリを利用せず、ウェブブラウザを介してインターネット上のサービスや、情報処理装置200及び通信装置100の他の機能等を利用して行われても良い。また、このとき、CPU201は、情報処理装置200が接続しているAPのAP情報を一時的にRAM203に保存しておく。   Here, an example in which the communication device 100 is set to the infrastructure mode by registering the AP used in the infrastructure mode in the communication device 100 by the wireless LAN setting application will be described. The AP registration may be performed using a service on the Internet, other functions of the information processing apparatus 200 and the communication apparatus 100, etc. via a web browser without using the wireless LAN setting application. At this time, the CPU 201 temporarily stores the AP information of the AP connected to the information processing apparatus 200 in the RAM 203.

次に、S402では、CPU201は、WLANユニット209を介して、情報処理装置200がアクセス可能なAPのサーチを行う。APのサーチは、無線LAN設定アプリの起動時に自動で実行されてもよいし、ユーザによる指示に応答して実行されてもよい。APのサーチは、各APが送出するビーコンを、WLANユニット209が受信することによって行われる。   In step S <b> 402, the CPU 201 searches for an AP that can be accessed by the information processing apparatus 200 via the WLAN unit 209. The AP search may be automatically executed when the wireless LAN setting application is activated, or may be executed in response to an instruction from the user. The AP search is performed when the WLAN unit 209 receives a beacon transmitted by each AP.

S403では、CPU201は、表示部208に、S402のAPサーチによって発見されたAPの一覧(APサーチ結果)を表示させる。このとき、例えば、CPU201は、各APの持つSSIDの一覧を表示させる。なお、S403において、CPU201は、AP118のSSIDを構成する上述の規則に沿った形式のSSIDを有するAPを自動で抽出し、表示する構成としても良い。このとき、上述の規則に沿った形式のSSIDが複数あった場合、それら複数のSSIDを表示させ、そこからユーザに選択させる。また、この構成とする場合、後述のS405における処理は行わなくても良い。   In S403, the CPU 201 causes the display unit 208 to display a list of APs discovered by the AP search in S402 (AP search result). At this time, for example, the CPU 201 displays a list of SSIDs possessed by each AP. In S403, the CPU 201 may be configured to automatically extract and display an AP having an SSID in a format in accordance with the above-described rules constituting the SSID of the AP 118. At this time, when there are a plurality of SSIDs in the format according to the above-described rules, the plurality of SSIDs are displayed, and the user is made to select them. Further, in the case of this configuration, the process in S405 described later may not be performed.

S403においてAPの表示が行われると、ユーザは、サーチ結果から、通信モードの設定対象となる通信装置内のAPを選択する。   When the AP is displayed in S403, the user selects an AP in the communication apparatus that is a communication mode setting target from the search result.

S404では、CPU201は、ユーザによってAPの選択を受け付けたことを検出する。   In step S <b> 404, the CPU 201 detects that the user has selected an AP.

S405では、CPU201は、S404で選択されたAPが、無線LAN設定アプリによる設定対象の通信装置内のAPであるか否かを判定する。このとき、具体的には、CPU201は、選択されたAPがAP118のSSIDを構成する上述の規則に沿った形式のSSIDを有するAPであるか否かを判定する。設定対象の通信装置内のAPでないと判定された場合は、CPU201は、再度、ユーザによるAPの選択を検出するのを待つ。なお、このとき、CPU201は、適切でないAPが選択された旨をユーザに伝えるための画面を表示部208に表示してもいい。また、設定対象となる通信装置に対応するAPが存在しない、またはユーザの所望の通信装置内のAPが存在しない場合は、CPU201は、処理を終了する構成としても良い。   In step S405, the CPU 201 determines whether the AP selected in step S404 is an AP in a communication device that is a setting target by the wireless LAN setting application. At this time, specifically, the CPU 201 determines whether or not the selected AP is an AP having an SSID in a format that conforms to the above-described rules constituting the SSID of the AP 118. If it is determined that the AP is not within the communication device to be set, the CPU 201 waits again to detect selection of the AP by the user. At this time, the CPU 201 may display on the display unit 208 a screen for informing the user that an inappropriate AP has been selected. Further, when there is no AP corresponding to the communication device to be set, or when there is no AP in the communication device desired by the user, the CPU 201 may be configured to end the processing.

なお、上述では、S403〜S405の処理により、通信モードの設定対象となる通信装置のAPをユーザに手動で選択させる構成を説明したが、この形態に限定されない。例えば、CPU201は、S402でサーチしたAPから、上述の規則に沿った形式のSSID有するAPを、通信モードの設定対象となる通信装置のAPとして自動で選択しても良い。   In the above description, the configuration in which the user manually selects the AP of the communication device that is the communication mode setting target by the processing of S403 to S405 has been described. However, the present invention is not limited to this configuration. For example, the CPU 201 may automatically select an AP having an SSID in a format that conforms to the above-described rules from the AP searched in S402 as the AP of the communication device that is the communication mode setting target.

S405で設定対象となる通信装置(ここでは通信装置100)内のAP(ここではAP118)が選択された場合、CPU201は、情報処理装置200と通信装置100とが無線接続を行うためのパラメータ(接続情報)の交換などを行う。なお、AP118と接続するための接続情報は、無線LAN設定アプリによって予め保持されている。そうすることで、情報処理装置200は、AP118に接続し、通信装置100との通信を確立する。   When an AP (here, AP 118) in the communication apparatus (here, the communication apparatus 100) to be set is selected in S405, the CPU 201 sets parameters (for the wireless connection between the information processing apparatus 200 and the communication apparatus 100). Exchange connection information). Note that connection information for connecting to the AP 118 is held in advance by the wireless LAN setting application. By doing so, the information processing apparatus 200 connects to the AP 118 and establishes communication with the communication apparatus 100.

続いて、S406にて、CPU201は、S401にて一時的にRAM203に保存したAP情報を設定情報として、S405にて接続したAP118を介して通信装置100に送信する。通信装置100は、該AP情報を受信することで、該AP情報に基づいたAP経由で接続可能なインフラモードに設定される。   In step S406, the CPU 201 transmits the AP information temporarily stored in the RAM 203 in step S401 as setting information to the communication apparatus 100 via the AP 118 connected in step S405. By receiving the AP information, the communication device 100 is set to an infrastructure mode that can be connected via an AP based on the AP information.

最後に、S407にて、CPU201は、AP118への接続をやめて、S401にて一時的にRAM203に保存したAP情報に基づくAPに再度接続することで、通信装置100と該APを介して通信可能となる。このとき、CPU201は、情報処理装置200が今後接続する通信装置として、通信装置100をRAM203に登録する。その後、CPU201は、無線LAN設定アプリを終了する。   Finally, in S407, the CPU 201 can communicate with the communication apparatus 100 via the AP by disconnecting from the AP 118 and reconnecting to the AP based on the AP information temporarily stored in the RAM 203 in S401. It becomes. At this time, the CPU 201 registers the communication device 100 in the RAM 203 as a communication device to be connected to the information processing device 200 in the future. Thereafter, the CPU 201 ends the wireless LAN setting application.

なお、S402からS404の処理は、無線LAN設定アプリによって行うとは限らず、情報処理装置200にインストール済みの他のアプリなどによってAP118をサーチし、無線LAN設定アプリがその結果を取得する構成としてもよい。   Note that the processing from S402 to S404 is not necessarily performed by the wireless LAN setting application, and the AP 118 is searched by another application already installed in the information processing apparatus 200, and the wireless LAN setting application acquires the result. Also good.

また、上述では、CPU201は、AP118を介して通信装置100と通信しているため、IEEE802.11シリーズに準拠した通信方式(すなわち、Wi−Fi(登録商標))で、設定情報を通信装置100に送信していた。しかしながらこの形態に限定されず、CPU201は、例えば、IEEE802.11シリーズに準拠した通信方式と異なる通信方式で、設定情報を通信装置100に送信してもよい。このとき利用される通信方式は、例えば、Bluetooth(登録商標) Classic、Bluetooth Low Energy、Near Field Communication、Wi−Fi Aware等である。このような形態とすることで、CPU201は、インフラモードで使用されるAPとのWi−Fiによる接続を維持したまま、他の通信方式で、通信装置100に設定情報を送信することができる。   In the above description, since the CPU 201 communicates with the communication apparatus 100 via the AP 118, the setting information is transmitted to the communication apparatus 100 using a communication method (that is, Wi-Fi (registered trademark)) compliant with the IEEE802.11 series. Had been sent to. However, the present invention is not limited to this mode, and the CPU 201 may transmit the setting information to the communication apparatus 100 using a communication method different from a communication method compliant with the IEEE 802.11 series, for example. The communication method used at this time is, for example, Bluetooth (registered trademark) Classic, Bluetooth Low Energy, Near Field Communication, Wi-Fi Aware, or the like. By adopting such a form, the CPU 201 can transmit the setting information to the communication apparatus 100 by another communication method while maintaining the Wi-Fi connection with the AP used in the infrastructure mode.

また、上述では、CPU201が、通信装置100にインフラモードを設定する形態を説明したが、この形態に限定されない。例えば、WFDモードやソフトAPモード等、他の通信モードを通信装置100に設定しても良い。通信装置100に設定する通信モードは、例えば、無線LAN設定アプリによって表示される画面を介してユーザの選択を受け付けることで決定されても良いし、情報処理装置200の通信環境に基づいて無線LAN設定アプリによって自動で決定されても良い。例えば、通信装置100に通信モードを設定する際に、情報処理装置200がいずれかのAPに接続している場合は、通信装置100に設定する通信モードとしてインフラモードが選択される。また例えば、通信装置100に通信モードを設定する際に、情報処理装置200がいずれのAPにも接続していない場合は、通信装置100に設定する通信モードとしてWFDモードやソフトAPモード等のP2P方式の通信モードが選択される。   In the above description, the CPU 201 sets the infrastructure mode in the communication device 100. However, the present invention is not limited to this mode. For example, other communication modes such as the WFD mode and the soft AP mode may be set in the communication apparatus 100. The communication mode set in the communication device 100 may be determined, for example, by accepting a user's selection via a screen displayed by the wireless LAN setting application, or based on the communication environment of the information processing device 200 It may be automatically determined by the setting application. For example, when the communication mode is set in the communication apparatus 100, if the information processing apparatus 200 is connected to any AP, the infrastructure mode is selected as the communication mode to be set in the communication apparatus 100. Further, for example, when the communication mode is set in the communication apparatus 100, if the information processing apparatus 200 is not connected to any AP, the P2P such as the WFD mode or the soft AP mode is set as the communication mode to be set in the communication apparatus 100. The communication mode of the method is selected.

このような形態とすることで、通信装置100は、適切なタイミングで接続設定処理を実行することが可能となる。   By adopting such a form, the communication apparatus 100 can execute the connection setting process at an appropriate timing.

(その他の実施形態)
上述の実施形態では、通信装置100及び情報処理装置200の処理は、初期設定時に行う処理であると説明したが、これに限定されない。例えば、通信装置100及び情報処理装置200の処理は、通信装置100の無線LAN設定が無効となっている時に行ってもよいし、通信装置100の初期化処理をした時に行ってもよい。
(Other embodiments)
In the above-described embodiment, the processing of the communication device 100 and the information processing device 200 has been described as processing performed at the time of initial setting, but is not limited thereto. For example, the processing of the communication device 100 and the information processing device 200 may be performed when the wireless LAN setting of the communication device 100 is invalid, or may be performed when the communication device 100 is initialized.

上述の実施形態では、通信モードは、通信装置100が無線による接続形態によって通信可能に動作するモードであったが、これに限定されず、例えば有線やUSBによる接続形態によって通信可能に動作するモードであってもいい。この場合、有線通信モードやUSB通信モードが通信装置100に設定される。   In the above-described embodiment, the communication mode is a mode in which the communication device 100 operates so as to be communicable by a wireless connection form, but is not limited to this, for example, a mode in which communication can be performed by a wired or USB connection form. May be. In this case, the wired communication mode and the USB communication mode are set in the communication device 100.

本発明は、所定の被取り付け物の取り付けのための操作をユーザから受け付けるための所定の動作を実行する第1の状態と、前記所定の動作を実行しない第2の状態を含む複数の状態のうちいずれかで動作する通信装置において適用可能なものである。上述では、所定の被取り付け物が記録ヘッドであり、所定の動作がキャリッジの移動であり、通信装置が印刷装置である形態について説明したが、この形態に限定されない。例えば、通信装置がレーザービームプリンタであれば、被取り付け物が、トナーカートリッジであっても良い。また、例えば通信装置がPCであれば、所定の被取り付け物がCDやDVD等の記憶媒体であり、所定の動作が記憶媒体が取り付けられるカセットの移動や記憶媒体の挿入口の開閉であっても良い。   The present invention includes a plurality of states including a first state in which a predetermined operation for receiving an operation for attaching a predetermined attachment from a user is performed and a second state in which the predetermined operation is not performed. The present invention can be applied to a communication device that operates in any one of them. In the above description, the predetermined mounting object is the recording head, the predetermined operation is the carriage movement, and the communication apparatus is the printing apparatus. However, the present invention is not limited to this. For example, if the communication device is a laser beam printer, the attached object may be a toner cartridge. For example, if the communication device is a PC, the predetermined attachment is a storage medium such as a CD or a DVD, and the predetermined operation is movement of a cassette to which the storage medium is attached or opening / closing of the insertion slot of the storage medium. Also good.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。   The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

上述した実施形態は、以下の処理を実行することによっても実現される。すなわち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(CPUやMPU等)がプログラムを読み出して実行する処理である。また、プログラムは、1つのコンピュータで実行させても、複数のコンピュータで連動させて実行させるようにしてもよい。また、上記した処理の全てをソフトウェアで実現する必要はなく、処理の一部または全部をASIC等のハードウェアで実現するようにしてもよい。また、CPUも1つのCPUで全ての処理を行うものに限らず、複数のCPUが適宜連携をしながら処理を行うものとしてもよい。   The above-described embodiment 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 (CPU, MPU, etc.) of the system or apparatus reads and executes the program. It is processing to do. The program may be executed by one computer or may be executed in conjunction with a plurality of computers. Also, it is not necessary to implement all of the above processing by software, and part or all of the processing may be realized by hardware such as an ASIC. Further, the CPU is not limited to the one that performs all the processing by one CPU, and a plurality of CPUs may perform the processing while appropriately cooperating.

Claims (23)

所定の被取り付け物の取り付けのための操作をユーザから受け付けるための所定の動作を実行する第1の状態と、前記所定の動作を実行しない第2の状態を含む複数の状態のうちいずれかで動作する通信装置であって、
前記所定の被取り付け物の取り付けに基づくエラーを検知するための検知処理及び、前記通信装置と情報処理装置とを接続させるための接続設定処理を、前記通信装置が前記第2の状態から前記第1の状態に移行したことに基づいて実行する実行手段と、
前記検知処理によって前記エラーが検知された場合、前記接続設定処理によって前記通信装置と接続した前記情報処理装置に、前記検知処理によって検知された前記エラーをユーザに通知するための情報を送信する送信手段と、を有し、
前記通信装置が前記第2の状態で、前記所定の被取り付け物が前記通信装置に取り付けられた場合、前記接続設定処理が実行された後、前記検知処理が実行されることを特徴とする通信装置。
One of a plurality of states including a first state in which a predetermined operation for receiving an operation for attaching a predetermined attachment from a user is executed and a second state in which the predetermined operation is not executed An operating communication device,
The communication device performs a detection process for detecting an error based on the attachment of the predetermined attachment and a connection setting process for connecting the communication device and the information processing device from the second state to the first state. Execution means for executing based on the transition to the state 1;
When the error is detected by the detection process, transmission for transmitting information for notifying the user of the error detected by the detection process to the information processing apparatus connected to the communication apparatus by the connection setting process Means,
When the communication apparatus is in the second state and the predetermined attachment is attached to the communication apparatus, the detection process is executed after the connection setting process is executed. apparatus.
前記通信装置が前記第1の状態で、前記所定の被取り付け物が前記通信装置に取り付けられた場合、前記検知処理が実行された後、前記接続設定処理が実行されることを特徴とする請求項1に記載の通信装置。   The connection setting process is executed after the detection process is executed when the predetermined attached object is attached to the communication apparatus in the first state in the communication apparatus. Item 4. The communication device according to Item 1. 液晶ディスプレイで構成される表示部を有しないことを特徴とする請求項1又は2に記載の通信装置。   The communication apparatus according to claim 1, wherein the communication apparatus does not include a display unit configured by a liquid crystal display. 前記第1の状態より、前記第2の状態の方が消費電力が小さいことを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。   4. The communication device according to claim 1, wherein the second state consumes less power than the first state. 5. 前記所定の被取り付け物は、記録媒体に記録剤を付加するための記録部材であることを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。   The communication apparatus according to any one of claims 1 to 4, wherein the predetermined attachment is a recording member for adding a recording agent to a recording medium. 前記所定の被取り付け物は、記録媒体にインクを吐出するための記録ヘッドであることを特徴とする請求項5に記載の通信装置。   6. The communication apparatus according to claim 5, wherein the predetermined attachment is a recording head for ejecting ink onto a recording medium. 前記所定の動作は、前記所定の被取り付け物が取り付けられるキャリッジを、前記所定の被取り付け物の取り付けのための操作をユーザから受け付けるための所定の位置に移動させる動作であることを特徴とする請求項5又は6に記載の通信装置。   The predetermined operation is an operation of moving a carriage to which the predetermined attachment is attached to a predetermined position for receiving an operation for attaching the predetermined attachment from a user. The communication apparatus according to claim 5 or 6. 前記所定の動作は、前記通信装置の開口部を開放する開放位置と、前記開口部を覆う閉じ位置との間で移動可能なカバーが、前記閉じ位置から移動したことに基づいて実行される請求項7に記載の通信装置。   The predetermined operation is executed based on a movement of a cover that is movable between an open position that opens the opening of the communication device and a closed position that covers the opening from the closed position. Item 8. The communication device according to Item 7. 前記検知処理は、前記所定の被取り付け物をクリーニングするためのクリーニング処理を含むことを特徴とする請求項1乃至8のいずれか1項に記載の通信装置。   The communication device according to claim 1, wherein the detection process includes a cleaning process for cleaning the predetermined attachment. 前記接続設定処理は、
前記通信装置と接続する前記情報処理装置から、前記通信装置と前記情報処理装置との接続の形態に関する所定の情報を受信する受信処理と、
前記受信処理によって受信された前記所定の情報に基づく接続の形態で、前記通信装置と前記情報処理装置とを接続させる接続処理と、を含むことを特徴とする請求項1乃至9のいずれか1項に記載の通信装置。
The connection setting process includes:
A receiving process for receiving predetermined information relating to a form of connection between the communication device and the information processing device from the information processing device connected to the communication device;
10. A connection process for connecting the communication apparatus and the information processing apparatus in a connection form based on the predetermined information received by the reception process. The communication device according to item.
前記接続設定処理は、前記通信装置のアクセスポイントを有効化する有効化処理をさらに含み、
前記受信処理は、前記有効化処理によって有効化された前記通信装置のアクセスポイントを介して前記通信装置と接続する前記情報処理装置から、前記通信装置と前記情報処理装置との接続の形態に関する所定の情報を受信することで実行されることを特徴とする請求項10に記載の通信装置。
The connection setting process further includes an enabling process for enabling an access point of the communication device,
The reception process is a predetermined process related to a connection form between the communication apparatus and the information processing apparatus from the information processing apparatus connected to the communication apparatus via the access point of the communication apparatus activated by the activation process. The communication apparatus according to claim 10, wherein the communication apparatus is executed by receiving the information.
前記有効化処理によって前記通信装置のアクセスポイントが有効化されている状態で、所定の接続方式で前記情報処理装置と前記通信装置が接続した場合、前記通信装置のアクセスポイントを無効化することを特徴とする請求項11に記載の通信装置。   The access point of the communication device is invalidated when the information processing device and the communication device are connected by a predetermined connection method in a state where the access point of the communication device is validated by the validation process. The communication apparatus according to claim 11, characterized in that: 前記受信処理は、第1の通信方式によって前記通信装置と接続する前記情報処理装置から、前記通信装置と前記情報処理装置との接続の形態に関する所定の情報を受信することで実行され、
前記接続処理は、前記受信処理によって受信された前記所定の情報に基づく接続の形態で、前記第1の通信方式と異なる第2の通信方式によって、前記通信装置と前記情報処理装置とを接続させることで実行されることを特徴とする請求項10に記載の通信装置。
The reception process is executed by receiving predetermined information related to a connection form between the communication device and the information processing device from the information processing device connected to the communication device by a first communication method,
The connection process is a connection form based on the predetermined information received by the reception process, and connects the communication apparatus and the information processing apparatus by a second communication method different from the first communication method. The communication apparatus according to claim 10, wherein the communication apparatus is executed.
前記第1の通信方式は、Bluetooth Classic、Bluetooth Low Energy、Near Field Communication、Wi−Fi Awareのうちいずれかであることを特徴とする請求項13に記載の通信装置。   14. The communication apparatus according to claim 13, wherein the first communication method is any one of Bluetooth Classic, Bluetooth Low Energy, Near Field Communication, and Wi-Fi Aware. 前記第2の通信方式は、Wi−Fiであることを特徴とする請求項13又は14に記載の通信装置。   The communication apparatus according to claim 13 or 14, wherein the second communication method is Wi-Fi. 前記通信装置が前記第2の状態で、前記所定の被取り付け物が前記通信装置に取り付けられ、且つ前記接続設定処理が開始されてから所定の時間が経過しても、前記通信装置と前記情報処理装置が接続しなかった場合、前記接続設定処理が中断され、且つ前記検知処理が実行されないことを特徴とする請求項1乃至15のいずれか1項に記載の通信装置。   Even if a predetermined time elapses after the predetermined attachment object is attached to the communication device and the connection setting process is started in the second state, the communication device and the information 16. The communication apparatus according to claim 1, wherein when the processing apparatus is not connected, the connection setting process is interrupted and the detection process is not executed. 前記通信装置が前記第1の状態から前記第2の状態に移行した際に、所定の接続形態で前記情報処理装置と前記通信装置が接続している場合、前記接続設定処理を実行しないことを特徴とする請求項1乃至16のいずれか1項に記載の通信装置。   When the communication device has transitioned from the first state to the second state, the connection setting process is not executed if the information processing device and the communication device are connected in a predetermined connection form. The communication device according to any one of claims 1 to 16, wherein the communication device is characterized in that: 前記接続設定処理は、前記通信装置の外部且つ前記情報処理装置の外部の装置を介さずに接続する接続形態で、前記通信装置と情報処理装置とを接続させるための処理であることを特徴とする請求項1乃至17のいずれか1項に記載の通信装置。   The connection setting process is a process for connecting the communication apparatus and the information processing apparatus in a connection form in which the connection apparatus is connected outside the communication apparatus and not through the apparatus outside the information processing apparatus. The communication device according to any one of claims 1 to 17. 前記接続設定処理は、前記通信装置の外部且つ前記情報処理装置の外部の装置を介して接続する接続形態で、前記通信装置と情報処理装置とを接続させるための処理であることを特徴とする請求項1乃至18のいずれか1項に記載の通信装置。   The connection setting process is a process for connecting the communication apparatus and the information processing apparatus in a connection form in which the connection apparatus is connected to the outside of the communication apparatus and the information processing apparatus. The communication apparatus according to any one of claims 1 to 18. 前記検知処理及び前記接続設定処理は、さらに、前記通信装置が前記検知処理が一度も実行されていない状態である初期設定状態であることに基づいて実行され、
前記通信装置が前記初期設定状態でない場合、前記検知処理及び前記接続設定処理は、前記通信装置が前記第2の状態から前記第1の状態に移行したことに基づいて実行されないことを特徴とする請求項1乃至19のいずれか1項に記載の通信装置。
The detection process and the connection setting process are further executed based on an initial setting state in which the communication device is not executed the detection process,
When the communication apparatus is not in the initial setting state, the detection process and the connection setting process are not executed based on the fact that the communication apparatus has shifted from the second state to the first state. The communication apparatus according to any one of claims 1 to 19.
記録媒体上に記録剤によって印刷を実行する印刷手段を更に有することを特徴とする請求項1乃至20のいずれか1項に記載の通信装置。   21. The communication apparatus according to claim 1, further comprising a printing unit that performs printing on a recording medium using a recording agent. 所定の被取り付け物の取り付けのための操作をユーザから受け付けるための所定の動作を実行する第1の状態と、前記所定の動作を実行しない第2の状態を含む複数の状態のうちいずれかで動作する通信装置の制御方法であって、
前記所定の被取り付け物の取り付けに基づくエラーを検知するための検知処理及び、前記通信装置と情報処理装置とを接続させるための接続設定処理を、前記通信装置が前記第2の状態から前記第1の状態に移行したことに基づいて実行する実行ステップと、
前記検知処理によって前記エラーが検知された場合、前記接続設定処理によって前記通信装置と接続した前記情報処理装置に、前記検知処理によって検知された前記エラーをユーザに通知するための情報を送信する送信ステップと、を有し、
前記通信装置が前記第2の状態で、前記所定の被取り付け物が前記通信装置に取り付けられた場合、前記接続設定処理が実行された後、前記検知処理が実行されることを特徴とする制御方法。
One of a plurality of states including a first state in which a predetermined operation for receiving an operation for attaching a predetermined attachment from a user is executed and a second state in which the predetermined operation is not executed A method for controlling an operating communication device, comprising:
The communication device performs a detection process for detecting an error based on the attachment of the predetermined attachment and a connection setting process for connecting the communication device and the information processing device from the second state to the first state. An execution step to be executed based on the transition to the state 1;
When the error is detected by the detection process, transmission for transmitting information for notifying the user of the error detected by the detection process to the information processing apparatus connected to the communication apparatus by the connection setting process And having steps,
When the communication apparatus is in the second state and the predetermined attachment is attached to the communication apparatus, the detection process is executed after the connection setting process is executed. Method.
所定の被取り付け物の取り付けのための操作をユーザから受け付けるための所定の動作を実行する第1の状態と、前記所定の動作を実行しない第2の状態を含む複数の状態のうちいずれかで動作する通信装置のコンピュータに、
前記所定の被取り付け物の取り付けに基づくエラーを検知するための検知処理及び、前記通信装置と情報処理装置とを接続させるための接続設定処理を、前記通信装置が前記第2の状態から前記第1の状態に移行したことに基づいて実行する実行ステップと、
前記検知処理によって前記エラーが検知された場合、前記接続設定処理によって前記通信装置と接続した前記情報処理装置に、前記検知処理によって検知された前記エラーをユーザに通知するための情報を送信する送信ステップと、を実行させ、
前記通信装置が前記第2の状態で、前記所定の被取り付け物が前記通信装置に取り付けられた場合、前記接続設定処理が実行された後、前記検知処理が実行されることを特徴とするプログラム。
One of a plurality of states including a first state in which a predetermined operation for receiving an operation for attaching a predetermined attachment from a user is executed and a second state in which the predetermined operation is not executed In the computer of the operating communication device,
The communication device performs a detection process for detecting an error based on the attachment of the predetermined attachment and a connection setting process for connecting the communication device and the information processing device from the second state to the first state. An execution step to be executed based on the transition to the state 1;
When the error is detected by the detection process, transmission for transmitting information for notifying the user of the error detected by the detection process to the information processing apparatus connected to the communication apparatus by the connection setting process Step, and
When the communication device is in the second state and the predetermined attachment is attached to the communication device, the detection processing is executed after the connection setting processing is executed. .
JP2017119067A 2017-06-16 2017-06-16 Communication equipment, control methods and programs Active JP6904799B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017119067A JP6904799B2 (en) 2017-06-16 2017-06-16 Communication equipment, control methods and programs
JP2021103695A JP7062814B2 (en) 2017-06-16 2021-06-23 Communication equipment, control methods and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017119067A JP6904799B2 (en) 2017-06-16 2017-06-16 Communication equipment, control methods and programs

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2021103695A Division JP7062814B2 (en) 2017-06-16 2021-06-23 Communication equipment, control methods and programs

Publications (2)

Publication Number Publication Date
JP2019001106A true JP2019001106A (en) 2019-01-10
JP6904799B2 JP6904799B2 (en) 2021-07-21

Family

ID=65004936

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2017119067A Active JP6904799B2 (en) 2017-06-16 2017-06-16 Communication equipment, control methods and programs
JP2021103695A Active JP7062814B2 (en) 2017-06-16 2021-06-23 Communication equipment, control methods and programs

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2021103695A Active JP7062814B2 (en) 2017-06-16 2021-06-23 Communication equipment, control methods and programs

Country Status (1)

Country Link
JP (2) JP6904799B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020119035A (en) * 2019-01-18 2020-08-06 キヤノン株式会社 Voice control system, server, voice terminal, method, and program
JP2021022876A (en) * 2019-07-29 2021-02-18 キヤノン株式会社 Communication apparatus, control method, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07266577A (en) * 1994-03-31 1995-10-17 Canon Inc Recording apparatus
JP2004086032A (en) * 2002-08-28 2004-03-18 Ricoh Co Ltd Image forming apparatus
US20100172659A1 (en) * 2009-01-08 2010-07-08 Samsung Electronics Co., Ltd Image forming apparatus and control method thereof
JP2012058761A (en) * 2011-12-20 2012-03-22 Konica Minolta Business Technologies Inc Image formation device and method of controlling the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5023660B2 (en) * 2006-10-31 2012-09-12 コニカミノルタビジネステクノロジーズ株式会社 Image forming apparatus and method for controlling image forming apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07266577A (en) * 1994-03-31 1995-10-17 Canon Inc Recording apparatus
JP2004086032A (en) * 2002-08-28 2004-03-18 Ricoh Co Ltd Image forming apparatus
US20100172659A1 (en) * 2009-01-08 2010-07-08 Samsung Electronics Co., Ltd Image forming apparatus and control method thereof
JP2012058761A (en) * 2011-12-20 2012-03-22 Konica Minolta Business Technologies Inc Image formation device and method of controlling the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020119035A (en) * 2019-01-18 2020-08-06 キヤノン株式会社 Voice control system, server, voice terminal, method, and program
JP7352355B2 (en) 2019-01-18 2023-09-28 キヤノン株式会社 Voice control system, server, voice terminal, method, and program
JP2021022876A (en) * 2019-07-29 2021-02-18 キヤノン株式会社 Communication apparatus, control method, and program
JP7362335B2 (en) 2019-07-29 2023-10-17 キヤノン株式会社 Communication device, control method, and program

Also Published As

Publication number Publication date
JP2021154746A (en) 2021-10-07
JP6904799B2 (en) 2021-07-21
JP7062814B2 (en) 2022-05-06

Similar Documents

Publication Publication Date Title
US11212410B2 (en) Communication apparatus and control method therefor
JP6516491B2 (en) Communication apparatus, control method and program
CN108377313B (en) Control method for information processing apparatus
JP7230124B2 (en) Program, communication device, control method
US9819822B2 (en) Image forming system, image forming apparatus, terminal device and non-transitory computer-readable recording medium
JP7476518B2 (en) Wireless communication system, second processing device
JP6866209B2 (en) Information processing device, control method, program
JP7062814B2 (en) Communication equipment, control methods and programs
US11463599B2 (en) Communication apparatus
JP6477109B2 (en) Image processing system and image forming apparatus
US10372392B2 (en) Communication apparatus, control method, and storage medium for canceling a communication setting
JP6494835B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
US11301187B2 (en) Communication apparatus capable of operating in connection setting state and performing initial setting
US10268427B2 (en) Print control apparatus for performing wireless communication, control method, and storage medium
JP6929412B2 (en) Information processing equipment, control methods and programs
US20240004590A1 (en) Setting information transmission apparatus
JP2023005903A (en) Communication device and method for controlling the same, and program
JP2023013417A (en) Communication apparatus and control method for the same, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200610

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210316

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210514

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210624

R151 Written notification of patent or utility model registration

Ref document number: 6904799

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151