JP2004193733A - Method for establishing link between master unit and slave unit, printer, and handy terminal - Google Patents

Method for establishing link between master unit and slave unit, printer, and handy terminal Download PDF

Info

Publication number
JP2004193733A
JP2004193733A JP2002356525A JP2002356525A JP2004193733A JP 2004193733 A JP2004193733 A JP 2004193733A JP 2002356525 A JP2002356525 A JP 2002356525A JP 2002356525 A JP2002356525 A JP 2002356525A JP 2004193733 A JP2004193733 A JP 2004193733A
Authority
JP
Japan
Prior art keywords
address
wireless communication
link
printer
establishing
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.)
Pending
Application number
JP2002356525A
Other languages
Japanese (ja)
Inventor
Makoto Sugiyama
誠 杉山
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2002356525A priority Critical patent/JP2004193733A/en
Publication of JP2004193733A publication Critical patent/JP2004193733A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To quickly establish a link between a slave unit and a master unit. <P>SOLUTION: Ahead the establishing a link, a device address DA assigned to a radio communication means of the slave unit is notified, the notified device address DA assigned to the radio communication means of the slave unit is given to the master unit and stored therein, and thereafter, the link between the slave unit and the master unit having the radio communication means to which the device address DA is assigned is established. Since the master unit can directly call the desired slave unit without performing searching processing in this way in operation, the link between the slave unit and the master unit can quickly be established. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、マスタ機器とスレーブ機器とのリンク確立方法、ハンディターミナル等のホスト機と対で用いられるプリンタ及びハンディターミナルに関する。
【0002】
【従来の技術】
近年、例えば宅配便の集配担当者等の便宜を図るために、ベルト等に取り付けて携帯可能な小型構造のポータブルプリンタが普及している。このようなポータブルプリンタでは、ハンディターミナル等のホスト機から送信される必要なデータを受信してラベル等の印刷物を発行するようにしている。この場合、ポータブルプリンタとホスト機とは、無線インタフェースにより接続される(例えば、特許文献1参照)。
【0003】
ところで、この種のポータブルプリンタはその用途からして無線通信に関して免許を逐一必要とするのは適当でないため、免許を必要としない微弱無線とするのが通常である。近年、このような免許を必要としない微弱無線として、Bluetooth(登録商標)という無線データ通信仕様が規格化されている。このBluetoothによれば、10m以内の近距離であれば、通信機器の間に障害物(例えば、隣の部屋など)があるような場合であっても通信が可能になっている。この点で、機器同士のポートを向かい合わせないと通信できず、ちょっとでも機器の位置がずれると通信が途絶えてしまう赤外線を利用したIrDA(Infrared Data Association)よりも優れたものになっている。
【0004】
また、Bluetoothの特徴としては、複数の機器に対して同報通信が行えるピコネットがある。Bluetoothのネットワークは通信範囲内の最初のデバイスが「マスタ」として機能し、その後からマスタへのリンクを確立したデバイスが「スレーブ」として参加するという形で構成される。マスタはデータ送受信の周波数のホッピングパターンを決定する権利を持ち、スレーブはマスタとリンクを確立することで他のスレーブとデータの送受信を行う。こうしてBluetoothデバイスで構成されるネットワークは「ピコネット」と呼ばれ、最大7台までのBluetoothデバイスが参加できる。
【0005】
したがって、このようなBluetoothによれば1対nでのデータ通信が可能になっているため、1対1で機器同士を接続したい場合には、「マスタ」となる機器の周囲にあるBluetooth対応機器を探し出し、この探索結果の中から接続したいBluetooth対応機器を選択して「スレーブ」とする、という手順を採るようにしている。
【0006】
【特許文献1】
特開平10−084077号公報
【0007】
【発明が解決しようとする課題】
ところが、宅配便の集配担当者等が携帯するポータブルプリンタにBluetoothデバイスを搭載した場合、本格的な実用化に向けて解決されねばならない課題が存在する。
【0008】
宅配便の集配担当者は、多数のポータブルプリンタの中から携帯するポータブルプリンタを選択する。そして、例えば、ハンディターミナル等のホスト機を「マスタ」として機能させ、選択したポータブルプリンタを「スレーブ」として機能させることになる。この場合、「マスタ」となるハンディターミナルの周囲にあるBluetooth対応機器であるポータブルプリンタを探し出し、この探索結果の中から接続したいポータブルプリンタを選択して「スレーブ」とする、という手順を採ることになるが、探索に10秒程度を要するため、探索時間の短縮化が望まれている。加えて、探索結果としてBluetooth対応機器であるポータブルプリンタが多数探索されてしまうため、実際に手にしたポータブルプリンタを多数のポータブルプリンタの中から見つけ出すのは容易ではなかった。
【0009】
本発明は、スレーブ機器とマスタ機器とのリンクを迅速に確立することを目的とする。
【0010】
【課題を解決するための手段】
本発明は、通信対象となるスレーブ機器を特定した後に当該スレーブ機器とのリンクを確立して無線通信を行う無線通信手段をそれぞれ有するマスタ機器とスレーブ機器とのリンク確立方法であって、リンク確立に先立ち、前記スレーブ機器の前記無線通信手段に割り当てられているデバイスアドレスを報知するアドレス報知ステップと、このアドレス報知ステップにより報知された前記スレーブ機器の前記無線通信手段に割り当てられているデバイスアドレスを前記マスタ機器に入力するアドレス入力ステップと、このアドレス入力ステップにより入力された前記デバイスアドレスを前記マスタ機器で記憶するアドレス記憶ステップと、このアドレス記憶ステップにより記憶した前記スレーブ機器の前記デバイスアドレスに基づき、当該デバイスアドレスが割り当てられている前記無線通信手段を有する前記スレーブ機器と前記マスタ機器とのリンクを確立するリンク確立ステップと、を含む。
【0011】
【発明の実施の形態】
本発明の第一の実施の形態を図1ないし図12に基づいて説明する。本実施の形態は、ホスト機としてのハンディターミナルとプリンタとしてのポータブルプリンタとによって構築されたプリントシステムへの適用例である。
【0012】
ここで、図1はプリントシステムAの構成を示す斜視図である。このプリントシステムAは、ポータブルプリンタ1とハンディターミナルHTとによって構築され、例えば、ラベル5b(図2参照)の印刷発行という物流の分野で利用される。
【0013】
まず、ポータブルプリンタ1について説明する。図2はポータブルプリンタ1をラベル排出側から示す外観斜視図、図3はポータブルプリンタ1をオペレータ装着側から示す外観斜視図、図4はポータブルプリンタ1の内部構造を示す水平断面図である。
【0014】
図2ないし図4に示すように、ポータブルプリンタ1のプリンタ本体1aは、一面が開放されたケース2と、このケース2の開放された面を開閉するカバー3とより構成されている。カバー3は、ケース2に設けられた支点軸4により回動自在に支持されている。そして、ケース2には、カバー3を閉じた状態で、印字媒体であってロール状に巻回された長尺状の記録紙5を転動自在に収納するホッパ6が形成されている。なお、本実施の形態においては、記録紙5として台紙5aに多数のラベル5bを等間隔で貼付したものを用いているが、他の記録紙を用いても良い。
【0015】
このようなケース2には、ホッパ6の底部からカバー3側に向けて延出する用紙ガイド7が設けられており、この用紙ガイド7のカバー3に近い部分には、回転自在のプラテン8と、このプラテン8の長手方向に沿うラベル剥離体9とが配設されている。
【0016】
図4に示すように、カバー3の内面(ホッパ6側)には、サーマルヘッド12を備えたヘッド支持体11が支軸11aを中心に回動自在に設けられている。このヘッド支持体11は板ばね13により一方向に付勢されており、サーマルヘッド12はカバー3を閉じた状態でプラテン8に当接することになる。すなわち、プラテン8とサーマルヘッド12とにより印字部14が形成されている。
【0017】
また、カバー3の自由端側の両側には、スプリング15の付勢力によりプラテン8に圧接されたピンチローラ16が回転自在に設けられている。さらに、カバー3には、サーマルヘッド12とピンチローラ16との間に配置されてラベル5bを排出させるラベル排出口17と、ホッパ6内の記録紙5の浮きを押える紙押え18とが形成されている。ケース2にはカバー3の自由端との間で台紙5aを排出させる台紙排出口19が形成されている。
【0018】
ケース2の上面には、バッテリ10(図4参照)からの電力供給を切断する旨を宣言する電源スイッチ20、ラベル5bに印字を行わせるフィードスイッチ21、蓋部22、赤外線を受光する受光窓23が設けられている。蓋部22は、詳細は後述するが、ケース2に設けられたバッテリ収納部30(図4参照)に対してバッテリ10を着脱する場合に開閉するものである。さらに、カバー3の両側には係止爪24がスライド自在に設けられている(図2参照)。これらの係止爪24は外側に向けて付勢されてケース2に係止され、カバー3を開放するときに係止爪24を矢印マークで示すように内方スライドさせてケース2との係止状態を解除する。
【0019】
加えて、ケース2の上面には、LED56が配設されている。本実施の形態のポータブルプリンタ1は、このLED56を点灯させたり点滅させることにより、ポータブルプリンタ1の動作状態をオペレータに対して報知することができるようになっている。
【0020】
さらに、図3に示すように、プリンタ本体1aのカバー3とは反対側の一面には、オペレータの腰のあたりに密着される弧面25が形成され、この弧面25にはオペレータの衣服に対して滑りを少なくするための滑り止め26と、この滑り止め26に対向してオペレータのベルトに引っ掛けられるベルト掛け27とが形成されている。
【0021】
このような構成により、バッテリ10がバッテリ収納部30へと正しく収納された場合には、バッテリ収納部30の端子とバッテリ10の端子とが接触して電気的に接続された状態となり、バッテリ10から電力供給を必要とするサーマルヘッド12等の各部へと電力が供給されることになる。
【0022】
次に、ポータブルプリンタ1の各部の制御系の接続について図5を参照しつつ説明する。ポータブルプリンタ1は、各部を集中的に制御するCPU(Central Processing Unit)41を備えており、このCPU41には、CPU41が実行するプログラム等の固定データが書き込まれているROM(Read Only Memory)42と、ワークデータ等の可変データを更新自在に書き込むRAM(Random Access Memory)43と、各種情報を登録するフラッシュメモリ44とがバスライン45を介して接続されている。そして、サーマルヘッド12を駆動するサーマルヘッドドライバ46、プラテン8が連結されたモータ47を駆動するモータドライバ48、各種センサ49が接続されたセンサ回路50、カバー3の開閉によりオン、オフするカバーオープンスイッチ51と電源スイッチ20とフィードスイッチ21とインタフェース切替スイッチ53とが接続されたスイッチ回路54、赤外線インタフェース55a及び無線インタフェース55b、LED56が接続された点灯制御回路57が、CPU41に接続されている。このように、図5に示す回路はプリンタ本体1aの内部に設けられた基板(図示せず)上に形成されている。なお、赤外線インタフェース55aは、前述した受光窓23の内方に配置されている。インタフェースは図ではI/Fと記す。
【0023】
ここで、無線通信手段である無線インタフェース55bについて説明する。本実施の形態の無線インタフェース55bは、Bluetooth(登録商標)である。このBluetoothによれば、10m以内の近距離であれば、通信機器の間に障害物(例えば、隣の部屋など)があるような場合であっても通信が可能になっている。また、Bluetoothの特徴としては、複数の機器に対して同報通信が行えるピコネットがある。Bluetoothのネットワークは通信範囲内の最初のデバイスが「マスタ」として機能し、その後からマスタへのリンクを確立したデバイスが「スレーブ」として参加するという形で構成される。マスタはデータ送受信の周波数のホッピングパターンを決定する権利を持ち、スレーブはマスタとリンクを確立することで他のスレーブとデータの送受信を行う。
【0024】
データ送受信の周波数のホッピングパターンは、機器固有のアドレスとクロックの値からプロトコルで規定される計算式によって算出される。Bluetooth搭載機器には、48bitのBluetoothデバイスアドレスと呼ばれるアドレスが与えられる。また、各Bluetooth搭載機器は、タイムスロットの半分の長さである312.5μsec毎に28bitのクロック値を出力するBluetoothクロックを持つ。この機器固有のBluetoothデバイスアドレスとクロック値を入力して規定された計算を行うことにより擬似乱数列を発生させて、他のBluetooth搭載機器と重なることのないホッピングパターンを得ることができる。
【0025】
したがって、通信を行う際には、マスタのBluetoothデバイスアドレスとクロック値を使用することによりホッピングパターンを算出し、周波数の同期を行うことになる。つまり、通信の開始段階でスレーブにマスタのBluetoothデバイスアドレスとクロック値を伝えてホッピングパターンの同期をとり、マスタとスレーブとのリンクを確立するのである。
【0026】
このようなポータブルプリンタ1は、記録紙5をセットする場合にカバー3を開放し、ロール状に巻回された記録紙5をプリンタ本体1aのホッパ6に収納し、カバー3が開放されている状態で記録紙5の先端をプラテン8及びラベル剥離体9を覆う位置まで引き出し、カバー3を閉塞する。これにより、図4に示すように、記録紙5の台紙5aの先端部分が、サーマルヘッド12とピンチローラ16とによりプラテン8上に圧接され、また、ラベル剥離体9により台紙5aの引き出し経路が鋭角に折曲され、ホッパ6の底面からの記録紙5の浮きが紙押え18により阻止される。記録紙5をセットしたプリンタ本体1aは、机上に置いて使用することも可能であるが、通常はオペレータの腰に装着した状態で使用する。そして、電源スイッチ20をオンにし、ハンディターミナルHT(図1参照)から印字データを入力して印字を行う。
【0027】
次に、ハンディターミナルHTについて説明する。図6はハンディターミナルHTを示す外観斜視図、図7は裏返しにしたハンディターミナルHTを示す外観斜視図である。図6または図7に示すように、本体ケース71の上面には、液晶ディスプレイ(LCD:Liquid Crystal Display)72と、ファンクションキーやテンキーを含むキーボード73とが順に設けられている。このキーボード73には、ここでは図示しないが、後述するコマンド送信キーも備えられている。また、本体ケース71の下面の先端部には、コード読取装置であるバーコード読取装置74(図8参照)を内蔵してバーコードを読み取るバーコード読取窓75が形成されている。ここで、バーコード読取装置74は、LED(Light EmittingDiode)アレイを光源とし、この光源によって照らされたバーコードをCCD(Charge Coupled Device )で受光して読み取るものである。また、本体ケース71の下面の略中央には、ここでは図示しないポータブルプリンタ1と各種データを通信するための赤外線インタフェース76を内蔵する赤外線通信部77が配設されている。赤外線インタフェース76はLEDと受光素子とで構成されていて、その表面にはLEDから発光される光のみを受け付けるフィルタが取り付けられている。また、本実施の形態のハンディターミナルHTは、無線通信手段である無線インタフェース78(図8参照)も備えている。この無線インタフェース78は、Bluetoothである。加えて、本体ケース71の側縁部の略中央には、バーコード読取装置74の駆動スイッチ79が設けられている。
【0028】
次に、ハンディターミナルHTの各部の制御系の接続について図8を参照しつつ説明する。ハンディターミナルHTは、各部を集中的に制御するCPU81を備えており、このCPU81には、CPU81が実行するプログラム等の固定データが書き込まれているROM82と、ワークデータ等の可変データを更新自在に書き込むRAM83とがバスライン84を介して接続されている。そして、液晶ディスプレイ72を駆動する表示コントローラ85、キーボード73からの信号を出力するキーボードコントローラ86、バーコード読取装置を駆動する読取コントローラ87、駆動スイッチ79とインタフェース切替スイッチ88とが接続されたスイッチ回路89、それぞれ接続手段である赤外線インタフェース76及び無線インタフェース78が、CPU81に接続されている。
【0029】
続いて、本実施の形態のプリントシステムAが備える特長的な機能について以下において詳細に説明する。なお、従来から行われている処理と同様の処理についてはその説明を省略する。ここでは、本実施の形態のプリントシステムAが備える特長的な機能を実現するBluetoothのネットワークにおけるリンク確立処理について、ポータブルプリンタ1のCPU41がROM42に格納された制御プログラムに従って実行する処理、及び、ハンディターミナルHTのCPU81がROM82に格納された制御プログラムに従って実行する処理について説明する。
【0030】
なお、本実施の形態のBluetoothのネットワークは、ハンディターミナルHTが「マスタ」として機能し、その後からハンディターミナルHTへのリンクを確立したポータブルプリンタ1が「スレーブ」として参加するという形で構成される。
【0031】
ここで、図9はポータブルプリンタ1のCPU41がROM42に格納された制御プログラムに従って実行する処理のうち、自己診断レポートの印字発行処理の流れを示すフローチャートである。Bluetoothのネットワークのリンク確立に先立ち、ポータブルプリンタ1側では、図9に示すように、フィードスイッチ21を押しながら電源スイッチ20を操作することにより自己診断モードになった場合に(ステップS1のY)、サーマルヘッド12やモータ47を駆動し、自己診断レポートをラベル5bに印字して発行する(ステップS2)。
【0032】
ここで、図10は発行された自己診断レポートRの一例を示す平面図である。図10に示すように、自己診断レポートRは、プリンタの設定や状態をユーザに知らせるためのものであって、本実施の形態においては、ポータブルプリンタ1の無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAもコードシンボル化されたバーコードBC及びキャラクタCで印字される。
【0033】
ここに、無線通信手段である無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを印字媒体である記録紙5のラベル5bに印字して発行することで、無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを報知するアドレス報知手段の機能が実行される。
【0034】
このようにして発行された自己診断レポートRに印字されているポータブルプリンタ1のBluetoothデバイスアドレスDAは、ハンディターミナルHTに入力されることで、「マスタ」として機能するハンディターミナルHTへのリンクの確立を行うデバイスのBluetoothデバイスアドレスとされる。すなわち、自己診断レポートを印字発行したポータブルプリンタ1が、「マスタ」であるハンディターミナルHTに対する「スレーブ」として機能することになる。
【0035】
ここで、図11はハンディターミナルHTのCPU81がROM82に格納された制御プログラムに従って実行する処理のうち、ハンディターミナルHTとポータブルプリンタ1とのリンクを確立するリンク確立処理の流れを示すフローチャートである。ハンディターミナルHT側では、図11に示すように、自己診断レポートRに印字されているポータブルプリンタ1のBluetoothデバイスアドレスDAの入力に待機する(ステップS11)。なお、BluetoothデバイスアドレスDAの入力は、バーコード読取装置74によって自己診断レポートRのバーコードBCを読み取ることによる入力、または、自己診断レポートRのキャラクタCに基づいてキーボード73のキー操作による入力の何れかによる。ここに、アドレス入力手段の機能が実行される。
【0036】
ポータブルプリンタ1のBluetoothデバイスアドレスDAの入力が有ったと判断すると(ステップS11のY)、入力されたポータブルプリンタ1のBluetoothデバイスアドレスDAをRAM83に記憶する(ステップS12)。ここに、アドレス記憶手段の機能が実行される。
【0037】
続いて、ステップS13に進み、ハンディターミナルHTとポータブルプリンタ1とのリンクを確立する。より具体的には、RAM83に記憶したBluetoothデバイスアドレスDAに基づき、ハンディターミナルHTのBluetoothデバイスアドレスとクロック値をポータブルプリンタ1に送信し、ホッピングパターンの同期をとることでハンディターミナルHTとポータブルプリンタ1とのリンクを確立する。ここに、リンク確立手段の機能が実行される。
【0038】
このように本実施の形態においては、リンク確立に先立ち、スレーブ機器であるポータブルプリンタ1の無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを無線インタフェース55bを用いずに報知させ、報知されたポータブルプリンタ1の無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAをマスタ機器であるハンディターミナルHTに入力して記憶した後、BluetoothデバイスアドレスDAに基づき、当該BluetoothデバイスアドレスDAが割り当てられている無線インタフェース55bを有するスレーブ機器であるポータブルプリンタ1とマスタ機器であるハンディターミナルHTとのリンクを確立する。これにより、運用時においては、マスタ機器であるハンディターミナルHTは探索処理を行わずに、所望のポータブルプリンタ1を直接呼び出すことができるので、スレーブ機器であるポータブルプリンタ1とマスタ機器であるハンディターミナルHTとのリンクを迅速に確立することができる。
【0039】
また、本実施の形態においては、BluetoothデバイスアドレスDAをコードシンボル化して印字媒体である記録紙5のラベル5bに印字して発行することで、BluetoothデバイスアドレスDAを誤入力することがないので、より迅速かつ確実にスレーブ機器であるポータブルプリンタ1とマスタ機器であるハンディターミナルHTとのリンクを確立することができる。
【0040】
なお、本実施の形態においては、Bluetoothのネットワークのリンク確立に先立ち、ポータブルプリンタ1側で自己診断レポートRを印字発行するようにしたが、この自己診断レポートRをリンク確立の度に発行せずに、図12に示すように、バーコードBC及びキャラクタCでラベル5bに印字されたBluetoothデバイスアドレスDAをポータブルプリンタ1に貼り付けておくようにしても良い。これにより、リンク確立の度に自己診断レポートRを印字する手間を省くことができる。なお、自己診断レポートRの際には、ポータブルプリンタ1の無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを逐次取得することになるので、修理などによってポータブルプリンタ1の無線インタフェース55bが交換されてBluetoothデバイスアドレスDAが変わった場合には、再度自己診断レポートRを印字し、ポータブルプリンタ1に貼り付けるようにすれば良い。
【0041】
ここに、無線通信手段である無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAをプリンタ本体1aに視認可能な態様で付すことで、無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを報知するアドレス報知手段が実現されている。
【0042】
なお、本実施の形態においては、BluetoothデバイスアドレスDAをコードシンボル化したものとしてバーコードBCを用いたが、これに限るものではなく、二次元コードを適用しても良い。また、キャラクタCをOCRコードとして用いても良い。但し、その場合、ハンディターミナルHTのコード読取装置は、それぞれのコードシンボルの読み取りに対応することは言うまでもない。
【0043】
次に、本発明の第二の実施の形態を図13に基づいて説明する。なお、本発明の第一の実施の形態において説明した部分と同一部分については同一符号を用い、説明も省略する。本実施の形態は、前述した第一の実施の形態とは、ハンディターミナルHTにおけるポータブルプリンタ1の無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAの取得方法が異なるものである。
【0044】
ここで、図13はハンディターミナルHTにおける処理の流れとポータブルプリンタ1における処理の流れとを示すフローチャートである。図13に示すように、Bluetoothのネットワークのリンク確立に先立ち、ハンディターミナルHT側では、キーボード73のコマンド送信キーを操作することにより、赤外線インタフェース76を介し、ポータブルプリンタ1に対してBluetoothデバイスアドレスの取得コマンドを送信する(ステップS21)。
【0045】
ポータブルプリンタ1側では、ハンディターミナルHTからのBluetoothデバイスアドレスの取得コマンドを受信すると(ステップS31のY)、赤外線インタフェース55aを介し、ハンディターミナルHTに対してポータブルプリンタ1の無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを送信する(ステップS32)。
【0046】
ここに、無線通信手段である無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを無線インタフェース55bとは異なる通信手段である赤外線インタフェース55aを使用してホスト機であるハンディターミナルHTに対して通知することで、無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを報知するアドレス報知手段が実現されている。
【0047】
ポータブルプリンタ1の無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを受信したハンディターミナルHTは(ステップS22のY)、受信したポータブルプリンタ1のBluetoothデバイスアドレスDAをRAM83に記憶する(ステップS23)。ここに、アドレス入力手段の機能及びアドレス記憶手段の機能が実行される。
【0048】
続いて、ハンディターミナルHTとポータブルプリンタ1とのリンクを確立する(ステップS24、ステップS33)。より具体的には、RAM83に記憶したBluetoothデバイスアドレスDAに基づき、ハンディターミナルHTのBluetoothデバイスアドレスとクロック値をハンディターミナルHTからポータブルプリンタ1に送信し、ホッピングパターンの同期をとることでハンディターミナルHTとポータブルプリンタ1とのリンクを確立する。ここに、リンク確立手段の機能が実行される。
【0049】
このように本実施の形態においては、無線通信手段である無線インタフェース55bに割り当てられているBluetoothデバイスアドレスDAを無線インタフェース55bとは異なる通信手段である赤外線インタフェース55aを使用してホスト機であるハンディターミナルHTに対して通知することにより、BluetoothデバイスアドレスDAを誤入力することがないので、より迅速かつ確実にスレーブ機器であるポータブルプリンタ1とマスタ機器であるハンディターミナルHTとのリンクを確立することができる。
【0050】
なお、本実施の形態においては、赤外線インタフェースを用いてBluetoothデバイスアドレスの取得コマンドやBluetoothデバイスアドレスを通信するようにしたが、これに限るものではなく、Bluetooth以外の通信手段であれば良い。また、無線通信に限るものではなく、有線通信であっても良い。
【0051】
なお、各実施の形態においては、「マスタ」となるハンディターミナルHTの周囲にあるBluetooth対応機器であるポータブルプリンタ1を探し出し、この探索結果の中から接続したいポータブルプリンタ1を選択して「スレーブ」とする、という手順を省略する運用を基本としているが、ポータブルプリンタ1においてこのような探索(すなわち、Bluetoothを備える他の機器からの通信対象となる機器を特定するためのアクセス)に対する応答を行わないような設定にしても良い。これにより、本来接続したいハンディターミナルHT以外の機器に接続されることを防止することができる。また、ポータブルプリンタ1は、探索監視を行わずに呼び出し監視のみを行うことになるため、結果として、呼び出しコマンドがハンディターミナルHTから発行されてからハンディターミナルHTとポータブルプリンタ1とのリンクが確立されるまでの時間を短縮することができる。
【0052】
【発明の効果】
本発明によれば、マスタ機器は探索処理を行わずに、所望のスレーブ機器を直接呼び出すことができるので、スレーブ機器とマスタ機器とのリンクを迅速に確立することができる。
【図面の簡単な説明】
【図1】本発明の第一の実施の形態のプリントシステムの構成を示す斜視図である。
【図2】ポータブルプリンタをラベル排出側から示す外観斜視図である。
【図3】ポータブルプリンタをオペレータ装着側から示す外観斜視図である。
【図4】ポータブルプリンタの内部構造を示す水平断面図である。
【図5】ポータブルプリンタの各部の制御系の接続を示すブロック図である。
【図6】ハンディターミナルを示す外観斜視図である。
【図7】裏返しにしたハンディターミナルを示す外観斜視図である。
【図8】ハンディターミナルの各部の制御系の接続を示すブロック図である。
【図9】ポータブルプリンタの自己診断レポートの印字発行処理の流れを示すフローチャートである。
【図10】発行された自己診断レポートの一例を示す平面図である。
【図11】ハンディターミナルのリンク確立処理の流れを示すフローチャートである。
【図12】印字されたBluetoothデバイスアドレスをポータブルプリンタに貼り付けた状態を示す外観斜視図である。
【図13】本発明の第二の実施の形態のハンディターミナルにおける処理の流れとポータブルプリンタにおける処理の流れとを示すフローチャートである。
【符号の説明】
1…プリンタ,スレーブ機器、5…印字媒体、55a…無線通信手段とは異なる通信手段、55b…無線通信手段、78…無線通信手段、HT…ハンディターミナル,マスタ機器
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method for establishing a link between a master device and a slave device, a printer used in pairs with a host device such as a handy terminal, and a handy terminal.
[0002]
[Prior art]
2. Description of the Related Art In recent years, portable printers with a small structure that can be attached to a belt or the like and are portable have been widely used, for example, for the convenience of a person in charge of collection and delivery of home delivery. In such a portable printer, necessary data transmitted from a host device such as a handy terminal is received and printed matter such as a label is issued. In this case, the portable printer and the host machine are connected by a wireless interface (for example, see Patent Document 1).
[0003]
By the way, it is not appropriate for this kind of portable printer to require a license for wireless communication one by one in view of its application, and therefore, it is usual to use a weak radio which does not require a license. In recent years, a wireless data communication specification called Bluetooth (registered trademark) has been standardized as a weak radio that does not require such a license. According to this Bluetooth, if the distance is within 10 m, communication is possible even when there is an obstacle (for example, an adjacent room) between the communication devices. In this regard, communication is not possible unless the ports of the devices face each other, and even if the position of the device is slightly displaced, communication is interrupted. IrDA (Infrared Data Association) using infrared rays is superior to this.
[0004]
Also, as a feature of Bluetooth, there is a piconet capable of broadcasting to a plurality of devices. A Bluetooth network is configured in such a way that the first device in the communication range functions as a “master” and then the device that has established a link to the master participates as a “slave”. The master has the right to determine the hopping pattern of the data transmission / reception frequency, and the slave transmits / receives data to / from another slave by establishing a link with the master. A network composed of Bluetooth devices is called a "piconet", and up to seven Bluetooth devices can participate.
[0005]
Therefore, according to such Bluetooth, one-to-n data communication is possible. Therefore, when one-to-one connection between devices is desired, a Bluetooth-compatible device located around the “master” device. Is searched, and a Bluetooth-compatible device to be connected is selected from the search results and is set as a “slave”.
[0006]
[Patent Document 1]
JP-A-10-084077
[0007]
[Problems to be solved by the invention]
However, when a Bluetooth device is mounted on a portable printer carried by a person in charge of home delivery and collection, there is a problem that must be solved for full-scale practical use.
[0008]
The courier collection / delivery staff selects a portable printer to carry from among a large number of portable printers. Then, for example, a host device such as a handy terminal functions as a “master”, and the selected portable printer functions as a “slave”. In this case, a procedure of searching for a portable printer that is a Bluetooth-compatible device around the handy terminal to be the “master”, selecting a portable printer to be connected from the search results, and setting it as the “slave” is adopted. However, since the search takes about 10 seconds, it is desired to reduce the search time. In addition, since a large number of portable printers that are Bluetooth-compatible devices are searched as a search result, it is not easy to find a portable printer actually obtained from a large number of portable printers.
[0009]
An object of the present invention is to quickly establish a link between a slave device and a master device.
[0010]
[Means for Solving the Problems]
The present invention relates to a method for establishing a link between a master device and a slave device each having a wireless communication unit for performing wireless communication by establishing a link with the slave device after specifying a slave device to be communicated. Prior to, an address notification step of notifying a device address assigned to the wireless communication means of the slave device, and a device address assigned to the wireless communication means of the slave device notified by the address notification step An address inputting step for inputting to the master device, an address storing step for storing the device address input in the address inputting step in the master device, and a device address of the slave device stored in the address storing step. , Including a link establishing step of establishing a link with the slave device and the master device having the wireless communication means chair addresses are assigned, the.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
A first embodiment of the present invention will be described with reference to FIGS. The present embodiment is an example of application to a print system constructed by a handy terminal as a host machine and a portable printer as a printer.
[0012]
Here, FIG. 1 is a perspective view showing the configuration of the print system A. The print system A is constructed by the portable printer 1 and the handy terminal HT, and is used, for example, in the field of physical distribution of printing and issuing a label 5b (see FIG. 2).
[0013]
First, the portable printer 1 will be described. 2 is an external perspective view showing the portable printer 1 from the label discharging side, FIG. 3 is an external perspective view showing the portable printer 1 from the operator mounting side, and FIG. 4 is a horizontal sectional view showing the internal structure of the portable printer 1.
[0014]
As shown in FIGS. 2 to 4, the printer main body 1a of the portable printer 1 includes a case 2 having an open surface, and a cover 3 for opening and closing the open surface of the case 2. The cover 3 is rotatably supported by a fulcrum shaft 4 provided on the case 2. The case 2 is formed with a hopper 6 that rotatably accommodates a long recording paper 5 that is a printing medium and is wound in a roll shape with the cover 3 closed. In the present embodiment, as the recording paper 5, one in which a number of labels 5b are attached at equal intervals to a mount 5a is used, but other recording paper may be used.
[0015]
The case 2 is provided with a paper guide 7 extending from the bottom of the hopper 6 toward the cover 3. A portion of the paper guide 7 close to the cover 3 has a rotatable platen 8 and a rotatable platen 8. And a label releaser 9 along the longitudinal direction of the platen 8.
[0016]
As shown in FIG. 4, a head support 11 provided with a thermal head 12 is provided on the inner surface of the cover 3 (on the side of the hopper 6) so as to be rotatable about a support shaft 11a. The head support 11 is urged in one direction by a leaf spring 13, and the thermal head 12 contacts the platen 8 with the cover 3 closed. That is, the printing unit 14 is formed by the platen 8 and the thermal head 12.
[0017]
A pinch roller 16 pressed against the platen 8 by the urging force of a spring 15 is rotatably provided on both sides on the free end side of the cover 3. Further, the cover 3 is formed with a label discharge port 17 disposed between the thermal head 12 and the pinch roller 16 to discharge the label 5b, and a paper press 18 for pressing the recording paper 5 in the hopper 6 to float. ing. The case 2 is provided with a mount outlet 19 for discharging the mount 5a between the case 2 and the free end of the cover 3.
[0018]
On the upper surface of the case 2, there are provided a power switch 20 for declaring that power supply from the battery 10 (see FIG. 4) is to be cut off, a feed switch 21 for printing on the label 5b, a lid 22, and a light receiving window for receiving infrared rays. 23 are provided. Although details will be described later, the lid portion 22 opens and closes when the battery 10 is attached to and detached from the battery storage portion 30 (see FIG. 4) provided in the case 2. Further, locking claws 24 are slidably provided on both sides of the cover 3 (see FIG. 2). These locking claws 24 are urged outward and locked to the case 2, and when the cover 3 is opened, the locking claws 24 are slid inward as indicated by arrow marks to engage with the case 2. Release the stop state.
[0019]
In addition, an LED 56 is provided on the upper surface of the case 2. The portable printer 1 of the present embodiment can notify the operator of the operating state of the portable printer 1 by turning on or blinking the LED 56.
[0020]
Further, as shown in FIG. 3, an arc surface 25 is formed on one side of the printer main body 1a opposite to the cover 3 so as to be in close contact with the waist of the operator. On the other hand, a non-slip 26 for reducing slip and a belt hook 27 which is hooked on an operator's belt facing the non-slip 26 are formed.
[0021]
With such a configuration, when the battery 10 is correctly stored in the battery storage unit 30, the terminals of the battery storage unit 30 and the terminals of the battery 10 come into contact with each other and become electrically connected. The power is supplied from the power supply to each part such as the thermal head 12 which needs the power supply.
[0022]
Next, connection of the control system of each unit of the portable printer 1 will be described with reference to FIG. The portable printer 1 includes a CPU (Central Processing Unit) 41 for centrally controlling each unit. The CPU 41 has a ROM (Read Only Memory) 42 in which fixed data such as a program executed by the CPU 41 is written. A RAM (Random Access Memory) 43 for writing variable data such as work data in an updatable manner and a flash memory 44 for registering various information are connected via a bus line 45. A thermal head driver 46 for driving the thermal head 12, a motor driver 48 for driving a motor 47 to which the platen 8 is connected, a sensor circuit 50 to which various sensors 49 are connected, and a cover open for turning on and off by opening and closing the cover 3. A switch circuit 54 to which the switch 51, the power switch 20, the feed switch 21, and the interface switch 53 are connected, a lighting control circuit 57 to which an infrared interface 55a and a wireless interface 55b, and an LED 56 are connected are connected to the CPU 41. As described above, the circuit shown in FIG. 5 is formed on a substrate (not shown) provided inside the printer main body 1a. The infrared interface 55a is arranged inside the light receiving window 23 described above. The interface is described as I / F in the figure.
[0023]
Here, the wireless interface 55b, which is a wireless communication unit, will be described. The wireless interface 55b of the present embodiment is Bluetooth (registered trademark). According to this Bluetooth, if the distance is within 10 m, communication is possible even when there is an obstacle (for example, an adjacent room) between the communication devices. Also, as a feature of Bluetooth, there is a piconet capable of broadcasting to a plurality of devices. A Bluetooth network is configured in such a way that the first device in the communication range functions as a “master” and then the device that has established a link to the master participates as a “slave”. The master has the right to determine the hopping pattern of the data transmission / reception frequency, and the slave transmits / receives data to / from another slave by establishing a link with the master.
[0024]
The hopping pattern of the data transmission / reception frequency is calculated from a device-specific address and a clock value by a calculation formula defined by a protocol. The Bluetooth-equipped device is given an address called a 48-bit Bluetooth device address. Each Bluetooth-equipped device has a Bluetooth clock that outputs a 28-bit clock value every 312.5 μsec, which is half the length of a time slot. By inputting this device-specific Bluetooth device address and clock value and performing a prescribed calculation, a pseudo-random number sequence is generated, and a hopping pattern that does not overlap with other Bluetooth-equipped devices can be obtained.
[0025]
Therefore, when performing communication, the hopping pattern is calculated by using the master Bluetooth device address and the clock value, and the frequency is synchronized. That is, at the start of communication, the Bluetooth device address and the clock value of the master are transmitted to the slave to synchronize the hopping patterns, and the link between the master and the slave is established.
[0026]
In such a portable printer 1, the cover 3 is opened when the recording paper 5 is set, the recording paper 5 wound in a roll is stored in the hopper 6 of the printer main body 1a, and the cover 3 is opened. In this state, the leading end of the recording paper 5 is pulled out to a position covering the platen 8 and the label peeling body 9, and the cover 3 is closed. As a result, as shown in FIG. 4, the leading end of the backing sheet 5 a of the recording paper 5 is pressed against the platen 8 by the thermal head 12 and the pinch roller 16. The recording paper 5 is bent at an acute angle and is prevented from floating from the bottom surface of the hopper 6 by the paper presser 18. Although the printer main body 1a on which the recording paper 5 is set can be used by placing it on a desk, it is usually used while being attached to the waist of an operator. Then, the power switch 20 is turned on, and print data is input from the handy terminal HT (see FIG. 1) to perform printing.
[0027]
Next, the handy terminal HT will be described. FIG. 6 is an external perspective view showing the handy terminal HT, and FIG. 7 is an external perspective view showing the handy terminal HT turned upside down. As shown in FIG. 6 or 7, a liquid crystal display (LCD: Liquid Crystal Display) 72 and a keyboard 73 including function keys and numeric keys are provided in order on the upper surface of the main body case 71. Although not shown here, the keyboard 73 is also provided with a command transmission key to be described later. A bar code reading window 75 for reading a bar code with a built-in bar code reading device 74 (see FIG. 8) is formed at the front end of the lower surface of the main body case 71. Here, the barcode reading device 74 uses an LED (Light Emitting Diode) array as a light source, and receives and reads a barcode illuminated by the light source with a CCD (Charge Coupled Device). An infrared communication unit 77 having an infrared interface 76 for communicating various data with the portable printer 1 (not shown) is provided substantially in the center of the lower surface of the main body case 71. The infrared interface 76 includes an LED and a light receiving element, and has a surface on which a filter that receives only light emitted from the LED is attached. In addition, the handy terminal HT according to the present embodiment also includes a wireless interface 78 (see FIG. 8) as wireless communication means. This wireless interface 78 is Bluetooth. In addition, a drive switch 79 of the barcode reading device 74 is provided substantially at the center of the side edge of the main body case 71.
[0028]
Next, connection of the control system of each part of the handy terminal HT will be described with reference to FIG. The handy terminal HT includes a CPU 81 that centrally controls each unit. The CPU 81 includes a ROM 82 in which fixed data such as a program executed by the CPU 81 is written, and variable data such as work data that can be updated freely. The RAM 83 to which data is written is connected via a bus line 84. A display controller 85 for driving the liquid crystal display 72, a keyboard controller 86 for outputting a signal from the keyboard 73, a reading controller 87 for driving the bar code reader, and a switch circuit in which a drive switch 79 and an interface switch 88 are connected. 89, an infrared interface 76 and a wireless interface 78, which are connection means, respectively, are connected to the CPU 81.
[0029]
Next, characteristic functions of the print system A according to the present embodiment will be described in detail below. The description of the same processing as that performed conventionally is omitted. Here, a process for the CPU 41 of the portable printer 1 to execute the link establishment process in the Bluetooth network according to the control program stored in the ROM 42 and a handy process for establishing the link in the Bluetooth network realizing the characteristic functions of the print system A according to the present embodiment. The processing executed by the CPU 81 of the terminal HT according to the control program stored in the ROM 82 will be described.
[0030]
Note that the Bluetooth network according to the present embodiment is configured in such a manner that the handy terminal HT functions as a “master”, and thereafter, the portable printer 1 that has established a link to the handy terminal HT participates as a “slave”. .
[0031]
Here, FIG. 9 is a flowchart showing a flow of a self-diagnosis report print issuance process among the processes executed by the CPU 41 of the portable printer 1 according to the control program stored in the ROM 42. Prior to the establishment of a Bluetooth network link, when the portable printer 1 enters the self-diagnosis mode by operating the power switch 20 while pressing the feed switch 21 as shown in FIG. 9 (Y in step S1). Then, the thermal head 12 and the motor 47 are driven to print and issue a self-diagnosis report on the label 5b (step S2).
[0032]
Here, FIG. 10 is a plan view showing an example of the issued self-diagnosis report R. As shown in FIG. 10, the self-diagnosis report R is for notifying the user of the settings and status of the printer, and in the present embodiment, the Bluetooth device assigned to the wireless interface 55b of the portable printer 1 The address DA is also printed with a barcode BC and a character C which are converted into code symbols.
[0033]
Here, the Bluetooth device address DA assigned to the wireless interface 55b as the wireless communication means is printed and issued on the label 5b of the recording paper 5 as the print medium, thereby issuing the Bluetooth device assigned to the wireless interface 55b. The function of the address notifying means for notifying the address DA is executed.
[0034]
The Bluetooth device address DA of the portable printer 1 printed on the self-diagnosis report R thus issued is input to the handy terminal HT to establish a link to the handy terminal HT functioning as a “master”. Is the Bluetooth device address of the device that performs the That is, the portable printer 1 that has printed and issued the self-diagnosis report functions as a “slave” for the handy terminal HT that is the “master”.
[0035]
Here, FIG. 11 is a flowchart showing a flow of a link establishment process for establishing a link between the handy terminal HT and the portable printer 1 among processes executed by the CPU 81 of the handy terminal HT according to the control program stored in the ROM 82. As shown in FIG. 11, the handy terminal HT waits for the input of the Bluetooth device address DA of the portable printer 1 printed on the self-diagnosis report R (step S11). The Bluetooth device address DA is input by reading the barcode BC of the self-diagnosis report R by the barcode reader 74 or input by key operation of the keyboard 73 based on the character C of the self-diagnosis report R. It depends on either. Here, the function of the address input means is executed.
[0036]
When it is determined that the Bluetooth device address DA of the portable printer 1 has been input (Y in step S11), the input Bluetooth device address DA of the portable printer 1 is stored in the RAM 83 (step S12). Here, the function of the address storage means is executed.
[0037]
Then, the process proceeds to step S13 to establish a link between the handy terminal HT and the portable printer 1. More specifically, the Bluetooth device address and the clock value of the handy terminal HT are transmitted to the portable printer 1 based on the Bluetooth device address DA stored in the RAM 83, and the hopping pattern is synchronized so that the handy terminal HT and the portable printer 1 are synchronized. Establish a link with Here, the function of the link establishing means is executed.
[0038]
As described above, in the present embodiment, prior to link establishment, the Bluetooth device address DA assigned to the wireless interface 55b of the portable printer 1 as the slave device is notified without using the wireless interface 55b, and the notified portable device is notified. After inputting and storing the Bluetooth device address DA assigned to the wireless interface 55b of the printer 1 in the handy terminal HT, which is the master device, the wireless interface to which the Bluetooth device address DA is assigned based on the Bluetooth device address DA A link is established between the portable printer 1 as a slave device having the device 55b and the handy terminal HT as a master device. Thereby, in operation, the handy terminal HT as the master device can directly call the desired portable printer 1 without performing the search process, so that the portable printer 1 as the slave device and the handy terminal HT as the master device can be called. A link with the HT can be quickly established.
[0039]
Further, in the present embodiment, the Bluetooth device address DA is converted into a code symbol and printed on the label 5b of the recording paper 5 as a print medium and is issued, so that the Bluetooth device address DA is not erroneously input. A link between the portable printer 1 as a slave device and the handy terminal HT as a master device can be more quickly and reliably established.
[0040]
In the present embodiment, the self-diagnosis report R is printed and issued by the portable printer 1 prior to the establishment of the Bluetooth network link. However, the self-diagnosis report R is not issued every time the link is established. Alternatively, as shown in FIG. 12, the Bluetooth device address DA printed on the label 5b with the barcode BC and the character C may be attached to the portable printer 1. This saves the trouble of printing the self-diagnosis report R every time a link is established. In the case of the self-diagnosis report R, the Bluetooth device address DA assigned to the wireless interface 55b of the portable printer 1 is sequentially obtained, so that the wireless interface 55b of the portable printer 1 is replaced due to repair or the like. When the Bluetooth device address DA has changed, the self-diagnosis report R may be printed again and attached to the portable printer 1.
[0041]
Here, the Bluetooth device address DA assigned to the wireless interface 55b, which is a wireless communication unit, is attached to the printer main body 1a in a visible form so that the Bluetooth device address DA assigned to the wireless interface 55b is notified. Notification means is realized.
[0042]
In the present embodiment, the barcode BC is used as a code symbol of the Bluetooth device address DA. However, the present invention is not limited to this, and a two-dimensional code may be applied. Further, the character C may be used as the OCR code. However, in this case, it goes without saying that the code reading device of the handy terminal HT corresponds to reading of each code symbol.
[0043]
Next, a second embodiment of the present invention will be described with reference to FIG. The same parts as those described in the first embodiment of the present invention are denoted by the same reference numerals, and description thereof will be omitted. This embodiment is different from the above-described first embodiment in the method of acquiring the Bluetooth device address DA assigned to the wireless interface 55b of the portable printer 1 in the handy terminal HT.
[0044]
Here, FIG. 13 is a flowchart showing a processing flow in the handy terminal HT and a processing flow in the portable printer 1. As shown in FIG. 13, prior to the establishment of a Bluetooth network link, the handy terminal HT operates a command transmission key of the keyboard 73 to transmit the Bluetooth device address to the portable printer 1 via the infrared interface 76. An acquisition command is transmitted (step S21).
[0045]
When the portable printer 1 receives the Bluetooth device address acquisition command from the handy terminal HT (Y in step S31), the portable printer 1 is assigned to the wireless interface 55b of the portable printer 1 via the infrared interface 55a. The transmitted Bluetooth device address DA is transmitted (step S32).
[0046]
Here, the Bluetooth device address DA assigned to the wireless interface 55b as the wireless communication means is notified to the handy terminal HT as the host device using the infrared interface 55a as the communication means different from the wireless interface 55b. This implements an address notifying unit that notifies the Bluetooth device address DA assigned to the wireless interface 55b.
[0047]
Upon receiving the Bluetooth device address DA assigned to the wireless interface 55b of the portable printer 1 (Y in step S22), the handy terminal HT stores the received Bluetooth device address DA of the portable printer 1 in the RAM 83 (step S23). Here, the function of the address input means and the function of the address storage means are executed.
[0048]
Subsequently, a link between the handy terminal HT and the portable printer 1 is established (step S24, step S33). More specifically, based on the Bluetooth device address DA stored in the RAM 83, the Bluetooth device address and the clock value of the handy terminal HT are transmitted from the handy terminal HT to the portable printer 1, and the hopping pattern is synchronized to thereby synchronize the handy terminal HT. A link between the printer and the portable printer 1 is established. Here, the function of the link establishing means is executed.
[0049]
As described above, in the present embodiment, the Bluetooth device address DA assigned to the wireless interface 55b, which is a wireless communication unit, is transmitted to the handheld device, which is a host device, using the infrared interface 55a, which is a communication unit different from the wireless interface 55b. By notifying the terminal HT, the Bluetooth device address DA is not erroneously input, so that the link between the portable printer 1 as the slave device and the handy terminal HT as the master device can be more quickly and reliably established. Can be.
[0050]
In the present embodiment, a command for acquiring a Bluetooth device address and a Bluetooth device address are communicated using the infrared interface. However, the present invention is not limited to this, and any communication means other than Bluetooth may be used. Further, the present invention is not limited to wireless communication, but may be wired communication.
[0051]
In each of the embodiments, the portable printer 1 which is a Bluetooth-compatible device around the handy terminal HT serving as the “master” is searched, and the portable printer 1 to be connected is selected from the search results, and the “slave” is selected. The portable printer 1 responds to such a search (that is, an access from another device having Bluetooth to specify a device to be communicated). It may be set so as not to exist. As a result, it is possible to prevent a connection to a device other than the handy terminal HT to be originally connected. Further, since the portable printer 1 performs only the call monitoring without performing the search monitoring, as a result, the link between the handy terminal HT and the portable printer 1 is established after the call command is issued from the handy terminal HT. The time required for the operation can be shortened.
[0052]
【The invention's effect】
According to the present invention, since the master device can directly call a desired slave device without performing the search process, a link between the slave device and the master device can be quickly established.
[Brief description of the drawings]
FIG. 1 is a perspective view illustrating a configuration of a print system according to a first embodiment of the present invention.
FIG. 2 is an external perspective view showing the portable printer from a label discharging side.
FIG. 3 is an external perspective view showing the portable printer as viewed from an operator mounting side.
FIG. 4 is a horizontal sectional view showing the internal structure of the portable printer.
FIG. 5 is a block diagram illustrating connection of control systems of various units of the portable printer.
FIG. 6 is an external perspective view showing a handy terminal.
FIG. 7 is an external perspective view showing the handy terminal turned upside down.
FIG. 8 is a block diagram showing connection of a control system of each unit of the handy terminal.
FIG. 9 is a flowchart illustrating a flow of a self-diagnosis report print issuing process of the portable printer.
FIG. 10 is a plan view showing an example of an issued self-diagnosis report.
FIG. 11 is a flowchart showing a flow of a link establishment process of the handy terminal.
FIG. 12 is an external perspective view showing a state in which a printed Bluetooth device address is attached to a portable printer.
FIG. 13 is a flowchart showing a processing flow in the handy terminal and a processing flow in the portable printer according to the second embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Printer, slave apparatus, 5 ... Printing medium, 55a ... Communication means different from wireless communication means, 55b ... Wireless communication means, 78 ... Wireless communication means, HT ... Handy terminal, master equipment

Claims (6)

通信対象となるスレーブ機器を特定した後に当該スレーブ機器とのリンクを確立して無線通信を行う無線通信手段をそれぞれ有するマスタ機器とスレーブ機器とのリンク確立方法であって、
リンク確立に先立ち、前記スレーブ機器の前記無線通信手段に割り当てられているデバイスアドレスを報知するアドレス報知ステップと、
このアドレス報知ステップにより報知された前記スレーブ機器の前記無線通信手段に割り当てられているデバイスアドレスを前記マスタ機器に入力するアドレス入力ステップと、
このアドレス入力ステップにより入力された前記デバイスアドレスを前記マスタ機器で記憶するアドレス記憶ステップと、
このアドレス記憶ステップにより記憶した前記スレーブ機器の前記デバイスアドレスに基づき、当該デバイスアドレスが割り当てられている前記無線通信手段を有する前記スレーブ機器と前記マスタ機器とのリンクを確立するリンク確立ステップと、
を含むことを特徴とするマスタ機器とスレーブ機器とのリンク確立方法。
A method for establishing a link between a master device and a slave device each having a wireless communication unit that performs wireless communication by establishing a link with the slave device after specifying a slave device to be communicated,
Prior to link establishment, an address notification step of notifying a device address assigned to the wireless communication unit of the slave device,
An address inputting step of inputting, to the master device, a device address assigned to the wireless communication means of the slave device notified by the address notifying step,
An address storage step of storing the device address input by the address input step in the master device;
A link establishing step of establishing a link between the master device and the slave device having the wireless communication unit to which the device address is assigned, based on the device address of the slave device stored in the address storing step;
A method for establishing a link between a master device and a slave device.
通信対象となる機器を特定した後に当該機器とのリンクを確立して無線通信を行う無線通信手段を有し、ホスト機から送信されたデータを前記無線通信手段を介して受信して印字媒体に印字して発行するプリンタにおいて、
リンク確立に先立ち、前記無線通信手段に割り当てられているデバイスアドレスを報知するアドレス報知手段を備えることを特徴とするプリンタ。
It has wireless communication means for establishing a link with the equipment after specifying the equipment to be communicated and performing wireless communication, receiving data transmitted from the host machine via the wireless communication means and printing it on a print medium. For printers that print and issue,
A printer comprising an address notifying unit for notifying a device address assigned to the wireless communication unit before establishing a link.
前記アドレス報知手段は、前記無線通信手段に割り当てられている前記デバイスアドレスを前記印字媒体に印字して発行することを特徴とする請求項2記載のプリンタ。3. The printer according to claim 2, wherein the address notifying unit prints and issues the device address assigned to the wireless communication unit on the printing medium. 前記アドレス報知手段は、前記無線通信手段に割り当てられている前記デバイスアドレスを当該無線通信手段とは異なる通信手段を使用して前記ホスト機に対して通知することを特徴とする請求項2記載のプリンタ。3. The device according to claim 2, wherein the address notifying unit notifies the host device of the device address assigned to the wireless communication unit using a communication unit different from the wireless communication unit. Printer. 前記無線通信手段を備える他の機器からの通信対象となる機器を特定するためのアクセスに対しては非応答とすることを特徴とする請求項2ないし4のいずれか一記載のプリンタ。The printer according to any one of claims 2 to 4, wherein the printer does not respond to an access from another device including the wireless communication unit to specify a device to be communicated. 通信対象となる機器を特定した後に当該機器とのリンクを確立して無線通信を行う無線通信手段を有し、請求項2ないし5の何れか一記載のプリンタに対するホスト機であるハンディターミナルにおいて、
前記プリンタが備えるアドレス報知手段により報知された当該プリンタの無線通信手段に割り当てられているデバイスアドレスを入力するアドレス入力手段と、
このアドレス入力手段により入力された前記デバイスアドレスを記憶するアドレス記憶手段と、
このアドレス記憶手段により記憶した前記デバイスアドレスに基づき、当該デバイスアドレスが割り当てられている前記無線通信手段を有する前記プリンタとのリンクを確立するリンク確立手段と、
を備えることを特徴とするハンディターミナル。
A handy terminal that is a host machine for the printer according to any one of claims 2 to 5, further comprising a wireless communication unit that establishes a link with the device after the device to be communicated is identified and performs wireless communication.
Address input means for inputting a device address assigned to the wireless communication means of the printer notified by the address notifying means provided in the printer,
Address storage means for storing the device address input by the address input means,
Link establishment means for establishing a link with the printer having the wireless communication means to which the device address is assigned, based on the device address stored by the address storage means;
A handy terminal comprising:
JP2002356525A 2002-12-09 2002-12-09 Method for establishing link between master unit and slave unit, printer, and handy terminal Pending JP2004193733A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002356525A JP2004193733A (en) 2002-12-09 2002-12-09 Method for establishing link between master unit and slave unit, printer, and handy terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002356525A JP2004193733A (en) 2002-12-09 2002-12-09 Method for establishing link between master unit and slave unit, printer, and handy terminal

Publications (1)

Publication Number Publication Date
JP2004193733A true JP2004193733A (en) 2004-07-08

Family

ID=32756844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002356525A Pending JP2004193733A (en) 2002-12-09 2002-12-09 Method for establishing link between master unit and slave unit, printer, and handy terminal

Country Status (1)

Country Link
JP (1) JP2004193733A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010541307A (en) * 2007-09-14 2010-12-24 ソニー エリクソン モバイル コミュニケーションズ, エービー Automatic reconnection of previously lost connections in frequency hopping communication systems
JP2011138285A (en) * 2009-12-28 2011-07-14 Teraoka Seiko Co Ltd Merchandise sales processing system and repeater system for merchandise sales processing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010541307A (en) * 2007-09-14 2010-12-24 ソニー エリクソン モバイル コミュニケーションズ, エービー Automatic reconnection of previously lost connections in frequency hopping communication systems
JP2011138285A (en) * 2009-12-28 2011-07-14 Teraoka Seiko Co Ltd Merchandise sales processing system and repeater system for merchandise sales processing system

Similar Documents

Publication Publication Date Title
US6467688B1 (en) Sheet fed printer for a hand held terminal
JP5347536B2 (en) Information processing device
WO2006100870A1 (en) Tape cassette and tape printer
US20200201583A1 (en) Image processing system and portable information processing apparatus
CN106210385A (en) Image processing system and the method for setting device
JP2002305521A (en) Device compatible with wireless communication, information terminal compatible with wireless communication, and communication control program
JP6672869B2 (en) PRINTING APPARATUS AND CONTROL METHOD OF PRINTING APPARATUS
US5548417A (en) Facsimile apparatus including a supporting frame member and image holding member and image holding member formed as a detachable unit
JP2004193733A (en) Method for establishing link between master unit and slave unit, printer, and handy terminal
EP3680803B1 (en) Data storage device and data storage method
KR100729651B1 (en) Pager with built-in printer
JP2019059111A (en) Printer
JP2005215958A (en) Radio tag communication device
JPH10209924A (en) Printer
JP3720652B2 (en) Download method and portable printer used in this download method
JPH11277853A (en) Portable printer
JP2001315403A (en) Portable printer
JP2024044354A (en) Electronics
WO2005073900A1 (en) Radio tag communication apparatus and stamp producing apparatus
US20200285435A1 (en) Printer and printer search system
US20210144267A1 (en) Image forming apparatus capable of wireless communication with portable terminal
JP2017144669A (en) Printing device and method for controlling printing device
JP3803247B2 (en) Portable printer
JP2003025682A (en) Printer
JP2922658B2 (en) Electronics

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050118

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050517