JP4438068B2 - Image forming apparatus and host apparatus connected to image forming apparatus - Google Patents

Image forming apparatus and host apparatus connected to image forming apparatus Download PDF

Info

Publication number
JP4438068B2
JP4438068B2 JP2004342250A JP2004342250A JP4438068B2 JP 4438068 B2 JP4438068 B2 JP 4438068B2 JP 2004342250 A JP2004342250 A JP 2004342250A JP 2004342250 A JP2004342250 A JP 2004342250A JP 4438068 B2 JP4438068 B2 JP 4438068B2
Authority
JP
Japan
Prior art keywords
image forming
forming apparatus
host
host device
registered
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004342250A
Other languages
Japanese (ja)
Other versions
JP2006155036A (en
JP2006155036A5 (en
Inventor
敦 島崎
知成 炭田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2004342250A priority Critical patent/JP4438068B2/en
Priority to US11/282,770 priority patent/US8064081B2/en
Priority to EP05257255A priority patent/EP1679836A3/en
Priority to CNB2005101241612A priority patent/CN100394377C/en
Publication of JP2006155036A publication Critical patent/JP2006155036A/en
Publication of JP2006155036A5 publication Critical patent/JP2006155036A5/ja
Application granted granted Critical
Publication of JP4438068B2 publication Critical patent/JP4438068B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、画像形成装置、画像形成装置と接続するホスト装置に関する。   The present invention relates to an image forming apparatus and a host device connected to the image forming apparatus.

従来、ホストPCとプリンタ装置からなるプリントシステムにおいては、ホストPCとプリンタ装置とをUSBケーブルにより接続し、プリンタ装置のエラー情報やインク残量、バッテリ残量などの状態を示すステータス情報をホスト装置に通知している(たとえば特許文献1)。   Conventionally, in a printing system comprising a host PC and a printer device, the host PC and the printer device are connected by a USB cable, and status information indicating the status of the printer device such as error information, ink remaining amount, battery remaining amount, etc. (For example, Patent Document 1).

このようなプリントシステムにおいては、ホストPCはステータス情報取得コマンドをあらかじめプリンタ装置に送信し、通知を要望するステータス種別をプリンタ装置に登録しておき、プリンタ装置は登録した種別のステータス情報が変更されるとそれを更新する。ホスト装置は、登録した種別のステータス情報をホスト装置からのポーリングにより読み出している。また近年では、ホストPCから特にステータス情報取得コマンドを送信しなくても、プリンタ装置側がすべてのステータス情報をホストPC対して適宜送信するプリントシステムもある。   In such a printing system, the host PC transmits a status information acquisition command to the printer device in advance, registers the status type for which notification is desired, in the printer device, and the status information of the registered type is changed in the printer device. Then update it. The host device reads status information of the registered type by polling from the host device. In recent years, there is also a printing system in which the printer device side appropriately transmits all status information to the host PC without transmitting a status information acquisition command from the host PC.

現在、無線によるデータ通信の1つとして周波数2.4GHz帯においてスペクトラム拡散方式を適用したBluetooth通信が普及している。   Currently, as one of wireless data communication, Bluetooth communication using a spread spectrum system in a frequency of 2.4 GHz band is widespread.

Bluetooth通信では個々のユースケースに応じたプロファイルが定められており、そのプロファイルに従って通信制御が行われている。プロファイルの1つであるHardcopy Cable Replacement Profile(以下HCRP)では、ホストPCとプリンタ装置やスキャナ装置との通信に関する方法が規定されており、BluetoothのLogical Link Control and Adaptation Protocol(以下L2CAP)層を通して通信が行われる。Bluetooth通信装置には固有の48ビットBluetoothデバイス・アドレス(以降BD_ADDR)が割り当てられており、接続時にはこのBD_ADDRを相手に知らせリンク接続が行われる。   In Bluetooth communication, a profile corresponding to each use case is defined, and communication control is performed according to the profile. One of the profiles, Hardcopy Cable Replacement Profile (hereinafter referred to as HCRP), stipulates a method related to communication between a host PC and a printer device or a scanner device. The Bluetooth Logical Link and Adaptation Protocol (hereinafter referred to as L2CAP) layer is used. Is done. A unique 48-bit Bluetooth device address (hereinafter referred to as BD_ADDR) is assigned to the Bluetooth communication apparatus, and at the time of connection, this BD_ADDR is notified to the other party and a link connection is made.

HCRPはL2CAP層の2つのチャネルを使用する。ホストPCは、データチャネル上で通信データを送信し、コントロールチャネル上で各種制御を行う。プリンタシステムにおいては、例えば、データチャネルにおけるデータフロー制御は、プリンタ装置側がコントロールチャネル上で自機器が受信可能なデータバイト数をクレジットとしてホストPCに与え、ホストPCは与えられたクレジット数を超えない範囲でデータチャネル上で通信データを送信するという形で行われる。   HCRP uses two channels in the L2CAP layer. The host PC transmits communication data on the data channel and performs various controls on the control channel. In the printer system, for example, in the data flow control in the data channel, the printer device side gives the number of data bytes that can be received by the device on the control channel to the host PC as a credit, and the host PC does not exceed the given credit number. It is done in the form of transmitting communication data on the data channel in range.

次に、従来のプリンタシステムにおけるステータス情報の取得方法について説明する。   Next, a method for acquiring status information in a conventional printer system will be described.

プリンタ装置とホストPCとをHCRPで接続する。ホストPC側にインストールされたプリンタドライバは、プリンタ装置に対してデータチャネル上でステータス情報取得コマンドを送信し、プリンタ装置に対して送信して欲しいステータス種別を通知する。一方、プリンタ装置側ではホストPCから受け取ったステータス情報取得コマンドにより通知されたステータス種別を基に自機器の現在の状態をチェックし、エラー情報やインク残量、バッテリ残量などの状態をデータチャネル上でホストPCに対して送信する。ホストPCは、受信したステータス情報を、付随するモニタなどに現在のプリンタ装置の状態として表示し、ユーザーに知らせる。   The printer device and the host PC are connected by HCRP. The printer driver installed on the host PC side transmits a status information acquisition command to the printer apparatus on the data channel, and notifies the printer apparatus of the status type desired to be transmitted. On the other hand, the printer device checks the current status of its own device based on the status type notified by the status information acquisition command received from the host PC, and displays the status such as error information, ink remaining amount, and battery remaining amount in the data channel. The above is transmitted to the host PC. The host PC displays the received status information on the accompanying monitor or the like as the current status of the printer device, and informs the user.

ここで、Bluetoothを用いてデータ通信を行う場合、無線帯域の占有を防ぐため、電流の消耗を防ぐため、あるいは、1つのマスターに対して最大7つまでしか同時接続出来ないという仕様上の問題などから、1つのデータ送信単位ごとにリンクの接続・切断が行なわれる。HCRPによるプリントシステムにおいても、1つの印刷ジョブごとにリンクの接続・切断が行われる。ステータス情報取得コマンドも印刷ジョブの一種であり、印刷中などであらかじめリンクが接続されている状況でなければ、ホストPCがステータス情報取得コマンドを送信するたびにリンクの接続・切断が行われる。
特開2004−050726号公報
Here, when data communication is performed using Bluetooth, there is a problem in the specification that only up to seven simultaneous connections can be made to one master in order to prevent occupying a wireless band, to prevent current consumption. Thus, link connection / disconnection is performed for each data transmission unit. Also in the print system based on HCRP, link connection / disconnection is performed for each print job. The status information acquisition command is also a type of print job. When the link is not connected in advance during printing or the like, the link is connected / disconnected each time the host PC transmits a status information acquisition command.
JP 2004-050726 A

前述のように、Bluetoothを用いたプリントシステムの場合には、1つの印刷ジョブごとにリンクの接続・切断が行われる。プリンタ装置側は、一度接続が切断されると、次回の接続相手が前回の接続と同じホストであるという保証が無いため、前回の接続時に登録されたステータスの種別情報をクリアしてしまう。従って、ホストPCがそのようなプリンタ装置からステータス情報を取得するためには、プリンタ装置と接続するたびにステータス情報取得コマンドを送信する必要がある。たとえば、ホストPCが印刷処理を行わずにプリンタ装置のステータスだけをモニターするような状況でも、プリンタ装置のステータスを取得する処理を行うたびにステータス情報取得コマンドを送信しなければならない。   As described above, in the case of a print system using Bluetooth, a link is connected / disconnected for each print job. Once the connection is cut off, the printer device side does not guarantee that the next connection partner is the same host as the previous connection, so the status type information registered at the previous connection is cleared. Therefore, in order for the host PC to acquire status information from such a printer device, it is necessary to transmit a status information acquisition command each time the printer is connected to the printer device. For example, even in a situation where the host PC monitors only the status of the printer apparatus without performing the printing process, a status information acquisition command must be transmitted each time processing for acquiring the status of the printer apparatus is performed.

従来のUSBなどの有線接続においては、ホストPCがプリンタ装置のステータスをモニタする場合には、リンク切断に相当するような状況は通常の状態では発生しない。そのため、ホストPCは最初に一度ステータス情報取得コマンドを送信してプリンタ装置に情報を登録すれば、後は単純なリード操作によるポーリング処理でステータスを取得することが出来る。それと比較してBluetoothを用いた場合は、毎回ステータス情報取得コマンドを発行するという追加のプロセスが必要となってしまう。   In a conventional wired connection such as USB, when the host PC monitors the status of the printer apparatus, a situation corresponding to link disconnection does not occur in a normal state. Therefore, if the host PC first transmits a status information acquisition command and registers information in the printer device, the status can be acquired by a polling process by a simple read operation. In contrast, when Bluetooth is used, an additional process of issuing a status information acquisition command every time is required.

また、複数のインターフェースを持ち、ホストPCからのデータ通信によりインターフェースの占有状態が切り替わるプリンタ装置においては、ステータスのモニタのためにホストPCからのデータ通信を発生させると占有状態が一時的に切り替わるという不便な状況が発生している。   In addition, in a printer apparatus that has a plurality of interfaces and the occupation state of the interface is switched by data communication from the host PC, when the data communication from the host PC is generated for status monitoring, the occupation state is temporarily switched. An inconvenient situation has occurred.

また、近年の有線接続のプリントシステムにおいて行われているような、ステータス情報取得コマンド無しにプリンタ装置側がすべてのステータス情報をホストPC対して適宜送信するという方式をBluetoothにも適用することが考えられる。この場合、ホストPCでは、常にステータス情報を正常に受け取ることが出来るドライバーが動作していなければならない。しかし、そのようなホストPCとばかり接続しているとは限らず、ステータス情報を受け取る用意の無いアプリケーションやドライバーの動作しているホストPCには解釈不能なデータを送信してしまうことになる。そのため、接続するホストPCにおいて不具合が発生することが考えられる。   In addition, it is conceivable to apply a method in which the printer apparatus appropriately transmits all status information to the host PC without a status information acquisition command as is done in a recent wired connection printing system. . In this case, the host PC must always operate a driver that can normally receive status information. However, it is not always connected to such a host PC, and uninterpretable data is transmitted to a host PC in which an application or driver that is not ready to receive status information is operating. For this reason, it is conceivable that a problem occurs in the connected host PC.

本発明はこのような点を考慮したもので、ホスト装置と画像形成装置との通信において冗長性の少ない処理を行い、利便性の高いシステムを提供することを目的としている。   The present invention takes such points into consideration, and an object of the present invention is to provide a highly convenient system by performing processing with less redundancy in communication between a host apparatus and an image forming apparatus.

本発明は、無線データチャネルを用いて、ホスト装置から画像形成装置に印刷データを送信し、印刷を行う印刷システムであって、ホスト装置は、無線データチャネルによる双方向通信が可能であるか否かを判別する第1の判別手段と、前記画像形成装置との無線コントロールチャネルの通信により、前記ホスト装置が前記画像形成装置に登録済みか否かを判別する第2の判別手段と、前記第1の判別手段により前記双方向通信が可能であると判別し、かつ、前記第2の判別手段により前記ホスト装置が前記画像形成装置に登録されていないと判別した場合に、前記画像形成装置に対して、双方向通信が可能であることを示す情報を、前記データチャネルを介して送信する第1の送信手段と、を有し、前記画像形成装置は、双方向通信が可能であることを示す情報を、データチャネルを介して送信したホスト装置の識別情報を登録する登録手段と、ホスト装置からの接続に応答して、前記登録手段により登録されているホスト装置に対して、画像形成装置のステータス情報を、データチャネルを介して送信する第2の送信手段と、を有することを特徴とする。   The present invention is a printing system that performs printing by transmitting print data from a host apparatus to an image forming apparatus using a wireless data channel, and the host apparatus is capable of bidirectional communication using the wireless data channel. First determination means for determining whether or not the host apparatus has been registered in the image forming apparatus by communication over a wireless control channel with the image forming apparatus; When it is determined that the bidirectional communication is possible by one determination unit and the host device is determined not to be registered in the image forming apparatus by the second determination unit, the image forming apparatus And a first transmission unit that transmits information indicating that bidirectional communication is possible via the data channel, and the image forming apparatus is capable of bidirectional communication. In response to a connection from the host device, registration means for registering identification information of the host device that has transmitted information indicating that the host device is transmitted via the data channel, to the host device registered by the registration unit, And second transmission means for transmitting status information of the image forming apparatus via a data channel.

また、本発明は、ホスト装置と接続する画像形成装置において、双方向通信が可能であることを示す情報を、データチャネルを介して送信したホスト装置の識別情報を登録する登録手段と、ホスト装置からの接続に応答して、前記登録手段により登録されているホスト装置に対して、画像形成装置のステータス情報を、データチャネルを介して送信する送信手段と、を有することを特徴とする。   According to another aspect of the present invention, there is provided a registration unit for registering identification information of a host device that has transmitted information indicating that bidirectional communication is possible via a data channel in an image forming apparatus connected to the host device, and the host device And transmitting means for transmitting status information of the image forming apparatus via a data channel to the host apparatus registered by the registering means in response to the connection from.

また、本発明は、画像形成装置と接続するホスト装置において、無線データチャネルによる双方向通信が可能であるか否かを判別する第1の判別手段と、前記画像形成装置との無線コントロールチャネルの通信により、前記ホスト装置が前記画像形成装置に登録済みか否かを判別する第2の判別手段と、前記第1の判別手段により前記双方向通信が可能であると判別し、かつ、前記第2の判別手段により前記ホスト装置が前記画像形成装置に登録されていないと判別した場合に、前記画像形成装置に対して、双方向通信が可能であることを示す情報を、前記データチャネルを介して送信する送信手段と、を有することを特徴とする。   According to another aspect of the present invention, a host device connected to the image forming apparatus includes a first determination unit that determines whether or not bidirectional communication using a wireless data channel is possible, and a wireless control channel between the image forming apparatus and the image forming apparatus. It is determined by communication that the host device is registered in the image forming apparatus, a second determination unit that determines whether the bidirectional communication is possible, and the first determination unit. When the determination unit 2 determines that the host device is not registered in the image forming apparatus, information indicating that bidirectional communication is possible is transmitted to the image forming apparatus via the data channel. And transmitting means for transmitting.

また、本発明は、ホスト装置と接続する画像形成装置の制御方法において、双方向通信が可能であることを示す情報を、データチャネルを介して送信したホスト装置の識別情報を登録する登録工程と、ホスト装置からの接続に応答して、前記登録工程において登録されているホスト装置に対して、画像形成装置のステータス情報を、データチャネルを介して送信する送信工程と、を有することを特徴とする。   According to another aspect of the present invention, in a method for controlling an image forming apparatus connected to a host device, a registration step of registering identification information of the host device transmitted through the data channel, indicating that bi-directional communication is possible. A transmission step of transmitting status information of the image forming apparatus via a data channel to the host device registered in the registration step in response to a connection from the host device. To do.

また、本発明は、画像形成装置と接続するホスト装置の制御方法において、無線データチャネルによる双方向通信が可能であるか否かを判別する第1の判別工程と、前記画像形成装置との無線コントロールチャネルの通信により、前記ホスト装置が前記画像形成装置に登録済みか否かを判別する第2の判別工程と、前記第1の判別工程において前記双方向通信が可能であると判別し、かつ、前記第2の判別工程において前記ホスト装置が前記画像形成装置に登録されていないと判別した場合に、前記画像形成装置に対して、双方向通信が可能であることを示す情報を、前記データチャネルを介して送信する送信工程と、を有することを特徴とする。   According to another aspect of the present invention, in a method for controlling a host device connected to an image forming apparatus, a first determination step of determining whether or not bidirectional communication using a wireless data channel is possible, and wireless communication between the image forming apparatus and the image forming apparatus. A second determination step of determining whether or not the host device is registered in the image forming apparatus by communication on a control channel; and determining that the bidirectional communication is possible in the first determination step; and In the second determination step, when it is determined that the host device is not registered in the image forming apparatus, information indicating that bi-directional communication is possible with respect to the image forming apparatus, the data A transmission step of transmitting via a channel.

本発明によれば、ホスト装置と画像形成装置との通信において冗長性の少ない処理を行い、利便性の高いシステムを提供することができる。   According to the present invention, a highly convenient system can be provided by performing processing with less redundancy in communication between the host device and the image forming apparatus.

たとえば、ホスト装置は画像形成装置のステータスをモニタリングするために、毎回ステータス情報取得コマンドを送信する必要が無くなる。また、ステータス情報を受け取ることの出来ないホスト装置に対して不用意にステータス情報を送信してしまい、不具合を発生させてしまう可能性も無くなる。   For example, the host device does not need to send a status information acquisition command every time in order to monitor the status of the image forming apparatus. In addition, there is no possibility that the status information is inadvertently transmitted to a host device that cannot receive the status information, and a malfunction occurs.

(実施例1)
以下、図面を使用して本発明の実施の形態について詳細に説明する。
Example 1
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は本実施例におけるプリンタ装置1とホストPC2の構成の概略を示す図である。図1に示すように、プリンタ装置1はプリンタ制御部105、CPU101、Flash ROM103、RAM104、無線通信I/F制御部102、ベースバンド部106、RF部107、アンテナ108を備えている。   FIG. 1 is a diagram schematically illustrating the configuration of a printer device 1 and a host PC 2 in the present embodiment. As shown in FIG. 1, the printer apparatus 1 includes a printer control unit 105, a CPU 101, a flash ROM 103, a RAM 104, a wireless communication I / F control unit 102, a baseband unit 106, an RF unit 107, and an antenna 108.

Flash ROM103には、CPU101によってプリンタ装置1を制御動作させるためのプログラムや各種動作テーブルなどが書きこまれている。Flash ROMを使用せずに、ROMとEEPROMなどの不揮発性メモリを同時に具備することによっても本実施例の目的は達成可能である。RAM104には各種変数や制御テーブル、一時的に利用するデータ、パケット受信用の送受信バッファ等が格納利用されている。CPU101は、Flash ROM103に記憶されているプログラムを実行することにより、以下に説明する図2〜4、図6の処理を実行する。   In the flash ROM 103, a program for causing the CPU 101 to control the printer apparatus 1 and various operation tables are written. The object of the present embodiment can also be achieved by simultaneously providing a non-volatile memory such as a ROM and an EEPROM without using a flash ROM. The RAM 104 stores and uses various variables, control tables, temporarily used data, transmission / reception buffers for packet reception, and the like. The CPU 101 executes the program stored in the flash ROM 103, thereby executing the processes shown in FIGS.

アンテナ108を通して受信された信号はRF部107により復調処理されベースバンド部106にデータとして出力される。ベースバンド部106では復調されたデータの誤り訂正処理が行われ、処理結果に応じて正常に受信されたデータが無線通信I/F制御部102に出力され、誤りが発見されたデータに対しては再送要求が行われる。更にセキュリティモードの設定によって相手機器に認証の要求や暗号化処理が行われる。ベースバンド部106と無線通信I/F制御部102との間の各種制御、イベント処理やデータ通信は、規格で定められているホストコントローラーインターフェース(以下HCI)に沿ってパケット単位で行われる。   A signal received through the antenna 108 is demodulated by the RF unit 107 and output to the baseband unit 106 as data. The baseband unit 106 performs error correction processing of the demodulated data, and normally received data is output to the wireless communication I / F control unit 102 according to the processing result, and the data in which an error has been found is output. A retransmission request is made. Further, the authentication request or encryption processing is performed on the counterpart device depending on the setting of the security mode. Various controls, event processing, and data communication between the baseband unit 106 and the wireless communication I / F control unit 102 are performed in packet units along a host controller interface (hereinafter referred to as HCI) defined in the standard.

データ送信の際には、送信データがHCIに規定されたパケットの形となって無線通信I/F制御部102からベースバンド部106に転送され、データに誤り訂正符合等が付加され所定のデータフォーマットに変換された後RF部107に出力される。RF部107では入力されたデータが変調され、アンテナ108によって他の無線通信機器に送信される。データ受信の際には、送信の場合とは逆の経路でデータが転送され、最終的に無線通信I/F制御部102でベースバンド部106から入力されたHCIパケットデータの解析が行われる。無線通信I/F制御部102では、Bluetooth通信に必要なリンク接続交渉、サービス検索応答、各プロトコル階層における接続交渉、データ転送およびフローコントロール等の制御処理が行われる。   At the time of data transmission, the transmission data is transferred to the baseband unit 106 from the wireless communication I / F control unit 102 in the form of a packet defined by the HCI, and an error correction code or the like is added to the data to obtain predetermined data. After being converted into the format, it is output to the RF unit 107. In the RF unit 107, the input data is modulated and transmitted to another wireless communication device by the antenna 108. At the time of data reception, data is transferred through a path opposite to that in the case of transmission, and finally, the HCI packet data input from the baseband unit 106 is analyzed by the wireless communication I / F control unit 102. The wireless communication I / F control unit 102 performs control processing such as link connection negotiation, service search response, connection negotiation in each protocol layer, data transfer, and flow control necessary for Bluetooth communication.

接続相手となるホストPC2でも同様にCPU201、無線通信I/F制御部202、ROM203、RAM204およびアンテナ205を備えており、無線通信I/F制御部202を通じてプリンタ装置1と無線通信により接続を行い、各種印刷データや制御データを送受信することにより印刷を行う。ホストPC2は表示装置(不図示)を備えておりプリンタ装置1から受信したステータス情報データを解析し、プリンタ装置の状態を表示し、ユーザに通知することが可能な構成となっている。また、後述するプリンタドライバを、RAM204または不図示のハードディスクデバイスに記憶している。   Similarly, the host PC 2 as a connection partner also includes a CPU 201, a wireless communication I / F control unit 202, a ROM 203, a RAM 204, and an antenna 205, and connects to the printer device 1 through the wireless communication I / F control unit 202 by wireless communication. Printing is performed by transmitting and receiving various print data and control data. The host PC 2 includes a display device (not shown), and is configured to analyze the status information data received from the printer device 1, display the status of the printer device, and notify the user. Further, a printer driver to be described later is stored in the RAM 204 or a hard disk device (not shown).

プリンタ装置1は、HCRP接続時にデータチャネル上で、印刷データを受信し、プリンタ装置1自身のステータス情報をホストPC2に送信する双方向通信が可能な構成となっている。また、コントロールチャネル上では、HCRPに規定の仕組みによりデバイスIDを応答することが可能な構成となっている。   The printer device 1 is configured to be capable of bidirectional communication in which print data is received on a data channel when HCRP is connected, and status information of the printer device 1 itself is transmitted to the host PC 2. On the control channel, a device ID can be returned by a mechanism defined in HCRP.

次に、プリンタ装置1がBluetooth接続を受け付けた際の動作について図2のフローチャートを用いて詳細に説明する。   Next, the operation when the printer apparatus 1 accepts the Bluetooth connection will be described in detail with reference to the flowchart of FIG.

図2は、プリンタ装置1のCPU101がFlash ROM103またはRAM104に記憶されているプログラムに従って実行する、デバイスIDにセットする登録済みフラグの設定や、プリンタ装置1に登録したホストPCが最大数に達した場合にセットする登録フルフラグの設定に関した処理の流れを示している。   FIG. 2 shows the setting of the registered flag set in the device ID executed by the CPU 101 of the printer apparatus 1 according to the program stored in the flash ROM 103 or the RAM 104, and the maximum number of host PCs registered in the printer apparatus 1 has been reached. The flow of processing related to the setting of the registration full flag to be set in this case is shown.

プリンタ装置1にホストPC2からBluetooth接続が行われると(S201)、CPU101はHCRP接続が行われたかどうかを確認する(S202)。別プロファイルによる接続の場合は、当該プロファイルの処理を行う(S203)。HCRP接続が行われた場合は、接続ホストPC2のBD_ADDRを接続時の情報からBluetoothの仕組みで取得する(S204)。プリンタ装置1には、HCRPによる双方向通信が可能でありステータス情報を受け付けることの出来るホストPCのBD_ADDRのリストが、後述する処理によりあらかじめ不揮発性メモリやRAM104などに記憶保存されている。CPU101は、取得したBD_ADDRがそのリスト中に登録済みであるかどうかの判定を行い(S205)、登録されている場合には取得した登録済みフラグをセットする(S206)。登録されていない場合には登録済みフラグをリセットする(S207)。次に、CPU101は、BD_ADDRのリストとして登録できる最大数に達しているかどうかを確認し(S208)、最大数に達している場合には登録フルフラグをセットし(S209)、超えていない場合にはリセットする(S210)。このようにして、デバイスIDの一部の情報(登録済みフラグ、登録フルフラグ)を後のホストPC2からのデバイスID要求に備えて、HCRPの接続時に更新しておく。   When the Bluetooth connection is made from the host PC 2 to the printer apparatus 1 (S201), the CPU 101 confirms whether the HCRP connection is made (S202). In the case of connection with another profile, the profile is processed (S203). When the HCRP connection is performed, the BD_ADDR of the connection host PC 2 is acquired from the connection information by the Bluetooth mechanism (S204). In the printer apparatus 1, a list of BD_ADDRs of the host PC that can perform bi-directional communication by HCRP and can receive status information is stored and saved in advance in a non-volatile memory, the RAM 104, or the like by processing to be described later. The CPU 101 determines whether or not the acquired BD_ADDR is already registered in the list (S205), and if it is registered, sets the acquired registered flag (S206). If not registered, the registered flag is reset (S207). Next, the CPU 101 checks whether or not the maximum number that can be registered as a list of BD_ADDR has been reached (S208). If the maximum number has been reached, the registration full flag is set (S209). Reset (S210). In this way, a part of the device ID information (registered flag, registered full flag) is updated at the time of HCRP connection in preparation for a device ID request from the host PC 2 later.

次に、プリンタ装置1のCPU101がFlash ROM103またはRAM104に記憶されているプログラムに従って実行する、双方向通信が可能でありステータス情報を受け付けることの出来るホストPCの登録方法について、図3のフローチャートを用いて詳細に説明する。   Next, a registration method of a host PC that can perform bidirectional communication and can receive status information, which is executed by the CPU 101 of the printer apparatus 1 according to a program stored in the flash ROM 103 or the RAM 104, will be described with reference to the flowchart of FIG. Will be described in detail.

図3のフローチャートは、ホストPC2からHCRP接続中に「ステータス情報受付可能コマンド」を受信した際に、プリンタ装置1のCPU101が実行する処理を示している。   The flowchart of FIG. 3 shows processing executed by the CPU 101 of the printer apparatus 1 when a “status information acceptable command” is received from the host PC 2 during HCRP connection.

プリンタ装置1がステータス情報受付可能コマンドを受信した場合(S301)、CPU101は、図2のS204のHCRP接続時に取得しているホストPC2のBD_ADDRがRAM104に記憶しているリストに既に登録されているかどうかを確認する(S302)。リスト中に登録済みの場合にはそのまま処理を終了する(S307)。登録されていない場合には、プリンタ装置1がRAM104に記憶できるホストPCの最大登録数に達しているかどうかを確認する(S303)。最大登録数に達している場合には、登録フルフラグをセットして更新し(S306)、処理を終了する(S307)。最大登録数に達していない場合には、接続してきたホストPC2のBD_ADDRをリストに登録する(S304)。その後、再度最大登録数に達しているかどうかを判断し(S305)、最大登録数に達した場合には、登録フルフラグをセットして更新し(S306)、処理を終了する(S307)。以上のように、ホストPC2から「ステータス情報受付可能コマンド」を受信した場合には、ホストPC2のBD_ADDRがプリンタ装置1のRAM104に登録される。   When the printer apparatus 1 receives the status information accepting command (S301), the CPU 101 has already registered the BD_ADDR of the host PC 2 acquired when the HCRP is connected in S204 of FIG. 2 in the list stored in the RAM 104. It is confirmed whether or not (S302). If it is already registered in the list, the process is terminated as it is (S307). If not registered, it is confirmed whether the printer apparatus 1 has reached the maximum number of registered host PCs that can be stored in the RAM 104 (S303). If the maximum number of registrations has been reached, the registration full flag is set and updated (S306), and the process ends (S307). If the maximum registration number has not been reached, the BD_ADDR of the connected host PC 2 is registered in the list (S304). Thereafter, it is determined again whether the maximum number of registrations has been reached (S305). If the maximum number of registrations has been reached, the registration full flag is set and updated (S306), and the process is terminated (S307). As described above, when the “status information receivable command” is received from the host PC 2, the BD_ADDR of the host PC 2 is registered in the RAM 104 of the printer apparatus 1.

なお、図3に示したフローチャートでは、登録デバイスの入れ替えを自動的には行わず、現状で登録が可能かどうかを登録フルフラグを用いて表す方法を示したが、最大登録数に達している場合に、RAM104のホストPC登録領域を確保するために既存の登録の1つを削除し、空き領域を確保した上で登録するという手法も存在する。このときの登録削除の方法としては、古い情報の順に削除する、あるいは接続された回数などの優先順位を設けて優先順位の低いものから削除するなどが考えられる。   In the flowchart shown in FIG. 3, the registration device is not automatically replaced, and a method of using the registration full flag to indicate whether registration is possible at present is shown, but the maximum number of registrations has been reached. In addition, there is a method in which one of the existing registrations is deleted in order to secure the host PC registration area of the RAM 104, and registration is performed after securing a free area. As a method for deleting the registration at this time, it may be possible to delete in order of old information, or to set a priority such as the number of times of connection, and delete from the lowest priority.

次に、プリンタ装置1のCPU101がFlash ROM103またはRAM104に記憶されているプログラムに従って実行するHCRP接続中のデバイスID応答処理およびステータス情報送信処理に関して、図4のフローチャートを用いて詳細に説明する。   Next, device ID response processing and status information transmission processing during HCRP connection executed by the CPU 101 of the printer apparatus 1 according to a program stored in the flash ROM 103 or RAM 104 will be described in detail with reference to the flowchart of FIG.

ホストPC2がプリンタ装置1に対して、HCRPに規定の手法によりコントロールチャネル上でデバイスIDを要求すると、プリンタ装置1のCPU101はそれを検出し(S402)、あらかじめ定めてある自機のIDと、図2および図3のフローチャートに示した処理によって用意されている登録済みフラグや登録フルフラグとを組み合わせて、デバイスIDとしてホストPC2に送信し応答する(S403)。プリンタ装置1のCPU101は、デバイスIDを要求してきたホストPC2のBD_ADDRが、図3のフローチャートに示した処理によって登録されているかどうかを確認する(S404)。登録されていない場合は、HCRP接続が切断されたかを判断し(S407)、切断された場合は処理を終了する(S408)。登録されている場合には、自機のステータス(エラー状態、インク残量、バッテリ残量等)の監視を行う(S405)。自機のステータスに変化があった場合に、データチャネル上で変化後のステータス情報をホストPC2に送信する(S406)。この処理を、HCRP接続が行われている間、繰り返す(S407、S408)。   When the host PC 2 requests the printer device 1 for a device ID on the control channel by a method prescribed in HCRP, the CPU 101 of the printer device 1 detects it (S402), A combination of the registered flag and the registration full flag prepared by the processing shown in the flowcharts of FIGS. 2 and 3 is transmitted as a device ID to the host PC 2 and responds (S403). The CPU 101 of the printer apparatus 1 checks whether the BD_ADDR of the host PC 2 that has requested the device ID is registered by the process shown in the flowchart of FIG. 3 (S404). If it is not registered, it is determined whether the HCRP connection is disconnected (S407). If it is disconnected, the process is terminated (S408). If registered, the status (error state, ink remaining amount, battery remaining amount, etc.) of the own device is monitored (S405). When there is a change in the status of the own device, the changed status information is transmitted to the host PC 2 on the data channel (S406). This process is repeated while the HCRP connection is being made (S407, S408).

以上の様にして、プリンタ装置1は、デバイスIDの応答およびステータス情報の送信を行う。なお、ここでは、ループ処理によりデバイスIDの要求を監視しているが、プロトコルスタックからの割り込み処理によりデバイスIDの要求に応答する手法も考えられる。   As described above, the printer apparatus 1 transmits a device ID response and status information. Although the device ID request is monitored by loop processing here, a method of responding to the device ID request by interrupt processing from the protocol stack is also conceivable.

次に、ホストPC2のRAM204に記憶されているプリンタドライバの構成について説明する。プリンタドライバはホストPC2の中で一般のアプリケーションからデータを受けて、プリンタ装置に対して印刷データを送信するソフトウェアである。さらに、プリンタドライバは、プリンタ装置の状態を監視するためのステータスモニタと呼ばれるアプリケーションも内蔵しており、プリンタ装置から受信したステータス情報データを解析しホストPC2の表示装置にプリンタ装置の状態を表示する。また、プリンタドライバはホストPC2の印刷ポート情報や搭載されているプロトコルスタックの情報等により、ホストPC2がHCRPで双方向通信することが可能かどうかを判断できる構成となっている。   Next, the configuration of the printer driver stored in the RAM 204 of the host PC 2 will be described. The printer driver is software that receives data from a general application in the host PC 2 and transmits print data to the printer apparatus. Further, the printer driver also includes an application called a status monitor for monitoring the status of the printer device, analyzes the status information data received from the printer device, and displays the status of the printer device on the display device of the host PC 2. . The printer driver is configured to determine whether or not the host PC 2 can perform bi-directional communication by HCRP based on the print port information of the host PC 2 and information of the installed protocol stack.

続いて、ホストPC2のCPU201が実行するプリンタドライバの動作について図5のフローチャートを用いて詳細に説明する。   Next, the operation of the printer driver executed by the CPU 201 of the host PC 2 will be described in detail with reference to the flowchart of FIG.

図5のフローチャートは、プリンタドライバ内蔵のステータスモニタアプリケーションの処理の流れを示している。ここでは、説明の簡便のために、登録フルフラグの処理についてはフローチャートでの図示を省略している。   The flowchart in FIG. 5 shows the flow of processing of the status monitor application built in the printer driver. Here, for simplicity of explanation, the registration full flag processing is not shown in the flowchart.

プリンタドライバ内蔵のステータスモニタアプリケーションは、ユーザーによる指示でCPU201により起動、実行される(S501)。ステータスモニタが起動されると、最初にホストPC2に搭載されているBluetoothプロトコルスタックにおいてHCRPの双方向通信が可能であるかどうかを確認する(S502)。HCRPの双方向通信が不可能であれば、ステータス情報をプリンタ装置1から受信することが出来ないので何も処理をせずに処理を終了する(S513)。HCRPの双方向通信が可能と判断した場合には、プリンタドライバは無線通信I/F制御部202を制御し、プリンタ装置1に対してBluetooth接続時処理を行い(S503)、続いてHCRPの接続処理を行う(S504)。HCRP接続が確立されると、HCRPコントロールチャネル上でプリンタ装置1に対してデバイスIDを要求しデバイスIDを取得する(S505)。続いて、取得したデバイスIDの情報の中から登録済みフラグを確認し、プリンタ装置1に自機器のBD_ADDRが既に登録されているかどうかを判断する(S506)。登録されていなかった場合には、プリンタドライバはプリンタ装置1に対して「ステータス情報受付可能コマンド」を送信し(S507)、プリンタ装置1に自機器のBD_ADDRを登録する。登録済みの場合には、その後プリンタ装置1から送信されてくるステータス情報を受信する(S508)。   The status monitor application with a built-in printer driver is activated and executed by the CPU 201 in accordance with a user instruction (S501). When the status monitor is activated, it is first checked whether or not bidirectional communication of HCRP is possible in the Bluetooth protocol stack installed in the host PC 2 (S502). If bi-directional communication of HCRP is impossible, status information cannot be received from the printer apparatus 1, and the process is terminated without performing any process (S513). If it is determined that bi-directional communication of HCRP is possible, the printer driver controls the wireless communication I / F control unit 202 to perform Bluetooth connection processing to the printer apparatus 1 (S503), and then connect to HCRP. Processing is performed (S504). When the HCRP connection is established, the device ID is requested to the printer apparatus 1 on the HCRP control channel and the device ID is acquired (S505). Subsequently, the registered flag is confirmed from the acquired device ID information, and it is determined whether or not the BD_ADDR of the own device is already registered in the printer apparatus 1 (S506). If not registered, the printer driver transmits a “status information acceptable command” to the printer apparatus 1 (S507), and registers the BD_ADDR of its own device in the printer apparatus 1. If it has already been registered, status information transmitted from the printer 1 is received (S508).

ここで、プリンタ装置1側にステータスの変化が何も無い場合には、ステータス情報がホストPC2に対して送信されないため、ホストPC2側でステータス情報を受信出来ないケースも実際には存在する。このような場合には、プリンタドライバはプリンタ装置1の状態が以前と変化していないものとして扱う。ステータス情報を受信できた場合には、その情報を解析してプリンタ装置1の状態をホストPC2の表示装置に表示しユーザーにプリンタ装置1の状態を通知する。   Here, when there is no status change on the printer apparatus 1 side, status information is not transmitted to the host PC 2, so there is actually a case where the status information cannot be received on the host PC 2 side. In such a case, the printer driver treats the printer device 1 as having not changed from the previous state. When the status information can be received, the information is analyzed and the status of the printer device 1 is displayed on the display device of the host PC 2 to notify the user of the status of the printer device 1.

その後、HCRPの切断処理を行い(S509)、続いてBluetoothの切断処理を行う(S510)。ユーザーからのステータスモニタ終了指示があれば、プリンタドライバはステータスモニタの動作を終了する(S513)。指示がなければ、適当な時間スリープ処理を行い(S512)、再度プリンタ装置1のステータスモニタ動作を繰り返す。   Thereafter, an HCRP disconnection process is performed (S509), and then a Bluetooth disconnection process is performed (S510). If there is a status monitor termination instruction from the user, the printer driver terminates the status monitor operation (S513). If there is no instruction, sleep processing is performed for an appropriate time (S512), and the status monitor operation of the printer 1 is repeated again.

プリンタ装置1とBD_ADDRが登録済みのホストPC2との通信の流れについて図6のタイムチャートを用いて詳細に説明する。図6のタイムチャートは、プリンタドライバ内蔵のステータスモニタアプリケーション動作時の処理の流れを示している。   A communication flow between the printer apparatus 1 and the host PC 2 in which the BD_ADDR has been registered will be described in detail with reference to the time chart of FIG. The time chart of FIG. 6 shows the flow of processing when the status monitor application built in the printer driver is operating.

ホストPC2上で、ユーザの指示によりプリンタドライバ内蔵のステータスモニタアプリケーションが起動されると、プリンタドライバの主導でホストPC2とプリンタ装置1の間でBluetooth接続が確立され(S601)、続いてHCRPの接続が確立される(S602)。次に、HCRPで双方向通信を行うためのクレジットの交換が行われる。ホストPC2がプリンタ装置1に対して、ステータス情報受信用のクレジットを与え(S603)、プリンタ装置1がホストPC2に対して、印刷データ受信用のクレジットを与える(S604)。次に、ホストPC2はコントロールチャネル上でプリンタ装置1に対してデバイスIDの要求を行い(S605)、プリンタ装置1はデバイスIDに登録されていることを示す登録済みフラグをセットした状態でデバイスIDを送信する(S606)。ホストPC2は自機器がプリンタ装置1にステータス情報受付可能であると登録されていることを確認して、ステータス情報の受信待ちとなる。プリンタ装置1は、ホストPC2が登録済みであることから、プリンタ装置1のステータス情報をデータチャネル上でホストPC2に対して送信する(S607)。ホストPC2上のプリンタドライバは、その情報を解析してプリンタ装置1の状態をホストPC2の表示装置に表示してユーザーにプリンタ装置1の状態を通知する。その後、HCRPの切断処理を行い(S608)、続いてBluetoothの切断処理を行う(S609)。   When a status monitor application with a built-in printer driver is started on the host PC 2 according to a user instruction, a Bluetooth connection is established between the host PC 2 and the printer apparatus 1 under the initiative of the printer driver (S601), and then an HCRP connection is established. Is established (S602). Next, exchange of credits for two-way communication with HCRP is performed. The host PC 2 gives a credit for receiving status information to the printer apparatus 1 (S603), and the printer apparatus 1 gives a credit for receiving print data to the host PC 2 (S604). Next, the host PC 2 requests a device ID from the printer apparatus 1 on the control channel (S605), and the printer apparatus 1 sets the registered ID indicating that it is registered in the device ID. Is transmitted (S606). The host PC 2 confirms that its own device is registered in the printer device 1 as being able to accept status information, and waits for reception of status information. Since the host PC 2 is already registered, the printer apparatus 1 transmits the status information of the printer apparatus 1 to the host PC 2 on the data channel (S607). The printer driver on the host PC 2 analyzes the information and displays the status of the printer device 1 on the display device of the host PC 2 to notify the user of the status of the printer device 1. Thereafter, an HCRP disconnection process is performed (S608), and then a Bluetooth disconnection process is performed (S609).

以上のようにして、ホストPC2とプリンタ装置1の間でデバイスIDの取得およびステータス情報の受信処理が行われる。   As described above, device ID acquisition and status information reception processing are performed between the host PC 2 and the printer apparatus 1.

前述の実施例から明らかなように、ホストPCはプリンタ装置のステータスをモニタリングするために、毎回ステータス情報取得コマンドを送信する必要が無くなり、はじめの接続時にステータス情報受付可能コマンドを送信してプリンタ装置にホスト装置のBD_ADDRを登録すればステータス情報を取得できる。従って、USB接続の場合と同様に単純なリード操作によるポーリング処理でプリンタ装置のステータスをモニタすることが可能となる。また、ホストPCのプリンタドライバのコードをBluetoothとUSBとで統一できるというメリットも生じる。また、プリンタ装置が、ステータス情報を受け取ることの出来ないホストPCに対して不用意にステータス情報を送信してしまい、不具合を発生させてしまう可能性も無くなる。   As is clear from the above-described embodiment, the host PC does not need to send a status information acquisition command every time in order to monitor the status of the printer device. If the BD_ADDR of the host device is registered in, status information can be acquired. Accordingly, it is possible to monitor the status of the printer apparatus by polling processing by a simple read operation as in the case of USB connection. In addition, there is a merit that the printer driver code of the host PC can be unified between Bluetooth and USB. In addition, there is no possibility that the printer device will inadvertently transmit status information to a host PC that cannot receive status information, causing problems.

さらに、複数のインターフェースを持ち、ホストPCからのデータ通信によりインターフェースの占有状態が切り替わるプリンタ装置においては、ホストPCによるプリンタ装置のステータスのモニタのためのデータチャネル上の通信が発生しないため、占有状態を切り替えることがなくなり、もう片方のインタフェースに不都合を与えないままステータスを送信することが可能となる。   Further, in a printer apparatus having a plurality of interfaces and the interface occupation state is switched by data communication from the host PC, communication on the data channel for monitoring the printer apparatus status by the host PC does not occur. The status can be transmitted without inconvenience to the other interface.

実施例のプリンタ装置1、ホスト装置2の構成の概略を示す図である。1 is a diagram schematically illustrating the configuration of a printer device 1 and a host device 2 according to an embodiment. 実施例のプリンタ装置1がBluetooth接続を受け付けた際の処理を説明するフローチャートである。6 is a flowchart illustrating processing when the printer apparatus 1 according to the embodiment receives a Bluetooth connection. 実施例のプリンタ装置1がホストPC2からHCRP接続中に「ステータス情報受付可能コマンド」を受信した際の、プリンタ装置1のCPU101が実行する処理を説明するフローチャートである。6 is a flowchart illustrating processing executed by the CPU 101 of the printer apparatus 1 when the printer apparatus 1 according to the embodiment receives a “status information receivable command” from the host PC 2 during HCRP connection. 実施例のプリンタ装置1がHCRP接続中に行なうデバイスID応答処理およびステータス情報送信処理を説明するフローチャートである。6 is a flowchart illustrating device ID response processing and status information transmission processing performed by the printer device 1 according to the embodiment during HCRP connection. 実施例のホストPC2が実行するプリンタドライバの動作について説明するフローチャートである。6 is a flowchart illustrating an operation of a printer driver executed by the host PC 2 according to the embodiment. 実施例のプリンタ装置1とBD_ADDRが登録済みのホストPC2との通信の流れについて説明するタイムチャートである。6 is a time chart illustrating a communication flow between the printer apparatus 1 of the embodiment and a host PC 2 in which BD_ADDR is registered.

符号の説明Explanation of symbols

1 プリンタ装置
2 ホストPC
101 CPU
102 無線通信I/F制御部
103 Flash ROM
104 RAM
105 プリンタ制御部
106 ベースバンド部
107 RF部
108 アンテナ
201 CPU
202 無線通信I/F制御部
203 ROM
204 RAM
205 アンテナ
1 Printer device 2 Host PC
101 CPU
102 Wireless communication I / F control unit 103 Flash ROM
104 RAM
105 Printer Control Unit 106 Baseband Unit 107 RF Unit 108 Antenna 201 CPU
202 Wireless communication I / F control unit 203 ROM
204 RAM
205 Antenna

Claims (16)

無線データチャネルを用いて、ホスト装置から画像形成装置に印刷データを送信し、印刷を行う印刷システムであって、
ホスト装置は、
無線データチャネルによる双方向通信が可能であるか否かを判別する第1の判別手段と、
前記画像形成装置との無線コントロールチャネルの通信により、前記ホスト装置が前記画像形成装置に登録済みか否かを判別する第2の判別手段と、
前記第1の判別手段により前記双方向通信が可能であると判別し、かつ、前記第2の判別手段により前記ホスト装置が前記画像形成装置に登録されていないと判別した場合に、前記画像形成装置に対して、双方向通信が可能であることを示す情報を、前記データチャネルを介して送信する第1の送信手段と、を有し、
前記画像形成装置は、
双方向通信が可能であることを示す情報を、データチャネルを介して送信したホスト装置の識別情報を登録する登録手段と、
ホスト装置からの接続に応答して、前記登録手段により登録されているホスト装置に対して、画像形成装置のステータス情報を、データチャネルを介して送信する第2の送信手段と、
を有することを特徴とする印刷システム。
A printing system that performs printing by transmitting print data from a host device to an image forming apparatus using a wireless data channel,
The host device
First discriminating means for discriminating whether or not two-way communication by a wireless data channel is possible;
Second determination means for determining whether or not the host device has been registered in the image forming apparatus by communication with a wireless control channel with the image forming apparatus;
When the first determination unit determines that the two-way communication is possible and the second determination unit determines that the host device is not registered in the image forming apparatus, the image formation is performed. First transmission means for transmitting information indicating that bidirectional communication is possible to the apparatus via the data channel;
The image forming apparatus includes:
Registration means for registering identification information of a host device that has transmitted information indicating that bidirectional communication is possible via a data channel;
Second transmission means for transmitting status information of the image forming apparatus via the data channel to the host apparatus registered by the registration means in response to a connection from the host apparatus;
A printing system comprising:
請求項1に記載の印刷システムにおいて、
前記画像形成装置に接続するホスト装置に対して、当該ホスト装置の識別情報が前記画像形成装置に登録されているか否かを示すデバイスID情報を前記ホスト装置に通知する手段を有することを特徴とする印刷システム。
The printing system according to claim 1,
And a means for notifying the host apparatus of device ID information indicating whether or not the identification information of the host apparatus is registered in the image forming apparatus to the host apparatus connected to the image forming apparatus. Printing system to do.
請求項1に記載の印刷システムにおいて、
前記画像形成装置が前記登録手段により登録されているホスト装置と接続されている場合、前記第2の送信手段は、前記ステータス情報を前記双方向通信により自動的に当該ホスト装置に送信することを特徴とする印刷システム。
The printing system according to claim 1,
When the image forming apparatus is connected to a host device registered by the registration unit, the second transmission unit automatically transmits the status information to the host device by the bidirectional communication. Characteristic printing system.
請求項1に記載の印刷システムにおいて、
前記ホスト装置で無線データチャネルによる双方向通信が可能であると判別した場合でも、前記ホスト装置が前記画像形成装置に登録されている場合は、前記第1の送信手段は、双方向通信が可能であることを示す情報を送信しないことを特徴とする印刷システム。
The printing system according to claim 1,
Even if it is determined that the host device is capable of bidirectional communication using a wireless data channel, the first transmission unit can perform bidirectional communication when the host device is registered in the image forming apparatus. A printing system characterized by not transmitting information indicating that
請求項2に記載の印刷システムにおいて、
前記画像形成装置に登録可能なホスト装置の識別情報が最大個数登録されている場合、登録が不可能であることを示す情報を前記デバイスID情報に含めることを特徴とする印刷システム。
The printing system according to claim 2,
When the maximum number of identification information of host apparatuses that can be registered in the image forming apparatus is registered, information indicating that registration is impossible is included in the device ID information.
請求項1に記載の印刷システムにおいて、
前記画像形成装置は、前記画像形成装置のステータスの変化を監視する監視手段を有し、
前記第2の送信手段は、前記監視手段による監視結果に応じて、前記ステータス情報を送信することを特徴とする印刷システム。
The printing system according to claim 1,
The image forming apparatus has monitoring means for monitoring a change in status of the image forming apparatus,
The printing system, wherein the second transmission unit transmits the status information in accordance with a monitoring result by the monitoring unit.
ホスト装置と接続する画像形成装置において、
双方向通信が可能であることを示す情報を、データチャネルを介して送信したホスト装置の識別情報を登録する登録手段と、
ホスト装置からの接続に応答して、前記登録手段により登録されているホスト装置に対して、画像形成装置のステータス情報を、データチャネルを介して送信する送信手段と、
を有することを特徴とする画像形成装置。
In an image forming apparatus connected to a host device,
Registration means for registering identification information of a host device that has transmitted information indicating that bidirectional communication is possible via a data channel;
In response to a connection from the host device, a transmission unit that transmits status information of the image forming apparatus via a data channel to the host device registered by the registration unit;
An image forming apparatus comprising:
請求項7において、
前記画像形成装置に接続するホスト装置に対して、当該ホスト装置の識別情報が前記画像形成装置に登録されているか否かを示すデバイスID情報を前記ホスト装置に通知する手段を有することを特徴とする画像形成装置。
In claim 7,
And a means for notifying the host apparatus of device ID information indicating whether or not the identification information of the host apparatus is registered in the image forming apparatus to the host apparatus connected to the image forming apparatus. Image forming apparatus.
請求項7において、
前記画像形成装置が前記登録手段により登録されているホスト装置と接続されている場合、前記送信手段は、前記ステータス情報を前記双方向通信により自動的に当該ホスト装置に送信することを特徴とする画像形成装置。
In claim 7,
When the image forming apparatus is connected to a host device registered by the registration unit, the transmission unit automatically transmits the status information to the host device by the bidirectional communication. Image forming apparatus.
請求項8において、
前記画像形成装置に登録可能なホスト装置の識別情報が最大個数登録されている場合、登録が不可能であることを示す情報を前記デバイスID情報に含めることを特徴とする画像形成装置。
In claim 8,
When the maximum number of identification information of host devices that can be registered in the image forming apparatus is registered, information indicating that registration is impossible is included in the device ID information.
請求項7において、
前記画像形成装置のステータスの変化を監視する監視手段を有し、
前記送信手段は、前記監視手段による監視結果に応じて、前記ステータス情報を送信することを特徴とする印刷システム。
In claim 7,
Monitoring means for monitoring a change in status of the image forming apparatus;
The printing system according to claim 1, wherein the transmission unit transmits the status information in accordance with a monitoring result by the monitoring unit.
画像形成装置と接続するホスト装置において、
無線データチャネルによる双方向通信が可能であるか否かを判別する第1の判別手段と、
前記画像形成装置との無線コントロールチャネルの通信により、前記ホスト装置が前記画像形成装置に登録済みか否かを判別する第2の判別手段と、
前記第1の判別手段により前記双方向通信が可能であると判別し、かつ、前記第2の判別手段により前記ホスト装置が前記画像形成装置に登録されていないと判別した場合に、前記画像形成装置に対して、双方向通信が可能であることを示す情報を、前記データチャネルを介して送信する送信手段と、
を有することを特徴とするホスト装置。
In the host device connected to the image forming apparatus,
First discriminating means for discriminating whether or not two-way communication by a wireless data channel is possible;
Second determination means for determining whether or not the host device has been registered in the image forming apparatus by communication with a wireless control channel with the image forming apparatus;
When the first determination unit determines that the two-way communication is possible and the second determination unit determines that the host device is not registered in the image forming apparatus, the image formation is performed. Transmitting means for transmitting information indicating that bidirectional communication is possible to the apparatus via the data channel;
A host device characterized by comprising:
請求項12において、
前記第1の判別手段により無線データチャネルによる双方向通信が可能であると判別した場合でも、前記ホスト装置が前記画像形成装置に登録されている場合は、前記送信手段は、双方向通信が可能であることを示す情報を送信しないことを特徴とするホスト装置。
In claim 12,
Even if it is determined by the first determination unit that bidirectional communication using a wireless data channel is possible, if the host device is registered in the image forming apparatus, the transmission unit can perform bidirectional communication. A host device characterized by not transmitting information indicating that
ホスト装置と接続する画像形成装置の制御方法において、
双方向通信が可能であることを示す情報を、データチャネルを介して送信したホスト装置の識別情報を登録する登録工程と、
ホスト装置からの接続に応答して、前記登録工程において登録されているホスト装置に対して、画像形成装置のステータス情報を、データチャネルを介して送信する送信工程と、
を有することを特徴とする制御方法。
In a control method of an image forming apparatus connected to a host device,
A registration step of registering identification information of a host device that has transmitted information indicating that bidirectional communication is possible via a data channel;
In response to the connection from the host device, a transmission step of transmitting the status information of the image forming device via the data channel to the host device registered in the registration step;
A control method characterized by comprising:
画像形成装置と接続するホスト装置の制御方法において、
無線データチャネルによる双方向通信が可能であるか否かを判別する第1の判別工程と、
前記画像形成装置との無線コントロールチャネルの通信により、前記ホスト装置が前記画像形成装置に登録済みか否かを判別する第2の判別工程と、
前記第1の判別工程において前記双方向通信が可能であると判別し、かつ、前記第2の判別工程において前記ホスト装置が前記画像形成装置に登録されていないと判別した場合に、前記画像形成装置に対して、双方向通信が可能であることを示す情報を、前記データチャネルを介して送信する送信工程と、
を有することを特徴とする制御方法。
In a method for controlling a host device connected to an image forming apparatus,
A first determination step of determining whether or not bidirectional communication via a wireless data channel is possible;
A second determination step of determining whether or not the host device has been registered in the image forming device by communication with a wireless control channel with the image forming device;
When it is determined that the bidirectional communication is possible in the first determination step, and the host device is determined not to be registered in the image forming apparatus in the second determination step, the image formation A transmission step of transmitting information indicating that bidirectional communication is possible to the apparatus via the data channel;
A control method characterized by comprising:
請求項14又は15に記載の制御方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the control method according to claim 14 or 15.
JP2004342250A 2004-11-26 2004-11-26 Image forming apparatus and host apparatus connected to image forming apparatus Expired - Fee Related JP4438068B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2004342250A JP4438068B2 (en) 2004-11-26 2004-11-26 Image forming apparatus and host apparatus connected to image forming apparatus
US11/282,770 US8064081B2 (en) 2004-11-26 2005-11-21 Print system and printing method for transmitting print data from a host device to an image forming apparatus by radio communication and performing printing
EP05257255A EP1679836A3 (en) 2004-11-26 2005-11-25 Print system and printing method using Bluetooth HCRP
CNB2005101241612A CN100394377C (en) 2004-11-26 2005-11-25 Print system and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004342250A JP4438068B2 (en) 2004-11-26 2004-11-26 Image forming apparatus and host apparatus connected to image forming apparatus

Publications (3)

Publication Number Publication Date
JP2006155036A JP2006155036A (en) 2006-06-15
JP2006155036A5 JP2006155036A5 (en) 2008-01-17
JP4438068B2 true JP4438068B2 (en) 2010-03-24

Family

ID=36633292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004342250A Expired - Fee Related JP4438068B2 (en) 2004-11-26 2004-11-26 Image forming apparatus and host apparatus connected to image forming apparatus

Country Status (2)

Country Link
JP (1) JP4438068B2 (en)
CN (1) CN100394377C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4818167B2 (en) * 2007-03-13 2011-11-16 株式会社リコー COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, RECORDING MEDIUM, COMMUNICATION SYSTEM, AND MONITORING DEVICE
JP5009428B2 (en) * 2011-06-06 2012-08-22 株式会社リコー COMMUNICATION DEVICE, COMMUNICATION METHOD, COMMUNICATION PROGRAM, RECORDING MEDIUM, COMMUNICATION SYSTEM, AND MONITORING DEVICE
JP6011266B2 (en) * 2012-11-19 2016-10-19 ブラザー工業株式会社 Communication relay program, communication relay method, information processing apparatus, and image processing apparatus
JP6155607B2 (en) 2012-11-19 2017-07-05 ブラザー工業株式会社 Communication relay program and communication relay device
JP6546372B2 (en) * 2014-01-27 2019-07-17 ブラザー工業株式会社 Wireless communication device
JP6405957B2 (en) 2014-12-04 2018-10-17 セイコーエプソン株式会社 Printing apparatus, printing system, and printing apparatus control method
JP6435821B2 (en) * 2014-12-04 2018-12-12 セイコーエプソン株式会社 Printing apparatus, printing system, and printing apparatus control method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1362831A (en) * 2001-01-02 2002-08-07 吴世钧 Portable hand-held facsimile equipment
JP2004050726A (en) * 2002-07-23 2004-02-19 Canon Inc Image processor
CN2612165Y (en) * 2003-05-12 2004-04-14 上海力保科技有限公司 Highway deposit machine utilizing radio network remote monitoring way

Also Published As

Publication number Publication date
JP2006155036A (en) 2006-06-15
CN100394377C (en) 2008-06-11
CN1782980A (en) 2006-06-07

Similar Documents

Publication Publication Date Title
US8064081B2 (en) Print system and printing method for transmitting print data from a host device to an image forming apparatus by radio communication and performing printing
JP4502389B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
US8416432B2 (en) Method and apparatus for automatically establishing connection in wireless communication network and wireless communication network using the same
US9924355B2 (en) System, communication apparatus, communication method, and storage medium storing program
US8446838B2 (en) Wireless communication device and computer program
TWI517635B (en) Memory device and its wireless communication control method
US7634273B2 (en) Hybrid wired and wireless communication device and a wired and wireless communication method thereof
JP4844612B2 (en) Wireless communication apparatus, connection method and program
EP2544426B1 (en) Image forming apparatus communicating with external device through network, network system, method of controlling image forming apparatus, program, and storage medium
US20100182638A1 (en) Recording medium and information processor
US8665474B2 (en) Method, system, apparatus and medium for minimizing unnecessary processing associated with connection/disconnection of a same host
US20130141753A1 (en) Information processing apparatus having wireless communication function and method of controlling the apparatus
US20100195589A1 (en) Wireless parameter setting method, base station, management apparatus, control method, and computer program
JP2016206940A (en) Information processor and control thereof, and program
KR100612151B1 (en) Terminal device for changing operating mode automatically, wireless network system comprising the terminal device, and, method thereof
CN108153500B (en) Printing apparatus capable of near field wireless communication and control method of printing apparatus
JP4438068B2 (en) Image forming apparatus and host apparatus connected to image forming apparatus
JP6667476B2 (en) Communication device, control method, and program
JP6769204B2 (en) Image forming device, program, and image forming system
US10560534B2 (en) Information processing apparatus, communication terminal, and communication system for enabling a disconnect of communication between the information processing apparatus and the communication terminal
US8259324B2 (en) Printer/storage integrate system, controller, control method, and control program for automatic installation of control software
JP2006173946A (en) Radio communication system
JP5919972B2 (en) Wireless communication device, wireless communication system, and wireless communication method
JP7279220B2 (en) Information processing device, its control method, and program
US8270005B2 (en) Wireless communication device, computer readable medium storing wireless communication program, wireless communication system, image formation device, and computer readable medium storing control program for image formation device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071126

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091211

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091226

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130115

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140115

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees